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