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