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