1 #! /bin/sh 2 # From configure.ac Revision: 1.30 . 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated by GNU Autoconf 2.59 for Red Hat elfutils 0.97. 5 # 6 # Report bugs to <http://bugzilla.redhat.com/bugzilla/>. 7 # 8 # Copyright (C) 2003 Free Software Foundation, Inc. 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 # 12 # Copyright (C) 1996-2003, 2004 Red Hat, Inc. 13 ## --------------------- ## 14 ## M4sh Initialization. ## 15 ## --------------------- ## 16 17 # Be Bourne compatible 18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 emulate sh 20 NULLCMD=: 21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 25 set -o posix 26 fi 27 DUALCASE=1; export DUALCASE # for MKS sh 28 29 # Support unset when possible. 30 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 31 as_unset=unset 32 else 33 as_unset=false 34 fi 35 36 37 # Work around bugs in pre-3.0 UWIN ksh. 38 $as_unset ENV MAIL MAILPATH 39 PS1='$ ' 40 PS2='> ' 41 PS4='+ ' 42 43 # NLS nuisances. 44 for as_var in \ 45 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 46 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 47 LC_TELEPHONE LC_TIME 48 do 49 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 50 eval $as_var=C; export $as_var 51 else 52 $as_unset $as_var 53 fi 54 done 55 56 # Required to use basename. 57 if expr a : '\(a\)' >/dev/null 2>&1; then 58 as_expr=expr 59 else 60 as_expr=false 61 fi 62 63 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 64 as_basename=basename 65 else 66 as_basename=false 67 fi 68 69 70 # Name of the executable. 71 as_me=`$as_basename "$0" || 72 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 73 X"$0" : 'X\(//\)$' \| \ 74 X"$0" : 'X\(/\)$' \| \ 75 . : '\(.\)' 2>/dev/null || 76 echo X/"$0" | 77 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 78 /^X\/\(\/\/\)$/{ s//\1/; q; } 79 /^X\/\(\/\).*/{ s//\1/; q; } 80 s/.*/./; q'` 81 82 83 # PATH needs CR, and LINENO needs CR and PATH. 84 # Avoid depending upon Character Ranges. 85 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 86 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 87 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 88 as_cr_digits='0123456789' 89 as_cr_alnum=$as_cr_Letters$as_cr_digits 90 91 # The user is always right. 92 if test "${PATH_SEPARATOR+set}" != set; then 93 echo "#! /bin/sh" >conf$$.sh 94 echo "exit 0" >>conf$$.sh 95 chmod +x conf$$.sh 96 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 97 PATH_SEPARATOR=';' 98 else 99 PATH_SEPARATOR=: 100 fi 101 rm -f conf$$.sh 102 fi 103 104 105 as_lineno_1=$LINENO 106 as_lineno_2=$LINENO 107 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 108 test "x$as_lineno_1" != "x$as_lineno_2" && 109 test "x$as_lineno_3" = "x$as_lineno_2" || { 110 # Find who we are. Look in the path if we contain no path at all 111 # relative or not. 112 case $0 in 113 *[\\/]* ) as_myself=$0 ;; 114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 115 for as_dir in $PATH 116 do 117 IFS=$as_save_IFS 118 test -z "$as_dir" && as_dir=. 119 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 120 done 121 122 ;; 123 esac 124 # We did not find ourselves, most probably we were run as `sh COMMAND' 125 # in which case we are not to be found in the path. 126 if test "x$as_myself" = x; then 127 as_myself=$0 128 fi 129 if test ! -f "$as_myself"; then 130 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 131 { (exit 1); exit 1; }; } 132 fi 133 case $CONFIG_SHELL in 134 '') 135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 136 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 137 do 138 IFS=$as_save_IFS 139 test -z "$as_dir" && as_dir=. 140 for as_base in sh bash ksh sh5; do 141 case $as_dir in 142 /*) 143 if ("$as_dir/$as_base" -c ' 144 as_lineno_1=$LINENO 145 as_lineno_2=$LINENO 146 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 147 test "x$as_lineno_1" != "x$as_lineno_2" && 148 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 149 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 150 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 151 CONFIG_SHELL=$as_dir/$as_base 152 export CONFIG_SHELL 153 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 154 fi;; 155 esac 156 done 157 done 158 ;; 159 esac 160 161 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 162 # uniformly replaced by the line number. The first 'sed' inserts a 163 # line-number line before each line; the second 'sed' does the real 164 # work. The second script uses 'N' to pair each line-number line 165 # with the numbered line, and appends trailing '-' during 166 # substitution so that $LINENO is not a special case at line end. 167 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 168 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 169 sed '=' <$as_myself | 170 sed ' 171 N 172 s,$,-, 173 : loop 174 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 175 t loop 176 s,-$,, 177 s,^['$as_cr_digits']*\n,, 178 ' >$as_me.lineno && 179 chmod +x $as_me.lineno || 180 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 181 { (exit 1); exit 1; }; } 182 183 # Don't try to exec as it changes $[0], causing all sort of problems 184 # (the dirname of $[0] is not the place where we might find the 185 # original and so on. Autoconf is especially sensible to this). 186 . ./$as_me.lineno 187 # Exit status is that of the last command. 188 exit 189 } 190 191 192 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 193 *c*,-n*) ECHO_N= ECHO_C=' 194 ' ECHO_T=' ' ;; 195 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 196 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 197 esac 198 199 if expr a : '\(a\)' >/dev/null 2>&1; then 200 as_expr=expr 201 else 202 as_expr=false 203 fi 204 205 rm -f conf$$ conf$$.exe conf$$.file 206 echo >conf$$.file 207 if ln -s conf$$.file conf$$ 2>/dev/null; then 208 # We could just check for DJGPP; but this test a) works b) is more generic 209 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 210 if test -f conf$$.exe; then 211 # Don't use ln at all; we don't have any links 212 as_ln_s='cp -p' 213 else 214 as_ln_s='ln -s' 215 fi 216 elif ln conf$$.file conf$$ 2>/dev/null; then 217 as_ln_s=ln 218 else 219 as_ln_s='cp -p' 220 fi 221 rm -f conf$$ conf$$.exe conf$$.file 222 223 if mkdir -p . 2>/dev/null; then 224 as_mkdir_p=: 225 else 226 test -d ./-p && rmdir ./-p 227 as_mkdir_p=false 228 fi 229 230 as_executable_p="test -f" 231 232 # Sed expression to map a string onto a valid CPP name. 233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 234 235 # Sed expression to map a string onto a valid variable name. 236 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 237 238 239 # IFS 240 # We need space, tab and new line, in precisely that order. 241 as_nl=' 242 ' 243 IFS=" $as_nl" 244 245 # CDPATH. 246 $as_unset CDPATH 247 248 249 # Name of the host. 250 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 251 # so uname gets run too. 252 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 253 254 exec 6>&1 255 256 # 257 # Initializations. 258 # 259 ac_default_prefix=/usr/local 260 ac_config_libobj_dir=. 261 cross_compiling=no 262 subdirs= 263 MFLAGS= 264 MAKEFLAGS= 265 SHELL=${CONFIG_SHELL-/bin/sh} 266 267 # Maximum number of lines to put in a shell here document. 268 # This variable seems obsolete. It should probably be removed, and 269 # only ac_max_sed_lines should be used. 270 : ${ac_max_here_lines=38} 271 272 # Identity of this package. 273 PACKAGE_NAME='Red Hat elfutils' 274 PACKAGE_TARNAME='elfutils' 275 PACKAGE_VERSION='0.97' 276 PACKAGE_STRING='Red Hat elfutils 0.97' 277 PACKAGE_BUGREPORT='http://bugzilla.redhat.com/bugzilla/' 278 279 ac_unique_file="libelf/libelf.h" 280 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT LOCALEDIR DATADIRNAME NATIVE_LD_TRUE NATIVE_LD_FALSE base_cpu MUDFLAP_TRUE MUDFLAP_FALSE LIBOBJS LTLIBOBJS' 281 ac_subst_files='' 282 283 # Initialize some variables set by options. 284 ac_init_help= 285 ac_init_version=false 286 # The variables have the same names as the options, with 287 # dashes changed to underlines. 288 cache_file=/dev/null 289 exec_prefix=NONE 290 no_create= 291 no_recursion= 292 prefix=NONE 293 program_prefix=NONE 294 program_suffix=NONE 295 program_transform_name=s,x,x, 296 silent= 297 site= 298 srcdir= 299 verbose= 300 x_includes=NONE 301 x_libraries=NONE 302 303 # Installation directory options. 304 # These are left unexpanded so users can "make install exec_prefix=/foo" 305 # and all the variables that are supposed to be based on exec_prefix 306 # by default will actually change. 307 # Use braces instead of parens because sh, perl, etc. also accept them. 308 bindir='${exec_prefix}/bin' 309 sbindir='${exec_prefix}/sbin' 310 libexecdir='${exec_prefix}/libexec' 311 datadir='${prefix}/share' 312 sysconfdir='${prefix}/etc' 313 sharedstatedir='${prefix}/com' 314 localstatedir='${prefix}/var' 315 libdir='${exec_prefix}/lib' 316 includedir='${prefix}/include' 317 oldincludedir='/usr/include' 318 infodir='${prefix}/info' 319 mandir='${prefix}/man' 320 321 ac_prev= 322 for ac_option 323 do 324 # If the previous option needs an argument, assign it. 325 if test -n "$ac_prev"; then 326 eval "$ac_prev=\$ac_option" 327 ac_prev= 328 continue 329 fi 330 331 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 332 333 # Accept the important Cygnus configure options, so we can diagnose typos. 334 335 case $ac_option in 336 337 -bindir | --bindir | --bindi | --bind | --bin | --bi) 338 ac_prev=bindir ;; 339 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 340 bindir=$ac_optarg ;; 341 342 -build | --build | --buil | --bui | --bu) 343 ac_prev=build_alias ;; 344 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 345 build_alias=$ac_optarg ;; 346 347 -cache-file | --cache-file | --cache-fil | --cache-fi \ 348 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 349 ac_prev=cache_file ;; 350 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 351 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 352 cache_file=$ac_optarg ;; 353 354 --config-cache | -C) 355 cache_file=config.cache ;; 356 357 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 358 ac_prev=datadir ;; 359 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 360 | --da=*) 361 datadir=$ac_optarg ;; 362 363 -disable-* | --disable-*) 364 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 365 # Reject names that are not valid shell variable names. 366 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 367 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 368 { (exit 1); exit 1; }; } 369 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 370 eval "enable_$ac_feature=no" ;; 371 372 -enable-* | --enable-*) 373 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 374 # Reject names that are not valid shell variable names. 375 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 376 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 377 { (exit 1); exit 1; }; } 378 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 379 case $ac_option in 380 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 381 *) ac_optarg=yes ;; 382 esac 383 eval "enable_$ac_feature='$ac_optarg'" ;; 384 385 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 386 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 387 | --exec | --exe | --ex) 388 ac_prev=exec_prefix ;; 389 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 390 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 391 | --exec=* | --exe=* | --ex=*) 392 exec_prefix=$ac_optarg ;; 393 394 -gas | --gas | --ga | --g) 395 # Obsolete; use --with-gas. 396 with_gas=yes ;; 397 398 -help | --help | --hel | --he | -h) 399 ac_init_help=long ;; 400 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 401 ac_init_help=recursive ;; 402 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 403 ac_init_help=short ;; 404 405 -host | --host | --hos | --ho) 406 ac_prev=host_alias ;; 407 -host=* | --host=* | --hos=* | --ho=*) 408 host_alias=$ac_optarg ;; 409 410 -includedir | --includedir | --includedi | --included | --include \ 411 | --includ | --inclu | --incl | --inc) 412 ac_prev=includedir ;; 413 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 414 | --includ=* | --inclu=* | --incl=* | --inc=*) 415 includedir=$ac_optarg ;; 416 417 -infodir | --infodir | --infodi | --infod | --info | --inf) 418 ac_prev=infodir ;; 419 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 420 infodir=$ac_optarg ;; 421 422 -libdir | --libdir | --libdi | --libd) 423 ac_prev=libdir ;; 424 -libdir=* | --libdir=* | --libdi=* | --libd=*) 425 libdir=$ac_optarg ;; 426 427 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 428 | --libexe | --libex | --libe) 429 ac_prev=libexecdir ;; 430 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 431 | --libexe=* | --libex=* | --libe=*) 432 libexecdir=$ac_optarg ;; 433 434 -localstatedir | --localstatedir | --localstatedi | --localstated \ 435 | --localstate | --localstat | --localsta | --localst \ 436 | --locals | --local | --loca | --loc | --lo) 437 ac_prev=localstatedir ;; 438 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 439 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 440 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 441 localstatedir=$ac_optarg ;; 442 443 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 444 ac_prev=mandir ;; 445 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 446 mandir=$ac_optarg ;; 447 448 -nfp | --nfp | --nf) 449 # Obsolete; use --without-fp. 450 with_fp=no ;; 451 452 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 453 | --no-cr | --no-c | -n) 454 no_create=yes ;; 455 456 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 457 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 458 no_recursion=yes ;; 459 460 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 461 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 462 | --oldin | --oldi | --old | --ol | --o) 463 ac_prev=oldincludedir ;; 464 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 465 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 466 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 467 oldincludedir=$ac_optarg ;; 468 469 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 470 ac_prev=prefix ;; 471 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 472 prefix=$ac_optarg ;; 473 474 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 475 | --program-pre | --program-pr | --program-p) 476 ac_prev=program_prefix ;; 477 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 478 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 479 program_prefix=$ac_optarg ;; 480 481 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 482 | --program-suf | --program-su | --program-s) 483 ac_prev=program_suffix ;; 484 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 485 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 486 program_suffix=$ac_optarg ;; 487 488 -program-transform-name | --program-transform-name \ 489 | --program-transform-nam | --program-transform-na \ 490 | --program-transform-n | --program-transform- \ 491 | --program-transform | --program-transfor \ 492 | --program-transfo | --program-transf \ 493 | --program-trans | --program-tran \ 494 | --progr-tra | --program-tr | --program-t) 495 ac_prev=program_transform_name ;; 496 -program-transform-name=* | --program-transform-name=* \ 497 | --program-transform-nam=* | --program-transform-na=* \ 498 | --program-transform-n=* | --program-transform-=* \ 499 | --program-transform=* | --program-transfor=* \ 500 | --program-transfo=* | --program-transf=* \ 501 | --program-trans=* | --program-tran=* \ 502 | --progr-tra=* | --program-tr=* | --program-t=*) 503 program_transform_name=$ac_optarg ;; 504 505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 506 | -silent | --silent | --silen | --sile | --sil) 507 silent=yes ;; 508 509 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 510 ac_prev=sbindir ;; 511 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 512 | --sbi=* | --sb=*) 513 sbindir=$ac_optarg ;; 514 515 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 516 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 517 | --sharedst | --shareds | --shared | --share | --shar \ 518 | --sha | --sh) 519 ac_prev=sharedstatedir ;; 520 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 521 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 522 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 523 | --sha=* | --sh=*) 524 sharedstatedir=$ac_optarg ;; 525 526 -site | --site | --sit) 527 ac_prev=site ;; 528 -site=* | --site=* | --sit=*) 529 site=$ac_optarg ;; 530 531 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 532 ac_prev=srcdir ;; 533 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 534 srcdir=$ac_optarg ;; 535 536 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 537 | --syscon | --sysco | --sysc | --sys | --sy) 538 ac_prev=sysconfdir ;; 539 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 540 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 541 sysconfdir=$ac_optarg ;; 542 543 -target | --target | --targe | --targ | --tar | --ta | --t) 544 ac_prev=target_alias ;; 545 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 546 target_alias=$ac_optarg ;; 547 548 -v | -verbose | --verbose | --verbos | --verbo | --verb) 549 verbose=yes ;; 550 551 -version | --version | --versio | --versi | --vers | -V) 552 ac_init_version=: ;; 553 554 -with-* | --with-*) 555 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 556 # Reject names that are not valid shell variable names. 557 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 558 { echo "$as_me: error: invalid package name: $ac_package" >&2 559 { (exit 1); exit 1; }; } 560 ac_package=`echo $ac_package| sed 's/-/_/g'` 561 case $ac_option in 562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 563 *) ac_optarg=yes ;; 564 esac 565 eval "with_$ac_package='$ac_optarg'" ;; 566 567 -without-* | --without-*) 568 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 569 # Reject names that are not valid shell variable names. 570 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 571 { echo "$as_me: error: invalid package name: $ac_package" >&2 572 { (exit 1); exit 1; }; } 573 ac_package=`echo $ac_package | sed 's/-/_/g'` 574 eval "with_$ac_package=no" ;; 575 576 --x) 577 # Obsolete; use --with-x. 578 with_x=yes ;; 579 580 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 581 | --x-incl | --x-inc | --x-in | --x-i) 582 ac_prev=x_includes ;; 583 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 584 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 585 x_includes=$ac_optarg ;; 586 587 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 588 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 589 ac_prev=x_libraries ;; 590 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 591 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 592 x_libraries=$ac_optarg ;; 593 594 -*) { echo "$as_me: error: unrecognized option: $ac_option 595 Try \`$0 --help' for more information." >&2 596 { (exit 1); exit 1; }; } 597 ;; 598 599 *=*) 600 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 601 # Reject names that are not valid shell variable names. 602 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 604 { (exit 1); exit 1; }; } 605 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 606 eval "$ac_envvar='$ac_optarg'" 607 export $ac_envvar ;; 608 609 *) 610 # FIXME: should be removed in autoconf 3.0. 611 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 612 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 613 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 614 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 615 ;; 616 617 esac 618 done 619 620 if test -n "$ac_prev"; then 621 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 622 { echo "$as_me: error: missing argument to $ac_option" >&2 623 { (exit 1); exit 1; }; } 624 fi 625 626 # Be sure to have absolute paths. 627 for ac_var in exec_prefix prefix 628 do 629 eval ac_val=$`echo $ac_var` 630 case $ac_val in 631 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 632 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 633 { (exit 1); exit 1; }; };; 634 esac 635 done 636 637 # Be sure to have absolute paths. 638 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 639 localstatedir libdir includedir oldincludedir infodir mandir 640 do 641 eval ac_val=$`echo $ac_var` 642 case $ac_val in 643 [\\/$]* | ?:[\\/]* ) ;; 644 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 645 { (exit 1); exit 1; }; };; 646 esac 647 done 648 649 # There might be people who depend on the old broken behavior: `$host' 650 # used to hold the argument of --host etc. 651 # FIXME: To remove some day. 652 build=$build_alias 653 host=$host_alias 654 target=$target_alias 655 656 # FIXME: To remove some day. 657 if test "x$host_alias" != x; then 658 if test "x$build_alias" = x; then 659 cross_compiling=maybe 660 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 661 If a cross compiler is detected then cross compile mode will be used." >&2 662 elif test "x$build_alias" != "x$host_alias"; then 663 cross_compiling=yes 664 fi 665 fi 666 667 ac_tool_prefix= 668 test -n "$host_alias" && ac_tool_prefix=$host_alias- 669 670 test "$silent" = yes && exec 6>/dev/null 671 672 673 # Find the source files, if location was not specified. 674 if test -z "$srcdir"; then 675 ac_srcdir_defaulted=yes 676 # Try the directory containing this script, then its parent. 677 ac_confdir=`(dirname "$0") 2>/dev/null || 678 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 679 X"$0" : 'X\(//\)[^/]' \| \ 680 X"$0" : 'X\(//\)$' \| \ 681 X"$0" : 'X\(/\)' \| \ 682 . : '\(.\)' 2>/dev/null || 683 echo X"$0" | 684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 685 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 686 /^X\(\/\/\)$/{ s//\1/; q; } 687 /^X\(\/\).*/{ s//\1/; q; } 688 s/.*/./; q'` 689 srcdir=$ac_confdir 690 if test ! -r $srcdir/$ac_unique_file; then 691 srcdir=.. 692 fi 693 else 694 ac_srcdir_defaulted=no 695 fi 696 if test ! -r $srcdir/$ac_unique_file; then 697 if test "$ac_srcdir_defaulted" = yes; then 698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 699 { (exit 1); exit 1; }; } 700 else 701 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 702 { (exit 1); exit 1; }; } 703 fi 704 fi 705 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 706 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 707 { (exit 1); exit 1; }; } 708 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 709 ac_env_build_alias_set=${build_alias+set} 710 ac_env_build_alias_value=$build_alias 711 ac_cv_env_build_alias_set=${build_alias+set} 712 ac_cv_env_build_alias_value=$build_alias 713 ac_env_host_alias_set=${host_alias+set} 714 ac_env_host_alias_value=$host_alias 715 ac_cv_env_host_alias_set=${host_alias+set} 716 ac_cv_env_host_alias_value=$host_alias 717 ac_env_target_alias_set=${target_alias+set} 718 ac_env_target_alias_value=$target_alias 719 ac_cv_env_target_alias_set=${target_alias+set} 720 ac_cv_env_target_alias_value=$target_alias 721 ac_env_CC_set=${CC+set} 722 ac_env_CC_value=$CC 723 ac_cv_env_CC_set=${CC+set} 724 ac_cv_env_CC_value=$CC 725 ac_env_CFLAGS_set=${CFLAGS+set} 726 ac_env_CFLAGS_value=$CFLAGS 727 ac_cv_env_CFLAGS_set=${CFLAGS+set} 728 ac_cv_env_CFLAGS_value=$CFLAGS 729 ac_env_LDFLAGS_set=${LDFLAGS+set} 730 ac_env_LDFLAGS_value=$LDFLAGS 731 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 732 ac_cv_env_LDFLAGS_value=$LDFLAGS 733 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 734 ac_env_CPPFLAGS_value=$CPPFLAGS 735 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 736 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 737 ac_env_CPP_set=${CPP+set} 738 ac_env_CPP_value=$CPP 739 ac_cv_env_CPP_set=${CPP+set} 740 ac_cv_env_CPP_value=$CPP 741 742 # 743 # Report the --help message. 744 # 745 if test "$ac_init_help" = "long"; then 746 # Omit some internal or obsolete options to make the list less imposing. 747 # This message is too long to be a string in the A/UX 3.1 sh. 748 cat <<_ACEOF 749 \`configure' configures Red Hat elfutils 0.97 to adapt to many kinds of systems. 750 751 Usage: $0 [OPTION]... [VAR=VALUE]... 752 753 To assign environment variables (e.g., CC, CFLAGS...), specify them as 754 VAR=VALUE. See below for descriptions of some of the useful variables. 755 756 Defaults for the options are specified in brackets. 757 758 Configuration: 759 -h, --help display this help and exit 760 --help=short display options specific to this package 761 --help=recursive display the short help of all the included packages 762 -V, --version display version information and exit 763 -q, --quiet, --silent do not print \`checking...' messages 764 --cache-file=FILE cache test results in FILE [disabled] 765 -C, --config-cache alias for \`--cache-file=config.cache' 766 -n, --no-create do not create output files 767 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 768 769 _ACEOF 770 771 cat <<_ACEOF 772 Installation directories: 773 --prefix=PREFIX install architecture-independent files in PREFIX 774 [$ac_default_prefix] 775 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 776 [PREFIX] 777 778 By default, \`make install' will install all the files in 779 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 780 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 781 for instance \`--prefix=\$HOME'. 782 783 For better control, use the options below. 784 785 Fine tuning of the installation directories: 786 --bindir=DIR user executables [EPREFIX/bin] 787 --sbindir=DIR system admin executables [EPREFIX/sbin] 788 --libexecdir=DIR program executables [EPREFIX/libexec] 789 --datadir=DIR read-only architecture-independent data [PREFIX/share] 790 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 791 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 792 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 793 --libdir=DIR object code libraries [EPREFIX/lib] 794 --includedir=DIR C header files [PREFIX/include] 795 --oldincludedir=DIR C header files for non-gcc [/usr/include] 796 --infodir=DIR info documentation [PREFIX/info] 797 --mandir=DIR man documentation [PREFIX/man] 798 _ACEOF 799 800 cat <<\_ACEOF 801 802 Program names: 803 --program-prefix=PREFIX prepend PREFIX to installed program names 804 --program-suffix=SUFFIX append SUFFIX to installed program names 805 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 806 807 System types: 808 --build=BUILD configure for building on BUILD [guessed] 809 --host=HOST cross-compile to build programs to run on HOST [BUILD] 810 _ACEOF 811 fi 812 813 if test -n "$ac_init_help"; then 814 case $ac_init_help in 815 short | recursive ) echo "Configuration of Red Hat elfutils 0.97:";; 816 esac 817 cat <<\_ACEOF 818 819 Optional Features: 820 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 821 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 822 --enable-tls enable use of thread local storage 823 --disable-dependency-tracking speeds up one-time build 824 --enable-dependency-tracking do not reject slow dependency extractors 825 --disable-nls do not use Native Language Support 826 --disable-largefile omit support for large files 827 --disable-generic do not build generic linker 828 --enable-mudflap build binaries with mudflap instrumentation 829 830 Optional Packages: 831 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 832 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 833 --with-gnu-ld assume the C compiler uses GNU ld default=no 834 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib 835 --without-libiconv-prefix don't search for libiconv in includedir and libdir 836 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib 837 --without-libintl-prefix don't search for libintl in includedir and libdir 838 839 Some influential environment variables: 840 CC C compiler command 841 CFLAGS C compiler flags 842 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 843 nonstandard directory <lib dir> 844 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 845 headers in a nonstandard directory <include dir> 846 CPP C preprocessor 847 848 Use these variables to override the choices made by `configure' or to help 849 it to find libraries and programs with nonstandard names/locations. 850 851 Report bugs to <http://bugzilla.redhat.com/bugzilla/>. 852 _ACEOF 853 fi 854 855 if test "$ac_init_help" = "recursive"; then 856 # If there are subdirs, report their specific --help. 857 ac_popdir=`pwd` 858 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 859 test -d $ac_dir || continue 860 ac_builddir=. 861 862 if test "$ac_dir" != .; then 863 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 864 # A "../" for each directory in $ac_dir_suffix. 865 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 866 else 867 ac_dir_suffix= ac_top_builddir= 868 fi 869 870 case $srcdir in 871 .) # No --srcdir option. We are building in place. 872 ac_srcdir=. 873 if test -z "$ac_top_builddir"; then 874 ac_top_srcdir=. 875 else 876 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 877 fi ;; 878 [\\/]* | ?:[\\/]* ) # Absolute path. 879 ac_srcdir=$srcdir$ac_dir_suffix; 880 ac_top_srcdir=$srcdir ;; 881 *) # Relative path. 882 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 883 ac_top_srcdir=$ac_top_builddir$srcdir ;; 884 esac 885 886 # Do not use `cd foo && pwd` to compute absolute paths, because 887 # the directories may not exist. 888 case `pwd` in 889 .) ac_abs_builddir="$ac_dir";; 890 *) 891 case "$ac_dir" in 892 .) ac_abs_builddir=`pwd`;; 893 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 894 *) ac_abs_builddir=`pwd`/"$ac_dir";; 895 esac;; 896 esac 897 case $ac_abs_builddir in 898 .) ac_abs_top_builddir=${ac_top_builddir}.;; 899 *) 900 case ${ac_top_builddir}. in 901 .) ac_abs_top_builddir=$ac_abs_builddir;; 902 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 903 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 904 esac;; 905 esac 906 case $ac_abs_builddir in 907 .) ac_abs_srcdir=$ac_srcdir;; 908 *) 909 case $ac_srcdir in 910 .) ac_abs_srcdir=$ac_abs_builddir;; 911 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 912 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 913 esac;; 914 esac 915 case $ac_abs_builddir in 916 .) ac_abs_top_srcdir=$ac_top_srcdir;; 917 *) 918 case $ac_top_srcdir in 919 .) ac_abs_top_srcdir=$ac_abs_builddir;; 920 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 921 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 922 esac;; 923 esac 924 925 cd $ac_dir 926 # Check for guested configure; otherwise get Cygnus style configure. 927 if test -f $ac_srcdir/configure.gnu; then 928 echo 929 $SHELL $ac_srcdir/configure.gnu --help=recursive 930 elif test -f $ac_srcdir/configure; then 931 echo 932 $SHELL $ac_srcdir/configure --help=recursive 933 elif test -f $ac_srcdir/configure.ac || 934 test -f $ac_srcdir/configure.in; then 935 echo 936 $ac_configure --help 937 else 938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 939 fi 940 cd "$ac_popdir" 941 done 942 fi 943 944 test -n "$ac_init_help" && exit 0 945 if $ac_init_version; then 946 cat <<\_ACEOF 947 Red Hat elfutils configure 0.97 948 generated by GNU Autoconf 2.59 949 950 Copyright (C) 2003 Free Software Foundation, Inc. 951 This configure script is free software; the Free Software Foundation 952 gives unlimited permission to copy, distribute and modify it. 953 954 Copyright (C) 1996-2003, 2004 Red Hat, Inc. 955 _ACEOF 956 exit 0 957 fi 958 exec 5>config.log 959 cat >&5 <<_ACEOF 960 This file contains any messages produced by compilers while 961 running configure, to aid debugging if configure makes a mistake. 962 963 It was created by Red Hat elfutils $as_me 0.97, which was 964 generated by GNU Autoconf 2.59. Invocation command line was 965 966 $ $0 $@ 967 968 _ACEOF 969 { 970 cat <<_ASUNAME 971 ## --------- ## 972 ## Platform. ## 973 ## --------- ## 974 975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 976 uname -m = `(uname -m) 2>/dev/null || echo unknown` 977 uname -r = `(uname -r) 2>/dev/null || echo unknown` 978 uname -s = `(uname -s) 2>/dev/null || echo unknown` 979 uname -v = `(uname -v) 2>/dev/null || echo unknown` 980 981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 982 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 983 984 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 985 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 987 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 988 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 989 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 990 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 991 992 _ASUNAME 993 994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 995 for as_dir in $PATH 996 do 997 IFS=$as_save_IFS 998 test -z "$as_dir" && as_dir=. 999 echo "PATH: $as_dir" 1000 done 1001 1002 } >&5 1003 1004 cat >&5 <<_ACEOF 1005 1006 1007 ## ----------- ## 1008 ## Core tests. ## 1009 ## ----------- ## 1010 1011 _ACEOF 1012 1013 1014 # Keep a trace of the command line. 1015 # Strip out --no-create and --no-recursion so they do not pile up. 1016 # Strip out --silent because we don't want to record it for future runs. 1017 # Also quote any args containing shell meta-characters. 1018 # Make two passes to allow for proper duplicate-argument suppression. 1019 ac_configure_args= 1020 ac_configure_args0= 1021 ac_configure_args1= 1022 ac_sep= 1023 ac_must_keep_next=false 1024 for ac_pass in 1 2 1025 do 1026 for ac_arg 1027 do 1028 case $ac_arg in 1029 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1031 | -silent | --silent | --silen | --sile | --sil) 1032 continue ;; 1033 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1034 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1035 esac 1036 case $ac_pass in 1037 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1038 2) 1039 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1040 if test $ac_must_keep_next = true; then 1041 ac_must_keep_next=false # Got value, back to normal. 1042 else 1043 case $ac_arg in 1044 *=* | --config-cache | -C | -disable-* | --disable-* \ 1045 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1046 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1047 | -with-* | --with-* | -without-* | --without-* | --x) 1048 case "$ac_configure_args0 " in 1049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1050 esac 1051 ;; 1052 -* ) ac_must_keep_next=true ;; 1053 esac 1054 fi 1055 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1056 # Get rid of the leading space. 1057 ac_sep=" " 1058 ;; 1059 esac 1060 done 1061 done 1062 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1063 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1064 1065 # When interrupted or exit'd, cleanup temporary files, and complete 1066 # config.log. We remove comments because anyway the quotes in there 1067 # would cause problems or look ugly. 1068 # WARNING: Be sure not to use single quotes in there, as some shells, 1069 # such as our DU 5.0 friend, will then `close' the trap. 1070 trap 'exit_status=$? 1071 # Save into config.log some information that might help in debugging. 1072 { 1073 echo 1074 1075 cat <<\_ASBOX 1076 ## ---------------- ## 1077 ## Cache variables. ## 1078 ## ---------------- ## 1079 _ASBOX 1080 echo 1081 # The following way of writing the cache mishandles newlines in values, 1082 { 1083 (set) 2>&1 | 1084 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1085 *ac_space=\ *) 1086 sed -n \ 1087 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1089 ;; 1090 *) 1091 sed -n \ 1092 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1093 ;; 1094 esac; 1095 } 1096 echo 1097 1098 cat <<\_ASBOX 1099 ## ----------------- ## 1100 ## Output variables. ## 1101 ## ----------------- ## 1102 _ASBOX 1103 echo 1104 for ac_var in $ac_subst_vars 1105 do 1106 eval ac_val=$`echo $ac_var` 1107 echo "$ac_var='"'"'$ac_val'"'"'" 1108 done | sort 1109 echo 1110 1111 if test -n "$ac_subst_files"; then 1112 cat <<\_ASBOX 1113 ## ------------- ## 1114 ## Output files. ## 1115 ## ------------- ## 1116 _ASBOX 1117 echo 1118 for ac_var in $ac_subst_files 1119 do 1120 eval ac_val=$`echo $ac_var` 1121 echo "$ac_var='"'"'$ac_val'"'"'" 1122 done | sort 1123 echo 1124 fi 1125 1126 if test -s confdefs.h; then 1127 cat <<\_ASBOX 1128 ## ----------- ## 1129 ## confdefs.h. ## 1130 ## ----------- ## 1131 _ASBOX 1132 echo 1133 sed "/^$/d" confdefs.h | sort 1134 echo 1135 fi 1136 test "$ac_signal" != 0 && 1137 echo "$as_me: caught signal $ac_signal" 1138 echo "$as_me: exit $exit_status" 1139 } >&5 1140 rm -f core *.core && 1141 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1142 exit $exit_status 1143 ' 0 1144 for ac_signal in 1 2 13 15; do 1145 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1146 done 1147 ac_signal=0 1148 1149 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1150 rm -rf conftest* confdefs.h 1151 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1152 echo >confdefs.h 1153 1154 # Predefined preprocessor variables. 1155 1156 cat >>confdefs.h <<_ACEOF 1157 #define PACKAGE_NAME "$PACKAGE_NAME" 1158 _ACEOF 1159 1160 1161 cat >>confdefs.h <<_ACEOF 1162 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1163 _ACEOF 1164 1165 1166 cat >>confdefs.h <<_ACEOF 1167 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1168 _ACEOF 1169 1170 1171 cat >>confdefs.h <<_ACEOF 1172 #define PACKAGE_STRING "$PACKAGE_STRING" 1173 _ACEOF 1174 1175 1176 cat >>confdefs.h <<_ACEOF 1177 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1178 _ACEOF 1179 1180 1181 # Let the site file select an alternate cache file if it wants to. 1182 # Prefer explicitly selected file to automatically selected ones. 1183 if test -z "$CONFIG_SITE"; then 1184 if test "x$prefix" != xNONE; then 1185 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1186 else 1187 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1188 fi 1189 fi 1190 for ac_site_file in $CONFIG_SITE; do 1191 if test -r "$ac_site_file"; then 1192 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1193 echo "$as_me: loading site script $ac_site_file" >&6;} 1194 sed 's/^/| /' "$ac_site_file" >&5 1195 . "$ac_site_file" 1196 fi 1197 done 1198 1199 if test -r "$cache_file"; then 1200 # Some versions of bash will fail to source /dev/null (special 1201 # files actually), so we avoid doing that. 1202 if test -f "$cache_file"; then 1203 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1204 echo "$as_me: loading cache $cache_file" >&6;} 1205 case $cache_file in 1206 [\\/]* | ?:[\\/]* ) . $cache_file;; 1207 *) . ./$cache_file;; 1208 esac 1209 fi 1210 else 1211 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1212 echo "$as_me: creating cache $cache_file" >&6;} 1213 >$cache_file 1214 fi 1215 1216 # Check that the precious variables saved in the cache have kept the same 1217 # value. 1218 ac_cache_corrupted=false 1219 for ac_var in `(set) 2>&1 | 1220 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1221 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1222 eval ac_new_set=\$ac_env_${ac_var}_set 1223 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1224 eval ac_new_val="\$ac_env_${ac_var}_value" 1225 case $ac_old_set,$ac_new_set in 1226 set,) 1227 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1228 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1229 ac_cache_corrupted=: ;; 1230 ,set) 1231 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1232 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1233 ac_cache_corrupted=: ;; 1234 ,);; 1235 *) 1236 if test "x$ac_old_val" != "x$ac_new_val"; then 1237 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1238 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1239 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1240 echo "$as_me: former value: $ac_old_val" >&2;} 1241 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1242 echo "$as_me: current value: $ac_new_val" >&2;} 1243 ac_cache_corrupted=: 1244 fi;; 1245 esac 1246 # Pass precious variables to config.status. 1247 if test "$ac_new_set" = set; then 1248 case $ac_new_val in 1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1250 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1251 *) ac_arg=$ac_var=$ac_new_val ;; 1252 esac 1253 case " $ac_configure_args " in 1254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1255 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1256 esac 1257 fi 1258 done 1259 if $ac_cache_corrupted; then 1260 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1261 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1262 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1263 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1264 { (exit 1); exit 1; }; } 1265 fi 1266 1267 ac_ext=c 1268 ac_cpp='$CPP $CPPFLAGS' 1269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1271 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 ac_aux_dir= 1301 for ac_dir in config $srcdir/config; do 1302 if test -f $ac_dir/install-sh; then 1303 ac_aux_dir=$ac_dir 1304 ac_install_sh="$ac_aux_dir/install-sh -c" 1305 break 1306 elif test -f $ac_dir/install.sh; then 1307 ac_aux_dir=$ac_dir 1308 ac_install_sh="$ac_aux_dir/install.sh -c" 1309 break 1310 elif test -f $ac_dir/shtool; then 1311 ac_aux_dir=$ac_dir 1312 ac_install_sh="$ac_aux_dir/shtool install -c" 1313 break 1314 fi 1315 done 1316 if test -z "$ac_aux_dir"; then 1317 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5 1318 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;} 1319 { (exit 1); exit 1; }; } 1320 fi 1321 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1322 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1323 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1324 1325 ac_config_files="$ac_config_files config/Makefile" 1326 1327 1328 1329 1330 1331 am__api_version="1.9" 1332 # Find a good install program. We prefer a C program (faster), 1333 # so one script is as good as another. But avoid the broken or 1334 # incompatible versions: 1335 # SysV /etc/install, /usr/sbin/install 1336 # SunOS /usr/etc/install 1337 # IRIX /sbin/install 1338 # AIX /bin/install 1339 # AmigaOS /C/install, which installs bootblocks on floppy discs 1340 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1341 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1342 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1343 # OS/2's system install, which has a completely different semantic 1344 # ./install, which can be erroneously created by make from ./install.sh. 1345 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1346 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1347 if test -z "$INSTALL"; then 1348 if test "${ac_cv_path_install+set}" = set; then 1349 echo $ECHO_N "(cached) $ECHO_C" >&6 1350 else 1351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1352 for as_dir in $PATH 1353 do 1354 IFS=$as_save_IFS 1355 test -z "$as_dir" && as_dir=. 1356 # Account for people who put trailing slashes in PATH elements. 1357 case $as_dir/ in 1358 ./ | .// | /cC/* | \ 1359 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1360 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1361 /usr/ucb/* ) ;; 1362 *) 1363 # OSF1 and SCO ODT 3.0 have their own names for install. 1364 # Don't use installbsd from OSF since it installs stuff as root 1365 # by default. 1366 for ac_prog in ginstall scoinst install; do 1367 for ac_exec_ext in '' $ac_executable_extensions; do 1368 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1369 if test $ac_prog = install && 1370 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1371 # AIX install. It has an incompatible calling convention. 1372 : 1373 elif test $ac_prog = install && 1374 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1375 # program-specific install script used by HP pwplus--don't use. 1376 : 1377 else 1378 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1379 break 3 1380 fi 1381 fi 1382 done 1383 done 1384 ;; 1385 esac 1386 done 1387 1388 1389 fi 1390 if test "${ac_cv_path_install+set}" = set; then 1391 INSTALL=$ac_cv_path_install 1392 else 1393 # As a last resort, use the slow shell script. We don't cache a 1394 # path for INSTALL within a source directory, because that will 1395 # break other packages using the cache if that directory is 1396 # removed, or if the path is relative. 1397 INSTALL=$ac_install_sh 1398 fi 1399 fi 1400 echo "$as_me:$LINENO: result: $INSTALL" >&5 1401 echo "${ECHO_T}$INSTALL" >&6 1402 1403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1404 # It thinks the first close brace ends the variable substitution. 1405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1406 1407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1408 1409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1410 1411 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1412 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1413 # Just in case 1414 sleep 1 1415 echo timestamp > conftest.file 1416 # Do `set' in a subshell so we don't clobber the current shell's 1417 # arguments. Must try -L first in case configure is actually a 1418 # symlink; some systems play weird games with the mod time of symlinks 1419 # (eg FreeBSD returns the mod time of the symlink's containing 1420 # directory). 1421 if ( 1422 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1423 if test "$*" = "X"; then 1424 # -L didn't work. 1425 set X `ls -t $srcdir/configure conftest.file` 1426 fi 1427 rm -f conftest.file 1428 if test "$*" != "X $srcdir/configure conftest.file" \ 1429 && test "$*" != "X conftest.file $srcdir/configure"; then 1430 1431 # If neither matched, then we have a broken ls. This can happen 1432 # if, for instance, CONFIG_SHELL is bash and it inherits a 1433 # broken ls alias from the environment. This has actually 1434 # happened. Such a system could not be considered "sane". 1435 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1436 alias in your environment" >&5 1437 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1438 alias in your environment" >&2;} 1439 { (exit 1); exit 1; }; } 1440 fi 1441 1442 test "$2" = conftest.file 1443 ) 1444 then 1445 # Ok. 1446 : 1447 else 1448 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1449 Check your system clock" >&5 1450 echo "$as_me: error: newly created file is older than distributed files! 1451 Check your system clock" >&2;} 1452 { (exit 1); exit 1; }; } 1453 fi 1454 echo "$as_me:$LINENO: result: yes" >&5 1455 echo "${ECHO_T}yes" >&6 1456 test "$program_prefix" != NONE && 1457 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1458 # Use a double $ so make ignores it. 1459 test "$program_suffix" != NONE && 1460 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1461 # Double any \ or $. echo might interpret backslashes. 1462 # By default was `s,x,x', remove it if useless. 1463 cat <<\_ACEOF >conftest.sed 1464 s/[\\$]/&&/g;s/;s,x,x,$// 1465 _ACEOF 1466 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1467 rm conftest.sed 1468 1469 # expand $ac_aux_dir to an absolute path 1470 am_aux_dir=`cd $ac_aux_dir && pwd` 1471 1472 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1473 # Use eval to expand $SHELL 1474 if eval "$MISSING --run true"; then 1475 am_missing_run="$MISSING --run " 1476 else 1477 am_missing_run= 1478 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1479 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1480 fi 1481 1482 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1483 # We used to keeping the `.' as first argument, in order to 1484 # allow $(mkdir_p) to be used without argument. As in 1485 # $(mkdir_p) $(somedir) 1486 # where $(somedir) is conditionally defined. However this is wrong 1487 # for two reasons: 1488 # 1. if the package is installed by a user who cannot write `.' 1489 # make install will fail, 1490 # 2. the above comment should most certainly read 1491 # $(mkdir_p) $(DESTDIR)$(somedir) 1492 # so it does not work when $(somedir) is undefined and 1493 # $(DESTDIR) is not. 1494 # To support the latter case, we have to write 1495 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1496 # so the `.' trick is pointless. 1497 mkdir_p='mkdir -p --' 1498 else 1499 # On NextStep and OpenStep, the `mkdir' command does not 1500 # recognize any option. It will interpret all options as 1501 # directories to create, and then abort because `.' already 1502 # exists. 1503 for d in ./-p ./--version; 1504 do 1505 test -d $d && rmdir $d 1506 done 1507 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1508 if test -f "$ac_aux_dir/mkinstalldirs"; then 1509 mkdir_p='$(mkinstalldirs)' 1510 else 1511 mkdir_p='$(install_sh) -d' 1512 fi 1513 fi 1514 1515 for ac_prog in gawk mawk nawk awk 1516 do 1517 # Extract the first word of "$ac_prog", so it can be a program name with args. 1518 set dummy $ac_prog; ac_word=$2 1519 echo "$as_me:$LINENO: checking for $ac_word" >&5 1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1521 if test "${ac_cv_prog_AWK+set}" = set; then 1522 echo $ECHO_N "(cached) $ECHO_C" >&6 1523 else 1524 if test -n "$AWK"; then 1525 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1526 else 1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1528 for as_dir in $PATH 1529 do 1530 IFS=$as_save_IFS 1531 test -z "$as_dir" && as_dir=. 1532 for ac_exec_ext in '' $ac_executable_extensions; do 1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1534 ac_cv_prog_AWK="$ac_prog" 1535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1536 break 2 1537 fi 1538 done 1539 done 1540 1541 fi 1542 fi 1543 AWK=$ac_cv_prog_AWK 1544 if test -n "$AWK"; then 1545 echo "$as_me:$LINENO: result: $AWK" >&5 1546 echo "${ECHO_T}$AWK" >&6 1547 else 1548 echo "$as_me:$LINENO: result: no" >&5 1549 echo "${ECHO_T}no" >&6 1550 fi 1551 1552 test -n "$AWK" && break 1553 done 1554 1555 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1556 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1557 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1558 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1559 echo $ECHO_N "(cached) $ECHO_C" >&6 1560 else 1561 cat >conftest.make <<\_ACEOF 1562 all: 1563 @echo 'ac_maketemp="$(MAKE)"' 1564 _ACEOF 1565 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1566 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1567 if test -n "$ac_maketemp"; then 1568 eval ac_cv_prog_make_${ac_make}_set=yes 1569 else 1570 eval ac_cv_prog_make_${ac_make}_set=no 1571 fi 1572 rm -f conftest.make 1573 fi 1574 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1575 echo "$as_me:$LINENO: result: yes" >&5 1576 echo "${ECHO_T}yes" >&6 1577 SET_MAKE= 1578 else 1579 echo "$as_me:$LINENO: result: no" >&5 1580 echo "${ECHO_T}no" >&6 1581 SET_MAKE="MAKE=${MAKE-make}" 1582 fi 1583 1584 rm -rf .tst 2>/dev/null 1585 mkdir .tst 2>/dev/null 1586 if test -d .tst; then 1587 am__leading_dot=. 1588 else 1589 am__leading_dot=_ 1590 fi 1591 rmdir .tst 2>/dev/null 1592 1593 # test to see if srcdir already configured 1594 if test "`cd $srcdir && pwd`" != "`pwd`" && 1595 test -f $srcdir/config.status; then 1596 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1597 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1598 { (exit 1); exit 1; }; } 1599 fi 1600 1601 # test whether we have cygpath 1602 if test -z "$CYGPATH_W"; then 1603 if (cygpath --version) >/dev/null 2>/dev/null; then 1604 CYGPATH_W='cygpath -w' 1605 else 1606 CYGPATH_W=echo 1607 fi 1608 fi 1609 1610 1611 # Define the identity of the package. 1612 PACKAGE='elfutils' 1613 VERSION='0.97' 1614 1615 1616 cat >>confdefs.h <<_ACEOF 1617 #define PACKAGE "$PACKAGE" 1618 _ACEOF 1619 1620 1621 cat >>confdefs.h <<_ACEOF 1622 #define VERSION "$VERSION" 1623 _ACEOF 1624 1625 # Some tools Automake needs. 1626 1627 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1628 1629 1630 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1631 1632 1633 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1634 1635 1636 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1637 1638 1639 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1640 1641 install_sh=${install_sh-"$am_aux_dir/install-sh"} 1642 1643 # Installed binaries are usually stripped using `strip' when the user 1644 # run `make install-strip'. However `strip' might not be the right 1645 # tool to use in cross-compilation environments, therefore Automake 1646 # will honor the `STRIP' environment variable to overrule this program. 1647 if test "$cross_compiling" != no; then 1648 if test -n "$ac_tool_prefix"; then 1649 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1650 set dummy ${ac_tool_prefix}strip; ac_word=$2 1651 echo "$as_me:$LINENO: checking for $ac_word" >&5 1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1653 if test "${ac_cv_prog_STRIP+set}" = set; then 1654 echo $ECHO_N "(cached) $ECHO_C" >&6 1655 else 1656 if test -n "$STRIP"; then 1657 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1658 else 1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1660 for as_dir in $PATH 1661 do 1662 IFS=$as_save_IFS 1663 test -z "$as_dir" && as_dir=. 1664 for ac_exec_ext in '' $ac_executable_extensions; do 1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1666 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1668 break 2 1669 fi 1670 done 1671 done 1672 1673 fi 1674 fi 1675 STRIP=$ac_cv_prog_STRIP 1676 if test -n "$STRIP"; then 1677 echo "$as_me:$LINENO: result: $STRIP" >&5 1678 echo "${ECHO_T}$STRIP" >&6 1679 else 1680 echo "$as_me:$LINENO: result: no" >&5 1681 echo "${ECHO_T}no" >&6 1682 fi 1683 1684 fi 1685 if test -z "$ac_cv_prog_STRIP"; then 1686 ac_ct_STRIP=$STRIP 1687 # Extract the first word of "strip", so it can be a program name with args. 1688 set dummy strip; ac_word=$2 1689 echo "$as_me:$LINENO: checking for $ac_word" >&5 1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1691 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1692 echo $ECHO_N "(cached) $ECHO_C" >&6 1693 else 1694 if test -n "$ac_ct_STRIP"; then 1695 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1696 else 1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1698 for as_dir in $PATH 1699 do 1700 IFS=$as_save_IFS 1701 test -z "$as_dir" && as_dir=. 1702 for ac_exec_ext in '' $ac_executable_extensions; do 1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1704 ac_cv_prog_ac_ct_STRIP="strip" 1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1706 break 2 1707 fi 1708 done 1709 done 1710 1711 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1712 fi 1713 fi 1714 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1715 if test -n "$ac_ct_STRIP"; then 1716 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1717 echo "${ECHO_T}$ac_ct_STRIP" >&6 1718 else 1719 echo "$as_me:$LINENO: result: no" >&5 1720 echo "${ECHO_T}no" >&6 1721 fi 1722 1723 STRIP=$ac_ct_STRIP 1724 else 1725 STRIP="$ac_cv_prog_STRIP" 1726 fi 1727 1728 fi 1729 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1730 1731 # We need awk for the "check" target. The system "awk" is bad on 1732 # some platforms. 1733 # Always define AMTAR for backward compatibility. 1734 1735 AMTAR=${AMTAR-"${am_missing_run}tar"} 1736 1737 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1738 1739 1740 1741 1742 1743 1744 1745 ac_config_files="$ac_config_files Makefile" 1746 1747 ac_config_headers="$ac_config_headers config.h" 1748 1749 1750 case m4 in 1751 [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;; 1752 *) ac_macro_dir=$srcdir/m4 ;; 1753 esac 1754 if test -d "$ac_macro_dir"; then : 1755 else 1756 { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5 1757 echo "$as_me: error: cannot find macro directory \`m4'" >&2;} 1758 { (exit 1); exit 1; }; } 1759 fi 1760 1761 ac_config_files="$ac_config_files m4/Makefile" 1762 1763 1764 ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in" 1765 1766 1767 1768 # Make sure we can run config.sub. 1769 $ac_config_sub sun4 >/dev/null 2>&1 || 1770 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1771 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1772 { (exit 1); exit 1; }; } 1773 1774 echo "$as_me:$LINENO: checking build system type" >&5 1775 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1776 if test "${ac_cv_build+set}" = set; then 1777 echo $ECHO_N "(cached) $ECHO_C" >&6 1778 else 1779 ac_cv_build_alias=$build_alias 1780 test -z "$ac_cv_build_alias" && 1781 ac_cv_build_alias=`$ac_config_guess` 1782 test -z "$ac_cv_build_alias" && 1783 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1784 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1785 { (exit 1); exit 1; }; } 1786 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1787 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1788 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1789 { (exit 1); exit 1; }; } 1790 1791 fi 1792 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1793 echo "${ECHO_T}$ac_cv_build" >&6 1794 build=$ac_cv_build 1795 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1796 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1797 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1798 1799 1800 echo "$as_me:$LINENO: checking host system type" >&5 1801 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1802 if test "${ac_cv_host+set}" = set; then 1803 echo $ECHO_N "(cached) $ECHO_C" >&6 1804 else 1805 ac_cv_host_alias=$host_alias 1806 test -z "$ac_cv_host_alias" && 1807 ac_cv_host_alias=$ac_cv_build_alias 1808 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1809 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1810 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1811 { (exit 1); exit 1; }; } 1812 1813 fi 1814 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1815 echo "${ECHO_T}$ac_cv_host" >&6 1816 host=$ac_cv_host 1817 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1818 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1819 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1820 1821 1822 1823 # Check whether --enable-tls or --disable-tls was given. 1824 if test "${enable_tls+set}" = set; then 1825 enableval="$enable_tls" 1826 cat >>confdefs.h <<\_ACEOF 1827 #define USE_TLS 1 1828 _ACEOF 1829 1830 fi; 1831 1832 1833 1834 ALL_LINGUAS= 1835 1836 ac_ext=c 1837 ac_cpp='$CPP $CPPFLAGS' 1838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1840 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1841 if test -n "$ac_tool_prefix"; then 1842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1843 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1844 echo "$as_me:$LINENO: checking for $ac_word" >&5 1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1846 if test "${ac_cv_prog_CC+set}" = set; then 1847 echo $ECHO_N "(cached) $ECHO_C" >&6 1848 else 1849 if test -n "$CC"; then 1850 ac_cv_prog_CC="$CC" # Let the user override the test. 1851 else 1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1853 for as_dir in $PATH 1854 do 1855 IFS=$as_save_IFS 1856 test -z "$as_dir" && as_dir=. 1857 for ac_exec_ext in '' $ac_executable_extensions; do 1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1859 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1861 break 2 1862 fi 1863 done 1864 done 1865 1866 fi 1867 fi 1868 CC=$ac_cv_prog_CC 1869 if test -n "$CC"; then 1870 echo "$as_me:$LINENO: result: $CC" >&5 1871 echo "${ECHO_T}$CC" >&6 1872 else 1873 echo "$as_me:$LINENO: result: no" >&5 1874 echo "${ECHO_T}no" >&6 1875 fi 1876 1877 fi 1878 if test -z "$ac_cv_prog_CC"; then 1879 ac_ct_CC=$CC 1880 # Extract the first word of "gcc", so it can be a program name with args. 1881 set dummy gcc; ac_word=$2 1882 echo "$as_me:$LINENO: checking for $ac_word" >&5 1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1885 echo $ECHO_N "(cached) $ECHO_C" >&6 1886 else 1887 if test -n "$ac_ct_CC"; then 1888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1889 else 1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1891 for as_dir in $PATH 1892 do 1893 IFS=$as_save_IFS 1894 test -z "$as_dir" && as_dir=. 1895 for ac_exec_ext in '' $ac_executable_extensions; do 1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1897 ac_cv_prog_ac_ct_CC="gcc" 1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1899 break 2 1900 fi 1901 done 1902 done 1903 1904 fi 1905 fi 1906 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1907 if test -n "$ac_ct_CC"; then 1908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1909 echo "${ECHO_T}$ac_ct_CC" >&6 1910 else 1911 echo "$as_me:$LINENO: result: no" >&5 1912 echo "${ECHO_T}no" >&6 1913 fi 1914 1915 CC=$ac_ct_CC 1916 else 1917 CC="$ac_cv_prog_CC" 1918 fi 1919 1920 if test -z "$CC"; then 1921 if test -n "$ac_tool_prefix"; then 1922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1923 set dummy ${ac_tool_prefix}cc; ac_word=$2 1924 echo "$as_me:$LINENO: checking for $ac_word" >&5 1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1926 if test "${ac_cv_prog_CC+set}" = set; then 1927 echo $ECHO_N "(cached) $ECHO_C" >&6 1928 else 1929 if test -n "$CC"; then 1930 ac_cv_prog_CC="$CC" # Let the user override the test. 1931 else 1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1933 for as_dir in $PATH 1934 do 1935 IFS=$as_save_IFS 1936 test -z "$as_dir" && as_dir=. 1937 for ac_exec_ext in '' $ac_executable_extensions; do 1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1939 ac_cv_prog_CC="${ac_tool_prefix}cc" 1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1941 break 2 1942 fi 1943 done 1944 done 1945 1946 fi 1947 fi 1948 CC=$ac_cv_prog_CC 1949 if test -n "$CC"; then 1950 echo "$as_me:$LINENO: result: $CC" >&5 1951 echo "${ECHO_T}$CC" >&6 1952 else 1953 echo "$as_me:$LINENO: result: no" >&5 1954 echo "${ECHO_T}no" >&6 1955 fi 1956 1957 fi 1958 if test -z "$ac_cv_prog_CC"; then 1959 ac_ct_CC=$CC 1960 # Extract the first word of "cc", so it can be a program name with args. 1961 set dummy cc; ac_word=$2 1962 echo "$as_me:$LINENO: checking for $ac_word" >&5 1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1965 echo $ECHO_N "(cached) $ECHO_C" >&6 1966 else 1967 if test -n "$ac_ct_CC"; then 1968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1969 else 1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1971 for as_dir in $PATH 1972 do 1973 IFS=$as_save_IFS 1974 test -z "$as_dir" && as_dir=. 1975 for ac_exec_ext in '' $ac_executable_extensions; do 1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1977 ac_cv_prog_ac_ct_CC="cc" 1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1979 break 2 1980 fi 1981 done 1982 done 1983 1984 fi 1985 fi 1986 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1987 if test -n "$ac_ct_CC"; then 1988 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1989 echo "${ECHO_T}$ac_ct_CC" >&6 1990 else 1991 echo "$as_me:$LINENO: result: no" >&5 1992 echo "${ECHO_T}no" >&6 1993 fi 1994 1995 CC=$ac_ct_CC 1996 else 1997 CC="$ac_cv_prog_CC" 1998 fi 1999 2000 fi 2001 if test -z "$CC"; then 2002 # Extract the first word of "cc", so it can be a program name with args. 2003 set dummy cc; ac_word=$2 2004 echo "$as_me:$LINENO: checking for $ac_word" >&5 2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2006 if test "${ac_cv_prog_CC+set}" = set; then 2007 echo $ECHO_N "(cached) $ECHO_C" >&6 2008 else 2009 if test -n "$CC"; then 2010 ac_cv_prog_CC="$CC" # Let the user override the test. 2011 else 2012 ac_prog_rejected=no 2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2014 for as_dir in $PATH 2015 do 2016 IFS=$as_save_IFS 2017 test -z "$as_dir" && as_dir=. 2018 for ac_exec_ext in '' $ac_executable_extensions; do 2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2021 ac_prog_rejected=yes 2022 continue 2023 fi 2024 ac_cv_prog_CC="cc" 2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2026 break 2 2027 fi 2028 done 2029 done 2030 2031 if test $ac_prog_rejected = yes; then 2032 # We found a bogon in the path, so make sure we never use it. 2033 set dummy $ac_cv_prog_CC 2034 shift 2035 if test $# != 0; then 2036 # We chose a different compiler from the bogus one. 2037 # However, it has the same basename, so the bogon will be chosen 2038 # first if we set CC to just the basename; use the full file name. 2039 shift 2040 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2041 fi 2042 fi 2043 fi 2044 fi 2045 CC=$ac_cv_prog_CC 2046 if test -n "$CC"; then 2047 echo "$as_me:$LINENO: result: $CC" >&5 2048 echo "${ECHO_T}$CC" >&6 2049 else 2050 echo "$as_me:$LINENO: result: no" >&5 2051 echo "${ECHO_T}no" >&6 2052 fi 2053 2054 fi 2055 if test -z "$CC"; then 2056 if test -n "$ac_tool_prefix"; then 2057 for ac_prog in cl 2058 do 2059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2061 echo "$as_me:$LINENO: checking for $ac_word" >&5 2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2063 if test "${ac_cv_prog_CC+set}" = set; then 2064 echo $ECHO_N "(cached) $ECHO_C" >&6 2065 else 2066 if test -n "$CC"; then 2067 ac_cv_prog_CC="$CC" # Let the user override the test. 2068 else 2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2070 for as_dir in $PATH 2071 do 2072 IFS=$as_save_IFS 2073 test -z "$as_dir" && as_dir=. 2074 for ac_exec_ext in '' $ac_executable_extensions; do 2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2078 break 2 2079 fi 2080 done 2081 done 2082 2083 fi 2084 fi 2085 CC=$ac_cv_prog_CC 2086 if test -n "$CC"; then 2087 echo "$as_me:$LINENO: result: $CC" >&5 2088 echo "${ECHO_T}$CC" >&6 2089 else 2090 echo "$as_me:$LINENO: result: no" >&5 2091 echo "${ECHO_T}no" >&6 2092 fi 2093 2094 test -n "$CC" && break 2095 done 2096 fi 2097 if test -z "$CC"; then 2098 ac_ct_CC=$CC 2099 for ac_prog in cl 2100 do 2101 # Extract the first word of "$ac_prog", so it can be a program name with args. 2102 set dummy $ac_prog; ac_word=$2 2103 echo "$as_me:$LINENO: checking for $ac_word" >&5 2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2106 echo $ECHO_N "(cached) $ECHO_C" >&6 2107 else 2108 if test -n "$ac_ct_CC"; then 2109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2110 else 2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2112 for as_dir in $PATH 2113 do 2114 IFS=$as_save_IFS 2115 test -z "$as_dir" && as_dir=. 2116 for ac_exec_ext in '' $ac_executable_extensions; do 2117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2118 ac_cv_prog_ac_ct_CC="$ac_prog" 2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2120 break 2 2121 fi 2122 done 2123 done 2124 2125 fi 2126 fi 2127 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2128 if test -n "$ac_ct_CC"; then 2129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2130 echo "${ECHO_T}$ac_ct_CC" >&6 2131 else 2132 echo "$as_me:$LINENO: result: no" >&5 2133 echo "${ECHO_T}no" >&6 2134 fi 2135 2136 test -n "$ac_ct_CC" && break 2137 done 2138 2139 CC=$ac_ct_CC 2140 fi 2141 2142 fi 2143 2144 2145 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2146 See \`config.log' for more details." >&5 2147 echo "$as_me: error: no acceptable C compiler found in \$PATH 2148 See \`config.log' for more details." >&2;} 2149 { (exit 1); exit 1; }; } 2150 2151 # Provide some information about the compiler. 2152 echo "$as_me:$LINENO:" \ 2153 "checking for C compiler version" >&5 2154 ac_compiler=`set X $ac_compile; echo $2` 2155 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2156 (eval $ac_compiler --version </dev/null >&5) 2>&5 2157 ac_status=$? 2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2159 (exit $ac_status); } 2160 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2161 (eval $ac_compiler -v </dev/null >&5) 2>&5 2162 ac_status=$? 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); } 2165 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2166 (eval $ac_compiler -V </dev/null >&5) 2>&5 2167 ac_status=$? 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); } 2170 2171 cat >conftest.$ac_ext <<_ACEOF 2172 /* confdefs.h. */ 2173 _ACEOF 2174 cat confdefs.h >>conftest.$ac_ext 2175 cat >>conftest.$ac_ext <<_ACEOF 2176 /* end confdefs.h. */ 2177 2178 int 2179 main () 2180 { 2181 2182 ; 2183 return 0; 2184 } 2185 _ACEOF 2186 ac_clean_files_save=$ac_clean_files 2187 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2188 # Try to create an executable without -o first, disregard a.out. 2189 # It will help us diagnose broken compilers, and finding out an intuition 2190 # of exeext. 2191 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2192 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2193 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2194 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2195 (eval $ac_link_default) 2>&5 2196 ac_status=$? 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2198 (exit $ac_status); }; then 2199 # Find the output, starting from the most likely. This scheme is 2200 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2201 # resort. 2202 2203 # Be careful to initialize this variable, since it used to be cached. 2204 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2205 ac_cv_exeext= 2206 # b.out is created by i960 compilers. 2207 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2208 do 2209 test -f "$ac_file" || continue 2210 case $ac_file in 2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2212 ;; 2213 conftest.$ac_ext ) 2214 # This is the source file. 2215 ;; 2216 [ab].out ) 2217 # We found the default executable, but exeext='' is most 2218 # certainly right. 2219 break;; 2220 *.* ) 2221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2222 # FIXME: I believe we export ac_cv_exeext for Libtool, 2223 # but it would be cool to find out if it's true. Does anybody 2224 # maintain Libtool? --akim. 2225 export ac_cv_exeext 2226 break;; 2227 * ) 2228 break;; 2229 esac 2230 done 2231 else 2232 echo "$as_me: failed program was:" >&5 2233 sed 's/^/| /' conftest.$ac_ext >&5 2234 2235 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2236 See \`config.log' for more details." >&5 2237 echo "$as_me: error: C compiler cannot create executables 2238 See \`config.log' for more details." >&2;} 2239 { (exit 77); exit 77; }; } 2240 fi 2241 2242 ac_exeext=$ac_cv_exeext 2243 echo "$as_me:$LINENO: result: $ac_file" >&5 2244 echo "${ECHO_T}$ac_file" >&6 2245 2246 # Check the compiler produces executables we can run. If not, either 2247 # the compiler is broken, or we cross compile. 2248 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2251 # If not cross compiling, check that we can run a simple program. 2252 if test "$cross_compiling" != yes; then 2253 if { ac_try='./$ac_file' 2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2255 (eval $ac_try) 2>&5 2256 ac_status=$? 2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2258 (exit $ac_status); }; }; then 2259 cross_compiling=no 2260 else 2261 if test "$cross_compiling" = maybe; then 2262 cross_compiling=yes 2263 else 2264 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2265 If you meant to cross compile, use \`--host'. 2266 See \`config.log' for more details." >&5 2267 echo "$as_me: error: cannot run C compiled programs. 2268 If you meant to cross compile, use \`--host'. 2269 See \`config.log' for more details." >&2;} 2270 { (exit 1); exit 1; }; } 2271 fi 2272 fi 2273 fi 2274 echo "$as_me:$LINENO: result: yes" >&5 2275 echo "${ECHO_T}yes" >&6 2276 2277 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2278 ac_clean_files=$ac_clean_files_save 2279 # Check the compiler produces executables we can run. If not, either 2280 # the compiler is broken, or we cross compile. 2281 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2282 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2283 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2284 echo "${ECHO_T}$cross_compiling" >&6 2285 2286 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2287 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2289 (eval $ac_link) 2>&5 2290 ac_status=$? 2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2292 (exit $ac_status); }; then 2293 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2295 # work properly (i.e., refer to `conftest.exe'), while it won't with 2296 # `rm'. 2297 for ac_file in conftest.exe conftest conftest.*; do 2298 test -f "$ac_file" || continue 2299 case $ac_file in 2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2301 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2302 export ac_cv_exeext 2303 break;; 2304 * ) break;; 2305 esac 2306 done 2307 else 2308 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2309 See \`config.log' for more details." >&5 2310 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2311 See \`config.log' for more details." >&2;} 2312 { (exit 1); exit 1; }; } 2313 fi 2314 2315 rm -f conftest$ac_cv_exeext 2316 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2317 echo "${ECHO_T}$ac_cv_exeext" >&6 2318 2319 rm -f conftest.$ac_ext 2320 EXEEXT=$ac_cv_exeext 2321 ac_exeext=$EXEEXT 2322 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2323 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2324 if test "${ac_cv_objext+set}" = set; then 2325 echo $ECHO_N "(cached) $ECHO_C" >&6 2326 else 2327 cat >conftest.$ac_ext <<_ACEOF 2328 /* confdefs.h. */ 2329 _ACEOF 2330 cat confdefs.h >>conftest.$ac_ext 2331 cat >>conftest.$ac_ext <<_ACEOF 2332 /* end confdefs.h. */ 2333 2334 int 2335 main () 2336 { 2337 2338 ; 2339 return 0; 2340 } 2341 _ACEOF 2342 rm -f conftest.o conftest.obj 2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2344 (eval $ac_compile) 2>&5 2345 ac_status=$? 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); }; then 2348 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2349 case $ac_file in 2350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2352 break;; 2353 esac 2354 done 2355 else 2356 echo "$as_me: failed program was:" >&5 2357 sed 's/^/| /' conftest.$ac_ext >&5 2358 2359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2360 See \`config.log' for more details." >&5 2361 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2362 See \`config.log' for more details." >&2;} 2363 { (exit 1); exit 1; }; } 2364 fi 2365 2366 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2367 fi 2368 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2369 echo "${ECHO_T}$ac_cv_objext" >&6 2370 OBJEXT=$ac_cv_objext 2371 ac_objext=$OBJEXT 2372 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2373 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2374 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2375 echo $ECHO_N "(cached) $ECHO_C" >&6 2376 else 2377 cat >conftest.$ac_ext <<_ACEOF 2378 /* confdefs.h. */ 2379 _ACEOF 2380 cat confdefs.h >>conftest.$ac_ext 2381 cat >>conftest.$ac_ext <<_ACEOF 2382 /* end confdefs.h. */ 2383 2384 int 2385 main () 2386 { 2387 #ifndef __GNUC__ 2388 choke me 2389 #endif 2390 2391 ; 2392 return 0; 2393 } 2394 _ACEOF 2395 rm -f conftest.$ac_objext 2396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2397 (eval $ac_compile) 2>conftest.er1 2398 ac_status=$? 2399 grep -v '^ *+' conftest.er1 >conftest.err 2400 rm -f conftest.er1 2401 cat conftest.err >&5 2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2403 (exit $ac_status); } && 2404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 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); }; } && 2410 { ac_try='test -s conftest.$ac_objext' 2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2412 (eval $ac_try) 2>&5 2413 ac_status=$? 2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2415 (exit $ac_status); }; }; then 2416 ac_compiler_gnu=yes 2417 else 2418 echo "$as_me: failed program was:" >&5 2419 sed 's/^/| /' conftest.$ac_ext >&5 2420 2421 ac_compiler_gnu=no 2422 fi 2423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2424 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2425 2426 fi 2427 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2428 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2429 GCC=`test $ac_compiler_gnu = yes && echo yes` 2430 ac_test_CFLAGS=${CFLAGS+set} 2431 ac_save_CFLAGS=$CFLAGS 2432 CFLAGS="-g" 2433 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2434 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2435 if test "${ac_cv_prog_cc_g+set}" = set; then 2436 echo $ECHO_N "(cached) $ECHO_C" >&6 2437 else 2438 cat >conftest.$ac_ext <<_ACEOF 2439 /* confdefs.h. */ 2440 _ACEOF 2441 cat confdefs.h >>conftest.$ac_ext 2442 cat >>conftest.$ac_ext <<_ACEOF 2443 /* end confdefs.h. */ 2444 2445 int 2446 main () 2447 { 2448 2449 ; 2450 return 0; 2451 } 2452 _ACEOF 2453 rm -f conftest.$ac_objext 2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2455 (eval $ac_compile) 2>conftest.er1 2456 ac_status=$? 2457 grep -v '^ *+' conftest.er1 >conftest.err 2458 rm -f conftest.er1 2459 cat conftest.err >&5 2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 (exit $ac_status); } && 2462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2464 (eval $ac_try) 2>&5 2465 ac_status=$? 2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2467 (exit $ac_status); }; } && 2468 { ac_try='test -s conftest.$ac_objext' 2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2470 (eval $ac_try) 2>&5 2471 ac_status=$? 2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2473 (exit $ac_status); }; }; then 2474 ac_cv_prog_cc_g=yes 2475 else 2476 echo "$as_me: failed program was:" >&5 2477 sed 's/^/| /' conftest.$ac_ext >&5 2478 2479 ac_cv_prog_cc_g=no 2480 fi 2481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2482 fi 2483 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2485 if test "$ac_test_CFLAGS" = set; then 2486 CFLAGS=$ac_save_CFLAGS 2487 elif test $ac_cv_prog_cc_g = yes; then 2488 if test "$GCC" = yes; then 2489 CFLAGS="-g -O2" 2490 else 2491 CFLAGS="-g" 2492 fi 2493 else 2494 if test "$GCC" = yes; then 2495 CFLAGS="-O2" 2496 else 2497 CFLAGS= 2498 fi 2499 fi 2500 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2501 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2502 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2503 echo $ECHO_N "(cached) $ECHO_C" >&6 2504 else 2505 ac_cv_prog_cc_stdc=no 2506 ac_save_CC=$CC 2507 cat >conftest.$ac_ext <<_ACEOF 2508 /* confdefs.h. */ 2509 _ACEOF 2510 cat confdefs.h >>conftest.$ac_ext 2511 cat >>conftest.$ac_ext <<_ACEOF 2512 /* end confdefs.h. */ 2513 #include <stdarg.h> 2514 #include <stdio.h> 2515 #include <sys/types.h> 2516 #include <sys/stat.h> 2517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2518 struct buf { int x; }; 2519 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2520 static char *e (p, i) 2521 char **p; 2522 int i; 2523 { 2524 return p[i]; 2525 } 2526 static char *f (char * (*g) (char **, int), char **p, ...) 2527 { 2528 char *s; 2529 va_list v; 2530 va_start (v,p); 2531 s = g (p, va_arg (v,int)); 2532 va_end (v); 2533 return s; 2534 } 2535 2536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2537 function prototypes and stuff, but not '\xHH' hex character constants. 2538 These don't provoke an error unfortunately, instead are silently treated 2539 as 'x'. The following induces an error, until -std1 is added to get 2540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2541 array size at least. It's necessary to write '\x00'==0 to get something 2542 that's true only with -std1. */ 2543 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2544 2545 int test (int i, double x); 2546 struct s1 {int (*f) (int a);}; 2547 struct s2 {int (*f) (double a);}; 2548 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2549 int argc; 2550 char **argv; 2551 int 2552 main () 2553 { 2554 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2555 ; 2556 return 0; 2557 } 2558 _ACEOF 2559 # Don't try gcc -ansi; that turns off useful extensions and 2560 # breaks some systems' header files. 2561 # AIX -qlanglvl=ansi 2562 # Ultrix and OSF/1 -std1 2563 # HP-UX 10.20 and later -Ae 2564 # HP-UX older versions -Aa -D_HPUX_SOURCE 2565 # SVR4 -Xc -D__EXTENSIONS__ 2566 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2567 do 2568 CC="$ac_save_CC $ac_arg" 2569 rm -f conftest.$ac_objext 2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2571 (eval $ac_compile) 2>conftest.er1 2572 ac_status=$? 2573 grep -v '^ *+' conftest.er1 >conftest.err 2574 rm -f conftest.er1 2575 cat conftest.err >&5 2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2577 (exit $ac_status); } && 2578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2580 (eval $ac_try) 2>&5 2581 ac_status=$? 2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2583 (exit $ac_status); }; } && 2584 { ac_try='test -s conftest.$ac_objext' 2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2586 (eval $ac_try) 2>&5 2587 ac_status=$? 2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 (exit $ac_status); }; }; then 2590 ac_cv_prog_cc_stdc=$ac_arg 2591 break 2592 else 2593 echo "$as_me: failed program was:" >&5 2594 sed 's/^/| /' conftest.$ac_ext >&5 2595 2596 fi 2597 rm -f conftest.err conftest.$ac_objext 2598 done 2599 rm -f conftest.$ac_ext conftest.$ac_objext 2600 CC=$ac_save_CC 2601 2602 fi 2603 2604 case "x$ac_cv_prog_cc_stdc" in 2605 x|xno) 2606 echo "$as_me:$LINENO: result: none needed" >&5 2607 echo "${ECHO_T}none needed" >&6 ;; 2608 *) 2609 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2610 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2611 CC="$CC $ac_cv_prog_cc_stdc" ;; 2612 esac 2613 2614 # Some people use a C++ compiler to compile C. Since we use `exit', 2615 # in C++ we need to declare it. In case someone uses the same compiler 2616 # for both compiling C and C++ we need to have the C++ compiler decide 2617 # the declaration of exit, since it's the most demanding environment. 2618 cat >conftest.$ac_ext <<_ACEOF 2619 #ifndef __cplusplus 2620 choke me 2621 #endif 2622 _ACEOF 2623 rm -f conftest.$ac_objext 2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2625 (eval $ac_compile) 2>conftest.er1 2626 ac_status=$? 2627 grep -v '^ *+' conftest.er1 >conftest.err 2628 rm -f conftest.er1 2629 cat conftest.err >&5 2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2631 (exit $ac_status); } && 2632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2634 (eval $ac_try) 2>&5 2635 ac_status=$? 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2637 (exit $ac_status); }; } && 2638 { ac_try='test -s conftest.$ac_objext' 2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2640 (eval $ac_try) 2>&5 2641 ac_status=$? 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); }; }; then 2644 for ac_declaration in \ 2645 '' \ 2646 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2647 'extern "C" void std::exit (int); using std::exit;' \ 2648 'extern "C" void exit (int) throw ();' \ 2649 'extern "C" void exit (int);' \ 2650 'void exit (int);' 2651 do 2652 cat >conftest.$ac_ext <<_ACEOF 2653 /* confdefs.h. */ 2654 _ACEOF 2655 cat confdefs.h >>conftest.$ac_ext 2656 cat >>conftest.$ac_ext <<_ACEOF 2657 /* end confdefs.h. */ 2658 $ac_declaration 2659 #include <stdlib.h> 2660 int 2661 main () 2662 { 2663 exit (42); 2664 ; 2665 return 0; 2666 } 2667 _ACEOF 2668 rm -f conftest.$ac_objext 2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2670 (eval $ac_compile) 2>conftest.er1 2671 ac_status=$? 2672 grep -v '^ *+' conftest.er1 >conftest.err 2673 rm -f conftest.er1 2674 cat conftest.err >&5 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } && 2677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2679 (eval $ac_try) 2>&5 2680 ac_status=$? 2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2682 (exit $ac_status); }; } && 2683 { ac_try='test -s conftest.$ac_objext' 2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2685 (eval $ac_try) 2>&5 2686 ac_status=$? 2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2688 (exit $ac_status); }; }; then 2689 : 2690 else 2691 echo "$as_me: failed program was:" >&5 2692 sed 's/^/| /' conftest.$ac_ext >&5 2693 2694 continue 2695 fi 2696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2697 cat >conftest.$ac_ext <<_ACEOF 2698 /* confdefs.h. */ 2699 _ACEOF 2700 cat confdefs.h >>conftest.$ac_ext 2701 cat >>conftest.$ac_ext <<_ACEOF 2702 /* end confdefs.h. */ 2703 $ac_declaration 2704 int 2705 main () 2706 { 2707 exit (42); 2708 ; 2709 return 0; 2710 } 2711 _ACEOF 2712 rm -f conftest.$ac_objext 2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2714 (eval $ac_compile) 2>conftest.er1 2715 ac_status=$? 2716 grep -v '^ *+' conftest.er1 >conftest.err 2717 rm -f conftest.er1 2718 cat conftest.err >&5 2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2720 (exit $ac_status); } && 2721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2723 (eval $ac_try) 2>&5 2724 ac_status=$? 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); }; } && 2727 { ac_try='test -s conftest.$ac_objext' 2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2729 (eval $ac_try) 2>&5 2730 ac_status=$? 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); }; }; then 2733 break 2734 else 2735 echo "$as_me: failed program was:" >&5 2736 sed 's/^/| /' conftest.$ac_ext >&5 2737 2738 fi 2739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2740 done 2741 rm -f conftest* 2742 if test -n "$ac_declaration"; then 2743 echo '#ifdef __cplusplus' >>confdefs.h 2744 echo $ac_declaration >>confdefs.h 2745 echo '#endif' >>confdefs.h 2746 fi 2747 2748 else 2749 echo "$as_me: failed program was:" >&5 2750 sed 's/^/| /' conftest.$ac_ext >&5 2751 2752 fi 2753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2754 ac_ext=c 2755 ac_cpp='$CPP $CPPFLAGS' 2756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2758 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2759 DEPDIR="${am__leading_dot}deps" 2760 2761 ac_config_commands="$ac_config_commands depfiles" 2762 2763 2764 am_make=${MAKE-make} 2765 cat > confinc << 'END' 2766 am__doit: 2767 @echo done 2768 .PHONY: am__doit 2769 END 2770 # If we don't find an include directive, just comment out the code. 2771 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2772 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2773 am__include="#" 2774 am__quote= 2775 _am_result=none 2776 # First try GNU make style include. 2777 echo "include confinc" > confmf 2778 # We grep out `Entering directory' and `Leaving directory' 2779 # messages which can occur if `w' ends up in MAKEFLAGS. 2780 # In particular we don't look at `^make:' because GNU make might 2781 # be invoked under some other name (usually "gmake"), in which 2782 # case it prints its new name instead of `make'. 2783 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2784 am__include=include 2785 am__quote= 2786 _am_result=GNU 2787 fi 2788 # Now try BSD make style include. 2789 if test "$am__include" = "#"; then 2790 echo '.include "confinc"' > confmf 2791 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2792 am__include=.include 2793 am__quote="\"" 2794 _am_result=BSD 2795 fi 2796 fi 2797 2798 2799 echo "$as_me:$LINENO: result: $_am_result" >&5 2800 echo "${ECHO_T}$_am_result" >&6 2801 rm -f confinc confmf 2802 2803 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2804 if test "${enable_dependency_tracking+set}" = set; then 2805 enableval="$enable_dependency_tracking" 2806 2807 fi; 2808 if test "x$enable_dependency_tracking" != xno; then 2809 am_depcomp="$ac_aux_dir/depcomp" 2810 AMDEPBACKSLASH='\' 2811 fi 2812 2813 2814 if test "x$enable_dependency_tracking" != xno; then 2815 AMDEP_TRUE= 2816 AMDEP_FALSE='#' 2817 else 2818 AMDEP_TRUE='#' 2819 AMDEP_FALSE= 2820 fi 2821 2822 2823 2824 2825 depcc="$CC" am_compiler_list= 2826 2827 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2828 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2829 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2830 echo $ECHO_N "(cached) $ECHO_C" >&6 2831 else 2832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2833 # We make a subdir and do the tests there. Otherwise we can end up 2834 # making bogus files that we don't know about and never remove. For 2835 # instance it was reported that on HP-UX the gcc test will end up 2836 # making a dummy file named `D' -- because `-MD' means `put the output 2837 # in D'. 2838 mkdir conftest.dir 2839 # Copy depcomp to subdir because otherwise we won't find it if we're 2840 # using a relative directory. 2841 cp "$am_depcomp" conftest.dir 2842 cd conftest.dir 2843 # We will build objects and dependencies in a subdirectory because 2844 # it helps to detect inapplicable dependency modes. For instance 2845 # both Tru64's cc and ICC support -MD to output dependencies as a 2846 # side effect of compilation, but ICC will put the dependencies in 2847 # the current directory while Tru64 will put them in the object 2848 # directory. 2849 mkdir sub 2850 2851 am_cv_CC_dependencies_compiler_type=none 2852 if test "$am_compiler_list" = ""; then 2853 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2854 fi 2855 for depmode in $am_compiler_list; do 2856 # Setup a source with many dependencies, because some compilers 2857 # like to wrap large dependency lists on column 80 (with \), and 2858 # we should not choose a depcomp mode which is confused by this. 2859 # 2860 # We need to recreate these files for each test, as the compiler may 2861 # overwrite some of them when testing with obscure command lines. 2862 # This happens at least with the AIX C compiler. 2863 : > sub/conftest.c 2864 for i in 1 2 3 4 5 6; do 2865 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2866 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2867 # Solaris 8's {/usr,}/bin/sh. 2868 touch sub/conftst$i.h 2869 done 2870 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2871 2872 case $depmode in 2873 nosideeffect) 2874 # after this tag, mechanisms are not by side-effect, so they'll 2875 # only be used when explicitly requested 2876 if test "x$enable_dependency_tracking" = xyes; then 2877 continue 2878 else 2879 break 2880 fi 2881 ;; 2882 none) break ;; 2883 esac 2884 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2885 # mode. It turns out that the SunPro C++ compiler does not properly 2886 # handle `-M -o', and we need to detect this. 2887 if depmode=$depmode \ 2888 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2889 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2890 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2891 >/dev/null 2>conftest.err && 2892 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2893 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2894 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2895 # icc doesn't choke on unknown options, it will just issue warnings 2896 # or remarks (even with -Werror). So we grep stderr for any message 2897 # that says an option was ignored or not supported. 2898 # When given -MP, icc 7.0 and 7.1 complain thusly: 2899 # icc: Command line warning: ignoring option '-M'; no argument required 2900 # The diagnosis changed in icc 8.0: 2901 # icc: Command line remark: option '-MP' not supported 2902 if (grep 'ignoring option' conftest.err || 2903 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2904 am_cv_CC_dependencies_compiler_type=$depmode 2905 break 2906 fi 2907 fi 2908 done 2909 2910 cd .. 2911 rm -rf conftest.dir 2912 else 2913 am_cv_CC_dependencies_compiler_type=none 2914 fi 2915 2916 fi 2917 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2918 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2919 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2920 2921 2922 2923 if 2924 test "x$enable_dependency_tracking" != xno \ 2925 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2926 am__fastdepCC_TRUE= 2927 am__fastdepCC_FALSE='#' 2928 else 2929 am__fastdepCC_TRUE='#' 2930 am__fastdepCC_FALSE= 2931 fi 2932 2933 2934 ac_ext=c 2935 ac_cpp='$CPP $CPPFLAGS' 2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2938 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2939 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2940 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2941 # On Suns, sometimes $CPP names a directory. 2942 if test -n "$CPP" && test -d "$CPP"; then 2943 CPP= 2944 fi 2945 if test -z "$CPP"; then 2946 if test "${ac_cv_prog_CPP+set}" = set; then 2947 echo $ECHO_N "(cached) $ECHO_C" >&6 2948 else 2949 # Double quotes because CPP needs to be expanded 2950 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2951 do 2952 ac_preproc_ok=false 2953 for ac_c_preproc_warn_flag in '' yes 2954 do 2955 # Use a header file that comes with gcc, so configuring glibc 2956 # with a fresh cross-compiler works. 2957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2958 # <limits.h> exists even on freestanding compilers. 2959 # On the NeXT, cc -E runs the code through the compiler's parser, 2960 # not just through cpp. "Syntax error" is here to catch this case. 2961 cat >conftest.$ac_ext <<_ACEOF 2962 /* confdefs.h. */ 2963 _ACEOF 2964 cat confdefs.h >>conftest.$ac_ext 2965 cat >>conftest.$ac_ext <<_ACEOF 2966 /* end confdefs.h. */ 2967 #ifdef __STDC__ 2968 # include <limits.h> 2969 #else 2970 # include <assert.h> 2971 #endif 2972 Syntax error 2973 _ACEOF 2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2976 ac_status=$? 2977 grep -v '^ *+' conftest.er1 >conftest.err 2978 rm -f conftest.er1 2979 cat conftest.err >&5 2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2981 (exit $ac_status); } >/dev/null; then 2982 if test -s conftest.err; then 2983 ac_cpp_err=$ac_c_preproc_warn_flag 2984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2985 else 2986 ac_cpp_err= 2987 fi 2988 else 2989 ac_cpp_err=yes 2990 fi 2991 if test -z "$ac_cpp_err"; then 2992 : 2993 else 2994 echo "$as_me: failed program was:" >&5 2995 sed 's/^/| /' conftest.$ac_ext >&5 2996 2997 # Broken: fails on valid input. 2998 continue 2999 fi 3000 rm -f conftest.err conftest.$ac_ext 3001 3002 # OK, works on sane cases. Now check whether non-existent headers 3003 # can be detected and how. 3004 cat >conftest.$ac_ext <<_ACEOF 3005 /* confdefs.h. */ 3006 _ACEOF 3007 cat confdefs.h >>conftest.$ac_ext 3008 cat >>conftest.$ac_ext <<_ACEOF 3009 /* end confdefs.h. */ 3010 #include <ac_nonexistent.h> 3011 _ACEOF 3012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3014 ac_status=$? 3015 grep -v '^ *+' conftest.er1 >conftest.err 3016 rm -f conftest.er1 3017 cat conftest.err >&5 3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3019 (exit $ac_status); } >/dev/null; then 3020 if test -s conftest.err; then 3021 ac_cpp_err=$ac_c_preproc_warn_flag 3022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3023 else 3024 ac_cpp_err= 3025 fi 3026 else 3027 ac_cpp_err=yes 3028 fi 3029 if test -z "$ac_cpp_err"; then 3030 # Broken: success on invalid input. 3031 continue 3032 else 3033 echo "$as_me: failed program was:" >&5 3034 sed 's/^/| /' conftest.$ac_ext >&5 3035 3036 # Passes both tests. 3037 ac_preproc_ok=: 3038 break 3039 fi 3040 rm -f conftest.err conftest.$ac_ext 3041 3042 done 3043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3044 rm -f conftest.err conftest.$ac_ext 3045 if $ac_preproc_ok; then 3046 break 3047 fi 3048 3049 done 3050 ac_cv_prog_CPP=$CPP 3051 3052 fi 3053 CPP=$ac_cv_prog_CPP 3054 else 3055 ac_cv_prog_CPP=$CPP 3056 fi 3057 echo "$as_me:$LINENO: result: $CPP" >&5 3058 echo "${ECHO_T}$CPP" >&6 3059 ac_preproc_ok=false 3060 for ac_c_preproc_warn_flag in '' yes 3061 do 3062 # Use a header file that comes with gcc, so configuring glibc 3063 # with a fresh cross-compiler works. 3064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3065 # <limits.h> exists even on freestanding compilers. 3066 # On the NeXT, cc -E runs the code through the compiler's parser, 3067 # not just through cpp. "Syntax error" is here to catch this case. 3068 cat >conftest.$ac_ext <<_ACEOF 3069 /* confdefs.h. */ 3070 _ACEOF 3071 cat confdefs.h >>conftest.$ac_ext 3072 cat >>conftest.$ac_ext <<_ACEOF 3073 /* end confdefs.h. */ 3074 #ifdef __STDC__ 3075 # include <limits.h> 3076 #else 3077 # include <assert.h> 3078 #endif 3079 Syntax error 3080 _ACEOF 3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3083 ac_status=$? 3084 grep -v '^ *+' conftest.er1 >conftest.err 3085 rm -f conftest.er1 3086 cat conftest.err >&5 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } >/dev/null; then 3089 if test -s conftest.err; then 3090 ac_cpp_err=$ac_c_preproc_warn_flag 3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3092 else 3093 ac_cpp_err= 3094 fi 3095 else 3096 ac_cpp_err=yes 3097 fi 3098 if test -z "$ac_cpp_err"; then 3099 : 3100 else 3101 echo "$as_me: failed program was:" >&5 3102 sed 's/^/| /' conftest.$ac_ext >&5 3103 3104 # Broken: fails on valid input. 3105 continue 3106 fi 3107 rm -f conftest.err conftest.$ac_ext 3108 3109 # OK, works on sane cases. Now check whether non-existent headers 3110 # can be detected and how. 3111 cat >conftest.$ac_ext <<_ACEOF 3112 /* confdefs.h. */ 3113 _ACEOF 3114 cat confdefs.h >>conftest.$ac_ext 3115 cat >>conftest.$ac_ext <<_ACEOF 3116 /* end confdefs.h. */ 3117 #include <ac_nonexistent.h> 3118 _ACEOF 3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3121 ac_status=$? 3122 grep -v '^ *+' conftest.er1 >conftest.err 3123 rm -f conftest.er1 3124 cat conftest.err >&5 3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); } >/dev/null; then 3127 if test -s conftest.err; then 3128 ac_cpp_err=$ac_c_preproc_warn_flag 3129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3130 else 3131 ac_cpp_err= 3132 fi 3133 else 3134 ac_cpp_err=yes 3135 fi 3136 if test -z "$ac_cpp_err"; then 3137 # Broken: success on invalid input. 3138 continue 3139 else 3140 echo "$as_me: failed program was:" >&5 3141 sed 's/^/| /' conftest.$ac_ext >&5 3142 3143 # Passes both tests. 3144 ac_preproc_ok=: 3145 break 3146 fi 3147 rm -f conftest.err conftest.$ac_ext 3148 3149 done 3150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3151 rm -f conftest.err conftest.$ac_ext 3152 if $ac_preproc_ok; then 3153 : 3154 else 3155 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3156 See \`config.log' for more details." >&5 3157 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3158 See \`config.log' for more details." >&2;} 3159 { (exit 1); exit 1; }; } 3160 fi 3161 3162 ac_ext=c 3163 ac_cpp='$CPP $CPPFLAGS' 3164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3167 3168 3169 3170 echo "$as_me:$LINENO: checking for egrep" >&5 3171 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3172 if test "${ac_cv_prog_egrep+set}" = set; then 3173 echo $ECHO_N "(cached) $ECHO_C" >&6 3174 else 3175 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3176 then ac_cv_prog_egrep='grep -E' 3177 else ac_cv_prog_egrep='egrep' 3178 fi 3179 fi 3180 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3181 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3182 EGREP=$ac_cv_prog_egrep 3183 3184 3185 if test $ac_cv_c_compiler_gnu = yes; then 3186 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 3187 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 3188 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 3189 echo $ECHO_N "(cached) $ECHO_C" >&6 3190 else 3191 ac_pattern="Autoconf.*'x'" 3192 cat >conftest.$ac_ext <<_ACEOF 3193 /* confdefs.h. */ 3194 _ACEOF 3195 cat confdefs.h >>conftest.$ac_ext 3196 cat >>conftest.$ac_ext <<_ACEOF 3197 /* end confdefs.h. */ 3198 #include <sgtty.h> 3199 Autoconf TIOCGETP 3200 _ACEOF 3201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3202 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3203 ac_cv_prog_gcc_traditional=yes 3204 else 3205 ac_cv_prog_gcc_traditional=no 3206 fi 3207 rm -f conftest* 3208 3209 3210 if test $ac_cv_prog_gcc_traditional = no; then 3211 cat >conftest.$ac_ext <<_ACEOF 3212 /* confdefs.h. */ 3213 _ACEOF 3214 cat confdefs.h >>conftest.$ac_ext 3215 cat >>conftest.$ac_ext <<_ACEOF 3216 /* end confdefs.h. */ 3217 #include <termio.h> 3218 Autoconf TCGETA 3219 _ACEOF 3220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3221 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3222 ac_cv_prog_gcc_traditional=yes 3223 fi 3224 rm -f conftest* 3225 3226 fi 3227 fi 3228 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 3229 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 3230 if test $ac_cv_prog_gcc_traditional = yes; then 3231 CC="$CC -traditional" 3232 fi 3233 fi 3234 3235 3236 MKINSTALLDIRS= 3237 if test -n "$ac_aux_dir"; then 3238 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 3239 fi 3240 if test -z "$MKINSTALLDIRS"; then 3241 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 3242 fi 3243 3244 3245 3246 3247 3248 # Extract the first word of "msgfmt", so it can be a program name with args. 3249 set dummy msgfmt; ac_word=$2 3250 echo "$as_me:$LINENO: checking for $ac_word" >&5 3251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3252 if test "${ac_cv_path_MSGFMT+set}" = set; then 3253 echo $ECHO_N "(cached) $ECHO_C" >&6 3254 else 3255 case "$MSGFMT" in 3256 /*) 3257 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3258 ;; 3259 *) 3260 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3261 for ac_dir in $PATH; do 3262 test -z "$ac_dir" && ac_dir=. 3263 if test -f $ac_dir/$ac_word; then 3264 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && 3265 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 3266 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 3267 break 3268 fi 3269 fi 3270 done 3271 IFS="$ac_save_ifs" 3272 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 3273 ;; 3274 esac 3275 fi 3276 MSGFMT="$ac_cv_path_MSGFMT" 3277 if test "$MSGFMT" != ":"; then 3278 echo "$as_me:$LINENO: result: $MSGFMT" >&5 3279 echo "${ECHO_T}$MSGFMT" >&6 3280 else 3281 echo "$as_me:$LINENO: result: no" >&5 3282 echo "${ECHO_T}no" >&6 3283 fi 3284 3285 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3286 set dummy gmsgfmt; ac_word=$2 3287 echo "$as_me:$LINENO: checking for $ac_word" >&5 3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3289 if test "${ac_cv_path_GMSGFMT+set}" = set; then 3290 echo $ECHO_N "(cached) $ECHO_C" >&6 3291 else 3292 case $GMSGFMT in 3293 [\\/]* | ?:[\\/]*) 3294 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3295 ;; 3296 *) 3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3298 for as_dir in $PATH 3299 do 3300 IFS=$as_save_IFS 3301 test -z "$as_dir" && as_dir=. 3302 for ac_exec_ext in '' $ac_executable_extensions; do 3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3304 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3306 break 2 3307 fi 3308 done 3309 done 3310 3311 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 3312 ;; 3313 esac 3314 fi 3315 GMSGFMT=$ac_cv_path_GMSGFMT 3316 3317 if test -n "$GMSGFMT"; then 3318 echo "$as_me:$LINENO: result: $GMSGFMT" >&5 3319 echo "${ECHO_T}$GMSGFMT" >&6 3320 else 3321 echo "$as_me:$LINENO: result: no" >&5 3322 echo "${ECHO_T}no" >&6 3323 fi 3324 3325 3326 # Extract the first word of "xgettext", so it can be a program name with args. 3327 set dummy xgettext; ac_word=$2 3328 echo "$as_me:$LINENO: checking for $ac_word" >&5 3329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3330 if test "${ac_cv_path_XGETTEXT+set}" = set; then 3331 echo $ECHO_N "(cached) $ECHO_C" >&6 3332 else 3333 case "$XGETTEXT" in 3334 /*) 3335 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3336 ;; 3337 *) 3338 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3339 for ac_dir in $PATH; do 3340 test -z "$ac_dir" && ac_dir=. 3341 if test -f $ac_dir/$ac_word; then 3342 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && 3343 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 3344 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 3345 break 3346 fi 3347 fi 3348 done 3349 IFS="$ac_save_ifs" 3350 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 3351 ;; 3352 esac 3353 fi 3354 XGETTEXT="$ac_cv_path_XGETTEXT" 3355 if test "$XGETTEXT" != ":"; then 3356 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 3357 echo "${ECHO_T}$XGETTEXT" >&6 3358 else 3359 echo "$as_me:$LINENO: result: no" >&5 3360 echo "${ECHO_T}no" >&6 3361 fi 3362 3363 rm -f messages.po 3364 3365 # Extract the first word of "msgmerge", so it can be a program name with args. 3366 set dummy msgmerge; ac_word=$2 3367 echo "$as_me:$LINENO: checking for $ac_word" >&5 3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3369 if test "${ac_cv_path_MSGMERGE+set}" = set; then 3370 echo $ECHO_N "(cached) $ECHO_C" >&6 3371 else 3372 case "$MSGMERGE" in 3373 /*) 3374 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3375 ;; 3376 *) 3377 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 3378 for ac_dir in $PATH; do 3379 test -z "$ac_dir" && ac_dir=. 3380 if test -f $ac_dir/$ac_word; then 3381 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then 3382 ac_cv_path_MSGMERGE="$ac_dir/$ac_word" 3383 break 3384 fi 3385 fi 3386 done 3387 IFS="$ac_save_ifs" 3388 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 3389 ;; 3390 esac 3391 fi 3392 MSGMERGE="$ac_cv_path_MSGMERGE" 3393 if test "$MSGMERGE" != ":"; then 3394 echo "$as_me:$LINENO: result: $MSGMERGE" >&5 3395 echo "${ECHO_T}$MSGMERGE" >&6 3396 else 3397 echo "$as_me:$LINENO: result: no" >&5 3398 echo "${ECHO_T}no" >&6 3399 fi 3400 3401 3402 if test "$GMSGFMT" != ":"; then 3403 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && 3404 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 3405 : ; 3406 else 3407 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` 3408 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 3409 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 3410 GMSGFMT=":" 3411 fi 3412 fi 3413 3414 if test "$XGETTEXT" != ":"; then 3415 if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && 3416 (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 3417 : ; 3418 else 3419 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 3420 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 3421 XGETTEXT=":" 3422 fi 3423 rm -f messages.po 3424 fi 3425 3426 ac_config_commands="$ac_config_commands default-1" 3427 3428 3429 3430 if test "X$prefix" = "XNONE"; then 3431 acl_final_prefix="$ac_default_prefix" 3432 else 3433 acl_final_prefix="$prefix" 3434 fi 3435 if test "X$exec_prefix" = "XNONE"; then 3436 acl_final_exec_prefix='${prefix}' 3437 else 3438 acl_final_exec_prefix="$exec_prefix" 3439 fi 3440 acl_save_prefix="$prefix" 3441 prefix="$acl_final_prefix" 3442 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 3443 prefix="$acl_save_prefix" 3444 3445 3446 # Check whether --with-gnu-ld or --without-gnu-ld was given. 3447 if test "${with_gnu_ld+set}" = set; then 3448 withval="$with_gnu_ld" 3449 test "$withval" = no || with_gnu_ld=yes 3450 else 3451 with_gnu_ld=no 3452 fi; 3453 ac_prog=ld 3454 if test "$GCC" = yes; then 3455 # Check if gcc -print-prog-name=ld gives a path. 3456 echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3457 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 3458 case $host in 3459 *-*-mingw*) 3460 # gcc leaves a trailing carriage return which upsets mingw 3461 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3462 *) 3463 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3464 esac 3465 case $ac_prog in 3466 # Accept absolute paths. 3467 [\\/]* | [A-Za-z]:[\\/]*) 3468 re_direlt='/[^/][^/]*/\.\./' 3469 # Canonicalize the path of ld 3470 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 3471 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 3472 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 3473 done 3474 test -z "$LD" && LD="$ac_prog" 3475 ;; 3476 "") 3477 # If it fails, then pretend we aren't using GCC. 3478 ac_prog=ld 3479 ;; 3480 *) 3481 # If it is relative, then search for the first ld in PATH. 3482 with_gnu_ld=unknown 3483 ;; 3484 esac 3485 elif test "$with_gnu_ld" = yes; then 3486 echo "$as_me:$LINENO: checking for GNU ld" >&5 3487 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 3488 else 3489 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3490 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 3491 fi 3492 if test "${acl_cv_path_LD+set}" = set; then 3493 echo $ECHO_N "(cached) $ECHO_C" >&6 3494 else 3495 if test -z "$LD"; then 3496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3497 for ac_dir in $PATH; do 3498 test -z "$ac_dir" && ac_dir=. 3499 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3500 acl_cv_path_LD="$ac_dir/$ac_prog" 3501 # Check to see if the program is GNU ld. I'd rather use --version, 3502 # but apparently some GNU ld's only accept -v. 3503 # Break only if it was the GNU/non-GNU ld that we prefer. 3504 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 3505 test "$with_gnu_ld" != no && break 3506 else 3507 test "$with_gnu_ld" != yes && break 3508 fi 3509 fi 3510 done 3511 IFS="$ac_save_ifs" 3512 else 3513 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3514 fi 3515 fi 3516 3517 LD="$acl_cv_path_LD" 3518 if test -n "$LD"; then 3519 echo "$as_me:$LINENO: result: $LD" >&5 3520 echo "${ECHO_T}$LD" >&6 3521 else 3522 echo "$as_me:$LINENO: result: no" >&5 3523 echo "${ECHO_T}no" >&6 3524 fi 3525 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3526 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3527 { (exit 1); exit 1; }; } 3528 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3529 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 3530 if test "${acl_cv_prog_gnu_ld+set}" = set; then 3531 echo $ECHO_N "(cached) $ECHO_C" >&6 3532 else 3533 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3534 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 3535 acl_cv_prog_gnu_ld=yes 3536 else 3537 acl_cv_prog_gnu_ld=no 3538 fi 3539 fi 3540 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 3541 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 3542 with_gnu_ld=$acl_cv_prog_gnu_ld 3543 3544 3545 3546 echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3547 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 3548 if test "${acl_cv_rpath+set}" = set; then 3549 echo $ECHO_N "(cached) $ECHO_C" >&6 3550 else 3551 3552 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3553 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3554 . ./conftest.sh 3555 rm -f ./conftest.sh 3556 acl_cv_rpath=done 3557 3558 fi 3559 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3560 echo "${ECHO_T}$acl_cv_rpath" >&6 3561 wl="$acl_cv_wl" 3562 libext="$acl_cv_libext" 3563 shlibext="$acl_cv_shlibext" 3564 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3565 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3566 hardcode_direct="$acl_cv_hardcode_direct" 3567 hardcode_minus_L="$acl_cv_hardcode_minus_L" 3568 sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" 3569 sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" 3570 3571 3572 3573 3574 3575 3576 3577 use_additional=yes 3578 3579 acl_save_prefix="$prefix" 3580 prefix="$acl_final_prefix" 3581 acl_save_exec_prefix="$exec_prefix" 3582 exec_prefix="$acl_final_exec_prefix" 3583 3584 eval additional_includedir=\"$includedir\" 3585 eval additional_libdir=\"$libdir\" 3586 3587 exec_prefix="$acl_save_exec_prefix" 3588 prefix="$acl_save_prefix" 3589 3590 3591 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. 3592 if test "${with_libiconv_prefix+set}" = set; then 3593 withval="$with_libiconv_prefix" 3594 3595 if test "X$withval" = "Xno"; then 3596 use_additional=no 3597 else 3598 if test "X$withval" = "X"; then 3599 3600 acl_save_prefix="$prefix" 3601 prefix="$acl_final_prefix" 3602 acl_save_exec_prefix="$exec_prefix" 3603 exec_prefix="$acl_final_exec_prefix" 3604 3605 eval additional_includedir=\"$includedir\" 3606 eval additional_libdir=\"$libdir\" 3607 3608 exec_prefix="$acl_save_exec_prefix" 3609 prefix="$acl_save_prefix" 3610 3611 else 3612 additional_includedir="$withval/include" 3613 additional_libdir="$withval/lib" 3614 fi 3615 fi 3616 3617 fi; 3618 LIBICONV= 3619 LTLIBICONV= 3620 INCICONV= 3621 rpathdirs= 3622 ltrpathdirs= 3623 names_already_handled= 3624 names_next_round='iconv ' 3625 while test -n "$names_next_round"; do 3626 names_this_round="$names_next_round" 3627 names_next_round= 3628 for name in $names_this_round; do 3629 already_handled= 3630 for n in $names_already_handled; do 3631 if test "$n" = "$name"; then 3632 already_handled=yes 3633 break 3634 fi 3635 done 3636 if test -z "$already_handled"; then 3637 names_already_handled="$names_already_handled $name" 3638 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3639 eval value=\"\$HAVE_LIB$uppername\" 3640 if test -n "$value"; then 3641 if test "$value" = yes; then 3642 eval value=\"\$LIB$uppername\" 3643 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 3644 eval value=\"\$LTLIB$uppername\" 3645 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 3646 else 3647 : 3648 fi 3649 else 3650 found_dir= 3651 found_la= 3652 found_so= 3653 found_a= 3654 if test $use_additional = yes; then 3655 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 3656 found_dir="$additional_libdir" 3657 found_so="$additional_libdir/lib$name.$shlibext" 3658 if test -f "$additional_libdir/lib$name.la"; then 3659 found_la="$additional_libdir/lib$name.la" 3660 fi 3661 else 3662 if test -f "$additional_libdir/lib$name.$libext"; then 3663 found_dir="$additional_libdir" 3664 found_a="$additional_libdir/lib$name.$libext" 3665 if test -f "$additional_libdir/lib$name.la"; then 3666 found_la="$additional_libdir/lib$name.la" 3667 fi 3668 fi 3669 fi 3670 fi 3671 if test "X$found_dir" = "X"; then 3672 for x in $LDFLAGS $LTLIBICONV; do 3673 3674 acl_save_prefix="$prefix" 3675 prefix="$acl_final_prefix" 3676 acl_save_exec_prefix="$exec_prefix" 3677 exec_prefix="$acl_final_exec_prefix" 3678 eval x=\"$x\" 3679 exec_prefix="$acl_save_exec_prefix" 3680 prefix="$acl_save_prefix" 3681 3682 case "$x" in 3683 -L*) 3684 dir=`echo "X$x" | sed -e 's/^X-L//'` 3685 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 3686 found_dir="$dir" 3687 found_so="$dir/lib$name.$shlibext" 3688 if test -f "$dir/lib$name.la"; then 3689 found_la="$dir/lib$name.la" 3690 fi 3691 else 3692 if test -f "$dir/lib$name.$libext"; then 3693 found_dir="$dir" 3694 found_a="$dir/lib$name.$libext" 3695 if test -f "$dir/lib$name.la"; then 3696 found_la="$dir/lib$name.la" 3697 fi 3698 fi 3699 fi 3700 ;; 3701 esac 3702 if test "X$found_dir" != "X"; then 3703 break 3704 fi 3705 done 3706 fi 3707 if test "X$found_dir" != "X"; then 3708 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 3709 if test "X$found_so" != "X"; then 3710 if test "X$found_dir" = "X/usr/lib"; then 3711 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 3712 else 3713 haveit= 3714 for x in $ltrpathdirs; do 3715 if test "X$x" = "X$found_dir"; then 3716 haveit=yes 3717 break 3718 fi 3719 done 3720 if test -z "$haveit"; then 3721 ltrpathdirs="$ltrpathdirs $found_dir" 3722 fi 3723 if test "$hardcode_direct" = yes; then 3724 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 3725 else 3726 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 3727 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 3728 haveit= 3729 for x in $rpathdirs; do 3730 if test "X$x" = "X$found_dir"; then 3731 haveit=yes 3732 break 3733 fi 3734 done 3735 if test -z "$haveit"; then 3736 rpathdirs="$rpathdirs $found_dir" 3737 fi 3738 else 3739 haveit= 3740 for x in $LDFLAGS $LIBICONV; do 3741 3742 acl_save_prefix="$prefix" 3743 prefix="$acl_final_prefix" 3744 acl_save_exec_prefix="$exec_prefix" 3745 exec_prefix="$acl_final_exec_prefix" 3746 eval x=\"$x\" 3747 exec_prefix="$acl_save_exec_prefix" 3748 prefix="$acl_save_prefix" 3749 3750 if test "X$x" = "X-L$found_dir"; then 3751 haveit=yes 3752 break 3753 fi 3754 done 3755 if test -z "$haveit"; then 3756 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 3757 fi 3758 if test "$hardcode_minus_L" != no; then 3759 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 3760 else 3761 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 3762 fi 3763 fi 3764 fi 3765 fi 3766 else 3767 if test "X$found_a" != "X"; then 3768 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 3769 else 3770 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 3771 fi 3772 fi 3773 additional_includedir= 3774 case "$found_dir" in 3775 */lib | */lib/) 3776 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 3777 additional_includedir="$basedir/include" 3778 ;; 3779 esac 3780 if test "X$additional_includedir" != "X"; then 3781 if test "X$additional_includedir" != "X/usr/include"; then 3782 haveit= 3783 if test "X$additional_includedir" = "X/usr/local/include"; then 3784 if test -n "$GCC"; then 3785 case $host_os in 3786 linux*) haveit=yes;; 3787 esac 3788 fi 3789 fi 3790 if test -z "$haveit"; then 3791 for x in $CPPFLAGS $INCICONV; do 3792 3793 acl_save_prefix="$prefix" 3794 prefix="$acl_final_prefix" 3795 acl_save_exec_prefix="$exec_prefix" 3796 exec_prefix="$acl_final_exec_prefix" 3797 eval x=\"$x\" 3798 exec_prefix="$acl_save_exec_prefix" 3799 prefix="$acl_save_prefix" 3800 3801 if test "X$x" = "X-I$additional_includedir"; then 3802 haveit=yes 3803 break 3804 fi 3805 done 3806 if test -z "$haveit"; then 3807 if test -d "$additional_includedir"; then 3808 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 3809 fi 3810 fi 3811 fi 3812 fi 3813 fi 3814 if test -n "$found_la"; then 3815 save_libdir="$libdir" 3816 case "$found_la" in 3817 */* | *\\*) . "$found_la" ;; 3818 *) . "./$found_la" ;; 3819 esac 3820 libdir="$save_libdir" 3821 for dep in $dependency_libs; do 3822 case "$dep" in 3823 -L*) 3824 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 3825 if test "X$additional_libdir" != "X/usr/lib"; then 3826 haveit= 3827 if test "X$additional_libdir" = "X/usr/local/lib"; then 3828 if test -n "$GCC"; then 3829 case $host_os in 3830 linux*) haveit=yes;; 3831 esac 3832 fi 3833 fi 3834 if test -z "$haveit"; then 3835 haveit= 3836 for x in $LDFLAGS $LIBICONV; do 3837 3838 acl_save_prefix="$prefix" 3839 prefix="$acl_final_prefix" 3840 acl_save_exec_prefix="$exec_prefix" 3841 exec_prefix="$acl_final_exec_prefix" 3842 eval x=\"$x\" 3843 exec_prefix="$acl_save_exec_prefix" 3844 prefix="$acl_save_prefix" 3845 3846 if test "X$x" = "X-L$additional_libdir"; then 3847 haveit=yes 3848 break 3849 fi 3850 done 3851 if test -z "$haveit"; then 3852 if test -d "$additional_libdir"; then 3853 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 3854 fi 3855 fi 3856 haveit= 3857 for x in $LDFLAGS $LTLIBICONV; do 3858 3859 acl_save_prefix="$prefix" 3860 prefix="$acl_final_prefix" 3861 acl_save_exec_prefix="$exec_prefix" 3862 exec_prefix="$acl_final_exec_prefix" 3863 eval x=\"$x\" 3864 exec_prefix="$acl_save_exec_prefix" 3865 prefix="$acl_save_prefix" 3866 3867 if test "X$x" = "X-L$additional_libdir"; then 3868 haveit=yes 3869 break 3870 fi 3871 done 3872 if test -z "$haveit"; then 3873 if test -d "$additional_libdir"; then 3874 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 3875 fi 3876 fi 3877 fi 3878 fi 3879 ;; 3880 -l*) 3881 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 3882 ;; 3883 *.la) 3884 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 3885 ;; 3886 *) 3887 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 3888 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 3889 ;; 3890 esac 3891 done 3892 fi 3893 else 3894 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 3895 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 3896 fi 3897 fi 3898 fi 3899 done 3900 done 3901 if test "X$rpathdirs" != "X"; then 3902 if test -n "$hardcode_libdir_separator"; then 3903 alldirs= 3904 for found_dir in $rpathdirs; do 3905 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 3906 done 3907 acl_save_libdir="$libdir" 3908 libdir="$alldirs" 3909 eval flag=\"$hardcode_libdir_flag_spec\" 3910 libdir="$acl_save_libdir" 3911 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 3912 else 3913 for found_dir in $rpathdirs; do 3914 acl_save_libdir="$libdir" 3915 libdir="$found_dir" 3916 eval flag=\"$hardcode_libdir_flag_spec\" 3917 libdir="$acl_save_libdir" 3918 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 3919 done 3920 fi 3921 fi 3922 if test "X$ltrpathdirs" != "X"; then 3923 for found_dir in $ltrpathdirs; do 3924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 3925 done 3926 fi 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 echo "$as_me:$LINENO: checking whether NLS is requested" >&5 3945 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 3946 # Check whether --enable-nls or --disable-nls was given. 3947 if test "${enable_nls+set}" = set; then 3948 enableval="$enable_nls" 3949 USE_NLS=$enableval 3950 else 3951 USE_NLS=yes 3952 fi; 3953 echo "$as_me:$LINENO: result: $USE_NLS" >&5 3954 echo "${ECHO_T}$USE_NLS" >&6 3955 3956 3957 3958 LIBINTL= 3959 LTLIBINTL= 3960 POSUB= 3961 3962 if test "$USE_NLS" = "yes"; then 3963 gt_use_preinstalled_gnugettext=no 3964 3965 3966 3967 3968 3969 3970 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 3971 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3972 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3973 echo $ECHO_N "(cached) $ECHO_C" >&6 3974 else 3975 cat >conftest.$ac_ext <<_ACEOF 3976 /* confdefs.h. */ 3977 _ACEOF 3978 cat confdefs.h >>conftest.$ac_ext 3979 cat >>conftest.$ac_ext <<_ACEOF 3980 /* end confdefs.h. */ 3981 #include <libintl.h> 3982 extern int _nl_msg_cat_cntr; 3983 extern int *_nl_domain_bindings; 3984 int 3985 main () 3986 { 3987 bindtextdomain ("", ""); 3988 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings 3989 ; 3990 return 0; 3991 } 3992 _ACEOF 3993 rm -f conftest.$ac_objext conftest$ac_exeext 3994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3995 (eval $ac_link) 2>conftest.er1 3996 ac_status=$? 3997 grep -v '^ *+' conftest.er1 >conftest.err 3998 rm -f conftest.er1 3999 cat conftest.err >&5 4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4001 (exit $ac_status); } && 4002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4004 (eval $ac_try) 2>&5 4005 ac_status=$? 4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4007 (exit $ac_status); }; } && 4008 { ac_try='test -s conftest$ac_exeext' 4009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4010 (eval $ac_try) 2>&5 4011 ac_status=$? 4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4013 (exit $ac_status); }; }; then 4014 gt_cv_func_gnugettext1_libc=yes 4015 else 4016 echo "$as_me: failed program was:" >&5 4017 sed 's/^/| /' conftest.$ac_ext >&5 4018 4019 gt_cv_func_gnugettext1_libc=no 4020 fi 4021 rm -f conftest.err conftest.$ac_objext \ 4022 conftest$ac_exeext conftest.$ac_ext 4023 fi 4024 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 4025 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 4026 4027 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 4028 4029 4030 4031 4032 4033 am_save_CPPFLAGS="$CPPFLAGS" 4034 4035 for element in $INCICONV; do 4036 haveit= 4037 for x in $CPPFLAGS; do 4038 4039 acl_save_prefix="$prefix" 4040 prefix="$acl_final_prefix" 4041 acl_save_exec_prefix="$exec_prefix" 4042 exec_prefix="$acl_final_exec_prefix" 4043 eval x=\"$x\" 4044 exec_prefix="$acl_save_exec_prefix" 4045 prefix="$acl_save_prefix" 4046 4047 if test "X$x" = "X$element"; then 4048 haveit=yes 4049 break 4050 fi 4051 done 4052 if test -z "$haveit"; then 4053 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4054 fi 4055 done 4056 4057 4058 echo "$as_me:$LINENO: checking for iconv" >&5 4059 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 4060 if test "${am_cv_func_iconv+set}" = set; then 4061 echo $ECHO_N "(cached) $ECHO_C" >&6 4062 else 4063 4064 am_cv_func_iconv="no, consider installing GNU libiconv" 4065 am_cv_lib_iconv=no 4066 cat >conftest.$ac_ext <<_ACEOF 4067 /* confdefs.h. */ 4068 _ACEOF 4069 cat confdefs.h >>conftest.$ac_ext 4070 cat >>conftest.$ac_ext <<_ACEOF 4071 /* end confdefs.h. */ 4072 #include <stdlib.h> 4073 #include <iconv.h> 4074 int 4075 main () 4076 { 4077 iconv_t cd = iconv_open("",""); 4078 iconv(cd,NULL,NULL,NULL,NULL); 4079 iconv_close(cd); 4080 ; 4081 return 0; 4082 } 4083 _ACEOF 4084 rm -f conftest.$ac_objext conftest$ac_exeext 4085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4086 (eval $ac_link) 2>conftest.er1 4087 ac_status=$? 4088 grep -v '^ *+' conftest.er1 >conftest.err 4089 rm -f conftest.er1 4090 cat conftest.err >&5 4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4092 (exit $ac_status); } && 4093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4095 (eval $ac_try) 2>&5 4096 ac_status=$? 4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4098 (exit $ac_status); }; } && 4099 { ac_try='test -s conftest$ac_exeext' 4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4101 (eval $ac_try) 2>&5 4102 ac_status=$? 4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4104 (exit $ac_status); }; }; then 4105 am_cv_func_iconv=yes 4106 else 4107 echo "$as_me: failed program was:" >&5 4108 sed 's/^/| /' conftest.$ac_ext >&5 4109 4110 fi 4111 rm -f conftest.err conftest.$ac_objext \ 4112 conftest$ac_exeext conftest.$ac_ext 4113 if test "$am_cv_func_iconv" != yes; then 4114 am_save_LIBS="$LIBS" 4115 LIBS="$LIBS $LIBICONV" 4116 cat >conftest.$ac_ext <<_ACEOF 4117 /* confdefs.h. */ 4118 _ACEOF 4119 cat confdefs.h >>conftest.$ac_ext 4120 cat >>conftest.$ac_ext <<_ACEOF 4121 /* end confdefs.h. */ 4122 #include <stdlib.h> 4123 #include <iconv.h> 4124 int 4125 main () 4126 { 4127 iconv_t cd = iconv_open("",""); 4128 iconv(cd,NULL,NULL,NULL,NULL); 4129 iconv_close(cd); 4130 ; 4131 return 0; 4132 } 4133 _ACEOF 4134 rm -f conftest.$ac_objext conftest$ac_exeext 4135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4136 (eval $ac_link) 2>conftest.er1 4137 ac_status=$? 4138 grep -v '^ *+' conftest.er1 >conftest.err 4139 rm -f conftest.er1 4140 cat conftest.err >&5 4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4142 (exit $ac_status); } && 4143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4145 (eval $ac_try) 2>&5 4146 ac_status=$? 4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4148 (exit $ac_status); }; } && 4149 { ac_try='test -s conftest$ac_exeext' 4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4151 (eval $ac_try) 2>&5 4152 ac_status=$? 4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4154 (exit $ac_status); }; }; then 4155 am_cv_lib_iconv=yes 4156 am_cv_func_iconv=yes 4157 else 4158 echo "$as_me: failed program was:" >&5 4159 sed 's/^/| /' conftest.$ac_ext >&5 4160 4161 fi 4162 rm -f conftest.err conftest.$ac_objext \ 4163 conftest$ac_exeext conftest.$ac_ext 4164 LIBS="$am_save_LIBS" 4165 fi 4166 4167 fi 4168 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 4169 echo "${ECHO_T}$am_cv_func_iconv" >&6 4170 if test "$am_cv_func_iconv" = yes; then 4171 4172 cat >>confdefs.h <<\_ACEOF 4173 #define HAVE_ICONV 1 4174 _ACEOF 4175 4176 fi 4177 if test "$am_cv_lib_iconv" = yes; then 4178 echo "$as_me:$LINENO: checking how to link with libiconv" >&5 4179 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 4180 echo "$as_me:$LINENO: result: $LIBICONV" >&5 4181 echo "${ECHO_T}$LIBICONV" >&6 4182 else 4183 CPPFLAGS="$am_save_CPPFLAGS" 4184 LIBICONV= 4185 LTLIBICONV= 4186 fi 4187 4188 4189 4190 4191 4192 4193 use_additional=yes 4194 4195 acl_save_prefix="$prefix" 4196 prefix="$acl_final_prefix" 4197 acl_save_exec_prefix="$exec_prefix" 4198 exec_prefix="$acl_final_exec_prefix" 4199 4200 eval additional_includedir=\"$includedir\" 4201 eval additional_libdir=\"$libdir\" 4202 4203 exec_prefix="$acl_save_exec_prefix" 4204 prefix="$acl_save_prefix" 4205 4206 4207 # Check whether --with-libintl-prefix or --without-libintl-prefix was given. 4208 if test "${with_libintl_prefix+set}" = set; then 4209 withval="$with_libintl_prefix" 4210 4211 if test "X$withval" = "Xno"; then 4212 use_additional=no 4213 else 4214 if test "X$withval" = "X"; then 4215 4216 acl_save_prefix="$prefix" 4217 prefix="$acl_final_prefix" 4218 acl_save_exec_prefix="$exec_prefix" 4219 exec_prefix="$acl_final_exec_prefix" 4220 4221 eval additional_includedir=\"$includedir\" 4222 eval additional_libdir=\"$libdir\" 4223 4224 exec_prefix="$acl_save_exec_prefix" 4225 prefix="$acl_save_prefix" 4226 4227 else 4228 additional_includedir="$withval/include" 4229 additional_libdir="$withval/lib" 4230 fi 4231 fi 4232 4233 fi; 4234 LIBINTL= 4235 LTLIBINTL= 4236 INCINTL= 4237 rpathdirs= 4238 ltrpathdirs= 4239 names_already_handled= 4240 names_next_round='intl ' 4241 while test -n "$names_next_round"; do 4242 names_this_round="$names_next_round" 4243 names_next_round= 4244 for name in $names_this_round; do 4245 already_handled= 4246 for n in $names_already_handled; do 4247 if test "$n" = "$name"; then 4248 already_handled=yes 4249 break 4250 fi 4251 done 4252 if test -z "$already_handled"; then 4253 names_already_handled="$names_already_handled $name" 4254 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4255 eval value=\"\$HAVE_LIB$uppername\" 4256 if test -n "$value"; then 4257 if test "$value" = yes; then 4258 eval value=\"\$LIB$uppername\" 4259 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 4260 eval value=\"\$LTLIB$uppername\" 4261 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 4262 else 4263 : 4264 fi 4265 else 4266 found_dir= 4267 found_la= 4268 found_so= 4269 found_a= 4270 if test $use_additional = yes; then 4271 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 4272 found_dir="$additional_libdir" 4273 found_so="$additional_libdir/lib$name.$shlibext" 4274 if test -f "$additional_libdir/lib$name.la"; then 4275 found_la="$additional_libdir/lib$name.la" 4276 fi 4277 else 4278 if test -f "$additional_libdir/lib$name.$libext"; then 4279 found_dir="$additional_libdir" 4280 found_a="$additional_libdir/lib$name.$libext" 4281 if test -f "$additional_libdir/lib$name.la"; then 4282 found_la="$additional_libdir/lib$name.la" 4283 fi 4284 fi 4285 fi 4286 fi 4287 if test "X$found_dir" = "X"; then 4288 for x in $LDFLAGS $LTLIBINTL; do 4289 4290 acl_save_prefix="$prefix" 4291 prefix="$acl_final_prefix" 4292 acl_save_exec_prefix="$exec_prefix" 4293 exec_prefix="$acl_final_exec_prefix" 4294 eval x=\"$x\" 4295 exec_prefix="$acl_save_exec_prefix" 4296 prefix="$acl_save_prefix" 4297 4298 case "$x" in 4299 -L*) 4300 dir=`echo "X$x" | sed -e 's/^X-L//'` 4301 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 4302 found_dir="$dir" 4303 found_so="$dir/lib$name.$shlibext" 4304 if test -f "$dir/lib$name.la"; then 4305 found_la="$dir/lib$name.la" 4306 fi 4307 else 4308 if test -f "$dir/lib$name.$libext"; then 4309 found_dir="$dir" 4310 found_a="$dir/lib$name.$libext" 4311 if test -f "$dir/lib$name.la"; then 4312 found_la="$dir/lib$name.la" 4313 fi 4314 fi 4315 fi 4316 ;; 4317 esac 4318 if test "X$found_dir" != "X"; then 4319 break 4320 fi 4321 done 4322 fi 4323 if test "X$found_dir" != "X"; then 4324 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 4325 if test "X$found_so" != "X"; then 4326 if test "X$found_dir" = "X/usr/lib"; then 4327 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4328 else 4329 haveit= 4330 for x in $ltrpathdirs; do 4331 if test "X$x" = "X$found_dir"; then 4332 haveit=yes 4333 break 4334 fi 4335 done 4336 if test -z "$haveit"; then 4337 ltrpathdirs="$ltrpathdirs $found_dir" 4338 fi 4339 if test "$hardcode_direct" = yes; then 4340 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4341 else 4342 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4343 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4344 haveit= 4345 for x in $rpathdirs; do 4346 if test "X$x" = "X$found_dir"; then 4347 haveit=yes 4348 break 4349 fi 4350 done 4351 if test -z "$haveit"; then 4352 rpathdirs="$rpathdirs $found_dir" 4353 fi 4354 else 4355 haveit= 4356 for x in $LDFLAGS $LIBINTL; do 4357 4358 acl_save_prefix="$prefix" 4359 prefix="$acl_final_prefix" 4360 acl_save_exec_prefix="$exec_prefix" 4361 exec_prefix="$acl_final_exec_prefix" 4362 eval x=\"$x\" 4363 exec_prefix="$acl_save_exec_prefix" 4364 prefix="$acl_save_prefix" 4365 4366 if test "X$x" = "X-L$found_dir"; then 4367 haveit=yes 4368 break 4369 fi 4370 done 4371 if test -z "$haveit"; then 4372 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 4373 fi 4374 if test "$hardcode_minus_L" != no; then 4375 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 4376 else 4377 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 4378 fi 4379 fi 4380 fi 4381 fi 4382 else 4383 if test "X$found_a" != "X"; then 4384 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 4385 else 4386 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 4387 fi 4388 fi 4389 additional_includedir= 4390 case "$found_dir" in 4391 */lib | */lib/) 4392 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 4393 additional_includedir="$basedir/include" 4394 ;; 4395 esac 4396 if test "X$additional_includedir" != "X"; then 4397 if test "X$additional_includedir" != "X/usr/include"; then 4398 haveit= 4399 if test "X$additional_includedir" = "X/usr/local/include"; then 4400 if test -n "$GCC"; then 4401 case $host_os in 4402 linux*) haveit=yes;; 4403 esac 4404 fi 4405 fi 4406 if test -z "$haveit"; then 4407 for x in $CPPFLAGS $INCINTL; do 4408 4409 acl_save_prefix="$prefix" 4410 prefix="$acl_final_prefix" 4411 acl_save_exec_prefix="$exec_prefix" 4412 exec_prefix="$acl_final_exec_prefix" 4413 eval x=\"$x\" 4414 exec_prefix="$acl_save_exec_prefix" 4415 prefix="$acl_save_prefix" 4416 4417 if test "X$x" = "X-I$additional_includedir"; then 4418 haveit=yes 4419 break 4420 fi 4421 done 4422 if test -z "$haveit"; then 4423 if test -d "$additional_includedir"; then 4424 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 4425 fi 4426 fi 4427 fi 4428 fi 4429 fi 4430 if test -n "$found_la"; then 4431 save_libdir="$libdir" 4432 case "$found_la" in 4433 */* | *\\*) . "$found_la" ;; 4434 *) . "./$found_la" ;; 4435 esac 4436 libdir="$save_libdir" 4437 for dep in $dependency_libs; do 4438 case "$dep" in 4439 -L*) 4440 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4441 if test "X$additional_libdir" != "X/usr/lib"; then 4442 haveit= 4443 if test "X$additional_libdir" = "X/usr/local/lib"; then 4444 if test -n "$GCC"; then 4445 case $host_os in 4446 linux*) haveit=yes;; 4447 esac 4448 fi 4449 fi 4450 if test -z "$haveit"; then 4451 haveit= 4452 for x in $LDFLAGS $LIBINTL; do 4453 4454 acl_save_prefix="$prefix" 4455 prefix="$acl_final_prefix" 4456 acl_save_exec_prefix="$exec_prefix" 4457 exec_prefix="$acl_final_exec_prefix" 4458 eval x=\"$x\" 4459 exec_prefix="$acl_save_exec_prefix" 4460 prefix="$acl_save_prefix" 4461 4462 if test "X$x" = "X-L$additional_libdir"; then 4463 haveit=yes 4464 break 4465 fi 4466 done 4467 if test -z "$haveit"; then 4468 if test -d "$additional_libdir"; then 4469 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 4470 fi 4471 fi 4472 haveit= 4473 for x in $LDFLAGS $LTLIBINTL; do 4474 4475 acl_save_prefix="$prefix" 4476 prefix="$acl_final_prefix" 4477 acl_save_exec_prefix="$exec_prefix" 4478 exec_prefix="$acl_final_exec_prefix" 4479 eval x=\"$x\" 4480 exec_prefix="$acl_save_exec_prefix" 4481 prefix="$acl_save_prefix" 4482 4483 if test "X$x" = "X-L$additional_libdir"; then 4484 haveit=yes 4485 break 4486 fi 4487 done 4488 if test -z "$haveit"; then 4489 if test -d "$additional_libdir"; then 4490 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 4491 fi 4492 fi 4493 fi 4494 fi 4495 ;; 4496 -l*) 4497 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4498 ;; 4499 *.la) 4500 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4501 ;; 4502 *) 4503 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 4504 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 4505 ;; 4506 esac 4507 done 4508 fi 4509 else 4510 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 4511 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 4512 fi 4513 fi 4514 fi 4515 done 4516 done 4517 if test "X$rpathdirs" != "X"; then 4518 if test -n "$hardcode_libdir_separator"; then 4519 alldirs= 4520 for found_dir in $rpathdirs; do 4521 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4522 done 4523 acl_save_libdir="$libdir" 4524 libdir="$alldirs" 4525 eval flag=\"$hardcode_libdir_flag_spec\" 4526 libdir="$acl_save_libdir" 4527 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 4528 else 4529 for found_dir in $rpathdirs; do 4530 acl_save_libdir="$libdir" 4531 libdir="$found_dir" 4532 eval flag=\"$hardcode_libdir_flag_spec\" 4533 libdir="$acl_save_libdir" 4534 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 4535 done 4536 fi 4537 fi 4538 if test "X$ltrpathdirs" != "X"; then 4539 for found_dir in $ltrpathdirs; do 4540 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 4541 done 4542 fi 4543 4544 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 4545 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6 4546 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then 4547 echo $ECHO_N "(cached) $ECHO_C" >&6 4548 else 4549 gt_save_CPPFLAGS="$CPPFLAGS" 4550 CPPFLAGS="$CPPFLAGS $INCINTL" 4551 gt_save_LIBS="$LIBS" 4552 LIBS="$LIBS $LIBINTL" 4553 cat >conftest.$ac_ext <<_ACEOF 4554 /* confdefs.h. */ 4555 _ACEOF 4556 cat confdefs.h >>conftest.$ac_ext 4557 cat >>conftest.$ac_ext <<_ACEOF 4558 /* end confdefs.h. */ 4559 #include <libintl.h> 4560 extern int _nl_msg_cat_cntr; 4561 extern 4562 #ifdef __cplusplus 4563 "C" 4564 #endif 4565 const char *_nl_expand_alias (); 4566 int 4567 main () 4568 { 4569 bindtextdomain ("", ""); 4570 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 4571 ; 4572 return 0; 4573 } 4574 _ACEOF 4575 rm -f conftest.$ac_objext conftest$ac_exeext 4576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4577 (eval $ac_link) 2>conftest.er1 4578 ac_status=$? 4579 grep -v '^ *+' conftest.er1 >conftest.err 4580 rm -f conftest.er1 4581 cat conftest.err >&5 4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4583 (exit $ac_status); } && 4584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4586 (eval $ac_try) 2>&5 4587 ac_status=$? 4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4589 (exit $ac_status); }; } && 4590 { ac_try='test -s conftest$ac_exeext' 4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4592 (eval $ac_try) 2>&5 4593 ac_status=$? 4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4595 (exit $ac_status); }; }; then 4596 gt_cv_func_gnugettext1_libintl=yes 4597 else 4598 echo "$as_me: failed program was:" >&5 4599 sed 's/^/| /' conftest.$ac_ext >&5 4600 4601 gt_cv_func_gnugettext1_libintl=no 4602 fi 4603 rm -f conftest.err conftest.$ac_objext \ 4604 conftest$ac_exeext conftest.$ac_ext 4605 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4606 LIBS="$LIBS $LIBICONV" 4607 cat >conftest.$ac_ext <<_ACEOF 4608 /* confdefs.h. */ 4609 _ACEOF 4610 cat confdefs.h >>conftest.$ac_ext 4611 cat >>conftest.$ac_ext <<_ACEOF 4612 /* end confdefs.h. */ 4613 #include <libintl.h> 4614 extern int _nl_msg_cat_cntr; 4615 extern 4616 #ifdef __cplusplus 4617 "C" 4618 #endif 4619 const char *_nl_expand_alias (); 4620 int 4621 main () 4622 { 4623 bindtextdomain ("", ""); 4624 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 4625 ; 4626 return 0; 4627 } 4628 _ACEOF 4629 rm -f conftest.$ac_objext conftest$ac_exeext 4630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4631 (eval $ac_link) 2>conftest.er1 4632 ac_status=$? 4633 grep -v '^ *+' conftest.er1 >conftest.err 4634 rm -f conftest.er1 4635 cat conftest.err >&5 4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4637 (exit $ac_status); } && 4638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4640 (eval $ac_try) 2>&5 4641 ac_status=$? 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4643 (exit $ac_status); }; } && 4644 { ac_try='test -s conftest$ac_exeext' 4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4646 (eval $ac_try) 2>&5 4647 ac_status=$? 4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4649 (exit $ac_status); }; }; then 4650 LIBINTL="$LIBINTL $LIBICONV" 4651 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 4652 gt_cv_func_gnugettext1_libintl=yes 4653 4654 else 4655 echo "$as_me: failed program was:" >&5 4656 sed 's/^/| /' conftest.$ac_ext >&5 4657 4658 fi 4659 rm -f conftest.err conftest.$ac_objext \ 4660 conftest$ac_exeext conftest.$ac_ext 4661 fi 4662 CPPFLAGS="$gt_save_CPPFLAGS" 4663 LIBS="$gt_save_LIBS" 4664 fi 4665 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4666 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6 4667 fi 4668 4669 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ 4670 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ 4671 && test "$PACKAGE" != gettext; }; then 4672 gt_use_preinstalled_gnugettext=yes 4673 else 4674 LIBINTL= 4675 LTLIBINTL= 4676 INCINTL= 4677 fi 4678 4679 4680 4681 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 4682 || test "$nls_cv_use_gnu_gettext" = "yes"; then 4683 4684 cat >>confdefs.h <<\_ACEOF 4685 #define ENABLE_NLS 1 4686 _ACEOF 4687 4688 else 4689 USE_NLS=no 4690 fi 4691 fi 4692 4693 if test "$USE_NLS" = "yes"; then 4694 4695 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 4696 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 4697 echo "$as_me:$LINENO: checking how to link with libintl" >&5 4698 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6 4699 echo "$as_me:$LINENO: result: $LIBINTL" >&5 4700 echo "${ECHO_T}$LIBINTL" >&6 4701 4702 for element in $INCINTL; do 4703 haveit= 4704 for x in $CPPFLAGS; do 4705 4706 acl_save_prefix="$prefix" 4707 prefix="$acl_final_prefix" 4708 acl_save_exec_prefix="$exec_prefix" 4709 exec_prefix="$acl_final_exec_prefix" 4710 eval x=\"$x\" 4711 exec_prefix="$acl_save_exec_prefix" 4712 prefix="$acl_save_prefix" 4713 4714 if test "X$x" = "X$element"; then 4715 haveit=yes 4716 break 4717 fi 4718 done 4719 if test -z "$haveit"; then 4720 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4721 fi 4722 done 4723 4724 fi 4725 4726 4727 cat >>confdefs.h <<\_ACEOF 4728 #define HAVE_GETTEXT 1 4729 _ACEOF 4730 4731 4732 cat >>confdefs.h <<\_ACEOF 4733 #define HAVE_DCGETTEXT 1 4734 _ACEOF 4735 4736 fi 4737 4738 POSUB=po 4739 fi 4740 4741 4742 4743 INTLLIBS="$LIBINTL" 4744 4745 4746 4747 4748 4749 4750 if test -n "$ac_tool_prefix"; then 4751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4753 echo "$as_me:$LINENO: checking for $ac_word" >&5 4754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4755 if test "${ac_cv_prog_RANLIB+set}" = set; then 4756 echo $ECHO_N "(cached) $ECHO_C" >&6 4757 else 4758 if test -n "$RANLIB"; then 4759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4760 else 4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4762 for as_dir in $PATH 4763 do 4764 IFS=$as_save_IFS 4765 test -z "$as_dir" && as_dir=. 4766 for ac_exec_ext in '' $ac_executable_extensions; do 4767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4768 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4770 break 2 4771 fi 4772 done 4773 done 4774 4775 fi 4776 fi 4777 RANLIB=$ac_cv_prog_RANLIB 4778 if test -n "$RANLIB"; then 4779 echo "$as_me:$LINENO: result: $RANLIB" >&5 4780 echo "${ECHO_T}$RANLIB" >&6 4781 else 4782 echo "$as_me:$LINENO: result: no" >&5 4783 echo "${ECHO_T}no" >&6 4784 fi 4785 4786 fi 4787 if test -z "$ac_cv_prog_RANLIB"; then 4788 ac_ct_RANLIB=$RANLIB 4789 # Extract the first word of "ranlib", so it can be a program name with args. 4790 set dummy ranlib; ac_word=$2 4791 echo "$as_me:$LINENO: checking for $ac_word" >&5 4792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4794 echo $ECHO_N "(cached) $ECHO_C" >&6 4795 else 4796 if test -n "$ac_ct_RANLIB"; then 4797 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4798 else 4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4800 for as_dir in $PATH 4801 do 4802 IFS=$as_save_IFS 4803 test -z "$as_dir" && as_dir=. 4804 for ac_exec_ext in '' $ac_executable_extensions; do 4805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4806 ac_cv_prog_ac_ct_RANLIB="ranlib" 4807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4808 break 2 4809 fi 4810 done 4811 done 4812 4813 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4814 fi 4815 fi 4816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4817 if test -n "$ac_ct_RANLIB"; then 4818 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4819 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4820 else 4821 echo "$as_me:$LINENO: result: no" >&5 4822 echo "${ECHO_T}no" >&6 4823 fi 4824 4825 RANLIB=$ac_ct_RANLIB 4826 else 4827 RANLIB="$ac_cv_prog_RANLIB" 4828 fi 4829 4830 for ac_prog in 'bison -y' byacc 4831 do 4832 # Extract the first word of "$ac_prog", so it can be a program name with args. 4833 set dummy $ac_prog; ac_word=$2 4834 echo "$as_me:$LINENO: checking for $ac_word" >&5 4835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4836 if test "${ac_cv_prog_YACC+set}" = set; then 4837 echo $ECHO_N "(cached) $ECHO_C" >&6 4838 else 4839 if test -n "$YACC"; then 4840 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4841 else 4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4843 for as_dir in $PATH 4844 do 4845 IFS=$as_save_IFS 4846 test -z "$as_dir" && as_dir=. 4847 for ac_exec_ext in '' $ac_executable_extensions; do 4848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4849 ac_cv_prog_YACC="$ac_prog" 4850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4851 break 2 4852 fi 4853 done 4854 done 4855 4856 fi 4857 fi 4858 YACC=$ac_cv_prog_YACC 4859 if test -n "$YACC"; then 4860 echo "$as_me:$LINENO: result: $YACC" >&5 4861 echo "${ECHO_T}$YACC" >&6 4862 else 4863 echo "$as_me:$LINENO: result: no" >&5 4864 echo "${ECHO_T}no" >&6 4865 fi 4866 4867 test -n "$YACC" && break 4868 done 4869 test -n "$YACC" || YACC="yacc" 4870 4871 for ac_prog in flex lex 4872 do 4873 # Extract the first word of "$ac_prog", so it can be a program name with args. 4874 set dummy $ac_prog; ac_word=$2 4875 echo "$as_me:$LINENO: checking for $ac_word" >&5 4876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4877 if test "${ac_cv_prog_LEX+set}" = set; then 4878 echo $ECHO_N "(cached) $ECHO_C" >&6 4879 else 4880 if test -n "$LEX"; then 4881 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4882 else 4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4884 for as_dir in $PATH 4885 do 4886 IFS=$as_save_IFS 4887 test -z "$as_dir" && as_dir=. 4888 for ac_exec_ext in '' $ac_executable_extensions; do 4889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4890 ac_cv_prog_LEX="$ac_prog" 4891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4892 break 2 4893 fi 4894 done 4895 done 4896 4897 fi 4898 fi 4899 LEX=$ac_cv_prog_LEX 4900 if test -n "$LEX"; then 4901 echo "$as_me:$LINENO: result: $LEX" >&5 4902 echo "${ECHO_T}$LEX" >&6 4903 else 4904 echo "$as_me:$LINENO: result: no" >&5 4905 echo "${ECHO_T}no" >&6 4906 fi 4907 4908 test -n "$LEX" && break 4909 done 4910 test -n "$LEX" || LEX=":" 4911 4912 if test -z "$LEXLIB" 4913 then 4914 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 4915 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 4916 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 4917 echo $ECHO_N "(cached) $ECHO_C" >&6 4918 else 4919 ac_check_lib_save_LIBS=$LIBS 4920 LIBS="-lfl $LIBS" 4921 cat >conftest.$ac_ext <<_ACEOF 4922 /* confdefs.h. */ 4923 _ACEOF 4924 cat confdefs.h >>conftest.$ac_ext 4925 cat >>conftest.$ac_ext <<_ACEOF 4926 /* end confdefs.h. */ 4927 4928 /* Override any gcc2 internal prototype to avoid an error. */ 4929 #ifdef __cplusplus 4930 extern "C" 4931 #endif 4932 /* We use char because int might match the return type of a gcc2 4933 builtin and then its argument prototype would still apply. */ 4934 char yywrap (); 4935 int 4936 main () 4937 { 4938 yywrap (); 4939 ; 4940 return 0; 4941 } 4942 _ACEOF 4943 rm -f conftest.$ac_objext conftest$ac_exeext 4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4945 (eval $ac_link) 2>conftest.er1 4946 ac_status=$? 4947 grep -v '^ *+' conftest.er1 >conftest.err 4948 rm -f conftest.er1 4949 cat conftest.err >&5 4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4951 (exit $ac_status); } && 4952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4954 (eval $ac_try) 2>&5 4955 ac_status=$? 4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4957 (exit $ac_status); }; } && 4958 { ac_try='test -s conftest$ac_exeext' 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4960 (eval $ac_try) 2>&5 4961 ac_status=$? 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4963 (exit $ac_status); }; }; then 4964 ac_cv_lib_fl_yywrap=yes 4965 else 4966 echo "$as_me: failed program was:" >&5 4967 sed 's/^/| /' conftest.$ac_ext >&5 4968 4969 ac_cv_lib_fl_yywrap=no 4970 fi 4971 rm -f conftest.err conftest.$ac_objext \ 4972 conftest$ac_exeext conftest.$ac_ext 4973 LIBS=$ac_check_lib_save_LIBS 4974 fi 4975 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 4976 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 4977 if test $ac_cv_lib_fl_yywrap = yes; then 4978 LEXLIB="-lfl" 4979 else 4980 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 4981 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 4982 if test "${ac_cv_lib_l_yywrap+set}" = set; then 4983 echo $ECHO_N "(cached) $ECHO_C" >&6 4984 else 4985 ac_check_lib_save_LIBS=$LIBS 4986 LIBS="-ll $LIBS" 4987 cat >conftest.$ac_ext <<_ACEOF 4988 /* confdefs.h. */ 4989 _ACEOF 4990 cat confdefs.h >>conftest.$ac_ext 4991 cat >>conftest.$ac_ext <<_ACEOF 4992 /* end confdefs.h. */ 4993 4994 /* Override any gcc2 internal prototype to avoid an error. */ 4995 #ifdef __cplusplus 4996 extern "C" 4997 #endif 4998 /* We use char because int might match the return type of a gcc2 4999 builtin and then its argument prototype would still apply. */ 5000 char yywrap (); 5001 int 5002 main () 5003 { 5004 yywrap (); 5005 ; 5006 return 0; 5007 } 5008 _ACEOF 5009 rm -f conftest.$ac_objext conftest$ac_exeext 5010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5011 (eval $ac_link) 2>conftest.er1 5012 ac_status=$? 5013 grep -v '^ *+' conftest.er1 >conftest.err 5014 rm -f conftest.er1 5015 cat conftest.err >&5 5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5017 (exit $ac_status); } && 5018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5020 (eval $ac_try) 2>&5 5021 ac_status=$? 5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5023 (exit $ac_status); }; } && 5024 { ac_try='test -s conftest$ac_exeext' 5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5026 (eval $ac_try) 2>&5 5027 ac_status=$? 5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5029 (exit $ac_status); }; }; then 5030 ac_cv_lib_l_yywrap=yes 5031 else 5032 echo "$as_me: failed program was:" >&5 5033 sed 's/^/| /' conftest.$ac_ext >&5 5034 5035 ac_cv_lib_l_yywrap=no 5036 fi 5037 rm -f conftest.err conftest.$ac_objext \ 5038 conftest$ac_exeext conftest.$ac_ext 5039 LIBS=$ac_check_lib_save_LIBS 5040 fi 5041 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 5042 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 5043 if test $ac_cv_lib_l_yywrap = yes; then 5044 LEXLIB="-ll" 5045 fi 5046 5047 fi 5048 5049 fi 5050 5051 if test "x$LEX" != "x:"; then 5052 echo "$as_me:$LINENO: checking lex output file root" >&5 5053 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 5054 if test "${ac_cv_prog_lex_root+set}" = set; then 5055 echo $ECHO_N "(cached) $ECHO_C" >&6 5056 else 5057 # The minimal lex program is just a single line: %%. But some broken lexes 5058 # (Solaris, I think it was) want two %% lines, so accommodate them. 5059 cat >conftest.l <<_ACEOF 5060 %% 5061 %% 5062 _ACEOF 5063 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 5064 (eval $LEX conftest.l) 2>&5 5065 ac_status=$? 5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5067 (exit $ac_status); } 5068 if test -f lex.yy.c; then 5069 ac_cv_prog_lex_root=lex.yy 5070 elif test -f lexyy.c; then 5071 ac_cv_prog_lex_root=lexyy 5072 else 5073 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 5074 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 5075 { (exit 1); exit 1; }; } 5076 fi 5077 fi 5078 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 5079 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 5080 rm -f conftest.l 5081 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 5082 5083 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 5084 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 5085 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 5086 echo $ECHO_N "(cached) $ECHO_C" >&6 5087 else 5088 # POSIX says lex can declare yytext either as a pointer or an array; the 5089 # default is implementation-dependent. Figure out which it is, since 5090 # not all implementations provide the %pointer and %array declarations. 5091 ac_cv_prog_lex_yytext_pointer=no 5092 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 5093 ac_save_LIBS=$LIBS 5094 LIBS="$LIBS $LEXLIB" 5095 cat >conftest.$ac_ext <<_ACEOF 5096 `cat $LEX_OUTPUT_ROOT.c` 5097 _ACEOF 5098 rm -f conftest.$ac_objext conftest$ac_exeext 5099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5100 (eval $ac_link) 2>conftest.er1 5101 ac_status=$? 5102 grep -v '^ *+' conftest.er1 >conftest.err 5103 rm -f conftest.er1 5104 cat conftest.err >&5 5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5106 (exit $ac_status); } && 5107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5109 (eval $ac_try) 2>&5 5110 ac_status=$? 5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5112 (exit $ac_status); }; } && 5113 { ac_try='test -s conftest$ac_exeext' 5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5115 (eval $ac_try) 2>&5 5116 ac_status=$? 5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5118 (exit $ac_status); }; }; then 5119 ac_cv_prog_lex_yytext_pointer=yes 5120 else 5121 echo "$as_me: failed program was:" >&5 5122 sed 's/^/| /' conftest.$ac_ext >&5 5123 5124 fi 5125 rm -f conftest.err conftest.$ac_objext \ 5126 conftest$ac_exeext conftest.$ac_ext 5127 LIBS=$ac_save_LIBS 5128 rm -f "${LEX_OUTPUT_ROOT}.c" 5129 5130 fi 5131 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 5132 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 5133 if test $ac_cv_prog_lex_yytext_pointer = yes; then 5134 5135 cat >>confdefs.h <<\_ACEOF 5136 #define YYTEXT_POINTER 1 5137 _ACEOF 5138 5139 fi 5140 5141 fi 5142 if test "$LEX" = :; then 5143 LEX=${am_missing_run}flex 5144 fi 5145 5146 echo "$as_me:$LINENO: checking for gcc with C99 support" >&5 5147 echo $ECHO_N "checking for gcc with C99 support... $ECHO_C" >&6 5148 if test "${ac_cv_c99+set}" = set; then 5149 echo $ECHO_N "(cached) $ECHO_C" >&6 5150 else 5151 old_CFLAGS="$CFLAGS" 5152 CFLAGS="$CFLAGS -std=gnu99" 5153 cat >conftest.$ac_ext <<_ACEOF 5154 int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; } 5155 _ACEOF 5156 rm -f conftest.$ac_objext 5157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5158 (eval $ac_compile) 2>conftest.er1 5159 ac_status=$? 5160 grep -v '^ *+' conftest.er1 >conftest.err 5161 rm -f conftest.er1 5162 cat conftest.err >&5 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 (exit $ac_status); } && 5165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5167 (eval $ac_try) 2>&5 5168 ac_status=$? 5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5170 (exit $ac_status); }; } && 5171 { ac_try='test -s conftest.$ac_objext' 5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5173 (eval $ac_try) 2>&5 5174 ac_status=$? 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 (exit $ac_status); }; }; then 5177 ac_cv_c99=yes 5178 else 5179 echo "$as_me: failed program was:" >&5 5180 sed 's/^/| /' conftest.$ac_ext >&5 5181 5182 ac_cv_c99=no 5183 fi 5184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5185 CFLAGS="$old_CFLAGS" 5186 fi 5187 echo "$as_me:$LINENO: result: $ac_cv_c99" >&5 5188 echo "${ECHO_T}$ac_cv_c99" >&6 5189 if test "x$ac_cv_c99" != xyes; then 5190 { { echo "$as_me:$LINENO: error: gcc with C99 support required" >&5 5191 echo "$as_me: error: gcc with C99 support required" >&2;} 5192 { (exit 1); exit 1; }; } 5193 fi 5194 5195 5196 LOCALEDIR=$datadir 5197 5198 cat >>confdefs.h <<_ACEOF 5199 #define LOCALEDIR "$LOCALEDIR" 5200 _ACEOF 5201 5202 5203 5204 5205 DATADIRNAME=$datadir 5206 5207 5208 # Check whether --enable-largefile or --disable-largefile was given. 5209 if test "${enable_largefile+set}" = set; then 5210 enableval="$enable_largefile" 5211 5212 fi; 5213 if test "$enable_largefile" != no; then 5214 5215 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5216 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 5217 if test "${ac_cv_sys_largefile_CC+set}" = set; then 5218 echo $ECHO_N "(cached) $ECHO_C" >&6 5219 else 5220 ac_cv_sys_largefile_CC=no 5221 if test "$GCC" != yes; then 5222 ac_save_CC=$CC 5223 while :; do 5224 # IRIX 6.2 and later do not support large files by default, 5225 # so use the C compiler's -n32 option if that helps. 5226 cat >conftest.$ac_ext <<_ACEOF 5227 /* confdefs.h. */ 5228 _ACEOF 5229 cat confdefs.h >>conftest.$ac_ext 5230 cat >>conftest.$ac_ext <<_ACEOF 5231 /* end confdefs.h. */ 5232 #include <sys/types.h> 5233 /* Check that off_t can represent 2**63 - 1 correctly. 5234 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5235 since some C++ compilers masquerading as C compilers 5236 incorrectly reject 9223372036854775807. */ 5237 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5238 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5239 && LARGE_OFF_T % 2147483647 == 1) 5240 ? 1 : -1]; 5241 int 5242 main () 5243 { 5244 5245 ; 5246 return 0; 5247 } 5248 _ACEOF 5249 rm -f conftest.$ac_objext 5250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5251 (eval $ac_compile) 2>conftest.er1 5252 ac_status=$? 5253 grep -v '^ *+' conftest.er1 >conftest.err 5254 rm -f conftest.er1 5255 cat conftest.err >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 (exit $ac_status); } && 5258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5260 (eval $ac_try) 2>&5 5261 ac_status=$? 5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 (exit $ac_status); }; } && 5264 { ac_try='test -s conftest.$ac_objext' 5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5266 (eval $ac_try) 2>&5 5267 ac_status=$? 5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5269 (exit $ac_status); }; }; then 5270 break 5271 else 5272 echo "$as_me: failed program was:" >&5 5273 sed 's/^/| /' conftest.$ac_ext >&5 5274 5275 fi 5276 rm -f conftest.err conftest.$ac_objext 5277 CC="$CC -n32" 5278 rm -f conftest.$ac_objext 5279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5280 (eval $ac_compile) 2>conftest.er1 5281 ac_status=$? 5282 grep -v '^ *+' conftest.er1 >conftest.err 5283 rm -f conftest.er1 5284 cat conftest.err >&5 5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5286 (exit $ac_status); } && 5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5289 (eval $ac_try) 2>&5 5290 ac_status=$? 5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5292 (exit $ac_status); }; } && 5293 { ac_try='test -s conftest.$ac_objext' 5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5295 (eval $ac_try) 2>&5 5296 ac_status=$? 5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5298 (exit $ac_status); }; }; then 5299 ac_cv_sys_largefile_CC=' -n32'; break 5300 else 5301 echo "$as_me: failed program was:" >&5 5302 sed 's/^/| /' conftest.$ac_ext >&5 5303 5304 fi 5305 rm -f conftest.err conftest.$ac_objext 5306 break 5307 done 5308 CC=$ac_save_CC 5309 rm -f conftest.$ac_ext 5310 fi 5311 fi 5312 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5313 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 5314 if test "$ac_cv_sys_largefile_CC" != no; then 5315 CC=$CC$ac_cv_sys_largefile_CC 5316 fi 5317 5318 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5319 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 5320 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5321 echo $ECHO_N "(cached) $ECHO_C" >&6 5322 else 5323 while :; do 5324 ac_cv_sys_file_offset_bits=no 5325 cat >conftest.$ac_ext <<_ACEOF 5326 /* confdefs.h. */ 5327 _ACEOF 5328 cat confdefs.h >>conftest.$ac_ext 5329 cat >>conftest.$ac_ext <<_ACEOF 5330 /* end confdefs.h. */ 5331 #include <sys/types.h> 5332 /* Check that off_t can represent 2**63 - 1 correctly. 5333 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5334 since some C++ compilers masquerading as C compilers 5335 incorrectly reject 9223372036854775807. */ 5336 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5338 && LARGE_OFF_T % 2147483647 == 1) 5339 ? 1 : -1]; 5340 int 5341 main () 5342 { 5343 5344 ; 5345 return 0; 5346 } 5347 _ACEOF 5348 rm -f conftest.$ac_objext 5349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5350 (eval $ac_compile) 2>conftest.er1 5351 ac_status=$? 5352 grep -v '^ *+' conftest.er1 >conftest.err 5353 rm -f conftest.er1 5354 cat conftest.err >&5 5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5356 (exit $ac_status); } && 5357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5359 (eval $ac_try) 2>&5 5360 ac_status=$? 5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5362 (exit $ac_status); }; } && 5363 { ac_try='test -s conftest.$ac_objext' 5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5365 (eval $ac_try) 2>&5 5366 ac_status=$? 5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5368 (exit $ac_status); }; }; then 5369 break 5370 else 5371 echo "$as_me: failed program was:" >&5 5372 sed 's/^/| /' conftest.$ac_ext >&5 5373 5374 fi 5375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5376 cat >conftest.$ac_ext <<_ACEOF 5377 /* confdefs.h. */ 5378 _ACEOF 5379 cat confdefs.h >>conftest.$ac_ext 5380 cat >>conftest.$ac_ext <<_ACEOF 5381 /* end confdefs.h. */ 5382 #define _FILE_OFFSET_BITS 64 5383 #include <sys/types.h> 5384 /* Check that off_t can represent 2**63 - 1 correctly. 5385 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5386 since some C++ compilers masquerading as C compilers 5387 incorrectly reject 9223372036854775807. */ 5388 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5390 && LARGE_OFF_T % 2147483647 == 1) 5391 ? 1 : -1]; 5392 int 5393 main () 5394 { 5395 5396 ; 5397 return 0; 5398 } 5399 _ACEOF 5400 rm -f conftest.$ac_objext 5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5402 (eval $ac_compile) 2>conftest.er1 5403 ac_status=$? 5404 grep -v '^ *+' conftest.er1 >conftest.err 5405 rm -f conftest.er1 5406 cat conftest.err >&5 5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5408 (exit $ac_status); } && 5409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5411 (eval $ac_try) 2>&5 5412 ac_status=$? 5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5414 (exit $ac_status); }; } && 5415 { ac_try='test -s conftest.$ac_objext' 5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5417 (eval $ac_try) 2>&5 5418 ac_status=$? 5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5420 (exit $ac_status); }; }; then 5421 ac_cv_sys_file_offset_bits=64; break 5422 else 5423 echo "$as_me: failed program was:" >&5 5424 sed 's/^/| /' conftest.$ac_ext >&5 5425 5426 fi 5427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5428 break 5429 done 5430 fi 5431 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5432 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 5433 if test "$ac_cv_sys_file_offset_bits" != no; then 5434 5435 cat >>confdefs.h <<_ACEOF 5436 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5437 _ACEOF 5438 5439 fi 5440 rm -f conftest* 5441 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5442 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 5443 if test "${ac_cv_sys_large_files+set}" = set; then 5444 echo $ECHO_N "(cached) $ECHO_C" >&6 5445 else 5446 while :; do 5447 ac_cv_sys_large_files=no 5448 cat >conftest.$ac_ext <<_ACEOF 5449 /* confdefs.h. */ 5450 _ACEOF 5451 cat confdefs.h >>conftest.$ac_ext 5452 cat >>conftest.$ac_ext <<_ACEOF 5453 /* end confdefs.h. */ 5454 #include <sys/types.h> 5455 /* Check that off_t can represent 2**63 - 1 correctly. 5456 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5457 since some C++ compilers masquerading as C compilers 5458 incorrectly reject 9223372036854775807. */ 5459 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5461 && LARGE_OFF_T % 2147483647 == 1) 5462 ? 1 : -1]; 5463 int 5464 main () 5465 { 5466 5467 ; 5468 return 0; 5469 } 5470 _ACEOF 5471 rm -f conftest.$ac_objext 5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5473 (eval $ac_compile) 2>conftest.er1 5474 ac_status=$? 5475 grep -v '^ *+' conftest.er1 >conftest.err 5476 rm -f conftest.er1 5477 cat conftest.err >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); } && 5480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5482 (eval $ac_try) 2>&5 5483 ac_status=$? 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5485 (exit $ac_status); }; } && 5486 { ac_try='test -s conftest.$ac_objext' 5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5488 (eval $ac_try) 2>&5 5489 ac_status=$? 5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5491 (exit $ac_status); }; }; then 5492 break 5493 else 5494 echo "$as_me: failed program was:" >&5 5495 sed 's/^/| /' conftest.$ac_ext >&5 5496 5497 fi 5498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5499 cat >conftest.$ac_ext <<_ACEOF 5500 /* confdefs.h. */ 5501 _ACEOF 5502 cat confdefs.h >>conftest.$ac_ext 5503 cat >>conftest.$ac_ext <<_ACEOF 5504 /* end confdefs.h. */ 5505 #define _LARGE_FILES 1 5506 #include <sys/types.h> 5507 /* Check that off_t can represent 2**63 - 1 correctly. 5508 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5509 since some C++ compilers masquerading as C compilers 5510 incorrectly reject 9223372036854775807. */ 5511 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5512 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5513 && LARGE_OFF_T % 2147483647 == 1) 5514 ? 1 : -1]; 5515 int 5516 main () 5517 { 5518 5519 ; 5520 return 0; 5521 } 5522 _ACEOF 5523 rm -f conftest.$ac_objext 5524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5525 (eval $ac_compile) 2>conftest.er1 5526 ac_status=$? 5527 grep -v '^ *+' conftest.er1 >conftest.err 5528 rm -f conftest.er1 5529 cat conftest.err >&5 5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5531 (exit $ac_status); } && 5532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5534 (eval $ac_try) 2>&5 5535 ac_status=$? 5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5537 (exit $ac_status); }; } && 5538 { ac_try='test -s conftest.$ac_objext' 5539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5540 (eval $ac_try) 2>&5 5541 ac_status=$? 5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5543 (exit $ac_status); }; }; then 5544 ac_cv_sys_large_files=1; break 5545 else 5546 echo "$as_me: failed program was:" >&5 5547 sed 's/^/| /' conftest.$ac_ext >&5 5548 5549 fi 5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5551 break 5552 done 5553 fi 5554 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5555 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 5556 if test "$ac_cv_sys_large_files" != no; then 5557 5558 cat >>confdefs.h <<_ACEOF 5559 #define _LARGE_FILES $ac_cv_sys_large_files 5560 _ACEOF 5561 5562 fi 5563 rm -f conftest* 5564 fi 5565 5566 5567 native_ld=no 5568 # Check whether --enable-generic or --disable-generic was given. 5569 if test "${enable_generic+set}" = set; then 5570 enableval="$enable_generic" 5571 if test "$enable_generic" = no; then 5572 case "$host_cpu" in 5573 i?86) 5574 cat >>confdefs.h <<\_ACEOF 5575 #define NATIVE_ELF 32 5576 _ACEOF 5577 5578 native_ld=yes 5579 base_cpu=i386 5580 ;; 5581 *) 5582 { { echo "$as_me:$LINENO: error: no machine-specific linker for this configuration available" >&5 5583 echo "$as_me: error: no machine-specific linker for this configuration available" >&2;} 5584 { (exit 1); exit 1; }; } 5585 ;; 5586 esac 5587 fi 5588 fi; 5589 5590 5591 5592 5593 if test "$native_ld" = yes; then 5594 NATIVE_LD_TRUE= 5595 NATIVE_LD_FALSE='#' 5596 else 5597 NATIVE_LD_TRUE='#' 5598 NATIVE_LD_FALSE= 5599 fi 5600 5601 if test -z "$base_cpu"; then 5602 base_cpu=none 5603 fi 5604 5605 5606 5607 use_mudflap=no 5608 # Check whether --enable-mudflap or --disable-mudflap was given. 5609 if test "${enable_mudflap+set}" = set; then 5610 enableval="$enable_mudflap" 5611 if test "x$enable_mudflap" = xyes; then 5612 # Check whether the compiler support -fmudflap. 5613 old_CFLAGS="$CFLAGS" 5614 CFLAGS="$CFLAGS -fmudflap" 5615 cat >conftest.$ac_ext <<_ACEOF 5616 /* confdefs.h. */ 5617 _ACEOF 5618 cat confdefs.h >>conftest.$ac_ext 5619 cat >>conftest.$ac_ext <<_ACEOF 5620 /* end confdefs.h. */ 5621 5622 int 5623 main () 5624 { 5625 5626 ; 5627 return 0; 5628 } 5629 _ACEOF 5630 rm -f conftest.$ac_objext 5631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5632 (eval $ac_compile) 2>conftest.er1 5633 ac_status=$? 5634 grep -v '^ *+' conftest.er1 >conftest.err 5635 rm -f conftest.er1 5636 cat conftest.err >&5 5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5638 (exit $ac_status); } && 5639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5641 (eval $ac_try) 2>&5 5642 ac_status=$? 5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5644 (exit $ac_status); }; } && 5645 { ac_try='test -s conftest.$ac_objext' 5646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5647 (eval $ac_try) 2>&5 5648 ac_status=$? 5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5650 (exit $ac_status); }; }; then 5651 use_mudflap=yes 5652 else 5653 echo "$as_me: failed program was:" >&5 5654 sed 's/^/| /' conftest.$ac_ext >&5 5655 5656 use_mudflap=fail 5657 fi 5658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5659 CFLAGS="$old_CFLAGS" 5660 fi 5661 fi; 5662 if test "$use_mudflap" = fail; then 5663 { { echo "$as_me:$LINENO: error: --enable-mudflap requires a compiler which understands this option 5664 See \`config.log' for more details." >&5 5665 echo "$as_me: error: --enable-mudflap requires a compiler which understands this option 5666 See \`config.log' for more details." >&2;} 5667 { (exit 1); exit 1; }; } 5668 fi 5669 5670 5671 if test "$use_mudflap" = yes; then 5672 MUDFLAP_TRUE= 5673 MUDFLAP_FALSE='#' 5674 else 5675 MUDFLAP_TRUE='#' 5676 MUDFLAP_FALSE= 5677 fi 5678 5679 5680 5681 5682 ac_config_files="$ac_config_files doc/Makefile" 5683 5684 5685 ac_config_files="$ac_config_files lib/Makefile" 5686 5687 5688 ac_config_files="$ac_config_files libelf/Makefile libelf-po/Makefile.in" 5689 5690 5691 ac_config_files="$ac_config_files libebl/Makefile" 5692 5693 5694 ac_config_files="$ac_config_files libdw/Makefile" 5695 5696 5697 ac_config_files="$ac_config_files libcpu/Makefile" 5698 5699 5700 ac_config_files="$ac_config_files libasm/Makefile" 5701 5702 5703 ac_config_files="$ac_config_files src/Makefile po/Makefile.in" 5704 5705 5706 ac_config_files="$ac_config_files tests/Makefile" 5707 5708 5709 5710 5711 5712 5713 cat >confcache <<\_ACEOF 5714 # This file is a shell script that caches the results of configure 5715 # tests run on this system so they can be shared between configure 5716 # scripts and configure runs, see configure's option --config-cache. 5717 # It is not useful on other systems. If it contains results you don't 5718 # want to keep, you may remove or edit it. 5719 # 5720 # config.status only pays attention to the cache file if you give it 5721 # the --recheck option to rerun configure. 5722 # 5723 # `ac_cv_env_foo' variables (set or unset) will be overridden when 5724 # loading this file, other *unset* `ac_cv_foo' will be assigned the 5725 # following values. 5726 5727 _ACEOF 5728 5729 # The following way of writing the cache mishandles newlines in values, 5730 # but we know of no workaround that is simple, portable, and efficient. 5731 # So, don't put newlines in cache variables' values. 5732 # Ultrix sh set writes to stderr and can't be redirected directly, 5733 # and sets the high bit in the cache file unless we assign to the vars. 5734 { 5735 (set) 2>&1 | 5736 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5737 *ac_space=\ *) 5738 # `set' does not quote correctly, so add quotes (double-quote 5739 # substitution turns \\\\ into \\, and sed turns \\ into \). 5740 sed -n \ 5741 "s/'/'\\\\''/g; 5742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5743 ;; 5744 *) 5745 # `set' quotes correctly as required by POSIX, so do not add quotes. 5746 sed -n \ 5747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5748 ;; 5749 esac; 5750 } | 5751 sed ' 5752 t clear 5753 : clear 5754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5755 t end 5756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5757 : end' >>confcache 5758 if diff $cache_file confcache >/dev/null 2>&1; then :; else 5759 if test -w $cache_file; then 5760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5761 cat confcache >$cache_file 5762 else 5763 echo "not updating unwritable cache $cache_file" 5764 fi 5765 fi 5766 rm -f confcache 5767 5768 test "x$prefix" = xNONE && prefix=$ac_default_prefix 5769 # Let make expand exec_prefix. 5770 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5771 5772 # VPATH may cause trouble with some makes, so we remove $(srcdir), 5773 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5774 # trailing colons and then remove the whole line if VPATH becomes empty 5775 # (actually we leave an empty line to preserve line numbers). 5776 if test "x$srcdir" = x.; then 5777 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5778 s/:*\$(srcdir):*/:/; 5779 s/:*\${srcdir}:*/:/; 5780 s/:*@srcdir@:*/:/; 5781 s/^\([^=]*=[ ]*\):*/\1/; 5782 s/:*$//; 5783 s/^[^=]*=[ ]*$//; 5784 }' 5785 fi 5786 5787 DEFS=-DHAVE_CONFIG_H 5788 5789 ac_libobjs= 5790 ac_ltlibobjs= 5791 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5792 # 1. Remove the extension, and $U if already installed. 5793 ac_i=`echo "$ac_i" | 5794 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5795 # 2. Add them. 5796 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5797 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5798 done 5799 LIBOBJS=$ac_libobjs 5800 5801 LTLIBOBJS=$ac_ltlibobjs 5802 5803 5804 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5805 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5806 Usually this means the macro was only invoked conditionally." >&5 5807 echo "$as_me: error: conditional \"AMDEP\" was never defined. 5808 Usually this means the macro was only invoked conditionally." >&2;} 5809 { (exit 1); exit 1; }; } 5810 fi 5811 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5812 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5813 Usually this means the macro was only invoked conditionally." >&5 5814 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5815 Usually this means the macro was only invoked conditionally." >&2;} 5816 { (exit 1); exit 1; }; } 5817 fi 5818 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then 5819 { { echo "$as_me:$LINENO: error: conditional \"NATIVE_LD\" was never defined. 5820 Usually this means the macro was only invoked conditionally." >&5 5821 echo "$as_me: error: conditional \"NATIVE_LD\" was never defined. 5822 Usually this means the macro was only invoked conditionally." >&2;} 5823 { (exit 1); exit 1; }; } 5824 fi 5825 if test -z "${MUDFLAP_TRUE}" && test -z "${MUDFLAP_FALSE}"; then 5826 { { echo "$as_me:$LINENO: error: conditional \"MUDFLAP\" was never defined. 5827 Usually this means the macro was only invoked conditionally." >&5 5828 echo "$as_me: error: conditional \"MUDFLAP\" was never defined. 5829 Usually this means the macro was only invoked conditionally." >&2;} 5830 { (exit 1); exit 1; }; } 5831 fi 5832 5833 : ${CONFIG_STATUS=./config.status} 5834 ac_clean_files_save=$ac_clean_files 5835 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5836 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5837 echo "$as_me: creating $CONFIG_STATUS" >&6;} 5838 cat >$CONFIG_STATUS <<_ACEOF 5839 #! $SHELL 5840 # Generated by $as_me. 5841 # Run this file to recreate the current configuration. 5842 # Compiler output produced by configure, useful for debugging 5843 # configure, is in config.log if it exists. 5844 5845 debug=false 5846 ac_cs_recheck=false 5847 ac_cs_silent=false 5848 SHELL=\${CONFIG_SHELL-$SHELL} 5849 _ACEOF 5850 5851 cat >>$CONFIG_STATUS <<\_ACEOF 5852 ## --------------------- ## 5853 ## M4sh Initialization. ## 5854 ## --------------------- ## 5855 5856 # Be Bourne compatible 5857 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5858 emulate sh 5859 NULLCMD=: 5860 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5861 # is contrary to our usage. Disable this feature. 5862 alias -g '${1+"$@"}'='"$@"' 5863 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5864 set -o posix 5865 fi 5866 DUALCASE=1; export DUALCASE # for MKS sh 5867 5868 # Support unset when possible. 5869 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5870 as_unset=unset 5871 else 5872 as_unset=false 5873 fi 5874 5875 5876 # Work around bugs in pre-3.0 UWIN ksh. 5877 $as_unset ENV MAIL MAILPATH 5878 PS1='$ ' 5879 PS2='> ' 5880 PS4='+ ' 5881 5882 # NLS nuisances. 5883 for as_var in \ 5884 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5885 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5886 LC_TELEPHONE LC_TIME 5887 do 5888 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5889 eval $as_var=C; export $as_var 5890 else 5891 $as_unset $as_var 5892 fi 5893 done 5894 5895 # Required to use basename. 5896 if expr a : '\(a\)' >/dev/null 2>&1; then 5897 as_expr=expr 5898 else 5899 as_expr=false 5900 fi 5901 5902 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5903 as_basename=basename 5904 else 5905 as_basename=false 5906 fi 5907 5908 5909 # Name of the executable. 5910 as_me=`$as_basename "$0" || 5911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5912 X"$0" : 'X\(//\)$' \| \ 5913 X"$0" : 'X\(/\)$' \| \ 5914 . : '\(.\)' 2>/dev/null || 5915 echo X/"$0" | 5916 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5917 /^X\/\(\/\/\)$/{ s//\1/; q; } 5918 /^X\/\(\/\).*/{ s//\1/; q; } 5919 s/.*/./; q'` 5920 5921 5922 # PATH needs CR, and LINENO needs CR and PATH. 5923 # Avoid depending upon Character Ranges. 5924 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5925 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5926 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5927 as_cr_digits='0123456789' 5928 as_cr_alnum=$as_cr_Letters$as_cr_digits 5929 5930 # The user is always right. 5931 if test "${PATH_SEPARATOR+set}" != set; then 5932 echo "#! /bin/sh" >conf$$.sh 5933 echo "exit 0" >>conf$$.sh 5934 chmod +x conf$$.sh 5935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5936 PATH_SEPARATOR=';' 5937 else 5938 PATH_SEPARATOR=: 5939 fi 5940 rm -f conf$$.sh 5941 fi 5942 5943 5944 as_lineno_1=$LINENO 5945 as_lineno_2=$LINENO 5946 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5947 test "x$as_lineno_1" != "x$as_lineno_2" && 5948 test "x$as_lineno_3" = "x$as_lineno_2" || { 5949 # Find who we are. Look in the path if we contain no path at all 5950 # relative or not. 5951 case $0 in 5952 *[\\/]* ) as_myself=$0 ;; 5953 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5954 for as_dir in $PATH 5955 do 5956 IFS=$as_save_IFS 5957 test -z "$as_dir" && as_dir=. 5958 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5959 done 5960 5961 ;; 5962 esac 5963 # We did not find ourselves, most probably we were run as `sh COMMAND' 5964 # in which case we are not to be found in the path. 5965 if test "x$as_myself" = x; then 5966 as_myself=$0 5967 fi 5968 if test ! -f "$as_myself"; then 5969 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5970 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5971 { (exit 1); exit 1; }; } 5972 fi 5973 case $CONFIG_SHELL in 5974 '') 5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5976 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5977 do 5978 IFS=$as_save_IFS 5979 test -z "$as_dir" && as_dir=. 5980 for as_base in sh bash ksh sh5; do 5981 case $as_dir in 5982 /*) 5983 if ("$as_dir/$as_base" -c ' 5984 as_lineno_1=$LINENO 5985 as_lineno_2=$LINENO 5986 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5987 test "x$as_lineno_1" != "x$as_lineno_2" && 5988 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5989 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5990 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5991 CONFIG_SHELL=$as_dir/$as_base 5992 export CONFIG_SHELL 5993 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5994 fi;; 5995 esac 5996 done 5997 done 5998 ;; 5999 esac 6000 6001 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6002 # uniformly replaced by the line number. The first 'sed' inserts a 6003 # line-number line before each line; the second 'sed' does the real 6004 # work. The second script uses 'N' to pair each line-number line 6005 # with the numbered line, and appends trailing '-' during 6006 # substitution so that $LINENO is not a special case at line end. 6007 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6008 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6009 sed '=' <$as_myself | 6010 sed ' 6011 N 6012 s,$,-, 6013 : loop 6014 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6015 t loop 6016 s,-$,, 6017 s,^['$as_cr_digits']*\n,, 6018 ' >$as_me.lineno && 6019 chmod +x $as_me.lineno || 6020 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6021 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6022 { (exit 1); exit 1; }; } 6023 6024 # Don't try to exec as it changes $[0], causing all sort of problems 6025 # (the dirname of $[0] is not the place where we might find the 6026 # original and so on. Autoconf is especially sensible to this). 6027 . ./$as_me.lineno 6028 # Exit status is that of the last command. 6029 exit 6030 } 6031 6032 6033 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6034 *c*,-n*) ECHO_N= ECHO_C=' 6035 ' ECHO_T=' ' ;; 6036 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6037 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 6038 esac 6039 6040 if expr a : '\(a\)' >/dev/null 2>&1; then 6041 as_expr=expr 6042 else 6043 as_expr=false 6044 fi 6045 6046 rm -f conf$$ conf$$.exe conf$$.file 6047 echo >conf$$.file 6048 if ln -s conf$$.file conf$$ 2>/dev/null; then 6049 # We could just check for DJGPP; but this test a) works b) is more generic 6050 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 6051 if test -f conf$$.exe; then 6052 # Don't use ln at all; we don't have any links 6053 as_ln_s='cp -p' 6054 else 6055 as_ln_s='ln -s' 6056 fi 6057 elif ln conf$$.file conf$$ 2>/dev/null; then 6058 as_ln_s=ln 6059 else 6060 as_ln_s='cp -p' 6061 fi 6062 rm -f conf$$ conf$$.exe conf$$.file 6063 6064 if mkdir -p . 2>/dev/null; then 6065 as_mkdir_p=: 6066 else 6067 test -d ./-p && rmdir ./-p 6068 as_mkdir_p=false 6069 fi 6070 6071 as_executable_p="test -f" 6072 6073 # Sed expression to map a string onto a valid CPP name. 6074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6075 6076 # Sed expression to map a string onto a valid variable name. 6077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6078 6079 6080 # IFS 6081 # We need space, tab and new line, in precisely that order. 6082 as_nl=' 6083 ' 6084 IFS=" $as_nl" 6085 6086 # CDPATH. 6087 $as_unset CDPATH 6088 6089 exec 6>&1 6090 6091 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6092 # report actual input values of CONFIG_FILES etc. instead of their 6093 # values after options handling. Logging --version etc. is OK. 6094 exec 5>>config.log 6095 { 6096 echo 6097 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6098 ## Running $as_me. ## 6099 _ASBOX 6100 } >&5 6101 cat >&5 <<_CSEOF 6102 6103 This file was extended by Red Hat elfutils $as_me 0.97, which was 6104 generated by GNU Autoconf 2.59. Invocation command line was 6105 6106 CONFIG_FILES = $CONFIG_FILES 6107 CONFIG_HEADERS = $CONFIG_HEADERS 6108 CONFIG_LINKS = $CONFIG_LINKS 6109 CONFIG_COMMANDS = $CONFIG_COMMANDS 6110 $ $0 $@ 6111 6112 _CSEOF 6113 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 6114 echo >&5 6115 _ACEOF 6116 6117 # Files that config.status was made for. 6118 if test -n "$ac_config_files"; then 6119 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 6120 fi 6121 6122 if test -n "$ac_config_headers"; then 6123 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 6124 fi 6125 6126 if test -n "$ac_config_links"; then 6127 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 6128 fi 6129 6130 if test -n "$ac_config_commands"; then 6131 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 6132 fi 6133 6134 cat >>$CONFIG_STATUS <<\_ACEOF 6135 6136 ac_cs_usage="\ 6137 \`$as_me' instantiates files from templates according to the 6138 current configuration. 6139 6140 Usage: $0 [OPTIONS] [FILE]... 6141 6142 -h, --help print this help, then exit 6143 -V, --version print version number, then exit 6144 -q, --quiet do not print progress messages 6145 -d, --debug don't remove temporary files 6146 --recheck update $as_me by reconfiguring in the same conditions 6147 --file=FILE[:TEMPLATE] 6148 instantiate the configuration file FILE 6149 --header=FILE[:TEMPLATE] 6150 instantiate the configuration header FILE 6151 6152 Configuration files: 6153 $config_files 6154 6155 Configuration headers: 6156 $config_headers 6157 6158 Configuration commands: 6159 $config_commands 6160 6161 Report bugs to <bug-autoconf@gnu.org>." 6162 _ACEOF 6163 6164 cat >>$CONFIG_STATUS <<_ACEOF 6165 ac_cs_version="\\ 6166 Red Hat elfutils config.status 0.97 6167 configured by $0, generated by GNU Autoconf 2.59, 6168 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6169 6170 Copyright (C) 2003 Free Software Foundation, Inc. 6171 This config.status script is free software; the Free Software Foundation 6172 gives unlimited permission to copy, distribute and modify it." 6173 srcdir=$srcdir 6174 INSTALL="$INSTALL" 6175 _ACEOF 6176 6177 cat >>$CONFIG_STATUS <<\_ACEOF 6178 # If no file are specified by the user, then we need to provide default 6179 # value. By we need to know if files were specified by the user. 6180 ac_need_defaults=: 6181 while test $# != 0 6182 do 6183 case $1 in 6184 --*=*) 6185 ac_option=`expr "x$1" : 'x\([^=]*\)='` 6186 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6187 ac_shift=: 6188 ;; 6189 -*) 6190 ac_option=$1 6191 ac_optarg=$2 6192 ac_shift=shift 6193 ;; 6194 *) # This is not an option, so the user has probably given explicit 6195 # arguments. 6196 ac_option=$1 6197 ac_need_defaults=false;; 6198 esac 6199 6200 case $ac_option in 6201 # Handling of the options. 6202 _ACEOF 6203 cat >>$CONFIG_STATUS <<\_ACEOF 6204 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6205 ac_cs_recheck=: ;; 6206 --version | --vers* | -V ) 6207 echo "$ac_cs_version"; exit 0 ;; 6208 --he | --h) 6209 # Conflict between --help and --header 6210 { { echo "$as_me:$LINENO: error: ambiguous option: $1 6211 Try \`$0 --help' for more information." >&5 6212 echo "$as_me: error: ambiguous option: $1 6213 Try \`$0 --help' for more information." >&2;} 6214 { (exit 1); exit 1; }; };; 6215 --help | --hel | -h ) 6216 echo "$ac_cs_usage"; exit 0 ;; 6217 --debug | --d* | -d ) 6218 debug=: ;; 6219 --file | --fil | --fi | --f ) 6220 $ac_shift 6221 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6222 ac_need_defaults=false;; 6223 --header | --heade | --head | --hea ) 6224 $ac_shift 6225 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6226 ac_need_defaults=false;; 6227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6228 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6229 ac_cs_silent=: ;; 6230 6231 # This is an error. 6232 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 6233 Try \`$0 --help' for more information." >&5 6234 echo "$as_me: error: unrecognized option: $1 6235 Try \`$0 --help' for more information." >&2;} 6236 { (exit 1); exit 1; }; } ;; 6237 6238 *) ac_config_targets="$ac_config_targets $1" ;; 6239 6240 esac 6241 shift 6242 done 6243 6244 ac_configure_extra_args= 6245 6246 if $ac_cs_silent; then 6247 exec 6>/dev/null 6248 ac_configure_extra_args="$ac_configure_extra_args --silent" 6249 fi 6250 6251 _ACEOF 6252 cat >>$CONFIG_STATUS <<_ACEOF 6253 if \$ac_cs_recheck; then 6254 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6255 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6256 fi 6257 6258 _ACEOF 6259 6260 cat >>$CONFIG_STATUS <<_ACEOF 6261 # 6262 # INIT-COMMANDS section. 6263 # 6264 6265 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6266 # Capture the value of obsolete $ALL_LINGUAS because we need it to compute 6267 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it 6268 # from automake. 6269 eval 'ALL_LINGUAS''="$ALL_LINGUAS"' 6270 # Capture the value of LINGUAS because we need it to compute CATALOGS. 6271 LINGUAS="${LINGUAS-%UNSET%}" 6272 6273 6274 _ACEOF 6275 6276 6277 6278 cat >>$CONFIG_STATUS <<\_ACEOF 6279 for ac_config_target in $ac_config_targets 6280 do 6281 case "$ac_config_target" in 6282 # Handling of arguments. 6283 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 6284 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6285 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 6286 "elfutils.spec" ) CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;; 6287 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 6288 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 6289 "libelf/Makefile" ) CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;; 6290 "libelf-po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES libelf-po/Makefile.in" ;; 6291 "libebl/Makefile" ) CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;; 6292 "libdw/Makefile" ) CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;; 6293 "libcpu/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;; 6294 "libasm/Makefile" ) CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;; 6295 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 6296 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 6297 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 6298 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6299 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 6300 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6301 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6302 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6303 { (exit 1); exit 1; }; };; 6304 esac 6305 done 6306 6307 # If the user did not use the arguments to specify the items to instantiate, 6308 # then the envvar interface is used. Set only those that are not. 6309 # We use the long form for the default assignment because of an extremely 6310 # bizarre bug on SunOS 4.1.3. 6311 if $ac_need_defaults; then 6312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6315 fi 6316 6317 # Have a temporary directory for convenience. Make it in the build tree 6318 # simply because there is no reason to put it here, and in addition, 6319 # creating and moving files from /tmp can sometimes cause problems. 6320 # Create a temporary directory, and hook for its removal unless debugging. 6321 $debug || 6322 { 6323 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6324 trap '{ (exit 1); exit 1; }' 1 2 13 15 6325 } 6326 6327 # Create a (secure) tmp directory for tmp files. 6328 6329 { 6330 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 6331 test -n "$tmp" && test -d "$tmp" 6332 } || 6333 { 6334 tmp=./confstat$$-$RANDOM 6335 (umask 077 && mkdir $tmp) 6336 } || 6337 { 6338 echo "$me: cannot create a temporary directory in ." >&2 6339 { (exit 1); exit 1; } 6340 } 6341 6342 _ACEOF 6343 6344 cat >>$CONFIG_STATUS <<_ACEOF 6345 6346 # 6347 # CONFIG_FILES section. 6348 # 6349 6350 # No need to generate the scripts if there are no CONFIG_FILES. 6351 # This happens for instance when ./config.status config.h 6352 if test -n "\$CONFIG_FILES"; then 6353 # Protect against being on the right side of a sed subst in config.status. 6354 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 6355 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 6356 s,@SHELL@,$SHELL,;t t 6357 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 6358 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 6359 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 6360 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 6361 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 6362 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 6363 s,@exec_prefix@,$exec_prefix,;t t 6364 s,@prefix@,$prefix,;t t 6365 s,@program_transform_name@,$program_transform_name,;t t 6366 s,@bindir@,$bindir,;t t 6367 s,@sbindir@,$sbindir,;t t 6368 s,@libexecdir@,$libexecdir,;t t 6369 s,@datadir@,$datadir,;t t 6370 s,@sysconfdir@,$sysconfdir,;t t 6371 s,@sharedstatedir@,$sharedstatedir,;t t 6372 s,@localstatedir@,$localstatedir,;t t 6373 s,@libdir@,$libdir,;t t 6374 s,@includedir@,$includedir,;t t 6375 s,@oldincludedir@,$oldincludedir,;t t 6376 s,@infodir@,$infodir,;t t 6377 s,@mandir@,$mandir,;t t 6378 s,@build_alias@,$build_alias,;t t 6379 s,@host_alias@,$host_alias,;t t 6380 s,@target_alias@,$target_alias,;t t 6381 s,@DEFS@,$DEFS,;t t 6382 s,@ECHO_C@,$ECHO_C,;t t 6383 s,@ECHO_N@,$ECHO_N,;t t 6384 s,@ECHO_T@,$ECHO_T,;t t 6385 s,@LIBS@,$LIBS,;t t 6386 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 6387 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 6388 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 6389 s,@CYGPATH_W@,$CYGPATH_W,;t t 6390 s,@PACKAGE@,$PACKAGE,;t t 6391 s,@VERSION@,$VERSION,;t t 6392 s,@ACLOCAL@,$ACLOCAL,;t t 6393 s,@AUTOCONF@,$AUTOCONF,;t t 6394 s,@AUTOMAKE@,$AUTOMAKE,;t t 6395 s,@AUTOHEADER@,$AUTOHEADER,;t t 6396 s,@MAKEINFO@,$MAKEINFO,;t t 6397 s,@install_sh@,$install_sh,;t t 6398 s,@STRIP@,$STRIP,;t t 6399 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 6400 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 6401 s,@mkdir_p@,$mkdir_p,;t t 6402 s,@AWK@,$AWK,;t t 6403 s,@SET_MAKE@,$SET_MAKE,;t t 6404 s,@am__leading_dot@,$am__leading_dot,;t t 6405 s,@AMTAR@,$AMTAR,;t t 6406 s,@am__tar@,$am__tar,;t t 6407 s,@am__untar@,$am__untar,;t t 6408 s,@build@,$build,;t t 6409 s,@build_cpu@,$build_cpu,;t t 6410 s,@build_vendor@,$build_vendor,;t t 6411 s,@build_os@,$build_os,;t t 6412 s,@host@,$host,;t t 6413 s,@host_cpu@,$host_cpu,;t t 6414 s,@host_vendor@,$host_vendor,;t t 6415 s,@host_os@,$host_os,;t t 6416 s,@CC@,$CC,;t t 6417 s,@CFLAGS@,$CFLAGS,;t t 6418 s,@LDFLAGS@,$LDFLAGS,;t t 6419 s,@CPPFLAGS@,$CPPFLAGS,;t t 6420 s,@ac_ct_CC@,$ac_ct_CC,;t t 6421 s,@EXEEXT@,$EXEEXT,;t t 6422 s,@OBJEXT@,$OBJEXT,;t t 6423 s,@DEPDIR@,$DEPDIR,;t t 6424 s,@am__include@,$am__include,;t t 6425 s,@am__quote@,$am__quote,;t t 6426 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 6427 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 6428 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 6429 s,@CCDEPMODE@,$CCDEPMODE,;t t 6430 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 6431 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 6432 s,@CPP@,$CPP,;t t 6433 s,@EGREP@,$EGREP,;t t 6434 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 6435 s,@MSGFMT@,$MSGFMT,;t t 6436 s,@GMSGFMT@,$GMSGFMT,;t t 6437 s,@XGETTEXT@,$XGETTEXT,;t t 6438 s,@MSGMERGE@,$MSGMERGE,;t t 6439 s,@USE_NLS@,$USE_NLS,;t t 6440 s,@LIBICONV@,$LIBICONV,;t t 6441 s,@LTLIBICONV@,$LTLIBICONV,;t t 6442 s,@INTLLIBS@,$INTLLIBS,;t t 6443 s,@LIBINTL@,$LIBINTL,;t t 6444 s,@LTLIBINTL@,$LTLIBINTL,;t t 6445 s,@POSUB@,$POSUB,;t t 6446 s,@RANLIB@,$RANLIB,;t t 6447 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 6448 s,@YACC@,$YACC,;t t 6449 s,@LEX@,$LEX,;t t 6450 s,@LEXLIB@,$LEXLIB,;t t 6451 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 6452 s,@LOCALEDIR@,$LOCALEDIR,;t t 6453 s,@DATADIRNAME@,$DATADIRNAME,;t t 6454 s,@NATIVE_LD_TRUE@,$NATIVE_LD_TRUE,;t t 6455 s,@NATIVE_LD_FALSE@,$NATIVE_LD_FALSE,;t t 6456 s,@base_cpu@,$base_cpu,;t t 6457 s,@MUDFLAP_TRUE@,$MUDFLAP_TRUE,;t t 6458 s,@MUDFLAP_FALSE@,$MUDFLAP_FALSE,;t t 6459 s,@LIBOBJS@,$LIBOBJS,;t t 6460 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 6461 CEOF 6462 6463 _ACEOF 6464 6465 cat >>$CONFIG_STATUS <<\_ACEOF 6466 # Split the substitutions into bite-sized pieces for seds with 6467 # small command number limits, like on Digital OSF/1 and HP-UX. 6468 ac_max_sed_lines=48 6469 ac_sed_frag=1 # Number of current file. 6470 ac_beg=1 # First line for current file. 6471 ac_end=$ac_max_sed_lines # Line after last line for current file. 6472 ac_more_lines=: 6473 ac_sed_cmds= 6474 while $ac_more_lines; do 6475 if test $ac_beg -gt 1; then 6476 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6477 else 6478 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6479 fi 6480 if test ! -s $tmp/subs.frag; then 6481 ac_more_lines=false 6482 else 6483 # The purpose of the label and of the branching condition is to 6484 # speed up the sed processing (if there are no `@' at all, there 6485 # is no need to browse any of the substitutions). 6486 # These are the two extra sed commands mentioned above. 6487 (echo ':t 6488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 6489 if test -z "$ac_sed_cmds"; then 6490 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 6491 else 6492 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 6493 fi 6494 ac_sed_frag=`expr $ac_sed_frag + 1` 6495 ac_beg=$ac_end 6496 ac_end=`expr $ac_end + $ac_max_sed_lines` 6497 fi 6498 done 6499 if test -z "$ac_sed_cmds"; then 6500 ac_sed_cmds=cat 6501 fi 6502 fi # test -n "$CONFIG_FILES" 6503 6504 _ACEOF 6505 cat >>$CONFIG_STATUS <<\_ACEOF 6506 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 6507 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6508 case $ac_file in 6509 - | *:- | *:-:* ) # input from stdin 6510 cat >$tmp/stdin 6511 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6512 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6513 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6514 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6515 * ) ac_file_in=$ac_file.in ;; 6516 esac 6517 6518 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 6519 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6521 X"$ac_file" : 'X\(//\)[^/]' \| \ 6522 X"$ac_file" : 'X\(//\)$' \| \ 6523 X"$ac_file" : 'X\(/\)' \| \ 6524 . : '\(.\)' 2>/dev/null || 6525 echo X"$ac_file" | 6526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6527 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6528 /^X\(\/\/\)$/{ s//\1/; q; } 6529 /^X\(\/\).*/{ s//\1/; q; } 6530 s/.*/./; q'` 6531 { if $as_mkdir_p; then 6532 mkdir -p "$ac_dir" 6533 else 6534 as_dir="$ac_dir" 6535 as_dirs= 6536 while test ! -d "$as_dir"; do 6537 as_dirs="$as_dir $as_dirs" 6538 as_dir=`(dirname "$as_dir") 2>/dev/null || 6539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6540 X"$as_dir" : 'X\(//\)[^/]' \| \ 6541 X"$as_dir" : 'X\(//\)$' \| \ 6542 X"$as_dir" : 'X\(/\)' \| \ 6543 . : '\(.\)' 2>/dev/null || 6544 echo X"$as_dir" | 6545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6546 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6547 /^X\(\/\/\)$/{ s//\1/; q; } 6548 /^X\(\/\).*/{ s//\1/; q; } 6549 s/.*/./; q'` 6550 done 6551 test ! -n "$as_dirs" || mkdir $as_dirs 6552 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6553 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6554 { (exit 1); exit 1; }; }; } 6555 6556 ac_builddir=. 6557 6558 if test "$ac_dir" != .; then 6559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6560 # A "../" for each directory in $ac_dir_suffix. 6561 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6562 else 6563 ac_dir_suffix= ac_top_builddir= 6564 fi 6565 6566 case $srcdir in 6567 .) # No --srcdir option. We are building in place. 6568 ac_srcdir=. 6569 if test -z "$ac_top_builddir"; then 6570 ac_top_srcdir=. 6571 else 6572 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6573 fi ;; 6574 [\\/]* | ?:[\\/]* ) # Absolute path. 6575 ac_srcdir=$srcdir$ac_dir_suffix; 6576 ac_top_srcdir=$srcdir ;; 6577 *) # Relative path. 6578 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6579 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6580 esac 6581 6582 # Do not use `cd foo && pwd` to compute absolute paths, because 6583 # the directories may not exist. 6584 case `pwd` in 6585 .) ac_abs_builddir="$ac_dir";; 6586 *) 6587 case "$ac_dir" in 6588 .) ac_abs_builddir=`pwd`;; 6589 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 6590 *) ac_abs_builddir=`pwd`/"$ac_dir";; 6591 esac;; 6592 esac 6593 case $ac_abs_builddir in 6594 .) ac_abs_top_builddir=${ac_top_builddir}.;; 6595 *) 6596 case ${ac_top_builddir}. in 6597 .) ac_abs_top_builddir=$ac_abs_builddir;; 6598 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 6599 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 6600 esac;; 6601 esac 6602 case $ac_abs_builddir in 6603 .) ac_abs_srcdir=$ac_srcdir;; 6604 *) 6605 case $ac_srcdir in 6606 .) ac_abs_srcdir=$ac_abs_builddir;; 6607 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 6608 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 6609 esac;; 6610 esac 6611 case $ac_abs_builddir in 6612 .) ac_abs_top_srcdir=$ac_top_srcdir;; 6613 *) 6614 case $ac_top_srcdir in 6615 .) ac_abs_top_srcdir=$ac_abs_builddir;; 6616 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 6617 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 6618 esac;; 6619 esac 6620 6621 6622 case $INSTALL in 6623 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6624 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 6625 esac 6626 6627 # Let's still pretend it is `configure' which instantiates (i.e., don't 6628 # use $as_me), people would be surprised to read: 6629 # /* config.h. Generated by config.status. */ 6630 if test x"$ac_file" = x-; then 6631 configure_input= 6632 else 6633 configure_input="$ac_file. " 6634 fi 6635 configure_input=$configure_input"Generated from `echo $ac_file_in | 6636 sed 's,.*/,,'` by configure." 6637 6638 # First look for the input files in the build tree, otherwise in the 6639 # src tree. 6640 ac_file_inputs=`IFS=: 6641 for f in $ac_file_in; do 6642 case $f in 6643 -) echo $tmp/stdin ;; 6644 [\\/$]*) 6645 # Absolute (can't be DOS-style, as IFS=:) 6646 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6647 echo "$as_me: error: cannot find input file: $f" >&2;} 6648 { (exit 1); exit 1; }; } 6649 echo "$f";; 6650 *) # Relative 6651 if test -f "$f"; then 6652 # Build tree 6653 echo "$f" 6654 elif test -f "$srcdir/$f"; then 6655 # Source tree 6656 echo "$srcdir/$f" 6657 else 6658 # /dev/null tree 6659 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6660 echo "$as_me: error: cannot find input file: $f" >&2;} 6661 { (exit 1); exit 1; }; } 6662 fi;; 6663 esac 6664 done` || { (exit 1); exit 1; } 6665 6666 if test x"$ac_file" != x-; then 6667 { echo "$as_me:$LINENO: creating $ac_file" >&5 6668 echo "$as_me: creating $ac_file" >&6;} 6669 rm -f "$ac_file" 6670 fi 6671 _ACEOF 6672 cat >>$CONFIG_STATUS <<_ACEOF 6673 sed "$ac_vpsub 6674 $extrasub 6675 _ACEOF 6676 cat >>$CONFIG_STATUS <<\_ACEOF 6677 :t 6678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6679 s,@configure_input@,$configure_input,;t t 6680 s,@srcdir@,$ac_srcdir,;t t 6681 s,@abs_srcdir@,$ac_abs_srcdir,;t t 6682 s,@top_srcdir@,$ac_top_srcdir,;t t 6683 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6684 s,@builddir@,$ac_builddir,;t t 6685 s,@abs_builddir@,$ac_abs_builddir,;t t 6686 s,@top_builddir@,$ac_top_builddir,;t t 6687 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6688 s,@INSTALL@,$ac_INSTALL,;t t 6689 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6690 rm -f $tmp/stdin 6691 if test x"$ac_file" != x-; then 6692 mv $tmp/out $ac_file 6693 else 6694 cat $tmp/out 6695 rm -f $tmp/out 6696 fi 6697 6698 done 6699 _ACEOF 6700 cat >>$CONFIG_STATUS <<\_ACEOF 6701 6702 # 6703 # CONFIG_HEADER section. 6704 # 6705 6706 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6707 # NAME is the cpp macro being defined and VALUE is the value it is being given. 6708 # 6709 # ac_d sets the value in "#define NAME VALUE" lines. 6710 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6711 ac_dB='[ ].*$,\1#\2' 6712 ac_dC=' ' 6713 ac_dD=',;t' 6714 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6715 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6716 ac_uB='$,\1#\2define\3' 6717 ac_uC=' ' 6718 ac_uD=',;t' 6719 6720 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 6721 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6722 case $ac_file in 6723 - | *:- | *:-:* ) # input from stdin 6724 cat >$tmp/stdin 6725 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6726 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6727 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6729 * ) ac_file_in=$ac_file.in ;; 6730 esac 6731 6732 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 6733 echo "$as_me: creating $ac_file" >&6;} 6734 6735 # First look for the input files in the build tree, otherwise in the 6736 # src tree. 6737 ac_file_inputs=`IFS=: 6738 for f in $ac_file_in; do 6739 case $f in 6740 -) echo $tmp/stdin ;; 6741 [\\/$]*) 6742 # Absolute (can't be DOS-style, as IFS=:) 6743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6744 echo "$as_me: error: cannot find input file: $f" >&2;} 6745 { (exit 1); exit 1; }; } 6746 # Do quote $f, to prevent DOS paths from being IFS'd. 6747 echo "$f";; 6748 *) # Relative 6749 if test -f "$f"; then 6750 # Build tree 6751 echo "$f" 6752 elif test -f "$srcdir/$f"; then 6753 # Source tree 6754 echo "$srcdir/$f" 6755 else 6756 # /dev/null tree 6757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6758 echo "$as_me: error: cannot find input file: $f" >&2;} 6759 { (exit 1); exit 1; }; } 6760 fi;; 6761 esac 6762 done` || { (exit 1); exit 1; } 6763 # Remove the trailing spaces. 6764 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 6765 6766 _ACEOF 6767 6768 # Transform confdefs.h into two sed scripts, `conftest.defines' and 6769 # `conftest.undefs', that substitutes the proper values into 6770 # config.h.in to produce config.h. The first handles `#define' 6771 # templates, and the second `#undef' templates. 6772 # And first: Protect against being on the right side of a sed subst in 6773 # config.status. Protect against being in an unquoted here document 6774 # in config.status. 6775 rm -f conftest.defines conftest.undefs 6776 # Using a here document instead of a string reduces the quoting nightmare. 6777 # Putting comments in sed scripts is not portable. 6778 # 6779 # `end' is used to avoid that the second main sed command (meant for 6780 # 0-ary CPP macros) applies to n-ary macro definitions. 6781 # See the Autoconf documentation for `clear'. 6782 cat >confdef2sed.sed <<\_ACEOF 6783 s/[\\&,]/\\&/g 6784 s,[\\$`],\\&,g 6785 t clear 6786 : clear 6787 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 6788 t end 6789 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 6790 : end 6791 _ACEOF 6792 # If some macros were called several times there might be several times 6793 # the same #defines, which is useless. Nevertheless, we may not want to 6794 # sort them, since we want the *last* AC-DEFINE to be honored. 6795 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6796 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6797 rm -f confdef2sed.sed 6798 6799 # This sed command replaces #undef with comments. This is necessary, for 6800 # example, in the case of _POSIX_SOURCE, which is predefined and required 6801 # on some systems where configure will not decide to define it. 6802 cat >>conftest.undefs <<\_ACEOF 6803 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6804 _ACEOF 6805 6806 # Break up conftest.defines because some shells have a limit on the size 6807 # of here documents, and old seds have small limits too (100 cmds). 6808 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6809 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6810 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6811 echo ' :' >>$CONFIG_STATUS 6812 rm -f conftest.tail 6813 while grep . conftest.defines >/dev/null 6814 do 6815 # Write a limited-size here document to $tmp/defines.sed. 6816 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6817 # Speed up: don't consider the non `#define' lines. 6818 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6819 # Work around the forget-to-reset-the-flag bug. 6820 echo 't clr' >>$CONFIG_STATUS 6821 echo ': clr' >>$CONFIG_STATUS 6822 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 6823 echo 'CEOF 6824 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6825 rm -f $tmp/in 6826 mv $tmp/out $tmp/in 6827 ' >>$CONFIG_STATUS 6828 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6829 rm -f conftest.defines 6830 mv conftest.tail conftest.defines 6831 done 6832 rm -f conftest.defines 6833 echo ' fi # grep' >>$CONFIG_STATUS 6834 echo >>$CONFIG_STATUS 6835 6836 # Break up conftest.undefs because some shells have a limit on the size 6837 # of here documents, and old seds have small limits too (100 cmds). 6838 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6839 rm -f conftest.tail 6840 while grep . conftest.undefs >/dev/null 6841 do 6842 # Write a limited-size here document to $tmp/undefs.sed. 6843 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6844 # Speed up: don't consider the non `#undef' 6845 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6846 # Work around the forget-to-reset-the-flag bug. 6847 echo 't clr' >>$CONFIG_STATUS 6848 echo ': clr' >>$CONFIG_STATUS 6849 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6850 echo 'CEOF 6851 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6852 rm -f $tmp/in 6853 mv $tmp/out $tmp/in 6854 ' >>$CONFIG_STATUS 6855 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6856 rm -f conftest.undefs 6857 mv conftest.tail conftest.undefs 6858 done 6859 rm -f conftest.undefs 6860 6861 cat >>$CONFIG_STATUS <<\_ACEOF 6862 # Let's still pretend it is `configure' which instantiates (i.e., don't 6863 # use $as_me), people would be surprised to read: 6864 # /* config.h. Generated by config.status. */ 6865 if test x"$ac_file" = x-; then 6866 echo "/* Generated by configure. */" >$tmp/config.h 6867 else 6868 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 6869 fi 6870 cat $tmp/in >>$tmp/config.h 6871 rm -f $tmp/in 6872 if test x"$ac_file" != x-; then 6873 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 6874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6875 echo "$as_me: $ac_file is unchanged" >&6;} 6876 else 6877 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6879 X"$ac_file" : 'X\(//\)[^/]' \| \ 6880 X"$ac_file" : 'X\(//\)$' \| \ 6881 X"$ac_file" : 'X\(/\)' \| \ 6882 . : '\(.\)' 2>/dev/null || 6883 echo X"$ac_file" | 6884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6885 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6886 /^X\(\/\/\)$/{ s//\1/; q; } 6887 /^X\(\/\).*/{ s//\1/; q; } 6888 s/.*/./; q'` 6889 { if $as_mkdir_p; then 6890 mkdir -p "$ac_dir" 6891 else 6892 as_dir="$ac_dir" 6893 as_dirs= 6894 while test ! -d "$as_dir"; do 6895 as_dirs="$as_dir $as_dirs" 6896 as_dir=`(dirname "$as_dir") 2>/dev/null || 6897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6898 X"$as_dir" : 'X\(//\)[^/]' \| \ 6899 X"$as_dir" : 'X\(//\)$' \| \ 6900 X"$as_dir" : 'X\(/\)' \| \ 6901 . : '\(.\)' 2>/dev/null || 6902 echo X"$as_dir" | 6903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6904 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6905 /^X\(\/\/\)$/{ s//\1/; q; } 6906 /^X\(\/\).*/{ s//\1/; q; } 6907 s/.*/./; q'` 6908 done 6909 test ! -n "$as_dirs" || mkdir $as_dirs 6910 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6912 { (exit 1); exit 1; }; }; } 6913 6914 rm -f $ac_file 6915 mv $tmp/config.h $ac_file 6916 fi 6917 else 6918 cat $tmp/config.h 6919 rm -f $tmp/config.h 6920 fi 6921 # Compute $ac_file's index in $config_headers. 6922 _am_stamp_count=1 6923 for _am_header in $config_headers :; do 6924 case $_am_header in 6925 $ac_file | $ac_file:* ) 6926 break ;; 6927 * ) 6928 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6929 esac 6930 done 6931 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 6932 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6933 X$ac_file : 'X\(//\)[^/]' \| \ 6934 X$ac_file : 'X\(//\)$' \| \ 6935 X$ac_file : 'X\(/\)' \| \ 6936 . : '\(.\)' 2>/dev/null || 6937 echo X$ac_file | 6938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6939 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6940 /^X\(\/\/\)$/{ s//\1/; q; } 6941 /^X\(\/\).*/{ s//\1/; q; } 6942 s/.*/./; q'`/stamp-h$_am_stamp_count 6943 done 6944 _ACEOF 6945 cat >>$CONFIG_STATUS <<\_ACEOF 6946 6947 # 6948 # CONFIG_COMMANDS section. 6949 # 6950 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 6951 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 6952 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 6953 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 6954 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6955 X"$ac_dest" : 'X\(//\)[^/]' \| \ 6956 X"$ac_dest" : 'X\(//\)$' \| \ 6957 X"$ac_dest" : 'X\(/\)' \| \ 6958 . : '\(.\)' 2>/dev/null || 6959 echo X"$ac_dest" | 6960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6961 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6962 /^X\(\/\/\)$/{ s//\1/; q; } 6963 /^X\(\/\).*/{ s//\1/; q; } 6964 s/.*/./; q'` 6965 { if $as_mkdir_p; then 6966 mkdir -p "$ac_dir" 6967 else 6968 as_dir="$ac_dir" 6969 as_dirs= 6970 while test ! -d "$as_dir"; do 6971 as_dirs="$as_dir $as_dirs" 6972 as_dir=`(dirname "$as_dir") 2>/dev/null || 6973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6974 X"$as_dir" : 'X\(//\)[^/]' \| \ 6975 X"$as_dir" : 'X\(//\)$' \| \ 6976 X"$as_dir" : 'X\(/\)' \| \ 6977 . : '\(.\)' 2>/dev/null || 6978 echo X"$as_dir" | 6979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6980 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6981 /^X\(\/\/\)$/{ s//\1/; q; } 6982 /^X\(\/\).*/{ s//\1/; q; } 6983 s/.*/./; q'` 6984 done 6985 test ! -n "$as_dirs" || mkdir $as_dirs 6986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6988 { (exit 1); exit 1; }; }; } 6989 6990 ac_builddir=. 6991 6992 if test "$ac_dir" != .; then 6993 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6994 # A "../" for each directory in $ac_dir_suffix. 6995 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6996 else 6997 ac_dir_suffix= ac_top_builddir= 6998 fi 6999 7000 case $srcdir in 7001 .) # No --srcdir option. We are building in place. 7002 ac_srcdir=. 7003 if test -z "$ac_top_builddir"; then 7004 ac_top_srcdir=. 7005 else 7006 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7007 fi ;; 7008 [\\/]* | ?:[\\/]* ) # Absolute path. 7009 ac_srcdir=$srcdir$ac_dir_suffix; 7010 ac_top_srcdir=$srcdir ;; 7011 *) # Relative path. 7012 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7013 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7014 esac 7015 7016 # Do not use `cd foo && pwd` to compute absolute paths, because 7017 # the directories may not exist. 7018 case `pwd` in 7019 .) ac_abs_builddir="$ac_dir";; 7020 *) 7021 case "$ac_dir" in 7022 .) ac_abs_builddir=`pwd`;; 7023 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7024 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7025 esac;; 7026 esac 7027 case $ac_abs_builddir in 7028 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7029 *) 7030 case ${ac_top_builddir}. in 7031 .) ac_abs_top_builddir=$ac_abs_builddir;; 7032 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7033 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7034 esac;; 7035 esac 7036 case $ac_abs_builddir in 7037 .) ac_abs_srcdir=$ac_srcdir;; 7038 *) 7039 case $ac_srcdir in 7040 .) ac_abs_srcdir=$ac_abs_builddir;; 7041 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7042 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7043 esac;; 7044 esac 7045 case $ac_abs_builddir in 7046 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7047 *) 7048 case $ac_top_srcdir in 7049 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7050 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7051 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7052 esac;; 7053 esac 7054 7055 7056 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 7057 echo "$as_me: executing $ac_dest commands" >&6;} 7058 case $ac_dest in 7059 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 7060 # Strip MF so we end up with the name of the file. 7061 mf=`echo "$mf" | sed -e 's/:.*$//'` 7062 # Check whether this is an Automake generated Makefile or not. 7063 # We used to match only the files named `Makefile.in', but 7064 # some people rename them; so instead we look at the file content. 7065 # Grep'ing the first line is not enough: some people post-process 7066 # each Makefile.in and add a new line on top of each file to say so. 7067 # So let's grep whole file. 7068 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 7069 dirpart=`(dirname "$mf") 2>/dev/null || 7070 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7071 X"$mf" : 'X\(//\)[^/]' \| \ 7072 X"$mf" : 'X\(//\)$' \| \ 7073 X"$mf" : 'X\(/\)' \| \ 7074 . : '\(.\)' 2>/dev/null || 7075 echo X"$mf" | 7076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7077 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7078 /^X\(\/\/\)$/{ s//\1/; q; } 7079 /^X\(\/\).*/{ s//\1/; q; } 7080 s/.*/./; q'` 7081 else 7082 continue 7083 fi 7084 # Extract the definition of DEPDIR, am__include, and am__quote 7085 # from the Makefile without running `make'. 7086 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7087 test -z "$DEPDIR" && continue 7088 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7089 test -z "am__include" && continue 7090 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7091 # When using ansi2knr, U may be empty or an underscore; expand it 7092 U=`sed -n 's/^U = //p' < "$mf"` 7093 # Find all dependency output files, they are included files with 7094 # $(DEPDIR) in their names. We invoke sed twice because it is the 7095 # simplest approach to changing $(DEPDIR) to its actual value in the 7096 # expansion. 7097 for file in `sed -n " 7098 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7099 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7100 # Make sure the directory exists. 7101 test -f "$dirpart/$file" && continue 7102 fdir=`(dirname "$file") 2>/dev/null || 7103 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7104 X"$file" : 'X\(//\)[^/]' \| \ 7105 X"$file" : 'X\(//\)$' \| \ 7106 X"$file" : 'X\(/\)' \| \ 7107 . : '\(.\)' 2>/dev/null || 7108 echo X"$file" | 7109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7110 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7111 /^X\(\/\/\)$/{ s//\1/; q; } 7112 /^X\(\/\).*/{ s//\1/; q; } 7113 s/.*/./; q'` 7114 { if $as_mkdir_p; then 7115 mkdir -p $dirpart/$fdir 7116 else 7117 as_dir=$dirpart/$fdir 7118 as_dirs= 7119 while test ! -d "$as_dir"; do 7120 as_dirs="$as_dir $as_dirs" 7121 as_dir=`(dirname "$as_dir") 2>/dev/null || 7122 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7123 X"$as_dir" : 'X\(//\)[^/]' \| \ 7124 X"$as_dir" : 'X\(//\)$' \| \ 7125 X"$as_dir" : 'X\(/\)' \| \ 7126 . : '\(.\)' 2>/dev/null || 7127 echo X"$as_dir" | 7128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7129 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7130 /^X\(\/\/\)$/{ s//\1/; q; } 7131 /^X\(\/\).*/{ s//\1/; q; } 7132 s/.*/./; q'` 7133 done 7134 test ! -n "$as_dirs" || mkdir $as_dirs 7135 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 7136 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 7137 { (exit 1); exit 1; }; }; } 7138 7139 # echo "creating $dirpart/$file" 7140 echo '# dummy' > "$dirpart/$file" 7141 done 7142 done 7143 ;; 7144 default-1 ) 7145 for ac_file in $CONFIG_FILES; do 7146 # Support "outfile[:infile[:infile...]]" 7147 case "$ac_file" in 7148 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 7149 esac 7150 # PO directories have a Makefile.in generated from Makefile.in.in. 7151 case "$ac_file" in */Makefile.in) 7152 # Adjust a relative srcdir. 7153 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 7154 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 7155 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 7156 # In autoconf-2.13 it is called $ac_given_srcdir. 7157 # In autoconf-2.50 it is called $srcdir. 7158 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 7159 case "$ac_given_srcdir" in 7160 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 7161 /*) top_srcdir="$ac_given_srcdir" ;; 7162 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 7163 esac 7164 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 7165 rm -f "$ac_dir/POTFILES" 7166 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 7167 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 7168 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend 7169 # on $ac_dir but don't depend on user-specified configuration 7170 # parameters. 7171 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 7172 # The LINGUAS file contains the set of available languages. 7173 if test -n "$ALL_LINGUAS"; then 7174 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 7175 fi 7176 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` 7177 # Hide the ALL_LINGUAS assigment from automake. 7178 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 7179 fi 7180 case "$ac_given_srcdir" in 7181 .) srcdirpre= ;; 7182 *) srcdirpre='$(srcdir)/' ;; 7183 esac 7184 POFILES= 7185 GMOFILES= 7186 UPDATEPOFILES= 7187 DUMMYPOFILES= 7188 for lang in $ALL_LINGUAS; do 7189 POFILES="$POFILES $srcdirpre$lang.po" 7190 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 7191 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 7192 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 7193 done 7194 # CATALOGS depends on both $ac_dir and the user's LINGUAS 7195 # environment variable. 7196 INST_LINGUAS= 7197 if test -n "$ALL_LINGUAS"; then 7198 for presentlang in $ALL_LINGUAS; do 7199 useit=no 7200 if test "%UNSET%" != "$LINGUAS"; then 7201 desiredlanguages="$LINGUAS" 7202 else 7203 desiredlanguages="$ALL_LINGUAS" 7204 fi 7205 for desiredlang in $desiredlanguages; do 7206 # Use the presentlang catalog if desiredlang is 7207 # a. equal to presentlang, or 7208 # b. a variant of presentlang (because in this case, 7209 # presentlang can be used as a fallback for messages 7210 # which are not translated in the desiredlang catalog). 7211 case "$desiredlang" in 7212 "$presentlang"*) useit=yes;; 7213 esac 7214 done 7215 if test $useit = yes; then 7216 INST_LINGUAS="$INST_LINGUAS $presentlang" 7217 fi 7218 done 7219 fi 7220 CATALOGS= 7221 if test -n "$INST_LINGUAS"; then 7222 for lang in $INST_LINGUAS; do 7223 CATALOGS="$CATALOGS $lang.gmo" 7224 done 7225 fi 7226 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 7227 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 7228 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 7229 if test -f "$f"; then 7230 case "$f" in 7231 *.orig | *.bak | *~) ;; 7232 *) cat "$f" >> "$ac_dir/Makefile" ;; 7233 esac 7234 fi 7235 done 7236 fi 7237 ;; 7238 esac 7239 done ;; 7240 esac 7241 done 7242 _ACEOF 7243 7244 cat >>$CONFIG_STATUS <<\_ACEOF 7245 7246 { (exit 0); exit 0; } 7247 _ACEOF 7248 chmod +x $CONFIG_STATUS 7249 ac_clean_files=$ac_clean_files_save 7250 7251 7252 # configure is writing to config.log, and then calls config.status. 7253 # config.status does its own redirection, appending to config.log. 7254 # Unfortunately, on DOS this fails, as config.log is still kept open 7255 # by configure, so config.status won't be able to write to it; its 7256 # output is simply discarded. So we exec the FD to /dev/null, 7257 # effectively closing config.log, so it can be properly (re)opened and 7258 # appended to by config.status. When coming back to configure, we 7259 # need to make the FD available again. 7260 if test "$no_create" != yes; then 7261 ac_cs_success=: 7262 ac_config_status_args= 7263 test "$silent" = yes && 7264 ac_config_status_args="$ac_config_status_args --quiet" 7265 exec 5>/dev/null 7266 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7267 exec 5>>config.log 7268 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7269 # would make configure fail if this is the last instruction. 7270 $ac_cs_success || { (exit 1); exit 1; } 7271 fi 7272 7273