1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by Autoconf 2.52. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Avoid depending upon Character Ranges. 11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14as_cr_digits='0123456789' 15as_cr_alnum=$as_cr_Letters$as_cr_digits 16 17# Sed expression to map a string onto a valid variable name. 18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20# Sed expression to map a string onto a valid CPP name. 21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23# Be Bourne compatible 24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29fi 30 31# Name of the executable. 32as_me=`echo "$0" |sed 's,.*[\\/],,'` 33 34if expr a : '\(a\)' >/dev/null 2>&1; then 35 as_expr=expr 36else 37 as_expr=false 38fi 39 40rm -f conf$$ conf$$.exe conf$$.file 41echo >conf$$.file 42if ln -s conf$$.file conf$$ 2>/dev/null; then 43 # We could just check for DJGPP; but this test a) works b) is more generic 44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 45 if test -f conf$$.exe; then 46 # Don't use ln at all; we don't have any links 47 as_ln_s='cp -p' 48 else 49 as_ln_s='ln -s' 50 fi 51elif ln conf$$.file conf$$ 2>/dev/null; then 52 as_ln_s=ln 53else 54 as_ln_s='cp -p' 55fi 56rm -f conf$$ conf$$.exe conf$$.file 57 58as_executable_p="test -f" 59 60# Support unset when possible. 61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63else 64 as_unset=false 65fi 66 67# NLS nuisances. 68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 76 77# IFS 78# We need space, tab and new line, in precisely that order. 79as_nl=' 80' 81IFS=" $as_nl" 82 83# CDPATH. 84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 85 86# Name of the host. 87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 88# so uname gets run too. 89ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 90 91exec 6>&1 92 93# 94# Initializations. 95# 96ac_default_prefix=/usr/local 97cross_compiling=no 98subdirs= 99MFLAGS= MAKEFLAGS= 100SHELL=${CONFIG_SHELL-/bin/sh} 101 102# Maximum number of lines to put in a shell here document. 103# This variable seems obsolete. It should probably be removed, and 104# only ac_max_sed_lines should be used. 105: ${ac_max_here_lines=38} 106 107ac_unique_file="Makefile.in" 108ac_default_prefix=/usr/local 109 110# Initialize some variables set by options. 111ac_init_help= 112ac_init_version=false 113# The variables have the same names as the options, with 114# dashes changed to underlines. 115cache_file=/dev/null 116exec_prefix=NONE 117no_create= 118no_recursion= 119prefix=NONE 120program_prefix=NONE 121program_suffix=NONE 122program_transform_name=s,x,x, 123silent= 124site= 125srcdir= 126verbose= 127x_includes=NONE 128x_libraries=NONE 129 130# Installation directory options. 131# These are left unexpanded so users can "make install exec_prefix=/foo" 132# and all the variables that are supposed to be based on exec_prefix 133# by default will actually change. 134# Use braces instead of parens because sh, perl, etc. also accept them. 135bindir='${exec_prefix}/bin' 136sbindir='${exec_prefix}/sbin' 137libexecdir='${exec_prefix}/libexec' 138datadir='${prefix}/share' 139sysconfdir='${prefix}/etc' 140sharedstatedir='${prefix}/com' 141localstatedir='${prefix}/var' 142libdir='${exec_prefix}/lib' 143includedir='${prefix}/include' 144oldincludedir='/usr/include' 145infodir='${prefix}/info' 146mandir='${prefix}/man' 147 148# Identity of this package. 149PACKAGE_NAME= 150PACKAGE_TARNAME= 151PACKAGE_VERSION= 152PACKAGE_STRING= 153PACKAGE_BUGREPORT= 154 155ac_prev= 156for ac_option 157do 158 # If the previous option needs an argument, assign it. 159 if test -n "$ac_prev"; then 160 eval "$ac_prev=\$ac_option" 161 ac_prev= 162 continue 163 fi 164 165 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 166 167 # Accept the important Cygnus configure options, so we can diagnose typos. 168 169 case $ac_option in 170 171 -bindir | --bindir | --bindi | --bind | --bin | --bi) 172 ac_prev=bindir ;; 173 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 174 bindir=$ac_optarg ;; 175 176 -build | --build | --buil | --bui | --bu) 177 ac_prev=build_alias ;; 178 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 179 build_alias=$ac_optarg ;; 180 181 -cache-file | --cache-file | --cache-fil | --cache-fi \ 182 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 183 ac_prev=cache_file ;; 184 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 185 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 186 cache_file=$ac_optarg ;; 187 188 --config-cache | -C) 189 cache_file=config.cache ;; 190 191 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 192 ac_prev=datadir ;; 193 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 194 | --da=*) 195 datadir=$ac_optarg ;; 196 197 -disable-* | --disable-*) 198 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 199 # Reject names that are not valid shell variable names. 200 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 201 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 202 { (exit 1); exit 1; }; } 203 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 204 eval "enable_$ac_feature=no" ;; 205 206 -enable-* | --enable-*) 207 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 208 # Reject names that are not valid shell variable names. 209 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 210 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 211 { (exit 1); exit 1; }; } 212 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 213 case $ac_option in 214 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 215 *) ac_optarg=yes ;; 216 esac 217 eval "enable_$ac_feature='$ac_optarg'" ;; 218 219 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 220 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 221 | --exec | --exe | --ex) 222 ac_prev=exec_prefix ;; 223 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 224 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 225 | --exec=* | --exe=* | --ex=*) 226 exec_prefix=$ac_optarg ;; 227 228 -gas | --gas | --ga | --g) 229 # Obsolete; use --with-gas. 230 with_gas=yes ;; 231 232 -help | --help | --hel | --he | -h) 233 ac_init_help=long ;; 234 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 235 ac_init_help=recursive ;; 236 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 237 ac_init_help=short ;; 238 239 -host | --host | --hos | --ho) 240 ac_prev=host_alias ;; 241 -host=* | --host=* | --hos=* | --ho=*) 242 host_alias=$ac_optarg ;; 243 244 -includedir | --includedir | --includedi | --included | --include \ 245 | --includ | --inclu | --incl | --inc) 246 ac_prev=includedir ;; 247 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 248 | --includ=* | --inclu=* | --incl=* | --inc=*) 249 includedir=$ac_optarg ;; 250 251 -infodir | --infodir | --infodi | --infod | --info | --inf) 252 ac_prev=infodir ;; 253 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 254 infodir=$ac_optarg ;; 255 256 -libdir | --libdir | --libdi | --libd) 257 ac_prev=libdir ;; 258 -libdir=* | --libdir=* | --libdi=* | --libd=*) 259 libdir=$ac_optarg ;; 260 261 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 262 | --libexe | --libex | --libe) 263 ac_prev=libexecdir ;; 264 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 265 | --libexe=* | --libex=* | --libe=*) 266 libexecdir=$ac_optarg ;; 267 268 -localstatedir | --localstatedir | --localstatedi | --localstated \ 269 | --localstate | --localstat | --localsta | --localst \ 270 | --locals | --local | --loca | --loc | --lo) 271 ac_prev=localstatedir ;; 272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 273 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 274 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 275 localstatedir=$ac_optarg ;; 276 277 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 278 ac_prev=mandir ;; 279 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 280 mandir=$ac_optarg ;; 281 282 -nfp | --nfp | --nf) 283 # Obsolete; use --without-fp. 284 with_fp=no ;; 285 286 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 287 | --no-cr | --no-c) 288 no_create=yes ;; 289 290 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 291 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 292 no_recursion=yes ;; 293 294 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 295 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 296 | --oldin | --oldi | --old | --ol | --o) 297 ac_prev=oldincludedir ;; 298 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 299 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 300 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 301 oldincludedir=$ac_optarg ;; 302 303 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 304 ac_prev=prefix ;; 305 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 306 prefix=$ac_optarg ;; 307 308 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 309 | --program-pre | --program-pr | --program-p) 310 ac_prev=program_prefix ;; 311 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 312 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 313 program_prefix=$ac_optarg ;; 314 315 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 316 | --program-suf | --program-su | --program-s) 317 ac_prev=program_suffix ;; 318 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 319 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 320 program_suffix=$ac_optarg ;; 321 322 -program-transform-name | --program-transform-name \ 323 | --program-transform-nam | --program-transform-na \ 324 | --program-transform-n | --program-transform- \ 325 | --program-transform | --program-transfor \ 326 | --program-transfo | --program-transf \ 327 | --program-trans | --program-tran \ 328 | --progr-tra | --program-tr | --program-t) 329 ac_prev=program_transform_name ;; 330 -program-transform-name=* | --program-transform-name=* \ 331 | --program-transform-nam=* | --program-transform-na=* \ 332 | --program-transform-n=* | --program-transform-=* \ 333 | --program-transform=* | --program-transfor=* \ 334 | --program-transfo=* | --program-transf=* \ 335 | --program-trans=* | --program-tran=* \ 336 | --progr-tra=* | --program-tr=* | --program-t=*) 337 program_transform_name=$ac_optarg ;; 338 339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 340 | -silent | --silent | --silen | --sile | --sil) 341 silent=yes ;; 342 343 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 344 ac_prev=sbindir ;; 345 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 346 | --sbi=* | --sb=*) 347 sbindir=$ac_optarg ;; 348 349 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 350 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 351 | --sharedst | --shareds | --shared | --share | --shar \ 352 | --sha | --sh) 353 ac_prev=sharedstatedir ;; 354 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 355 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 356 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 357 | --sha=* | --sh=*) 358 sharedstatedir=$ac_optarg ;; 359 360 -site | --site | --sit) 361 ac_prev=site ;; 362 -site=* | --site=* | --sit=*) 363 site=$ac_optarg ;; 364 365 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 366 ac_prev=srcdir ;; 367 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 368 srcdir=$ac_optarg ;; 369 370 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 371 | --syscon | --sysco | --sysc | --sys | --sy) 372 ac_prev=sysconfdir ;; 373 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 374 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 375 sysconfdir=$ac_optarg ;; 376 377 -target | --target | --targe | --targ | --tar | --ta | --t) 378 ac_prev=target_alias ;; 379 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 380 target_alias=$ac_optarg ;; 381 382 -v | -verbose | --verbose | --verbos | --verbo | --verb) 383 verbose=yes ;; 384 385 -version | --version | --versio | --versi | --vers | -V) 386 ac_init_version=: ;; 387 388 -with-* | --with-*) 389 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 390 # Reject names that are not valid shell variable names. 391 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 392 { echo "$as_me: error: invalid package name: $ac_package" >&2 393 { (exit 1); exit 1; }; } 394 ac_package=`echo $ac_package| sed 's/-/_/g'` 395 case $ac_option in 396 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 397 *) ac_optarg=yes ;; 398 esac 399 eval "with_$ac_package='$ac_optarg'" ;; 400 401 -without-* | --without-*) 402 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 403 # Reject names that are not valid shell variable names. 404 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 405 { echo "$as_me: error: invalid package name: $ac_package" >&2 406 { (exit 1); exit 1; }; } 407 ac_package=`echo $ac_package | sed 's/-/_/g'` 408 eval "with_$ac_package=no" ;; 409 410 --x) 411 # Obsolete; use --with-x. 412 with_x=yes ;; 413 414 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 415 | --x-incl | --x-inc | --x-in | --x-i) 416 ac_prev=x_includes ;; 417 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 418 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 419 x_includes=$ac_optarg ;; 420 421 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 422 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 423 ac_prev=x_libraries ;; 424 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 425 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 426 x_libraries=$ac_optarg ;; 427 428 -*) { echo "$as_me: error: unrecognized option: $ac_option 429Try \`$0 --help' for more information." >&2 430 { (exit 1); exit 1; }; } 431 ;; 432 433 *=*) 434 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 435 # Reject names that are not valid shell variable names. 436 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 437 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 438 { (exit 1); exit 1; }; } 439 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 440 eval "$ac_envvar='$ac_optarg'" 441 export $ac_envvar ;; 442 443 *) 444 # FIXME: should be removed in autoconf 3.0. 445 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 446 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 447 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 448 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 449 ;; 450 451 esac 452done 453 454if test -n "$ac_prev"; then 455 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 456 { echo "$as_me: error: missing argument to $ac_option" >&2 457 { (exit 1); exit 1; }; } 458fi 459 460# Be sure to have absolute paths. 461for ac_var in exec_prefix prefix 462do 463 eval ac_val=$`echo $ac_var` 464 case $ac_val in 465 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 466 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 467 { (exit 1); exit 1; }; };; 468 esac 469done 470 471# Be sure to have absolute paths. 472for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 473 localstatedir libdir includedir oldincludedir infodir mandir 474do 475 eval ac_val=$`echo $ac_var` 476 case $ac_val in 477 [\\/$]* | ?:[\\/]* ) ;; 478 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 479 { (exit 1); exit 1; }; };; 480 esac 481done 482 483# There might be people who depend on the old broken behavior: `$host' 484# used to hold the argument of --host etc. 485build=$build_alias 486host=$host_alias 487target=$target_alias 488 489# FIXME: should be removed in autoconf 3.0. 490if test "x$host_alias" != x; then 491 if test "x$build_alias" = x; then 492 cross_compiling=maybe 493 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 494 If a cross compiler is detected then cross compile mode will be used." >&2 495 elif test "x$build_alias" != "x$host_alias"; then 496 cross_compiling=yes 497 fi 498fi 499 500ac_tool_prefix= 501test -n "$host_alias" && ac_tool_prefix=$host_alias- 502 503test "$silent" = yes && exec 6>/dev/null 504 505# Find the source files, if location was not specified. 506if test -z "$srcdir"; then 507 ac_srcdir_defaulted=yes 508 # Try the directory containing this script, then its parent. 509 ac_prog=$0 510 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 511 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 512 srcdir=$ac_confdir 513 if test ! -r $srcdir/$ac_unique_file; then 514 srcdir=.. 515 fi 516else 517 ac_srcdir_defaulted=no 518fi 519if test ! -r $srcdir/$ac_unique_file; then 520 if test "$ac_srcdir_defaulted" = yes; then 521 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 522 { (exit 1); exit 1; }; } 523 else 524 { echo "$as_me: error: cannot find sources in $srcdir" >&2 525 { (exit 1); exit 1; }; } 526 fi 527fi 528srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 529ac_env_build_alias_set=${build_alias+set} 530ac_env_build_alias_value=$build_alias 531ac_cv_env_build_alias_set=${build_alias+set} 532ac_cv_env_build_alias_value=$build_alias 533ac_env_host_alias_set=${host_alias+set} 534ac_env_host_alias_value=$host_alias 535ac_cv_env_host_alias_set=${host_alias+set} 536ac_cv_env_host_alias_value=$host_alias 537ac_env_target_alias_set=${target_alias+set} 538ac_env_target_alias_value=$target_alias 539ac_cv_env_target_alias_set=${target_alias+set} 540ac_cv_env_target_alias_value=$target_alias 541ac_env_CC_set=${CC+set} 542ac_env_CC_value=$CC 543ac_cv_env_CC_set=${CC+set} 544ac_cv_env_CC_value=$CC 545ac_env_CFLAGS_set=${CFLAGS+set} 546ac_env_CFLAGS_value=$CFLAGS 547ac_cv_env_CFLAGS_set=${CFLAGS+set} 548ac_cv_env_CFLAGS_value=$CFLAGS 549ac_env_LDFLAGS_set=${LDFLAGS+set} 550ac_env_LDFLAGS_value=$LDFLAGS 551ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 552ac_cv_env_LDFLAGS_value=$LDFLAGS 553ac_env_CPPFLAGS_set=${CPPFLAGS+set} 554ac_env_CPPFLAGS_value=$CPPFLAGS 555ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 556ac_cv_env_CPPFLAGS_value=$CPPFLAGS 557ac_env_CPP_set=${CPP+set} 558ac_env_CPP_value=$CPP 559ac_cv_env_CPP_set=${CPP+set} 560ac_cv_env_CPP_value=$CPP 561 562# 563# Report the --help message. 564# 565if test "$ac_init_help" = "long"; then 566 # Omit some internal or obsolete options to make the list less imposing. 567 # This message is too long to be a string in the A/UX 3.1 sh. 568 cat <<EOF 569\`configure' configures this package to adapt to many kinds of systems. 570 571Usage: $0 [OPTION]... [VAR=VALUE]... 572 573To assign environment variables (e.g., CC, CFLAGS...), specify them as 574VAR=VALUE. See below for descriptions of some of the useful variables. 575 576Defaults for the options are specified in brackets. 577 578Configuration: 579 -h, --help display this help and exit 580 --help=short display options specific to this package 581 --help=recursive display the short help of all the included packages 582 -V, --version display version information and exit 583 -q, --quiet, --silent do not print \`checking...' messages 584 --cache-file=FILE cache test results in FILE [disabled] 585 -C, --config-cache alias for \`--cache-file=config.cache' 586 -n, --no-create do not create output files 587 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 588 589EOF 590 591 cat <<EOF 592Installation directories: 593 --prefix=PREFIX install architecture-independent files in PREFIX 594 [$ac_default_prefix] 595 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 596 [PREFIX] 597 598By default, \`make install' will install all the files in 599\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 600an installation prefix other than \`$ac_default_prefix' using \`--prefix', 601for instance \`--prefix=\$HOME'. 602 603For better control, use the options below. 604 605Fine tuning of the installation directories: 606 --bindir=DIR user executables [EPREFIX/bin] 607 --sbindir=DIR system admin executables [EPREFIX/sbin] 608 --libexecdir=DIR program executables [EPREFIX/libexec] 609 --datadir=DIR read-only architecture-independent data [PREFIX/share] 610 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 611 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 612 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 613 --libdir=DIR object code libraries [EPREFIX/lib] 614 --includedir=DIR C header files [PREFIX/include] 615 --oldincludedir=DIR C header files for non-gcc [/usr/include] 616 --infodir=DIR info documentation [PREFIX/info] 617 --mandir=DIR man documentation [PREFIX/man] 618EOF 619 620 cat <<\EOF 621 622System types: 623 --build=BUILD configure for building on BUILD [guessed] 624 --host=HOST build programs to run on HOST [BUILD] 625 --target=TARGET configure for building compilers for TARGET [HOST] 626EOF 627fi 628 629if test -n "$ac_init_help"; then 630 631 cat <<\EOF 632 633Optional Packages: 634 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 635 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 636 --with-lprngtool_conf=PATH location of lprngtool.conf (default \${sysconfdir}/lprngtool.conf) 637 --with-printcap_path=PATH location of printcap file (default \${sysconfdir}/printcap) 638 --with-spool_directory=PATH location of spool directories (default /var/spool/lpd) 639 --with-ifhp_path=PATH location of ifhp filter (default: \${FILTER_DIR}/ifhp) 640 --with-ifhp_conf=PATH location of ifhp configuration file (default: \${sysconfdir}/ifhp.conf) 641 --with-filterdir=DIR filter directory (default \${libexecdir}/filters) 642 643Some influential environment variables: 644 CC C compiler command 645 CFLAGS C compiler flags 646 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 647 nonstandard directory <lib dir> 648 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 649 headers in a nonstandard directory <include dir> 650 CPP C preprocessor 651 652Use these variables to override the choices made by `configure' or to help 653it to find libraries and programs with nonstandard names/locations. 654 655EOF 656fi 657 658if test "$ac_init_help" = "recursive"; then 659 # If there are subdirs, report their specific --help. 660 ac_popdir=`pwd` 661 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 662 cd $ac_subdir 663 # A "../" for each directory in /$ac_subdir. 664 ac_dots=`echo $ac_subdir | 665 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 666 667 case $srcdir in 668 .) # No --srcdir option. We are building in place. 669 ac_sub_srcdir=$srcdir ;; 670 [\\/]* | ?:[\\/]* ) # Absolute path. 671 ac_sub_srcdir=$srcdir/$ac_subdir ;; 672 *) # Relative path. 673 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 674 esac 675 676 # Check for guested configure; otherwise get Cygnus style configure. 677 if test -f $ac_sub_srcdir/configure.gnu; then 678 echo 679 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 680 elif test -f $ac_sub_srcdir/configure; then 681 echo 682 $SHELL $ac_sub_srcdir/configure --help=recursive 683 elif test -f $ac_sub_srcdir/configure.ac || 684 test -f $ac_sub_srcdir/configure.in; then 685 echo 686 $ac_configure --help 687 else 688 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 689 fi 690 cd $ac_popdir 691 done 692fi 693 694test -n "$ac_init_help" && exit 0 695if $ac_init_version; then 696 cat <<\EOF 697 698Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 699Free Software Foundation, Inc. 700This configure script is free software; the Free Software Foundation 701gives unlimited permission to copy, distribute and modify it. 702EOF 703 exit 0 704fi 705exec 5>config.log 706cat >&5 <<EOF 707This file contains any messages produced by compilers while 708running configure, to aid debugging if configure makes a mistake. 709 710It was created by $as_me, which was 711generated by GNU Autoconf 2.52. Invocation command line was 712 713 $ $0 $@ 714 715EOF 716{ 717cat <<_ASUNAME 718## ---------- ## 719## Platform. ## 720## ---------- ## 721 722hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 723uname -m = `(uname -m) 2>/dev/null || echo unknown` 724uname -r = `(uname -r) 2>/dev/null || echo unknown` 725uname -s = `(uname -s) 2>/dev/null || echo unknown` 726uname -v = `(uname -v) 2>/dev/null || echo unknown` 727 728/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 729/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 730 731/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 732/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 733/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 734hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 735/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 736/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 737/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 738 739PATH = $PATH 740 741_ASUNAME 742} >&5 743 744cat >&5 <<EOF 745## ------------ ## 746## Core tests. ## 747## ------------ ## 748 749EOF 750 751# Keep a trace of the command line. 752# Strip out --no-create and --no-recursion so they do not pile up. 753# Also quote any args containing shell meta-characters. 754ac_configure_args= 755ac_sep= 756for ac_arg 757do 758 case $ac_arg in 759 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 760 | --no-cr | --no-c) ;; 761 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 762 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 763 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 764 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 765 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 766 ac_sep=" " ;; 767 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 768 ac_sep=" " ;; 769 esac 770 # Get rid of the leading space. 771done 772 773# When interrupted or exit'd, cleanup temporary files, and complete 774# config.log. We remove comments because anyway the quotes in there 775# would cause problems or look ugly. 776trap 'exit_status=$? 777 # Save into config.log some information that might help in debugging. 778 echo >&5 779 echo "## ----------------- ##" >&5 780 echo "## Cache variables. ##" >&5 781 echo "## ----------------- ##" >&5 782 echo >&5 783 # The following way of writing the cache mishandles newlines in values, 784{ 785 (set) 2>&1 | 786 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 787 *ac_space=\ *) 788 sed -n \ 789 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 791 ;; 792 *) 793 sed -n \ 794 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 795 ;; 796 esac; 797} >&5 798 sed "/^$/d" confdefs.h >conftest.log 799 if test -s conftest.log; then 800 echo >&5 801 echo "## ------------ ##" >&5 802 echo "## confdefs.h. ##" >&5 803 echo "## ------------ ##" >&5 804 echo >&5 805 cat conftest.log >&5 806 fi 807 (echo; echo) >&5 808 test "$ac_signal" != 0 && 809 echo "$as_me: caught signal $ac_signal" >&5 810 echo "$as_me: exit $exit_status" >&5 811 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 812 exit $exit_status 813 ' 0 814for ac_signal in 1 2 13 15; do 815 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 816done 817ac_signal=0 818 819# confdefs.h avoids OS command line length limits that DEFS can exceed. 820rm -rf conftest* confdefs.h 821# AIX cpp loses on an empty file, so make sure it contains at least a newline. 822echo >confdefs.h 823 824# Let the site file select an alternate cache file if it wants to. 825# Prefer explicitly selected file to automatically selected ones. 826if test -z "$CONFIG_SITE"; then 827 if test "x$prefix" != xNONE; then 828 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 829 else 830 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 831 fi 832fi 833for ac_site_file in $CONFIG_SITE; do 834 if test -r "$ac_site_file"; then 835 { echo "$as_me:835: loading site script $ac_site_file" >&5 836echo "$as_me: loading site script $ac_site_file" >&6;} 837 cat "$ac_site_file" >&5 838 . "$ac_site_file" 839 fi 840done 841 842if test -r "$cache_file"; then 843 # Some versions of bash will fail to source /dev/null (special 844 # files actually), so we avoid doing that. 845 if test -f "$cache_file"; then 846 { echo "$as_me:846: loading cache $cache_file" >&5 847echo "$as_me: loading cache $cache_file" >&6;} 848 case $cache_file in 849 [\\/]* | ?:[\\/]* ) . $cache_file;; 850 *) . ./$cache_file;; 851 esac 852 fi 853else 854 { echo "$as_me:854: creating cache $cache_file" >&5 855echo "$as_me: creating cache $cache_file" >&6;} 856 >$cache_file 857fi 858 859# Check that the precious variables saved in the cache have kept the same 860# value. 861ac_cache_corrupted=false 862for ac_var in `(set) 2>&1 | 863 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 864 eval ac_old_set=\$ac_cv_env_${ac_var}_set 865 eval ac_new_set=\$ac_env_${ac_var}_set 866 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 867 eval ac_new_val="\$ac_env_${ac_var}_value" 868 case $ac_old_set,$ac_new_set in 869 set,) 870 { echo "$as_me:870: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 871echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 872 ac_cache_corrupted=: ;; 873 ,set) 874 { echo "$as_me:874: error: \`$ac_var' was not set in the previous run" >&5 875echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 876 ac_cache_corrupted=: ;; 877 ,);; 878 *) 879 if test "x$ac_old_val" != "x$ac_new_val"; then 880 { echo "$as_me:880: error: \`$ac_var' has changed since the previous run:" >&5 881echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 882 { echo "$as_me:882: former value: $ac_old_val" >&5 883echo "$as_me: former value: $ac_old_val" >&2;} 884 { echo "$as_me:884: current value: $ac_new_val" >&5 885echo "$as_me: current value: $ac_new_val" >&2;} 886 ac_cache_corrupted=: 887 fi;; 888 esac 889 # Pass precious variables to config.status. It doesn't matter if 890 # we pass some twice (in addition to the command line arguments). 891 if test "$ac_new_set" = set; then 892 case $ac_new_val in 893 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 894 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 895 ac_configure_args="$ac_configure_args '$ac_arg'" 896 ;; 897 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 898 ;; 899 esac 900 fi 901done 902if $ac_cache_corrupted; then 903 { echo "$as_me:903: error: changes in the environment can compromise the build" >&5 904echo "$as_me: error: changes in the environment can compromise the build" >&2;} 905 { { echo "$as_me:905: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 906echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 907 { (exit 1); exit 1; }; } 908fi 909 910ac_ext=c 911ac_cpp='$CPP $CPPFLAGS' 912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 914ac_compiler_gnu=$ac_cv_c_compiler_gnu 915 916case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 917 *c*,-n*) ECHO_N= ECHO_C=' 918' ECHO_T=' ' ;; 919 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 920 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 921esac 922echo "#! $SHELL" >conftest.sh 923echo "exit 0" >>conftest.sh 924chmod +x conftest.sh 925if { (echo "$as_me:925: PATH=\".;.\"; conftest.sh") >&5 926 (PATH=".;."; conftest.sh) 2>&5 927 ac_status=$? 928 echo "$as_me:928: \$? = $ac_status" >&5 929 (exit $ac_status); }; then 930 ac_path_separator=';' 931else 932 ac_path_separator=: 933fi 934PATH_SEPARATOR="$ac_path_separator" 935rm -f conftest.sh 936 937PACKAGE=LPRngTool 938VERSION=1.3.2 939 940ac_aux_dir= 941for ac_dir in . $srcdir/.; do 942 if test -f $ac_dir/install-sh; then 943 ac_aux_dir=$ac_dir 944 ac_install_sh="$ac_aux_dir/install-sh -c" 945 break 946 elif test -f $ac_dir/install.sh; then 947 ac_aux_dir=$ac_dir 948 ac_install_sh="$ac_aux_dir/install.sh -c" 949 break 950 elif test -f $ac_dir/shtool; then 951 ac_aux_dir=$ac_dir 952 ac_install_sh="$ac_aux_dir/shtool install -c" 953 break 954 fi 955done 956if test -z "$ac_aux_dir"; then 957 { { echo "$as_me:957: error: cannot find install-sh or install.sh in . $srcdir/." >&5 958echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;} 959 { (exit 1); exit 1; }; } 960fi 961ac_config_guess="$SHELL $ac_aux_dir/config.guess" 962ac_config_sub="$SHELL $ac_aux_dir/config.sub" 963ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 964 965# Make sure we can run config.sub. 966$ac_config_sub sun4 >/dev/null 2>&1 || 967 { { echo "$as_me:967: error: cannot run $ac_config_sub" >&5 968echo "$as_me: error: cannot run $ac_config_sub" >&2;} 969 { (exit 1); exit 1; }; } 970 971echo "$as_me:971: checking build system type" >&5 972echo $ECHO_N "checking build system type... $ECHO_C" >&6 973if test "${ac_cv_build+set}" = set; then 974 echo $ECHO_N "(cached) $ECHO_C" >&6 975else 976 ac_cv_build_alias=$build_alias 977test -z "$ac_cv_build_alias" && 978 ac_cv_build_alias=`$ac_config_guess` 979test -z "$ac_cv_build_alias" && 980 { { echo "$as_me:980: error: cannot guess build type; you must specify one" >&5 981echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 982 { (exit 1); exit 1; }; } 983ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 984 { { echo "$as_me:984: error: $ac_config_sub $ac_cv_build_alias failed." >&5 985echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 986 { (exit 1); exit 1; }; } 987 988fi 989echo "$as_me:989: result: $ac_cv_build" >&5 990echo "${ECHO_T}$ac_cv_build" >&6 991build=$ac_cv_build 992build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 993build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 994build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 995 996echo "$as_me:996: checking host system type" >&5 997echo $ECHO_N "checking host system type... $ECHO_C" >&6 998if test "${ac_cv_host+set}" = set; then 999 echo $ECHO_N "(cached) $ECHO_C" >&6 1000else 1001 ac_cv_host_alias=$host_alias 1002test -z "$ac_cv_host_alias" && 1003 ac_cv_host_alias=$ac_cv_build_alias 1004ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1005 { { echo "$as_me:1005: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1006echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1007 { (exit 1); exit 1; }; } 1008 1009fi 1010echo "$as_me:1010: result: $ac_cv_host" >&5 1011echo "${ECHO_T}$ac_cv_host" >&6 1012host=$ac_cv_host 1013host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1014host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1015host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1016 1017echo "$as_me:1017: checking target system type" >&5 1018echo $ECHO_N "checking target system type... $ECHO_C" >&6 1019if test "${ac_cv_target+set}" = set; then 1020 echo $ECHO_N "(cached) $ECHO_C" >&6 1021else 1022 ac_cv_target_alias=$target_alias 1023test "x$ac_cv_target_alias" = "x" && 1024 ac_cv_target_alias=$ac_cv_host_alias 1025ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1026 { { echo "$as_me:1026: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1027echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1028 { (exit 1); exit 1; }; } 1029 1030fi 1031echo "$as_me:1031: result: $ac_cv_target" >&5 1032echo "${ECHO_T}$ac_cv_target" >&6 1033target=$ac_cv_target 1034target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1035target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1036target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1037 1038# The aliases save the names the user supplied, while $host etc. 1039# will get canonicalized. 1040test -n "$target_alias" && 1041 test "$program_prefix$program_suffix$program_transform_name" = \ 1042 NONENONEs,x,x, && 1043 program_prefix=${target_alias}- 1044ac_config_headers="$ac_config_headers config.h" 1045 1046cat >>confdefs.h <<EOF 1047#define PACKAGE "$PACKAGE" 1048EOF 1049 1050cat >>confdefs.h <<EOF 1051#define VERSION "$VERSION" 1052EOF 1053 1054ALL_LINGUAS="fr" 1055 1056# Find a good install program. We prefer a C program (faster), 1057# so one script is as good as another. But avoid the broken or 1058# incompatible versions: 1059# SysV /etc/install, /usr/sbin/install 1060# SunOS /usr/etc/install 1061# IRIX /sbin/install 1062# AIX /bin/install 1063# AmigaOS /C/install, which installs bootblocks on floppy discs 1064# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1065# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1066# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1067# ./install, which can be erroneously created by make from ./install.sh. 1068echo "$as_me:1068: checking for a BSD compatible install" >&5 1069echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 1070if test -z "$INSTALL"; then 1071if test "${ac_cv_path_install+set}" = set; then 1072 echo $ECHO_N "(cached) $ECHO_C" >&6 1073else 1074 ac_save_IFS=$IFS; IFS=$ac_path_separator 1075 for ac_dir in $PATH; do 1076 IFS=$ac_save_IFS 1077 # Account for people who put trailing slashes in PATH elements. 1078 case $ac_dir/ in 1079 / | ./ | .// | /cC/* \ 1080 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1081 | /usr/ucb/* ) ;; 1082 *) 1083 # OSF1 and SCO ODT 3.0 have their own names for install. 1084 # Don't use installbsd from OSF since it installs stuff as root 1085 # by default. 1086 for ac_prog in ginstall scoinst install; do 1087 if $as_executable_p "$ac_dir/$ac_prog"; then 1088 if test $ac_prog = install && 1089 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1090 # AIX install. It has an incompatible calling convention. 1091 : 1092 elif test $ac_prog = install && 1093 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1094 # program-specific install script used by HP pwplus--don't use. 1095 : 1096 else 1097 ac_cv_path_install="$ac_dir/$ac_prog -c" 1098 break 2 1099 fi 1100 fi 1101 done 1102 ;; 1103 esac 1104 done 1105 1106fi 1107 if test "${ac_cv_path_install+set}" = set; then 1108 INSTALL=$ac_cv_path_install 1109 else 1110 # As a last resort, use the slow shell script. We don't cache a 1111 # path for INSTALL within a source directory, because that will 1112 # break other packages using the cache if that directory is 1113 # removed, or if the path is relative. 1114 INSTALL=$ac_install_sh 1115 fi 1116fi 1117echo "$as_me:1117: result: $INSTALL" >&5 1118echo "${ECHO_T}$INSTALL" >&6 1119 1120# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1121# It thinks the first close brace ends the variable substitution. 1122test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1123 1124test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1125 1126test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1127 1128echo "$as_me:1128: checking whether ${MAKE-make} sets \${MAKE}" >&5 1129echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1130set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1131if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1132 echo $ECHO_N "(cached) $ECHO_C" >&6 1133else 1134 cat >conftest.make <<\EOF 1135all: 1136 @echo 'ac_maketemp="${MAKE}"' 1137EOF 1138# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1139eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1140if test -n "$ac_maketemp"; then 1141 eval ac_cv_prog_make_${ac_make}_set=yes 1142else 1143 eval ac_cv_prog_make_${ac_make}_set=no 1144fi 1145rm -f conftest.make 1146fi 1147if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1148 echo "$as_me:1148: result: yes" >&5 1149echo "${ECHO_T}yes" >&6 1150 SET_MAKE= 1151else 1152 echo "$as_me:1152: result: no" >&5 1153echo "${ECHO_T}no" >&6 1154 SET_MAKE="MAKE=${MAKE-make}" 1155fi 1156 1157# Extract the first word of "file", so it can be a program name with args. 1158set dummy file; ac_word=$2 1159echo "$as_me:1159: checking for $ac_word" >&5 1160echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1161if test "${ac_cv_path_FILEUTIL+set}" = set; then 1162 echo $ECHO_N "(cached) $ECHO_C" >&6 1163else 1164 case $FILEUTIL in 1165 [\\/]* | ?:[\\/]*) 1166 ac_cv_path_FILEUTIL="$FILEUTIL" # Let the user override the test with a path. 1167 ;; 1168 *) 1169 ac_save_IFS=$IFS; IFS=$ac_path_separator 1170ac_dummy="$PATH" 1171for ac_dir in $ac_dummy; do 1172 IFS=$ac_save_IFS 1173 test -z "$ac_dir" && ac_dir=. 1174 if $as_executable_p "$ac_dir/$ac_word"; then 1175 ac_cv_path_FILEUTIL="$ac_dir/$ac_word" 1176 echo "$as_me:1176: found $ac_dir/$ac_word" >&5 1177 break 1178fi 1179done 1180 1181 test -z "$ac_cv_path_FILEUTIL" && ac_cv_path_FILEUTIL="FILE_UTILITY_NOT_FOUND" 1182 ;; 1183esac 1184fi 1185FILEUTIL=$ac_cv_path_FILEUTIL 1186 1187if test -n "$FILEUTIL"; then 1188 echo "$as_me:1188: result: $FILEUTIL" >&5 1189echo "${ECHO_T}$FILEUTIL" >&6 1190else 1191 echo "$as_me:1191: result: no" >&5 1192echo "${ECHO_T}no" >&6 1193fi 1194if expr "$FILEUTIL" : ".*NOT" >/dev/null; then 1195 v="cannot open"; 1196else 1197 v=`${FILEUTIL} - </etc/passwd 2>/dev/null`; 1198fi 1199if expr "$v" : ".*cannot open.*" >/dev/null; then 1200 echo " 1201Please use a file(1) utility where 'file - ' reads STDIN 1202You can obtain one from: ftp://ftp.astron.com/pub/file/ 1203if necessary, use the FILEUTIL environment variable to specify the path 1204to the file(1) utility' 1205" 1206fi 1207 1208# Extract the first word of "gs", so it can be a program name with args. 1209set dummy gs; ac_word=$2 1210echo "$as_me:1210: checking for $ac_word" >&5 1211echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1212if test "${ac_cv_path_GS+set}" = set; then 1213 echo $ECHO_N "(cached) $ECHO_C" >&6 1214else 1215 case $GS in 1216 [\\/]* | ?:[\\/]*) 1217 ac_cv_path_GS="$GS" # Let the user override the test with a path. 1218 ;; 1219 *) 1220 ac_save_IFS=$IFS; IFS=$ac_path_separator 1221ac_dummy="$PATH" 1222for ac_dir in $ac_dummy; do 1223 IFS=$ac_save_IFS 1224 test -z "$ac_dir" && ac_dir=. 1225 if $as_executable_p "$ac_dir/$ac_word"; then 1226 ac_cv_path_GS="$ac_dir/$ac_word" 1227 echo "$as_me:1227: found $ac_dir/$ac_word" >&5 1228 break 1229fi 1230done 1231 1232 test -z "$ac_cv_path_GS" && ac_cv_path_GS="GHOSTSCRIPT_NOT_FOUND" 1233 ;; 1234esac 1235fi 1236GS=$ac_cv_path_GS 1237 1238if test -n "$GS"; then 1239 echo "$as_me:1239: result: $GS" >&5 1240echo "${ECHO_T}$GS" >&6 1241else 1242 echo "$as_me:1242: result: no" >&5 1243echo "${ECHO_T}no" >&6 1244fi 1245if expr "$GS" : ".*NOT" >/dev/null; then 1246 echo " 1247Please install ghostscript 1248You can it from: http://www.cs.wisc.edu/~ghost; 1249if necessary, use the GS environment variable to specify the path 1250to the gs(1) utility 1251" 1252fi 1253 1254# Extract the first word of "smbclient", so it can be a program name with args. 1255set dummy smbclient; ac_word=$2 1256echo "$as_me:1256: checking for $ac_word" >&5 1257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1258if test "${ac_cv_path_SMBCLIENT+set}" = set; then 1259 echo $ECHO_N "(cached) $ECHO_C" >&6 1260else 1261 case $SMBCLIENT in 1262 [\\/]* | ?:[\\/]*) 1263 ac_cv_path_SMBCLIENT="$SMBCLIENT" # Let the user override the test with a path. 1264 ;; 1265 *) 1266 ac_save_IFS=$IFS; IFS=$ac_path_separator 1267ac_dummy="$PATH" 1268for ac_dir in $ac_dummy; do 1269 IFS=$ac_save_IFS 1270 test -z "$ac_dir" && ac_dir=. 1271 if $as_executable_p "$ac_dir/$ac_word"; then 1272 ac_cv_path_SMBCLIENT="$ac_dir/$ac_word" 1273 echo "$as_me:1273: found $ac_dir/$ac_word" >&5 1274 break 1275fi 1276done 1277 1278 test -z "$ac_cv_path_SMBCLIENT" && ac_cv_path_SMBCLIENT="SMBCLIENT_NOT_FOUND" 1279 ;; 1280esac 1281fi 1282SMBCLIENT=$ac_cv_path_SMBCLIENT 1283 1284if test -n "$SMBCLIENT"; then 1285 echo "$as_me:1285: result: $SMBCLIENT" >&5 1286echo "${ECHO_T}$SMBCLIENT" >&6 1287else 1288 echo "$as_me:1288: result: no" >&5 1289echo "${ECHO_T}no" >&6 1290fi 1291# Extract the first word of "a2ps", so it can be a program name with args. 1292set dummy a2ps; ac_word=$2 1293echo "$as_me:1293: checking for $ac_word" >&5 1294echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1295if test "${ac_cv_path_A2PS+set}" = set; then 1296 echo $ECHO_N "(cached) $ECHO_C" >&6 1297else 1298 case $A2PS in 1299 [\\/]* | ?:[\\/]*) 1300 ac_cv_path_A2PS="$A2PS" # Let the user override the test with a path. 1301 ;; 1302 *) 1303 ac_save_IFS=$IFS; IFS=$ac_path_separator 1304ac_dummy="$PATH" 1305for ac_dir in $ac_dummy; do 1306 IFS=$ac_save_IFS 1307 test -z "$ac_dir" && ac_dir=. 1308 if $as_executable_p "$ac_dir/$ac_word"; then 1309 ac_cv_path_A2PS="$ac_dir/$ac_word" 1310 echo "$as_me:1310: found $ac_dir/$ac_word" >&5 1311 break 1312fi 1313done 1314 1315 test -z "$ac_cv_path_A2PS" && ac_cv_path_A2PS="A2PS_NOT_FOUND" 1316 ;; 1317esac 1318fi 1319A2PS=$ac_cv_path_A2PS 1320 1321if test -n "$A2PS"; then 1322 echo "$as_me:1322: result: $A2PS" >&5 1323echo "${ECHO_T}$A2PS" >&6 1324else 1325 echo "$as_me:1325: result: no" >&5 1326echo "${ECHO_T}no" >&6 1327fi 1328# Extract the first word of "mpage", so it can be a program name with args. 1329set dummy mpage; ac_word=$2 1330echo "$as_me:1330: checking for $ac_word" >&5 1331echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1332if test "${ac_cv_path_MPAGE+set}" = set; then 1333 echo $ECHO_N "(cached) $ECHO_C" >&6 1334else 1335 case $MPAGE in 1336 [\\/]* | ?:[\\/]*) 1337 ac_cv_path_MPAGE="$MPAGE" # Let the user override the test with a path. 1338 ;; 1339 *) 1340 ac_save_IFS=$IFS; IFS=$ac_path_separator 1341ac_dummy="$PATH" 1342for ac_dir in $ac_dummy; do 1343 IFS=$ac_save_IFS 1344 test -z "$ac_dir" && ac_dir=. 1345 if $as_executable_p "$ac_dir/$ac_word"; then 1346 ac_cv_path_MPAGE="$ac_dir/$ac_word" 1347 echo "$as_me:1347: found $ac_dir/$ac_word" >&5 1348 break 1349fi 1350done 1351 1352 test -z "$ac_cv_path_MPAGE" && ac_cv_path_MPAGE="MPAGE_NOT_FOUND" 1353 ;; 1354esac 1355fi 1356MPAGE=$ac_cv_path_MPAGE 1357 1358if test -n "$MPAGE"; then 1359 echo "$as_me:1359: result: $MPAGE" >&5 1360echo "${ECHO_T}$MPAGE" >&6 1361else 1362 echo "$as_me:1362: result: no" >&5 1363echo "${ECHO_T}no" >&6 1364fi 1365# Extract the first word of "gzip", so it can be a program name with args. 1366set dummy gzip; ac_word=$2 1367echo "$as_me:1367: checking for $ac_word" >&5 1368echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1369if test "${ac_cv_path_GZIP+set}" = set; then 1370 echo $ECHO_N "(cached) $ECHO_C" >&6 1371else 1372 case $GZIP in 1373 [\\/]* | ?:[\\/]*) 1374 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 1375 ;; 1376 *) 1377 ac_save_IFS=$IFS; IFS=$ac_path_separator 1378ac_dummy="$PATH" 1379for ac_dir in $ac_dummy; do 1380 IFS=$ac_save_IFS 1381 test -z "$ac_dir" && ac_dir=. 1382 if $as_executable_p "$ac_dir/$ac_word"; then 1383 ac_cv_path_GZIP="$ac_dir/$ac_word" 1384 echo "$as_me:1384: found $ac_dir/$ac_word" >&5 1385 break 1386fi 1387done 1388 1389 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="GZIP_NOT_FOUND" 1390 ;; 1391esac 1392fi 1393GZIP=$ac_cv_path_GZIP 1394 1395if test -n "$GZIP"; then 1396 echo "$as_me:1396: result: $GZIP" >&5 1397echo "${ECHO_T}$GZIP" >&6 1398else 1399 echo "$as_me:1399: result: no" >&5 1400echo "${ECHO_T}no" >&6 1401fi 1402# Extract the first word of "pap", so it can be a program name with args. 1403set dummy pap; ac_word=$2 1404echo "$as_me:1404: checking for $ac_word" >&5 1405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1406if test "${ac_cv_path_PAP+set}" = set; then 1407 echo $ECHO_N "(cached) $ECHO_C" >&6 1408else 1409 case $PAP in 1410 [\\/]* | ?:[\\/]*) 1411 ac_cv_path_PAP="$PAP" # Let the user override the test with a path. 1412 ;; 1413 *) 1414 ac_save_IFS=$IFS; IFS=$ac_path_separator 1415ac_dummy="$PATH" 1416for ac_dir in $ac_dummy; do 1417 IFS=$ac_save_IFS 1418 test -z "$ac_dir" && ac_dir=. 1419 if $as_executable_p "$ac_dir/$ac_word"; then 1420 ac_cv_path_PAP="$ac_dir/$ac_word" 1421 echo "$as_me:1421: found $ac_dir/$ac_word" >&5 1422 break 1423fi 1424done 1425 1426 test -z "$ac_cv_path_PAP" && ac_cv_path_PAP="PAP_NOT_FOUND" 1427 ;; 1428esac 1429fi 1430PAP=$ac_cv_path_PAP 1431 1432if test -n "$PAP"; then 1433 echo "$as_me:1433: result: $PAP" >&5 1434echo "${ECHO_T}$PAP" >&6 1435else 1436 echo "$as_me:1436: result: no" >&5 1437echo "${ECHO_T}no" >&6 1438fi 1439# Extract the first word of "nprint", so it can be a program name with args. 1440set dummy nprint; ac_word=$2 1441echo "$as_me:1441: checking for $ac_word" >&5 1442echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1443if test "${ac_cv_path_NPRINT+set}" = set; then 1444 echo $ECHO_N "(cached) $ECHO_C" >&6 1445else 1446 case $NPRINT in 1447 [\\/]* | ?:[\\/]*) 1448 ac_cv_path_NPRINT="$NPRINT" # Let the user override the test with a path. 1449 ;; 1450 *) 1451 ac_save_IFS=$IFS; IFS=$ac_path_separator 1452ac_dummy="$PATH" 1453for ac_dir in $ac_dummy; do 1454 IFS=$ac_save_IFS 1455 test -z "$ac_dir" && ac_dir=. 1456 if $as_executable_p "$ac_dir/$ac_word"; then 1457 ac_cv_path_NPRINT="$ac_dir/$ac_word" 1458 echo "$as_me:1458: found $ac_dir/$ac_word" >&5 1459 break 1460fi 1461done 1462 1463 test -z "$ac_cv_path_NPRINT" && ac_cv_path_NPRINT="NPRINT_NOT_FOUND" 1464 ;; 1465esac 1466fi 1467NPRINT=$ac_cv_path_NPRINT 1468 1469if test -n "$NPRINT"; then 1470 echo "$as_me:1470: result: $NPRINT" >&5 1471echo "${ECHO_T}$NPRINT" >&6 1472else 1473 echo "$as_me:1473: result: no" >&5 1474echo "${ECHO_T}no" >&6 1475fi 1476 1477if ( expr "$A2PS" : ".*NOT.*" && expr "$MPAGE" : ".*NOT.*" ) >/dev/null ; then 1478echo " 1479You do not have a text to PostScript conversion utility 1480Please install one of the following: 1481a2ps - Ascii Text to PostScript Converter 1482 http://www-inf.enst.fr/~demaille/a2ps 1483 ftp://ftp.enst.fr/pub/unix/a2ps/ 1484mpage - SGI FreeWare Ascii Text to PostScript Converter 1485 http://toolbox.sgi.com/TasteOfDT/public/freeware1.0/fw_MPHmpage/ 1486" 1487fi 1488 1489ac_ext=c 1490ac_cpp='$CPP $CPPFLAGS' 1491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1493ac_compiler_gnu=$ac_cv_c_compiler_gnu 1494if test -n "$ac_tool_prefix"; then 1495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1496set dummy ${ac_tool_prefix}gcc; ac_word=$2 1497echo "$as_me:1497: checking for $ac_word" >&5 1498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1499if test "${ac_cv_prog_CC+set}" = set; then 1500 echo $ECHO_N "(cached) $ECHO_C" >&6 1501else 1502 if test -n "$CC"; then 1503 ac_cv_prog_CC="$CC" # Let the user override the test. 1504else 1505 ac_save_IFS=$IFS; IFS=$ac_path_separator 1506ac_dummy="$PATH" 1507for ac_dir in $ac_dummy; do 1508 IFS=$ac_save_IFS 1509 test -z "$ac_dir" && ac_dir=. 1510 $as_executable_p "$ac_dir/$ac_word" || continue 1511ac_cv_prog_CC="${ac_tool_prefix}gcc" 1512echo "$as_me:1512: found $ac_dir/$ac_word" >&5 1513break 1514done 1515 1516fi 1517fi 1518CC=$ac_cv_prog_CC 1519if test -n "$CC"; then 1520 echo "$as_me:1520: result: $CC" >&5 1521echo "${ECHO_T}$CC" >&6 1522else 1523 echo "$as_me:1523: result: no" >&5 1524echo "${ECHO_T}no" >&6 1525fi 1526 1527fi 1528if test -z "$ac_cv_prog_CC"; then 1529 ac_ct_CC=$CC 1530 # Extract the first word of "gcc", so it can be a program name with args. 1531set dummy gcc; ac_word=$2 1532echo "$as_me:1532: checking for $ac_word" >&5 1533echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1534if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1535 echo $ECHO_N "(cached) $ECHO_C" >&6 1536else 1537 if test -n "$ac_ct_CC"; then 1538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1539else 1540 ac_save_IFS=$IFS; IFS=$ac_path_separator 1541ac_dummy="$PATH" 1542for ac_dir in $ac_dummy; do 1543 IFS=$ac_save_IFS 1544 test -z "$ac_dir" && ac_dir=. 1545 $as_executable_p "$ac_dir/$ac_word" || continue 1546ac_cv_prog_ac_ct_CC="gcc" 1547echo "$as_me:1547: found $ac_dir/$ac_word" >&5 1548break 1549done 1550 1551fi 1552fi 1553ac_ct_CC=$ac_cv_prog_ac_ct_CC 1554if test -n "$ac_ct_CC"; then 1555 echo "$as_me:1555: result: $ac_ct_CC" >&5 1556echo "${ECHO_T}$ac_ct_CC" >&6 1557else 1558 echo "$as_me:1558: result: no" >&5 1559echo "${ECHO_T}no" >&6 1560fi 1561 1562 CC=$ac_ct_CC 1563else 1564 CC="$ac_cv_prog_CC" 1565fi 1566 1567if test -z "$CC"; then 1568 if test -n "$ac_tool_prefix"; then 1569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1570set dummy ${ac_tool_prefix}cc; ac_word=$2 1571echo "$as_me:1571: checking for $ac_word" >&5 1572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1573if test "${ac_cv_prog_CC+set}" = set; then 1574 echo $ECHO_N "(cached) $ECHO_C" >&6 1575else 1576 if test -n "$CC"; then 1577 ac_cv_prog_CC="$CC" # Let the user override the test. 1578else 1579 ac_save_IFS=$IFS; IFS=$ac_path_separator 1580ac_dummy="$PATH" 1581for ac_dir in $ac_dummy; do 1582 IFS=$ac_save_IFS 1583 test -z "$ac_dir" && ac_dir=. 1584 $as_executable_p "$ac_dir/$ac_word" || continue 1585ac_cv_prog_CC="${ac_tool_prefix}cc" 1586echo "$as_me:1586: found $ac_dir/$ac_word" >&5 1587break 1588done 1589 1590fi 1591fi 1592CC=$ac_cv_prog_CC 1593if test -n "$CC"; then 1594 echo "$as_me:1594: result: $CC" >&5 1595echo "${ECHO_T}$CC" >&6 1596else 1597 echo "$as_me:1597: result: no" >&5 1598echo "${ECHO_T}no" >&6 1599fi 1600 1601fi 1602if test -z "$ac_cv_prog_CC"; then 1603 ac_ct_CC=$CC 1604 # Extract the first word of "cc", so it can be a program name with args. 1605set dummy cc; ac_word=$2 1606echo "$as_me:1606: checking for $ac_word" >&5 1607echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1608if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1609 echo $ECHO_N "(cached) $ECHO_C" >&6 1610else 1611 if test -n "$ac_ct_CC"; then 1612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1613else 1614 ac_save_IFS=$IFS; IFS=$ac_path_separator 1615ac_dummy="$PATH" 1616for ac_dir in $ac_dummy; do 1617 IFS=$ac_save_IFS 1618 test -z "$ac_dir" && ac_dir=. 1619 $as_executable_p "$ac_dir/$ac_word" || continue 1620ac_cv_prog_ac_ct_CC="cc" 1621echo "$as_me:1621: found $ac_dir/$ac_word" >&5 1622break 1623done 1624 1625fi 1626fi 1627ac_ct_CC=$ac_cv_prog_ac_ct_CC 1628if test -n "$ac_ct_CC"; then 1629 echo "$as_me:1629: result: $ac_ct_CC" >&5 1630echo "${ECHO_T}$ac_ct_CC" >&6 1631else 1632 echo "$as_me:1632: result: no" >&5 1633echo "${ECHO_T}no" >&6 1634fi 1635 1636 CC=$ac_ct_CC 1637else 1638 CC="$ac_cv_prog_CC" 1639fi 1640 1641fi 1642if test -z "$CC"; then 1643 # Extract the first word of "cc", so it can be a program name with args. 1644set dummy cc; ac_word=$2 1645echo "$as_me:1645: checking for $ac_word" >&5 1646echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1647if test "${ac_cv_prog_CC+set}" = set; then 1648 echo $ECHO_N "(cached) $ECHO_C" >&6 1649else 1650 if test -n "$CC"; then 1651 ac_cv_prog_CC="$CC" # Let the user override the test. 1652else 1653 ac_prog_rejected=no 1654 ac_save_IFS=$IFS; IFS=$ac_path_separator 1655ac_dummy="$PATH" 1656for ac_dir in $ac_dummy; do 1657 IFS=$ac_save_IFS 1658 test -z "$ac_dir" && ac_dir=. 1659 $as_executable_p "$ac_dir/$ac_word" || continue 1660if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1661 ac_prog_rejected=yes 1662 continue 1663fi 1664ac_cv_prog_CC="cc" 1665echo "$as_me:1665: found $ac_dir/$ac_word" >&5 1666break 1667done 1668 1669if test $ac_prog_rejected = yes; then 1670 # We found a bogon in the path, so make sure we never use it. 1671 set dummy $ac_cv_prog_CC 1672 shift 1673 if test $# != 0; then 1674 # We chose a different compiler from the bogus one. 1675 # However, it has the same basename, so the bogon will be chosen 1676 # first if we set CC to just the basename; use the full file name. 1677 shift 1678 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1679 shift 1680 ac_cv_prog_CC="$@" 1681 fi 1682fi 1683fi 1684fi 1685CC=$ac_cv_prog_CC 1686if test -n "$CC"; then 1687 echo "$as_me:1687: result: $CC" >&5 1688echo "${ECHO_T}$CC" >&6 1689else 1690 echo "$as_me:1690: result: no" >&5 1691echo "${ECHO_T}no" >&6 1692fi 1693 1694fi 1695if test -z "$CC"; then 1696 if test -n "$ac_tool_prefix"; then 1697 for ac_prog in cl 1698 do 1699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1700set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1701echo "$as_me:1701: checking for $ac_word" >&5 1702echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1703if test "${ac_cv_prog_CC+set}" = set; then 1704 echo $ECHO_N "(cached) $ECHO_C" >&6 1705else 1706 if test -n "$CC"; then 1707 ac_cv_prog_CC="$CC" # Let the user override the test. 1708else 1709 ac_save_IFS=$IFS; IFS=$ac_path_separator 1710ac_dummy="$PATH" 1711for ac_dir in $ac_dummy; do 1712 IFS=$ac_save_IFS 1713 test -z "$ac_dir" && ac_dir=. 1714 $as_executable_p "$ac_dir/$ac_word" || continue 1715ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1716echo "$as_me:1716: found $ac_dir/$ac_word" >&5 1717break 1718done 1719 1720fi 1721fi 1722CC=$ac_cv_prog_CC 1723if test -n "$CC"; then 1724 echo "$as_me:1724: result: $CC" >&5 1725echo "${ECHO_T}$CC" >&6 1726else 1727 echo "$as_me:1727: result: no" >&5 1728echo "${ECHO_T}no" >&6 1729fi 1730 1731 test -n "$CC" && break 1732 done 1733fi 1734if test -z "$CC"; then 1735 ac_ct_CC=$CC 1736 for ac_prog in cl 1737do 1738 # Extract the first word of "$ac_prog", so it can be a program name with args. 1739set dummy $ac_prog; ac_word=$2 1740echo "$as_me:1740: checking for $ac_word" >&5 1741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1742if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1743 echo $ECHO_N "(cached) $ECHO_C" >&6 1744else 1745 if test -n "$ac_ct_CC"; then 1746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1747else 1748 ac_save_IFS=$IFS; IFS=$ac_path_separator 1749ac_dummy="$PATH" 1750for ac_dir in $ac_dummy; do 1751 IFS=$ac_save_IFS 1752 test -z "$ac_dir" && ac_dir=. 1753 $as_executable_p "$ac_dir/$ac_word" || continue 1754ac_cv_prog_ac_ct_CC="$ac_prog" 1755echo "$as_me:1755: found $ac_dir/$ac_word" >&5 1756break 1757done 1758 1759fi 1760fi 1761ac_ct_CC=$ac_cv_prog_ac_ct_CC 1762if test -n "$ac_ct_CC"; then 1763 echo "$as_me:1763: result: $ac_ct_CC" >&5 1764echo "${ECHO_T}$ac_ct_CC" >&6 1765else 1766 echo "$as_me:1766: result: no" >&5 1767echo "${ECHO_T}no" >&6 1768fi 1769 1770 test -n "$ac_ct_CC" && break 1771done 1772 1773 CC=$ac_ct_CC 1774fi 1775 1776fi 1777 1778test -z "$CC" && { { echo "$as_me:1778: error: no acceptable cc found in \$PATH" >&5 1779echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1780 { (exit 1); exit 1; }; } 1781 1782# Provide some information about the compiler. 1783echo "$as_me:1783:" \ 1784 "checking for C compiler version" >&5 1785ac_compiler=`set X $ac_compile; echo $2` 1786{ (eval echo "$as_me:1786: \"$ac_compiler --version </dev/null >&5\"") >&5 1787 (eval $ac_compiler --version </dev/null >&5) 2>&5 1788 ac_status=$? 1789 echo "$as_me:1789: \$? = $ac_status" >&5 1790 (exit $ac_status); } 1791{ (eval echo "$as_me:1791: \"$ac_compiler -v </dev/null >&5\"") >&5 1792 (eval $ac_compiler -v </dev/null >&5) 2>&5 1793 ac_status=$? 1794 echo "$as_me:1794: \$? = $ac_status" >&5 1795 (exit $ac_status); } 1796{ (eval echo "$as_me:1796: \"$ac_compiler -V </dev/null >&5\"") >&5 1797 (eval $ac_compiler -V </dev/null >&5) 2>&5 1798 ac_status=$? 1799 echo "$as_me:1799: \$? = $ac_status" >&5 1800 (exit $ac_status); } 1801 1802cat >conftest.$ac_ext <<_ACEOF 1803#line 1803 "configure" 1804#include "confdefs.h" 1805 1806int 1807main () 1808{ 1809 1810 ; 1811 return 0; 1812} 1813_ACEOF 1814ac_clean_files_save=$ac_clean_files 1815ac_clean_files="$ac_clean_files a.out a.exe" 1816# Try to create an executable without -o first, disregard a.out. 1817# It will help us diagnose broken compilers, and finding out an intuition 1818# of exeext. 1819echo "$as_me:1819: checking for C compiler default output" >&5 1820echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1821ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1822if { (eval echo "$as_me:1822: \"$ac_link_default\"") >&5 1823 (eval $ac_link_default) 2>&5 1824 ac_status=$? 1825 echo "$as_me:1825: \$? = $ac_status" >&5 1826 (exit $ac_status); }; then 1827 # Find the output, starting from the most likely. This scheme is 1828# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1829# resort. 1830for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1831 ls a.out conftest 2>/dev/null; 1832 ls a.* conftest.* 2>/dev/null`; do 1833 case $ac_file in 1834 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1835 a.out ) # We found the default executable, but exeext='' is most 1836 # certainly right. 1837 break;; 1838 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1839 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1840 export ac_cv_exeext 1841 break;; 1842 * ) break;; 1843 esac 1844done 1845else 1846 echo "$as_me: failed program was:" >&5 1847cat conftest.$ac_ext >&5 1848{ { echo "$as_me:1848: error: C compiler cannot create executables" >&5 1849echo "$as_me: error: C compiler cannot create executables" >&2;} 1850 { (exit 77); exit 77; }; } 1851fi 1852 1853ac_exeext=$ac_cv_exeext 1854echo "$as_me:1854: result: $ac_file" >&5 1855echo "${ECHO_T}$ac_file" >&6 1856 1857# Check the compiler produces executables we can run. If not, either 1858# the compiler is broken, or we cross compile. 1859echo "$as_me:1859: checking whether the C compiler works" >&5 1860echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1861# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1862# If not cross compiling, check that we can run a simple program. 1863if test "$cross_compiling" != yes; then 1864 if { ac_try='./$ac_file' 1865 { (eval echo "$as_me:1865: \"$ac_try\"") >&5 1866 (eval $ac_try) 2>&5 1867 ac_status=$? 1868 echo "$as_me:1868: \$? = $ac_status" >&5 1869 (exit $ac_status); }; }; then 1870 cross_compiling=no 1871 else 1872 if test "$cross_compiling" = maybe; then 1873 cross_compiling=yes 1874 else 1875 { { echo "$as_me:1875: error: cannot run C compiled programs. 1876If you meant to cross compile, use \`--host'." >&5 1877echo "$as_me: error: cannot run C compiled programs. 1878If you meant to cross compile, use \`--host'." >&2;} 1879 { (exit 1); exit 1; }; } 1880 fi 1881 fi 1882fi 1883echo "$as_me:1883: result: yes" >&5 1884echo "${ECHO_T}yes" >&6 1885 1886rm -f a.out a.exe conftest$ac_cv_exeext 1887ac_clean_files=$ac_clean_files_save 1888# Check the compiler produces executables we can run. If not, either 1889# the compiler is broken, or we cross compile. 1890echo "$as_me:1890: checking whether we are cross compiling" >&5 1891echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1892echo "$as_me:1892: result: $cross_compiling" >&5 1893echo "${ECHO_T}$cross_compiling" >&6 1894 1895echo "$as_me:1895: checking for executable suffix" >&5 1896echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1897if { (eval echo "$as_me:1897: \"$ac_link\"") >&5 1898 (eval $ac_link) 2>&5 1899 ac_status=$? 1900 echo "$as_me:1900: \$? = $ac_status" >&5 1901 (exit $ac_status); }; then 1902 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1903# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1904# work properly (i.e., refer to `conftest.exe'), while it won't with 1905# `rm'. 1906for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1907 case $ac_file in 1908 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1909 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1910 export ac_cv_exeext 1911 break;; 1912 * ) break;; 1913 esac 1914done 1915else 1916 { { echo "$as_me:1916: error: cannot compute EXEEXT: cannot compile and link" >&5 1917echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1918 { (exit 1); exit 1; }; } 1919fi 1920 1921rm -f conftest$ac_cv_exeext 1922echo "$as_me:1922: result: $ac_cv_exeext" >&5 1923echo "${ECHO_T}$ac_cv_exeext" >&6 1924 1925rm -f conftest.$ac_ext 1926EXEEXT=$ac_cv_exeext 1927ac_exeext=$EXEEXT 1928echo "$as_me:1928: checking for object suffix" >&5 1929echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1930if test "${ac_cv_objext+set}" = set; then 1931 echo $ECHO_N "(cached) $ECHO_C" >&6 1932else 1933 cat >conftest.$ac_ext <<_ACEOF 1934#line 1934 "configure" 1935#include "confdefs.h" 1936 1937int 1938main () 1939{ 1940 1941 ; 1942 return 0; 1943} 1944_ACEOF 1945rm -f conftest.o conftest.obj 1946if { (eval echo "$as_me:1946: \"$ac_compile\"") >&5 1947 (eval $ac_compile) 2>&5 1948 ac_status=$? 1949 echo "$as_me:1949: \$? = $ac_status" >&5 1950 (exit $ac_status); }; then 1951 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1952 case $ac_file in 1953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1954 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1955 break;; 1956 esac 1957done 1958else 1959 echo "$as_me: failed program was:" >&5 1960cat conftest.$ac_ext >&5 1961{ { echo "$as_me:1961: error: cannot compute OBJEXT: cannot compile" >&5 1962echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1963 { (exit 1); exit 1; }; } 1964fi 1965 1966rm -f conftest.$ac_cv_objext conftest.$ac_ext 1967fi 1968echo "$as_me:1968: result: $ac_cv_objext" >&5 1969echo "${ECHO_T}$ac_cv_objext" >&6 1970OBJEXT=$ac_cv_objext 1971ac_objext=$OBJEXT 1972echo "$as_me:1972: checking whether we are using the GNU C compiler" >&5 1973echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1974if test "${ac_cv_c_compiler_gnu+set}" = set; then 1975 echo $ECHO_N "(cached) $ECHO_C" >&6 1976else 1977 cat >conftest.$ac_ext <<_ACEOF 1978#line 1978 "configure" 1979#include "confdefs.h" 1980 1981int 1982main () 1983{ 1984#ifndef __GNUC__ 1985 choke me 1986#endif 1987 1988 ; 1989 return 0; 1990} 1991_ACEOF 1992rm -f conftest.$ac_objext 1993if { (eval echo "$as_me:1993: \"$ac_compile\"") >&5 1994 (eval $ac_compile) 2>&5 1995 ac_status=$? 1996 echo "$as_me:1996: \$? = $ac_status" >&5 1997 (exit $ac_status); } && 1998 { ac_try='test -s conftest.$ac_objext' 1999 { (eval echo "$as_me:1999: \"$ac_try\"") >&5 2000 (eval $ac_try) 2>&5 2001 ac_status=$? 2002 echo "$as_me:2002: \$? = $ac_status" >&5 2003 (exit $ac_status); }; }; then 2004 ac_compiler_gnu=yes 2005else 2006 echo "$as_me: failed program was:" >&5 2007cat conftest.$ac_ext >&5 2008ac_compiler_gnu=no 2009fi 2010rm -f conftest.$ac_objext conftest.$ac_ext 2011ac_cv_c_compiler_gnu=$ac_compiler_gnu 2012 2013fi 2014echo "$as_me:2014: result: $ac_cv_c_compiler_gnu" >&5 2015echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2016GCC=`test $ac_compiler_gnu = yes && echo yes` 2017ac_test_CFLAGS=${CFLAGS+set} 2018ac_save_CFLAGS=$CFLAGS 2019CFLAGS="-g" 2020echo "$as_me:2020: checking whether $CC accepts -g" >&5 2021echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2022if test "${ac_cv_prog_cc_g+set}" = set; then 2023 echo $ECHO_N "(cached) $ECHO_C" >&6 2024else 2025 cat >conftest.$ac_ext <<_ACEOF 2026#line 2026 "configure" 2027#include "confdefs.h" 2028 2029int 2030main () 2031{ 2032 2033 ; 2034 return 0; 2035} 2036_ACEOF 2037rm -f conftest.$ac_objext 2038if { (eval echo "$as_me:2038: \"$ac_compile\"") >&5 2039 (eval $ac_compile) 2>&5 2040 ac_status=$? 2041 echo "$as_me:2041: \$? = $ac_status" >&5 2042 (exit $ac_status); } && 2043 { ac_try='test -s conftest.$ac_objext' 2044 { (eval echo "$as_me:2044: \"$ac_try\"") >&5 2045 (eval $ac_try) 2>&5 2046 ac_status=$? 2047 echo "$as_me:2047: \$? = $ac_status" >&5 2048 (exit $ac_status); }; }; then 2049 ac_cv_prog_cc_g=yes 2050else 2051 echo "$as_me: failed program was:" >&5 2052cat conftest.$ac_ext >&5 2053ac_cv_prog_cc_g=no 2054fi 2055rm -f conftest.$ac_objext conftest.$ac_ext 2056fi 2057echo "$as_me:2057: result: $ac_cv_prog_cc_g" >&5 2058echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2059if test "$ac_test_CFLAGS" = set; then 2060 CFLAGS=$ac_save_CFLAGS 2061elif test $ac_cv_prog_cc_g = yes; then 2062 if test "$GCC" = yes; then 2063 CFLAGS="-g -O2" 2064 else 2065 CFLAGS="-g" 2066 fi 2067else 2068 if test "$GCC" = yes; then 2069 CFLAGS="-O2" 2070 else 2071 CFLAGS= 2072 fi 2073fi 2074# Some people use a C++ compiler to compile C. Since we use `exit', 2075# in C++ we need to declare it. In case someone uses the same compiler 2076# for both compiling C and C++ we need to have the C++ compiler decide 2077# the declaration of exit, since it's the most demanding environment. 2078cat >conftest.$ac_ext <<_ACEOF 2079#ifndef __cplusplus 2080 choke me 2081#endif 2082_ACEOF 2083rm -f conftest.$ac_objext 2084if { (eval echo "$as_me:2084: \"$ac_compile\"") >&5 2085 (eval $ac_compile) 2>&5 2086 ac_status=$? 2087 echo "$as_me:2087: \$? = $ac_status" >&5 2088 (exit $ac_status); } && 2089 { ac_try='test -s conftest.$ac_objext' 2090 { (eval echo "$as_me:2090: \"$ac_try\"") >&5 2091 (eval $ac_try) 2>&5 2092 ac_status=$? 2093 echo "$as_me:2093: \$? = $ac_status" >&5 2094 (exit $ac_status); }; }; then 2095 for ac_declaration in \ 2096 ''\ 2097 '#include <stdlib.h>' \ 2098 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2099 'extern "C" void std::exit (int); using std::exit;' \ 2100 'extern "C" void exit (int) throw ();' \ 2101 'extern "C" void exit (int);' \ 2102 'void exit (int);' 2103do 2104 cat >conftest.$ac_ext <<_ACEOF 2105#line 2105 "configure" 2106#include "confdefs.h" 2107#include <stdlib.h> 2108$ac_declaration 2109int 2110main () 2111{ 2112exit (42); 2113 ; 2114 return 0; 2115} 2116_ACEOF 2117rm -f conftest.$ac_objext 2118if { (eval echo "$as_me:2118: \"$ac_compile\"") >&5 2119 (eval $ac_compile) 2>&5 2120 ac_status=$? 2121 echo "$as_me:2121: \$? = $ac_status" >&5 2122 (exit $ac_status); } && 2123 { ac_try='test -s conftest.$ac_objext' 2124 { (eval echo "$as_me:2124: \"$ac_try\"") >&5 2125 (eval $ac_try) 2>&5 2126 ac_status=$? 2127 echo "$as_me:2127: \$? = $ac_status" >&5 2128 (exit $ac_status); }; }; then 2129 : 2130else 2131 echo "$as_me: failed program was:" >&5 2132cat conftest.$ac_ext >&5 2133continue 2134fi 2135rm -f conftest.$ac_objext conftest.$ac_ext 2136 cat >conftest.$ac_ext <<_ACEOF 2137#line 2137 "configure" 2138#include "confdefs.h" 2139$ac_declaration 2140int 2141main () 2142{ 2143exit (42); 2144 ; 2145 return 0; 2146} 2147_ACEOF 2148rm -f conftest.$ac_objext 2149if { (eval echo "$as_me:2149: \"$ac_compile\"") >&5 2150 (eval $ac_compile) 2>&5 2151 ac_status=$? 2152 echo "$as_me:2152: \$? = $ac_status" >&5 2153 (exit $ac_status); } && 2154 { ac_try='test -s conftest.$ac_objext' 2155 { (eval echo "$as_me:2155: \"$ac_try\"") >&5 2156 (eval $ac_try) 2>&5 2157 ac_status=$? 2158 echo "$as_me:2158: \$? = $ac_status" >&5 2159 (exit $ac_status); }; }; then 2160 break 2161else 2162 echo "$as_me: failed program was:" >&5 2163cat conftest.$ac_ext >&5 2164fi 2165rm -f conftest.$ac_objext conftest.$ac_ext 2166done 2167rm -f conftest* 2168if test -n "$ac_declaration"; then 2169 echo '#ifdef __cplusplus' >>confdefs.h 2170 echo $ac_declaration >>confdefs.h 2171 echo '#endif' >>confdefs.h 2172fi 2173 2174else 2175 echo "$as_me: failed program was:" >&5 2176cat conftest.$ac_ext >&5 2177fi 2178rm -f conftest.$ac_objext conftest.$ac_ext 2179ac_ext=c 2180ac_cpp='$CPP $CPPFLAGS' 2181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2183ac_compiler_gnu=$ac_cv_c_compiler_gnu 2184 2185ac_ext=c 2186ac_cpp='$CPP $CPPFLAGS' 2187ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2188ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2189ac_compiler_gnu=$ac_cv_c_compiler_gnu 2190echo "$as_me:2190: checking how to run the C preprocessor" >&5 2191echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2192# On Suns, sometimes $CPP names a directory. 2193if test -n "$CPP" && test -d "$CPP"; then 2194 CPP= 2195fi 2196if test -z "$CPP"; then 2197 if test "${ac_cv_prog_CPP+set}" = set; then 2198 echo $ECHO_N "(cached) $ECHO_C" >&6 2199else 2200 # Double quotes because CPP needs to be expanded 2201 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2202 do 2203 ac_preproc_ok=false 2204for ac_c_preproc_warn_flag in '' yes 2205do 2206 # Use a header file that comes with gcc, so configuring glibc 2207 # with a fresh cross-compiler works. 2208 # On the NeXT, cc -E runs the code through the compiler's parser, 2209 # not just through cpp. "Syntax error" is here to catch this case. 2210 cat >conftest.$ac_ext <<_ACEOF 2211#line 2211 "configure" 2212#include "confdefs.h" 2213#include <assert.h> 2214 Syntax error 2215_ACEOF 2216if { (eval echo "$as_me:2216: \"$ac_cpp conftest.$ac_ext\"") >&5 2217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2218 ac_status=$? 2219 egrep -v '^ *\+' conftest.er1 >conftest.err 2220 rm -f conftest.er1 2221 cat conftest.err >&5 2222 echo "$as_me:2222: \$? = $ac_status" >&5 2223 (exit $ac_status); } >/dev/null; then 2224 if test -s conftest.err; then 2225 ac_cpp_err=$ac_c_preproc_warn_flag 2226 else 2227 ac_cpp_err= 2228 fi 2229else 2230 ac_cpp_err=yes 2231fi 2232if test -z "$ac_cpp_err"; then 2233 : 2234else 2235 echo "$as_me: failed program was:" >&5 2236 cat conftest.$ac_ext >&5 2237 # Broken: fails on valid input. 2238continue 2239fi 2240rm -f conftest.err conftest.$ac_ext 2241 2242 # OK, works on sane cases. Now check whether non-existent headers 2243 # can be detected and how. 2244 cat >conftest.$ac_ext <<_ACEOF 2245#line 2245 "configure" 2246#include "confdefs.h" 2247#include <ac_nonexistent.h> 2248_ACEOF 2249if { (eval echo "$as_me:2249: \"$ac_cpp conftest.$ac_ext\"") >&5 2250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2251 ac_status=$? 2252 egrep -v '^ *\+' conftest.er1 >conftest.err 2253 rm -f conftest.er1 2254 cat conftest.err >&5 2255 echo "$as_me:2255: \$? = $ac_status" >&5 2256 (exit $ac_status); } >/dev/null; then 2257 if test -s conftest.err; then 2258 ac_cpp_err=$ac_c_preproc_warn_flag 2259 else 2260 ac_cpp_err= 2261 fi 2262else 2263 ac_cpp_err=yes 2264fi 2265if test -z "$ac_cpp_err"; then 2266 # Broken: success on invalid input. 2267continue 2268else 2269 echo "$as_me: failed program was:" >&5 2270 cat conftest.$ac_ext >&5 2271 # Passes both tests. 2272ac_preproc_ok=: 2273break 2274fi 2275rm -f conftest.err conftest.$ac_ext 2276 2277done 2278# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2279rm -f conftest.err conftest.$ac_ext 2280if $ac_preproc_ok; then 2281 break 2282fi 2283 2284 done 2285 ac_cv_prog_CPP=$CPP 2286 2287fi 2288 CPP=$ac_cv_prog_CPP 2289else 2290 ac_cv_prog_CPP=$CPP 2291fi 2292echo "$as_me:2292: result: $CPP" >&5 2293echo "${ECHO_T}$CPP" >&6 2294ac_preproc_ok=false 2295for ac_c_preproc_warn_flag in '' yes 2296do 2297 # Use a header file that comes with gcc, so configuring glibc 2298 # with a fresh cross-compiler works. 2299 # On the NeXT, cc -E runs the code through the compiler's parser, 2300 # not just through cpp. "Syntax error" is here to catch this case. 2301 cat >conftest.$ac_ext <<_ACEOF 2302#line 2302 "configure" 2303#include "confdefs.h" 2304#include <assert.h> 2305 Syntax error 2306_ACEOF 2307if { (eval echo "$as_me:2307: \"$ac_cpp conftest.$ac_ext\"") >&5 2308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2309 ac_status=$? 2310 egrep -v '^ *\+' conftest.er1 >conftest.err 2311 rm -f conftest.er1 2312 cat conftest.err >&5 2313 echo "$as_me:2313: \$? = $ac_status" >&5 2314 (exit $ac_status); } >/dev/null; then 2315 if test -s conftest.err; then 2316 ac_cpp_err=$ac_c_preproc_warn_flag 2317 else 2318 ac_cpp_err= 2319 fi 2320else 2321 ac_cpp_err=yes 2322fi 2323if test -z "$ac_cpp_err"; then 2324 : 2325else 2326 echo "$as_me: failed program was:" >&5 2327 cat conftest.$ac_ext >&5 2328 # Broken: fails on valid input. 2329continue 2330fi 2331rm -f conftest.err conftest.$ac_ext 2332 2333 # OK, works on sane cases. Now check whether non-existent headers 2334 # can be detected and how. 2335 cat >conftest.$ac_ext <<_ACEOF 2336#line 2336 "configure" 2337#include "confdefs.h" 2338#include <ac_nonexistent.h> 2339_ACEOF 2340if { (eval echo "$as_me:2340: \"$ac_cpp conftest.$ac_ext\"") >&5 2341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2342 ac_status=$? 2343 egrep -v '^ *\+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:2346: \$? = $ac_status" >&5 2347 (exit $ac_status); } >/dev/null; then 2348 if test -s conftest.err; then 2349 ac_cpp_err=$ac_c_preproc_warn_flag 2350 else 2351 ac_cpp_err= 2352 fi 2353else 2354 ac_cpp_err=yes 2355fi 2356if test -z "$ac_cpp_err"; then 2357 # Broken: success on invalid input. 2358continue 2359else 2360 echo "$as_me: failed program was:" >&5 2361 cat conftest.$ac_ext >&5 2362 # Passes both tests. 2363ac_preproc_ok=: 2364break 2365fi 2366rm -f conftest.err conftest.$ac_ext 2367 2368done 2369# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2370rm -f conftest.err conftest.$ac_ext 2371if $ac_preproc_ok; then 2372 : 2373else 2374 { { echo "$as_me:2374: error: C preprocessor \"$CPP\" fails sanity check" >&5 2375echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2376 { (exit 1); exit 1; }; } 2377fi 2378 2379ac_ext=c 2380ac_cpp='$CPP $CPPFLAGS' 2381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2383ac_compiler_gnu=$ac_cv_c_compiler_gnu 2384 2385echo "$as_me:2385: checking tcl/tk version > 8.3 " >&5 2386echo $ECHO_N "checking tcl/tk version > 8.3 ... $ECHO_C" >&6 2387# Extract the first word of "wish8.3", so it can be a program name with args. 2388set dummy wish8.3; ac_word=$2 2389echo "$as_me:2389: checking for $ac_word" >&5 2390echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2391if test "${ac_cv_path_WISH+set}" = set; then 2392 echo $ECHO_N "(cached) $ECHO_C" >&6 2393else 2394 case $WISH in 2395 [\\/]* | ?:[\\/]*) 2396 ac_cv_path_WISH="$WISH" # Let the user override the test with a path. 2397 ;; 2398 *) 2399 ac_save_IFS=$IFS; IFS=$ac_path_separator 2400ac_dummy="$PATH" 2401for ac_dir in $ac_dummy; do 2402 IFS=$ac_save_IFS 2403 test -z "$ac_dir" && ac_dir=. 2404 if $as_executable_p "$ac_dir/$ac_word"; then 2405 ac_cv_path_WISH="$ac_dir/$ac_word" 2406 echo "$as_me:2406: found $ac_dir/$ac_word" >&5 2407 break 2408fi 2409done 2410 2411 test -z "$ac_cv_path_WISH" && ac_cv_path_WISH="WISH_NOT_FOUND" 2412 ;; 2413esac 2414fi 2415WISH=$ac_cv_path_WISH 2416 2417if test -n "$WISH"; then 2418 echo "$as_me:2418: result: $WISH" >&5 2419echo "${ECHO_T}$WISH" >&6 2420else 2421 echo "$as_me:2421: result: no" >&5 2422echo "${ECHO_T}no" >&6 2423fi 2424if test "$WISH" = "WISH_NOT_FOUND" ; then 2425 echo "$as_me:2425: checking - trying for default wish" >&5 2426echo $ECHO_N "checking - trying for default wish... $ECHO_C" >&6 2427 # Extract the first word of "wish", so it can be a program name with args. 2428set dummy wish; ac_word=$2 2429echo "$as_me:2429: checking for $ac_word" >&5 2430echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2431if test "${ac_cv_path_WISH8+set}" = set; then 2432 echo $ECHO_N "(cached) $ECHO_C" >&6 2433else 2434 case $WISH8 in 2435 [\\/]* | ?:[\\/]*) 2436 ac_cv_path_WISH8="$WISH8" # Let the user override the test with a path. 2437 ;; 2438 *) 2439 ac_save_IFS=$IFS; IFS=$ac_path_separator 2440ac_dummy="$PATH" 2441for ac_dir in $ac_dummy; do 2442 IFS=$ac_save_IFS 2443 test -z "$ac_dir" && ac_dir=. 2444 if $as_executable_p "$ac_dir/$ac_word"; then 2445 ac_cv_path_WISH8="$ac_dir/$ac_word" 2446 echo "$as_me:2446: found $ac_dir/$ac_word" >&5 2447 break 2448fi 2449done 2450 2451 test -z "$ac_cv_path_WISH8" && ac_cv_path_WISH8="WISH_NOT_FOUND" 2452 ;; 2453esac 2454fi 2455WISH8=$ac_cv_path_WISH8 2456 2457if test -n "$WISH8"; then 2458 echo "$as_me:2458: result: $WISH8" >&5 2459echo "${ECHO_T}$WISH8" >&6 2460else 2461 echo "$as_me:2461: result: no" >&5 2462echo "${ECHO_T}no" >&6 2463fi 2464 WISH=$WISH8 2465fi 2466if test "$WISH" = "WISH_NOT_FOUND"; then 2467echo " 2468You do not have Tcl/Tk installed or you do not have 2469'wish8.3' or 'wish' in the search path. Please correct this and 2470retry. 2471" 2472 exit 1 2473fi 2474 2475echo "$as_me:2475: checking lprngtool.conf location" >&5 2476echo $ECHO_N "checking lprngtool.conf location... $ECHO_C" >&6 2477 2478# Check whether --with-lprngtool_conf or --without-lprngtool_conf was given. 2479if test "${with_lprngtool_conf+set}" = set; then 2480 withval="$with_lprngtool_conf" 2481 LPRNGTOOL_CONF=$withval 2482else 2483 LPRNGTOOL_CONF=\${sysconfdir}/lprngtool.conf 2484fi; 2485echo "$as_me:2485: result: $LPRNGTOOL_CONF" >&5 2486echo "${ECHO_T}$LPRNGTOOL_CONF" >&6 2487 2488echo "$as_me:2488: checking printcap location" >&5 2489echo $ECHO_N "checking printcap location... $ECHO_C" >&6 2490 2491# Check whether --with-printcap_path or --without-printcap_path was given. 2492if test "${with_printcap_path+set}" = set; then 2493 withval="$with_printcap_path" 2494 PRINTCAP_PATH=$withval 2495else 2496 PRINTCAP_PATH=\${sysconfdir}/printcap 2497fi; 2498echo "$as_me:2498: result: $PRINTCAP_PATH" >&5 2499echo "${ECHO_T}$PRINTCAP_PATH" >&6 2500 2501echo "$as_me:2501: checking spool directory" >&5 2502echo $ECHO_N "checking spool directory... $ECHO_C" >&6 2503 2504# Check whether --with-spool_directory or --without-spool_directory was given. 2505if test "${with_spool_directory+set}" = set; then 2506 withval="$with_spool_directory" 2507 SPOOL_DIR=$withval 2508else 2509 SPOOL_DIR=/var/spool/lpd 2510fi; 2511echo "$as_me:2511: result: $SPOOL_DIR" >&5 2512echo "${ECHO_T}$SPOOL_DIR" >&6 2513 2514echo "$as_me:2514: checking ifhp filter path" >&5 2515echo $ECHO_N "checking ifhp filter path... $ECHO_C" >&6 2516 2517# Check whether --with-ifhp_path or --without-ifhp_path was given. 2518if test "${with_ifhp_path+set}" = set; then 2519 withval="$with_ifhp_path" 2520 IFHP_PATH=$withval 2521else 2522 IFHP_PATH=\${FILTER_DIR}/ifhp 2523fi; 2524echo "$as_me:2524: result: $IFHP_PATH" >&5 2525echo "${ECHO_T}$IFHP_PATH" >&6 2526 2527echo "$as_me:2527: checking ifhp.conf path" >&5 2528echo $ECHO_N "checking ifhp.conf path... $ECHO_C" >&6 2529 2530# Check whether --with-ifhp_conf or --without-ifhp_conf was given. 2531if test "${with_ifhp_conf+set}" = set; then 2532 withval="$with_ifhp_conf" 2533 IFHP_CONF=$withval 2534else 2535 IFHP_CONF=\${sysconfdir}/ifhp.conf 2536fi; 2537echo "$as_me:2537: result: $IFHP_CONF" >&5 2538echo "${ECHO_T}$IFHP_CONF" >&6 2539 2540echo "$as_me:2540: checking filter directory" >&5 2541echo $ECHO_N "checking filter directory... $ECHO_C" >&6 2542 2543# Check whether --with-filterdir or --without-filterdir was given. 2544if test "${with_filterdir+set}" = set; then 2545 withval="$with_filterdir" 2546 FILTER_DIR=$withval 2547else 2548 FILTER_DIR=\${libexecdir}/filters 2549fi; 2550echo "$as_me:2550: result: $FILTER_DIR" >&5 2551echo "${ECHO_T}$FILTER_DIR" >&6 2552 2553echo "$as_me:2553: checking for POSIXized ISC" >&5 2554echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 2555if test -d /etc/conf/kconfig.d && 2556 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 2557then 2558 echo "$as_me:2558: result: yes" >&5 2559echo "${ECHO_T}yes" >&6 2560 ISC=yes # If later tests want to check for ISC. 2561 2562cat >>confdefs.h <<\EOF 2563#define _POSIX_SOURCE 1 2564EOF 2565 2566 if test "$GCC" = yes; then 2567 CC="$CC -posix" 2568 else 2569 CC="$CC -Xp" 2570 fi 2571else 2572 echo "$as_me:2572: result: no" >&5 2573echo "${ECHO_T}no" >&6 2574 ISC= 2575fi 2576 2577echo "$as_me:2577: checking for minix/config.h" >&5 2578echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 2579if test "${ac_cv_header_minix_config_h+set}" = set; then 2580 echo $ECHO_N "(cached) $ECHO_C" >&6 2581else 2582 cat >conftest.$ac_ext <<_ACEOF 2583#line 2583 "configure" 2584#include "confdefs.h" 2585#include <minix/config.h> 2586_ACEOF 2587if { (eval echo "$as_me:2587: \"$ac_cpp conftest.$ac_ext\"") >&5 2588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2589 ac_status=$? 2590 egrep -v '^ *\+' conftest.er1 >conftest.err 2591 rm -f conftest.er1 2592 cat conftest.err >&5 2593 echo "$as_me:2593: \$? = $ac_status" >&5 2594 (exit $ac_status); } >/dev/null; then 2595 if test -s conftest.err; then 2596 ac_cpp_err=$ac_c_preproc_warn_flag 2597 else 2598 ac_cpp_err= 2599 fi 2600else 2601 ac_cpp_err=yes 2602fi 2603if test -z "$ac_cpp_err"; then 2604 ac_cv_header_minix_config_h=yes 2605else 2606 echo "$as_me: failed program was:" >&5 2607 cat conftest.$ac_ext >&5 2608 ac_cv_header_minix_config_h=no 2609fi 2610rm -f conftest.err conftest.$ac_ext 2611fi 2612echo "$as_me:2612: result: $ac_cv_header_minix_config_h" >&5 2613echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 2614if test $ac_cv_header_minix_config_h = yes; then 2615 MINIX=yes 2616else 2617 MINIX= 2618fi 2619 2620if test "$MINIX" = yes; then 2621 2622cat >>confdefs.h <<\EOF 2623#define _POSIX_SOURCE 1 2624EOF 2625 2626cat >>confdefs.h <<\EOF 2627#define _POSIX_1_SOURCE 2 2628EOF 2629 2630cat >>confdefs.h <<\EOF 2631#define _MINIX 1 2632EOF 2633 2634fi 2635 2636echo "$as_me:2636: checking for AIX" >&5 2637echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2638cat >conftest.$ac_ext <<_ACEOF 2639#line 2639 "configure" 2640#include "confdefs.h" 2641#ifdef _AIX 2642 yes 2643#endif 2644 2645_ACEOF 2646if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2647 egrep "yes" >/dev/null 2>&1; then 2648 echo "$as_me:2648: result: yes" >&5 2649echo "${ECHO_T}yes" >&6 2650cat >>confdefs.h <<\EOF 2651#define _ALL_SOURCE 1 2652EOF 2653 2654else 2655 echo "$as_me:2655: result: no" >&5 2656echo "${ECHO_T}no" >&6 2657fi 2658rm -f conftest* 2659 2660release=`uname -r 2>/dev/null; exit 0`; 2661version=`echo $target_os | sed -e 's/[^0-9][^0-9]*//' -e 's/\./X/' -e 's/\.//g' -e 's/X/./' \ 2662 | awk '{ v=$1+0; if( v > 0 ){ while( v < 100 ){v = v * 10;}}; print v; }' `; 2663if test "$version" -eq 0 ; then 2664 version=`echo $release | sed -e 's/-.*//' -e 's/\.//g' \ 2665 | awk '{ v=$1+0; if( v > 0 ){ while( v < 100 ){v = v * 10;}}; print v; }' `; 2666fi 2667osword=`echo $target_os | sed -e 's/[0-9].*//'`; export osword 2668echo "$as_me:2668: result: Target is $target, arch $target_cpu, os $target_os, release $release, version $version" >&5 2669echo "${ECHO_T}Target is $target, arch $target_cpu, os $target_os, release $release, version $version" >&6 2670 2671cat >>confdefs.h <<EOF 2672#define ARCHITECTURE "$target_cpu" 2673EOF 2674 2675cat >>confdefs.h <<EOF 2676#define OSNAME "$osword" 2677EOF 2678 2679cat >>confdefs.h <<EOF 2680#define OSVERSION $version 2681EOF 2682 2683OSNAME=$osword 2684OSVERSION=$version 2685 2686for ac_header in unistd.h 2687do 2688as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2689echo "$as_me:2689: checking for $ac_header" >&5 2690echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2691if eval "test \"\${$as_ac_Header+set}\" = set"; then 2692 echo $ECHO_N "(cached) $ECHO_C" >&6 2693else 2694 cat >conftest.$ac_ext <<_ACEOF 2695#line 2695 "configure" 2696#include "confdefs.h" 2697#include <$ac_header> 2698_ACEOF 2699if { (eval echo "$as_me:2699: \"$ac_cpp conftest.$ac_ext\"") >&5 2700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2701 ac_status=$? 2702 egrep -v '^ *\+' conftest.er1 >conftest.err 2703 rm -f conftest.er1 2704 cat conftest.err >&5 2705 echo "$as_me:2705: \$? = $ac_status" >&5 2706 (exit $ac_status); } >/dev/null; then 2707 if test -s conftest.err; then 2708 ac_cpp_err=$ac_c_preproc_warn_flag 2709 else 2710 ac_cpp_err= 2711 fi 2712else 2713 ac_cpp_err=yes 2714fi 2715if test -z "$ac_cpp_err"; then 2716 eval "$as_ac_Header=yes" 2717else 2718 echo "$as_me: failed program was:" >&5 2719 cat conftest.$ac_ext >&5 2720 eval "$as_ac_Header=no" 2721fi 2722rm -f conftest.err conftest.$ac_ext 2723fi 2724echo "$as_me:2724: result: `eval echo '${'$as_ac_Header'}'`" >&5 2725echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2726if test `eval echo '${'$as_ac_Header'}'` = yes; then 2727 cat >>confdefs.h <<EOF 2728#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2729EOF 2730 2731fi 2732done 2733 2734PAGER="$A2PS" 2735if expr "$OSNAME" : "linux" >/dev/null ; then 2736 PAGER="$MPAGE" 2737fi 2738 2739ac_config_files="$ac_config_files Makefile lprngtool.1" 2740cat >confcache <<\_ACEOF 2741# This file is a shell script that caches the results of configure 2742# tests run on this system so they can be shared between configure 2743# scripts and configure runs, see configure's option --config-cache. 2744# It is not useful on other systems. If it contains results you don't 2745# want to keep, you may remove or edit it. 2746# 2747# config.status only pays attention to the cache file if you give it 2748# the --recheck option to rerun configure. 2749# 2750# `ac_cv_env_foo' variables (set or unset) will be overriden when 2751# loading this file, other *unset* `ac_cv_foo' will be assigned the 2752# following values. 2753 2754_ACEOF 2755 2756# The following way of writing the cache mishandles newlines in values, 2757# but we know of no workaround that is simple, portable, and efficient. 2758# So, don't put newlines in cache variables' values. 2759# Ultrix sh set writes to stderr and can't be redirected directly, 2760# and sets the high bit in the cache file unless we assign to the vars. 2761{ 2762 (set) 2>&1 | 2763 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2764 *ac_space=\ *) 2765 # `set' does not quote correctly, so add quotes (double-quote 2766 # substitution turns \\\\ into \\, and sed turns \\ into \). 2767 sed -n \ 2768 "s/'/'\\\\''/g; 2769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2770 ;; 2771 *) 2772 # `set' quotes correctly as required by POSIX, so do not add quotes. 2773 sed -n \ 2774 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2775 ;; 2776 esac; 2777} | 2778 sed ' 2779 t clear 2780 : clear 2781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2782 t end 2783 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2784 : end' >>confcache 2785if cmp -s $cache_file confcache; then :; else 2786 if test -w $cache_file; then 2787 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2788 cat confcache >$cache_file 2789 else 2790 echo "not updating unwritable cache $cache_file" 2791 fi 2792fi 2793rm -f confcache 2794 2795test "x$prefix" = xNONE && prefix=$ac_default_prefix 2796# Let make expand exec_prefix. 2797test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2798 2799# VPATH may cause trouble with some makes, so we remove $(srcdir), 2800# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2801# trailing colons and then remove the whole line if VPATH becomes empty 2802# (actually we leave an empty line to preserve line numbers). 2803if test "x$srcdir" = x.; then 2804 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2805s/:*\$(srcdir):*/:/; 2806s/:*\${srcdir}:*/:/; 2807s/:*@srcdir@:*/:/; 2808s/^\([^=]*=[ ]*\):*/\1/; 2809s/:*$//; 2810s/^[^=]*=[ ]*$//; 2811}' 2812fi 2813 2814DEFS=-DHAVE_CONFIG_H 2815 2816: ${CONFIG_STATUS=./config.status} 2817ac_clean_files_save=$ac_clean_files 2818ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2819{ echo "$as_me:2819: creating $CONFIG_STATUS" >&5 2820echo "$as_me: creating $CONFIG_STATUS" >&6;} 2821cat >$CONFIG_STATUS <<_ACEOF 2822#! $SHELL 2823# Generated automatically by configure. 2824# Run this file to recreate the current configuration. 2825# Compiler output produced by configure, useful for debugging 2826# configure, is in config.log if it exists. 2827 2828debug=false 2829SHELL=\${CONFIG_SHELL-$SHELL} 2830ac_cs_invocation="\$0 \$@" 2831 2832_ACEOF 2833 2834cat >>$CONFIG_STATUS <<\_ACEOF 2835# Be Bourne compatible 2836if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2837 emulate sh 2838 NULLCMD=: 2839elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2840 set -o posix 2841fi 2842 2843# Name of the executable. 2844as_me=`echo "$0" |sed 's,.*[\\/],,'` 2845 2846if expr a : '\(a\)' >/dev/null 2>&1; then 2847 as_expr=expr 2848else 2849 as_expr=false 2850fi 2851 2852rm -f conf$$ conf$$.exe conf$$.file 2853echo >conf$$.file 2854if ln -s conf$$.file conf$$ 2>/dev/null; then 2855 # We could just check for DJGPP; but this test a) works b) is more generic 2856 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2857 if test -f conf$$.exe; then 2858 # Don't use ln at all; we don't have any links 2859 as_ln_s='cp -p' 2860 else 2861 as_ln_s='ln -s' 2862 fi 2863elif ln conf$$.file conf$$ 2>/dev/null; then 2864 as_ln_s=ln 2865else 2866 as_ln_s='cp -p' 2867fi 2868rm -f conf$$ conf$$.exe conf$$.file 2869 2870as_executable_p="test -f" 2871 2872# Support unset when possible. 2873if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 2874 as_unset=unset 2875else 2876 as_unset=false 2877fi 2878 2879# NLS nuisances. 2880$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 2881$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 2882$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 2883$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 2884$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 2885$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 2886$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 2887$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 2888 2889# IFS 2890# We need space, tab and new line, in precisely that order. 2891as_nl=' 2892' 2893IFS=" $as_nl" 2894 2895# CDPATH. 2896$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 2897 2898exec 6>&1 2899 2900_ACEOF 2901 2902# Files that config.status was made for. 2903if test -n "$ac_config_files"; then 2904 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 2905fi 2906 2907if test -n "$ac_config_headers"; then 2908 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 2909fi 2910 2911if test -n "$ac_config_links"; then 2912 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 2913fi 2914 2915if test -n "$ac_config_commands"; then 2916 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 2917fi 2918 2919cat >>$CONFIG_STATUS <<\EOF 2920 2921ac_cs_usage="\ 2922\`$as_me' instantiates files from templates according to the 2923current configuration. 2924 2925Usage: $0 [OPTIONS] [FILE]... 2926 2927 -h, --help print this help, then exit 2928 -V, --version print version number, then exit 2929 -d, --debug don't remove temporary files 2930 --recheck update $as_me by reconfiguring in the same conditions 2931 --file=FILE[:TEMPLATE] 2932 instantiate the configuration file FILE 2933 --header=FILE[:TEMPLATE] 2934 instantiate the configuration header FILE 2935 2936Configuration files: 2937$config_files 2938 2939Configuration headers: 2940$config_headers 2941 2942Report bugs to <bug-autoconf@gnu.org>." 2943EOF 2944 2945cat >>$CONFIG_STATUS <<EOF 2946ac_cs_version="\\ 2947config.status 2948configured by $0, generated by GNU Autoconf 2.52, 2949 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 2950 2951Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 2952Free Software Foundation, Inc. 2953This config.status script is free software; the Free Software Foundation 2954gives unlimited permission to copy, distribute and modify it." 2955srcdir=$srcdir 2956INSTALL="$INSTALL" 2957EOF 2958 2959cat >>$CONFIG_STATUS <<\EOF 2960# If no file are specified by the user, then we need to provide default 2961# value. By we need to know if files were specified by the user. 2962ac_need_defaults=: 2963while test $# != 0 2964do 2965 case $1 in 2966 --*=*) 2967 ac_option=`expr "x$1" : 'x\([^=]*\)='` 2968 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 2969 shift 2970 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 2971 shift 2972 ;; 2973 -*);; 2974 *) # This is not an option, so the user has probably given explicit 2975 # arguments. 2976 ac_need_defaults=false;; 2977 esac 2978 2979 case $1 in 2980 # Handling of the options. 2981EOF 2982cat >>$CONFIG_STATUS <<EOF 2983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2984 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 2985 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 2986EOF 2987cat >>$CONFIG_STATUS <<\EOF 2988 --version | --vers* | -V ) 2989 echo "$ac_cs_version"; exit 0 ;; 2990 --he | --h) 2991 # Conflict between --help and --header 2992 { { echo "$as_me:2992: error: ambiguous option: $1 2993Try \`$0 --help' for more information." >&5 2994echo "$as_me: error: ambiguous option: $1 2995Try \`$0 --help' for more information." >&2;} 2996 { (exit 1); exit 1; }; };; 2997 --help | --hel | -h ) 2998 echo "$ac_cs_usage"; exit 0 ;; 2999 --debug | --d* | -d ) 3000 debug=: ;; 3001 --file | --fil | --fi | --f ) 3002 shift 3003 CONFIG_FILES="$CONFIG_FILES $1" 3004 ac_need_defaults=false;; 3005 --header | --heade | --head | --hea ) 3006 shift 3007 CONFIG_HEADERS="$CONFIG_HEADERS $1" 3008 ac_need_defaults=false;; 3009 3010 # This is an error. 3011 -*) { { echo "$as_me:3011: error: unrecognized option: $1 3012Try \`$0 --help' for more information." >&5 3013echo "$as_me: error: unrecognized option: $1 3014Try \`$0 --help' for more information." >&2;} 3015 { (exit 1); exit 1; }; } ;; 3016 3017 *) ac_config_targets="$ac_config_targets $1" ;; 3018 3019 esac 3020 shift 3021done 3022 3023exec 5>>config.log 3024cat >&5 << _ACEOF 3025 3026## ----------------------- ## 3027## Running config.status. ## 3028## ----------------------- ## 3029 3030This file was extended by $as_me 2.52, executed with 3031 CONFIG_FILES = $CONFIG_FILES 3032 CONFIG_HEADERS = $CONFIG_HEADERS 3033 CONFIG_LINKS = $CONFIG_LINKS 3034 CONFIG_COMMANDS = $CONFIG_COMMANDS 3035 > $ac_cs_invocation 3036on `(hostname || uname -n) 2>/dev/null | sed 1q` 3037 3038_ACEOF 3039EOF 3040 3041cat >>$CONFIG_STATUS <<\EOF 3042for ac_config_target in $ac_config_targets 3043do 3044 case "$ac_config_target" in 3045 # Handling of arguments. 3046 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3047 "lprngtool.1" ) CONFIG_FILES="$CONFIG_FILES lprngtool.1" ;; 3048 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3049 *) { { echo "$as_me:3049: error: invalid argument: $ac_config_target" >&5 3050echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3051 { (exit 1); exit 1; }; };; 3052 esac 3053done 3054 3055# If the user did not use the arguments to specify the items to instantiate, 3056# then the envvar interface is used. Set only those that are not. 3057# We use the long form for the default assignment because of an extremely 3058# bizarre bug on SunOS 4.1.3. 3059if $ac_need_defaults; then 3060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3062fi 3063 3064# Create a temporary directory, and hook for its removal unless debugging. 3065$debug || 3066{ 3067 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3068 trap '{ (exit 1); exit 1; }' 1 2 13 15 3069} 3070 3071# Create a (secure) tmp directory for tmp files. 3072: ${TMPDIR=/tmp} 3073{ 3074 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 3075 test -n "$tmp" && test -d "$tmp" 3076} || 3077{ 3078 tmp=$TMPDIR/cs$$-$RANDOM 3079 (umask 077 && mkdir $tmp) 3080} || 3081{ 3082 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 3083 { (exit 1); exit 1; } 3084} 3085 3086EOF 3087 3088cat >>$CONFIG_STATUS <<EOF 3089 3090# 3091# CONFIG_FILES section. 3092# 3093 3094# No need to generate the scripts if there are no CONFIG_FILES. 3095# This happens for instance when ./config.status config.h 3096if test -n "\$CONFIG_FILES"; then 3097 # Protect against being on the right side of a sed subst in config.status. 3098 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3099 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3100s,@SHELL@,$SHELL,;t t 3101s,@exec_prefix@,$exec_prefix,;t t 3102s,@prefix@,$prefix,;t t 3103s,@program_transform_name@,$program_transform_name,;t t 3104s,@bindir@,$bindir,;t t 3105s,@sbindir@,$sbindir,;t t 3106s,@libexecdir@,$libexecdir,;t t 3107s,@datadir@,$datadir,;t t 3108s,@sysconfdir@,$sysconfdir,;t t 3109s,@sharedstatedir@,$sharedstatedir,;t t 3110s,@localstatedir@,$localstatedir,;t t 3111s,@libdir@,$libdir,;t t 3112s,@includedir@,$includedir,;t t 3113s,@oldincludedir@,$oldincludedir,;t t 3114s,@infodir@,$infodir,;t t 3115s,@mandir@,$mandir,;t t 3116s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3117s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3118s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3119s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3120s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3121s,@build_alias@,$build_alias,;t t 3122s,@host_alias@,$host_alias,;t t 3123s,@target_alias@,$target_alias,;t t 3124s,@ECHO_C@,$ECHO_C,;t t 3125s,@ECHO_N@,$ECHO_N,;t t 3126s,@ECHO_T@,$ECHO_T,;t t 3127s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3128s,@DEFS@,$DEFS,;t t 3129s,@LIBS@,$LIBS,;t t 3130s,@build@,$build,;t t 3131s,@build_cpu@,$build_cpu,;t t 3132s,@build_vendor@,$build_vendor,;t t 3133s,@build_os@,$build_os,;t t 3134s,@host@,$host,;t t 3135s,@host_cpu@,$host_cpu,;t t 3136s,@host_vendor@,$host_vendor,;t t 3137s,@host_os@,$host_os,;t t 3138s,@target@,$target,;t t 3139s,@target_cpu@,$target_cpu,;t t 3140s,@target_vendor@,$target_vendor,;t t 3141s,@target_os@,$target_os,;t t 3142s,@PACKAGE@,$PACKAGE,;t t 3143s,@VERSION@,$VERSION,;t t 3144s,@INSTALL@,$INSTALL,;t t 3145s,@INSTALL_MAN@,$INSTALL_MAN,;t t 3146s,@CPP@,$CPP,;t t 3147s,@CFLAGS@,$CFLAGS,;t t 3148s,@CPPFLAGS@,$CPPFLAGS,;t t 3149s,@LDFLAGS@,$LDFLAGS,;t t 3150s,@LDCC@,$LDCC,;t t 3151s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3152s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3153s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3154s,@SET_MAKE@,$SET_MAKE,;t t 3155s,@FILEUTIL@,$FILEUTIL,;t t 3156s,@GS@,$GS,;t t 3157s,@SMBCLIENT@,$SMBCLIENT,;t t 3158s,@A2PS@,$A2PS,;t t 3159s,@MPAGE@,$MPAGE,;t t 3160s,@GZIP@,$GZIP,;t t 3161s,@PAP@,$PAP,;t t 3162s,@NPRINT@,$NPRINT,;t t 3163s,@CC@,$CC,;t t 3164s,@ac_ct_CC@,$ac_ct_CC,;t t 3165s,@EXEEXT@,$EXEEXT,;t t 3166s,@OBJEXT@,$OBJEXT,;t t 3167s,@WISH@,$WISH,;t t 3168s,@WISH8@,$WISH8,;t t 3169s,@LPRNGTOOL_CONF@,$LPRNGTOOL_CONF,;t t 3170s,@PRINTCAP_PATH@,$PRINTCAP_PATH,;t t 3171s,@SPOOL_DIR@,$SPOOL_DIR,;t t 3172s,@IFHP_PATH@,$IFHP_PATH,;t t 3173s,@IFHP_CONF@,$IFHP_CONF,;t t 3174s,@FILTER_DIR@,$FILTER_DIR,;t t 3175s,@OSNAME@,$OSNAME,;t t 3176s,@OSVERSION@,$OSVERSION,;t t 3177s,@PAGER@,$PAGER,;t t 3178CEOF 3179 3180EOF 3181 3182 cat >>$CONFIG_STATUS <<\EOF 3183 # Split the substitutions into bite-sized pieces for seds with 3184 # small command number limits, like on Digital OSF/1 and HP-UX. 3185 ac_max_sed_lines=48 3186 ac_sed_frag=1 # Number of current file. 3187 ac_beg=1 # First line for current file. 3188 ac_end=$ac_max_sed_lines # Line after last line for current file. 3189 ac_more_lines=: 3190 ac_sed_cmds= 3191 while $ac_more_lines; do 3192 if test $ac_beg -gt 1; then 3193 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3194 else 3195 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3196 fi 3197 if test ! -s $tmp/subs.frag; then 3198 ac_more_lines=false 3199 else 3200 # The purpose of the label and of the branching condition is to 3201 # speed up the sed processing (if there are no `@' at all, there 3202 # is no need to browse any of the substitutions). 3203 # These are the two extra sed commands mentioned above. 3204 (echo ':t 3205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3206 if test -z "$ac_sed_cmds"; then 3207 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3208 else 3209 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3210 fi 3211 ac_sed_frag=`expr $ac_sed_frag + 1` 3212 ac_beg=$ac_end 3213 ac_end=`expr $ac_end + $ac_max_sed_lines` 3214 fi 3215 done 3216 if test -z "$ac_sed_cmds"; then 3217 ac_sed_cmds=cat 3218 fi 3219fi # test -n "$CONFIG_FILES" 3220 3221EOF 3222cat >>$CONFIG_STATUS <<\EOF 3223for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3224 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3225 case $ac_file in 3226 - | *:- | *:-:* ) # input from stdin 3227 cat >$tmp/stdin 3228 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3230 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3231 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3232 * ) ac_file_in=$ac_file.in ;; 3233 esac 3234 3235 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3236 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3237 X"$ac_file" : 'X\(//\)[^/]' \| \ 3238 X"$ac_file" : 'X\(//\)$' \| \ 3239 X"$ac_file" : 'X\(/\)' \| \ 3240 . : '\(.\)' 2>/dev/null || 3241echo X"$ac_file" | 3242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3243 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3244 /^X\(\/\/\)$/{ s//\1/; q; } 3245 /^X\(\/\).*/{ s//\1/; q; } 3246 s/.*/./; q'` 3247 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3248 { case "$ac_dir" in 3249 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 3250 *) as_incr_dir=.;; 3251esac 3252as_dummy="$ac_dir" 3253for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 3254 case $as_mkdir_dir in 3255 # Skip DOS drivespec 3256 ?:) as_incr_dir=$as_mkdir_dir ;; 3257 *) 3258 as_incr_dir=$as_incr_dir/$as_mkdir_dir 3259 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 3260 ;; 3261 esac 3262done; } 3263 3264 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 3265 # A "../" for each directory in $ac_dir_suffix. 3266 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 3267 else 3268 ac_dir_suffix= ac_dots= 3269 fi 3270 3271 case $srcdir in 3272 .) ac_srcdir=. 3273 if test -z "$ac_dots"; then 3274 ac_top_srcdir=. 3275 else 3276 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 3277 fi ;; 3278 [\\/]* | ?:[\\/]* ) 3279 ac_srcdir=$srcdir$ac_dir_suffix; 3280 ac_top_srcdir=$srcdir ;; 3281 *) # Relative path. 3282 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 3283 ac_top_srcdir=$ac_dots$srcdir ;; 3284 esac 3285 3286 case $INSTALL in 3287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3288 *) ac_INSTALL=$ac_dots$INSTALL ;; 3289 esac 3290 3291 if test x"$ac_file" != x-; then 3292 { echo "$as_me:3292: creating $ac_file" >&5 3293echo "$as_me: creating $ac_file" >&6;} 3294 rm -f "$ac_file" 3295 fi 3296 # Let's still pretend it is `configure' which instantiates (i.e., don't 3297 # use $as_me), people would be surprised to read: 3298 # /* config.h. Generated automatically by config.status. */ 3299 configure_input="Generated automatically from `echo $ac_file_in | 3300 sed 's,.*/,,'` by configure." 3301 3302 # First look for the input files in the build tree, otherwise in the 3303 # src tree. 3304 ac_file_inputs=`IFS=: 3305 for f in $ac_file_in; do 3306 case $f in 3307 -) echo $tmp/stdin ;; 3308 [\\/$]*) 3309 # Absolute (can't be DOS-style, as IFS=:) 3310 test -f "$f" || { { echo "$as_me:3310: error: cannot find input file: $f" >&5 3311echo "$as_me: error: cannot find input file: $f" >&2;} 3312 { (exit 1); exit 1; }; } 3313 echo $f;; 3314 *) # Relative 3315 if test -f "$f"; then 3316 # Build tree 3317 echo $f 3318 elif test -f "$srcdir/$f"; then 3319 # Source tree 3320 echo $srcdir/$f 3321 else 3322 # /dev/null tree 3323 { { echo "$as_me:3323: error: cannot find input file: $f" >&5 3324echo "$as_me: error: cannot find input file: $f" >&2;} 3325 { (exit 1); exit 1; }; } 3326 fi;; 3327 esac 3328 done` || { (exit 1); exit 1; } 3329EOF 3330cat >>$CONFIG_STATUS <<EOF 3331 sed "$ac_vpsub 3332$extrasub 3333EOF 3334cat >>$CONFIG_STATUS <<\EOF 3335:t 3336/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3337s,@configure_input@,$configure_input,;t t 3338s,@srcdir@,$ac_srcdir,;t t 3339s,@top_srcdir@,$ac_top_srcdir,;t t 3340s,@INSTALL@,$ac_INSTALL,;t t 3341" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3342 rm -f $tmp/stdin 3343 if test x"$ac_file" != x-; then 3344 mv $tmp/out $ac_file 3345 else 3346 cat $tmp/out 3347 rm -f $tmp/out 3348 fi 3349 3350done 3351EOF 3352cat >>$CONFIG_STATUS <<\EOF 3353 3354# 3355# CONFIG_HEADER section. 3356# 3357 3358# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 3359# NAME is the cpp macro being defined and VALUE is the value it is being given. 3360# 3361# ac_d sets the value in "#define NAME VALUE" lines. 3362ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 3363ac_dB='[ ].*$,\1#\2' 3364ac_dC=' ' 3365ac_dD=',;t' 3366# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 3367ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 3368ac_uB='$,\1#\2define\3' 3369ac_uC=' ' 3370ac_uD=',;t' 3371 3372for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 3373 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3374 case $ac_file in 3375 - | *:- | *:-:* ) # input from stdin 3376 cat >$tmp/stdin 3377 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3378 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3379 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3380 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3381 * ) ac_file_in=$ac_file.in ;; 3382 esac 3383 3384 test x"$ac_file" != x- && { echo "$as_me:3384: creating $ac_file" >&5 3385echo "$as_me: creating $ac_file" >&6;} 3386 3387 # First look for the input files in the build tree, otherwise in the 3388 # src tree. 3389 ac_file_inputs=`IFS=: 3390 for f in $ac_file_in; do 3391 case $f in 3392 -) echo $tmp/stdin ;; 3393 [\\/$]*) 3394 # Absolute (can't be DOS-style, as IFS=:) 3395 test -f "$f" || { { echo "$as_me:3395: error: cannot find input file: $f" >&5 3396echo "$as_me: error: cannot find input file: $f" >&2;} 3397 { (exit 1); exit 1; }; } 3398 echo $f;; 3399 *) # Relative 3400 if test -f "$f"; then 3401 # Build tree 3402 echo $f 3403 elif test -f "$srcdir/$f"; then 3404 # Source tree 3405 echo $srcdir/$f 3406 else 3407 # /dev/null tree 3408 { { echo "$as_me:3408: error: cannot find input file: $f" >&5 3409echo "$as_me: error: cannot find input file: $f" >&2;} 3410 { (exit 1); exit 1; }; } 3411 fi;; 3412 esac 3413 done` || { (exit 1); exit 1; } 3414 # Remove the trailing spaces. 3415 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 3416 3417EOF 3418 3419# Transform confdefs.h into two sed scripts, `conftest.defines' and 3420# `conftest.undefs', that substitutes the proper values into 3421# config.h.in to produce config.h. The first handles `#define' 3422# templates, and the second `#undef' templates. 3423# And first: Protect against being on the right side of a sed subst in 3424# config.status. Protect against being in an unquoted here document 3425# in config.status. 3426rm -f conftest.defines conftest.undefs 3427# Using a here document instead of a string reduces the quoting nightmare. 3428# Putting comments in sed scripts is not portable. 3429# 3430# `end' is used to avoid that the second main sed command (meant for 3431# 0-ary CPP macros) applies to n-ary macro definitions. 3432# See the Autoconf documentation for `clear'. 3433cat >confdef2sed.sed <<\EOF 3434s/[\\&,]/\\&/g 3435s,[\\$`],\\&,g 3436t clear 3437: clear 3438s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 3439t end 3440s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 3441: end 3442EOF 3443# If some macros were called several times there might be several times 3444# the same #defines, which is useless. Nevertheless, we may not want to 3445# sort them, since we want the *last* AC-DEFINE to be honored. 3446uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 3447sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 3448rm -f confdef2sed.sed 3449 3450# This sed command replaces #undef with comments. This is necessary, for 3451# example, in the case of _POSIX_SOURCE, which is predefined and required 3452# on some systems where configure will not decide to define it. 3453cat >>conftest.undefs <<\EOF 3454s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 3455EOF 3456 3457# Break up conftest.defines because some shells have a limit on the size 3458# of here documents, and old seds have small limits too (100 cmds). 3459echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 3460echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 3461echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 3462echo ' :' >>$CONFIG_STATUS 3463rm -f conftest.tail 3464while grep . conftest.defines >/dev/null 3465do 3466 # Write a limited-size here document to $tmp/defines.sed. 3467 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 3468 # Speed up: don't consider the non `#define' lines. 3469 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 3470 # Work around the forget-to-reset-the-flag bug. 3471 echo 't clr' >>$CONFIG_STATUS 3472 echo ': clr' >>$CONFIG_STATUS 3473 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 3474 echo 'CEOF 3475 sed -f $tmp/defines.sed $tmp/in >$tmp/out 3476 rm -f $tmp/in 3477 mv $tmp/out $tmp/in 3478' >>$CONFIG_STATUS 3479 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 3480 rm -f conftest.defines 3481 mv conftest.tail conftest.defines 3482done 3483rm -f conftest.defines 3484echo ' fi # egrep' >>$CONFIG_STATUS 3485echo >>$CONFIG_STATUS 3486 3487# Break up conftest.undefs because some shells have a limit on the size 3488# of here documents, and old seds have small limits too (100 cmds). 3489echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 3490rm -f conftest.tail 3491while grep . conftest.undefs >/dev/null 3492do 3493 # Write a limited-size here document to $tmp/undefs.sed. 3494 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 3495 # Speed up: don't consider the non `#undef' 3496 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 3497 # Work around the forget-to-reset-the-flag bug. 3498 echo 't clr' >>$CONFIG_STATUS 3499 echo ': clr' >>$CONFIG_STATUS 3500 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 3501 echo 'CEOF 3502 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 3503 rm -f $tmp/in 3504 mv $tmp/out $tmp/in 3505' >>$CONFIG_STATUS 3506 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 3507 rm -f conftest.undefs 3508 mv conftest.tail conftest.undefs 3509done 3510rm -f conftest.undefs 3511 3512cat >>$CONFIG_STATUS <<\EOF 3513 # Let's still pretend it is `configure' which instantiates (i.e., don't 3514 # use $as_me), people would be surprised to read: 3515 # /* config.h. Generated automatically by config.status. */ 3516 if test x"$ac_file" = x-; then 3517 echo "/* Generated automatically by configure. */" >$tmp/config.h 3518 else 3519 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 3520 fi 3521 cat $tmp/in >>$tmp/config.h 3522 rm -f $tmp/in 3523 if test x"$ac_file" != x-; then 3524 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 3525 { echo "$as_me:3525: $ac_file is unchanged" >&5 3526echo "$as_me: $ac_file is unchanged" >&6;} 3527 else 3528 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3529 X"$ac_file" : 'X\(//\)[^/]' \| \ 3530 X"$ac_file" : 'X\(//\)$' \| \ 3531 X"$ac_file" : 'X\(/\)' \| \ 3532 . : '\(.\)' 2>/dev/null || 3533echo X"$ac_file" | 3534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3535 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3536 /^X\(\/\/\)$/{ s//\1/; q; } 3537 /^X\(\/\).*/{ s//\1/; q; } 3538 s/.*/./; q'` 3539 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3540 { case "$ac_dir" in 3541 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 3542 *) as_incr_dir=.;; 3543esac 3544as_dummy="$ac_dir" 3545for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 3546 case $as_mkdir_dir in 3547 # Skip DOS drivespec 3548 ?:) as_incr_dir=$as_mkdir_dir ;; 3549 *) 3550 as_incr_dir=$as_incr_dir/$as_mkdir_dir 3551 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 3552 ;; 3553 esac 3554done; } 3555 3556 fi 3557 rm -f $ac_file 3558 mv $tmp/config.h $ac_file 3559 fi 3560 else 3561 cat $tmp/config.h 3562 rm -f $tmp/config.h 3563 fi 3564done 3565EOF 3566 3567cat >>$CONFIG_STATUS <<\EOF 3568 3569{ (exit 0); exit 0; } 3570EOF 3571chmod +x $CONFIG_STATUS 3572ac_clean_files=$ac_clean_files_save 3573 3574# configure is writing to config.log, and then calls config.status. 3575# config.status does its own redirection, appending to config.log. 3576# Unfortunately, on DOS this fails, as config.log is still kept open 3577# by configure, so config.status won't be able to write to it; its 3578# output is simply discarded. So we exec the FD to /dev/null, 3579# effectively closing config.log, so it can be properly (re)opened and 3580# appended to by config.status. When coming back to configure, we 3581# need to make the FD available again. 3582if test "$no_create" != yes; then 3583 ac_cs_success=: 3584 exec 5>/dev/null 3585 $SHELL $CONFIG_STATUS || ac_cs_success=false 3586 exec 5>>config.log 3587 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3588 # would make configure fail if this is the last instruction. 3589 $ac_cs_success || { (exit 1); exit 1; } 3590fi 3591 3592