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