1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for parcellite 1.2.1. 4@%:@ 5@%:@ Report bugs to <gpib@rickyrockrat.net>. 6@%:@ 7@%:@ 8@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9@%:@ 10@%:@ 11@%:@ This configure script is free software; the Free Software Foundation 12@%:@ gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in @%:@( 28 *posix*) : 29 set -o posix ;; @%:@( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in @%:@( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in @%:@(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in @%:@ (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in @%:@( 172 *posix*) : 173 set -o posix ;; @%:@( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in @%:@( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in @%:@ (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: gpib@rickyrockrat.net about your system, including any 271$0: error possibly output before this message. Then install 272$0: a modern shell, or manually run the script under such a 273$0: shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288@%:@ as_fn_unset VAR 289@%:@ --------------- 290@%:@ Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297@%:@ as_fn_set_status STATUS 298@%:@ ----------------------- 299@%:@ Set @S|@? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} @%:@ as_fn_set_status 304 305@%:@ as_fn_exit STATUS 306@%:@ ----------------- 307@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} @%:@ as_fn_exit 314 315@%:@ as_fn_mkdir_p 316@%:@ ------------- 317@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} @%:@ as_fn_mkdir_p 362 363@%:@ as_fn_executable_p FILE 364@%:@ ----------------------- 365@%:@ Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} @%:@ as_fn_executable_p 370@%:@ as_fn_append VAR VALUE 371@%:@ ---------------------- 372@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 373@%:@ advantage of any shell optimizations that allow amortized linear growth over 374@%:@ repeated appends, instead of the typical quadratic growth present in naive 375@%:@ implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388@%:@ as_fn_arith ARG... 389@%:@ ------------------ 390@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 391@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 392@%:@ must be portable across @S|@(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 407@%:@ ---------------------------------------- 408@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410@%:@ script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} @%:@ as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in @%:@((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIB@&t@OBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='parcellite' 582PACKAGE_TARNAME='parcellite' 583PACKAGE_VERSION='1.2.1' 584PACKAGE_STRING='parcellite 1.2.1' 585PACKAGE_BUGREPORT='gpib@rickyrockrat.net' 586PACKAGE_URL='' 587 588ac_unique_file="src/main.c" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625gt_needs= 626ac_subst_vars='am__EXEEXT_FALSE 627am__EXEEXT_TRUE 628LTLIBOBJS 629LIB@&t@OBJS 630XMKMF 631GTK_LIBS 632GTK_CFLAGS 633X11_LIBS 634HAVE_APPINDICATOR_FALSE 635HAVE_APPINDICATOR_TRUE 636APPINDICATOR_LIBS 637APPINDICATOR_CFLAGS 638PKG_CONFIG_LIBDIR 639PKG_CONFIG_PATH 640PKG_CONFIG 641LTLIBINTL 642LIBINTL 643LTLIBICONV 644LIBICONV 645INTL_MACOSX_LIBS 646host_os 647host_vendor 648host_cpu 649host 650build_os 651build_vendor 652build_cpu 653build 654XGETTEXT_EXTRA_OPTIONS 655XGETTEXT_015 656GMSGFMT_015 657MSGFMT_015 658GETTEXT_MACRO_VERSION 659SED 660parcellitelocaledir 661ALL_LINGUAS 662INTLTOOL_PERL 663MSGMERGE 664INTLTOOL_POLICY_RULE 665INTLTOOL_SERVICE_RULE 666INTLTOOL_THEME_RULE 667INTLTOOL_SCHEMAS_RULE 668INTLTOOL_CAVES_RULE 669INTLTOOL_XML_NOMERGE_RULE 670INTLTOOL_XML_RULE 671INTLTOOL_KBD_RULE 672INTLTOOL_XAM_RULE 673INTLTOOL_UI_RULE 674INTLTOOL_SOUNDLIST_RULE 675INTLTOOL_SHEET_RULE 676INTLTOOL_SERVER_RULE 677INTLTOOL_PONG_RULE 678INTLTOOL_OAF_RULE 679INTLTOOL_PROP_RULE 680INTLTOOL_KEYS_RULE 681INTLTOOL_DIRECTORY_RULE 682INTLTOOL_DESKTOP_RULE 683intltool__v_merge_options_0 684intltool__v_merge_options_ 685INTLTOOL_V_MERGE_OPTIONS 686INTLTOOL__v_MERGE_0 687INTLTOOL__v_MERGE_ 688INTLTOOL_V_MERGE 689INTLTOOL_EXTRACT 690INTLTOOL_MERGE 691INTLTOOL_UPDATE 692MKINSTALLDIRS 693POSUB 694POFILES 695PO_IN_DATADIR_FALSE 696PO_IN_DATADIR_TRUE 697INTLLIBS 698INSTOBJEXT 699GMOFILES 700DATADIRNAME 701CATOBJEXT 702CATALOGS 703XGETTEXT 704GMSGFMT 705MSGFMT_OPTS 706MSGFMT 707USE_NLS 708EGREP 709GREP 710CPP 711am__fastdepCC_FALSE 712am__fastdepCC_TRUE 713CCDEPMODE 714am__nodep 715AMDEPBACKSLASH 716AMDEP_FALSE 717AMDEP_TRUE 718am__quote 719am__include 720DEPDIR 721OBJEXT 722EXEEXT 723ac_ct_CC 724CPPFLAGS 725LDFLAGS 726CFLAGS 727CC 728GETTEXT_PACKAGE 729AM_BACKSLASH 730AM_DEFAULT_VERBOSITY 731AM_DEFAULT_V 732AM_V 733am__untar 734am__tar 735AMTAR 736am__leading_dot 737SET_MAKE 738AWK 739mkdir_p 740MKDIR_P 741INSTALL_STRIP_PROGRAM 742STRIP 743install_sh 744MAKEINFO 745AUTOHEADER 746AUTOMAKE 747AUTOCONF 748ACLOCAL 749VERSION 750PACKAGE 751CYGPATH_W 752am__isrc 753INSTALL_DATA 754INSTALL_SCRIPT 755INSTALL_PROGRAM 756target_alias 757host_alias 758build_alias 759LIBS 760ECHO_T 761ECHO_N 762ECHO_C 763DEFS 764mandir 765localedir 766libdir 767psdir 768pdfdir 769dvidir 770htmldir 771infodir 772docdir 773oldincludedir 774includedir 775localstatedir 776sharedstatedir 777sysconfdir 778datadir 779datarootdir 780libexecdir 781sbindir 782bindir 783program_transform_name 784prefix 785exec_prefix 786PACKAGE_URL 787PACKAGE_BUGREPORT 788PACKAGE_STRING 789PACKAGE_VERSION 790PACKAGE_TARNAME 791PACKAGE_NAME 792PATH_SEPARATOR 793SHELL' 794ac_subst_files='' 795ac_user_opts=' 796enable_option_checking 797enable_silent_rules 798enable_dependency_tracking 799enable_nls 800with_gnu_ld 801enable_rpath 802with_libiconv_prefix 803with_libintl_prefix 804enable_appindicator 805with_x 806' 807 ac_precious_vars='build_alias 808host_alias 809target_alias 810CC 811CFLAGS 812LDFLAGS 813LIBS 814CPPFLAGS 815CPP 816PKG_CONFIG 817PKG_CONFIG_PATH 818PKG_CONFIG_LIBDIR 819APPINDICATOR_CFLAGS 820APPINDICATOR_LIBS 821GTK_CFLAGS 822GTK_LIBS 823XMKMF' 824 825 826# Initialize some variables set by options. 827ac_init_help= 828ac_init_version=false 829ac_unrecognized_opts= 830ac_unrecognized_sep= 831# The variables have the same names as the options, with 832# dashes changed to underlines. 833cache_file=/dev/null 834exec_prefix=NONE 835no_create= 836no_recursion= 837prefix=NONE 838program_prefix=NONE 839program_suffix=NONE 840program_transform_name=s,x,x, 841silent= 842site= 843srcdir= 844verbose= 845x_includes=NONE 846x_libraries=NONE 847 848# Installation directory options. 849# These are left unexpanded so users can "make install exec_prefix=/foo" 850# and all the variables that are supposed to be based on exec_prefix 851# by default will actually change. 852# Use braces instead of parens because sh, perl, etc. also accept them. 853# (The list follows the same order as the GNU Coding Standards.) 854bindir='${exec_prefix}/bin' 855sbindir='${exec_prefix}/sbin' 856libexecdir='${exec_prefix}/libexec' 857datarootdir='${prefix}/share' 858datadir='${datarootdir}' 859sysconfdir='${prefix}/etc' 860sharedstatedir='${prefix}/com' 861localstatedir='${prefix}/var' 862includedir='${prefix}/include' 863oldincludedir='/usr/include' 864docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 865infodir='${datarootdir}/info' 866htmldir='${docdir}' 867dvidir='${docdir}' 868pdfdir='${docdir}' 869psdir='${docdir}' 870libdir='${exec_prefix}/lib' 871localedir='${datarootdir}/locale' 872mandir='${datarootdir}/man' 873 874ac_prev= 875ac_dashdash= 876for ac_option 877do 878 # If the previous option needs an argument, assign it. 879 if test -n "$ac_prev"; then 880 eval $ac_prev=\$ac_option 881 ac_prev= 882 continue 883 fi 884 885 case $ac_option in 886 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 887 *=) ac_optarg= ;; 888 *) ac_optarg=yes ;; 889 esac 890 891 # Accept the important Cygnus configure options, so we can diagnose typos. 892 893 case $ac_dashdash$ac_option in 894 --) 895 ac_dashdash=yes ;; 896 897 -bindir | --bindir | --bindi | --bind | --bin | --bi) 898 ac_prev=bindir ;; 899 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 900 bindir=$ac_optarg ;; 901 902 -build | --build | --buil | --bui | --bu) 903 ac_prev=build_alias ;; 904 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 905 build_alias=$ac_optarg ;; 906 907 -cache-file | --cache-file | --cache-fil | --cache-fi \ 908 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 909 ac_prev=cache_file ;; 910 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 911 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 912 cache_file=$ac_optarg ;; 913 914 --config-cache | -C) 915 cache_file=config.cache ;; 916 917 -datadir | --datadir | --datadi | --datad) 918 ac_prev=datadir ;; 919 -datadir=* | --datadir=* | --datadi=* | --datad=*) 920 datadir=$ac_optarg ;; 921 922 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 923 | --dataroo | --dataro | --datar) 924 ac_prev=datarootdir ;; 925 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 926 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 927 datarootdir=$ac_optarg ;; 928 929 -disable-* | --disable-*) 930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 931 # Reject names that are not valid shell variable names. 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 933 as_fn_error $? "invalid feature name: $ac_useropt" 934 ac_useropt_orig=$ac_useropt 935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 936 case $ac_user_opts in 937 *" 938"enable_$ac_useropt" 939"*) ;; 940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 941 ac_unrecognized_sep=', ';; 942 esac 943 eval enable_$ac_useropt=no ;; 944 945 -docdir | --docdir | --docdi | --doc | --do) 946 ac_prev=docdir ;; 947 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 948 docdir=$ac_optarg ;; 949 950 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 951 ac_prev=dvidir ;; 952 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 953 dvidir=$ac_optarg ;; 954 955 -enable-* | --enable-*) 956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 957 # Reject names that are not valid shell variable names. 958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 959 as_fn_error $? "invalid feature name: $ac_useropt" 960 ac_useropt_orig=$ac_useropt 961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 962 case $ac_user_opts in 963 *" 964"enable_$ac_useropt" 965"*) ;; 966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 967 ac_unrecognized_sep=', ';; 968 esac 969 eval enable_$ac_useropt=\$ac_optarg ;; 970 971 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 972 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 973 | --exec | --exe | --ex) 974 ac_prev=exec_prefix ;; 975 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 976 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 977 | --exec=* | --exe=* | --ex=*) 978 exec_prefix=$ac_optarg ;; 979 980 -gas | --gas | --ga | --g) 981 # Obsolete; use --with-gas. 982 with_gas=yes ;; 983 984 -help | --help | --hel | --he | -h) 985 ac_init_help=long ;; 986 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 987 ac_init_help=recursive ;; 988 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 989 ac_init_help=short ;; 990 991 -host | --host | --hos | --ho) 992 ac_prev=host_alias ;; 993 -host=* | --host=* | --hos=* | --ho=*) 994 host_alias=$ac_optarg ;; 995 996 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 997 ac_prev=htmldir ;; 998 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 999 | --ht=*) 1000 htmldir=$ac_optarg ;; 1001 1002 -includedir | --includedir | --includedi | --included | --include \ 1003 | --includ | --inclu | --incl | --inc) 1004 ac_prev=includedir ;; 1005 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1006 | --includ=* | --inclu=* | --incl=* | --inc=*) 1007 includedir=$ac_optarg ;; 1008 1009 -infodir | --infodir | --infodi | --infod | --info | --inf) 1010 ac_prev=infodir ;; 1011 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1012 infodir=$ac_optarg ;; 1013 1014 -libdir | --libdir | --libdi | --libd) 1015 ac_prev=libdir ;; 1016 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1017 libdir=$ac_optarg ;; 1018 1019 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1020 | --libexe | --libex | --libe) 1021 ac_prev=libexecdir ;; 1022 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1023 | --libexe=* | --libex=* | --libe=*) 1024 libexecdir=$ac_optarg ;; 1025 1026 -localedir | --localedir | --localedi | --localed | --locale) 1027 ac_prev=localedir ;; 1028 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1029 localedir=$ac_optarg ;; 1030 1031 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1032 | --localstate | --localstat | --localsta | --localst | --locals) 1033 ac_prev=localstatedir ;; 1034 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1035 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1036 localstatedir=$ac_optarg ;; 1037 1038 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1039 ac_prev=mandir ;; 1040 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1041 mandir=$ac_optarg ;; 1042 1043 -nfp | --nfp | --nf) 1044 # Obsolete; use --without-fp. 1045 with_fp=no ;; 1046 1047 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1048 | --no-cr | --no-c | -n) 1049 no_create=yes ;; 1050 1051 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1052 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1053 no_recursion=yes ;; 1054 1055 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1056 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1057 | --oldin | --oldi | --old | --ol | --o) 1058 ac_prev=oldincludedir ;; 1059 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1060 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1061 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1062 oldincludedir=$ac_optarg ;; 1063 1064 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1065 ac_prev=prefix ;; 1066 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1067 prefix=$ac_optarg ;; 1068 1069 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1070 | --program-pre | --program-pr | --program-p) 1071 ac_prev=program_prefix ;; 1072 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1073 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1074 program_prefix=$ac_optarg ;; 1075 1076 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1077 | --program-suf | --program-su | --program-s) 1078 ac_prev=program_suffix ;; 1079 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1080 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1081 program_suffix=$ac_optarg ;; 1082 1083 -program-transform-name | --program-transform-name \ 1084 | --program-transform-nam | --program-transform-na \ 1085 | --program-transform-n | --program-transform- \ 1086 | --program-transform | --program-transfor \ 1087 | --program-transfo | --program-transf \ 1088 | --program-trans | --program-tran \ 1089 | --progr-tra | --program-tr | --program-t) 1090 ac_prev=program_transform_name ;; 1091 -program-transform-name=* | --program-transform-name=* \ 1092 | --program-transform-nam=* | --program-transform-na=* \ 1093 | --program-transform-n=* | --program-transform-=* \ 1094 | --program-transform=* | --program-transfor=* \ 1095 | --program-transfo=* | --program-transf=* \ 1096 | --program-trans=* | --program-tran=* \ 1097 | --progr-tra=* | --program-tr=* | --program-t=*) 1098 program_transform_name=$ac_optarg ;; 1099 1100 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1101 ac_prev=pdfdir ;; 1102 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1103 pdfdir=$ac_optarg ;; 1104 1105 -psdir | --psdir | --psdi | --psd | --ps) 1106 ac_prev=psdir ;; 1107 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1108 psdir=$ac_optarg ;; 1109 1110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1111 | -silent | --silent | --silen | --sile | --sil) 1112 silent=yes ;; 1113 1114 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1115 ac_prev=sbindir ;; 1116 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1117 | --sbi=* | --sb=*) 1118 sbindir=$ac_optarg ;; 1119 1120 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1121 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1122 | --sharedst | --shareds | --shared | --share | --shar \ 1123 | --sha | --sh) 1124 ac_prev=sharedstatedir ;; 1125 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1126 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1127 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1128 | --sha=* | --sh=*) 1129 sharedstatedir=$ac_optarg ;; 1130 1131 -site | --site | --sit) 1132 ac_prev=site ;; 1133 -site=* | --site=* | --sit=*) 1134 site=$ac_optarg ;; 1135 1136 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1137 ac_prev=srcdir ;; 1138 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1139 srcdir=$ac_optarg ;; 1140 1141 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1142 | --syscon | --sysco | --sysc | --sys | --sy) 1143 ac_prev=sysconfdir ;; 1144 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1145 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1146 sysconfdir=$ac_optarg ;; 1147 1148 -target | --target | --targe | --targ | --tar | --ta | --t) 1149 ac_prev=target_alias ;; 1150 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1151 target_alias=$ac_optarg ;; 1152 1153 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1154 verbose=yes ;; 1155 1156 -version | --version | --versio | --versi | --vers | -V) 1157 ac_init_version=: ;; 1158 1159 -with-* | --with-*) 1160 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1161 # Reject names that are not valid shell variable names. 1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1163 as_fn_error $? "invalid package name: $ac_useropt" 1164 ac_useropt_orig=$ac_useropt 1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1166 case $ac_user_opts in 1167 *" 1168"with_$ac_useropt" 1169"*) ;; 1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1171 ac_unrecognized_sep=', ';; 1172 esac 1173 eval with_$ac_useropt=\$ac_optarg ;; 1174 1175 -without-* | --without-*) 1176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1177 # Reject names that are not valid shell variable names. 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1179 as_fn_error $? "invalid package name: $ac_useropt" 1180 ac_useropt_orig=$ac_useropt 1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 case $ac_user_opts in 1183 *" 1184"with_$ac_useropt" 1185"*) ;; 1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1187 ac_unrecognized_sep=', ';; 1188 esac 1189 eval with_$ac_useropt=no ;; 1190 1191 --x) 1192 # Obsolete; use --with-x. 1193 with_x=yes ;; 1194 1195 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1196 | --x-incl | --x-inc | --x-in | --x-i) 1197 ac_prev=x_includes ;; 1198 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1199 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1200 x_includes=$ac_optarg ;; 1201 1202 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1203 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1204 ac_prev=x_libraries ;; 1205 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1206 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1207 x_libraries=$ac_optarg ;; 1208 1209 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1210Try \`$0 --help' for more information" 1211 ;; 1212 1213 *=*) 1214 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1215 # Reject names that are not valid shell variable names. 1216 case $ac_envvar in #( 1217 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1218 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1219 esac 1220 eval $ac_envvar=\$ac_optarg 1221 export $ac_envvar ;; 1222 1223 *) 1224 # FIXME: should be removed in autoconf 3.0. 1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1228 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1229 ;; 1230 1231 esac 1232done 1233 1234if test -n "$ac_prev"; then 1235 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1236 as_fn_error $? "missing argument to $ac_option" 1237fi 1238 1239if test -n "$ac_unrecognized_opts"; then 1240 case $enable_option_checking in 1241 no) ;; 1242 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1244 esac 1245fi 1246 1247# Check all directory arguments for consistency. 1248for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1249 datadir sysconfdir sharedstatedir localstatedir includedir \ 1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1251 libdir localedir mandir 1252do 1253 eval ac_val=\$$ac_var 1254 # Remove trailing slashes. 1255 case $ac_val in 1256 */ ) 1257 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1258 eval $ac_var=\$ac_val;; 1259 esac 1260 # Be sure to have absolute directory names. 1261 case $ac_val in 1262 [\\/$]* | ?:[\\/]* ) continue;; 1263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1264 esac 1265 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1266done 1267 1268# There might be people who depend on the old broken behavior: `$host' 1269# used to hold the argument of --host etc. 1270# FIXME: To remove some day. 1271build=$build_alias 1272host=$host_alias 1273target=$target_alias 1274 1275# FIXME: To remove some day. 1276if test "x$host_alias" != x; then 1277 if test "x$build_alias" = x; then 1278 cross_compiling=maybe 1279 elif test "x$build_alias" != "x$host_alias"; then 1280 cross_compiling=yes 1281 fi 1282fi 1283 1284ac_tool_prefix= 1285test -n "$host_alias" && ac_tool_prefix=$host_alias- 1286 1287test "$silent" = yes && exec 6>/dev/null 1288 1289 1290ac_pwd=`pwd` && test -n "$ac_pwd" && 1291ac_ls_di=`ls -di .` && 1292ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1293 as_fn_error $? "working directory cannot be determined" 1294test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1295 as_fn_error $? "pwd does not report name of working directory" 1296 1297 1298# Find the source files, if location was not specified. 1299if test -z "$srcdir"; then 1300 ac_srcdir_defaulted=yes 1301 # Try the directory containing this script, then the parent directory. 1302 ac_confdir=`$as_dirname -- "$as_myself" || 1303$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1304 X"$as_myself" : 'X\(//\)[^/]' \| \ 1305 X"$as_myself" : 'X\(//\)$' \| \ 1306 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1307$as_echo X"$as_myself" | 1308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1309 s//\1/ 1310 q 1311 } 1312 /^X\(\/\/\)[^/].*/{ 1313 s//\1/ 1314 q 1315 } 1316 /^X\(\/\/\)$/{ 1317 s//\1/ 1318 q 1319 } 1320 /^X\(\/\).*/{ 1321 s//\1/ 1322 q 1323 } 1324 s/.*/./; q'` 1325 srcdir=$ac_confdir 1326 if test ! -r "$srcdir/$ac_unique_file"; then 1327 srcdir=.. 1328 fi 1329else 1330 ac_srcdir_defaulted=no 1331fi 1332if test ! -r "$srcdir/$ac_unique_file"; then 1333 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1334 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1335fi 1336ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1337ac_abs_confdir=`( 1338 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1339 pwd)` 1340# When building in place, set srcdir=. 1341if test "$ac_abs_confdir" = "$ac_pwd"; then 1342 srcdir=. 1343fi 1344# Remove unnecessary trailing slashes from srcdir. 1345# Double slashes in file names in object file debugging info 1346# mess up M-x gdb in Emacs. 1347case $srcdir in 1348*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1349esac 1350for ac_var in $ac_precious_vars; do 1351 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1352 eval ac_env_${ac_var}_value=\$${ac_var} 1353 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1354 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1355done 1356 1357# 1358# Report the --help message. 1359# 1360if test "$ac_init_help" = "long"; then 1361 # Omit some internal or obsolete options to make the list less imposing. 1362 # This message is too long to be a string in the A/UX 3.1 sh. 1363 cat <<_ACEOF 1364\`configure' configures parcellite 1.2.1 to adapt to many kinds of systems. 1365 1366Usage: $0 [OPTION]... [VAR=VALUE]... 1367 1368To assign environment variables (e.g., CC, CFLAGS...), specify them as 1369VAR=VALUE. See below for descriptions of some of the useful variables. 1370 1371Defaults for the options are specified in brackets. 1372 1373Configuration: 1374 -h, --help display this help and exit 1375 --help=short display options specific to this package 1376 --help=recursive display the short help of all the included packages 1377 -V, --version display version information and exit 1378 -q, --quiet, --silent do not print \`checking ...' messages 1379 --cache-file=FILE cache test results in FILE [disabled] 1380 -C, --config-cache alias for \`--cache-file=config.cache' 1381 -n, --no-create do not create output files 1382 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1383 1384Installation directories: 1385 --prefix=PREFIX install architecture-independent files in PREFIX 1386 @<:@@S|@ac_default_prefix@:>@ 1387 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1388 @<:@PREFIX@:>@ 1389 1390By default, \`make install' will install all the files in 1391\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1392an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1393for instance \`--prefix=\$HOME'. 1394 1395For better control, use the options below. 1396 1397Fine tuning of the installation directories: 1398 --bindir=DIR user executables [EPREFIX/bin] 1399 --sbindir=DIR system admin executables [EPREFIX/sbin] 1400 --libexecdir=DIR program executables [EPREFIX/libexec] 1401 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1402 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1403 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1404 --libdir=DIR object code libraries [EPREFIX/lib] 1405 --includedir=DIR C header files [PREFIX/include] 1406 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1407 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1408 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1409 --infodir=DIR info documentation [DATAROOTDIR/info] 1410 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1411 --mandir=DIR man documentation [DATAROOTDIR/man] 1412 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/parcellite@:>@ 1413 --htmldir=DIR html documentation [DOCDIR] 1414 --dvidir=DIR dvi documentation [DOCDIR] 1415 --pdfdir=DIR pdf documentation [DOCDIR] 1416 --psdir=DIR ps documentation [DOCDIR] 1417_ACEOF 1418 1419 cat <<\_ACEOF 1420 1421Program names: 1422 --program-prefix=PREFIX prepend PREFIX to installed program names 1423 --program-suffix=SUFFIX append SUFFIX to installed program names 1424 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1425 1426X features: 1427 --x-includes=DIR X include files are in DIR 1428 --x-libraries=DIR X library files are in DIR 1429 1430System types: 1431 --build=BUILD configure for building on BUILD [guessed] 1432 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1433_ACEOF 1434fi 1435 1436if test -n "$ac_init_help"; then 1437 case $ac_init_help in 1438 short | recursive ) echo "Configuration of parcellite 1.2.1:";; 1439 esac 1440 cat <<\_ACEOF 1441 1442Optional Features: 1443 --disable-option-checking ignore unrecognized --enable/--with options 1444 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1445 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1446 --enable-silent-rules less verbose build output (undo: "make V=1") 1447 --disable-silent-rules verbose build output (undo: "make V=0") 1448 --enable-dependency-tracking 1449 do not reject slow dependency extractors 1450 --disable-dependency-tracking 1451 speeds up one-time build 1452 --disable-nls do not use Native Language Support 1453 --disable-rpath do not hardcode runtime library paths 1454 --enable-appindicator=@<:@no/yes@:>@ 1455 Build support for application indicators 1456 1457Optional Packages: 1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1460 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1461 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1462 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1463 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1464 --without-libintl-prefix don't search for libintl in includedir and libdir 1465 --with-x use the X Window System 1466 1467Some influential environment variables: 1468 CC C compiler command 1469 CFLAGS C compiler flags 1470 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1471 nonstandard directory <lib dir> 1472 LIBS libraries to pass to the linker, e.g. -l<library> 1473 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1474 you have headers in a nonstandard directory <include dir> 1475 CPP C preprocessor 1476 PKG_CONFIG path to pkg-config utility 1477 PKG_CONFIG_PATH 1478 directories to add to pkg-config's search path 1479 PKG_CONFIG_LIBDIR 1480 path overriding pkg-config's built-in search path 1481 APPINDICATOR_CFLAGS 1482 C compiler flags for APPINDICATOR, overriding pkg-config 1483 APPINDICATOR_LIBS 1484 linker flags for APPINDICATOR, overriding pkg-config 1485 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1486 GTK_LIBS linker flags for GTK, overriding pkg-config 1487 XMKMF Path to xmkmf, Makefile generator for X Window System 1488 1489Use these variables to override the choices made by `configure' or to help 1490it to find libraries and programs with nonstandard names/locations. 1491 1492Report bugs to <gpib@rickyrockrat.net>. 1493_ACEOF 1494ac_status=$? 1495fi 1496 1497if test "$ac_init_help" = "recursive"; then 1498 # If there are subdirs, report their specific --help. 1499 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1500 test -d "$ac_dir" || 1501 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1502 continue 1503 ac_builddir=. 1504 1505case "$ac_dir" in 1506.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1507*) 1508 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1509 # A ".." for each directory in $ac_dir_suffix. 1510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1511 case $ac_top_builddir_sub in 1512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1514 esac ;; 1515esac 1516ac_abs_top_builddir=$ac_pwd 1517ac_abs_builddir=$ac_pwd$ac_dir_suffix 1518# for backward compatibility: 1519ac_top_builddir=$ac_top_build_prefix 1520 1521case $srcdir in 1522 .) # We are building in place. 1523 ac_srcdir=. 1524 ac_top_srcdir=$ac_top_builddir_sub 1525 ac_abs_top_srcdir=$ac_pwd ;; 1526 [\\/]* | ?:[\\/]* ) # Absolute name. 1527 ac_srcdir=$srcdir$ac_dir_suffix; 1528 ac_top_srcdir=$srcdir 1529 ac_abs_top_srcdir=$srcdir ;; 1530 *) # Relative name. 1531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1532 ac_top_srcdir=$ac_top_build_prefix$srcdir 1533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1534esac 1535ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1536 1537 cd "$ac_dir" || { ac_status=$?; continue; } 1538 # Check for guested configure. 1539 if test -f "$ac_srcdir/configure.gnu"; then 1540 echo && 1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1542 elif test -f "$ac_srcdir/configure"; then 1543 echo && 1544 $SHELL "$ac_srcdir/configure" --help=recursive 1545 else 1546 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1547 fi || ac_status=$? 1548 cd "$ac_pwd" || { ac_status=$?; break; } 1549 done 1550fi 1551 1552test -n "$ac_init_help" && exit $ac_status 1553if $ac_init_version; then 1554 cat <<\_ACEOF 1555parcellite configure 1.2.1 1556generated by GNU Autoconf 2.69 1557 1558Copyright (C) 2012 Free Software Foundation, Inc. 1559This configure script is free software; the Free Software Foundation 1560gives unlimited permission to copy, distribute and modify it. 1561_ACEOF 1562 exit 1563fi 1564 1565## ------------------------ ## 1566## Autoconf initialization. ## 1567## ------------------------ ## 1568 1569@%:@ ac_fn_c_try_compile LINENO 1570@%:@ -------------------------- 1571@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1572ac_fn_c_try_compile () 1573{ 1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1575 rm -f conftest.$ac_objext 1576 if { { ac_try="$ac_compile" 1577case "(($ac_try" in 1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1579 *) ac_try_echo=$ac_try;; 1580esac 1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1582$as_echo "$ac_try_echo"; } >&5 1583 (eval "$ac_compile") 2>conftest.err 1584 ac_status=$? 1585 if test -s conftest.err; then 1586 grep -v '^ *+' conftest.err >conftest.er1 1587 cat conftest.er1 >&5 1588 mv -f conftest.er1 conftest.err 1589 fi 1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1591 test $ac_status = 0; } && { 1592 test -z "$ac_c_werror_flag" || 1593 test ! -s conftest.err 1594 } && test -s conftest.$ac_objext; then : 1595 ac_retval=0 1596else 1597 $as_echo "$as_me: failed program was:" >&5 1598sed 's/^/| /' conftest.$ac_ext >&5 1599 1600 ac_retval=1 1601fi 1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1603 as_fn_set_status $ac_retval 1604 1605} @%:@ ac_fn_c_try_compile 1606 1607@%:@ ac_fn_c_try_cpp LINENO 1608@%:@ ---------------------- 1609@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1610ac_fn_c_try_cpp () 1611{ 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1613 if { { ac_try="$ac_cpp conftest.$ac_ext" 1614case "(($ac_try" in 1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1616 *) ac_try_echo=$ac_try;; 1617esac 1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1619$as_echo "$ac_try_echo"; } >&5 1620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1621 ac_status=$? 1622 if test -s conftest.err; then 1623 grep -v '^ *+' conftest.err >conftest.er1 1624 cat conftest.er1 >&5 1625 mv -f conftest.er1 conftest.err 1626 fi 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; } > conftest.i && { 1629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1630 test ! -s conftest.err 1631 }; then : 1632 ac_retval=0 1633else 1634 $as_echo "$as_me: failed program was:" >&5 1635sed 's/^/| /' conftest.$ac_ext >&5 1636 1637 ac_retval=1 1638fi 1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1640 as_fn_set_status $ac_retval 1641 1642} @%:@ ac_fn_c_try_cpp 1643 1644@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1645@%:@ ------------------------------------------------------- 1646@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using 1647@%:@ the include files in INCLUDES and setting the cache variable VAR 1648@%:@ accordingly. 1649ac_fn_c_check_header_mongrel () 1650{ 1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1652 if eval \${$3+:} false; then : 1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1654$as_echo_n "checking for $2... " >&6; } 1655if eval \${$3+:} false; then : 1656 $as_echo_n "(cached) " >&6 1657fi 1658eval ac_res=\$$3 1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1660$as_echo "$ac_res" >&6; } 1661else 1662 # Is the header compilable? 1663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1664$as_echo_n "checking $2 usability... " >&6; } 1665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1666/* end confdefs.h. */ 1667$4 1668@%:@include <$2> 1669_ACEOF 1670if ac_fn_c_try_compile "$LINENO"; then : 1671 ac_header_compiler=yes 1672else 1673 ac_header_compiler=no 1674fi 1675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1677$as_echo "$ac_header_compiler" >&6; } 1678 1679# Is the header present? 1680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1681$as_echo_n "checking $2 presence... " >&6; } 1682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1683/* end confdefs.h. */ 1684@%:@include <$2> 1685_ACEOF 1686if ac_fn_c_try_cpp "$LINENO"; then : 1687 ac_header_preproc=yes 1688else 1689 ac_header_preproc=no 1690fi 1691rm -f conftest.err conftest.i conftest.$ac_ext 1692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1693$as_echo "$ac_header_preproc" >&6; } 1694 1695# So? What about this header? 1696case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1697 yes:no: ) 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1699$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1701$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1702 ;; 1703 no:yes:* ) 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1705$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1707$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1709$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1711$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1713$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1714( $as_echo "## ------------------------------------ ## 1715## Report this to gpib@rickyrockrat.net ## 1716## ------------------------------------ ##" 1717 ) | sed "s/^/$as_me: WARNING: /" >&2 1718 ;; 1719esac 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721$as_echo_n "checking for $2... " >&6; } 1722if eval \${$3+:} false; then : 1723 $as_echo_n "(cached) " >&6 1724else 1725 eval "$3=\$ac_header_compiler" 1726fi 1727eval ac_res=\$$3 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1729$as_echo "$ac_res" >&6; } 1730fi 1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1732 1733} @%:@ ac_fn_c_check_header_mongrel 1734 1735@%:@ ac_fn_c_try_run LINENO 1736@%:@ ---------------------- 1737@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1738@%:@ that executables *can* be run. 1739ac_fn_c_try_run () 1740{ 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 if { { ac_try="$ac_link" 1743case "(($ac_try" in 1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1745 *) ac_try_echo=$ac_try;; 1746esac 1747eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1748$as_echo "$ac_try_echo"; } >&5 1749 (eval "$ac_link") 2>&5 1750 ac_status=$? 1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1752 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1753 { { case "(($ac_try" in 1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1755 *) ac_try_echo=$ac_try;; 1756esac 1757eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1758$as_echo "$ac_try_echo"; } >&5 1759 (eval "$ac_try") 2>&5 1760 ac_status=$? 1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1762 test $ac_status = 0; }; }; then : 1763 ac_retval=0 1764else 1765 $as_echo "$as_me: program exited with status $ac_status" >&5 1766 $as_echo "$as_me: failed program was:" >&5 1767sed 's/^/| /' conftest.$ac_ext >&5 1768 1769 ac_retval=$ac_status 1770fi 1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 as_fn_set_status $ac_retval 1774 1775} @%:@ ac_fn_c_try_run 1776 1777@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1778@%:@ ------------------------------------------------------- 1779@%:@ Tests whether HEADER exists and can be compiled using the include files in 1780@%:@ INCLUDES, setting the cache variable VAR accordingly. 1781ac_fn_c_check_header_compile () 1782{ 1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1785$as_echo_n "checking for $2... " >&6; } 1786if eval \${$3+:} false; then : 1787 $as_echo_n "(cached) " >&6 1788else 1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1790/* end confdefs.h. */ 1791$4 1792@%:@include <$2> 1793_ACEOF 1794if ac_fn_c_try_compile "$LINENO"; then : 1795 eval "$3=yes" 1796else 1797 eval "$3=no" 1798fi 1799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1800fi 1801eval ac_res=\$$3 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803$as_echo "$ac_res" >&6; } 1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1805 1806} @%:@ ac_fn_c_check_header_compile 1807 1808@%:@ ac_fn_c_try_link LINENO 1809@%:@ ----------------------- 1810@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1811ac_fn_c_try_link () 1812{ 1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1814 rm -f conftest.$ac_objext conftest$ac_exeext 1815 if { { ac_try="$ac_link" 1816case "(($ac_try" in 1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1818 *) ac_try_echo=$ac_try;; 1819esac 1820eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1821$as_echo "$ac_try_echo"; } >&5 1822 (eval "$ac_link") 2>conftest.err 1823 ac_status=$? 1824 if test -s conftest.err; then 1825 grep -v '^ *+' conftest.err >conftest.er1 1826 cat conftest.er1 >&5 1827 mv -f conftest.er1 conftest.err 1828 fi 1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1830 test $ac_status = 0; } && { 1831 test -z "$ac_c_werror_flag" || 1832 test ! -s conftest.err 1833 } && test -s conftest$ac_exeext && { 1834 test "$cross_compiling" = yes || 1835 test -x conftest$ac_exeext 1836 }; then : 1837 ac_retval=0 1838else 1839 $as_echo "$as_me: failed program was:" >&5 1840sed 's/^/| /' conftest.$ac_ext >&5 1841 1842 ac_retval=1 1843fi 1844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1846 # interfere with the next link command; also delete a directory that is 1847 # left behind by Apple's compiler. We do this before executing the actions. 1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1850 as_fn_set_status $ac_retval 1851 1852} @%:@ ac_fn_c_try_link 1853 1854@%:@ ac_fn_c_check_func LINENO FUNC VAR 1855@%:@ ---------------------------------- 1856@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1857ac_fn_c_check_func () 1858{ 1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1861$as_echo_n "checking for $2... " >&6; } 1862if eval \${$3+:} false; then : 1863 $as_echo_n "(cached) " >&6 1864else 1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1866/* end confdefs.h. */ 1867/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1868 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1869#define $2 innocuous_$2 1870 1871/* System header to define __stub macros and hopefully few prototypes, 1872 which can conflict with char $2 (); below. 1873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1874 <limits.h> exists even on freestanding compilers. */ 1875 1876#ifdef __STDC__ 1877# include <limits.h> 1878#else 1879# include <assert.h> 1880#endif 1881 1882#undef $2 1883 1884/* Override any GCC internal prototype to avoid an error. 1885 Use char because int might match the return type of a GCC 1886 builtin and then its argument prototype would still apply. */ 1887#ifdef __cplusplus 1888extern "C" 1889#endif 1890char $2 (); 1891/* The GNU C library defines this for functions which it implements 1892 to always fail with ENOSYS. Some functions are actually named 1893 something starting with __ and the normal name is an alias. */ 1894#if defined __stub_$2 || defined __stub___$2 1895choke me 1896#endif 1897 1898int 1899main () 1900{ 1901return $2 (); 1902 ; 1903 return 0; 1904} 1905_ACEOF 1906if ac_fn_c_try_link "$LINENO"; then : 1907 eval "$3=yes" 1908else 1909 eval "$3=no" 1910fi 1911rm -f core conftest.err conftest.$ac_objext \ 1912 conftest$ac_exeext conftest.$ac_ext 1913fi 1914eval ac_res=\$$3 1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1916$as_echo "$ac_res" >&6; } 1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1918 1919} @%:@ ac_fn_c_check_func 1920 1921@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1922@%:@ ------------------------------------------- 1923@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache 1924@%:@ variable VAR accordingly. 1925ac_fn_c_check_type () 1926{ 1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1929$as_echo_n "checking for $2... " >&6; } 1930if eval \${$3+:} false; then : 1931 $as_echo_n "(cached) " >&6 1932else 1933 eval "$3=no" 1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1935/* end confdefs.h. */ 1936$4 1937int 1938main () 1939{ 1940if (sizeof ($2)) 1941 return 0; 1942 ; 1943 return 0; 1944} 1945_ACEOF 1946if ac_fn_c_try_compile "$LINENO"; then : 1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1948/* end confdefs.h. */ 1949$4 1950int 1951main () 1952{ 1953if (sizeof (($2))) 1954 return 0; 1955 ; 1956 return 0; 1957} 1958_ACEOF 1959if ac_fn_c_try_compile "$LINENO"; then : 1960 1961else 1962 eval "$3=yes" 1963fi 1964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1965fi 1966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967fi 1968eval ac_res=\$$3 1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1970$as_echo "$ac_res" >&6; } 1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1972 1973} @%:@ ac_fn_c_check_type 1974cat >config.log <<_ACEOF 1975This file contains any messages produced by compilers while 1976running configure, to aid debugging if configure makes a mistake. 1977 1978It was created by parcellite $as_me 1.2.1, which was 1979generated by GNU Autoconf 2.69. Invocation command line was 1980 1981 $ $0 $@ 1982 1983_ACEOF 1984exec 5>>config.log 1985{ 1986cat <<_ASUNAME 1987## --------- ## 1988## Platform. ## 1989## --------- ## 1990 1991hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1992uname -m = `(uname -m) 2>/dev/null || echo unknown` 1993uname -r = `(uname -r) 2>/dev/null || echo unknown` 1994uname -s = `(uname -s) 2>/dev/null || echo unknown` 1995uname -v = `(uname -v) 2>/dev/null || echo unknown` 1996 1997/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1998/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1999 2000/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2001/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2002/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2003/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2004/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2005/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2006/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2007 2008_ASUNAME 2009 2010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2011for as_dir in $PATH 2012do 2013 IFS=$as_save_IFS 2014 test -z "$as_dir" && as_dir=. 2015 $as_echo "PATH: $as_dir" 2016 done 2017IFS=$as_save_IFS 2018 2019} >&5 2020 2021cat >&5 <<_ACEOF 2022 2023 2024## ----------- ## 2025## Core tests. ## 2026## ----------- ## 2027 2028_ACEOF 2029 2030 2031# Keep a trace of the command line. 2032# Strip out --no-create and --no-recursion so they do not pile up. 2033# Strip out --silent because we don't want to record it for future runs. 2034# Also quote any args containing shell meta-characters. 2035# Make two passes to allow for proper duplicate-argument suppression. 2036ac_configure_args= 2037ac_configure_args0= 2038ac_configure_args1= 2039ac_must_keep_next=false 2040for ac_pass in 1 2 2041do 2042 for ac_arg 2043 do 2044 case $ac_arg in 2045 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2047 | -silent | --silent | --silen | --sile | --sil) 2048 continue ;; 2049 *\'*) 2050 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2051 esac 2052 case $ac_pass in 2053 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2054 2) 2055 as_fn_append ac_configure_args1 " '$ac_arg'" 2056 if test $ac_must_keep_next = true; then 2057 ac_must_keep_next=false # Got value, back to normal. 2058 else 2059 case $ac_arg in 2060 *=* | --config-cache | -C | -disable-* | --disable-* \ 2061 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2062 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2063 | -with-* | --with-* | -without-* | --without-* | --x) 2064 case "$ac_configure_args0 " in 2065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2066 esac 2067 ;; 2068 -* ) ac_must_keep_next=true ;; 2069 esac 2070 fi 2071 as_fn_append ac_configure_args " '$ac_arg'" 2072 ;; 2073 esac 2074 done 2075done 2076{ ac_configure_args0=; unset ac_configure_args0;} 2077{ ac_configure_args1=; unset ac_configure_args1;} 2078 2079# When interrupted or exit'd, cleanup temporary files, and complete 2080# config.log. We remove comments because anyway the quotes in there 2081# would cause problems or look ugly. 2082# WARNING: Use '\'' to represent an apostrophe within the trap. 2083# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2084trap 'exit_status=$? 2085 # Save into config.log some information that might help in debugging. 2086 { 2087 echo 2088 2089 $as_echo "## ---------------- ## 2090## Cache variables. ## 2091## ---------------- ##" 2092 echo 2093 # The following way of writing the cache mishandles newlines in values, 2094( 2095 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2096 eval ac_val=\$$ac_var 2097 case $ac_val in #( 2098 *${as_nl}*) 2099 case $ac_var in #( 2100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2101$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2102 esac 2103 case $ac_var in #( 2104 _ | IFS | as_nl) ;; #( 2105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2106 *) { eval $ac_var=; unset $ac_var;} ;; 2107 esac ;; 2108 esac 2109 done 2110 (set) 2>&1 | 2111 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2112 *${as_nl}ac_space=\ *) 2113 sed -n \ 2114 "s/'\''/'\''\\\\'\'''\''/g; 2115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2116 ;; #( 2117 *) 2118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2119 ;; 2120 esac | 2121 sort 2122) 2123 echo 2124 2125 $as_echo "## ----------------- ## 2126## Output variables. ## 2127## ----------------- ##" 2128 echo 2129 for ac_var in $ac_subst_vars 2130 do 2131 eval ac_val=\$$ac_var 2132 case $ac_val in 2133 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2134 esac 2135 $as_echo "$ac_var='\''$ac_val'\''" 2136 done | sort 2137 echo 2138 2139 if test -n "$ac_subst_files"; then 2140 $as_echo "## ------------------- ## 2141## File substitutions. ## 2142## ------------------- ##" 2143 echo 2144 for ac_var in $ac_subst_files 2145 do 2146 eval ac_val=\$$ac_var 2147 case $ac_val in 2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2149 esac 2150 $as_echo "$ac_var='\''$ac_val'\''" 2151 done | sort 2152 echo 2153 fi 2154 2155 if test -s confdefs.h; then 2156 $as_echo "## ----------- ## 2157## confdefs.h. ## 2158## ----------- ##" 2159 echo 2160 cat confdefs.h 2161 echo 2162 fi 2163 test "$ac_signal" != 0 && 2164 $as_echo "$as_me: caught signal $ac_signal" 2165 $as_echo "$as_me: exit $exit_status" 2166 } >&5 2167 rm -f core *.core core.conftest.* && 2168 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2169 exit $exit_status 2170' 0 2171for ac_signal in 1 2 13 15; do 2172 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2173done 2174ac_signal=0 2175 2176# confdefs.h avoids OS command line length limits that DEFS can exceed. 2177rm -f -r conftest* confdefs.h 2178 2179$as_echo "/* confdefs.h */" > confdefs.h 2180 2181# Predefined preprocessor variables. 2182 2183cat >>confdefs.h <<_ACEOF 2184@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2185_ACEOF 2186 2187cat >>confdefs.h <<_ACEOF 2188@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2189_ACEOF 2190 2191cat >>confdefs.h <<_ACEOF 2192@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2193_ACEOF 2194 2195cat >>confdefs.h <<_ACEOF 2196@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2197_ACEOF 2198 2199cat >>confdefs.h <<_ACEOF 2200@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2201_ACEOF 2202 2203cat >>confdefs.h <<_ACEOF 2204@%:@define PACKAGE_URL "$PACKAGE_URL" 2205_ACEOF 2206 2207 2208# Let the site file select an alternate cache file if it wants to. 2209# Prefer an explicitly selected file to automatically selected ones. 2210ac_site_file1=NONE 2211ac_site_file2=NONE 2212if test -n "$CONFIG_SITE"; then 2213 # We do not want a PATH search for config.site. 2214 case $CONFIG_SITE in @%:@(( 2215 -*) ac_site_file1=./$CONFIG_SITE;; 2216 */*) ac_site_file1=$CONFIG_SITE;; 2217 *) ac_site_file1=./$CONFIG_SITE;; 2218 esac 2219elif test "x$prefix" != xNONE; then 2220 ac_site_file1=$prefix/share/config.site 2221 ac_site_file2=$prefix/etc/config.site 2222else 2223 ac_site_file1=$ac_default_prefix/share/config.site 2224 ac_site_file2=$ac_default_prefix/etc/config.site 2225fi 2226for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2227do 2228 test "x$ac_site_file" = xNONE && continue 2229 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2231$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2232 sed 's/^/| /' "$ac_site_file" >&5 2233 . "$ac_site_file" \ 2234 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2236as_fn_error $? "failed to load site script $ac_site_file 2237See \`config.log' for more details" "$LINENO" 5; } 2238 fi 2239done 2240 2241if test -r "$cache_file"; then 2242 # Some versions of bash will fail to source /dev/null (special files 2243 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2244 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2246$as_echo "$as_me: loading cache $cache_file" >&6;} 2247 case $cache_file in 2248 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2249 *) . "./$cache_file";; 2250 esac 2251 fi 2252else 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2254$as_echo "$as_me: creating cache $cache_file" >&6;} 2255 >$cache_file 2256fi 2257 2258gt_needs="$gt_needs " 2259# Check that the precious variables saved in the cache have kept the same 2260# value. 2261ac_cache_corrupted=false 2262for ac_var in $ac_precious_vars; do 2263 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2264 eval ac_new_set=\$ac_env_${ac_var}_set 2265 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2266 eval ac_new_val=\$ac_env_${ac_var}_value 2267 case $ac_old_set,$ac_new_set in 2268 set,) 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2270$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2271 ac_cache_corrupted=: ;; 2272 ,set) 2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2274$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2275 ac_cache_corrupted=: ;; 2276 ,);; 2277 *) 2278 if test "x$ac_old_val" != "x$ac_new_val"; then 2279 # differences in whitespace do not lead to failure. 2280 ac_old_val_w=`echo x $ac_old_val` 2281 ac_new_val_w=`echo x $ac_new_val` 2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2284$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2285 ac_cache_corrupted=: 2286 else 2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2288$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2289 eval $ac_var=\$ac_old_val 2290 fi 2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2292$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2294$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2295 fi;; 2296 esac 2297 # Pass precious variables to config.status. 2298 if test "$ac_new_set" = set; then 2299 case $ac_new_val in 2300 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2301 *) ac_arg=$ac_var=$ac_new_val ;; 2302 esac 2303 case " $ac_configure_args " in 2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2305 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2306 esac 2307 fi 2308done 2309if $ac_cache_corrupted; then 2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2311$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2313$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2314 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2315fi 2316## -------------------- ## 2317## Main body of script. ## 2318## -------------------- ## 2319 2320ac_ext=c 2321ac_cpp='$CPP $CPPFLAGS' 2322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2324ac_compiler_gnu=$ac_cv_c_compiler_gnu 2325 2326 2327# AC_INIT([parcellite], [lollygag], [gpib@rickyrockrat.com]) 2328am__api_version='1.14' 2329 2330ac_aux_dir= 2331for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2332 if test -f "$ac_dir/install-sh"; then 2333 ac_aux_dir=$ac_dir 2334 ac_install_sh="$ac_aux_dir/install-sh -c" 2335 break 2336 elif test -f "$ac_dir/install.sh"; then 2337 ac_aux_dir=$ac_dir 2338 ac_install_sh="$ac_aux_dir/install.sh -c" 2339 break 2340 elif test -f "$ac_dir/shtool"; then 2341 ac_aux_dir=$ac_dir 2342 ac_install_sh="$ac_aux_dir/shtool install -c" 2343 break 2344 fi 2345done 2346if test -z "$ac_aux_dir"; then 2347 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2348fi 2349 2350# These three variables are undocumented and unsupported, 2351# and are intended to be withdrawn in a future Autoconf release. 2352# They can cause serious problems if a builder's source tree is in a directory 2353# whose full name contains unusual characters. 2354ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2355ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2356ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2357 2358 2359# Find a good install program. We prefer a C program (faster), 2360# so one script is as good as another. But avoid the broken or 2361# incompatible versions: 2362# SysV /etc/install, /usr/sbin/install 2363# SunOS /usr/etc/install 2364# IRIX /sbin/install 2365# AIX /bin/install 2366# AmigaOS /C/install, which installs bootblocks on floppy discs 2367# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2368# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2369# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2370# OS/2's system install, which has a completely different semantic 2371# ./install, which can be erroneously created by make from ./install.sh. 2372# Reject install programs that cannot install multiple files. 2373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2374$as_echo_n "checking for a BSD-compatible install... " >&6; } 2375if test -z "$INSTALL"; then 2376if ${ac_cv_path_install+:} false; then : 2377 $as_echo_n "(cached) " >&6 2378else 2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2380for as_dir in $PATH 2381do 2382 IFS=$as_save_IFS 2383 test -z "$as_dir" && as_dir=. 2384 # Account for people who put trailing slashes in PATH elements. 2385case $as_dir/ in @%:@(( 2386 ./ | .// | /[cC]/* | \ 2387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2388 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2389 /usr/ucb/* ) ;; 2390 *) 2391 # OSF1 and SCO ODT 3.0 have their own names for install. 2392 # Don't use installbsd from OSF since it installs stuff as root 2393 # by default. 2394 for ac_prog in ginstall scoinst install; do 2395 for ac_exec_ext in '' $ac_executable_extensions; do 2396 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2397 if test $ac_prog = install && 2398 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2399 # AIX install. It has an incompatible calling convention. 2400 : 2401 elif test $ac_prog = install && 2402 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2403 # program-specific install script used by HP pwplus--don't use. 2404 : 2405 else 2406 rm -rf conftest.one conftest.two conftest.dir 2407 echo one > conftest.one 2408 echo two > conftest.two 2409 mkdir conftest.dir 2410 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2411 test -s conftest.one && test -s conftest.two && 2412 test -s conftest.dir/conftest.one && 2413 test -s conftest.dir/conftest.two 2414 then 2415 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2416 break 3 2417 fi 2418 fi 2419 fi 2420 done 2421 done 2422 ;; 2423esac 2424 2425 done 2426IFS=$as_save_IFS 2427 2428rm -rf conftest.one conftest.two conftest.dir 2429 2430fi 2431 if test "${ac_cv_path_install+set}" = set; then 2432 INSTALL=$ac_cv_path_install 2433 else 2434 # As a last resort, use the slow shell script. Don't cache a 2435 # value for INSTALL within a source directory, because that will 2436 # break other packages using the cache if that directory is 2437 # removed, or if the value is a relative name. 2438 INSTALL=$ac_install_sh 2439 fi 2440fi 2441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2442$as_echo "$INSTALL" >&6; } 2443 2444# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2445# It thinks the first close brace ends the variable substitution. 2446test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2447 2448test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2449 2450test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2451 2452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2453$as_echo_n "checking whether build environment is sane... " >&6; } 2454# Reject unsafe characters in $srcdir or the absolute working directory 2455# name. Accept space and tab only in the latter. 2456am_lf=' 2457' 2458case `pwd` in 2459 *[\\\"\#\$\&\'\`$am_lf]*) 2460 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2461esac 2462case $srcdir in 2463 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2464 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2465esac 2466 2467# Do 'set' in a subshell so we don't clobber the current shell's 2468# arguments. Must try -L first in case configure is actually a 2469# symlink; some systems play weird games with the mod time of symlinks 2470# (eg FreeBSD returns the mod time of the symlink's containing 2471# directory). 2472if ( 2473 am_has_slept=no 2474 for am_try in 1 2; do 2475 echo "timestamp, slept: $am_has_slept" > conftest.file 2476 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2477 if test "$*" = "X"; then 2478 # -L didn't work. 2479 set X `ls -t "$srcdir/configure" conftest.file` 2480 fi 2481 if test "$*" != "X $srcdir/configure conftest.file" \ 2482 && test "$*" != "X conftest.file $srcdir/configure"; then 2483 2484 # If neither matched, then we have a broken ls. This can happen 2485 # if, for instance, CONFIG_SHELL is bash and it inherits a 2486 # broken ls alias from the environment. This has actually 2487 # happened. Such a system could not be considered "sane". 2488 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2489 alias in your environment" "$LINENO" 5 2490 fi 2491 if test "$2" = conftest.file || test $am_try -eq 2; then 2492 break 2493 fi 2494 # Just in case. 2495 sleep 1 2496 am_has_slept=yes 2497 done 2498 test "$2" = conftest.file 2499 ) 2500then 2501 # Ok. 2502 : 2503else 2504 as_fn_error $? "newly created file is older than distributed files! 2505Check your system clock" "$LINENO" 5 2506fi 2507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2508$as_echo "yes" >&6; } 2509# If we didn't sleep, we still need to ensure time stamps of config.status and 2510# generated files are strictly newer. 2511am_sleep_pid= 2512if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2513 ( sleep 1 ) & 2514 am_sleep_pid=$! 2515fi 2516 2517rm -f conftest.file 2518 2519test "$program_prefix" != NONE && 2520 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2521# Use a double $ so make ignores it. 2522test "$program_suffix" != NONE && 2523 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2524# Double any \ or $. 2525# By default was `s,x,x', remove it if useless. 2526ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2527program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2528 2529# Expand $ac_aux_dir to an absolute path. 2530am_aux_dir=`cd "$ac_aux_dir" && pwd` 2531 2532if test x"${MISSING+set}" != xset; then 2533 case $am_aux_dir in 2534 *\ * | *\ *) 2535 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2536 *) 2537 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2538 esac 2539fi 2540# Use eval to expand $SHELL 2541if eval "$MISSING --is-lightweight"; then 2542 am_missing_run="$MISSING " 2543else 2544 am_missing_run= 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2546$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2547fi 2548 2549if test x"${install_sh}" != xset; then 2550 case $am_aux_dir in 2551 *\ * | *\ *) 2552 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2553 *) 2554 install_sh="\${SHELL} $am_aux_dir/install-sh" 2555 esac 2556fi 2557 2558# Installed binaries are usually stripped using 'strip' when the user 2559# run "make install-strip". However 'strip' might not be the right 2560# tool to use in cross-compilation environments, therefore Automake 2561# will honor the 'STRIP' environment variable to overrule this program. 2562if test "$cross_compiling" != no; then 2563 if test -n "$ac_tool_prefix"; then 2564 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2565set dummy ${ac_tool_prefix}strip; ac_word=$2 2566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2567$as_echo_n "checking for $ac_word... " >&6; } 2568if ${ac_cv_prog_STRIP+:} false; then : 2569 $as_echo_n "(cached) " >&6 2570else 2571 if test -n "$STRIP"; then 2572 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2573else 2574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2575for as_dir in $PATH 2576do 2577 IFS=$as_save_IFS 2578 test -z "$as_dir" && as_dir=. 2579 for ac_exec_ext in '' $ac_executable_extensions; do 2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2581 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2583 break 2 2584 fi 2585done 2586 done 2587IFS=$as_save_IFS 2588 2589fi 2590fi 2591STRIP=$ac_cv_prog_STRIP 2592if test -n "$STRIP"; then 2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2594$as_echo "$STRIP" >&6; } 2595else 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2597$as_echo "no" >&6; } 2598fi 2599 2600 2601fi 2602if test -z "$ac_cv_prog_STRIP"; then 2603 ac_ct_STRIP=$STRIP 2604 # Extract the first word of "strip", so it can be a program name with args. 2605set dummy strip; ac_word=$2 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2607$as_echo_n "checking for $ac_word... " >&6; } 2608if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2609 $as_echo_n "(cached) " >&6 2610else 2611 if test -n "$ac_ct_STRIP"; then 2612 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2613else 2614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2615for as_dir in $PATH 2616do 2617 IFS=$as_save_IFS 2618 test -z "$as_dir" && as_dir=. 2619 for ac_exec_ext in '' $ac_executable_extensions; do 2620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2621 ac_cv_prog_ac_ct_STRIP="strip" 2622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2623 break 2 2624 fi 2625done 2626 done 2627IFS=$as_save_IFS 2628 2629fi 2630fi 2631ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2632if test -n "$ac_ct_STRIP"; then 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2634$as_echo "$ac_ct_STRIP" >&6; } 2635else 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2637$as_echo "no" >&6; } 2638fi 2639 2640 if test "x$ac_ct_STRIP" = x; then 2641 STRIP=":" 2642 else 2643 case $cross_compiling:$ac_tool_warned in 2644yes:) 2645{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2646$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2647ac_tool_warned=yes ;; 2648esac 2649 STRIP=$ac_ct_STRIP 2650 fi 2651else 2652 STRIP="$ac_cv_prog_STRIP" 2653fi 2654 2655fi 2656INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2657 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2659$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2660if test -z "$MKDIR_P"; then 2661 if ${ac_cv_path_mkdir+:} false; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2665for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2666do 2667 IFS=$as_save_IFS 2668 test -z "$as_dir" && as_dir=. 2669 for ac_prog in mkdir gmkdir; do 2670 for ac_exec_ext in '' $ac_executable_extensions; do 2671 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2672 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2673 'mkdir (GNU coreutils) '* | \ 2674 'mkdir (coreutils) '* | \ 2675 'mkdir (fileutils) '4.1*) 2676 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2677 break 3;; 2678 esac 2679 done 2680 done 2681 done 2682IFS=$as_save_IFS 2683 2684fi 2685 2686 test -d ./--version && rmdir ./--version 2687 if test "${ac_cv_path_mkdir+set}" = set; then 2688 MKDIR_P="$ac_cv_path_mkdir -p" 2689 else 2690 # As a last resort, use the slow shell script. Don't cache a 2691 # value for MKDIR_P within a source directory, because that will 2692 # break other packages using the cache if that directory is 2693 # removed, or if the value is a relative name. 2694 MKDIR_P="$ac_install_sh -d" 2695 fi 2696fi 2697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2698$as_echo "$MKDIR_P" >&6; } 2699 2700for ac_prog in gawk mawk nawk awk 2701do 2702 # Extract the first word of "$ac_prog", so it can be a program name with args. 2703set dummy $ac_prog; ac_word=$2 2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2705$as_echo_n "checking for $ac_word... " >&6; } 2706if ${ac_cv_prog_AWK+:} false; then : 2707 $as_echo_n "(cached) " >&6 2708else 2709 if test -n "$AWK"; then 2710 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2711else 2712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2713for as_dir in $PATH 2714do 2715 IFS=$as_save_IFS 2716 test -z "$as_dir" && as_dir=. 2717 for ac_exec_ext in '' $ac_executable_extensions; do 2718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2719 ac_cv_prog_AWK="$ac_prog" 2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2721 break 2 2722 fi 2723done 2724 done 2725IFS=$as_save_IFS 2726 2727fi 2728fi 2729AWK=$ac_cv_prog_AWK 2730if test -n "$AWK"; then 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2732$as_echo "$AWK" >&6; } 2733else 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2735$as_echo "no" >&6; } 2736fi 2737 2738 2739 test -n "$AWK" && break 2740done 2741 2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2743$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2744set x ${MAKE-make} 2745ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2746if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2747 $as_echo_n "(cached) " >&6 2748else 2749 cat >conftest.make <<\_ACEOF 2750SHELL = /bin/sh 2751all: 2752 @echo '@@@%%%=$(MAKE)=@@@%%%' 2753_ACEOF 2754# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2755case `${MAKE-make} -f conftest.make 2>/dev/null` in 2756 *@@@%%%=?*=@@@%%%*) 2757 eval ac_cv_prog_make_${ac_make}_set=yes;; 2758 *) 2759 eval ac_cv_prog_make_${ac_make}_set=no;; 2760esac 2761rm -f conftest.make 2762fi 2763if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2765$as_echo "yes" >&6; } 2766 SET_MAKE= 2767else 2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2769$as_echo "no" >&6; } 2770 SET_MAKE="MAKE=${MAKE-make}" 2771fi 2772 2773rm -rf .tst 2>/dev/null 2774mkdir .tst 2>/dev/null 2775if test -d .tst; then 2776 am__leading_dot=. 2777else 2778 am__leading_dot=_ 2779fi 2780rmdir .tst 2>/dev/null 2781 2782@%:@ Check whether --enable-silent-rules was given. 2783if test "${enable_silent_rules+set}" = set; then : 2784 enableval=$enable_silent_rules; 2785fi 2786 2787case $enable_silent_rules in @%:@ ((( 2788 yes) AM_DEFAULT_VERBOSITY=0;; 2789 no) AM_DEFAULT_VERBOSITY=1;; 2790 *) AM_DEFAULT_VERBOSITY=1;; 2791esac 2792am_make=${MAKE-make} 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2794$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2795if ${am_cv_make_support_nested_variables+:} false; then : 2796 $as_echo_n "(cached) " >&6 2797else 2798 if $as_echo 'TRUE=$(BAR$(V)) 2799BAR0=false 2800BAR1=true 2801V=1 2802am__doit: 2803 @$(TRUE) 2804.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2805 am_cv_make_support_nested_variables=yes 2806else 2807 am_cv_make_support_nested_variables=no 2808fi 2809fi 2810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2811$as_echo "$am_cv_make_support_nested_variables" >&6; } 2812if test $am_cv_make_support_nested_variables = yes; then 2813 AM_V='$(V)' 2814 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2815else 2816 AM_V=$AM_DEFAULT_VERBOSITY 2817 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2818fi 2819AM_BACKSLASH='\' 2820 2821if test "`cd $srcdir && pwd`" != "`pwd`"; then 2822 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2823 # is not polluted with repeated "-I." 2824 am__isrc=' -I$(srcdir)' 2825 # test to see if srcdir already configured 2826 if test -f $srcdir/config.status; then 2827 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2828 fi 2829fi 2830 2831# test whether we have cygpath 2832if test -z "$CYGPATH_W"; then 2833 if (cygpath --version) >/dev/null 2>/dev/null; then 2834 CYGPATH_W='cygpath -w' 2835 else 2836 CYGPATH_W=echo 2837 fi 2838fi 2839 2840 2841# Define the identity of the package. 2842 2843 PACKAGE=parcellite 2844 VERSION=1.2.1 2845 2846 2847cat >>confdefs.h <<_ACEOF 2848@%:@define PACKAGE "$PACKAGE" 2849_ACEOF 2850 2851 2852cat >>confdefs.h <<_ACEOF 2853@%:@define VERSION "$VERSION" 2854_ACEOF 2855 2856# Some tools Automake needs. 2857 2858ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2859 2860 2861AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2862 2863 2864AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2865 2866 2867AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2868 2869 2870MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2871 2872# For better backward compatibility. To be removed once Automake 1.9.x 2873# dies out for good. For more background, see: 2874# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2875# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2876mkdir_p='$(MKDIR_P)' 2877 2878# We need awk for the "check" target. The system "awk" is bad on 2879# some platforms. 2880# Always define AMTAR for backward compatibility. Yes, it's still used 2881# in the wild :-( We should find a proper way to deprecate it ... 2882AMTAR='$${TAR-tar}' 2883 2884 2885# We'll loop over all known methods to create a tar archive until one works. 2886_am_tools='gnutar pax cpio none' 2887 2888am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2889 2890 2891 2892 2893 2894 2895# POSIX will say in a future version that running "rm -f" with no argument 2896# is OK; and we want to be able to make that assumption in our Makefile 2897# recipes. So use an aggressive probe to check that the usage we want is 2898# actually supported "in the wild" to an acceptable degree. 2899# See automake bug#10828. 2900# To make any issue more visible, cause the running configure to be aborted 2901# by default if the 'rm' program in use doesn't match our expectations; the 2902# user can still override this though. 2903if rm -f && rm -fr && rm -rf; then : OK; else 2904 cat >&2 <<'END' 2905Oops! 2906 2907Your 'rm' program seems unable to run without file operands specified 2908on the command line, even when the '-f' option is present. This is contrary 2909to the behaviour of most rm programs out there, and not conforming with 2910the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2911 2912Please tell bug-automake@gnu.org about your system, including the value 2913of your $PATH and any error possibly output before this message. This 2914can help us improve future automake versions. 2915 2916END 2917 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2918 echo 'Configuration will proceed anyway, since you have set the' >&2 2919 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2920 echo >&2 2921 else 2922 cat >&2 <<'END' 2923Aborting the configuration process, to ensure you take notice of the issue. 2924 2925You can download and install GNU coreutils to get an 'rm' implementation 2926that behaves properly: <http://www.gnu.org/software/coreutils/>. 2927 2928If you want to complete the configuration process using your problematic 2929'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2930to "yes", and re-run configure. 2931 2932END 2933 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2934 fi 2935fi 2936 2937 2938 2939 2940 2941ac_config_headers="$ac_config_headers config.h" 2942 2943 2944# ------------------------------------------------------------------------------- 2945# Gettext. 2946# ------------------------------------------------------------------------------- 2947 2948GETTEXT_PACKAGE=parcellite 2949 2950 2951cat >>confdefs.h <<_ACEOF 2952@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 2953_ACEOF 2954 2955 2956ALL_LINGUAS="ca cs da de es fr hu it ja nb pl pl_PL pt_BR ro ru sv tr zh_CN" 2957DEPDIR="${am__leading_dot}deps" 2958 2959ac_config_commands="$ac_config_commands depfiles" 2960 2961 2962am_make=${MAKE-make} 2963cat > confinc << 'END' 2964am__doit: 2965 @echo this is the am__doit target 2966.PHONY: am__doit 2967END 2968# If we don't find an include directive, just comment out the code. 2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2970$as_echo_n "checking for style of include used by $am_make... " >&6; } 2971am__include="#" 2972am__quote= 2973_am_result=none 2974# First try GNU make style include. 2975echo "include confinc" > confmf 2976# Ignore all kinds of additional output from 'make'. 2977case `$am_make -s -f confmf 2> /dev/null` in #( 2978*the\ am__doit\ target*) 2979 am__include=include 2980 am__quote= 2981 _am_result=GNU 2982 ;; 2983esac 2984# Now try BSD make style include. 2985if test "$am__include" = "#"; then 2986 echo '.include "confinc"' > confmf 2987 case `$am_make -s -f confmf 2> /dev/null` in #( 2988 *the\ am__doit\ target*) 2989 am__include=.include 2990 am__quote="\"" 2991 _am_result=BSD 2992 ;; 2993 esac 2994fi 2995 2996 2997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2998$as_echo "$_am_result" >&6; } 2999rm -f confinc confmf 3000 3001@%:@ Check whether --enable-dependency-tracking was given. 3002if test "${enable_dependency_tracking+set}" = set; then : 3003 enableval=$enable_dependency_tracking; 3004fi 3005 3006if test "x$enable_dependency_tracking" != xno; then 3007 am_depcomp="$ac_aux_dir/depcomp" 3008 AMDEPBACKSLASH='\' 3009 am__nodep='_no' 3010fi 3011 if test "x$enable_dependency_tracking" != xno; then 3012 AMDEP_TRUE= 3013 AMDEP_FALSE='#' 3014else 3015 AMDEP_TRUE='#' 3016 AMDEP_FALSE= 3017fi 3018 3019 3020ac_ext=c 3021ac_cpp='$CPP $CPPFLAGS' 3022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3024ac_compiler_gnu=$ac_cv_c_compiler_gnu 3025if test -n "$ac_tool_prefix"; then 3026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3027set dummy ${ac_tool_prefix}gcc; ac_word=$2 3028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3029$as_echo_n "checking for $ac_word... " >&6; } 3030if ${ac_cv_prog_CC+:} false; then : 3031 $as_echo_n "(cached) " >&6 3032else 3033 if test -n "$CC"; then 3034 ac_cv_prog_CC="$CC" # Let the user override the test. 3035else 3036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3037for as_dir in $PATH 3038do 3039 IFS=$as_save_IFS 3040 test -z "$as_dir" && as_dir=. 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3043 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3045 break 2 3046 fi 3047done 3048 done 3049IFS=$as_save_IFS 3050 3051fi 3052fi 3053CC=$ac_cv_prog_CC 3054if test -n "$CC"; then 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3056$as_echo "$CC" >&6; } 3057else 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3059$as_echo "no" >&6; } 3060fi 3061 3062 3063fi 3064if test -z "$ac_cv_prog_CC"; then 3065 ac_ct_CC=$CC 3066 # Extract the first word of "gcc", so it can be a program name with args. 3067set dummy gcc; ac_word=$2 3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3069$as_echo_n "checking for $ac_word... " >&6; } 3070if ${ac_cv_prog_ac_ct_CC+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072else 3073 if test -n "$ac_ct_CC"; then 3074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3075else 3076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3077for as_dir in $PATH 3078do 3079 IFS=$as_save_IFS 3080 test -z "$as_dir" && as_dir=. 3081 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3083 ac_cv_prog_ac_ct_CC="gcc" 3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 break 2 3086 fi 3087done 3088 done 3089IFS=$as_save_IFS 3090 3091fi 3092fi 3093ac_ct_CC=$ac_cv_prog_ac_ct_CC 3094if test -n "$ac_ct_CC"; then 3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3096$as_echo "$ac_ct_CC" >&6; } 3097else 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3099$as_echo "no" >&6; } 3100fi 3101 3102 if test "x$ac_ct_CC" = x; then 3103 CC="" 3104 else 3105 case $cross_compiling:$ac_tool_warned in 3106yes:) 3107{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3108$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3109ac_tool_warned=yes ;; 3110esac 3111 CC=$ac_ct_CC 3112 fi 3113else 3114 CC="$ac_cv_prog_CC" 3115fi 3116 3117if test -z "$CC"; then 3118 if test -n "$ac_tool_prefix"; then 3119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3120set dummy ${ac_tool_prefix}cc; ac_word=$2 3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3122$as_echo_n "checking for $ac_word... " >&6; } 3123if ${ac_cv_prog_CC+:} false; then : 3124 $as_echo_n "(cached) " >&6 3125else 3126 if test -n "$CC"; then 3127 ac_cv_prog_CC="$CC" # Let the user override the test. 3128else 3129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3130for as_dir in $PATH 3131do 3132 IFS=$as_save_IFS 3133 test -z "$as_dir" && as_dir=. 3134 for ac_exec_ext in '' $ac_executable_extensions; do 3135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3136 ac_cv_prog_CC="${ac_tool_prefix}cc" 3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3138 break 2 3139 fi 3140done 3141 done 3142IFS=$as_save_IFS 3143 3144fi 3145fi 3146CC=$ac_cv_prog_CC 3147if test -n "$CC"; then 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3149$as_echo "$CC" >&6; } 3150else 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3152$as_echo "no" >&6; } 3153fi 3154 3155 3156 fi 3157fi 3158if test -z "$CC"; then 3159 # Extract the first word of "cc", so it can be a program name with args. 3160set dummy cc; ac_word=$2 3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3162$as_echo_n "checking for $ac_word... " >&6; } 3163if ${ac_cv_prog_CC+:} false; then : 3164 $as_echo_n "(cached) " >&6 3165else 3166 if test -n "$CC"; then 3167 ac_cv_prog_CC="$CC" # Let the user override the test. 3168else 3169 ac_prog_rejected=no 3170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3171for as_dir in $PATH 3172do 3173 IFS=$as_save_IFS 3174 test -z "$as_dir" && as_dir=. 3175 for ac_exec_ext in '' $ac_executable_extensions; do 3176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3178 ac_prog_rejected=yes 3179 continue 3180 fi 3181 ac_cv_prog_CC="cc" 3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3183 break 2 3184 fi 3185done 3186 done 3187IFS=$as_save_IFS 3188 3189if test $ac_prog_rejected = yes; then 3190 # We found a bogon in the path, so make sure we never use it. 3191 set dummy $ac_cv_prog_CC 3192 shift 3193 if test $@%:@ != 0; then 3194 # We chose a different compiler from the bogus one. 3195 # However, it has the same basename, so the bogon will be chosen 3196 # first if we set CC to just the basename; use the full file name. 3197 shift 3198 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3199 fi 3200fi 3201fi 3202fi 3203CC=$ac_cv_prog_CC 3204if test -n "$CC"; then 3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3206$as_echo "$CC" >&6; } 3207else 3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3209$as_echo "no" >&6; } 3210fi 3211 3212 3213fi 3214if test -z "$CC"; then 3215 if test -n "$ac_tool_prefix"; then 3216 for ac_prog in cl.exe 3217 do 3218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3219set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3221$as_echo_n "checking for $ac_word... " >&6; } 3222if ${ac_cv_prog_CC+:} false; then : 3223 $as_echo_n "(cached) " >&6 3224else 3225 if test -n "$CC"; then 3226 ac_cv_prog_CC="$CC" # Let the user override the test. 3227else 3228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3229for as_dir in $PATH 3230do 3231 IFS=$as_save_IFS 3232 test -z "$as_dir" && as_dir=. 3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3235 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3237 break 2 3238 fi 3239done 3240 done 3241IFS=$as_save_IFS 3242 3243fi 3244fi 3245CC=$ac_cv_prog_CC 3246if test -n "$CC"; then 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3248$as_echo "$CC" >&6; } 3249else 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3251$as_echo "no" >&6; } 3252fi 3253 3254 3255 test -n "$CC" && break 3256 done 3257fi 3258if test -z "$CC"; then 3259 ac_ct_CC=$CC 3260 for ac_prog in cl.exe 3261do 3262 # Extract the first word of "$ac_prog", so it can be a program name with args. 3263set dummy $ac_prog; ac_word=$2 3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3265$as_echo_n "checking for $ac_word... " >&6; } 3266if ${ac_cv_prog_ac_ct_CC+:} false; then : 3267 $as_echo_n "(cached) " >&6 3268else 3269 if test -n "$ac_ct_CC"; then 3270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3271else 3272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3273for as_dir in $PATH 3274do 3275 IFS=$as_save_IFS 3276 test -z "$as_dir" && as_dir=. 3277 for ac_exec_ext in '' $ac_executable_extensions; do 3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3279 ac_cv_prog_ac_ct_CC="$ac_prog" 3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3281 break 2 3282 fi 3283done 3284 done 3285IFS=$as_save_IFS 3286 3287fi 3288fi 3289ac_ct_CC=$ac_cv_prog_ac_ct_CC 3290if test -n "$ac_ct_CC"; then 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3292$as_echo "$ac_ct_CC" >&6; } 3293else 3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3295$as_echo "no" >&6; } 3296fi 3297 3298 3299 test -n "$ac_ct_CC" && break 3300done 3301 3302 if test "x$ac_ct_CC" = x; then 3303 CC="" 3304 else 3305 case $cross_compiling:$ac_tool_warned in 3306yes:) 3307{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3309ac_tool_warned=yes ;; 3310esac 3311 CC=$ac_ct_CC 3312 fi 3313fi 3314 3315fi 3316 3317 3318test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3319$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3320as_fn_error $? "no acceptable C compiler found in \$PATH 3321See \`config.log' for more details" "$LINENO" 5; } 3322 3323# Provide some information about the compiler. 3324$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3325set X $ac_compile 3326ac_compiler=$2 3327for ac_option in --version -v -V -qversion; do 3328 { { ac_try="$ac_compiler $ac_option >&5" 3329case "(($ac_try" in 3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3331 *) ac_try_echo=$ac_try;; 3332esac 3333eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3334$as_echo "$ac_try_echo"; } >&5 3335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3336 ac_status=$? 3337 if test -s conftest.err; then 3338 sed '10a\ 3339... rest of stderr output deleted ... 3340 10q' conftest.err >conftest.er1 3341 cat conftest.er1 >&5 3342 fi 3343 rm -f conftest.er1 conftest.err 3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3345 test $ac_status = 0; } 3346done 3347 3348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3349/* end confdefs.h. */ 3350 3351int 3352main () 3353{ 3354 3355 ; 3356 return 0; 3357} 3358_ACEOF 3359ac_clean_files_save=$ac_clean_files 3360ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3361# Try to create an executable without -o first, disregard a.out. 3362# It will help us diagnose broken compilers, and finding out an intuition 3363# of exeext. 3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3365$as_echo_n "checking whether the C compiler works... " >&6; } 3366ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3367 3368# The possible output files: 3369ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3370 3371ac_rmfiles= 3372for ac_file in $ac_files 3373do 3374 case $ac_file in 3375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3376 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3377 esac 3378done 3379rm -f $ac_rmfiles 3380 3381if { { ac_try="$ac_link_default" 3382case "(($ac_try" in 3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3384 *) ac_try_echo=$ac_try;; 3385esac 3386eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3387$as_echo "$ac_try_echo"; } >&5 3388 (eval "$ac_link_default") 2>&5 3389 ac_status=$? 3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3391 test $ac_status = 0; }; then : 3392 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3393# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3394# in a Makefile. We should not override ac_cv_exeext if it was cached, 3395# so that the user can short-circuit this test for compilers unknown to 3396# Autoconf. 3397for ac_file in $ac_files '' 3398do 3399 test -f "$ac_file" || continue 3400 case $ac_file in 3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3402 ;; 3403 [ab].out ) 3404 # We found the default executable, but exeext='' is most 3405 # certainly right. 3406 break;; 3407 *.* ) 3408 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3409 then :; else 3410 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3411 fi 3412 # We set ac_cv_exeext here because the later test for it is not 3413 # safe: cross compilers may not add the suffix if given an `-o' 3414 # argument, so we may need to know it at that point already. 3415 # Even if this section looks crufty: it has the advantage of 3416 # actually working. 3417 break;; 3418 * ) 3419 break;; 3420 esac 3421done 3422test "$ac_cv_exeext" = no && ac_cv_exeext= 3423 3424else 3425 ac_file='' 3426fi 3427if test -z "$ac_file"; then : 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3429$as_echo "no" >&6; } 3430$as_echo "$as_me: failed program was:" >&5 3431sed 's/^/| /' conftest.$ac_ext >&5 3432 3433{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3435as_fn_error 77 "C compiler cannot create executables 3436See \`config.log' for more details" "$LINENO" 5; } 3437else 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3439$as_echo "yes" >&6; } 3440fi 3441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3442$as_echo_n "checking for C compiler default output file name... " >&6; } 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3444$as_echo "$ac_file" >&6; } 3445ac_exeext=$ac_cv_exeext 3446 3447rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3448ac_clean_files=$ac_clean_files_save 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3450$as_echo_n "checking for suffix of executables... " >&6; } 3451if { { ac_try="$ac_link" 3452case "(($ac_try" in 3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3454 *) ac_try_echo=$ac_try;; 3455esac 3456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3457$as_echo "$ac_try_echo"; } >&5 3458 (eval "$ac_link") 2>&5 3459 ac_status=$? 3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3461 test $ac_status = 0; }; then : 3462 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3463# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3464# work properly (i.e., refer to `conftest.exe'), while it won't with 3465# `rm'. 3466for ac_file in conftest.exe conftest conftest.*; do 3467 test -f "$ac_file" || continue 3468 case $ac_file in 3469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3470 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3471 break;; 3472 * ) break;; 3473 esac 3474done 3475else 3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3478as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3479See \`config.log' for more details" "$LINENO" 5; } 3480fi 3481rm -f conftest conftest$ac_cv_exeext 3482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3483$as_echo "$ac_cv_exeext" >&6; } 3484 3485rm -f conftest.$ac_ext 3486EXEEXT=$ac_cv_exeext 3487ac_exeext=$EXEEXT 3488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3489/* end confdefs.h. */ 3490@%:@include <stdio.h> 3491int 3492main () 3493{ 3494FILE *f = fopen ("conftest.out", "w"); 3495 return ferror (f) || fclose (f) != 0; 3496 3497 ; 3498 return 0; 3499} 3500_ACEOF 3501ac_clean_files="$ac_clean_files conftest.out" 3502# Check that the compiler produces executables we can run. If not, either 3503# the compiler is broken, or we cross compile. 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3505$as_echo_n "checking whether we are cross compiling... " >&6; } 3506if test "$cross_compiling" != yes; then 3507 { { ac_try="$ac_link" 3508case "(($ac_try" in 3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3510 *) ac_try_echo=$ac_try;; 3511esac 3512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3513$as_echo "$ac_try_echo"; } >&5 3514 (eval "$ac_link") 2>&5 3515 ac_status=$? 3516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3517 test $ac_status = 0; } 3518 if { ac_try='./conftest$ac_cv_exeext' 3519 { { case "(($ac_try" in 3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3521 *) ac_try_echo=$ac_try;; 3522esac 3523eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3524$as_echo "$ac_try_echo"; } >&5 3525 (eval "$ac_try") 2>&5 3526 ac_status=$? 3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3528 test $ac_status = 0; }; }; then 3529 cross_compiling=no 3530 else 3531 if test "$cross_compiling" = maybe; then 3532 cross_compiling=yes 3533 else 3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3536as_fn_error $? "cannot run C compiled programs. 3537If you meant to cross compile, use \`--host'. 3538See \`config.log' for more details" "$LINENO" 5; } 3539 fi 3540 fi 3541fi 3542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3543$as_echo "$cross_compiling" >&6; } 3544 3545rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3546ac_clean_files=$ac_clean_files_save 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3548$as_echo_n "checking for suffix of object files... " >&6; } 3549if ${ac_cv_objext+:} false; then : 3550 $as_echo_n "(cached) " >&6 3551else 3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3553/* end confdefs.h. */ 3554 3555int 3556main () 3557{ 3558 3559 ; 3560 return 0; 3561} 3562_ACEOF 3563rm -f conftest.o conftest.obj 3564if { { ac_try="$ac_compile" 3565case "(($ac_try" in 3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3567 *) ac_try_echo=$ac_try;; 3568esac 3569eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3570$as_echo "$ac_try_echo"; } >&5 3571 (eval "$ac_compile") 2>&5 3572 ac_status=$? 3573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3574 test $ac_status = 0; }; then : 3575 for ac_file in conftest.o conftest.obj conftest.*; do 3576 test -f "$ac_file" || continue; 3577 case $ac_file in 3578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3579 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3580 break;; 3581 esac 3582done 3583else 3584 $as_echo "$as_me: failed program was:" >&5 3585sed 's/^/| /' conftest.$ac_ext >&5 3586 3587{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3589as_fn_error $? "cannot compute suffix of object files: cannot compile 3590See \`config.log' for more details" "$LINENO" 5; } 3591fi 3592rm -f conftest.$ac_cv_objext conftest.$ac_ext 3593fi 3594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3595$as_echo "$ac_cv_objext" >&6; } 3596OBJEXT=$ac_cv_objext 3597ac_objext=$OBJEXT 3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3599$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3600if ${ac_cv_c_compiler_gnu+:} false; then : 3601 $as_echo_n "(cached) " >&6 3602else 3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3604/* end confdefs.h. */ 3605 3606int 3607main () 3608{ 3609#ifndef __GNUC__ 3610 choke me 3611#endif 3612 3613 ; 3614 return 0; 3615} 3616_ACEOF 3617if ac_fn_c_try_compile "$LINENO"; then : 3618 ac_compiler_gnu=yes 3619else 3620 ac_compiler_gnu=no 3621fi 3622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3623ac_cv_c_compiler_gnu=$ac_compiler_gnu 3624 3625fi 3626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3627$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3628if test $ac_compiler_gnu = yes; then 3629 GCC=yes 3630else 3631 GCC= 3632fi 3633ac_test_CFLAGS=${CFLAGS+set} 3634ac_save_CFLAGS=$CFLAGS 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3636$as_echo_n "checking whether $CC accepts -g... " >&6; } 3637if ${ac_cv_prog_cc_g+:} false; then : 3638 $as_echo_n "(cached) " >&6 3639else 3640 ac_save_c_werror_flag=$ac_c_werror_flag 3641 ac_c_werror_flag=yes 3642 ac_cv_prog_cc_g=no 3643 CFLAGS="-g" 3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3645/* end confdefs.h. */ 3646 3647int 3648main () 3649{ 3650 3651 ; 3652 return 0; 3653} 3654_ACEOF 3655if ac_fn_c_try_compile "$LINENO"; then : 3656 ac_cv_prog_cc_g=yes 3657else 3658 CFLAGS="" 3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3660/* end confdefs.h. */ 3661 3662int 3663main () 3664{ 3665 3666 ; 3667 return 0; 3668} 3669_ACEOF 3670if ac_fn_c_try_compile "$LINENO"; then : 3671 3672else 3673 ac_c_werror_flag=$ac_save_c_werror_flag 3674 CFLAGS="-g" 3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3676/* end confdefs.h. */ 3677 3678int 3679main () 3680{ 3681 3682 ; 3683 return 0; 3684} 3685_ACEOF 3686if ac_fn_c_try_compile "$LINENO"; then : 3687 ac_cv_prog_cc_g=yes 3688fi 3689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3690fi 3691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3692fi 3693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3694 ac_c_werror_flag=$ac_save_c_werror_flag 3695fi 3696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3697$as_echo "$ac_cv_prog_cc_g" >&6; } 3698if test "$ac_test_CFLAGS" = set; then 3699 CFLAGS=$ac_save_CFLAGS 3700elif test $ac_cv_prog_cc_g = yes; then 3701 if test "$GCC" = yes; then 3702 CFLAGS="-g -O2" 3703 else 3704 CFLAGS="-g" 3705 fi 3706else 3707 if test "$GCC" = yes; then 3708 CFLAGS="-O2" 3709 else 3710 CFLAGS= 3711 fi 3712fi 3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3714$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3715if ${ac_cv_prog_cc_c89+:} false; then : 3716 $as_echo_n "(cached) " >&6 3717else 3718 ac_cv_prog_cc_c89=no 3719ac_save_CC=$CC 3720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3721/* end confdefs.h. */ 3722#include <stdarg.h> 3723#include <stdio.h> 3724struct stat; 3725/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3726struct buf { int x; }; 3727FILE * (*rcsopen) (struct buf *, struct stat *, int); 3728static char *e (p, i) 3729 char **p; 3730 int i; 3731{ 3732 return p[i]; 3733} 3734static char *f (char * (*g) (char **, int), char **p, ...) 3735{ 3736 char *s; 3737 va_list v; 3738 va_start (v,p); 3739 s = g (p, va_arg (v,int)); 3740 va_end (v); 3741 return s; 3742} 3743 3744/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3745 function prototypes and stuff, but not '\xHH' hex character constants. 3746 These don't provoke an error unfortunately, instead are silently treated 3747 as 'x'. The following induces an error, until -std is added to get 3748 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3749 array size at least. It's necessary to write '\x00'==0 to get something 3750 that's true only with -std. */ 3751int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3752 3753/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3754 inside strings and character constants. */ 3755#define FOO(x) 'x' 3756int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3757 3758int test (int i, double x); 3759struct s1 {int (*f) (int a);}; 3760struct s2 {int (*f) (double a);}; 3761int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3762int argc; 3763char **argv; 3764int 3765main () 3766{ 3767return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3768 ; 3769 return 0; 3770} 3771_ACEOF 3772for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3773 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3774do 3775 CC="$ac_save_CC $ac_arg" 3776 if ac_fn_c_try_compile "$LINENO"; then : 3777 ac_cv_prog_cc_c89=$ac_arg 3778fi 3779rm -f core conftest.err conftest.$ac_objext 3780 test "x$ac_cv_prog_cc_c89" != "xno" && break 3781done 3782rm -f conftest.$ac_ext 3783CC=$ac_save_CC 3784 3785fi 3786# AC_CACHE_VAL 3787case "x$ac_cv_prog_cc_c89" in 3788 x) 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3790$as_echo "none needed" >&6; } ;; 3791 xno) 3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3793$as_echo "unsupported" >&6; } ;; 3794 *) 3795 CC="$CC $ac_cv_prog_cc_c89" 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3797$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3798esac 3799if test "x$ac_cv_prog_cc_c89" != xno; then : 3800 3801fi 3802 3803ac_ext=c 3804ac_cpp='$CPP $CPPFLAGS' 3805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3807ac_compiler_gnu=$ac_cv_c_compiler_gnu 3808 3809ac_ext=c 3810ac_cpp='$CPP $CPPFLAGS' 3811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3813ac_compiler_gnu=$ac_cv_c_compiler_gnu 3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3815$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3816if ${am_cv_prog_cc_c_o+:} false; then : 3817 $as_echo_n "(cached) " >&6 3818else 3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3820/* end confdefs.h. */ 3821 3822int 3823main () 3824{ 3825 3826 ; 3827 return 0; 3828} 3829_ACEOF 3830 # Make sure it works both with $CC and with simple cc. 3831 # Following AC_PROG_CC_C_O, we do the test twice because some 3832 # compilers refuse to overwrite an existing .o file with -o, 3833 # though they will create one. 3834 am_cv_prog_cc_c_o=yes 3835 for am_i in 1 2; do 3836 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3837 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3838 ac_status=$? 3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3840 (exit $ac_status); } \ 3841 && test -f conftest2.$ac_objext; then 3842 : OK 3843 else 3844 am_cv_prog_cc_c_o=no 3845 break 3846 fi 3847 done 3848 rm -f core conftest* 3849 unset am_i 3850fi 3851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3852$as_echo "$am_cv_prog_cc_c_o" >&6; } 3853if test "$am_cv_prog_cc_c_o" != yes; then 3854 # Losing compiler, so override with the script. 3855 # FIXME: It is wrong to rewrite CC. 3856 # But if we don't then we get into trouble of one sort or another. 3857 # A longer-term fix would be to have automake use am__CC in this case, 3858 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3859 CC="$am_aux_dir/compile $CC" 3860fi 3861ac_ext=c 3862ac_cpp='$CPP $CPPFLAGS' 3863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3865ac_compiler_gnu=$ac_cv_c_compiler_gnu 3866 3867 3868depcc="$CC" am_compiler_list= 3869 3870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3871$as_echo_n "checking dependency style of $depcc... " >&6; } 3872if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3873 $as_echo_n "(cached) " >&6 3874else 3875 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3876 # We make a subdir and do the tests there. Otherwise we can end up 3877 # making bogus files that we don't know about and never remove. For 3878 # instance it was reported that on HP-UX the gcc test will end up 3879 # making a dummy file named 'D' -- because '-MD' means "put the output 3880 # in D". 3881 rm -rf conftest.dir 3882 mkdir conftest.dir 3883 # Copy depcomp to subdir because otherwise we won't find it if we're 3884 # using a relative directory. 3885 cp "$am_depcomp" conftest.dir 3886 cd conftest.dir 3887 # We will build objects and dependencies in a subdirectory because 3888 # it helps to detect inapplicable dependency modes. For instance 3889 # both Tru64's cc and ICC support -MD to output dependencies as a 3890 # side effect of compilation, but ICC will put the dependencies in 3891 # the current directory while Tru64 will put them in the object 3892 # directory. 3893 mkdir sub 3894 3895 am_cv_CC_dependencies_compiler_type=none 3896 if test "$am_compiler_list" = ""; then 3897 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3898 fi 3899 am__universal=false 3900 case " $depcc " in #( 3901 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3902 esac 3903 3904 for depmode in $am_compiler_list; do 3905 # Setup a source with many dependencies, because some compilers 3906 # like to wrap large dependency lists on column 80 (with \), and 3907 # we should not choose a depcomp mode which is confused by this. 3908 # 3909 # We need to recreate these files for each test, as the compiler may 3910 # overwrite some of them when testing with obscure command lines. 3911 # This happens at least with the AIX C compiler. 3912 : > sub/conftest.c 3913 for i in 1 2 3 4 5 6; do 3914 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3915 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3916 # Solaris 10 /bin/sh. 3917 echo '/* dummy */' > sub/conftst$i.h 3918 done 3919 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3920 3921 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3922 # mode. It turns out that the SunPro C++ compiler does not properly 3923 # handle '-M -o', and we need to detect this. Also, some Intel 3924 # versions had trouble with output in subdirs. 3925 am__obj=sub/conftest.${OBJEXT-o} 3926 am__minus_obj="-o $am__obj" 3927 case $depmode in 3928 gcc) 3929 # This depmode causes a compiler race in universal mode. 3930 test "$am__universal" = false || continue 3931 ;; 3932 nosideeffect) 3933 # After this tag, mechanisms are not by side-effect, so they'll 3934 # only be used when explicitly requested. 3935 if test "x$enable_dependency_tracking" = xyes; then 3936 continue 3937 else 3938 break 3939 fi 3940 ;; 3941 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3942 # This compiler won't grok '-c -o', but also, the minuso test has 3943 # not run yet. These depmodes are late enough in the game, and 3944 # so weak that their functioning should not be impacted. 3945 am__obj=conftest.${OBJEXT-o} 3946 am__minus_obj= 3947 ;; 3948 none) break ;; 3949 esac 3950 if depmode=$depmode \ 3951 source=sub/conftest.c object=$am__obj \ 3952 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3953 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3954 >/dev/null 2>conftest.err && 3955 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3956 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3957 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3958 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3959 # icc doesn't choke on unknown options, it will just issue warnings 3960 # or remarks (even with -Werror). So we grep stderr for any message 3961 # that says an option was ignored or not supported. 3962 # When given -MP, icc 7.0 and 7.1 complain thusly: 3963 # icc: Command line warning: ignoring option '-M'; no argument required 3964 # The diagnosis changed in icc 8.0: 3965 # icc: Command line remark: option '-MP' not supported 3966 if (grep 'ignoring option' conftest.err || 3967 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3968 am_cv_CC_dependencies_compiler_type=$depmode 3969 break 3970 fi 3971 fi 3972 done 3973 3974 cd .. 3975 rm -rf conftest.dir 3976else 3977 am_cv_CC_dependencies_compiler_type=none 3978fi 3979 3980fi 3981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3982$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3983CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3984 3985 if 3986 test "x$enable_dependency_tracking" != xno \ 3987 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3988 am__fastdepCC_TRUE= 3989 am__fastdepCC_FALSE='#' 3990else 3991 am__fastdepCC_TRUE='#' 3992 am__fastdepCC_FALSE= 3993fi 3994 3995 3996 3997ac_ext=c 3998ac_cpp='$CPP $CPPFLAGS' 3999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4001ac_compiler_gnu=$ac_cv_c_compiler_gnu 4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4003$as_echo_n "checking how to run the C preprocessor... " >&6; } 4004# On Suns, sometimes $CPP names a directory. 4005if test -n "$CPP" && test -d "$CPP"; then 4006 CPP= 4007fi 4008if test -z "$CPP"; then 4009 if ${ac_cv_prog_CPP+:} false; then : 4010 $as_echo_n "(cached) " >&6 4011else 4012 # Double quotes because CPP needs to be expanded 4013 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4014 do 4015 ac_preproc_ok=false 4016for ac_c_preproc_warn_flag in '' yes 4017do 4018 # Use a header file that comes with gcc, so configuring glibc 4019 # with a fresh cross-compiler works. 4020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4021 # <limits.h> exists even on freestanding compilers. 4022 # On the NeXT, cc -E runs the code through the compiler's parser, 4023 # not just through cpp. "Syntax error" is here to catch this case. 4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4025/* end confdefs.h. */ 4026@%:@ifdef __STDC__ 4027@%:@ include <limits.h> 4028@%:@else 4029@%:@ include <assert.h> 4030@%:@endif 4031 Syntax error 4032_ACEOF 4033if ac_fn_c_try_cpp "$LINENO"; then : 4034 4035else 4036 # Broken: fails on valid input. 4037continue 4038fi 4039rm -f conftest.err conftest.i conftest.$ac_ext 4040 4041 # OK, works on sane cases. Now check whether nonexistent headers 4042 # can be detected and how. 4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044/* end confdefs.h. */ 4045@%:@include <ac_nonexistent.h> 4046_ACEOF 4047if ac_fn_c_try_cpp "$LINENO"; then : 4048 # Broken: success on invalid input. 4049continue 4050else 4051 # Passes both tests. 4052ac_preproc_ok=: 4053break 4054fi 4055rm -f conftest.err conftest.i conftest.$ac_ext 4056 4057done 4058# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4059rm -f conftest.i conftest.err conftest.$ac_ext 4060if $ac_preproc_ok; then : 4061 break 4062fi 4063 4064 done 4065 ac_cv_prog_CPP=$CPP 4066 4067fi 4068 CPP=$ac_cv_prog_CPP 4069else 4070 ac_cv_prog_CPP=$CPP 4071fi 4072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4073$as_echo "$CPP" >&6; } 4074ac_preproc_ok=false 4075for ac_c_preproc_warn_flag in '' yes 4076do 4077 # Use a header file that comes with gcc, so configuring glibc 4078 # with a fresh cross-compiler works. 4079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4080 # <limits.h> exists even on freestanding compilers. 4081 # On the NeXT, cc -E runs the code through the compiler's parser, 4082 # not just through cpp. "Syntax error" is here to catch this case. 4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4084/* end confdefs.h. */ 4085@%:@ifdef __STDC__ 4086@%:@ include <limits.h> 4087@%:@else 4088@%:@ include <assert.h> 4089@%:@endif 4090 Syntax error 4091_ACEOF 4092if ac_fn_c_try_cpp "$LINENO"; then : 4093 4094else 4095 # Broken: fails on valid input. 4096continue 4097fi 4098rm -f conftest.err conftest.i conftest.$ac_ext 4099 4100 # OK, works on sane cases. Now check whether nonexistent headers 4101 # can be detected and how. 4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4103/* end confdefs.h. */ 4104@%:@include <ac_nonexistent.h> 4105_ACEOF 4106if ac_fn_c_try_cpp "$LINENO"; then : 4107 # Broken: success on invalid input. 4108continue 4109else 4110 # Passes both tests. 4111ac_preproc_ok=: 4112break 4113fi 4114rm -f conftest.err conftest.i conftest.$ac_ext 4115 4116done 4117# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4118rm -f conftest.i conftest.err conftest.$ac_ext 4119if $ac_preproc_ok; then : 4120 4121else 4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4124as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4125See \`config.log' for more details" "$LINENO" 5; } 4126fi 4127 4128ac_ext=c 4129ac_cpp='$CPP $CPPFLAGS' 4130ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4131ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4132ac_compiler_gnu=$ac_cv_c_compiler_gnu 4133 4134 4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4136$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4137if ${ac_cv_path_GREP+:} false; then : 4138 $as_echo_n "(cached) " >&6 4139else 4140 if test -z "$GREP"; then 4141 ac_path_GREP_found=false 4142 # Loop through the user's path and test for each of PROGNAME-LIST 4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4144for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4145do 4146 IFS=$as_save_IFS 4147 test -z "$as_dir" && as_dir=. 4148 for ac_prog in grep ggrep; do 4149 for ac_exec_ext in '' $ac_executable_extensions; do 4150 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4151 as_fn_executable_p "$ac_path_GREP" || continue 4152# Check for GNU ac_path_GREP and select it if it is found. 4153 # Check for GNU $ac_path_GREP 4154case `"$ac_path_GREP" --version 2>&1` in 4155*GNU*) 4156 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4157*) 4158 ac_count=0 4159 $as_echo_n 0123456789 >"conftest.in" 4160 while : 4161 do 4162 cat "conftest.in" "conftest.in" >"conftest.tmp" 4163 mv "conftest.tmp" "conftest.in" 4164 cp "conftest.in" "conftest.nl" 4165 $as_echo 'GREP' >> "conftest.nl" 4166 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4167 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4168 as_fn_arith $ac_count + 1 && ac_count=$as_val 4169 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4170 # Best one so far, save it but keep looking for a better one 4171 ac_cv_path_GREP="$ac_path_GREP" 4172 ac_path_GREP_max=$ac_count 4173 fi 4174 # 10*(2^10) chars as input seems more than enough 4175 test $ac_count -gt 10 && break 4176 done 4177 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4178esac 4179 4180 $ac_path_GREP_found && break 3 4181 done 4182 done 4183 done 4184IFS=$as_save_IFS 4185 if test -z "$ac_cv_path_GREP"; then 4186 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4187 fi 4188else 4189 ac_cv_path_GREP=$GREP 4190fi 4191 4192fi 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4194$as_echo "$ac_cv_path_GREP" >&6; } 4195 GREP="$ac_cv_path_GREP" 4196 4197 4198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4199$as_echo_n "checking for egrep... " >&6; } 4200if ${ac_cv_path_EGREP+:} false; then : 4201 $as_echo_n "(cached) " >&6 4202else 4203 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4204 then ac_cv_path_EGREP="$GREP -E" 4205 else 4206 if test -z "$EGREP"; then 4207 ac_path_EGREP_found=false 4208 # Loop through the user's path and test for each of PROGNAME-LIST 4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4210for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4211do 4212 IFS=$as_save_IFS 4213 test -z "$as_dir" && as_dir=. 4214 for ac_prog in egrep; do 4215 for ac_exec_ext in '' $ac_executable_extensions; do 4216 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4217 as_fn_executable_p "$ac_path_EGREP" || continue 4218# Check for GNU ac_path_EGREP and select it if it is found. 4219 # Check for GNU $ac_path_EGREP 4220case `"$ac_path_EGREP" --version 2>&1` in 4221*GNU*) 4222 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4223*) 4224 ac_count=0 4225 $as_echo_n 0123456789 >"conftest.in" 4226 while : 4227 do 4228 cat "conftest.in" "conftest.in" >"conftest.tmp" 4229 mv "conftest.tmp" "conftest.in" 4230 cp "conftest.in" "conftest.nl" 4231 $as_echo 'EGREP' >> "conftest.nl" 4232 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4234 as_fn_arith $ac_count + 1 && ac_count=$as_val 4235 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4236 # Best one so far, save it but keep looking for a better one 4237 ac_cv_path_EGREP="$ac_path_EGREP" 4238 ac_path_EGREP_max=$ac_count 4239 fi 4240 # 10*(2^10) chars as input seems more than enough 4241 test $ac_count -gt 10 && break 4242 done 4243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4244esac 4245 4246 $ac_path_EGREP_found && break 3 4247 done 4248 done 4249 done 4250IFS=$as_save_IFS 4251 if test -z "$ac_cv_path_EGREP"; then 4252 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4253 fi 4254else 4255 ac_cv_path_EGREP=$EGREP 4256fi 4257 4258 fi 4259fi 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4261$as_echo "$ac_cv_path_EGREP" >&6; } 4262 EGREP="$ac_cv_path_EGREP" 4263 4264 4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4266$as_echo_n "checking for ANSI C header files... " >&6; } 4267if ${ac_cv_header_stdc+:} false; then : 4268 $as_echo_n "(cached) " >&6 4269else 4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4271/* end confdefs.h. */ 4272#include <stdlib.h> 4273#include <stdarg.h> 4274#include <string.h> 4275#include <float.h> 4276 4277int 4278main () 4279{ 4280 4281 ; 4282 return 0; 4283} 4284_ACEOF 4285if ac_fn_c_try_compile "$LINENO"; then : 4286 ac_cv_header_stdc=yes 4287else 4288 ac_cv_header_stdc=no 4289fi 4290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4291 4292if test $ac_cv_header_stdc = yes; then 4293 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295/* end confdefs.h. */ 4296#include <string.h> 4297 4298_ACEOF 4299if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4300 $EGREP "memchr" >/dev/null 2>&1; then : 4301 4302else 4303 ac_cv_header_stdc=no 4304fi 4305rm -f conftest* 4306 4307fi 4308 4309if test $ac_cv_header_stdc = yes; then 4310 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4312/* end confdefs.h. */ 4313#include <stdlib.h> 4314 4315_ACEOF 4316if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4317 $EGREP "free" >/dev/null 2>&1; then : 4318 4319else 4320 ac_cv_header_stdc=no 4321fi 4322rm -f conftest* 4323 4324fi 4325 4326if test $ac_cv_header_stdc = yes; then 4327 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4328 if test "$cross_compiling" = yes; then : 4329 : 4330else 4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4332/* end confdefs.h. */ 4333#include <ctype.h> 4334#include <stdlib.h> 4335#if ((' ' & 0x0FF) == 0x020) 4336# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4337# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4338#else 4339# define ISLOWER(c) \ 4340 (('a' <= (c) && (c) <= 'i') \ 4341 || ('j' <= (c) && (c) <= 'r') \ 4342 || ('s' <= (c) && (c) <= 'z')) 4343# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4344#endif 4345 4346#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4347int 4348main () 4349{ 4350 int i; 4351 for (i = 0; i < 256; i++) 4352 if (XOR (islower (i), ISLOWER (i)) 4353 || toupper (i) != TOUPPER (i)) 4354 return 2; 4355 return 0; 4356} 4357_ACEOF 4358if ac_fn_c_try_run "$LINENO"; then : 4359 4360else 4361 ac_cv_header_stdc=no 4362fi 4363rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4364 conftest.$ac_objext conftest.beam conftest.$ac_ext 4365fi 4366 4367fi 4368fi 4369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4370$as_echo "$ac_cv_header_stdc" >&6; } 4371if test $ac_cv_header_stdc = yes; then 4372 4373$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 4374 4375fi 4376 4377# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4378for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4379 inttypes.h stdint.h unistd.h 4380do : 4381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4382ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4383" 4384if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4385 cat >>confdefs.h <<_ACEOF 4386@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4387_ACEOF 4388 4389fi 4390 4391done 4392 4393 4394 4395 for ac_header in locale.h 4396do : 4397 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 4398if test "x$ac_cv_header_locale_h" = xyes; then : 4399 cat >>confdefs.h <<_ACEOF 4400@%:@define HAVE_LOCALE_H 1 4401_ACEOF 4402 4403fi 4404 4405done 4406 4407 if test $ac_cv_header_locale_h = yes; then 4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 4409$as_echo_n "checking for LC_MESSAGES... " >&6; } 4410if ${am_cv_val_LC_MESSAGES+:} false; then : 4411 $as_echo_n "(cached) " >&6 4412else 4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4414/* end confdefs.h. */ 4415#include <locale.h> 4416int 4417main () 4418{ 4419return LC_MESSAGES 4420 ; 4421 return 0; 4422} 4423_ACEOF 4424if ac_fn_c_try_link "$LINENO"; then : 4425 am_cv_val_LC_MESSAGES=yes 4426else 4427 am_cv_val_LC_MESSAGES=no 4428fi 4429rm -f core conftest.err conftest.$ac_objext \ 4430 conftest$ac_exeext conftest.$ac_ext 4431fi 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 4433$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 4434 if test $am_cv_val_LC_MESSAGES = yes; then 4435 4436$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h 4437 4438 fi 4439 fi 4440 USE_NLS=yes 4441 4442 4443 gt_cv_have_gettext=no 4444 4445 CATOBJEXT=NONE 4446 XGETTEXT=: 4447 INTLLIBS= 4448 4449 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 4450if test "x$ac_cv_header_libintl_h" = xyes; then : 4451 gt_cv_func_dgettext_libintl="no" 4452 libintl_extra_libs="" 4453 4454 # 4455 # First check in libc 4456 # 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 4458$as_echo_n "checking for ngettext in libc... " >&6; } 4459if ${gt_cv_func_ngettext_libc+:} false; then : 4460 $as_echo_n "(cached) " >&6 4461else 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4463/* end confdefs.h. */ 4464 4465#include <libintl.h> 4466 4467int 4468main () 4469{ 4470return !ngettext ("","", 1) 4471 ; 4472 return 0; 4473} 4474_ACEOF 4475if ac_fn_c_try_link "$LINENO"; then : 4476 gt_cv_func_ngettext_libc=yes 4477else 4478 gt_cv_func_ngettext_libc=no 4479fi 4480rm -f core conftest.err conftest.$ac_objext \ 4481 conftest$ac_exeext conftest.$ac_ext 4482 4483fi 4484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 4485$as_echo "$gt_cv_func_ngettext_libc" >&6; } 4486 4487 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 4489$as_echo_n "checking for dgettext in libc... " >&6; } 4490if ${gt_cv_func_dgettext_libc+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492else 4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4494/* end confdefs.h. */ 4495 4496#include <libintl.h> 4497 4498int 4499main () 4500{ 4501return !dgettext ("","") 4502 ; 4503 return 0; 4504} 4505_ACEOF 4506if ac_fn_c_try_link "$LINENO"; then : 4507 gt_cv_func_dgettext_libc=yes 4508else 4509 gt_cv_func_dgettext_libc=no 4510fi 4511rm -f core conftest.err conftest.$ac_objext \ 4512 conftest$ac_exeext conftest.$ac_ext 4513 4514fi 4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 4516$as_echo "$gt_cv_func_dgettext_libc" >&6; } 4517 fi 4518 4519 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 4520 for ac_func in bind_textdomain_codeset 4521do : 4522 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4523if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 4524 cat >>confdefs.h <<_ACEOF 4525@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1 4526_ACEOF 4527 4528fi 4529done 4530 4531 fi 4532 4533 # 4534 # If we don't have everything we want, check in libintl 4535 # 4536 if test "$gt_cv_func_dgettext_libc" != "yes" \ 4537 || test "$gt_cv_func_ngettext_libc" != "yes" \ 4538 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 4539 4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 4541$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 4542if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 4543 $as_echo_n "(cached) " >&6 4544else 4545 ac_check_lib_save_LIBS=$LIBS 4546LIBS="-lintl $LIBS" 4547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4548/* end confdefs.h. */ 4549 4550/* Override any GCC internal prototype to avoid an error. 4551 Use char because int might match the return type of a GCC 4552 builtin and then its argument prototype would still apply. */ 4553#ifdef __cplusplus 4554extern "C" 4555#endif 4556char bindtextdomain (); 4557int 4558main () 4559{ 4560return bindtextdomain (); 4561 ; 4562 return 0; 4563} 4564_ACEOF 4565if ac_fn_c_try_link "$LINENO"; then : 4566 ac_cv_lib_intl_bindtextdomain=yes 4567else 4568 ac_cv_lib_intl_bindtextdomain=no 4569fi 4570rm -f core conftest.err conftest.$ac_objext \ 4571 conftest$ac_exeext conftest.$ac_ext 4572LIBS=$ac_check_lib_save_LIBS 4573fi 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 4575$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 4576if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 4578$as_echo_n "checking for ngettext in -lintl... " >&6; } 4579if ${ac_cv_lib_intl_ngettext+:} false; then : 4580 $as_echo_n "(cached) " >&6 4581else 4582 ac_check_lib_save_LIBS=$LIBS 4583LIBS="-lintl $LIBS" 4584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4585/* end confdefs.h. */ 4586 4587/* Override any GCC internal prototype to avoid an error. 4588 Use char because int might match the return type of a GCC 4589 builtin and then its argument prototype would still apply. */ 4590#ifdef __cplusplus 4591extern "C" 4592#endif 4593char ngettext (); 4594int 4595main () 4596{ 4597return ngettext (); 4598 ; 4599 return 0; 4600} 4601_ACEOF 4602if ac_fn_c_try_link "$LINENO"; then : 4603 ac_cv_lib_intl_ngettext=yes 4604else 4605 ac_cv_lib_intl_ngettext=no 4606fi 4607rm -f core conftest.err conftest.$ac_objext \ 4608 conftest$ac_exeext conftest.$ac_ext 4609LIBS=$ac_check_lib_save_LIBS 4610fi 4611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 4612$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 4613if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 4615$as_echo_n "checking for dgettext in -lintl... " >&6; } 4616if ${ac_cv_lib_intl_dgettext+:} false; then : 4617 $as_echo_n "(cached) " >&6 4618else 4619 ac_check_lib_save_LIBS=$LIBS 4620LIBS="-lintl $LIBS" 4621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4622/* end confdefs.h. */ 4623 4624/* Override any GCC internal prototype to avoid an error. 4625 Use char because int might match the return type of a GCC 4626 builtin and then its argument prototype would still apply. */ 4627#ifdef __cplusplus 4628extern "C" 4629#endif 4630char dgettext (); 4631int 4632main () 4633{ 4634return dgettext (); 4635 ; 4636 return 0; 4637} 4638_ACEOF 4639if ac_fn_c_try_link "$LINENO"; then : 4640 ac_cv_lib_intl_dgettext=yes 4641else 4642 ac_cv_lib_intl_dgettext=no 4643fi 4644rm -f core conftest.err conftest.$ac_objext \ 4645 conftest$ac_exeext conftest.$ac_ext 4646LIBS=$ac_check_lib_save_LIBS 4647fi 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 4649$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 4650if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 4651 gt_cv_func_dgettext_libintl=yes 4652fi 4653 4654fi 4655 4656fi 4657 4658 4659 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 4661$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 4663$as_echo "" >&6; } 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 4665$as_echo_n "checking for ngettext in -lintl... " >&6; } 4666if ${ac_cv_lib_intl_ngettext+:} false; then : 4667 $as_echo_n "(cached) " >&6 4668else 4669 ac_check_lib_save_LIBS=$LIBS 4670LIBS="-lintl -liconv $LIBS" 4671cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4672/* end confdefs.h. */ 4673 4674/* Override any GCC internal prototype to avoid an error. 4675 Use char because int might match the return type of a GCC 4676 builtin and then its argument prototype would still apply. */ 4677#ifdef __cplusplus 4678extern "C" 4679#endif 4680char ngettext (); 4681int 4682main () 4683{ 4684return ngettext (); 4685 ; 4686 return 0; 4687} 4688_ACEOF 4689if ac_fn_c_try_link "$LINENO"; then : 4690 ac_cv_lib_intl_ngettext=yes 4691else 4692 ac_cv_lib_intl_ngettext=no 4693fi 4694rm -f core conftest.err conftest.$ac_objext \ 4695 conftest$ac_exeext conftest.$ac_ext 4696LIBS=$ac_check_lib_save_LIBS 4697fi 4698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 4699$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 4700if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 4702$as_echo_n "checking for dcgettext in -lintl... " >&6; } 4703if ${ac_cv_lib_intl_dcgettext+:} false; then : 4704 $as_echo_n "(cached) " >&6 4705else 4706 ac_check_lib_save_LIBS=$LIBS 4707LIBS="-lintl -liconv $LIBS" 4708cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4709/* end confdefs.h. */ 4710 4711/* Override any GCC internal prototype to avoid an error. 4712 Use char because int might match the return type of a GCC 4713 builtin and then its argument prototype would still apply. */ 4714#ifdef __cplusplus 4715extern "C" 4716#endif 4717char dcgettext (); 4718int 4719main () 4720{ 4721return dcgettext (); 4722 ; 4723 return 0; 4724} 4725_ACEOF 4726if ac_fn_c_try_link "$LINENO"; then : 4727 ac_cv_lib_intl_dcgettext=yes 4728else 4729 ac_cv_lib_intl_dcgettext=no 4730fi 4731rm -f core conftest.err conftest.$ac_objext \ 4732 conftest$ac_exeext conftest.$ac_ext 4733LIBS=$ac_check_lib_save_LIBS 4734fi 4735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 4736$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 4737if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 4738 gt_cv_func_dgettext_libintl=yes 4739 libintl_extra_libs=-liconv 4740else 4741 : 4742fi 4743 4744else 4745 : 4746fi 4747 4748 fi 4749 4750 # 4751 # If we found libintl, then check in it for bind_textdomain_codeset(); 4752 # we'll prefer libc if neither have bind_textdomain_codeset(), 4753 # and both have dgettext and ngettext 4754 # 4755 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 4756 glib_save_LIBS="$LIBS" 4757 LIBS="$LIBS -lintl $libintl_extra_libs" 4758 unset ac_cv_func_bind_textdomain_codeset 4759 for ac_func in bind_textdomain_codeset 4760do : 4761 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4762if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 4763 cat >>confdefs.h <<_ACEOF 4764@%:@define HAVE_BIND_TEXTDOMAIN_CODESET 1 4765_ACEOF 4766 4767fi 4768done 4769 4770 LIBS="$glib_save_LIBS" 4771 4772 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 4773 gt_cv_func_dgettext_libc=no 4774 else 4775 if test "$gt_cv_func_dgettext_libc" = "yes" \ 4776 && test "$gt_cv_func_ngettext_libc" = "yes"; then 4777 gt_cv_func_dgettext_libintl=no 4778 fi 4779 fi 4780 fi 4781 fi 4782 4783 if test "$gt_cv_func_dgettext_libc" = "yes" \ 4784 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 4785 gt_cv_have_gettext=yes 4786 fi 4787 4788 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 4789 INTLLIBS="-lintl $libintl_extra_libs" 4790 fi 4791 4792 if test "$gt_cv_have_gettext" = "yes"; then 4793 4794$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h 4795 4796 # Extract the first word of "msgfmt", so it can be a program name with args. 4797set dummy msgfmt; ac_word=$2 4798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4799$as_echo_n "checking for $ac_word... " >&6; } 4800if ${ac_cv_path_MSGFMT+:} false; then : 4801 $as_echo_n "(cached) " >&6 4802else 4803 case "$MSGFMT" in 4804 /*) 4805 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4806 ;; 4807 *) 4808 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 4809 for ac_dir in $PATH; do 4810 test -z "$ac_dir" && ac_dir=. 4811 if test -f $ac_dir/$ac_word; then 4812 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 4813 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 4814 break 4815 fi 4816 fi 4817 done 4818 IFS="$ac_save_ifs" 4819 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 4820 ;; 4821esac 4822fi 4823MSGFMT="$ac_cv_path_MSGFMT" 4824if test "$MSGFMT" != "no"; then 4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4826$as_echo "$MSGFMT" >&6; } 4827else 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4829$as_echo "no" >&6; } 4830fi 4831 if test "$MSGFMT" != "no"; then 4832 glib_save_LIBS="$LIBS" 4833 LIBS="$LIBS $INTLLIBS" 4834 for ac_func in dcgettext 4835do : 4836 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 4837if test "x$ac_cv_func_dcgettext" = xyes; then : 4838 cat >>confdefs.h <<_ACEOF 4839@%:@define HAVE_DCGETTEXT 1 4840_ACEOF 4841 4842fi 4843done 4844 4845 MSGFMT_OPTS= 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 4847$as_echo_n "checking if msgfmt accepts -c... " >&6; } 4848 cat >conftest.foo <<_ACEOF 4849 4850msgid "" 4851msgstr "" 4852"Content-Type: text/plain; charset=UTF-8\n" 4853"Project-Id-Version: test 1.0\n" 4854"PO-Revision-Date: 2007-02-15 12:01+0100\n" 4855"Last-Translator: test <foo@bar.xx>\n" 4856"Language-Team: C <LL@li.org>\n" 4857"MIME-Version: 1.0\n" 4858"Content-Transfer-Encoding: 8bit\n" 4859 4860_ACEOF 4861if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 4862 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 4863 ac_status=$? 4864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4865 test $ac_status = 0; }; then 4866 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4867$as_echo "yes" >&6; } 4868else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4869$as_echo "no" >&6; } 4870echo "$as_me: failed input was:" >&5 4871sed 's/^/| /' conftest.foo >&5 4872fi 4873 4874 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4875set dummy gmsgfmt; ac_word=$2 4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4877$as_echo_n "checking for $ac_word... " >&6; } 4878if ${ac_cv_path_GMSGFMT+:} false; then : 4879 $as_echo_n "(cached) " >&6 4880else 4881 case $GMSGFMT in 4882 [\\/]* | ?:[\\/]*) 4883 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4884 ;; 4885 *) 4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4887for as_dir in $PATH 4888do 4889 IFS=$as_save_IFS 4890 test -z "$as_dir" && as_dir=. 4891 for ac_exec_ext in '' $ac_executable_extensions; do 4892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4893 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4895 break 2 4896 fi 4897done 4898 done 4899IFS=$as_save_IFS 4900 4901 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4902 ;; 4903esac 4904fi 4905GMSGFMT=$ac_cv_path_GMSGFMT 4906if test -n "$GMSGFMT"; then 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4908$as_echo "$GMSGFMT" >&6; } 4909else 4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4911$as_echo "no" >&6; } 4912fi 4913 4914 4915 # Extract the first word of "xgettext", so it can be a program name with args. 4916set dummy xgettext; ac_word=$2 4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4918$as_echo_n "checking for $ac_word... " >&6; } 4919if ${ac_cv_path_XGETTEXT+:} false; then : 4920 $as_echo_n "(cached) " >&6 4921else 4922 case "$XGETTEXT" in 4923 /*) 4924 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4925 ;; 4926 *) 4927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 4928 for ac_dir in $PATH; do 4929 test -z "$ac_dir" && ac_dir=. 4930 if test -f $ac_dir/$ac_word; then 4931 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 4932 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 4933 break 4934 fi 4935 fi 4936 done 4937 IFS="$ac_save_ifs" 4938 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4939 ;; 4940esac 4941fi 4942XGETTEXT="$ac_cv_path_XGETTEXT" 4943if test "$XGETTEXT" != ":"; then 4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4945$as_echo "$XGETTEXT" >&6; } 4946else 4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4948$as_echo "no" >&6; } 4949fi 4950 4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4952/* end confdefs.h. */ 4953 4954int 4955main () 4956{ 4957extern int _nl_msg_cat_cntr; 4958 return _nl_msg_cat_cntr 4959 ; 4960 return 0; 4961} 4962_ACEOF 4963if ac_fn_c_try_link "$LINENO"; then : 4964 CATOBJEXT=.gmo 4965 DATADIRNAME=share 4966else 4967 case $host in 4968 *-*-solaris*) 4969 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4970if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 4971 CATOBJEXT=.gmo 4972 DATADIRNAME=share 4973else 4974 CATOBJEXT=.mo 4975 DATADIRNAME=lib 4976fi 4977 4978 ;; 4979 *-*-openbsd*) 4980 CATOBJEXT=.mo 4981 DATADIRNAME=share 4982 ;; 4983 *) 4984 CATOBJEXT=.mo 4985 DATADIRNAME=lib 4986 ;; 4987 esac 4988fi 4989rm -f core conftest.err conftest.$ac_objext \ 4990 conftest$ac_exeext conftest.$ac_ext 4991 LIBS="$glib_save_LIBS" 4992 INSTOBJEXT=.mo 4993 else 4994 gt_cv_have_gettext=no 4995 fi 4996 fi 4997 4998fi 4999 5000 5001 5002 if test "$gt_cv_have_gettext" = "yes" ; then 5003 5004$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h 5005 5006 fi 5007 5008 if test "$XGETTEXT" != ":"; then 5009 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5010 : ; 5011 else 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 5013$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 5014 XGETTEXT=":" 5015 fi 5016 fi 5017 5018 # We need to process the po/ directory. 5019 POSUB=po 5020 5021 ac_config_commands="$ac_config_commands default-1" 5022 5023 5024 for lang in $ALL_LINGUAS; do 5025 GMOFILES="$GMOFILES $lang.gmo" 5026 POFILES="$POFILES $lang.po" 5027 done 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 if test "$gt_cv_have_gettext" = "yes"; then 5042 if test "x$ALL_LINGUAS" = "x"; then 5043 LINGUAS= 5044 else 5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5046$as_echo_n "checking for catalogs to be installed... " >&6; } 5047 NEW_LINGUAS= 5048 for presentlang in $ALL_LINGUAS; do 5049 useit=no 5050 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 5051 desiredlanguages="$LINGUAS" 5052 else 5053 desiredlanguages="$ALL_LINGUAS" 5054 fi 5055 for desiredlang in $desiredlanguages; do 5056 # Use the presentlang catalog if desiredlang is 5057 # a. equal to presentlang, or 5058 # b. a variant of presentlang (because in this case, 5059 # presentlang can be used as a fallback for messages 5060 # which are not translated in the desiredlang catalog). 5061 case "$desiredlang" in 5062 "$presentlang"*) useit=yes;; 5063 esac 5064 done 5065 if test $useit = yes; then 5066 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 5067 fi 5068 done 5069 LINGUAS=$NEW_LINGUAS 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5071$as_echo "$LINGUAS" >&6; } 5072 fi 5073 5074 if test -n "$LINGUAS"; then 5075 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5076 fi 5077 fi 5078 5079 MKINSTALLDIRS= 5080 if test -n "$ac_aux_dir"; then 5081 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 5082 fi 5083 if test -z "$MKINSTALLDIRS"; then 5084 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5085 fi 5086 5087 5088 test -d po || mkdir po 5089 if test "x$srcdir" != "x."; then 5090 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5091 posrcprefix="$srcdir/" 5092 else 5093 posrcprefix="../$srcdir/" 5094 fi 5095 else 5096 posrcprefix="../" 5097 fi 5098 rm -f po/POTFILES 5099 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5100 < $srcdir/po/POTFILES.in > po/POTFILES 5101 5102 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5104$as_echo_n "checking whether NLS is requested... " >&6; } 5105 @%:@ Check whether --enable-nls was given. 5106if test "${enable_nls+set}" = set; then : 5107 enableval=$enable_nls; USE_NLS=$enableval 5108else 5109 USE_NLS=yes 5110fi 5111 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5113$as_echo "$USE_NLS" >&6; } 5114 5115 5116 5117 5118case "$am__api_version" in 5119 1.01234) 5120 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5121 ;; 5122 *) 5123 ;; 5124esac 5125 5126INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5127INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5128INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5129if test -n "0.23"; then 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.23" >&5 5131$as_echo_n "checking for intltool >= 0.23... " >&6; } 5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5133$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 5134 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5135 as_fn_error $? "Your intltool is too old. You need intltool 0.23 or later." "$LINENO" 5 5136fi 5137 5138# Extract the first word of "intltool-update", so it can be a program name with args. 5139set dummy intltool-update; ac_word=$2 5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5141$as_echo_n "checking for $ac_word... " >&6; } 5142if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 5143 $as_echo_n "(cached) " >&6 5144else 5145 case $INTLTOOL_UPDATE in 5146 [\\/]* | ?:[\\/]*) 5147 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5148 ;; 5149 *) 5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5151for as_dir in $PATH 5152do 5153 IFS=$as_save_IFS 5154 test -z "$as_dir" && as_dir=. 5155 for ac_exec_ext in '' $ac_executable_extensions; do 5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5157 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5159 break 2 5160 fi 5161done 5162 done 5163IFS=$as_save_IFS 5164 5165 ;; 5166esac 5167fi 5168INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5169if test -n "$INTLTOOL_UPDATE"; then 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5171$as_echo "$INTLTOOL_UPDATE" >&6; } 5172else 5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5174$as_echo "no" >&6; } 5175fi 5176 5177 5178# Extract the first word of "intltool-merge", so it can be a program name with args. 5179set dummy intltool-merge; ac_word=$2 5180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5181$as_echo_n "checking for $ac_word... " >&6; } 5182if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 5183 $as_echo_n "(cached) " >&6 5184else 5185 case $INTLTOOL_MERGE in 5186 [\\/]* | ?:[\\/]*) 5187 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 5188 ;; 5189 *) 5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5191for as_dir in $PATH 5192do 5193 IFS=$as_save_IFS 5194 test -z "$as_dir" && as_dir=. 5195 for ac_exec_ext in '' $ac_executable_extensions; do 5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5197 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5199 break 2 5200 fi 5201done 5202 done 5203IFS=$as_save_IFS 5204 5205 ;; 5206esac 5207fi 5208INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 5209if test -n "$INTLTOOL_MERGE"; then 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 5211$as_echo "$INTLTOOL_MERGE" >&6; } 5212else 5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5214$as_echo "no" >&6; } 5215fi 5216 5217 5218# Extract the first word of "intltool-extract", so it can be a program name with args. 5219set dummy intltool-extract; ac_word=$2 5220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5221$as_echo_n "checking for $ac_word... " >&6; } 5222if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 5223 $as_echo_n "(cached) " >&6 5224else 5225 case $INTLTOOL_EXTRACT in 5226 [\\/]* | ?:[\\/]*) 5227 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 5228 ;; 5229 *) 5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5231for as_dir in $PATH 5232do 5233 IFS=$as_save_IFS 5234 test -z "$as_dir" && as_dir=. 5235 for ac_exec_ext in '' $ac_executable_extensions; do 5236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5237 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5239 break 2 5240 fi 5241done 5242 done 5243IFS=$as_save_IFS 5244 5245 ;; 5246esac 5247fi 5248INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 5249if test -n "$INTLTOOL_EXTRACT"; then 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 5251$as_echo "$INTLTOOL_EXTRACT" >&6; } 5252else 5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5254$as_echo "no" >&6; } 5255fi 5256 5257 5258if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 5259 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 5260fi 5261 5262if test -z "$AM_DEFAULT_VERBOSITY"; then 5263 AM_DEFAULT_VERBOSITY=1 5264fi 5265 5266 5267INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 5268INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 5269INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 5270 5271 5272 5273 5274INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 5275intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 5276intltool__v_merge_options_0='-q' 5277 5278 5279 5280 5281 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5282INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5283 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5284 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5285 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 5286 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5287 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5288 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5289INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5290 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5291 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5292if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 5293 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 5294else 5295 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 5296fi 5297 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5298 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5299 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5300 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5301 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5302 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5303 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401# Check the gettext tools to make sure they are GNU 5402# Extract the first word of "xgettext", so it can be a program name with args. 5403set dummy xgettext; ac_word=$2 5404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5405$as_echo_n "checking for $ac_word... " >&6; } 5406if ${ac_cv_path_XGETTEXT+:} false; then : 5407 $as_echo_n "(cached) " >&6 5408else 5409 case $XGETTEXT in 5410 [\\/]* | ?:[\\/]*) 5411 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5412 ;; 5413 *) 5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5415for as_dir in $PATH 5416do 5417 IFS=$as_save_IFS 5418 test -z "$as_dir" && as_dir=. 5419 for ac_exec_ext in '' $ac_executable_extensions; do 5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5421 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5423 break 2 5424 fi 5425done 5426 done 5427IFS=$as_save_IFS 5428 5429 ;; 5430esac 5431fi 5432XGETTEXT=$ac_cv_path_XGETTEXT 5433if test -n "$XGETTEXT"; then 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5435$as_echo "$XGETTEXT" >&6; } 5436else 5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5438$as_echo "no" >&6; } 5439fi 5440 5441 5442# Extract the first word of "msgmerge", so it can be a program name with args. 5443set dummy msgmerge; ac_word=$2 5444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5445$as_echo_n "checking for $ac_word... " >&6; } 5446if ${ac_cv_path_MSGMERGE+:} false; then : 5447 $as_echo_n "(cached) " >&6 5448else 5449 case $MSGMERGE in 5450 [\\/]* | ?:[\\/]*) 5451 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5452 ;; 5453 *) 5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5455for as_dir in $PATH 5456do 5457 IFS=$as_save_IFS 5458 test -z "$as_dir" && as_dir=. 5459 for ac_exec_ext in '' $ac_executable_extensions; do 5460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5461 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5463 break 2 5464 fi 5465done 5466 done 5467IFS=$as_save_IFS 5468 5469 ;; 5470esac 5471fi 5472MSGMERGE=$ac_cv_path_MSGMERGE 5473if test -n "$MSGMERGE"; then 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 5475$as_echo "$MSGMERGE" >&6; } 5476else 5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5478$as_echo "no" >&6; } 5479fi 5480 5481 5482# Extract the first word of "msgfmt", so it can be a program name with args. 5483set dummy msgfmt; ac_word=$2 5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5485$as_echo_n "checking for $ac_word... " >&6; } 5486if ${ac_cv_path_MSGFMT+:} false; then : 5487 $as_echo_n "(cached) " >&6 5488else 5489 case $MSGFMT in 5490 [\\/]* | ?:[\\/]*) 5491 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5492 ;; 5493 *) 5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5495for as_dir in $PATH 5496do 5497 IFS=$as_save_IFS 5498 test -z "$as_dir" && as_dir=. 5499 for ac_exec_ext in '' $ac_executable_extensions; do 5500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5501 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5503 break 2 5504 fi 5505done 5506 done 5507IFS=$as_save_IFS 5508 5509 ;; 5510esac 5511fi 5512MSGFMT=$ac_cv_path_MSGFMT 5513if test -n "$MSGFMT"; then 5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5515$as_echo "$MSGFMT" >&6; } 5516else 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5518$as_echo "no" >&6; } 5519fi 5520 5521 5522# Extract the first word of "gmsgfmt", so it can be a program name with args. 5523set dummy gmsgfmt; ac_word=$2 5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5525$as_echo_n "checking for $ac_word... " >&6; } 5526if ${ac_cv_path_GMSGFMT+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528else 5529 case $GMSGFMT in 5530 [\\/]* | ?:[\\/]*) 5531 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5532 ;; 5533 *) 5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5535for as_dir in $PATH 5536do 5537 IFS=$as_save_IFS 5538 test -z "$as_dir" && as_dir=. 5539 for ac_exec_ext in '' $ac_executable_extensions; do 5540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5541 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5543 break 2 5544 fi 5545done 5546 done 5547IFS=$as_save_IFS 5548 5549 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5550 ;; 5551esac 5552fi 5553GMSGFMT=$ac_cv_path_GMSGFMT 5554if test -n "$GMSGFMT"; then 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5556$as_echo "$GMSGFMT" >&6; } 5557else 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5559$as_echo "no" >&6; } 5560fi 5561 5562 5563if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 5564 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 5565fi 5566xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 5567mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 5568mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 5569if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 5570 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 5571fi 5572 5573# Extract the first word of "perl", so it can be a program name with args. 5574set dummy perl; ac_word=$2 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576$as_echo_n "checking for $ac_word... " >&6; } 5577if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 5578 $as_echo_n "(cached) " >&6 5579else 5580 case $INTLTOOL_PERL in 5581 [\\/]* | ?:[\\/]*) 5582 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 5583 ;; 5584 *) 5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5586for as_dir in $PATH 5587do 5588 IFS=$as_save_IFS 5589 test -z "$as_dir" && as_dir=. 5590 for ac_exec_ext in '' $ac_executable_extensions; do 5591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5592 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5594 break 2 5595 fi 5596done 5597 done 5598IFS=$as_save_IFS 5599 5600 ;; 5601esac 5602fi 5603INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 5604if test -n "$INTLTOOL_PERL"; then 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 5606$as_echo "$INTLTOOL_PERL" >&6; } 5607else 5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5609$as_echo "no" >&6; } 5610fi 5611 5612 5613if test -z "$INTLTOOL_PERL"; then 5614 as_fn_error $? "perl not found" "$LINENO" 5 5615fi 5616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 5617$as_echo_n "checking for perl >= 5.8.1... " >&6; } 5618$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 5619if test $? -ne 0; then 5620 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 5621else 5622 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 5624$as_echo "$IT_PERL_VERSION" >&6; } 5625fi 5626if test "x" != "xno-xml"; then 5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 5628$as_echo_n "checking for XML::Parser... " >&6; } 5629 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5631$as_echo "ok" >&6; } 5632 else 5633 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 5634 fi 5635fi 5636 5637# Substitute ALL_LINGUAS so we can use it in po/Makefile 5638 5639 5640# Set DATADIRNAME correctly if it is not set yet 5641# (copied from glib-gettext.m4) 5642if test -z "$DATADIRNAME"; then 5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5644/* end confdefs.h. */ 5645 5646int 5647main () 5648{ 5649extern int _nl_msg_cat_cntr; 5650 return _nl_msg_cat_cntr 5651 ; 5652 return 0; 5653} 5654_ACEOF 5655if ac_fn_c_try_link "$LINENO"; then : 5656 DATADIRNAME=share 5657else 5658 case $host in 5659 *-*-solaris*) 5660 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5661if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5662 DATADIRNAME=share 5663else 5664 DATADIRNAME=lib 5665fi 5666 5667 ;; 5668 *) 5669 DATADIRNAME=lib 5670 ;; 5671 esac 5672fi 5673rm -f core conftest.err conftest.$ac_objext \ 5674 conftest$ac_exeext conftest.$ac_ext 5675fi 5676 5677 5678 5679 5680 5681 5682parcellitelocaledir='${prefix}/${DATADIRNAME}/locale' 5683 5684 5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5686$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5687if ${ac_cv_path_SED+:} false; then : 5688 $as_echo_n "(cached) " >&6 5689else 5690 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5691 for ac_i in 1 2 3 4 5 6 7; do 5692 ac_script="$ac_script$as_nl$ac_script" 5693 done 5694 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5695 { ac_script=; unset ac_script;} 5696 if test -z "$SED"; then 5697 ac_path_SED_found=false 5698 # Loop through the user's path and test for each of PROGNAME-LIST 5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5700for as_dir in $PATH 5701do 5702 IFS=$as_save_IFS 5703 test -z "$as_dir" && as_dir=. 5704 for ac_prog in sed gsed; do 5705 for ac_exec_ext in '' $ac_executable_extensions; do 5706 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5707 as_fn_executable_p "$ac_path_SED" || continue 5708# Check for GNU ac_path_SED and select it if it is found. 5709 # Check for GNU $ac_path_SED 5710case `"$ac_path_SED" --version 2>&1` in 5711*GNU*) 5712 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5713*) 5714 ac_count=0 5715 $as_echo_n 0123456789 >"conftest.in" 5716 while : 5717 do 5718 cat "conftest.in" "conftest.in" >"conftest.tmp" 5719 mv "conftest.tmp" "conftest.in" 5720 cp "conftest.in" "conftest.nl" 5721 $as_echo '' >> "conftest.nl" 5722 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5723 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5724 as_fn_arith $ac_count + 1 && ac_count=$as_val 5725 if test $ac_count -gt ${ac_path_SED_max-0}; then 5726 # Best one so far, save it but keep looking for a better one 5727 ac_cv_path_SED="$ac_path_SED" 5728 ac_path_SED_max=$ac_count 5729 fi 5730 # 10*(2^10) chars as input seems more than enough 5731 test $ac_count -gt 10 && break 5732 done 5733 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5734esac 5735 5736 $ac_path_SED_found && break 3 5737 done 5738 done 5739 done 5740IFS=$as_save_IFS 5741 if test -z "$ac_cv_path_SED"; then 5742 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5743 fi 5744else 5745 ac_cv_path_SED=$SED 5746fi 5747 5748fi 5749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5750$as_echo "$ac_cv_path_SED" >&6; } 5751 SED="$ac_cv_path_SED" 5752 rm -f conftest.sed 5753 5754 5755 5756 GETTEXT_MACRO_VERSION=0.19 5757 5758 5759 5760 5761# Prepare PATH_SEPARATOR. 5762# The user is always right. 5763if test "${PATH_SEPARATOR+set}" != set; then 5764 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5765 # contains only /bin. Note that ksh looks also at the FPATH variable, 5766 # so we have to set that as well for the test. 5767 PATH_SEPARATOR=: 5768 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5769 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5770 || PATH_SEPARATOR=';' 5771 } 5772fi 5773 5774# Find out how to test for executable files. Don't use a zero-byte file, 5775# as systems may use methods other than mode bits to determine executability. 5776cat >conf$$.file <<_ASEOF 5777#! /bin/sh 5778exit 0 5779_ASEOF 5780chmod +x conf$$.file 5781if test -x conf$$.file >/dev/null 2>&1; then 5782 ac_executable_p="test -x" 5783else 5784 ac_executable_p="test -f" 5785fi 5786rm -f conf$$.file 5787 5788# Extract the first word of "msgfmt", so it can be a program name with args. 5789set dummy msgfmt; ac_word=$2 5790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5791$as_echo_n "checking for $ac_word... " >&6; } 5792if ${ac_cv_path_MSGFMT+:} false; then : 5793 $as_echo_n "(cached) " >&6 5794else 5795 case "$MSGFMT" in 5796 [\\/]* | ?:[\\/]*) 5797 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5798 ;; 5799 *) 5800 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5801 for ac_dir in $PATH; do 5802 IFS="$ac_save_IFS" 5803 test -z "$ac_dir" && ac_dir=. 5804 for ac_exec_ext in '' $ac_executable_extensions; do 5805 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5806 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5807 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 5808 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5809 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 5810 break 2 5811 fi 5812 fi 5813 done 5814 done 5815 IFS="$ac_save_IFS" 5816 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 5817 ;; 5818esac 5819fi 5820MSGFMT="$ac_cv_path_MSGFMT" 5821if test "$MSGFMT" != ":"; then 5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5823$as_echo "$MSGFMT" >&6; } 5824else 5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5826$as_echo "no" >&6; } 5827fi 5828 5829 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5830set dummy gmsgfmt; ac_word=$2 5831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5832$as_echo_n "checking for $ac_word... " >&6; } 5833if ${ac_cv_path_GMSGFMT+:} false; then : 5834 $as_echo_n "(cached) " >&6 5835else 5836 case $GMSGFMT in 5837 [\\/]* | ?:[\\/]*) 5838 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5839 ;; 5840 *) 5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5842for as_dir in $PATH 5843do 5844 IFS=$as_save_IFS 5845 test -z "$as_dir" && as_dir=. 5846 for ac_exec_ext in '' $ac_executable_extensions; do 5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5848 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5850 break 2 5851 fi 5852done 5853 done 5854IFS=$as_save_IFS 5855 5856 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5857 ;; 5858esac 5859fi 5860GMSGFMT=$ac_cv_path_GMSGFMT 5861if test -n "$GMSGFMT"; then 5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5863$as_echo "$GMSGFMT" >&6; } 5864else 5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5866$as_echo "no" >&6; } 5867fi 5868 5869 5870 5871 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5872 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 5873 *) MSGFMT_015=$MSGFMT ;; 5874 esac 5875 5876 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5877 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 5878 *) GMSGFMT_015=$GMSGFMT ;; 5879 esac 5880 5881 5882 5883# Prepare PATH_SEPARATOR. 5884# The user is always right. 5885if test "${PATH_SEPARATOR+set}" != set; then 5886 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5887 # contains only /bin. Note that ksh looks also at the FPATH variable, 5888 # so we have to set that as well for the test. 5889 PATH_SEPARATOR=: 5890 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5891 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5892 || PATH_SEPARATOR=';' 5893 } 5894fi 5895 5896# Find out how to test for executable files. Don't use a zero-byte file, 5897# as systems may use methods other than mode bits to determine executability. 5898cat >conf$$.file <<_ASEOF 5899#! /bin/sh 5900exit 0 5901_ASEOF 5902chmod +x conf$$.file 5903if test -x conf$$.file >/dev/null 2>&1; then 5904 ac_executable_p="test -x" 5905else 5906 ac_executable_p="test -f" 5907fi 5908rm -f conf$$.file 5909 5910# Extract the first word of "xgettext", so it can be a program name with args. 5911set dummy xgettext; ac_word=$2 5912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5913$as_echo_n "checking for $ac_word... " >&6; } 5914if ${ac_cv_path_XGETTEXT+:} false; then : 5915 $as_echo_n "(cached) " >&6 5916else 5917 case "$XGETTEXT" in 5918 [\\/]* | ?:[\\/]*) 5919 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5920 ;; 5921 *) 5922 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5923 for ac_dir in $PATH; do 5924 IFS="$ac_save_IFS" 5925 test -z "$ac_dir" && ac_dir=. 5926 for ac_exec_ext in '' $ac_executable_extensions; do 5927 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5928 echo "$as_me: trying $ac_dir/$ac_word..." >&5 5929 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 5930 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5931 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 5932 break 2 5933 fi 5934 fi 5935 done 5936 done 5937 IFS="$ac_save_IFS" 5938 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5939 ;; 5940esac 5941fi 5942XGETTEXT="$ac_cv_path_XGETTEXT" 5943if test "$XGETTEXT" != ":"; then 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5945$as_echo "$XGETTEXT" >&6; } 5946else 5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5948$as_echo "no" >&6; } 5949fi 5950 5951 rm -f messages.po 5952 5953 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5954 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 5955 *) XGETTEXT_015=$XGETTEXT ;; 5956 esac 5957 5958 5959 5960# Prepare PATH_SEPARATOR. 5961# The user is always right. 5962if test "${PATH_SEPARATOR+set}" != set; then 5963 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5964 # contains only /bin. Note that ksh looks also at the FPATH variable, 5965 # so we have to set that as well for the test. 5966 PATH_SEPARATOR=: 5967 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5968 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5969 || PATH_SEPARATOR=';' 5970 } 5971fi 5972 5973# Find out how to test for executable files. Don't use a zero-byte file, 5974# as systems may use methods other than mode bits to determine executability. 5975cat >conf$$.file <<_ASEOF 5976#! /bin/sh 5977exit 0 5978_ASEOF 5979chmod +x conf$$.file 5980if test -x conf$$.file >/dev/null 2>&1; then 5981 ac_executable_p="test -x" 5982else 5983 ac_executable_p="test -f" 5984fi 5985rm -f conf$$.file 5986 5987# Extract the first word of "msgmerge", so it can be a program name with args. 5988set dummy msgmerge; ac_word=$2 5989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5990$as_echo_n "checking for $ac_word... " >&6; } 5991if ${ac_cv_path_MSGMERGE+:} false; then : 5992 $as_echo_n "(cached) " >&6 5993else 5994 case "$MSGMERGE" in 5995 [\\/]* | ?:[\\/]*) 5996 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5997 ;; 5998 *) 5999 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 6000 for ac_dir in $PATH; do 6001 IFS="$ac_save_IFS" 6002 test -z "$ac_dir" && ac_dir=. 6003 for ac_exec_ext in '' $ac_executable_extensions; do 6004 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 6005 echo "$as_me: trying $ac_dir/$ac_word..." >&5 6006 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 6007 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 6008 break 2 6009 fi 6010 fi 6011 done 6012 done 6013 IFS="$ac_save_IFS" 6014 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 6015 ;; 6016esac 6017fi 6018MSGMERGE="$ac_cv_path_MSGMERGE" 6019if test "$MSGMERGE" != ":"; then 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6021$as_echo "$MSGMERGE" >&6; } 6022else 6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6024$as_echo "no" >&6; } 6025fi 6026 6027 6028 test -n "$localedir" || localedir='${datadir}/locale' 6029 6030 6031 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 6032 6033 6034 ac_config_commands="$ac_config_commands po-directories" 6035 6036 6037 6038 if test "X$prefix" = "XNONE"; then 6039 acl_final_prefix="$ac_default_prefix" 6040 else 6041 acl_final_prefix="$prefix" 6042 fi 6043 if test "X$exec_prefix" = "XNONE"; then 6044 acl_final_exec_prefix='${prefix}' 6045 else 6046 acl_final_exec_prefix="$exec_prefix" 6047 fi 6048 acl_save_prefix="$prefix" 6049 prefix="$acl_final_prefix" 6050 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 6051 prefix="$acl_save_prefix" 6052 6053# Make sure we can run config.sub. 6054$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 6055 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 6056 6057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 6058$as_echo_n "checking build system type... " >&6; } 6059if ${ac_cv_build+:} false; then : 6060 $as_echo_n "(cached) " >&6 6061else 6062 ac_build_alias=$build_alias 6063test "x$ac_build_alias" = x && 6064 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 6065test "x$ac_build_alias" = x && 6066 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 6067ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 6068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 6069 6070fi 6071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 6072$as_echo "$ac_cv_build" >&6; } 6073case $ac_cv_build in 6074*-*-*) ;; 6075*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 6076esac 6077build=$ac_cv_build 6078ac_save_IFS=$IFS; IFS='-' 6079set x $ac_cv_build 6080shift 6081build_cpu=$1 6082build_vendor=$2 6083shift; shift 6084# Remember, the first character of IFS is used to create $*, 6085# except with old shells: 6086build_os=$* 6087IFS=$ac_save_IFS 6088case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 6089 6090 6091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 6092$as_echo_n "checking host system type... " >&6; } 6093if ${ac_cv_host+:} false; then : 6094 $as_echo_n "(cached) " >&6 6095else 6096 if test "x$host_alias" = x; then 6097 ac_cv_host=$ac_cv_build 6098else 6099 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 6100 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 6101fi 6102 6103fi 6104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 6105$as_echo "$ac_cv_host" >&6; } 6106case $ac_cv_host in 6107*-*-*) ;; 6108*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 6109esac 6110host=$ac_cv_host 6111ac_save_IFS=$IFS; IFS='-' 6112set x $ac_cv_host 6113shift 6114host_cpu=$1 6115host_vendor=$2 6116shift; shift 6117# Remember, the first character of IFS is used to create $*, 6118# except with old shells: 6119host_os=$* 6120IFS=$ac_save_IFS 6121case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 6122 6123 6124 6125 6126@%:@ Check whether --with-gnu-ld was given. 6127if test "${with_gnu_ld+set}" = set; then : 6128 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6129else 6130 with_gnu_ld=no 6131fi 6132 6133# Prepare PATH_SEPARATOR. 6134# The user is always right. 6135if test "${PATH_SEPARATOR+set}" != set; then 6136 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 6137 # contains only /bin. Note that ksh looks also at the FPATH variable, 6138 # so we have to set that as well for the test. 6139 PATH_SEPARATOR=: 6140 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 6141 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 6142 || PATH_SEPARATOR=';' 6143 } 6144fi 6145 6146ac_prog=ld 6147if test "$GCC" = yes; then 6148 # Check if gcc -print-prog-name=ld gives a path. 6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6150$as_echo_n "checking for ld used by $CC... " >&6; } 6151 case $host in 6152 *-*-mingw*) 6153 # gcc leaves a trailing carriage return which upsets mingw 6154 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6155 *) 6156 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6157 esac 6158 case $ac_prog in 6159 # Accept absolute paths. 6160 [\\/]* | ?:[\\/]*) 6161 re_direlt='/[^/][^/]*/\.\./' 6162 # Canonicalize the pathname of ld 6163 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 6164 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 6165 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 6166 done 6167 test -z "$LD" && LD="$ac_prog" 6168 ;; 6169 "") 6170 # If it fails, then pretend we aren't using GCC. 6171 ac_prog=ld 6172 ;; 6173 *) 6174 # If it is relative, then search for the first ld in PATH. 6175 with_gnu_ld=unknown 6176 ;; 6177 esac 6178elif test "$with_gnu_ld" = yes; then 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6180$as_echo_n "checking for GNU ld... " >&6; } 6181else 6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6183$as_echo_n "checking for non-GNU ld... " >&6; } 6184fi 6185if ${acl_cv_path_LD+:} false; then : 6186 $as_echo_n "(cached) " >&6 6187else 6188 if test -z "$LD"; then 6189 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6190 for ac_dir in $PATH; do 6191 IFS="$acl_save_ifs" 6192 test -z "$ac_dir" && ac_dir=. 6193 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6194 acl_cv_path_LD="$ac_dir/$ac_prog" 6195 # Check to see if the program is GNU ld. I'd rather use --version, 6196 # but apparently some variants of GNU ld only accept -v. 6197 # Break only if it was the GNU/non-GNU ld that we prefer. 6198 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 6199 *GNU* | *'with BFD'*) 6200 test "$with_gnu_ld" != no && break 6201 ;; 6202 *) 6203 test "$with_gnu_ld" != yes && break 6204 ;; 6205 esac 6206 fi 6207 done 6208 IFS="$acl_save_ifs" 6209else 6210 acl_cv_path_LD="$LD" # Let the user override the test with a path. 6211fi 6212fi 6213 6214LD="$acl_cv_path_LD" 6215if test -n "$LD"; then 6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6217$as_echo "$LD" >&6; } 6218else 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6220$as_echo "no" >&6; } 6221fi 6222test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6224$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6225if ${acl_cv_prog_gnu_ld+:} false; then : 6226 $as_echo_n "(cached) " >&6 6227else 6228 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6229case `$LD -v 2>&1 </dev/null` in 6230*GNU* | *'with BFD'*) 6231 acl_cv_prog_gnu_ld=yes 6232 ;; 6233*) 6234 acl_cv_prog_gnu_ld=no 6235 ;; 6236esac 6237fi 6238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 6239$as_echo "$acl_cv_prog_gnu_ld" >&6; } 6240with_gnu_ld=$acl_cv_prog_gnu_ld 6241 6242 6243 6244 6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 6246$as_echo_n "checking for shared library run path origin... " >&6; } 6247if ${acl_cv_rpath+:} false; then : 6248 $as_echo_n "(cached) " >&6 6249else 6250 6251 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 6252 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 6253 . ./conftest.sh 6254 rm -f ./conftest.sh 6255 acl_cv_rpath=done 6256 6257fi 6258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 6259$as_echo "$acl_cv_rpath" >&6; } 6260 wl="$acl_cv_wl" 6261 acl_libext="$acl_cv_libext" 6262 acl_shlibext="$acl_cv_shlibext" 6263 acl_libname_spec="$acl_cv_libname_spec" 6264 acl_library_names_spec="$acl_cv_library_names_spec" 6265 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 6266 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 6267 acl_hardcode_direct="$acl_cv_hardcode_direct" 6268 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 6269 @%:@ Check whether --enable-rpath was given. 6270if test "${enable_rpath+set}" = set; then : 6271 enableval=$enable_rpath; : 6272else 6273 enable_rpath=yes 6274fi 6275 6276 6277 6278 6279 acl_libdirstem=lib 6280 acl_libdirstem2= 6281 case "$host_os" in 6282 solaris*) 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 6284$as_echo_n "checking for 64-bit host... " >&6; } 6285if ${gl_cv_solaris_64bit+:} false; then : 6286 $as_echo_n "(cached) " >&6 6287else 6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6289/* end confdefs.h. */ 6290 6291#ifdef _LP64 6292sixtyfour bits 6293#endif 6294 6295_ACEOF 6296if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6297 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 6298 gl_cv_solaris_64bit=yes 6299else 6300 gl_cv_solaris_64bit=no 6301fi 6302rm -f conftest* 6303 6304 6305fi 6306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 6307$as_echo "$gl_cv_solaris_64bit" >&6; } 6308 if test $gl_cv_solaris_64bit = yes; then 6309 acl_libdirstem=lib/64 6310 case "$host_cpu" in 6311 sparc*) acl_libdirstem2=lib/sparcv9 ;; 6312 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 6313 esac 6314 fi 6315 ;; 6316 *) 6317 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 6318 if test -n "$searchpath"; then 6319 acl_save_IFS="${IFS= }"; IFS=":" 6320 for searchdir in $searchpath; do 6321 if test -d "$searchdir"; then 6322 case "$searchdir" in 6323 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 6324 */../ | */.. ) 6325 # Better ignore directories of this form. They are misleading. 6326 ;; 6327 *) searchdir=`cd "$searchdir" && pwd` 6328 case "$searchdir" in 6329 */lib64 ) acl_libdirstem=lib64 ;; 6330 esac ;; 6331 esac 6332 fi 6333 done 6334 IFS="$acl_save_IFS" 6335 fi 6336 ;; 6337 esac 6338 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 use_additional=yes 6352 6353 acl_save_prefix="$prefix" 6354 prefix="$acl_final_prefix" 6355 acl_save_exec_prefix="$exec_prefix" 6356 exec_prefix="$acl_final_exec_prefix" 6357 6358 eval additional_includedir=\"$includedir\" 6359 eval additional_libdir=\"$libdir\" 6360 6361 exec_prefix="$acl_save_exec_prefix" 6362 prefix="$acl_save_prefix" 6363 6364 6365@%:@ Check whether --with-libiconv-prefix was given. 6366if test "${with_libiconv_prefix+set}" = set; then : 6367 withval=$with_libiconv_prefix; 6368 if test "X$withval" = "Xno"; then 6369 use_additional=no 6370 else 6371 if test "X$withval" = "X"; then 6372 6373 acl_save_prefix="$prefix" 6374 prefix="$acl_final_prefix" 6375 acl_save_exec_prefix="$exec_prefix" 6376 exec_prefix="$acl_final_exec_prefix" 6377 6378 eval additional_includedir=\"$includedir\" 6379 eval additional_libdir=\"$libdir\" 6380 6381 exec_prefix="$acl_save_exec_prefix" 6382 prefix="$acl_save_prefix" 6383 6384 else 6385 additional_includedir="$withval/include" 6386 additional_libdir="$withval/$acl_libdirstem" 6387 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 6388 && ! test -d "$withval/$acl_libdirstem"; then 6389 additional_libdir="$withval/$acl_libdirstem2" 6390 fi 6391 fi 6392 fi 6393 6394fi 6395 6396 LIBICONV= 6397 LTLIBICONV= 6398 INCICONV= 6399 LIBICONV_PREFIX= 6400 HAVE_LIBICONV= 6401 rpathdirs= 6402 ltrpathdirs= 6403 names_already_handled= 6404 names_next_round='iconv ' 6405 while test -n "$names_next_round"; do 6406 names_this_round="$names_next_round" 6407 names_next_round= 6408 for name in $names_this_round; do 6409 already_handled= 6410 for n in $names_already_handled; do 6411 if test "$n" = "$name"; then 6412 already_handled=yes 6413 break 6414 fi 6415 done 6416 if test -z "$already_handled"; then 6417 names_already_handled="$names_already_handled $name" 6418 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 6419 eval value=\"\$HAVE_LIB$uppername\" 6420 if test -n "$value"; then 6421 if test "$value" = yes; then 6422 eval value=\"\$LIB$uppername\" 6423 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 6424 eval value=\"\$LTLIB$uppername\" 6425 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 6426 else 6427 : 6428 fi 6429 else 6430 found_dir= 6431 found_la= 6432 found_so= 6433 found_a= 6434 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 6435 if test -n "$acl_shlibext"; then 6436 shrext=".$acl_shlibext" # typically: shrext=.so 6437 else 6438 shrext= 6439 fi 6440 if test $use_additional = yes; then 6441 dir="$additional_libdir" 6442 if test -n "$acl_shlibext"; then 6443 if test -f "$dir/$libname$shrext"; then 6444 found_dir="$dir" 6445 found_so="$dir/$libname$shrext" 6446 else 6447 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6448 ver=`(cd "$dir" && \ 6449 for f in "$libname$shrext".*; do echo "$f"; done \ 6450 | sed -e "s,^$libname$shrext\\\\.,," \ 6451 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6452 | sed 1q ) 2>/dev/null` 6453 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6454 found_dir="$dir" 6455 found_so="$dir/$libname$shrext.$ver" 6456 fi 6457 else 6458 eval library_names=\"$acl_library_names_spec\" 6459 for f in $library_names; do 6460 if test -f "$dir/$f"; then 6461 found_dir="$dir" 6462 found_so="$dir/$f" 6463 break 6464 fi 6465 done 6466 fi 6467 fi 6468 fi 6469 if test "X$found_dir" = "X"; then 6470 if test -f "$dir/$libname.$acl_libext"; then 6471 found_dir="$dir" 6472 found_a="$dir/$libname.$acl_libext" 6473 fi 6474 fi 6475 if test "X$found_dir" != "X"; then 6476 if test -f "$dir/$libname.la"; then 6477 found_la="$dir/$libname.la" 6478 fi 6479 fi 6480 fi 6481 if test "X$found_dir" = "X"; then 6482 for x in $LDFLAGS $LTLIBICONV; do 6483 6484 acl_save_prefix="$prefix" 6485 prefix="$acl_final_prefix" 6486 acl_save_exec_prefix="$exec_prefix" 6487 exec_prefix="$acl_final_exec_prefix" 6488 eval x=\"$x\" 6489 exec_prefix="$acl_save_exec_prefix" 6490 prefix="$acl_save_prefix" 6491 6492 case "$x" in 6493 -L*) 6494 dir=`echo "X$x" | sed -e 's/^X-L//'` 6495 if test -n "$acl_shlibext"; then 6496 if test -f "$dir/$libname$shrext"; then 6497 found_dir="$dir" 6498 found_so="$dir/$libname$shrext" 6499 else 6500 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6501 ver=`(cd "$dir" && \ 6502 for f in "$libname$shrext".*; do echo "$f"; done \ 6503 | sed -e "s,^$libname$shrext\\\\.,," \ 6504 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6505 | sed 1q ) 2>/dev/null` 6506 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6507 found_dir="$dir" 6508 found_so="$dir/$libname$shrext.$ver" 6509 fi 6510 else 6511 eval library_names=\"$acl_library_names_spec\" 6512 for f in $library_names; do 6513 if test -f "$dir/$f"; then 6514 found_dir="$dir" 6515 found_so="$dir/$f" 6516 break 6517 fi 6518 done 6519 fi 6520 fi 6521 fi 6522 if test "X$found_dir" = "X"; then 6523 if test -f "$dir/$libname.$acl_libext"; then 6524 found_dir="$dir" 6525 found_a="$dir/$libname.$acl_libext" 6526 fi 6527 fi 6528 if test "X$found_dir" != "X"; then 6529 if test -f "$dir/$libname.la"; then 6530 found_la="$dir/$libname.la" 6531 fi 6532 fi 6533 ;; 6534 esac 6535 if test "X$found_dir" != "X"; then 6536 break 6537 fi 6538 done 6539 fi 6540 if test "X$found_dir" != "X"; then 6541 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 6542 if test "X$found_so" != "X"; then 6543 if test "$enable_rpath" = no \ 6544 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 6545 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 6546 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6547 else 6548 haveit= 6549 for x in $ltrpathdirs; do 6550 if test "X$x" = "X$found_dir"; then 6551 haveit=yes 6552 break 6553 fi 6554 done 6555 if test -z "$haveit"; then 6556 ltrpathdirs="$ltrpathdirs $found_dir" 6557 fi 6558 if test "$acl_hardcode_direct" = yes; then 6559 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6560 else 6561 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 6562 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6563 haveit= 6564 for x in $rpathdirs; do 6565 if test "X$x" = "X$found_dir"; then 6566 haveit=yes 6567 break 6568 fi 6569 done 6570 if test -z "$haveit"; then 6571 rpathdirs="$rpathdirs $found_dir" 6572 fi 6573 else 6574 haveit= 6575 for x in $LDFLAGS $LIBICONV; do 6576 6577 acl_save_prefix="$prefix" 6578 prefix="$acl_final_prefix" 6579 acl_save_exec_prefix="$exec_prefix" 6580 exec_prefix="$acl_final_exec_prefix" 6581 eval x=\"$x\" 6582 exec_prefix="$acl_save_exec_prefix" 6583 prefix="$acl_save_prefix" 6584 6585 if test "X$x" = "X-L$found_dir"; then 6586 haveit=yes 6587 break 6588 fi 6589 done 6590 if test -z "$haveit"; then 6591 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 6592 fi 6593 if test "$acl_hardcode_minus_L" != no; then 6594 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6595 else 6596 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 6597 fi 6598 fi 6599 fi 6600 fi 6601 else 6602 if test "X$found_a" != "X"; then 6603 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 6604 else 6605 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 6606 fi 6607 fi 6608 additional_includedir= 6609 case "$found_dir" in 6610 */$acl_libdirstem | */$acl_libdirstem/) 6611 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 6612 if test "$name" = 'iconv'; then 6613 LIBICONV_PREFIX="$basedir" 6614 fi 6615 additional_includedir="$basedir/include" 6616 ;; 6617 */$acl_libdirstem2 | */$acl_libdirstem2/) 6618 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 6619 if test "$name" = 'iconv'; then 6620 LIBICONV_PREFIX="$basedir" 6621 fi 6622 additional_includedir="$basedir/include" 6623 ;; 6624 esac 6625 if test "X$additional_includedir" != "X"; then 6626 if test "X$additional_includedir" != "X/usr/include"; then 6627 haveit= 6628 if test "X$additional_includedir" = "X/usr/local/include"; then 6629 if test -n "$GCC"; then 6630 case $host_os in 6631 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6632 esac 6633 fi 6634 fi 6635 if test -z "$haveit"; then 6636 for x in $CPPFLAGS $INCICONV; do 6637 6638 acl_save_prefix="$prefix" 6639 prefix="$acl_final_prefix" 6640 acl_save_exec_prefix="$exec_prefix" 6641 exec_prefix="$acl_final_exec_prefix" 6642 eval x=\"$x\" 6643 exec_prefix="$acl_save_exec_prefix" 6644 prefix="$acl_save_prefix" 6645 6646 if test "X$x" = "X-I$additional_includedir"; then 6647 haveit=yes 6648 break 6649 fi 6650 done 6651 if test -z "$haveit"; then 6652 if test -d "$additional_includedir"; then 6653 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 6654 fi 6655 fi 6656 fi 6657 fi 6658 fi 6659 if test -n "$found_la"; then 6660 save_libdir="$libdir" 6661 case "$found_la" in 6662 */* | *\\*) . "$found_la" ;; 6663 *) . "./$found_la" ;; 6664 esac 6665 libdir="$save_libdir" 6666 for dep in $dependency_libs; do 6667 case "$dep" in 6668 -L*) 6669 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 6670 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 6671 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 6672 haveit= 6673 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 6674 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 6675 if test -n "$GCC"; then 6676 case $host_os in 6677 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6678 esac 6679 fi 6680 fi 6681 if test -z "$haveit"; then 6682 haveit= 6683 for x in $LDFLAGS $LIBICONV; do 6684 6685 acl_save_prefix="$prefix" 6686 prefix="$acl_final_prefix" 6687 acl_save_exec_prefix="$exec_prefix" 6688 exec_prefix="$acl_final_exec_prefix" 6689 eval x=\"$x\" 6690 exec_prefix="$acl_save_exec_prefix" 6691 prefix="$acl_save_prefix" 6692 6693 if test "X$x" = "X-L$additional_libdir"; then 6694 haveit=yes 6695 break 6696 fi 6697 done 6698 if test -z "$haveit"; then 6699 if test -d "$additional_libdir"; then 6700 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 6701 fi 6702 fi 6703 haveit= 6704 for x in $LDFLAGS $LTLIBICONV; do 6705 6706 acl_save_prefix="$prefix" 6707 prefix="$acl_final_prefix" 6708 acl_save_exec_prefix="$exec_prefix" 6709 exec_prefix="$acl_final_exec_prefix" 6710 eval x=\"$x\" 6711 exec_prefix="$acl_save_exec_prefix" 6712 prefix="$acl_save_prefix" 6713 6714 if test "X$x" = "X-L$additional_libdir"; then 6715 haveit=yes 6716 break 6717 fi 6718 done 6719 if test -z "$haveit"; then 6720 if test -d "$additional_libdir"; then 6721 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 6722 fi 6723 fi 6724 fi 6725 fi 6726 ;; 6727 -R*) 6728 dir=`echo "X$dep" | sed -e 's/^X-R//'` 6729 if test "$enable_rpath" != no; then 6730 haveit= 6731 for x in $rpathdirs; do 6732 if test "X$x" = "X$dir"; then 6733 haveit=yes 6734 break 6735 fi 6736 done 6737 if test -z "$haveit"; then 6738 rpathdirs="$rpathdirs $dir" 6739 fi 6740 haveit= 6741 for x in $ltrpathdirs; do 6742 if test "X$x" = "X$dir"; then 6743 haveit=yes 6744 break 6745 fi 6746 done 6747 if test -z "$haveit"; then 6748 ltrpathdirs="$ltrpathdirs $dir" 6749 fi 6750 fi 6751 ;; 6752 -l*) 6753 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 6754 ;; 6755 *.la) 6756 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 6757 ;; 6758 *) 6759 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 6760 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 6761 ;; 6762 esac 6763 done 6764 fi 6765 else 6766 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 6767 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 6768 fi 6769 fi 6770 fi 6771 done 6772 done 6773 if test "X$rpathdirs" != "X"; then 6774 if test -n "$acl_hardcode_libdir_separator"; then 6775 alldirs= 6776 for found_dir in $rpathdirs; do 6777 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 6778 done 6779 acl_save_libdir="$libdir" 6780 libdir="$alldirs" 6781 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6782 libdir="$acl_save_libdir" 6783 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 6784 else 6785 for found_dir in $rpathdirs; do 6786 acl_save_libdir="$libdir" 6787 libdir="$found_dir" 6788 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6789 libdir="$acl_save_libdir" 6790 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 6791 done 6792 fi 6793 fi 6794 if test "X$ltrpathdirs" != "X"; then 6795 for found_dir in $ltrpathdirs; do 6796 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 6797 done 6798 fi 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 6831$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 6832if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 6833 $as_echo_n "(cached) " >&6 6834else 6835 gt_save_LIBS="$LIBS" 6836 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6838/* end confdefs.h. */ 6839#include <CoreFoundation/CFPreferences.h> 6840int 6841main () 6842{ 6843CFPreferencesCopyAppValue(NULL, NULL) 6844 ; 6845 return 0; 6846} 6847_ACEOF 6848if ac_fn_c_try_link "$LINENO"; then : 6849 gt_cv_func_CFPreferencesCopyAppValue=yes 6850else 6851 gt_cv_func_CFPreferencesCopyAppValue=no 6852fi 6853rm -f core conftest.err conftest.$ac_objext \ 6854 conftest$ac_exeext conftest.$ac_ext 6855 LIBS="$gt_save_LIBS" 6856fi 6857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 6858$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 6859 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 6860 6861$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 6862 6863 fi 6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 6865$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 6866if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 6867 $as_echo_n "(cached) " >&6 6868else 6869 gt_save_LIBS="$LIBS" 6870 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 6871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6872/* end confdefs.h. */ 6873#include <CoreFoundation/CFLocale.h> 6874int 6875main () 6876{ 6877CFLocaleCopyCurrent(); 6878 ; 6879 return 0; 6880} 6881_ACEOF 6882if ac_fn_c_try_link "$LINENO"; then : 6883 gt_cv_func_CFLocaleCopyCurrent=yes 6884else 6885 gt_cv_func_CFLocaleCopyCurrent=no 6886fi 6887rm -f core conftest.err conftest.$ac_objext \ 6888 conftest$ac_exeext conftest.$ac_ext 6889 LIBS="$gt_save_LIBS" 6890fi 6891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 6892$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 6893 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6894 6895$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 6896 6897 fi 6898 INTL_MACOSX_LIBS= 6899 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 6900 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 6901 fi 6902 6903 6904 6905 6906 6907 6908 LIBINTL= 6909 LTLIBINTL= 6910 POSUB= 6911 6912 case " $gt_needs " in 6913 *" need-formatstring-macros "*) gt_api_version=3 ;; 6914 *" need-ngettext "*) gt_api_version=2 ;; 6915 *) gt_api_version=1 ;; 6916 esac 6917 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 6918 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 6919 6920 if test "$USE_NLS" = "yes"; then 6921 gt_use_preinstalled_gnugettext=no 6922 6923 6924 if test $gt_api_version -ge 3; then 6925 gt_revision_test_code=' 6926#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6927#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 6928#endif 6929typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 6930' 6931 else 6932 gt_revision_test_code= 6933 fi 6934 if test $gt_api_version -ge 2; then 6935 gt_expression_test_code=' + * ngettext ("", "", 0)' 6936 else 6937 gt_expression_test_code= 6938 fi 6939 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 6941$as_echo_n "checking for GNU gettext in libc... " >&6; } 6942if eval \${$gt_func_gnugettext_libc+:} false; then : 6943 $as_echo_n "(cached) " >&6 6944else 6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6946/* end confdefs.h. */ 6947 6948#include <libintl.h> 6949$gt_revision_test_code 6950extern int _nl_msg_cat_cntr; 6951extern int *_nl_domain_bindings; 6952 6953int 6954main () 6955{ 6956 6957bindtextdomain ("", ""); 6958return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 6959 6960 ; 6961 return 0; 6962} 6963_ACEOF 6964if ac_fn_c_try_link "$LINENO"; then : 6965 eval "$gt_func_gnugettext_libc=yes" 6966else 6967 eval "$gt_func_gnugettext_libc=no" 6968fi 6969rm -f core conftest.err conftest.$ac_objext \ 6970 conftest$ac_exeext conftest.$ac_ext 6971fi 6972eval ac_res=\$$gt_func_gnugettext_libc 6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6974$as_echo "$ac_res" >&6; } 6975 6976 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 6977 6978 6979 6980 6981 6982 am_save_CPPFLAGS="$CPPFLAGS" 6983 6984 for element in $INCICONV; do 6985 haveit= 6986 for x in $CPPFLAGS; do 6987 6988 acl_save_prefix="$prefix" 6989 prefix="$acl_final_prefix" 6990 acl_save_exec_prefix="$exec_prefix" 6991 exec_prefix="$acl_final_exec_prefix" 6992 eval x=\"$x\" 6993 exec_prefix="$acl_save_exec_prefix" 6994 prefix="$acl_save_prefix" 6995 6996 if test "X$x" = "X$element"; then 6997 haveit=yes 6998 break 6999 fi 7000 done 7001 if test -z "$haveit"; then 7002 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 7003 fi 7004 done 7005 7006 7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 7008$as_echo_n "checking for iconv... " >&6; } 7009if ${am_cv_func_iconv+:} false; then : 7010 $as_echo_n "(cached) " >&6 7011else 7012 7013 am_cv_func_iconv="no, consider installing GNU libiconv" 7014 am_cv_lib_iconv=no 7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7016/* end confdefs.h. */ 7017 7018#include <stdlib.h> 7019#include <iconv.h> 7020 7021int 7022main () 7023{ 7024iconv_t cd = iconv_open("",""); 7025 iconv(cd,NULL,NULL,NULL,NULL); 7026 iconv_close(cd); 7027 ; 7028 return 0; 7029} 7030_ACEOF 7031if ac_fn_c_try_link "$LINENO"; then : 7032 am_cv_func_iconv=yes 7033fi 7034rm -f core conftest.err conftest.$ac_objext \ 7035 conftest$ac_exeext conftest.$ac_ext 7036 if test "$am_cv_func_iconv" != yes; then 7037 am_save_LIBS="$LIBS" 7038 LIBS="$LIBS $LIBICONV" 7039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7040/* end confdefs.h. */ 7041 7042#include <stdlib.h> 7043#include <iconv.h> 7044 7045int 7046main () 7047{ 7048iconv_t cd = iconv_open("",""); 7049 iconv(cd,NULL,NULL,NULL,NULL); 7050 iconv_close(cd); 7051 ; 7052 return 0; 7053} 7054_ACEOF 7055if ac_fn_c_try_link "$LINENO"; then : 7056 am_cv_lib_iconv=yes 7057 am_cv_func_iconv=yes 7058fi 7059rm -f core conftest.err conftest.$ac_objext \ 7060 conftest$ac_exeext conftest.$ac_ext 7061 LIBS="$am_save_LIBS" 7062 fi 7063 7064fi 7065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 7066$as_echo "$am_cv_func_iconv" >&6; } 7067 if test "$am_cv_func_iconv" = yes; then 7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 7069$as_echo_n "checking for working iconv... " >&6; } 7070if ${am_cv_func_iconv_works+:} false; then : 7071 $as_echo_n "(cached) " >&6 7072else 7073 7074 am_save_LIBS="$LIBS" 7075 if test $am_cv_lib_iconv = yes; then 7076 LIBS="$LIBS $LIBICONV" 7077 fi 7078 if test "$cross_compiling" = yes; then : 7079 7080 case "$host_os" in 7081 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 7082 *) am_cv_func_iconv_works="guessing yes" ;; 7083 esac 7084 7085else 7086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7087/* end confdefs.h. */ 7088 7089#include <iconv.h> 7090#include <string.h> 7091int main () 7092{ 7093 int result = 0; 7094 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 7095 returns. */ 7096 { 7097 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 7098 if (cd_utf8_to_88591 != (iconv_t)(-1)) 7099 { 7100 static const char input[] = "\342\202\254"; /* EURO SIGN */ 7101 char buf[10]; 7102 const char *inptr = input; 7103 size_t inbytesleft = strlen (input); 7104 char *outptr = buf; 7105 size_t outbytesleft = sizeof (buf); 7106 size_t res = iconv (cd_utf8_to_88591, 7107 (char **) &inptr, &inbytesleft, 7108 &outptr, &outbytesleft); 7109 if (res == 0) 7110 result |= 1; 7111 iconv_close (cd_utf8_to_88591); 7112 } 7113 } 7114 /* Test against Solaris 10 bug: Failures are not distinguishable from 7115 successful returns. */ 7116 { 7117 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 7118 if (cd_ascii_to_88591 != (iconv_t)(-1)) 7119 { 7120 static const char input[] = "\263"; 7121 char buf[10]; 7122 const char *inptr = input; 7123 size_t inbytesleft = strlen (input); 7124 char *outptr = buf; 7125 size_t outbytesleft = sizeof (buf); 7126 size_t res = iconv (cd_ascii_to_88591, 7127 (char **) &inptr, &inbytesleft, 7128 &outptr, &outbytesleft); 7129 if (res == 0) 7130 result |= 2; 7131 iconv_close (cd_ascii_to_88591); 7132 } 7133 } 7134 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 7135 { 7136 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 7137 if (cd_88591_to_utf8 != (iconv_t)(-1)) 7138 { 7139 static const char input[] = "\304"; 7140 static char buf[2] = { (char)0xDE, (char)0xAD }; 7141 const char *inptr = input; 7142 size_t inbytesleft = 1; 7143 char *outptr = buf; 7144 size_t outbytesleft = 1; 7145 size_t res = iconv (cd_88591_to_utf8, 7146 (char **) &inptr, &inbytesleft, 7147 &outptr, &outbytesleft); 7148 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 7149 result |= 4; 7150 iconv_close (cd_88591_to_utf8); 7151 } 7152 } 7153#if 0 /* This bug could be worked around by the caller. */ 7154 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 7155 { 7156 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 7157 if (cd_88591_to_utf8 != (iconv_t)(-1)) 7158 { 7159 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 7160 char buf[50]; 7161 const char *inptr = input; 7162 size_t inbytesleft = strlen (input); 7163 char *outptr = buf; 7164 size_t outbytesleft = sizeof (buf); 7165 size_t res = iconv (cd_88591_to_utf8, 7166 (char **) &inptr, &inbytesleft, 7167 &outptr, &outbytesleft); 7168 if ((int)res > 0) 7169 result |= 8; 7170 iconv_close (cd_88591_to_utf8); 7171 } 7172 } 7173#endif 7174 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 7175 provided. */ 7176 if (/* Try standardized names. */ 7177 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 7178 /* Try IRIX, OSF/1 names. */ 7179 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 7180 /* Try AIX names. */ 7181 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 7182 /* Try HP-UX names. */ 7183 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 7184 result |= 16; 7185 return result; 7186} 7187_ACEOF 7188if ac_fn_c_try_run "$LINENO"; then : 7189 am_cv_func_iconv_works=yes 7190else 7191 am_cv_func_iconv_works=no 7192fi 7193rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7194 conftest.$ac_objext conftest.beam conftest.$ac_ext 7195fi 7196 7197 LIBS="$am_save_LIBS" 7198 7199fi 7200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 7201$as_echo "$am_cv_func_iconv_works" >&6; } 7202 case "$am_cv_func_iconv_works" in 7203 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 7204 *) am_func_iconv=yes ;; 7205 esac 7206 else 7207 am_func_iconv=no am_cv_lib_iconv=no 7208 fi 7209 if test "$am_func_iconv" = yes; then 7210 7211$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h 7212 7213 fi 7214 if test "$am_cv_lib_iconv" = yes; then 7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 7216$as_echo_n "checking how to link with libiconv... " >&6; } 7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 7218$as_echo "$LIBICONV" >&6; } 7219 else 7220 CPPFLAGS="$am_save_CPPFLAGS" 7221 LIBICONV= 7222 LTLIBICONV= 7223 fi 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 use_additional=yes 7236 7237 acl_save_prefix="$prefix" 7238 prefix="$acl_final_prefix" 7239 acl_save_exec_prefix="$exec_prefix" 7240 exec_prefix="$acl_final_exec_prefix" 7241 7242 eval additional_includedir=\"$includedir\" 7243 eval additional_libdir=\"$libdir\" 7244 7245 exec_prefix="$acl_save_exec_prefix" 7246 prefix="$acl_save_prefix" 7247 7248 7249@%:@ Check whether --with-libintl-prefix was given. 7250if test "${with_libintl_prefix+set}" = set; then : 7251 withval=$with_libintl_prefix; 7252 if test "X$withval" = "Xno"; then 7253 use_additional=no 7254 else 7255 if test "X$withval" = "X"; then 7256 7257 acl_save_prefix="$prefix" 7258 prefix="$acl_final_prefix" 7259 acl_save_exec_prefix="$exec_prefix" 7260 exec_prefix="$acl_final_exec_prefix" 7261 7262 eval additional_includedir=\"$includedir\" 7263 eval additional_libdir=\"$libdir\" 7264 7265 exec_prefix="$acl_save_exec_prefix" 7266 prefix="$acl_save_prefix" 7267 7268 else 7269 additional_includedir="$withval/include" 7270 additional_libdir="$withval/$acl_libdirstem" 7271 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 7272 && ! test -d "$withval/$acl_libdirstem"; then 7273 additional_libdir="$withval/$acl_libdirstem2" 7274 fi 7275 fi 7276 fi 7277 7278fi 7279 7280 LIBINTL= 7281 LTLIBINTL= 7282 INCINTL= 7283 LIBINTL_PREFIX= 7284 HAVE_LIBINTL= 7285 rpathdirs= 7286 ltrpathdirs= 7287 names_already_handled= 7288 names_next_round='intl ' 7289 while test -n "$names_next_round"; do 7290 names_this_round="$names_next_round" 7291 names_next_round= 7292 for name in $names_this_round; do 7293 already_handled= 7294 for n in $names_already_handled; do 7295 if test "$n" = "$name"; then 7296 already_handled=yes 7297 break 7298 fi 7299 done 7300 if test -z "$already_handled"; then 7301 names_already_handled="$names_already_handled $name" 7302 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 7303 eval value=\"\$HAVE_LIB$uppername\" 7304 if test -n "$value"; then 7305 if test "$value" = yes; then 7306 eval value=\"\$LIB$uppername\" 7307 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 7308 eval value=\"\$LTLIB$uppername\" 7309 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 7310 else 7311 : 7312 fi 7313 else 7314 found_dir= 7315 found_la= 7316 found_so= 7317 found_a= 7318 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 7319 if test -n "$acl_shlibext"; then 7320 shrext=".$acl_shlibext" # typically: shrext=.so 7321 else 7322 shrext= 7323 fi 7324 if test $use_additional = yes; then 7325 dir="$additional_libdir" 7326 if test -n "$acl_shlibext"; then 7327 if test -f "$dir/$libname$shrext"; then 7328 found_dir="$dir" 7329 found_so="$dir/$libname$shrext" 7330 else 7331 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 7332 ver=`(cd "$dir" && \ 7333 for f in "$libname$shrext".*; do echo "$f"; done \ 7334 | sed -e "s,^$libname$shrext\\\\.,," \ 7335 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 7336 | sed 1q ) 2>/dev/null` 7337 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 7338 found_dir="$dir" 7339 found_so="$dir/$libname$shrext.$ver" 7340 fi 7341 else 7342 eval library_names=\"$acl_library_names_spec\" 7343 for f in $library_names; do 7344 if test -f "$dir/$f"; then 7345 found_dir="$dir" 7346 found_so="$dir/$f" 7347 break 7348 fi 7349 done 7350 fi 7351 fi 7352 fi 7353 if test "X$found_dir" = "X"; then 7354 if test -f "$dir/$libname.$acl_libext"; then 7355 found_dir="$dir" 7356 found_a="$dir/$libname.$acl_libext" 7357 fi 7358 fi 7359 if test "X$found_dir" != "X"; then 7360 if test -f "$dir/$libname.la"; then 7361 found_la="$dir/$libname.la" 7362 fi 7363 fi 7364 fi 7365 if test "X$found_dir" = "X"; then 7366 for x in $LDFLAGS $LTLIBINTL; do 7367 7368 acl_save_prefix="$prefix" 7369 prefix="$acl_final_prefix" 7370 acl_save_exec_prefix="$exec_prefix" 7371 exec_prefix="$acl_final_exec_prefix" 7372 eval x=\"$x\" 7373 exec_prefix="$acl_save_exec_prefix" 7374 prefix="$acl_save_prefix" 7375 7376 case "$x" in 7377 -L*) 7378 dir=`echo "X$x" | sed -e 's/^X-L//'` 7379 if test -n "$acl_shlibext"; then 7380 if test -f "$dir/$libname$shrext"; then 7381 found_dir="$dir" 7382 found_so="$dir/$libname$shrext" 7383 else 7384 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 7385 ver=`(cd "$dir" && \ 7386 for f in "$libname$shrext".*; do echo "$f"; done \ 7387 | sed -e "s,^$libname$shrext\\\\.,," \ 7388 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 7389 | sed 1q ) 2>/dev/null` 7390 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 7391 found_dir="$dir" 7392 found_so="$dir/$libname$shrext.$ver" 7393 fi 7394 else 7395 eval library_names=\"$acl_library_names_spec\" 7396 for f in $library_names; do 7397 if test -f "$dir/$f"; then 7398 found_dir="$dir" 7399 found_so="$dir/$f" 7400 break 7401 fi 7402 done 7403 fi 7404 fi 7405 fi 7406 if test "X$found_dir" = "X"; then 7407 if test -f "$dir/$libname.$acl_libext"; then 7408 found_dir="$dir" 7409 found_a="$dir/$libname.$acl_libext" 7410 fi 7411 fi 7412 if test "X$found_dir" != "X"; then 7413 if test -f "$dir/$libname.la"; then 7414 found_la="$dir/$libname.la" 7415 fi 7416 fi 7417 ;; 7418 esac 7419 if test "X$found_dir" != "X"; then 7420 break 7421 fi 7422 done 7423 fi 7424 if test "X$found_dir" != "X"; then 7425 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 7426 if test "X$found_so" != "X"; then 7427 if test "$enable_rpath" = no \ 7428 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 7429 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 7430 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7431 else 7432 haveit= 7433 for x in $ltrpathdirs; do 7434 if test "X$x" = "X$found_dir"; then 7435 haveit=yes 7436 break 7437 fi 7438 done 7439 if test -z "$haveit"; then 7440 ltrpathdirs="$ltrpathdirs $found_dir" 7441 fi 7442 if test "$acl_hardcode_direct" = yes; then 7443 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7444 else 7445 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 7446 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7447 haveit= 7448 for x in $rpathdirs; do 7449 if test "X$x" = "X$found_dir"; then 7450 haveit=yes 7451 break 7452 fi 7453 done 7454 if test -z "$haveit"; then 7455 rpathdirs="$rpathdirs $found_dir" 7456 fi 7457 else 7458 haveit= 7459 for x in $LDFLAGS $LIBINTL; do 7460 7461 acl_save_prefix="$prefix" 7462 prefix="$acl_final_prefix" 7463 acl_save_exec_prefix="$exec_prefix" 7464 exec_prefix="$acl_final_exec_prefix" 7465 eval x=\"$x\" 7466 exec_prefix="$acl_save_exec_prefix" 7467 prefix="$acl_save_prefix" 7468 7469 if test "X$x" = "X-L$found_dir"; then 7470 haveit=yes 7471 break 7472 fi 7473 done 7474 if test -z "$haveit"; then 7475 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 7476 fi 7477 if test "$acl_hardcode_minus_L" != no; then 7478 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 7479 else 7480 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 7481 fi 7482 fi 7483 fi 7484 fi 7485 else 7486 if test "X$found_a" != "X"; then 7487 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 7488 else 7489 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 7490 fi 7491 fi 7492 additional_includedir= 7493 case "$found_dir" in 7494 */$acl_libdirstem | */$acl_libdirstem/) 7495 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 7496 if test "$name" = 'intl'; then 7497 LIBINTL_PREFIX="$basedir" 7498 fi 7499 additional_includedir="$basedir/include" 7500 ;; 7501 */$acl_libdirstem2 | */$acl_libdirstem2/) 7502 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 7503 if test "$name" = 'intl'; then 7504 LIBINTL_PREFIX="$basedir" 7505 fi 7506 additional_includedir="$basedir/include" 7507 ;; 7508 esac 7509 if test "X$additional_includedir" != "X"; then 7510 if test "X$additional_includedir" != "X/usr/include"; then 7511 haveit= 7512 if test "X$additional_includedir" = "X/usr/local/include"; then 7513 if test -n "$GCC"; then 7514 case $host_os in 7515 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 7516 esac 7517 fi 7518 fi 7519 if test -z "$haveit"; then 7520 for x in $CPPFLAGS $INCINTL; do 7521 7522 acl_save_prefix="$prefix" 7523 prefix="$acl_final_prefix" 7524 acl_save_exec_prefix="$exec_prefix" 7525 exec_prefix="$acl_final_exec_prefix" 7526 eval x=\"$x\" 7527 exec_prefix="$acl_save_exec_prefix" 7528 prefix="$acl_save_prefix" 7529 7530 if test "X$x" = "X-I$additional_includedir"; then 7531 haveit=yes 7532 break 7533 fi 7534 done 7535 if test -z "$haveit"; then 7536 if test -d "$additional_includedir"; then 7537 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 7538 fi 7539 fi 7540 fi 7541 fi 7542 fi 7543 if test -n "$found_la"; then 7544 save_libdir="$libdir" 7545 case "$found_la" in 7546 */* | *\\*) . "$found_la" ;; 7547 *) . "./$found_la" ;; 7548 esac 7549 libdir="$save_libdir" 7550 for dep in $dependency_libs; do 7551 case "$dep" in 7552 -L*) 7553 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 7554 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 7555 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 7556 haveit= 7557 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 7558 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 7559 if test -n "$GCC"; then 7560 case $host_os in 7561 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 7562 esac 7563 fi 7564 fi 7565 if test -z "$haveit"; then 7566 haveit= 7567 for x in $LDFLAGS $LIBINTL; do 7568 7569 acl_save_prefix="$prefix" 7570 prefix="$acl_final_prefix" 7571 acl_save_exec_prefix="$exec_prefix" 7572 exec_prefix="$acl_final_exec_prefix" 7573 eval x=\"$x\" 7574 exec_prefix="$acl_save_exec_prefix" 7575 prefix="$acl_save_prefix" 7576 7577 if test "X$x" = "X-L$additional_libdir"; then 7578 haveit=yes 7579 break 7580 fi 7581 done 7582 if test -z "$haveit"; then 7583 if test -d "$additional_libdir"; then 7584 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 7585 fi 7586 fi 7587 haveit= 7588 for x in $LDFLAGS $LTLIBINTL; do 7589 7590 acl_save_prefix="$prefix" 7591 prefix="$acl_final_prefix" 7592 acl_save_exec_prefix="$exec_prefix" 7593 exec_prefix="$acl_final_exec_prefix" 7594 eval x=\"$x\" 7595 exec_prefix="$acl_save_exec_prefix" 7596 prefix="$acl_save_prefix" 7597 7598 if test "X$x" = "X-L$additional_libdir"; then 7599 haveit=yes 7600 break 7601 fi 7602 done 7603 if test -z "$haveit"; then 7604 if test -d "$additional_libdir"; then 7605 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 7606 fi 7607 fi 7608 fi 7609 fi 7610 ;; 7611 -R*) 7612 dir=`echo "X$dep" | sed -e 's/^X-R//'` 7613 if test "$enable_rpath" != no; then 7614 haveit= 7615 for x in $rpathdirs; do 7616 if test "X$x" = "X$dir"; then 7617 haveit=yes 7618 break 7619 fi 7620 done 7621 if test -z "$haveit"; then 7622 rpathdirs="$rpathdirs $dir" 7623 fi 7624 haveit= 7625 for x in $ltrpathdirs; do 7626 if test "X$x" = "X$dir"; then 7627 haveit=yes 7628 break 7629 fi 7630 done 7631 if test -z "$haveit"; then 7632 ltrpathdirs="$ltrpathdirs $dir" 7633 fi 7634 fi 7635 ;; 7636 -l*) 7637 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 7638 ;; 7639 *.la) 7640 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 7641 ;; 7642 *) 7643 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 7644 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 7645 ;; 7646 esac 7647 done 7648 fi 7649 else 7650 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 7651 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 7652 fi 7653 fi 7654 fi 7655 done 7656 done 7657 if test "X$rpathdirs" != "X"; then 7658 if test -n "$acl_hardcode_libdir_separator"; then 7659 alldirs= 7660 for found_dir in $rpathdirs; do 7661 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 7662 done 7663 acl_save_libdir="$libdir" 7664 libdir="$alldirs" 7665 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7666 libdir="$acl_save_libdir" 7667 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 7668 else 7669 for found_dir in $rpathdirs; do 7670 acl_save_libdir="$libdir" 7671 libdir="$found_dir" 7672 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7673 libdir="$acl_save_libdir" 7674 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 7675 done 7676 fi 7677 fi 7678 if test "X$ltrpathdirs" != "X"; then 7679 for found_dir in $ltrpathdirs; do 7680 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 7681 done 7682 fi 7683 7684 7685 7686 7687 7688 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 7690$as_echo_n "checking for GNU gettext in libintl... " >&6; } 7691if eval \${$gt_func_gnugettext_libintl+:} false; then : 7692 $as_echo_n "(cached) " >&6 7693else 7694 gt_save_CPPFLAGS="$CPPFLAGS" 7695 CPPFLAGS="$CPPFLAGS $INCINTL" 7696 gt_save_LIBS="$LIBS" 7697 LIBS="$LIBS $LIBINTL" 7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7699/* end confdefs.h. */ 7700 7701#include <libintl.h> 7702$gt_revision_test_code 7703extern int _nl_msg_cat_cntr; 7704extern 7705#ifdef __cplusplus 7706"C" 7707#endif 7708const char *_nl_expand_alias (const char *); 7709 7710int 7711main () 7712{ 7713 7714bindtextdomain ("", ""); 7715return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 7716 7717 ; 7718 return 0; 7719} 7720_ACEOF 7721if ac_fn_c_try_link "$LINENO"; then : 7722 eval "$gt_func_gnugettext_libintl=yes" 7723else 7724 eval "$gt_func_gnugettext_libintl=no" 7725fi 7726rm -f core conftest.err conftest.$ac_objext \ 7727 conftest$ac_exeext conftest.$ac_ext 7728 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 7729 LIBS="$LIBS $LIBICONV" 7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7731/* end confdefs.h. */ 7732 7733#include <libintl.h> 7734$gt_revision_test_code 7735extern int _nl_msg_cat_cntr; 7736extern 7737#ifdef __cplusplus 7738"C" 7739#endif 7740const char *_nl_expand_alias (const char *); 7741 7742int 7743main () 7744{ 7745 7746bindtextdomain ("", ""); 7747return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 7748 7749 ; 7750 return 0; 7751} 7752_ACEOF 7753if ac_fn_c_try_link "$LINENO"; then : 7754 LIBINTL="$LIBINTL $LIBICONV" 7755 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 7756 eval "$gt_func_gnugettext_libintl=yes" 7757 7758fi 7759rm -f core conftest.err conftest.$ac_objext \ 7760 conftest$ac_exeext conftest.$ac_ext 7761 fi 7762 CPPFLAGS="$gt_save_CPPFLAGS" 7763 LIBS="$gt_save_LIBS" 7764fi 7765eval ac_res=\$$gt_func_gnugettext_libintl 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7767$as_echo "$ac_res" >&6; } 7768 fi 7769 7770 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 7771 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 7772 && test "$PACKAGE" != gettext-runtime \ 7773 && test "$PACKAGE" != gettext-tools; }; then 7774 gt_use_preinstalled_gnugettext=yes 7775 else 7776 LIBINTL= 7777 LTLIBINTL= 7778 INCINTL= 7779 fi 7780 7781 7782 7783 if test -n "$INTL_MACOSX_LIBS"; then 7784 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 7785 || test "$nls_cv_use_gnu_gettext" = "yes"; then 7786 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 7787 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 7788 fi 7789 fi 7790 7791 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 7792 || test "$nls_cv_use_gnu_gettext" = "yes"; then 7793 7794$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h 7795 7796 else 7797 USE_NLS=no 7798 fi 7799 fi 7800 7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 7802$as_echo_n "checking whether to use NLS... " >&6; } 7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 7804$as_echo "$USE_NLS" >&6; } 7805 if test "$USE_NLS" = "yes"; then 7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 7807$as_echo_n "checking where the gettext function comes from... " >&6; } 7808 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 7809 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 7810 gt_source="external libintl" 7811 else 7812 gt_source="libc" 7813 fi 7814 else 7815 gt_source="included intl directory" 7816 fi 7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 7818$as_echo "$gt_source" >&6; } 7819 fi 7820 7821 if test "$USE_NLS" = "yes"; then 7822 7823 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 7824 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 7826$as_echo_n "checking how to link with libintl... " >&6; } 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 7828$as_echo "$LIBINTL" >&6; } 7829 7830 for element in $INCINTL; do 7831 haveit= 7832 for x in $CPPFLAGS; do 7833 7834 acl_save_prefix="$prefix" 7835 prefix="$acl_final_prefix" 7836 acl_save_exec_prefix="$exec_prefix" 7837 exec_prefix="$acl_final_exec_prefix" 7838 eval x=\"$x\" 7839 exec_prefix="$acl_save_exec_prefix" 7840 prefix="$acl_save_prefix" 7841 7842 if test "X$x" = "X$element"; then 7843 haveit=yes 7844 break 7845 fi 7846 done 7847 if test -z "$haveit"; then 7848 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 7849 fi 7850 done 7851 7852 fi 7853 7854 7855$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h 7856 7857 7858$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h 7859 7860 fi 7861 7862 POSUB=po 7863 fi 7864 7865 7866 7867 INTLLIBS="$LIBINTL" 7868 7869 7870 7871 7872 7873 7874 7875# ------------------------------------------------------------------------------- 7876# Main settings. 7877# ------------------------------------------------------------------------------- 7878# prefix=/usr 7879 7880# ------------------------------------------------------------------------------- 7881# Checks for programs. 7882# ------------------------------------------------------------------------------- 7883ac_ext=c 7884ac_cpp='$CPP $CPPFLAGS' 7885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7887ac_compiler_gnu=$ac_cv_c_compiler_gnu 7888if test -n "$ac_tool_prefix"; then 7889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7890set dummy ${ac_tool_prefix}gcc; ac_word=$2 7891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7892$as_echo_n "checking for $ac_word... " >&6; } 7893if ${ac_cv_prog_CC+:} false; then : 7894 $as_echo_n "(cached) " >&6 7895else 7896 if test -n "$CC"; then 7897 ac_cv_prog_CC="$CC" # Let the user override the test. 7898else 7899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7900for as_dir in $PATH 7901do 7902 IFS=$as_save_IFS 7903 test -z "$as_dir" && as_dir=. 7904 for ac_exec_ext in '' $ac_executable_extensions; do 7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7906 ac_cv_prog_CC="${ac_tool_prefix}gcc" 7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7908 break 2 7909 fi 7910done 7911 done 7912IFS=$as_save_IFS 7913 7914fi 7915fi 7916CC=$ac_cv_prog_CC 7917if test -n "$CC"; then 7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7919$as_echo "$CC" >&6; } 7920else 7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7922$as_echo "no" >&6; } 7923fi 7924 7925 7926fi 7927if test -z "$ac_cv_prog_CC"; then 7928 ac_ct_CC=$CC 7929 # Extract the first word of "gcc", so it can be a program name with args. 7930set dummy gcc; ac_word=$2 7931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7932$as_echo_n "checking for $ac_word... " >&6; } 7933if ${ac_cv_prog_ac_ct_CC+:} false; then : 7934 $as_echo_n "(cached) " >&6 7935else 7936 if test -n "$ac_ct_CC"; then 7937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 7938else 7939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7940for as_dir in $PATH 7941do 7942 IFS=$as_save_IFS 7943 test -z "$as_dir" && as_dir=. 7944 for ac_exec_ext in '' $ac_executable_extensions; do 7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7946 ac_cv_prog_ac_ct_CC="gcc" 7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7948 break 2 7949 fi 7950done 7951 done 7952IFS=$as_save_IFS 7953 7954fi 7955fi 7956ac_ct_CC=$ac_cv_prog_ac_ct_CC 7957if test -n "$ac_ct_CC"; then 7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7959$as_echo "$ac_ct_CC" >&6; } 7960else 7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7962$as_echo "no" >&6; } 7963fi 7964 7965 if test "x$ac_ct_CC" = x; then 7966 CC="" 7967 else 7968 case $cross_compiling:$ac_tool_warned in 7969yes:) 7970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7972ac_tool_warned=yes ;; 7973esac 7974 CC=$ac_ct_CC 7975 fi 7976else 7977 CC="$ac_cv_prog_CC" 7978fi 7979 7980if test -z "$CC"; then 7981 if test -n "$ac_tool_prefix"; then 7982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7983set dummy ${ac_tool_prefix}cc; ac_word=$2 7984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7985$as_echo_n "checking for $ac_word... " >&6; } 7986if ${ac_cv_prog_CC+:} false; then : 7987 $as_echo_n "(cached) " >&6 7988else 7989 if test -n "$CC"; then 7990 ac_cv_prog_CC="$CC" # Let the user override the test. 7991else 7992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7993for as_dir in $PATH 7994do 7995 IFS=$as_save_IFS 7996 test -z "$as_dir" && as_dir=. 7997 for ac_exec_ext in '' $ac_executable_extensions; do 7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7999 ac_cv_prog_CC="${ac_tool_prefix}cc" 8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8001 break 2 8002 fi 8003done 8004 done 8005IFS=$as_save_IFS 8006 8007fi 8008fi 8009CC=$ac_cv_prog_CC 8010if test -n "$CC"; then 8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 8012$as_echo "$CC" >&6; } 8013else 8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8015$as_echo "no" >&6; } 8016fi 8017 8018 8019 fi 8020fi 8021if test -z "$CC"; then 8022 # Extract the first word of "cc", so it can be a program name with args. 8023set dummy cc; ac_word=$2 8024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8025$as_echo_n "checking for $ac_word... " >&6; } 8026if ${ac_cv_prog_CC+:} false; then : 8027 $as_echo_n "(cached) " >&6 8028else 8029 if test -n "$CC"; then 8030 ac_cv_prog_CC="$CC" # Let the user override the test. 8031else 8032 ac_prog_rejected=no 8033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8034for as_dir in $PATH 8035do 8036 IFS=$as_save_IFS 8037 test -z "$as_dir" && as_dir=. 8038 for ac_exec_ext in '' $ac_executable_extensions; do 8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 8041 ac_prog_rejected=yes 8042 continue 8043 fi 8044 ac_cv_prog_CC="cc" 8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8046 break 2 8047 fi 8048done 8049 done 8050IFS=$as_save_IFS 8051 8052if test $ac_prog_rejected = yes; then 8053 # We found a bogon in the path, so make sure we never use it. 8054 set dummy $ac_cv_prog_CC 8055 shift 8056 if test $@%:@ != 0; then 8057 # We chose a different compiler from the bogus one. 8058 # However, it has the same basename, so the bogon will be chosen 8059 # first if we set CC to just the basename; use the full file name. 8060 shift 8061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 8062 fi 8063fi 8064fi 8065fi 8066CC=$ac_cv_prog_CC 8067if test -n "$CC"; then 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 8069$as_echo "$CC" >&6; } 8070else 8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8072$as_echo "no" >&6; } 8073fi 8074 8075 8076fi 8077if test -z "$CC"; then 8078 if test -n "$ac_tool_prefix"; then 8079 for ac_prog in cl.exe 8080 do 8081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8082set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8084$as_echo_n "checking for $ac_word... " >&6; } 8085if ${ac_cv_prog_CC+:} false; then : 8086 $as_echo_n "(cached) " >&6 8087else 8088 if test -n "$CC"; then 8089 ac_cv_prog_CC="$CC" # Let the user override the test. 8090else 8091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8092for as_dir in $PATH 8093do 8094 IFS=$as_save_IFS 8095 test -z "$as_dir" && as_dir=. 8096 for ac_exec_ext in '' $ac_executable_extensions; do 8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8100 break 2 8101 fi 8102done 8103 done 8104IFS=$as_save_IFS 8105 8106fi 8107fi 8108CC=$ac_cv_prog_CC 8109if test -n "$CC"; then 8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 8111$as_echo "$CC" >&6; } 8112else 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8114$as_echo "no" >&6; } 8115fi 8116 8117 8118 test -n "$CC" && break 8119 done 8120fi 8121if test -z "$CC"; then 8122 ac_ct_CC=$CC 8123 for ac_prog in cl.exe 8124do 8125 # Extract the first word of "$ac_prog", so it can be a program name with args. 8126set dummy $ac_prog; ac_word=$2 8127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8128$as_echo_n "checking for $ac_word... " >&6; } 8129if ${ac_cv_prog_ac_ct_CC+:} false; then : 8130 $as_echo_n "(cached) " >&6 8131else 8132 if test -n "$ac_ct_CC"; then 8133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 8134else 8135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8136for as_dir in $PATH 8137do 8138 IFS=$as_save_IFS 8139 test -z "$as_dir" && as_dir=. 8140 for ac_exec_ext in '' $ac_executable_extensions; do 8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8142 ac_cv_prog_ac_ct_CC="$ac_prog" 8143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8144 break 2 8145 fi 8146done 8147 done 8148IFS=$as_save_IFS 8149 8150fi 8151fi 8152ac_ct_CC=$ac_cv_prog_ac_ct_CC 8153if test -n "$ac_ct_CC"; then 8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 8155$as_echo "$ac_ct_CC" >&6; } 8156else 8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8158$as_echo "no" >&6; } 8159fi 8160 8161 8162 test -n "$ac_ct_CC" && break 8163done 8164 8165 if test "x$ac_ct_CC" = x; then 8166 CC="" 8167 else 8168 case $cross_compiling:$ac_tool_warned in 8169yes:) 8170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8172ac_tool_warned=yes ;; 8173esac 8174 CC=$ac_ct_CC 8175 fi 8176fi 8177 8178fi 8179 8180 8181test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8183as_fn_error $? "no acceptable C compiler found in \$PATH 8184See \`config.log' for more details" "$LINENO" 5; } 8185 8186# Provide some information about the compiler. 8187$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 8188set X $ac_compile 8189ac_compiler=$2 8190for ac_option in --version -v -V -qversion; do 8191 { { ac_try="$ac_compiler $ac_option >&5" 8192case "(($ac_try" in 8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8194 *) ac_try_echo=$ac_try;; 8195esac 8196eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 8197$as_echo "$ac_try_echo"; } >&5 8198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8199 ac_status=$? 8200 if test -s conftest.err; then 8201 sed '10a\ 8202... rest of stderr output deleted ... 8203 10q' conftest.err >conftest.er1 8204 cat conftest.er1 >&5 8205 fi 8206 rm -f conftest.er1 conftest.err 8207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8208 test $ac_status = 0; } 8209done 8210 8211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 8212$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 8213if ${ac_cv_c_compiler_gnu+:} false; then : 8214 $as_echo_n "(cached) " >&6 8215else 8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8217/* end confdefs.h. */ 8218 8219int 8220main () 8221{ 8222#ifndef __GNUC__ 8223 choke me 8224#endif 8225 8226 ; 8227 return 0; 8228} 8229_ACEOF 8230if ac_fn_c_try_compile "$LINENO"; then : 8231 ac_compiler_gnu=yes 8232else 8233 ac_compiler_gnu=no 8234fi 8235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8236ac_cv_c_compiler_gnu=$ac_compiler_gnu 8237 8238fi 8239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 8240$as_echo "$ac_cv_c_compiler_gnu" >&6; } 8241if test $ac_compiler_gnu = yes; then 8242 GCC=yes 8243else 8244 GCC= 8245fi 8246ac_test_CFLAGS=${CFLAGS+set} 8247ac_save_CFLAGS=$CFLAGS 8248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 8249$as_echo_n "checking whether $CC accepts -g... " >&6; } 8250if ${ac_cv_prog_cc_g+:} false; then : 8251 $as_echo_n "(cached) " >&6 8252else 8253 ac_save_c_werror_flag=$ac_c_werror_flag 8254 ac_c_werror_flag=yes 8255 ac_cv_prog_cc_g=no 8256 CFLAGS="-g" 8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8258/* end confdefs.h. */ 8259 8260int 8261main () 8262{ 8263 8264 ; 8265 return 0; 8266} 8267_ACEOF 8268if ac_fn_c_try_compile "$LINENO"; then : 8269 ac_cv_prog_cc_g=yes 8270else 8271 CFLAGS="" 8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8273/* end confdefs.h. */ 8274 8275int 8276main () 8277{ 8278 8279 ; 8280 return 0; 8281} 8282_ACEOF 8283if ac_fn_c_try_compile "$LINENO"; then : 8284 8285else 8286 ac_c_werror_flag=$ac_save_c_werror_flag 8287 CFLAGS="-g" 8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8289/* end confdefs.h. */ 8290 8291int 8292main () 8293{ 8294 8295 ; 8296 return 0; 8297} 8298_ACEOF 8299if ac_fn_c_try_compile "$LINENO"; then : 8300 ac_cv_prog_cc_g=yes 8301fi 8302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8303fi 8304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8305fi 8306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8307 ac_c_werror_flag=$ac_save_c_werror_flag 8308fi 8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 8310$as_echo "$ac_cv_prog_cc_g" >&6; } 8311if test "$ac_test_CFLAGS" = set; then 8312 CFLAGS=$ac_save_CFLAGS 8313elif test $ac_cv_prog_cc_g = yes; then 8314 if test "$GCC" = yes; then 8315 CFLAGS="-g -O2" 8316 else 8317 CFLAGS="-g" 8318 fi 8319else 8320 if test "$GCC" = yes; then 8321 CFLAGS="-O2" 8322 else 8323 CFLAGS= 8324 fi 8325fi 8326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 8327$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 8328if ${ac_cv_prog_cc_c89+:} false; then : 8329 $as_echo_n "(cached) " >&6 8330else 8331 ac_cv_prog_cc_c89=no 8332ac_save_CC=$CC 8333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8334/* end confdefs.h. */ 8335#include <stdarg.h> 8336#include <stdio.h> 8337struct stat; 8338/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 8339struct buf { int x; }; 8340FILE * (*rcsopen) (struct buf *, struct stat *, int); 8341static char *e (p, i) 8342 char **p; 8343 int i; 8344{ 8345 return p[i]; 8346} 8347static char *f (char * (*g) (char **, int), char **p, ...) 8348{ 8349 char *s; 8350 va_list v; 8351 va_start (v,p); 8352 s = g (p, va_arg (v,int)); 8353 va_end (v); 8354 return s; 8355} 8356 8357/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 8358 function prototypes and stuff, but not '\xHH' hex character constants. 8359 These don't provoke an error unfortunately, instead are silently treated 8360 as 'x'. The following induces an error, until -std is added to get 8361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 8362 array size at least. It's necessary to write '\x00'==0 to get something 8363 that's true only with -std. */ 8364int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 8365 8366/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 8367 inside strings and character constants. */ 8368#define FOO(x) 'x' 8369int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 8370 8371int test (int i, double x); 8372struct s1 {int (*f) (int a);}; 8373struct s2 {int (*f) (double a);}; 8374int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 8375int argc; 8376char **argv; 8377int 8378main () 8379{ 8380return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 8381 ; 8382 return 0; 8383} 8384_ACEOF 8385for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 8386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 8387do 8388 CC="$ac_save_CC $ac_arg" 8389 if ac_fn_c_try_compile "$LINENO"; then : 8390 ac_cv_prog_cc_c89=$ac_arg 8391fi 8392rm -f core conftest.err conftest.$ac_objext 8393 test "x$ac_cv_prog_cc_c89" != "xno" && break 8394done 8395rm -f conftest.$ac_ext 8396CC=$ac_save_CC 8397 8398fi 8399# AC_CACHE_VAL 8400case "x$ac_cv_prog_cc_c89" in 8401 x) 8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 8403$as_echo "none needed" >&6; } ;; 8404 xno) 8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 8406$as_echo "unsupported" >&6; } ;; 8407 *) 8408 CC="$CC $ac_cv_prog_cc_c89" 8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 8410$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 8411esac 8412if test "x$ac_cv_prog_cc_c89" != xno; then : 8413 8414fi 8415 8416ac_ext=c 8417ac_cpp='$CPP $CPPFLAGS' 8418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8420ac_compiler_gnu=$ac_cv_c_compiler_gnu 8421 8422ac_ext=c 8423ac_cpp='$CPP $CPPFLAGS' 8424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8426ac_compiler_gnu=$ac_cv_c_compiler_gnu 8427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 8428$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 8429if ${am_cv_prog_cc_c_o+:} false; then : 8430 $as_echo_n "(cached) " >&6 8431else 8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8433/* end confdefs.h. */ 8434 8435int 8436main () 8437{ 8438 8439 ; 8440 return 0; 8441} 8442_ACEOF 8443 # Make sure it works both with $CC and with simple cc. 8444 # Following AC_PROG_CC_C_O, we do the test twice because some 8445 # compilers refuse to overwrite an existing .o file with -o, 8446 # though they will create one. 8447 am_cv_prog_cc_c_o=yes 8448 for am_i in 1 2; do 8449 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 8450 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 8451 ac_status=$? 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8453 (exit $ac_status); } \ 8454 && test -f conftest2.$ac_objext; then 8455 : OK 8456 else 8457 am_cv_prog_cc_c_o=no 8458 break 8459 fi 8460 done 8461 rm -f core conftest* 8462 unset am_i 8463fi 8464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 8465$as_echo "$am_cv_prog_cc_c_o" >&6; } 8466if test "$am_cv_prog_cc_c_o" != yes; then 8467 # Losing compiler, so override with the script. 8468 # FIXME: It is wrong to rewrite CC. 8469 # But if we don't then we get into trouble of one sort or another. 8470 # A longer-term fix would be to have automake use am__CC in this case, 8471 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 8472 CC="$am_aux_dir/compile $CC" 8473fi 8474ac_ext=c 8475ac_cpp='$CPP $CPPFLAGS' 8476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8478ac_compiler_gnu=$ac_cv_c_compiler_gnu 8479 8480 8481depcc="$CC" am_compiler_list= 8482 8483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 8484$as_echo_n "checking dependency style of $depcc... " >&6; } 8485if ${am_cv_CC_dependencies_compiler_type+:} false; then : 8486 $as_echo_n "(cached) " >&6 8487else 8488 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 8489 # We make a subdir and do the tests there. Otherwise we can end up 8490 # making bogus files that we don't know about and never remove. For 8491 # instance it was reported that on HP-UX the gcc test will end up 8492 # making a dummy file named 'D' -- because '-MD' means "put the output 8493 # in D". 8494 rm -rf conftest.dir 8495 mkdir conftest.dir 8496 # Copy depcomp to subdir because otherwise we won't find it if we're 8497 # using a relative directory. 8498 cp "$am_depcomp" conftest.dir 8499 cd conftest.dir 8500 # We will build objects and dependencies in a subdirectory because 8501 # it helps to detect inapplicable dependency modes. For instance 8502 # both Tru64's cc and ICC support -MD to output dependencies as a 8503 # side effect of compilation, but ICC will put the dependencies in 8504 # the current directory while Tru64 will put them in the object 8505 # directory. 8506 mkdir sub 8507 8508 am_cv_CC_dependencies_compiler_type=none 8509 if test "$am_compiler_list" = ""; then 8510 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 8511 fi 8512 am__universal=false 8513 case " $depcc " in #( 8514 *\ -arch\ *\ -arch\ *) am__universal=true ;; 8515 esac 8516 8517 for depmode in $am_compiler_list; do 8518 # Setup a source with many dependencies, because some compilers 8519 # like to wrap large dependency lists on column 80 (with \), and 8520 # we should not choose a depcomp mode which is confused by this. 8521 # 8522 # We need to recreate these files for each test, as the compiler may 8523 # overwrite some of them when testing with obscure command lines. 8524 # This happens at least with the AIX C compiler. 8525 : > sub/conftest.c 8526 for i in 1 2 3 4 5 6; do 8527 echo '#include "conftst'$i'.h"' >> sub/conftest.c 8528 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 8529 # Solaris 10 /bin/sh. 8530 echo '/* dummy */' > sub/conftst$i.h 8531 done 8532 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 8533 8534 # We check with '-c' and '-o' for the sake of the "dashmstdout" 8535 # mode. It turns out that the SunPro C++ compiler does not properly 8536 # handle '-M -o', and we need to detect this. Also, some Intel 8537 # versions had trouble with output in subdirs. 8538 am__obj=sub/conftest.${OBJEXT-o} 8539 am__minus_obj="-o $am__obj" 8540 case $depmode in 8541 gcc) 8542 # This depmode causes a compiler race in universal mode. 8543 test "$am__universal" = false || continue 8544 ;; 8545 nosideeffect) 8546 # After this tag, mechanisms are not by side-effect, so they'll 8547 # only be used when explicitly requested. 8548 if test "x$enable_dependency_tracking" = xyes; then 8549 continue 8550 else 8551 break 8552 fi 8553 ;; 8554 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 8555 # This compiler won't grok '-c -o', but also, the minuso test has 8556 # not run yet. These depmodes are late enough in the game, and 8557 # so weak that their functioning should not be impacted. 8558 am__obj=conftest.${OBJEXT-o} 8559 am__minus_obj= 8560 ;; 8561 none) break ;; 8562 esac 8563 if depmode=$depmode \ 8564 source=sub/conftest.c object=$am__obj \ 8565 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 8566 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 8567 >/dev/null 2>conftest.err && 8568 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 8569 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 8570 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 8571 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 8572 # icc doesn't choke on unknown options, it will just issue warnings 8573 # or remarks (even with -Werror). So we grep stderr for any message 8574 # that says an option was ignored or not supported. 8575 # When given -MP, icc 7.0 and 7.1 complain thusly: 8576 # icc: Command line warning: ignoring option '-M'; no argument required 8577 # The diagnosis changed in icc 8.0: 8578 # icc: Command line remark: option '-MP' not supported 8579 if (grep 'ignoring option' conftest.err || 8580 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 8581 am_cv_CC_dependencies_compiler_type=$depmode 8582 break 8583 fi 8584 fi 8585 done 8586 8587 cd .. 8588 rm -rf conftest.dir 8589else 8590 am_cv_CC_dependencies_compiler_type=none 8591fi 8592 8593fi 8594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 8595$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 8596CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 8597 8598 if 8599 test "x$enable_dependency_tracking" != xno \ 8600 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 8601 am__fastdepCC_TRUE= 8602 am__fastdepCC_FALSE='#' 8603else 8604 am__fastdepCC_TRUE='#' 8605 am__fastdepCC_FALSE= 8606fi 8607 8608 8609 8610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 8611$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 8612set x ${MAKE-make} 8613ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 8614if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 8615 $as_echo_n "(cached) " >&6 8616else 8617 cat >conftest.make <<\_ACEOF 8618SHELL = /bin/sh 8619all: 8620 @echo '@@@%%%=$(MAKE)=@@@%%%' 8621_ACEOF 8622# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 8623case `${MAKE-make} -f conftest.make 2>/dev/null` in 8624 *@@@%%%=?*=@@@%%%*) 8625 eval ac_cv_prog_make_${ac_make}_set=yes;; 8626 *) 8627 eval ac_cv_prog_make_${ac_make}_set=no;; 8628esac 8629rm -f conftest.make 8630fi 8631if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8633$as_echo "yes" >&6; } 8634 SET_MAKE= 8635else 8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8637$as_echo "no" >&6; } 8638 SET_MAKE="MAKE=${MAKE-make}" 8639fi 8640 8641for ac_func in memset 8642do : 8643 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset" 8644if test "x$ac_cv_func_memset" = xyes; then : 8645 cat >>confdefs.h <<_ACEOF 8646@%:@define HAVE_MEMSET 1 8647_ACEOF 8648 8649fi 8650done 8651 8652 8653 8654 8655 8656 8657 8658 8659if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 8660 if test -n "$ac_tool_prefix"; then 8661 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 8662set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 8663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8664$as_echo_n "checking for $ac_word... " >&6; } 8665if ${ac_cv_path_PKG_CONFIG+:} false; then : 8666 $as_echo_n "(cached) " >&6 8667else 8668 case $PKG_CONFIG in 8669 [\\/]* | ?:[\\/]*) 8670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8671 ;; 8672 *) 8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8674for as_dir in $PATH 8675do 8676 IFS=$as_save_IFS 8677 test -z "$as_dir" && as_dir=. 8678 for ac_exec_ext in '' $ac_executable_extensions; do 8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8682 break 2 8683 fi 8684done 8685 done 8686IFS=$as_save_IFS 8687 8688 ;; 8689esac 8690fi 8691PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8692if test -n "$PKG_CONFIG"; then 8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 8694$as_echo "$PKG_CONFIG" >&6; } 8695else 8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8697$as_echo "no" >&6; } 8698fi 8699 8700 8701fi 8702if test -z "$ac_cv_path_PKG_CONFIG"; then 8703 ac_pt_PKG_CONFIG=$PKG_CONFIG 8704 # Extract the first word of "pkg-config", so it can be a program name with args. 8705set dummy pkg-config; ac_word=$2 8706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8707$as_echo_n "checking for $ac_word... " >&6; } 8708if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 8709 $as_echo_n "(cached) " >&6 8710else 8711 case $ac_pt_PKG_CONFIG in 8712 [\\/]* | ?:[\\/]*) 8713 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 8714 ;; 8715 *) 8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8717for as_dir in $PATH 8718do 8719 IFS=$as_save_IFS 8720 test -z "$as_dir" && as_dir=. 8721 for ac_exec_ext in '' $ac_executable_extensions; do 8722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8723 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8725 break 2 8726 fi 8727done 8728 done 8729IFS=$as_save_IFS 8730 8731 ;; 8732esac 8733fi 8734ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 8735if test -n "$ac_pt_PKG_CONFIG"; then 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 8737$as_echo "$ac_pt_PKG_CONFIG" >&6; } 8738else 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8740$as_echo "no" >&6; } 8741fi 8742 8743 if test "x$ac_pt_PKG_CONFIG" = x; then 8744 PKG_CONFIG="" 8745 else 8746 case $cross_compiling:$ac_tool_warned in 8747yes:) 8748{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8749$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8750ac_tool_warned=yes ;; 8751esac 8752 PKG_CONFIG=$ac_pt_PKG_CONFIG 8753 fi 8754else 8755 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 8756fi 8757 8758fi 8759if test -n "$PKG_CONFIG"; then 8760 _pkg_min_version=0.20 8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 8762$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 8763 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8765$as_echo "yes" >&6; } 8766 else 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8768$as_echo "no" >&6; } 8769 PKG_CONFIG="" 8770 fi 8771fi 8772 8773# ------------------------------------------------------------------------------- 8774# Application indicator. 8775# ------------------------------------------------------------------------------- 8776 8777APPINDICATOR_REQUIRED_VERSION=0.2.4 8778APPIND_LIB=appindicator-0.1 8779 8780@%:@ Check whether --enable-appindicator was given. 8781if test "${enable_appindicator+set}" = set; then : 8782 enableval=$enable_appindicator; enable_appindicator=$enableval 8783else 8784 enable_appindicator="yes" 8785fi 8786 8787 8788have_appindicator=no 8789if test "x$enable_appindicator" = "xyes" ; then 8790# PKG_CHECK_MODULES completly broken on my system. 8791 echo -n "checking for $APPIND_LIB... " 8792 if `$PKG_CONFIG --exists $APPIND_LIB` ; then 8793 if `$PKG_CONFIG --atleast-version=$APPINDICATOR_REQUIRED_VERSION $APPIND_LIB` ; then 8794 have_appindicator=yes 8795 8796pkg_failed=no 8797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5 8798$as_echo_n "checking for APPINDICATOR... " >&6; } 8799 8800if test -n "$APPINDICATOR_CFLAGS"; then 8801 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS" 8802 elif test -n "$PKG_CONFIG"; then 8803 if test -n "$PKG_CONFIG" && \ 8804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPIND_LIB\""; } >&5 8805 ($PKG_CONFIG --exists --print-errors "$APPIND_LIB") 2>&5 8806 ac_status=$? 8807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8808 test $ac_status = 0; }; then 8809 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "$APPIND_LIB" 2>/dev/null` 8810 test "x$?" != "x0" && pkg_failed=yes 8811else 8812 pkg_failed=yes 8813fi 8814 else 8815 pkg_failed=untried 8816fi 8817if test -n "$APPINDICATOR_LIBS"; then 8818 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS" 8819 elif test -n "$PKG_CONFIG"; then 8820 if test -n "$PKG_CONFIG" && \ 8821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPIND_LIB\""; } >&5 8822 ($PKG_CONFIG --exists --print-errors "$APPIND_LIB") 2>&5 8823 ac_status=$? 8824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8825 test $ac_status = 0; }; then 8826 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "$APPIND_LIB" 2>/dev/null` 8827 test "x$?" != "x0" && pkg_failed=yes 8828else 8829 pkg_failed=yes 8830fi 8831 else 8832 pkg_failed=untried 8833fi 8834 8835 8836 8837if test $pkg_failed = yes; then 8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8839$as_echo "no" >&6; } 8840 8841if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8842 _pkg_short_errors_supported=yes 8843else 8844 _pkg_short_errors_supported=no 8845fi 8846 if test $_pkg_short_errors_supported = yes; then 8847 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$APPIND_LIB" 2>&1` 8848 else 8849 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$APPIND_LIB" 2>&1` 8850 fi 8851 # Put the nasty error message in config.log where it belongs 8852 echo "$APPINDICATOR_PKG_ERRORS" >&5 8853 8854 as_fn_error $? "Package requirements ($APPIND_LIB) were not met: 8855 8856$APPINDICATOR_PKG_ERRORS 8857 8858Consider adjusting the PKG_CONFIG_PATH environment variable if you 8859installed software in a non-standard prefix. 8860 8861Alternatively, you may set the environment variables APPINDICATOR_CFLAGS 8862and APPINDICATOR_LIBS to avoid the need to call pkg-config. 8863See the pkg-config man page for more details." "$LINENO" 5 8864elif test $pkg_failed = untried; then 8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8866$as_echo "no" >&6; } 8867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8869as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8870is in your PATH or set the PKG_CONFIG environment variable to the full 8871path to pkg-config. 8872 8873Alternatively, you may set the environment variables APPINDICATOR_CFLAGS 8874and APPINDICATOR_LIBS to avoid the need to call pkg-config. 8875See the pkg-config man page for more details. 8876 8877To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8878See \`config.log' for more details" "$LINENO" 5; } 8879else 8880 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS 8881 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS 8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8883$as_echo "yes" >&6; } 8884 8885fi 8886 echo "yes" 8887 else 8888 echo "no" 8889 fi 8890 else 8891 echo "no" 8892 fi 8893# PKG_CHECK_MODULES(APPINDICATOR,[appindicator-0.1>=9.9.9],[have_appindicator=yes],[have_appindicator=no]) 8894fi 8895#echo "have_appindicator=$have_appindicator" 8896#echo "pkgcfg=$PKG_CONFIG" 8897 if test x$enable_appindicator = xyes; then 8898 HAVE_APPINDICATOR_TRUE= 8899 HAVE_APPINDICATOR_FALSE='#' 8900else 8901 HAVE_APPINDICATOR_TRUE='#' 8902 HAVE_APPINDICATOR_FALSE= 8903fi 8904 8905 8906if test "x$have_appindicator" = "xyes" ; then 8907 8908$as_echo "@%:@define HAVE_APPINDICATOR 1" >>confdefs.h 8909 8910 8911 8912fi 8913 8914X11_LIBS=-lX11 8915 8916 8917# ------------------------------------------------------------------------------- 8918# Checks for libraries. 8919# ------------------------------------------------------------------------------- 8920# AC_CHECK_LIB(pthread, pthread_create) 8921pkg_modules="gtk+-2.0 >= 2.10.0" 8922 8923pkg_failed=no 8924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 8925$as_echo_n "checking for GTK... " >&6; } 8926 8927if test -n "$GTK_CFLAGS"; then 8928 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 8929 elif test -n "$PKG_CONFIG"; then 8930 if test -n "$PKG_CONFIG" && \ 8931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 8932 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 8933 ac_status=$? 8934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8935 test $ac_status = 0; }; then 8936 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` 8937 test "x$?" != "x0" && pkg_failed=yes 8938else 8939 pkg_failed=yes 8940fi 8941 else 8942 pkg_failed=untried 8943fi 8944if test -n "$GTK_LIBS"; then 8945 pkg_cv_GTK_LIBS="$GTK_LIBS" 8946 elif test -n "$PKG_CONFIG"; then 8947 if test -n "$PKG_CONFIG" && \ 8948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 8949 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 8950 ac_status=$? 8951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8952 test $ac_status = 0; }; then 8953 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` 8954 test "x$?" != "x0" && pkg_failed=yes 8955else 8956 pkg_failed=yes 8957fi 8958 else 8959 pkg_failed=untried 8960fi 8961 8962 8963 8964if test $pkg_failed = yes; then 8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8966$as_echo "no" >&6; } 8967 8968if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8969 _pkg_short_errors_supported=yes 8970else 8971 _pkg_short_errors_supported=no 8972fi 8973 if test $_pkg_short_errors_supported = yes; then 8974 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_modules" 2>&1` 8975 else 8976 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_modules" 2>&1` 8977 fi 8978 # Put the nasty error message in config.log where it belongs 8979 echo "$GTK_PKG_ERRORS" >&5 8980 8981 as_fn_error $? "Package requirements ($pkg_modules) were not met: 8982 8983$GTK_PKG_ERRORS 8984 8985Consider adjusting the PKG_CONFIG_PATH environment variable if you 8986installed software in a non-standard prefix. 8987 8988Alternatively, you may set the environment variables GTK_CFLAGS 8989and GTK_LIBS to avoid the need to call pkg-config. 8990See the pkg-config man page for more details." "$LINENO" 5 8991elif test $pkg_failed = untried; then 8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8993$as_echo "no" >&6; } 8994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8996as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8997is in your PATH or set the PKG_CONFIG environment variable to the full 8998path to pkg-config. 8999 9000Alternatively, you may set the environment variables GTK_CFLAGS 9001and GTK_LIBS to avoid the need to call pkg-config. 9002See the pkg-config man page for more details. 9003 9004To get pkg-config, see <http://pkg-config.freedesktop.org/>. 9005See \`config.log' for more details" "$LINENO" 5; } 9006else 9007 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 9008 GTK_LIBS=$pkg_cv_GTK_LIBS 9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9010$as_echo "yes" >&6; } 9011 9012fi 9013#keep pkg-config from being called 9014GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0|sed 's/.* \(-lgtk-[^ ]*\) .*/\1/'` 9015gtk_libs=`echo "$GTK_LIBS"|sed 's/-l//'` 9016#gtk_libs=`$PKG_CONFIG --libs gtk+-2.0|sed 's/.* -l\(gtk-[[^ ]]*\) .*/\1/'` 9017#echo "gtk_libs = '$gtk_libs'" 9018as_ac_Lib=`$as_echo "ac_cv_lib_$gtk_libs''_gtk_status_icon_new" | $as_tr_sh` 9019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_status_icon_new in -l$gtk_libs" >&5 9020$as_echo_n "checking for gtk_status_icon_new in -l$gtk_libs... " >&6; } 9021if eval \${$as_ac_Lib+:} false; then : 9022 $as_echo_n "(cached) " >&6 9023else 9024 ac_check_lib_save_LIBS=$LIBS 9025LIBS="-l$gtk_libs $LIBS" 9026cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9027/* end confdefs.h. */ 9028 9029/* Override any GCC internal prototype to avoid an error. 9030 Use char because int might match the return type of a GCC 9031 builtin and then its argument prototype would still apply. */ 9032#ifdef __cplusplus 9033extern "C" 9034#endif 9035char gtk_status_icon_new (); 9036int 9037main () 9038{ 9039return gtk_status_icon_new (); 9040 ; 9041 return 0; 9042} 9043_ACEOF 9044if ac_fn_c_try_link "$LINENO"; then : 9045 eval "$as_ac_Lib=yes" 9046else 9047 eval "$as_ac_Lib=no" 9048fi 9049rm -f core conftest.err conftest.$ac_objext \ 9050 conftest$ac_exeext conftest.$ac_ext 9051LIBS=$ac_check_lib_save_LIBS 9052fi 9053eval ac_res=\$$as_ac_Lib 9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 9055$as_echo "$ac_res" >&6; } 9056if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 9057 cat >>confdefs.h <<_ACEOF 9058@%:@define `$as_echo "HAVE_LIB$gtk_libs" | $as_tr_cpp` 1 9059_ACEOF 9060 9061 LIBS="-l$gtk_libs $LIBS" 9062 9063else 9064 as_fn_error $? "Requirement not met: gtk >= 2.10.0" "$LINENO" 5 9065fi 9066 9067#AM_PATH_GTK_2_0(2.10.0, [], AC_MSG_ERROR(Requirement not met: gtk >= 2.10.0)) 9068#AM_PATH_GLIB_2_0(2.14.0, [], AC_MSG_ERROR(Requirement not met: glib >= 2.14.0)) 9069 9070 9071#GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` 9072#GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs|sed 's!.*\(-lgtk-[^ ]*\) .*!\1!'` 9073# ------------------------------------------------------------------------------- 9074# Checks for header files. 9075# ------------------------------------------------------------------------------- 9076for ac_header in stdlib.h string.h pthread.h libintl.h 9077do : 9078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9079ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9080if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9081 cat >>confdefs.h <<_ACEOF 9082@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9083_ACEOF 9084 9085fi 9086 9087done 9088 9089 9090# ------------------------------------------------------------------------------- 9091# Checks for typedefs, structures, and compiler characteristics. 9092# ------------------------------------------------------------------------------- 9093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 9094$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 9095if ${ac_cv_c_const+:} false; then : 9096 $as_echo_n "(cached) " >&6 9097else 9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9099/* end confdefs.h. */ 9100 9101int 9102main () 9103{ 9104 9105#ifndef __cplusplus 9106 /* Ultrix mips cc rejects this sort of thing. */ 9107 typedef int charset[2]; 9108 const charset cs = { 0, 0 }; 9109 /* SunOS 4.1.1 cc rejects this. */ 9110 char const *const *pcpcc; 9111 char **ppc; 9112 /* NEC SVR4.0.2 mips cc rejects this. */ 9113 struct point {int x, y;}; 9114 static struct point const zero = {0,0}; 9115 /* AIX XL C 1.02.0.0 rejects this. 9116 It does not let you subtract one const X* pointer from another in 9117 an arm of an if-expression whose if-part is not a constant 9118 expression */ 9119 const char *g = "string"; 9120 pcpcc = &g + (g ? g-g : 0); 9121 /* HPUX 7.0 cc rejects these. */ 9122 ++pcpcc; 9123 ppc = (char**) pcpcc; 9124 pcpcc = (char const *const *) ppc; 9125 { /* SCO 3.2v4 cc rejects this sort of thing. */ 9126 char tx; 9127 char *t = &tx; 9128 char const *s = 0 ? (char *) 0 : (char const *) 0; 9129 9130 *t++ = 0; 9131 if (s) return 0; 9132 } 9133 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 9134 int x[] = {25, 17}; 9135 const int *foo = &x[0]; 9136 ++foo; 9137 } 9138 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 9139 typedef const int *iptr; 9140 iptr p = 0; 9141 ++p; 9142 } 9143 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 9144 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 9145 struct s { int j; const int *ap[3]; } bx; 9146 struct s *b = &bx; b->j = 5; 9147 } 9148 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 9149 const int foo = 10; 9150 if (!foo) return 0; 9151 } 9152 return !cs[0] && !zero.x; 9153#endif 9154 9155 ; 9156 return 0; 9157} 9158_ACEOF 9159if ac_fn_c_try_compile "$LINENO"; then : 9160 ac_cv_c_const=yes 9161else 9162 ac_cv_c_const=no 9163fi 9164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9165fi 9166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 9167$as_echo "$ac_cv_c_const" >&6; } 9168if test $ac_cv_c_const = no; then 9169 9170$as_echo "@%:@define const /**/" >>confdefs.h 9171 9172fi 9173 9174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 9175$as_echo_n "checking for inline... " >&6; } 9176if ${ac_cv_c_inline+:} false; then : 9177 $as_echo_n "(cached) " >&6 9178else 9179 ac_cv_c_inline=no 9180for ac_kw in inline __inline__ __inline; do 9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9182/* end confdefs.h. */ 9183#ifndef __cplusplus 9184typedef int foo_t; 9185static $ac_kw foo_t static_foo () {return 0; } 9186$ac_kw foo_t foo () {return 0; } 9187#endif 9188 9189_ACEOF 9190if ac_fn_c_try_compile "$LINENO"; then : 9191 ac_cv_c_inline=$ac_kw 9192fi 9193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9194 test "$ac_cv_c_inline" != no && break 9195done 9196 9197fi 9198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 9199$as_echo "$ac_cv_c_inline" >&6; } 9200 9201case $ac_cv_c_inline in 9202 inline | yes) ;; 9203 *) 9204 case $ac_cv_c_inline in 9205 no) ac_val=;; 9206 *) ac_val=$ac_cv_c_inline;; 9207 esac 9208 cat >>confdefs.h <<_ACEOF 9209#ifndef __cplusplus 9210#define inline $ac_val 9211#endif 9212_ACEOF 9213 ;; 9214esac 9215 9216ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 9217if test "x$ac_cv_type_size_t" = xyes; then : 9218 9219else 9220 9221cat >>confdefs.h <<_ACEOF 9222@%:@define size_t unsigned int 9223_ACEOF 9224 9225fi 9226 9227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 9228$as_echo_n "checking for X... " >&6; } 9229 9230 9231@%:@ Check whether --with-x was given. 9232if test "${with_x+set}" = set; then : 9233 withval=$with_x; 9234fi 9235 9236# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 9237if test "x$with_x" = xno; then 9238 # The user explicitly disabled X. 9239 have_x=disabled 9240else 9241 case $x_includes,$x_libraries in #( 9242 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 9243 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 9244 $as_echo_n "(cached) " >&6 9245else 9246 # One or both of the vars are not set, and there is no cached value. 9247ac_x_includes=no ac_x_libraries=no 9248rm -f -r conftest.dir 9249if mkdir conftest.dir; then 9250 cd conftest.dir 9251 cat >Imakefile <<'_ACEOF' 9252incroot: 9253 @echo incroot='${INCROOT}' 9254usrlibdir: 9255 @echo usrlibdir='${USRLIBDIR}' 9256libdir: 9257 @echo libdir='${LIBDIR}' 9258_ACEOF 9259 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 9260 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 9261 for ac_var in incroot usrlibdir libdir; do 9262 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 9263 done 9264 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 9265 for ac_extension in a so sl dylib la dll; do 9266 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 9267 test -f "$ac_im_libdir/libX11.$ac_extension"; then 9268 ac_im_usrlibdir=$ac_im_libdir; break 9269 fi 9270 done 9271 # Screen out bogus values from the imake configuration. They are 9272 # bogus both because they are the default anyway, and because 9273 # using them would break gcc on systems where it needs fixed includes. 9274 case $ac_im_incroot in 9275 /usr/include) ac_x_includes= ;; 9276 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 9277 esac 9278 case $ac_im_usrlibdir in 9279 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 9280 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 9281 esac 9282 fi 9283 cd .. 9284 rm -f -r conftest.dir 9285fi 9286 9287# Standard set of common directories for X headers. 9288# Check X11 before X11Rn because it is often a symlink to the current release. 9289ac_x_header_dirs=' 9290/usr/X11/include 9291/usr/X11R7/include 9292/usr/X11R6/include 9293/usr/X11R5/include 9294/usr/X11R4/include 9295 9296/usr/include/X11 9297/usr/include/X11R7 9298/usr/include/X11R6 9299/usr/include/X11R5 9300/usr/include/X11R4 9301 9302/usr/local/X11/include 9303/usr/local/X11R7/include 9304/usr/local/X11R6/include 9305/usr/local/X11R5/include 9306/usr/local/X11R4/include 9307 9308/usr/local/include/X11 9309/usr/local/include/X11R7 9310/usr/local/include/X11R6 9311/usr/local/include/X11R5 9312/usr/local/include/X11R4 9313 9314/usr/X386/include 9315/usr/x386/include 9316/usr/XFree86/include/X11 9317 9318/usr/include 9319/usr/local/include 9320/usr/unsupported/include 9321/usr/athena/include 9322/usr/local/x11r5/include 9323/usr/lpp/Xamples/include 9324 9325/usr/openwin/include 9326/usr/openwin/share/include' 9327 9328if test "$ac_x_includes" = no; then 9329 # Guess where to find include files, by looking for Xlib.h. 9330 # First, try using that file with no special directory specified. 9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9332/* end confdefs.h. */ 9333@%:@include <X11/Xlib.h> 9334_ACEOF 9335if ac_fn_c_try_cpp "$LINENO"; then : 9336 # We can compile using X headers with no special include directory. 9337ac_x_includes= 9338else 9339 for ac_dir in $ac_x_header_dirs; do 9340 if test -r "$ac_dir/X11/Xlib.h"; then 9341 ac_x_includes=$ac_dir 9342 break 9343 fi 9344done 9345fi 9346rm -f conftest.err conftest.i conftest.$ac_ext 9347fi # $ac_x_includes = no 9348 9349if test "$ac_x_libraries" = no; then 9350 # Check for the libraries. 9351 # See if we find them without any special options. 9352 # Don't add to $LIBS permanently. 9353 ac_save_LIBS=$LIBS 9354 LIBS="-lX11 $LIBS" 9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9356/* end confdefs.h. */ 9357@%:@include <X11/Xlib.h> 9358int 9359main () 9360{ 9361XrmInitialize () 9362 ; 9363 return 0; 9364} 9365_ACEOF 9366if ac_fn_c_try_link "$LINENO"; then : 9367 LIBS=$ac_save_LIBS 9368# We can link X programs with no special library path. 9369ac_x_libraries= 9370else 9371 LIBS=$ac_save_LIBS 9372for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9373do 9374 # Don't even attempt the hair of trying to link an X program! 9375 for ac_extension in a so sl dylib la dll; do 9376 if test -r "$ac_dir/libX11.$ac_extension"; then 9377 ac_x_libraries=$ac_dir 9378 break 2 9379 fi 9380 done 9381done 9382fi 9383rm -f core conftest.err conftest.$ac_objext \ 9384 conftest$ac_exeext conftest.$ac_ext 9385fi # $ac_x_libraries = no 9386 9387case $ac_x_includes,$ac_x_libraries in #( 9388 no,* | *,no | *\'*) 9389 # Didn't find X, or a directory has "'" in its name. 9390 ac_cv_have_x="have_x=no";; #( 9391 *) 9392 # Record where we found X for the cache. 9393 ac_cv_have_x="have_x=yes\ 9394 ac_x_includes='$ac_x_includes'\ 9395 ac_x_libraries='$ac_x_libraries'" 9396esac 9397fi 9398;; #( 9399 *) have_x=yes;; 9400 esac 9401 eval "$ac_cv_have_x" 9402fi # $with_x != no 9403 9404if test "$have_x" != yes; then 9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 9406$as_echo "$have_x" >&6; } 9407 no_x=yes 9408else 9409 # If each of the values was on the command line, it overrides each guess. 9410 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9411 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9412 # Update the cache value to reflect the command line values. 9413 ac_cv_have_x="have_x=yes\ 9414 ac_x_includes='$x_includes'\ 9415 ac_x_libraries='$x_libraries'" 9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 9417$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 9418fi 9419 9420 9421# ------------------------------------------------------------------------------- 9422# Checks for library functions. 9423# ------------------------------------------------------------------------------- 9424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 9425$as_echo_n "checking return type of signal handlers... " >&6; } 9426if ${ac_cv_type_signal+:} false; then : 9427 $as_echo_n "(cached) " >&6 9428else 9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9430/* end confdefs.h. */ 9431#include <sys/types.h> 9432#include <signal.h> 9433 9434int 9435main () 9436{ 9437return *(signal (0, 0)) (0) == 1; 9438 ; 9439 return 0; 9440} 9441_ACEOF 9442if ac_fn_c_try_compile "$LINENO"; then : 9443 ac_cv_type_signal=int 9444else 9445 ac_cv_type_signal=void 9446fi 9447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9448fi 9449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 9450$as_echo "$ac_cv_type_signal" >&6; } 9451 9452cat >>confdefs.h <<_ACEOF 9453@%:@define RETSIGTYPE $ac_cv_type_signal 9454_ACEOF 9455 9456 9457 9458ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile data/Makefile" 9459 9460 9461ac_config_files="$ac_config_files po/Makefile.in" 9462 9463cat >confcache <<\_ACEOF 9464# This file is a shell script that caches the results of configure 9465# tests run on this system so they can be shared between configure 9466# scripts and configure runs, see configure's option --config-cache. 9467# It is not useful on other systems. If it contains results you don't 9468# want to keep, you may remove or edit it. 9469# 9470# config.status only pays attention to the cache file if you give it 9471# the --recheck option to rerun configure. 9472# 9473# `ac_cv_env_foo' variables (set or unset) will be overridden when 9474# loading this file, other *unset* `ac_cv_foo' will be assigned the 9475# following values. 9476 9477_ACEOF 9478 9479# The following way of writing the cache mishandles newlines in values, 9480# but we know of no workaround that is simple, portable, and efficient. 9481# So, we kill variables containing newlines. 9482# Ultrix sh set writes to stderr and can't be redirected directly, 9483# and sets the high bit in the cache file unless we assign to the vars. 9484( 9485 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9486 eval ac_val=\$$ac_var 9487 case $ac_val in #( 9488 *${as_nl}*) 9489 case $ac_var in #( 9490 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9491$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9492 esac 9493 case $ac_var in #( 9494 _ | IFS | as_nl) ;; #( 9495 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9496 *) { eval $ac_var=; unset $ac_var;} ;; 9497 esac ;; 9498 esac 9499 done 9500 9501 (set) 2>&1 | 9502 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9503 *${as_nl}ac_space=\ *) 9504 # `set' does not quote correctly, so add quotes: double-quote 9505 # substitution turns \\\\ into \\, and sed turns \\ into \. 9506 sed -n \ 9507 "s/'/'\\\\''/g; 9508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9509 ;; #( 9510 *) 9511 # `set' quotes correctly as required by POSIX, so do not add quotes. 9512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9513 ;; 9514 esac | 9515 sort 9516) | 9517 sed ' 9518 /^ac_cv_env_/b end 9519 t clear 9520 :clear 9521 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9522 t end 9523 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9524 :end' >>confcache 9525if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9526 if test -w "$cache_file"; then 9527 if test "x$cache_file" != "x/dev/null"; then 9528 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9529$as_echo "$as_me: updating cache $cache_file" >&6;} 9530 if test ! -f "$cache_file" || test -h "$cache_file"; then 9531 cat confcache >"$cache_file" 9532 else 9533 case $cache_file in #( 9534 */* | ?:*) 9535 mv -f confcache "$cache_file"$$ && 9536 mv -f "$cache_file"$$ "$cache_file" ;; #( 9537 *) 9538 mv -f confcache "$cache_file" ;; 9539 esac 9540 fi 9541 fi 9542 else 9543 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9544$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9545 fi 9546fi 9547rm -f confcache 9548 9549test "x$prefix" = xNONE && prefix=$ac_default_prefix 9550# Let make expand exec_prefix. 9551test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9552 9553DEFS=-DHAVE_CONFIG_H 9554 9555ac_libobjs= 9556ac_ltlibobjs= 9557for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 9558 # 1. Remove the extension, and $U if already installed. 9559 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9560 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9561 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9562 # will be set to the directory where LIBOBJS objects are built. 9563 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9564 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9565done 9566LIB@&t@OBJS=$ac_libobjs 9567 9568LTLIBOBJS=$ac_ltlibobjs 9569 9570 9571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 9572$as_echo_n "checking that generated files are newer than configure... " >&6; } 9573 if test -n "$am_sleep_pid"; then 9574 # Hide warnings about reused PIDs. 9575 wait $am_sleep_pid 2>/dev/null 9576 fi 9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 9578$as_echo "done" >&6; } 9579 if test -n "$EXEEXT"; then 9580 am__EXEEXT_TRUE= 9581 am__EXEEXT_FALSE='#' 9582else 9583 am__EXEEXT_TRUE='#' 9584 am__EXEEXT_FALSE= 9585fi 9586 9587if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 9588 as_fn_error $? "conditional \"AMDEP\" was never defined. 9589Usually this means the macro was only invoked conditionally." "$LINENO" 5 9590fi 9591if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9592 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 9593Usually this means the macro was only invoked conditionally." "$LINENO" 5 9594fi 9595 9596 ac_config_commands="$ac_config_commands po/stamp-it" 9597 9598 9599if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9600 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 9601Usually this means the macro was only invoked conditionally." "$LINENO" 5 9602fi 9603if test -z "${HAVE_APPINDICATOR_TRUE}" && test -z "${HAVE_APPINDICATOR_FALSE}"; then 9604 as_fn_error $? "conditional \"HAVE_APPINDICATOR\" was never defined. 9605Usually this means the macro was only invoked conditionally." "$LINENO" 5 9606fi 9607 9608: "${CONFIG_STATUS=./config.status}" 9609ac_write_fail=0 9610ac_clean_files_save=$ac_clean_files 9611ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9612{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9613$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9614as_write_fail=0 9615cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9616#! $SHELL 9617# Generated by $as_me. 9618# Run this file to recreate the current configuration. 9619# Compiler output produced by configure, useful for debugging 9620# configure, is in config.log if it exists. 9621 9622debug=false 9623ac_cs_recheck=false 9624ac_cs_silent=false 9625 9626SHELL=\${CONFIG_SHELL-$SHELL} 9627export SHELL 9628_ASEOF 9629cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9630## -------------------- ## 9631## M4sh Initialization. ## 9632## -------------------- ## 9633 9634# Be more Bourne compatible 9635DUALCASE=1; export DUALCASE # for MKS sh 9636if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 9637 emulate sh 9638 NULLCMD=: 9639 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9640 # is contrary to our usage. Disable this feature. 9641 alias -g '${1+"$@"}'='"$@"' 9642 setopt NO_GLOB_SUBST 9643else 9644 case `(set -o) 2>/dev/null` in @%:@( 9645 *posix*) : 9646 set -o posix ;; @%:@( 9647 *) : 9648 ;; 9649esac 9650fi 9651 9652 9653as_nl=' 9654' 9655export as_nl 9656# Printing a long string crashes Solaris 7 /usr/bin/printf. 9657as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9658as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9659as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9660# Prefer a ksh shell builtin over an external printf program on Solaris, 9661# but without wasting forks for bash or zsh. 9662if test -z "$BASH_VERSION$ZSH_VERSION" \ 9663 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9664 as_echo='print -r --' 9665 as_echo_n='print -rn --' 9666elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9667 as_echo='printf %s\n' 9668 as_echo_n='printf %s' 9669else 9670 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9671 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9672 as_echo_n='/usr/ucb/echo -n' 9673 else 9674 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9675 as_echo_n_body='eval 9676 arg=$1; 9677 case $arg in @%:@( 9678 *"$as_nl"*) 9679 expr "X$arg" : "X\\(.*\\)$as_nl"; 9680 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9681 esac; 9682 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9683 ' 9684 export as_echo_n_body 9685 as_echo_n='sh -c $as_echo_n_body as_echo' 9686 fi 9687 export as_echo_body 9688 as_echo='sh -c $as_echo_body as_echo' 9689fi 9690 9691# The user is always right. 9692if test "${PATH_SEPARATOR+set}" != set; then 9693 PATH_SEPARATOR=: 9694 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9695 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9696 PATH_SEPARATOR=';' 9697 } 9698fi 9699 9700 9701# IFS 9702# We need space, tab and new line, in precisely that order. Quoting is 9703# there to prevent editors from complaining about space-tab. 9704# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9705# splitting by setting IFS to empty value.) 9706IFS=" "" $as_nl" 9707 9708# Find who we are. Look in the path if we contain no directory separator. 9709as_myself= 9710case $0 in @%:@(( 9711 *[\\/]* ) as_myself=$0 ;; 9712 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9713for as_dir in $PATH 9714do 9715 IFS=$as_save_IFS 9716 test -z "$as_dir" && as_dir=. 9717 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9718 done 9719IFS=$as_save_IFS 9720 9721 ;; 9722esac 9723# We did not find ourselves, most probably we were run as `sh COMMAND' 9724# in which case we are not to be found in the path. 9725if test "x$as_myself" = x; then 9726 as_myself=$0 9727fi 9728if test ! -f "$as_myself"; then 9729 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9730 exit 1 9731fi 9732 9733# Unset variables that we do not need and which cause bugs (e.g. in 9734# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9735# suppresses any "Segmentation fault" message there. '((' could 9736# trigger a bug in pdksh 5.2.14. 9737for as_var in BASH_ENV ENV MAIL MAILPATH 9738do eval test x\${$as_var+set} = xset \ 9739 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9740done 9741PS1='$ ' 9742PS2='> ' 9743PS4='+ ' 9744 9745# NLS nuisances. 9746LC_ALL=C 9747export LC_ALL 9748LANGUAGE=C 9749export LANGUAGE 9750 9751# CDPATH. 9752(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9753 9754 9755@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 9756@%:@ ---------------------------------------- 9757@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9758@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9759@%:@ script with STATUS, using 1 if that was 0. 9760as_fn_error () 9761{ 9762 as_status=$1; test $as_status -eq 0 && as_status=1 9763 if test "$4"; then 9764 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9765 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9766 fi 9767 $as_echo "$as_me: error: $2" >&2 9768 as_fn_exit $as_status 9769} @%:@ as_fn_error 9770 9771 9772@%:@ as_fn_set_status STATUS 9773@%:@ ----------------------- 9774@%:@ Set @S|@? to STATUS, without forking. 9775as_fn_set_status () 9776{ 9777 return $1 9778} @%:@ as_fn_set_status 9779 9780@%:@ as_fn_exit STATUS 9781@%:@ ----------------- 9782@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9783as_fn_exit () 9784{ 9785 set +e 9786 as_fn_set_status $1 9787 exit $1 9788} @%:@ as_fn_exit 9789 9790@%:@ as_fn_unset VAR 9791@%:@ --------------- 9792@%:@ Portably unset VAR. 9793as_fn_unset () 9794{ 9795 { eval $1=; unset $1;} 9796} 9797as_unset=as_fn_unset 9798@%:@ as_fn_append VAR VALUE 9799@%:@ ---------------------- 9800@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 9801@%:@ advantage of any shell optimizations that allow amortized linear growth over 9802@%:@ repeated appends, instead of the typical quadratic growth present in naive 9803@%:@ implementations. 9804if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9805 eval 'as_fn_append () 9806 { 9807 eval $1+=\$2 9808 }' 9809else 9810 as_fn_append () 9811 { 9812 eval $1=\$$1\$2 9813 } 9814fi # as_fn_append 9815 9816@%:@ as_fn_arith ARG... 9817@%:@ ------------------ 9818@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 9819@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 9820@%:@ must be portable across @S|@(()) and expr. 9821if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9822 eval 'as_fn_arith () 9823 { 9824 as_val=$(( $* )) 9825 }' 9826else 9827 as_fn_arith () 9828 { 9829 as_val=`expr "$@" || test $? -eq 1` 9830 } 9831fi # as_fn_arith 9832 9833 9834if expr a : '\(a\)' >/dev/null 2>&1 && 9835 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9836 as_expr=expr 9837else 9838 as_expr=false 9839fi 9840 9841if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9842 as_basename=basename 9843else 9844 as_basename=false 9845fi 9846 9847if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9848 as_dirname=dirname 9849else 9850 as_dirname=false 9851fi 9852 9853as_me=`$as_basename -- "$0" || 9854$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9855 X"$0" : 'X\(//\)$' \| \ 9856 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9857$as_echo X/"$0" | 9858 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9859 s//\1/ 9860 q 9861 } 9862 /^X\/\(\/\/\)$/{ 9863 s//\1/ 9864 q 9865 } 9866 /^X\/\(\/\).*/{ 9867 s//\1/ 9868 q 9869 } 9870 s/.*/./; q'` 9871 9872# Avoid depending upon Character Ranges. 9873as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9874as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9875as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9876as_cr_digits='0123456789' 9877as_cr_alnum=$as_cr_Letters$as_cr_digits 9878 9879ECHO_C= ECHO_N= ECHO_T= 9880case `echo -n x` in @%:@((((( 9881-n*) 9882 case `echo 'xy\c'` in 9883 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9884 xy) ECHO_C='\c';; 9885 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9886 ECHO_T=' ';; 9887 esac;; 9888*) 9889 ECHO_N='-n';; 9890esac 9891 9892rm -f conf$$ conf$$.exe conf$$.file 9893if test -d conf$$.dir; then 9894 rm -f conf$$.dir/conf$$.file 9895else 9896 rm -f conf$$.dir 9897 mkdir conf$$.dir 2>/dev/null 9898fi 9899if (echo >conf$$.file) 2>/dev/null; then 9900 if ln -s conf$$.file conf$$ 2>/dev/null; then 9901 as_ln_s='ln -s' 9902 # ... but there are two gotchas: 9903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9905 # In both cases, we have to default to `cp -pR'. 9906 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9907 as_ln_s='cp -pR' 9908 elif ln conf$$.file conf$$ 2>/dev/null; then 9909 as_ln_s=ln 9910 else 9911 as_ln_s='cp -pR' 9912 fi 9913else 9914 as_ln_s='cp -pR' 9915fi 9916rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9917rmdir conf$$.dir 2>/dev/null 9918 9919 9920@%:@ as_fn_mkdir_p 9921@%:@ ------------- 9922@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 9923as_fn_mkdir_p () 9924{ 9925 9926 case $as_dir in #( 9927 -*) as_dir=./$as_dir;; 9928 esac 9929 test -d "$as_dir" || eval $as_mkdir_p || { 9930 as_dirs= 9931 while :; do 9932 case $as_dir in #( 9933 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9934 *) as_qdir=$as_dir;; 9935 esac 9936 as_dirs="'$as_qdir' $as_dirs" 9937 as_dir=`$as_dirname -- "$as_dir" || 9938$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9939 X"$as_dir" : 'X\(//\)[^/]' \| \ 9940 X"$as_dir" : 'X\(//\)$' \| \ 9941 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9942$as_echo X"$as_dir" | 9943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9944 s//\1/ 9945 q 9946 } 9947 /^X\(\/\/\)[^/].*/{ 9948 s//\1/ 9949 q 9950 } 9951 /^X\(\/\/\)$/{ 9952 s//\1/ 9953 q 9954 } 9955 /^X\(\/\).*/{ 9956 s//\1/ 9957 q 9958 } 9959 s/.*/./; q'` 9960 test -d "$as_dir" && break 9961 done 9962 test -z "$as_dirs" || eval "mkdir $as_dirs" 9963 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 9964 9965 9966} @%:@ as_fn_mkdir_p 9967if mkdir -p . 2>/dev/null; then 9968 as_mkdir_p='mkdir -p "$as_dir"' 9969else 9970 test -d ./-p && rmdir ./-p 9971 as_mkdir_p=false 9972fi 9973 9974 9975@%:@ as_fn_executable_p FILE 9976@%:@ ----------------------- 9977@%:@ Test if FILE is an executable regular file. 9978as_fn_executable_p () 9979{ 9980 test -f "$1" && test -x "$1" 9981} @%:@ as_fn_executable_p 9982as_test_x='test -x' 9983as_executable_p=as_fn_executable_p 9984 9985# Sed expression to map a string onto a valid CPP name. 9986as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9987 9988# Sed expression to map a string onto a valid variable name. 9989as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9990 9991 9992exec 6>&1 9993## ----------------------------------- ## 9994## Main body of $CONFIG_STATUS script. ## 9995## ----------------------------------- ## 9996_ASEOF 9997test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9998 9999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10000# Save the log message, to keep $0 and so on meaningful, and to 10001# report actual input values of CONFIG_FILES etc. instead of their 10002# values after options handling. 10003ac_log=" 10004This file was extended by parcellite $as_me 1.2.1, which was 10005generated by GNU Autoconf 2.69. Invocation command line was 10006 10007 CONFIG_FILES = $CONFIG_FILES 10008 CONFIG_HEADERS = $CONFIG_HEADERS 10009 CONFIG_LINKS = $CONFIG_LINKS 10010 CONFIG_COMMANDS = $CONFIG_COMMANDS 10011 $ $0 $@ 10012 10013on `(hostname || uname -n) 2>/dev/null | sed 1q` 10014" 10015 10016_ACEOF 10017 10018case $ac_config_files in *" 10019"*) set x $ac_config_files; shift; ac_config_files=$*;; 10020esac 10021 10022case $ac_config_headers in *" 10023"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10024esac 10025 10026 10027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10028# Files that config.status was made for. 10029config_files="$ac_config_files" 10030config_headers="$ac_config_headers" 10031config_commands="$ac_config_commands" 10032 10033_ACEOF 10034 10035cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10036ac_cs_usage="\ 10037\`$as_me' instantiates files and other configuration actions 10038from templates according to the current configuration. Unless the files 10039and actions are specified as TAGs, all are instantiated by default. 10040 10041Usage: $0 [OPTION]... [TAG]... 10042 10043 -h, --help print this help, then exit 10044 -V, --version print version number and configuration settings, then exit 10045 --config print configuration, then exit 10046 -q, --quiet, --silent 10047 do not print progress messages 10048 -d, --debug don't remove temporary files 10049 --recheck update $as_me by reconfiguring in the same conditions 10050 --file=FILE[:TEMPLATE] 10051 instantiate the configuration file FILE 10052 --header=FILE[:TEMPLATE] 10053 instantiate the configuration header FILE 10054 10055Configuration files: 10056$config_files 10057 10058Configuration headers: 10059$config_headers 10060 10061Configuration commands: 10062$config_commands 10063 10064Report bugs to <gpib@rickyrockrat.net>." 10065 10066_ACEOF 10067cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10068ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 10069ac_cs_version="\\ 10070parcellite config.status 1.2.1 10071configured by $0, generated by GNU Autoconf 2.69, 10072 with options \\"\$ac_cs_config\\" 10073 10074Copyright (C) 2012 Free Software Foundation, Inc. 10075This config.status script is free software; the Free Software Foundation 10076gives unlimited permission to copy, distribute and modify it." 10077 10078ac_pwd='$ac_pwd' 10079srcdir='$srcdir' 10080INSTALL='$INSTALL' 10081MKDIR_P='$MKDIR_P' 10082AWK='$AWK' 10083test -n "\$AWK" || AWK=awk 10084_ACEOF 10085 10086cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10087# The default lists apply if the user does not specify any file. 10088ac_need_defaults=: 10089while test $# != 0 10090do 10091 case $1 in 10092 --*=?*) 10093 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10094 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10095 ac_shift=: 10096 ;; 10097 --*=) 10098 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10099 ac_optarg= 10100 ac_shift=: 10101 ;; 10102 *) 10103 ac_option=$1 10104 ac_optarg=$2 10105 ac_shift=shift 10106 ;; 10107 esac 10108 10109 case $ac_option in 10110 # Handling of the options. 10111 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 10112 ac_cs_recheck=: ;; 10113 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10114 $as_echo "$ac_cs_version"; exit ;; 10115 --config | --confi | --conf | --con | --co | --c ) 10116 $as_echo "$ac_cs_config"; exit ;; 10117 --debug | --debu | --deb | --de | --d | -d ) 10118 debug=: ;; 10119 --file | --fil | --fi | --f ) 10120 $ac_shift 10121 case $ac_optarg in 10122 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10123 '') as_fn_error $? "missing file argument" ;; 10124 esac 10125 as_fn_append CONFIG_FILES " '$ac_optarg'" 10126 ac_need_defaults=false;; 10127 --header | --heade | --head | --hea ) 10128 $ac_shift 10129 case $ac_optarg in 10130 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10131 esac 10132 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10133 ac_need_defaults=false;; 10134 --he | --h) 10135 # Conflict between --help and --header 10136 as_fn_error $? "ambiguous option: \`$1' 10137Try \`$0 --help' for more information.";; 10138 --help | --hel | -h ) 10139 $as_echo "$ac_cs_usage"; exit ;; 10140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10141 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10142 ac_cs_silent=: ;; 10143 10144 # This is an error. 10145 -*) as_fn_error $? "unrecognized option: \`$1' 10146Try \`$0 --help' for more information." ;; 10147 10148 *) as_fn_append ac_config_targets " $1" 10149 ac_need_defaults=false ;; 10150 10151 esac 10152 shift 10153done 10154 10155ac_configure_extra_args= 10156 10157if $ac_cs_silent; then 10158 exec 6>/dev/null 10159 ac_configure_extra_args="$ac_configure_extra_args --silent" 10160fi 10161 10162_ACEOF 10163cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10164if \$ac_cs_recheck; then 10165 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10166 shift 10167 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10168 CONFIG_SHELL='$SHELL' 10169 export CONFIG_SHELL 10170 exec "\$@" 10171fi 10172 10173_ACEOF 10174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10175exec 5>>config.log 10176{ 10177 echo 10178 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 10179@%:@@%:@ Running $as_me. @%:@@%:@ 10180_ASBOX 10181 $as_echo "$ac_log" 10182} >&5 10183 10184_ACEOF 10185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10186# 10187# INIT-COMMANDS 10188# 10189AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 10190 10191# Capture the value of obsolete ALL_LINGUAS because we need it to compute 10192 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 10193 # from automake < 1.5. 10194 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 10195 # Capture the value of LINGUAS because we need it to compute CATALOGS. 10196 LINGUAS="${LINGUAS-%UNSET%}" 10197 10198 10199_ACEOF 10200 10201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10202 10203# Handling of arguments. 10204for ac_config_target in $ac_config_targets 10205do 10206 case $ac_config_target in 10207 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 10208 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10209 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 10210 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 10211 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10212 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10213 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10214 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 10215 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 10216 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 10217 10218 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 10219 esac 10220done 10221 10222 10223# If the user did not use the arguments to specify the items to instantiate, 10224# then the envvar interface is used. Set only those that are not. 10225# We use the long form for the default assignment because of an extremely 10226# bizarre bug on SunOS 4.1.3. 10227if $ac_need_defaults; then 10228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10229 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10230 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 10231fi 10232 10233# Have a temporary directory for convenience. Make it in the build tree 10234# simply because there is no reason against having it here, and in addition, 10235# creating and moving files from /tmp can sometimes cause problems. 10236# Hook for its removal unless debugging. 10237# Note that there is a small window in which the directory will not be cleaned: 10238# after its creation but before its name has been assigned to `$tmp'. 10239$debug || 10240{ 10241 tmp= ac_tmp= 10242 trap 'exit_status=$? 10243 : "${ac_tmp:=$tmp}" 10244 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 10245' 0 10246 trap 'as_fn_exit 1' 1 2 13 15 10247} 10248# Create a (secure) tmp directory for tmp files. 10249 10250{ 10251 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10252 test -d "$tmp" 10253} || 10254{ 10255 tmp=./conf$$-$RANDOM 10256 (umask 077 && mkdir "$tmp") 10257} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10258ac_tmp=$tmp 10259 10260# Set up the scripts for CONFIG_FILES section. 10261# No need to generate them if there are no CONFIG_FILES. 10262# This happens for instance with `./config.status config.h'. 10263if test -n "$CONFIG_FILES"; then 10264 10265 10266ac_cr=`echo X | tr X '\015'` 10267# On cygwin, bash can eat \r inside `` if the user requested igncr. 10268# But we know of no other shell where ac_cr would be empty at this 10269# point, so we can use a bashism as a fallback. 10270if test "x$ac_cr" = x; then 10271 eval ac_cr=\$\'\\r\' 10272fi 10273ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10274if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10275 ac_cs_awk_cr='\\r' 10276else 10277 ac_cs_awk_cr=$ac_cr 10278fi 10279 10280echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10281_ACEOF 10282 10283 10284{ 10285 echo "cat >conf$$subs.awk <<_ACEOF" && 10286 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10287 echo "_ACEOF" 10288} >conf$$subs.sh || 10289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10290ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 10291ac_delim='%!_!# ' 10292for ac_last_try in false false false false false :; do 10293 . ./conf$$subs.sh || 10294 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10295 10296 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10297 if test $ac_delim_n = $ac_delim_num; then 10298 break 10299 elif $ac_last_try; then 10300 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10301 else 10302 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10303 fi 10304done 10305rm -f conf$$subs.sh 10306 10307cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10308cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10309_ACEOF 10310sed -n ' 10311h 10312s/^/S["/; s/!.*/"]=/ 10313p 10314g 10315s/^[^!]*!// 10316:repl 10317t repl 10318s/'"$ac_delim"'$// 10319t delim 10320:nl 10321h 10322s/\(.\{148\}\)..*/\1/ 10323t more1 10324s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10325p 10326n 10327b repl 10328:more1 10329s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10330p 10331g 10332s/.\{148\}// 10333t nl 10334:delim 10335h 10336s/\(.\{148\}\)..*/\1/ 10337t more2 10338s/["\\]/\\&/g; s/^/"/; s/$/"/ 10339p 10340b 10341:more2 10342s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10343p 10344g 10345s/.\{148\}// 10346t delim 10347' <conf$$subs.awk | sed ' 10348/^[^""]/{ 10349 N 10350 s/\n// 10351} 10352' >>$CONFIG_STATUS || ac_write_fail=1 10353rm -f conf$$subs.awk 10354cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10355_ACAWK 10356cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10357 for (key in S) S_is_set[key] = 1 10358 FS = "" 10359 10360} 10361{ 10362 line = $ 0 10363 nfields = split(line, field, "@") 10364 substed = 0 10365 len = length(field[1]) 10366 for (i = 2; i < nfields; i++) { 10367 key = field[i] 10368 keylen = length(key) 10369 if (S_is_set[key]) { 10370 value = S[key] 10371 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10372 len += length(value) + length(field[++i]) 10373 substed = 1 10374 } else 10375 len += 1 + keylen 10376 } 10377 10378 print line 10379} 10380 10381_ACAWK 10382_ACEOF 10383cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10384if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10385 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10386else 10387 cat 10388fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10389 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10390_ACEOF 10391 10392# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10393# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10394# trailing colons and then remove the whole line if VPATH becomes empty 10395# (actually we leave an empty line to preserve line numbers). 10396if test "x$srcdir" = x.; then 10397 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10398h 10399s/// 10400s/^/:/ 10401s/[ ]*$/:/ 10402s/:\$(srcdir):/:/g 10403s/:\${srcdir}:/:/g 10404s/:@srcdir@:/:/g 10405s/^:*// 10406s/:*$// 10407x 10408s/\(=[ ]*\).*/\1/ 10409G 10410s/\n// 10411s/^[^=]*=[ ]*$// 10412}' 10413fi 10414 10415cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10416fi # test -n "$CONFIG_FILES" 10417 10418# Set up the scripts for CONFIG_HEADERS section. 10419# No need to generate them if there are no CONFIG_HEADERS. 10420# This happens for instance with `./config.status Makefile'. 10421if test -n "$CONFIG_HEADERS"; then 10422cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10423BEGIN { 10424_ACEOF 10425 10426# Transform confdefs.h into an awk script `defines.awk', embedded as 10427# here-document in config.status, that substitutes the proper values into 10428# config.h.in to produce config.h. 10429 10430# Create a delimiter string that does not exist in confdefs.h, to ease 10431# handling of long lines. 10432ac_delim='%!_!# ' 10433for ac_last_try in false false :; do 10434 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10435 if test -z "$ac_tt"; then 10436 break 10437 elif $ac_last_try; then 10438 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10439 else 10440 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10441 fi 10442done 10443 10444# For the awk script, D is an array of macro values keyed by name, 10445# likewise P contains macro parameters if any. Preserve backslash 10446# newline sequences. 10447 10448ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10449sed -n ' 10450s/.\{148\}/&'"$ac_delim"'/g 10451t rset 10452:rset 10453s/^[ ]*#[ ]*define[ ][ ]*/ / 10454t def 10455d 10456:def 10457s/\\$// 10458t bsnl 10459s/["\\]/\\&/g 10460s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10461D["\1"]=" \3"/p 10462s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10463d 10464:bsnl 10465s/["\\]/\\&/g 10466s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10467D["\1"]=" \3\\\\\\n"\\/p 10468t cont 10469s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10470t cont 10471d 10472:cont 10473n 10474s/.\{148\}/&'"$ac_delim"'/g 10475t clear 10476:clear 10477s/\\$// 10478t bsnlc 10479s/["\\]/\\&/g; s/^/"/; s/$/"/p 10480d 10481:bsnlc 10482s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10483b cont 10484' <confdefs.h | sed ' 10485s/'"$ac_delim"'/"\\\ 10486"/g' >>$CONFIG_STATUS || ac_write_fail=1 10487 10488cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10489 for (key in D) D_is_set[key] = 1 10490 FS = "" 10491} 10492/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10493 line = \$ 0 10494 split(line, arg, " ") 10495 if (arg[1] == "#") { 10496 defundef = arg[2] 10497 mac1 = arg[3] 10498 } else { 10499 defundef = substr(arg[1], 2) 10500 mac1 = arg[2] 10501 } 10502 split(mac1, mac2, "(") #) 10503 macro = mac2[1] 10504 prefix = substr(line, 1, index(line, defundef) - 1) 10505 if (D_is_set[macro]) { 10506 # Preserve the white space surrounding the "#". 10507 print prefix "define", macro P[macro] D[macro] 10508 next 10509 } else { 10510 # Replace #undef with comments. This is necessary, for example, 10511 # in the case of _POSIX_SOURCE, which is predefined and required 10512 # on some systems where configure will not decide to define it. 10513 if (defundef == "undef") { 10514 print "/*", prefix defundef, macro, "*/" 10515 next 10516 } 10517 } 10518} 10519{ print } 10520_ACAWK 10521_ACEOF 10522cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10523 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10524fi # test -n "$CONFIG_HEADERS" 10525 10526 10527eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 10528shift 10529for ac_tag 10530do 10531 case $ac_tag in 10532 :[FHLC]) ac_mode=$ac_tag; continue;; 10533 esac 10534 case $ac_mode$ac_tag in 10535 :[FHL]*:*);; 10536 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 10537 :[FH]-) ac_tag=-:-;; 10538 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10539 esac 10540 ac_save_IFS=$IFS 10541 IFS=: 10542 set x $ac_tag 10543 IFS=$ac_save_IFS 10544 shift 10545 ac_file=$1 10546 shift 10547 10548 case $ac_mode in 10549 :L) ac_source=$1;; 10550 :[FH]) 10551 ac_file_inputs= 10552 for ac_f 10553 do 10554 case $ac_f in 10555 -) ac_f="$ac_tmp/stdin";; 10556 *) # Look for the file first in the build tree, then in the source tree 10557 # (if the path is not absolute). The absolute path cannot be DOS-style, 10558 # because $ac_f cannot contain `:'. 10559 test -f "$ac_f" || 10560 case $ac_f in 10561 [\\/$]*) false;; 10562 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10563 esac || 10564 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10565 esac 10566 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10567 as_fn_append ac_file_inputs " '$ac_f'" 10568 done 10569 10570 # Let's still pretend it is `configure' which instantiates (i.e., don't 10571 # use $as_me), people would be surprised to read: 10572 # /* config.h. Generated by config.status. */ 10573 configure_input='Generated from '` 10574 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10575 `' by configure.' 10576 if test x"$ac_file" != x-; then 10577 configure_input="$ac_file. $configure_input" 10578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10579$as_echo "$as_me: creating $ac_file" >&6;} 10580 fi 10581 # Neutralize special characters interpreted by sed in replacement strings. 10582 case $configure_input in #( 10583 *\&* | *\|* | *\\* ) 10584 ac_sed_conf_input=`$as_echo "$configure_input" | 10585 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10586 *) ac_sed_conf_input=$configure_input;; 10587 esac 10588 10589 case $ac_tag in 10590 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10592 esac 10593 ;; 10594 esac 10595 10596 ac_dir=`$as_dirname -- "$ac_file" || 10597$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10598 X"$ac_file" : 'X\(//\)[^/]' \| \ 10599 X"$ac_file" : 'X\(//\)$' \| \ 10600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10601$as_echo X"$ac_file" | 10602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10603 s//\1/ 10604 q 10605 } 10606 /^X\(\/\/\)[^/].*/{ 10607 s//\1/ 10608 q 10609 } 10610 /^X\(\/\/\)$/{ 10611 s//\1/ 10612 q 10613 } 10614 /^X\(\/\).*/{ 10615 s//\1/ 10616 q 10617 } 10618 s/.*/./; q'` 10619 as_dir="$ac_dir"; as_fn_mkdir_p 10620 ac_builddir=. 10621 10622case "$ac_dir" in 10623.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10624*) 10625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10626 # A ".." for each directory in $ac_dir_suffix. 10627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10628 case $ac_top_builddir_sub in 10629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10631 esac ;; 10632esac 10633ac_abs_top_builddir=$ac_pwd 10634ac_abs_builddir=$ac_pwd$ac_dir_suffix 10635# for backward compatibility: 10636ac_top_builddir=$ac_top_build_prefix 10637 10638case $srcdir in 10639 .) # We are building in place. 10640 ac_srcdir=. 10641 ac_top_srcdir=$ac_top_builddir_sub 10642 ac_abs_top_srcdir=$ac_pwd ;; 10643 [\\/]* | ?:[\\/]* ) # Absolute name. 10644 ac_srcdir=$srcdir$ac_dir_suffix; 10645 ac_top_srcdir=$srcdir 10646 ac_abs_top_srcdir=$srcdir ;; 10647 *) # Relative name. 10648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10649 ac_top_srcdir=$ac_top_build_prefix$srcdir 10650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10651esac 10652ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10653 10654 10655 case $ac_mode in 10656 :F) 10657 # 10658 # CONFIG_FILE 10659 # 10660 10661 case $INSTALL in 10662 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10663 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10664 esac 10665 ac_MKDIR_P=$MKDIR_P 10666 case $MKDIR_P in 10667 [\\/$]* | ?:[\\/]* ) ;; 10668 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 10669 esac 10670_ACEOF 10671 10672cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10673# If the template does not know about datarootdir, expand it. 10674# FIXME: This hack should be removed a few years after 2.60. 10675ac_datarootdir_hack=; ac_datarootdir_seen= 10676ac_sed_dataroot=' 10677/datarootdir/ { 10678 p 10679 q 10680} 10681/@datadir@/p 10682/@docdir@/p 10683/@infodir@/p 10684/@localedir@/p 10685/@mandir@/p' 10686case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10687*datarootdir*) ac_datarootdir_seen=yes;; 10688*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10690$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10691_ACEOF 10692cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10693 ac_datarootdir_hack=' 10694 s&@datadir@&$datadir&g 10695 s&@docdir@&$docdir&g 10696 s&@infodir@&$infodir&g 10697 s&@localedir@&$localedir&g 10698 s&@mandir@&$mandir&g 10699 s&\\\${datarootdir}&$datarootdir&g' ;; 10700esac 10701_ACEOF 10702 10703# Neutralize VPATH when `$srcdir' = `.'. 10704# Shell code in configure.ac might set extrasub. 10705# FIXME: do we really want to maintain this feature? 10706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10707ac_sed_extra="$ac_vpsub 10708$extrasub 10709_ACEOF 10710cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10711:t 10712/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10713s|@configure_input@|$ac_sed_conf_input|;t t 10714s&@top_builddir@&$ac_top_builddir_sub&;t t 10715s&@top_build_prefix@&$ac_top_build_prefix&;t t 10716s&@srcdir@&$ac_srcdir&;t t 10717s&@abs_srcdir@&$ac_abs_srcdir&;t t 10718s&@top_srcdir@&$ac_top_srcdir&;t t 10719s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10720s&@builddir@&$ac_builddir&;t t 10721s&@abs_builddir@&$ac_abs_builddir&;t t 10722s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10723s&@INSTALL@&$ac_INSTALL&;t t 10724s&@MKDIR_P@&$ac_MKDIR_P&;t t 10725$ac_datarootdir_hack 10726" 10727eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10728 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10729 10730test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10731 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10732 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10733 "$ac_tmp/out"`; test -z "$ac_out"; } && 10734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10735which seems to be undefined. Please make sure it is defined" >&5 10736$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10737which seems to be undefined. Please make sure it is defined" >&2;} 10738 10739 rm -f "$ac_tmp/stdin" 10740 case $ac_file in 10741 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10742 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 10743 esac \ 10744 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10745 ;; 10746 :H) 10747 # 10748 # CONFIG_HEADER 10749 # 10750 if test x"$ac_file" != x-; then 10751 { 10752 $as_echo "/* $configure_input */" \ 10753 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10754 } >"$ac_tmp/config.h" \ 10755 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10756 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10757 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10758$as_echo "$as_me: $ac_file is unchanged" >&6;} 10759 else 10760 rm -f "$ac_file" 10761 mv "$ac_tmp/config.h" "$ac_file" \ 10762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10763 fi 10764 else 10765 $as_echo "/* $configure_input */" \ 10766 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10767 || as_fn_error $? "could not create -" "$LINENO" 5 10768 fi 10769# Compute "$ac_file"'s index in $config_headers. 10770_am_arg="$ac_file" 10771_am_stamp_count=1 10772for _am_header in $config_headers :; do 10773 case $_am_header in 10774 $_am_arg | $_am_arg:* ) 10775 break ;; 10776 * ) 10777 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 10778 esac 10779done 10780echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 10781$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10782 X"$_am_arg" : 'X\(//\)[^/]' \| \ 10783 X"$_am_arg" : 'X\(//\)$' \| \ 10784 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 10785$as_echo X"$_am_arg" | 10786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10787 s//\1/ 10788 q 10789 } 10790 /^X\(\/\/\)[^/].*/{ 10791 s//\1/ 10792 q 10793 } 10794 /^X\(\/\/\)$/{ 10795 s//\1/ 10796 q 10797 } 10798 /^X\(\/\).*/{ 10799 s//\1/ 10800 q 10801 } 10802 s/.*/./; q'`/stamp-h$_am_stamp_count 10803 ;; 10804 10805 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 10806$as_echo "$as_me: executing $ac_file commands" >&6;} 10807 ;; 10808 esac 10809 10810 10811 case $ac_file$ac_mode in 10812 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 10813 # Older Autoconf quotes --file arguments for eval, but not when files 10814 # are listed without --file. Let's play safe and only enable the eval 10815 # if we detect the quoting. 10816 case $CONFIG_FILES in 10817 *\'*) eval set x "$CONFIG_FILES" ;; 10818 *) set x $CONFIG_FILES ;; 10819 esac 10820 shift 10821 for mf 10822 do 10823 # Strip MF so we end up with the name of the file. 10824 mf=`echo "$mf" | sed -e 's/:.*$//'` 10825 # Check whether this is an Automake generated Makefile or not. 10826 # We used to match only the files named 'Makefile.in', but 10827 # some people rename them; so instead we look at the file content. 10828 # Grep'ing the first line is not enough: some people post-process 10829 # each Makefile.in and add a new line on top of each file to say so. 10830 # Grep'ing the whole file is not good either: AIX grep has a line 10831 # limit of 2048, but all sed's we know have understand at least 4000. 10832 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 10833 dirpart=`$as_dirname -- "$mf" || 10834$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10835 X"$mf" : 'X\(//\)[^/]' \| \ 10836 X"$mf" : 'X\(//\)$' \| \ 10837 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10838$as_echo X"$mf" | 10839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10840 s//\1/ 10841 q 10842 } 10843 /^X\(\/\/\)[^/].*/{ 10844 s//\1/ 10845 q 10846 } 10847 /^X\(\/\/\)$/{ 10848 s//\1/ 10849 q 10850 } 10851 /^X\(\/\).*/{ 10852 s//\1/ 10853 q 10854 } 10855 s/.*/./; q'` 10856 else 10857 continue 10858 fi 10859 # Extract the definition of DEPDIR, am__include, and am__quote 10860 # from the Makefile without running 'make'. 10861 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10862 test -z "$DEPDIR" && continue 10863 am__include=`sed -n 's/^am__include = //p' < "$mf"` 10864 test -z "$am__include" && continue 10865 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 10866 # Find all dependency output files, they are included files with 10867 # $(DEPDIR) in their names. We invoke sed twice because it is the 10868 # simplest approach to changing $(DEPDIR) to its actual value in the 10869 # expansion. 10870 for file in `sed -n " 10871 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10872 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 10873 # Make sure the directory exists. 10874 test -f "$dirpart/$file" && continue 10875 fdir=`$as_dirname -- "$file" || 10876$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10877 X"$file" : 'X\(//\)[^/]' \| \ 10878 X"$file" : 'X\(//\)$' \| \ 10879 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10880$as_echo X"$file" | 10881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10882 s//\1/ 10883 q 10884 } 10885 /^X\(\/\/\)[^/].*/{ 10886 s//\1/ 10887 q 10888 } 10889 /^X\(\/\/\)$/{ 10890 s//\1/ 10891 q 10892 } 10893 /^X\(\/\).*/{ 10894 s//\1/ 10895 q 10896 } 10897 s/.*/./; q'` 10898 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10899 # echo "creating $dirpart/$file" 10900 echo '# dummy' > "$dirpart/$file" 10901 done 10902 done 10903} 10904 ;; 10905 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 10906 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 10907 esac ;; 10908 "po-directories":C) 10909 for ac_file in $CONFIG_FILES; do 10910 # Support "outfile[:infile[:infile...]]" 10911 case "$ac_file" in 10912 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 10913 esac 10914 # PO directories have a Makefile.in generated from Makefile.in.in. 10915 case "$ac_file" in */Makefile.in) 10916 # Adjust a relative srcdir. 10917 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 10918 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 10919 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 10920 # In autoconf-2.13 it is called $ac_given_srcdir. 10921 # In autoconf-2.50 it is called $srcdir. 10922 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 10923 case "$ac_given_srcdir" in 10924 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 10925 /*) top_srcdir="$ac_given_srcdir" ;; 10926 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 10927 esac 10928 # Treat a directory as a PO directory if and only if it has a 10929 # POTFILES.in file. This allows packages to have multiple PO 10930 # directories under different names or in different locations. 10931 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 10932 rm -f "$ac_dir/POTFILES" 10933 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 10934 gt_tab=`printf '\t'` 10935 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 10936 POMAKEFILEDEPS="POTFILES.in" 10937 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 10938 # on $ac_dir but don't depend on user-specified configuration 10939 # parameters. 10940 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 10941 # The LINGUAS file contains the set of available languages. 10942 if test -n "$OBSOLETE_ALL_LINGUAS"; then 10943 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 10944 fi 10945 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 10946 # Hide the ALL_LINGUAS assignment from automake < 1.5. 10947 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 10948 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 10949 else 10950 # The set of available languages was given in configure.in. 10951 # Hide the ALL_LINGUAS assignment from automake < 1.5. 10952 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 10953 fi 10954 # Compute POFILES 10955 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 10956 # Compute UPDATEPOFILES 10957 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 10958 # Compute DUMMYPOFILES 10959 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 10960 # Compute GMOFILES 10961 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 10962 case "$ac_given_srcdir" in 10963 .) srcdirpre= ;; 10964 *) srcdirpre='$(srcdir)/' ;; 10965 esac 10966 POFILES= 10967 UPDATEPOFILES= 10968 DUMMYPOFILES= 10969 GMOFILES= 10970 for lang in $ALL_LINGUAS; do 10971 POFILES="$POFILES $srcdirpre$lang.po" 10972 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 10973 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 10974 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 10975 done 10976 # CATALOGS depends on both $ac_dir and the user's LINGUAS 10977 # environment variable. 10978 INST_LINGUAS= 10979 if test -n "$ALL_LINGUAS"; then 10980 for presentlang in $ALL_LINGUAS; do 10981 useit=no 10982 if test "%UNSET%" != "$LINGUAS"; then 10983 desiredlanguages="$LINGUAS" 10984 else 10985 desiredlanguages="$ALL_LINGUAS" 10986 fi 10987 for desiredlang in $desiredlanguages; do 10988 # Use the presentlang catalog if desiredlang is 10989 # a. equal to presentlang, or 10990 # b. a variant of presentlang (because in this case, 10991 # presentlang can be used as a fallback for messages 10992 # which are not translated in the desiredlang catalog). 10993 case "$desiredlang" in 10994 "$presentlang"*) useit=yes;; 10995 esac 10996 done 10997 if test $useit = yes; then 10998 INST_LINGUAS="$INST_LINGUAS $presentlang" 10999 fi 11000 done 11001 fi 11002 CATALOGS= 11003 if test -n "$INST_LINGUAS"; then 11004 for lang in $INST_LINGUAS; do 11005 CATALOGS="$CATALOGS $lang.gmo" 11006 done 11007 fi 11008 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 11009 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 11010 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 11011 if test -f "$f"; then 11012 case "$f" in 11013 *.orig | *.bak | *~) ;; 11014 *) cat "$f" >> "$ac_dir/Makefile" ;; 11015 esac 11016 fi 11017 done 11018 fi 11019 ;; 11020 esac 11021 done ;; 11022 "po/stamp-it":C) 11023 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 11024 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 11025 fi 11026 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 11027 >"po/stamp-it.tmp" 11028 sed '/^#/d 11029 s/^[[].*] *// 11030 /^[ ]*$/d 11031 '"s|^| $ac_top_srcdir/|" \ 11032 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 11033 11034 sed '/^POTFILES =/,/[^\\]$/ { 11035 /^POTFILES =/!d 11036 r po/POTFILES 11037 } 11038 ' "po/Makefile.in" >"po/Makefile" 11039 rm -f "po/Makefile.tmp" 11040 mv "po/stamp-it.tmp" "po/stamp-it" 11041 ;; 11042 11043 esac 11044done # for ac_tag 11045 11046 11047as_fn_exit 0 11048_ACEOF 11049ac_clean_files=$ac_clean_files_save 11050 11051test $ac_write_fail = 0 || 11052 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 11053 11054 11055# configure is writing to config.log, and then calls config.status. 11056# config.status does its own redirection, appending to config.log. 11057# Unfortunately, on DOS this fails, as config.log is still kept open 11058# by configure, so config.status won't be able to write to it; its 11059# output is simply discarded. So we exec the FD to /dev/null, 11060# effectively closing config.log, so it can be properly (re)opened and 11061# appended to by config.status. When coming back to configure, we 11062# need to make the FD available again. 11063if test "$no_create" != yes; then 11064 ac_cs_success=: 11065 ac_config_status_args= 11066 test "$silent" = yes && 11067 ac_config_status_args="$ac_config_status_args --quiet" 11068 exec 5>/dev/null 11069 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 11070 exec 5>>config.log 11071 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11072 # would make configure fail if this is the last instruction. 11073 $ac_cs_success || as_fn_exit 1 11074fi 11075if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11077$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11078fi 11079 11080