1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mate-backgrounds 1.26.0. 4# 5# Report bugs to <http://www.mate-desktop.org>. 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: http://www.mate-desktop.org about your system, 271$0: including any error possibly output before this 272$0: message. Then install a modern shell, or manually run 273$0: the script under such a 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 $? 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 "$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 $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) 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 $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=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='mate-backgrounds' 582PACKAGE_TARNAME='mate-backgrounds' 583PACKAGE_VERSION='1.26.0' 584PACKAGE_STRING='mate-backgrounds 1.26.0' 585PACKAGE_BUGREPORT='http://www.mate-desktop.org' 586PACKAGE_URL='' 587 588gt_needs= 589ac_subst_vars='am__EXEEXT_FALSE 590am__EXEEXT_TRUE 591LTLIBOBJS 592LIBOBJS 593MAINT 594MAINTAINER_MODE_FALSE 595MAINTAINER_MODE_TRUE 596POSUB 597LTLIBINTL 598LIBINTL 599INTLLIBS 600LTLIBICONV 601LIBICONV 602INTL_MACOSX_LIBS 603EGREP 604GREP 605CPP 606host_os 607host_vendor 608host_cpu 609host 610build_os 611build_vendor 612build_cpu 613build 614am__fastdepCC_FALSE 615am__fastdepCC_TRUE 616CCDEPMODE 617am__nodep 618AMDEPBACKSLASH 619AMDEP_FALSE 620AMDEP_TRUE 621am__include 622DEPDIR 623OBJEXT 624EXEEXT 625ac_ct_CC 626CPPFLAGS 627LDFLAGS 628CFLAGS 629CC 630XGETTEXT_EXTRA_OPTIONS 631MSGMERGE 632XGETTEXT_015 633XGETTEXT 634GMSGFMT_015 635MSGFMT_015 636GMSGFMT 637MSGFMT 638GETTEXT_MACRO_VERSION 639USE_NLS 640SED 641am__untar 642am__tar 643AMTAR 644am__leading_dot 645SET_MAKE 646AWK 647mkdir_p 648MKDIR_P 649INSTALL_STRIP_PROGRAM 650STRIP 651install_sh 652MAKEINFO 653AUTOHEADER 654AUTOMAKE 655AUTOCONF 656ACLOCAL 657VERSION 658PACKAGE 659CYGPATH_W 660am__isrc 661INSTALL_DATA 662INSTALL_SCRIPT 663INSTALL_PROGRAM 664AM_BACKSLASH 665AM_DEFAULT_VERBOSITY 666AM_DEFAULT_V 667AM_V 668target_alias 669host_alias 670build_alias 671LIBS 672ECHO_T 673ECHO_N 674ECHO_C 675DEFS 676mandir 677localedir 678libdir 679psdir 680pdfdir 681dvidir 682htmldir 683infodir 684docdir 685oldincludedir 686includedir 687runstatedir 688localstatedir 689sharedstatedir 690sysconfdir 691datadir 692datarootdir 693libexecdir 694sbindir 695bindir 696program_transform_name 697prefix 698exec_prefix 699PACKAGE_URL 700PACKAGE_BUGREPORT 701PACKAGE_STRING 702PACKAGE_VERSION 703PACKAGE_TARNAME 704PACKAGE_NAME 705PATH_SEPARATOR 706SHELL 707am__quote' 708ac_subst_files='' 709ac_user_opts=' 710enable_option_checking 711enable_silent_rules 712enable_nls 713enable_dependency_tracking 714with_gnu_ld 715enable_rpath 716with_libiconv_prefix 717with_libintl_prefix 718enable_maintainer_mode 719' 720 ac_precious_vars='build_alias 721host_alias 722target_alias 723CC 724CFLAGS 725LDFLAGS 726LIBS 727CPPFLAGS 728CPP' 729 730 731# Initialize some variables set by options. 732ac_init_help= 733ac_init_version=false 734ac_unrecognized_opts= 735ac_unrecognized_sep= 736# The variables have the same names as the options, with 737# dashes changed to underlines. 738cache_file=/dev/null 739exec_prefix=NONE 740no_create= 741no_recursion= 742prefix=NONE 743program_prefix=NONE 744program_suffix=NONE 745program_transform_name=s,x,x, 746silent= 747site= 748srcdir= 749verbose= 750x_includes=NONE 751x_libraries=NONE 752 753# Installation directory options. 754# These are left unexpanded so users can "make install exec_prefix=/foo" 755# and all the variables that are supposed to be based on exec_prefix 756# by default will actually change. 757# Use braces instead of parens because sh, perl, etc. also accept them. 758# (The list follows the same order as the GNU Coding Standards.) 759bindir='${exec_prefix}/bin' 760sbindir='${exec_prefix}/sbin' 761libexecdir='${exec_prefix}/libexec' 762datarootdir='${prefix}/share' 763datadir='${datarootdir}' 764sysconfdir='${prefix}/etc' 765sharedstatedir='${prefix}/com' 766localstatedir='${prefix}/var' 767runstatedir='${localstatedir}/run' 768includedir='${prefix}/include' 769oldincludedir='/usr/include' 770docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 771infodir='${datarootdir}/info' 772htmldir='${docdir}' 773dvidir='${docdir}' 774pdfdir='${docdir}' 775psdir='${docdir}' 776libdir='${exec_prefix}/lib' 777localedir='${datarootdir}/locale' 778mandir='${datarootdir}/man' 779 780ac_prev= 781ac_dashdash= 782for ac_option 783do 784 # If the previous option needs an argument, assign it. 785 if test -n "$ac_prev"; then 786 eval $ac_prev=\$ac_option 787 ac_prev= 788 continue 789 fi 790 791 case $ac_option in 792 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 793 *=) ac_optarg= ;; 794 *) ac_optarg=yes ;; 795 esac 796 797 # Accept the important Cygnus configure options, so we can diagnose typos. 798 799 case $ac_dashdash$ac_option in 800 --) 801 ac_dashdash=yes ;; 802 803 -bindir | --bindir | --bindi | --bind | --bin | --bi) 804 ac_prev=bindir ;; 805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 806 bindir=$ac_optarg ;; 807 808 -build | --build | --buil | --bui | --bu) 809 ac_prev=build_alias ;; 810 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 811 build_alias=$ac_optarg ;; 812 813 -cache-file | --cache-file | --cache-fil | --cache-fi \ 814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 815 ac_prev=cache_file ;; 816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 818 cache_file=$ac_optarg ;; 819 820 --config-cache | -C) 821 cache_file=config.cache ;; 822 823 -datadir | --datadir | --datadi | --datad) 824 ac_prev=datadir ;; 825 -datadir=* | --datadir=* | --datadi=* | --datad=*) 826 datadir=$ac_optarg ;; 827 828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 829 | --dataroo | --dataro | --datar) 830 ac_prev=datarootdir ;; 831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 833 datarootdir=$ac_optarg ;; 834 835 -disable-* | --disable-*) 836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 837 # Reject names that are not valid shell variable names. 838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 839 as_fn_error $? "invalid feature name: $ac_useropt" 840 ac_useropt_orig=$ac_useropt 841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 842 case $ac_user_opts in 843 *" 844"enable_$ac_useropt" 845"*) ;; 846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 847 ac_unrecognized_sep=', ';; 848 esac 849 eval enable_$ac_useropt=no ;; 850 851 -docdir | --docdir | --docdi | --doc | --do) 852 ac_prev=docdir ;; 853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 854 docdir=$ac_optarg ;; 855 856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 857 ac_prev=dvidir ;; 858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 859 dvidir=$ac_optarg ;; 860 861 -enable-* | --enable-*) 862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 863 # Reject names that are not valid shell variable names. 864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 865 as_fn_error $? "invalid feature name: $ac_useropt" 866 ac_useropt_orig=$ac_useropt 867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 868 case $ac_user_opts in 869 *" 870"enable_$ac_useropt" 871"*) ;; 872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 873 ac_unrecognized_sep=', ';; 874 esac 875 eval enable_$ac_useropt=\$ac_optarg ;; 876 877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 879 | --exec | --exe | --ex) 880 ac_prev=exec_prefix ;; 881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 883 | --exec=* | --exe=* | --ex=*) 884 exec_prefix=$ac_optarg ;; 885 886 -gas | --gas | --ga | --g) 887 # Obsolete; use --with-gas. 888 with_gas=yes ;; 889 890 -help | --help | --hel | --he | -h) 891 ac_init_help=long ;; 892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 893 ac_init_help=recursive ;; 894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 895 ac_init_help=short ;; 896 897 -host | --host | --hos | --ho) 898 ac_prev=host_alias ;; 899 -host=* | --host=* | --hos=* | --ho=*) 900 host_alias=$ac_optarg ;; 901 902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 903 ac_prev=htmldir ;; 904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 905 | --ht=*) 906 htmldir=$ac_optarg ;; 907 908 -includedir | --includedir | --includedi | --included | --include \ 909 | --includ | --inclu | --incl | --inc) 910 ac_prev=includedir ;; 911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 912 | --includ=* | --inclu=* | --incl=* | --inc=*) 913 includedir=$ac_optarg ;; 914 915 -infodir | --infodir | --infodi | --infod | --info | --inf) 916 ac_prev=infodir ;; 917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 918 infodir=$ac_optarg ;; 919 920 -libdir | --libdir | --libdi | --libd) 921 ac_prev=libdir ;; 922 -libdir=* | --libdir=* | --libdi=* | --libd=*) 923 libdir=$ac_optarg ;; 924 925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 926 | --libexe | --libex | --libe) 927 ac_prev=libexecdir ;; 928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 929 | --libexe=* | --libex=* | --libe=*) 930 libexecdir=$ac_optarg ;; 931 932 -localedir | --localedir | --localedi | --localed | --locale) 933 ac_prev=localedir ;; 934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 935 localedir=$ac_optarg ;; 936 937 -localstatedir | --localstatedir | --localstatedi | --localstated \ 938 | --localstate | --localstat | --localsta | --localst | --locals) 939 ac_prev=localstatedir ;; 940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 942 localstatedir=$ac_optarg ;; 943 944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 945 ac_prev=mandir ;; 946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 947 mandir=$ac_optarg ;; 948 949 -nfp | --nfp | --nf) 950 # Obsolete; use --without-fp. 951 with_fp=no ;; 952 953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 954 | --no-cr | --no-c | -n) 955 no_create=yes ;; 956 957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 959 no_recursion=yes ;; 960 961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 963 | --oldin | --oldi | --old | --ol | --o) 964 ac_prev=oldincludedir ;; 965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 968 oldincludedir=$ac_optarg ;; 969 970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 971 ac_prev=prefix ;; 972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 973 prefix=$ac_optarg ;; 974 975 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 976 | --program-pre | --program-pr | --program-p) 977 ac_prev=program_prefix ;; 978 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 980 program_prefix=$ac_optarg ;; 981 982 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 983 | --program-suf | --program-su | --program-s) 984 ac_prev=program_suffix ;; 985 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 987 program_suffix=$ac_optarg ;; 988 989 -program-transform-name | --program-transform-name \ 990 | --program-transform-nam | --program-transform-na \ 991 | --program-transform-n | --program-transform- \ 992 | --program-transform | --program-transfor \ 993 | --program-transfo | --program-transf \ 994 | --program-trans | --program-tran \ 995 | --progr-tra | --program-tr | --program-t) 996 ac_prev=program_transform_name ;; 997 -program-transform-name=* | --program-transform-name=* \ 998 | --program-transform-nam=* | --program-transform-na=* \ 999 | --program-transform-n=* | --program-transform-=* \ 1000 | --program-transform=* | --program-transfor=* \ 1001 | --program-transfo=* | --program-transf=* \ 1002 | --program-trans=* | --program-tran=* \ 1003 | --progr-tra=* | --program-tr=* | --program-t=*) 1004 program_transform_name=$ac_optarg ;; 1005 1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1007 ac_prev=pdfdir ;; 1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1009 pdfdir=$ac_optarg ;; 1010 1011 -psdir | --psdir | --psdi | --psd | --ps) 1012 ac_prev=psdir ;; 1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1014 psdir=$ac_optarg ;; 1015 1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1017 | -silent | --silent | --silen | --sile | --sil) 1018 silent=yes ;; 1019 1020 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1021 | --runstate | --runstat | --runsta | --runst | --runs \ 1022 | --run | --ru | --r) 1023 ac_prev=runstatedir ;; 1024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1026 | --run=* | --ru=* | --r=*) 1027 runstatedir=$ac_optarg ;; 1028 1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1030 ac_prev=sbindir ;; 1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1032 | --sbi=* | --sb=*) 1033 sbindir=$ac_optarg ;; 1034 1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1037 | --sharedst | --shareds | --shared | --share | --shar \ 1038 | --sha | --sh) 1039 ac_prev=sharedstatedir ;; 1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1043 | --sha=* | --sh=*) 1044 sharedstatedir=$ac_optarg ;; 1045 1046 -site | --site | --sit) 1047 ac_prev=site ;; 1048 -site=* | --site=* | --sit=*) 1049 site=$ac_optarg ;; 1050 1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1052 ac_prev=srcdir ;; 1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1054 srcdir=$ac_optarg ;; 1055 1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1057 | --syscon | --sysco | --sysc | --sys | --sy) 1058 ac_prev=sysconfdir ;; 1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1061 sysconfdir=$ac_optarg ;; 1062 1063 -target | --target | --targe | --targ | --tar | --ta | --t) 1064 ac_prev=target_alias ;; 1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1066 target_alias=$ac_optarg ;; 1067 1068 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1069 verbose=yes ;; 1070 1071 -version | --version | --versio | --versi | --vers | -V) 1072 ac_init_version=: ;; 1073 1074 -with-* | --with-*) 1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1076 # Reject names that are not valid shell variable names. 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1079 ac_useropt_orig=$ac_useropt 1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1081 case $ac_user_opts in 1082 *" 1083"with_$ac_useropt" 1084"*) ;; 1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1086 ac_unrecognized_sep=', ';; 1087 esac 1088 eval with_$ac_useropt=\$ac_optarg ;; 1089 1090 -without-* | --without-*) 1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1092 # Reject names that are not valid shell variable names. 1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094 as_fn_error $? "invalid package name: $ac_useropt" 1095 ac_useropt_orig=$ac_useropt 1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1097 case $ac_user_opts in 1098 *" 1099"with_$ac_useropt" 1100"*) ;; 1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1102 ac_unrecognized_sep=', ';; 1103 esac 1104 eval with_$ac_useropt=no ;; 1105 1106 --x) 1107 # Obsolete; use --with-x. 1108 with_x=yes ;; 1109 1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1111 | --x-incl | --x-inc | --x-in | --x-i) 1112 ac_prev=x_includes ;; 1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1115 x_includes=$ac_optarg ;; 1116 1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1119 ac_prev=x_libraries ;; 1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1122 x_libraries=$ac_optarg ;; 1123 1124 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1125Try \`$0 --help' for more information" 1126 ;; 1127 1128 *=*) 1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1130 # Reject names that are not valid shell variable names. 1131 case $ac_envvar in #( 1132 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1134 esac 1135 eval $ac_envvar=\$ac_optarg 1136 export $ac_envvar ;; 1137 1138 *) 1139 # FIXME: should be removed in autoconf 3.0. 1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1144 ;; 1145 1146 esac 1147done 1148 1149if test -n "$ac_prev"; then 1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1151 as_fn_error $? "missing argument to $ac_option" 1152fi 1153 1154if test -n "$ac_unrecognized_opts"; then 1155 case $enable_option_checking in 1156 no) ;; 1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1159 esac 1160fi 1161 1162# Check all directory arguments for consistency. 1163for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1164 datadir sysconfdir sharedstatedir localstatedir includedir \ 1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1166 libdir localedir mandir runstatedir 1167do 1168 eval ac_val=\$$ac_var 1169 # Remove trailing slashes. 1170 case $ac_val in 1171 */ ) 1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1173 eval $ac_var=\$ac_val;; 1174 esac 1175 # Be sure to have absolute directory names. 1176 case $ac_val in 1177 [\\/$]* | ?:[\\/]* ) continue;; 1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1179 esac 1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1181done 1182 1183# There might be people who depend on the old broken behavior: `$host' 1184# used to hold the argument of --host etc. 1185# FIXME: To remove some day. 1186build=$build_alias 1187host=$host_alias 1188target=$target_alias 1189 1190# FIXME: To remove some day. 1191if test "x$host_alias" != x; then 1192 if test "x$build_alias" = x; then 1193 cross_compiling=maybe 1194 elif test "x$build_alias" != "x$host_alias"; then 1195 cross_compiling=yes 1196 fi 1197fi 1198 1199ac_tool_prefix= 1200test -n "$host_alias" && ac_tool_prefix=$host_alias- 1201 1202test "$silent" = yes && exec 6>/dev/null 1203 1204 1205ac_pwd=`pwd` && test -n "$ac_pwd" && 1206ac_ls_di=`ls -di .` && 1207ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1208 as_fn_error $? "working directory cannot be determined" 1209test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1210 as_fn_error $? "pwd does not report name of working directory" 1211 1212 1213# Find the source files, if location was not specified. 1214if test -z "$srcdir"; then 1215 ac_srcdir_defaulted=yes 1216 # Try the directory containing this script, then the parent directory. 1217 ac_confdir=`$as_dirname -- "$as_myself" || 1218$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1219 X"$as_myself" : 'X\(//\)[^/]' \| \ 1220 X"$as_myself" : 'X\(//\)$' \| \ 1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1222$as_echo X"$as_myself" | 1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224 s//\1/ 1225 q 1226 } 1227 /^X\(\/\/\)[^/].*/{ 1228 s//\1/ 1229 q 1230 } 1231 /^X\(\/\/\)$/{ 1232 s//\1/ 1233 q 1234 } 1235 /^X\(\/\).*/{ 1236 s//\1/ 1237 q 1238 } 1239 s/.*/./; q'` 1240 srcdir=$ac_confdir 1241 if test ! -r "$srcdir/$ac_unique_file"; then 1242 srcdir=.. 1243 fi 1244else 1245 ac_srcdir_defaulted=no 1246fi 1247if test ! -r "$srcdir/$ac_unique_file"; then 1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1250fi 1251ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1252ac_abs_confdir=`( 1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1254 pwd)` 1255# When building in place, set srcdir=. 1256if test "$ac_abs_confdir" = "$ac_pwd"; then 1257 srcdir=. 1258fi 1259# Remove unnecessary trailing slashes from srcdir. 1260# Double slashes in file names in object file debugging info 1261# mess up M-x gdb in Emacs. 1262case $srcdir in 1263*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1264esac 1265for ac_var in $ac_precious_vars; do 1266 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1267 eval ac_env_${ac_var}_value=\$${ac_var} 1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1269 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1270done 1271 1272# 1273# Report the --help message. 1274# 1275if test "$ac_init_help" = "long"; then 1276 # Omit some internal or obsolete options to make the list less imposing. 1277 # This message is too long to be a string in the A/UX 3.1 sh. 1278 cat <<_ACEOF 1279\`configure' configures mate-backgrounds 1.26.0 to adapt to many kinds of systems. 1280 1281Usage: $0 [OPTION]... [VAR=VALUE]... 1282 1283To assign environment variables (e.g., CC, CFLAGS...), specify them as 1284VAR=VALUE. See below for descriptions of some of the useful variables. 1285 1286Defaults for the options are specified in brackets. 1287 1288Configuration: 1289 -h, --help display this help and exit 1290 --help=short display options specific to this package 1291 --help=recursive display the short help of all the included packages 1292 -V, --version display version information and exit 1293 -q, --quiet, --silent do not print \`checking ...' messages 1294 --cache-file=FILE cache test results in FILE [disabled] 1295 -C, --config-cache alias for \`--cache-file=config.cache' 1296 -n, --no-create do not create output files 1297 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1298 1299Installation directories: 1300 --prefix=PREFIX install architecture-independent files in PREFIX 1301 [$ac_default_prefix] 1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1303 [PREFIX] 1304 1305By default, \`make install' will install all the files in 1306\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1307an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1308for instance \`--prefix=\$HOME'. 1309 1310For better control, use the options below. 1311 1312Fine tuning of the installation directories: 1313 --bindir=DIR user executables [EPREFIX/bin] 1314 --sbindir=DIR system admin executables [EPREFIX/sbin] 1315 --libexecdir=DIR program executables [EPREFIX/libexec] 1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1320 --libdir=DIR object code libraries [EPREFIX/lib] 1321 --includedir=DIR C header files [PREFIX/include] 1322 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1325 --infodir=DIR info documentation [DATAROOTDIR/info] 1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1327 --mandir=DIR man documentation [DATAROOTDIR/man] 1328 --docdir=DIR documentation root 1329 [DATAROOTDIR/doc/mate-backgrounds] 1330 --htmldir=DIR html documentation [DOCDIR] 1331 --dvidir=DIR dvi documentation [DOCDIR] 1332 --pdfdir=DIR pdf documentation [DOCDIR] 1333 --psdir=DIR ps documentation [DOCDIR] 1334_ACEOF 1335 1336 cat <<\_ACEOF 1337 1338Program names: 1339 --program-prefix=PREFIX prepend PREFIX to installed program names 1340 --program-suffix=SUFFIX append SUFFIX to installed program names 1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1342 1343System types: 1344 --build=BUILD configure for building on BUILD [guessed] 1345 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1346_ACEOF 1347fi 1348 1349if test -n "$ac_init_help"; then 1350 case $ac_init_help in 1351 short | recursive ) echo "Configuration of mate-backgrounds 1.26.0:";; 1352 esac 1353 cat <<\_ACEOF 1354 1355Optional Features: 1356 --disable-option-checking ignore unrecognized --enable/--with options 1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1359 --enable-silent-rules less verbose build output (undo: "make V=1") 1360 --disable-silent-rules verbose build output (undo: "make V=0") 1361 --disable-nls do not use Native Language Support 1362 --enable-dependency-tracking 1363 do not reject slow dependency extractors 1364 --disable-dependency-tracking 1365 speeds up one-time build 1366 --disable-rpath do not hardcode runtime library paths 1367 --enable-maintainer-mode 1368 enable make rules and dependencies not useful (and 1369 sometimes confusing) to the casual installer 1370 1371Optional Packages: 1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1374 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1375 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1376 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1377 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1378 --without-libintl-prefix don't search for libintl in includedir and libdir 1379 1380Some influential environment variables: 1381 CC C compiler command 1382 CFLAGS C compiler flags 1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1384 nonstandard directory <lib dir> 1385 LIBS libraries to pass to the linker, e.g. -l<library> 1386 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1387 you have headers in a nonstandard directory <include dir> 1388 CPP C preprocessor 1389 1390Use these variables to override the choices made by `configure' or to help 1391it to find libraries and programs with nonstandard names/locations. 1392 1393Report bugs to <http://www.mate-desktop.org>. 1394_ACEOF 1395ac_status=$? 1396fi 1397 1398if test "$ac_init_help" = "recursive"; then 1399 # If there are subdirs, report their specific --help. 1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1401 test -d "$ac_dir" || 1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1403 continue 1404 ac_builddir=. 1405 1406case "$ac_dir" in 1407.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1408*) 1409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1410 # A ".." for each directory in $ac_dir_suffix. 1411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1412 case $ac_top_builddir_sub in 1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1415 esac ;; 1416esac 1417ac_abs_top_builddir=$ac_pwd 1418ac_abs_builddir=$ac_pwd$ac_dir_suffix 1419# for backward compatibility: 1420ac_top_builddir=$ac_top_build_prefix 1421 1422case $srcdir in 1423 .) # We are building in place. 1424 ac_srcdir=. 1425 ac_top_srcdir=$ac_top_builddir_sub 1426 ac_abs_top_srcdir=$ac_pwd ;; 1427 [\\/]* | ?:[\\/]* ) # Absolute name. 1428 ac_srcdir=$srcdir$ac_dir_suffix; 1429 ac_top_srcdir=$srcdir 1430 ac_abs_top_srcdir=$srcdir ;; 1431 *) # Relative name. 1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1433 ac_top_srcdir=$ac_top_build_prefix$srcdir 1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1435esac 1436ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1437 1438 cd "$ac_dir" || { ac_status=$?; continue; } 1439 # Check for guested configure. 1440 if test -f "$ac_srcdir/configure.gnu"; then 1441 echo && 1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1443 elif test -f "$ac_srcdir/configure"; then 1444 echo && 1445 $SHELL "$ac_srcdir/configure" --help=recursive 1446 else 1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1448 fi || ac_status=$? 1449 cd "$ac_pwd" || { ac_status=$?; break; } 1450 done 1451fi 1452 1453test -n "$ac_init_help" && exit $ac_status 1454if $ac_init_version; then 1455 cat <<\_ACEOF 1456mate-backgrounds configure 1.26.0 1457generated by GNU Autoconf 2.69 1458 1459Copyright (C) 2012 Free Software Foundation, Inc. 1460This configure script is free software; the Free Software Foundation 1461gives unlimited permission to copy, distribute and modify it. 1462_ACEOF 1463 exit 1464fi 1465 1466## ------------------------ ## 1467## Autoconf initialization. ## 1468## ------------------------ ## 1469 1470# ac_fn_c_try_compile LINENO 1471# -------------------------- 1472# Try to compile conftest.$ac_ext, and return whether this succeeded. 1473ac_fn_c_try_compile () 1474{ 1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1476 rm -f conftest.$ac_objext 1477 if { { ac_try="$ac_compile" 1478case "(($ac_try" in 1479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1480 *) ac_try_echo=$ac_try;; 1481esac 1482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1483$as_echo "$ac_try_echo"; } >&5 1484 (eval "$ac_compile") 2>conftest.err 1485 ac_status=$? 1486 if test -s conftest.err; then 1487 grep -v '^ *+' conftest.err >conftest.er1 1488 cat conftest.er1 >&5 1489 mv -f conftest.er1 conftest.err 1490 fi 1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1492 test $ac_status = 0; } && { 1493 test -z "$ac_c_werror_flag" || 1494 test ! -s conftest.err 1495 } && test -s conftest.$ac_objext; then : 1496 ac_retval=0 1497else 1498 $as_echo "$as_me: failed program was:" >&5 1499sed 's/^/| /' conftest.$ac_ext >&5 1500 1501 ac_retval=1 1502fi 1503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1504 as_fn_set_status $ac_retval 1505 1506} # ac_fn_c_try_compile 1507 1508# ac_fn_c_try_cpp LINENO 1509# ---------------------- 1510# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1511ac_fn_c_try_cpp () 1512{ 1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1514 if { { ac_try="$ac_cpp conftest.$ac_ext" 1515case "(($ac_try" in 1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1517 *) ac_try_echo=$ac_try;; 1518esac 1519eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1520$as_echo "$ac_try_echo"; } >&5 1521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1522 ac_status=$? 1523 if test -s conftest.err; then 1524 grep -v '^ *+' conftest.err >conftest.er1 1525 cat conftest.er1 >&5 1526 mv -f conftest.er1 conftest.err 1527 fi 1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1529 test $ac_status = 0; } > conftest.i && { 1530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1531 test ! -s conftest.err 1532 }; then : 1533 ac_retval=0 1534else 1535 $as_echo "$as_me: failed program was:" >&5 1536sed 's/^/| /' conftest.$ac_ext >&5 1537 1538 ac_retval=1 1539fi 1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1541 as_fn_set_status $ac_retval 1542 1543} # ac_fn_c_try_cpp 1544 1545# ac_fn_c_try_link LINENO 1546# ----------------------- 1547# Try to link conftest.$ac_ext, and return whether this succeeded. 1548ac_fn_c_try_link () 1549{ 1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1551 rm -f conftest.$ac_objext conftest$ac_exeext 1552 if { { ac_try="$ac_link" 1553case "(($ac_try" in 1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1555 *) ac_try_echo=$ac_try;; 1556esac 1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1558$as_echo "$ac_try_echo"; } >&5 1559 (eval "$ac_link") 2>conftest.err 1560 ac_status=$? 1561 if test -s conftest.err; then 1562 grep -v '^ *+' conftest.err >conftest.er1 1563 cat conftest.er1 >&5 1564 mv -f conftest.er1 conftest.err 1565 fi 1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1567 test $ac_status = 0; } && { 1568 test -z "$ac_c_werror_flag" || 1569 test ! -s conftest.err 1570 } && test -s conftest$ac_exeext && { 1571 test "$cross_compiling" = yes || 1572 test -x conftest$ac_exeext 1573 }; then : 1574 ac_retval=0 1575else 1576 $as_echo "$as_me: failed program was:" >&5 1577sed 's/^/| /' conftest.$ac_ext >&5 1578 1579 ac_retval=1 1580fi 1581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1583 # interfere with the next link command; also delete a directory that is 1584 # left behind by Apple's compiler. We do this before executing the actions. 1585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1587 as_fn_set_status $ac_retval 1588 1589} # ac_fn_c_try_link 1590 1591# ac_fn_c_try_run LINENO 1592# ---------------------- 1593# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1594# that executables *can* be run. 1595ac_fn_c_try_run () 1596{ 1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1598 if { { ac_try="$ac_link" 1599case "(($ac_try" in 1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1601 *) ac_try_echo=$ac_try;; 1602esac 1603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1604$as_echo "$ac_try_echo"; } >&5 1605 (eval "$ac_link") 2>&5 1606 ac_status=$? 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1609 { { case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612esac 1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614$as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_try") 2>&5 1616 ac_status=$? 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; }; }; then : 1619 ac_retval=0 1620else 1621 $as_echo "$as_me: program exited with status $ac_status" >&5 1622 $as_echo "$as_me: failed program was:" >&5 1623sed 's/^/| /' conftest.$ac_ext >&5 1624 1625 ac_retval=$ac_status 1626fi 1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1629 as_fn_set_status $ac_retval 1630 1631} # ac_fn_c_try_run 1632cat >config.log <<_ACEOF 1633This file contains any messages produced by compilers while 1634running configure, to aid debugging if configure makes a mistake. 1635 1636It was created by mate-backgrounds $as_me 1.26.0, which was 1637generated by GNU Autoconf 2.69. Invocation command line was 1638 1639 $ $0 $@ 1640 1641_ACEOF 1642exec 5>>config.log 1643{ 1644cat <<_ASUNAME 1645## --------- ## 1646## Platform. ## 1647## --------- ## 1648 1649hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1650uname -m = `(uname -m) 2>/dev/null || echo unknown` 1651uname -r = `(uname -r) 2>/dev/null || echo unknown` 1652uname -s = `(uname -s) 2>/dev/null || echo unknown` 1653uname -v = `(uname -v) 2>/dev/null || echo unknown` 1654 1655/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1656/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1657 1658/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1659/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1660/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1661/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1662/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1663/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1664/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1665 1666_ASUNAME 1667 1668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1669for as_dir in $PATH 1670do 1671 IFS=$as_save_IFS 1672 test -z "$as_dir" && as_dir=. 1673 $as_echo "PATH: $as_dir" 1674 done 1675IFS=$as_save_IFS 1676 1677} >&5 1678 1679cat >&5 <<_ACEOF 1680 1681 1682## ----------- ## 1683## Core tests. ## 1684## ----------- ## 1685 1686_ACEOF 1687 1688 1689# Keep a trace of the command line. 1690# Strip out --no-create and --no-recursion so they do not pile up. 1691# Strip out --silent because we don't want to record it for future runs. 1692# Also quote any args containing shell meta-characters. 1693# Make two passes to allow for proper duplicate-argument suppression. 1694ac_configure_args= 1695ac_configure_args0= 1696ac_configure_args1= 1697ac_must_keep_next=false 1698for ac_pass in 1 2 1699do 1700 for ac_arg 1701 do 1702 case $ac_arg in 1703 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1704 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1705 | -silent | --silent | --silen | --sile | --sil) 1706 continue ;; 1707 *\'*) 1708 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1709 esac 1710 case $ac_pass in 1711 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1712 2) 1713 as_fn_append ac_configure_args1 " '$ac_arg'" 1714 if test $ac_must_keep_next = true; then 1715 ac_must_keep_next=false # Got value, back to normal. 1716 else 1717 case $ac_arg in 1718 *=* | --config-cache | -C | -disable-* | --disable-* \ 1719 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1720 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1721 | -with-* | --with-* | -without-* | --without-* | --x) 1722 case "$ac_configure_args0 " in 1723 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1724 esac 1725 ;; 1726 -* ) ac_must_keep_next=true ;; 1727 esac 1728 fi 1729 as_fn_append ac_configure_args " '$ac_arg'" 1730 ;; 1731 esac 1732 done 1733done 1734{ ac_configure_args0=; unset ac_configure_args0;} 1735{ ac_configure_args1=; unset ac_configure_args1;} 1736 1737# When interrupted or exit'd, cleanup temporary files, and complete 1738# config.log. We remove comments because anyway the quotes in there 1739# would cause problems or look ugly. 1740# WARNING: Use '\'' to represent an apostrophe within the trap. 1741# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1742trap 'exit_status=$? 1743 # Save into config.log some information that might help in debugging. 1744 { 1745 echo 1746 1747 $as_echo "## ---------------- ## 1748## Cache variables. ## 1749## ---------------- ##" 1750 echo 1751 # The following way of writing the cache mishandles newlines in values, 1752( 1753 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1754 eval ac_val=\$$ac_var 1755 case $ac_val in #( 1756 *${as_nl}*) 1757 case $ac_var in #( 1758 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1759$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1760 esac 1761 case $ac_var in #( 1762 _ | IFS | as_nl) ;; #( 1763 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1764 *) { eval $ac_var=; unset $ac_var;} ;; 1765 esac ;; 1766 esac 1767 done 1768 (set) 2>&1 | 1769 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1770 *${as_nl}ac_space=\ *) 1771 sed -n \ 1772 "s/'\''/'\''\\\\'\'''\''/g; 1773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1774 ;; #( 1775 *) 1776 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1777 ;; 1778 esac | 1779 sort 1780) 1781 echo 1782 1783 $as_echo "## ----------------- ## 1784## Output variables. ## 1785## ----------------- ##" 1786 echo 1787 for ac_var in $ac_subst_vars 1788 do 1789 eval ac_val=\$$ac_var 1790 case $ac_val in 1791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1792 esac 1793 $as_echo "$ac_var='\''$ac_val'\''" 1794 done | sort 1795 echo 1796 1797 if test -n "$ac_subst_files"; then 1798 $as_echo "## ------------------- ## 1799## File substitutions. ## 1800## ------------------- ##" 1801 echo 1802 for ac_var in $ac_subst_files 1803 do 1804 eval ac_val=\$$ac_var 1805 case $ac_val in 1806 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1807 esac 1808 $as_echo "$ac_var='\''$ac_val'\''" 1809 done | sort 1810 echo 1811 fi 1812 1813 if test -s confdefs.h; then 1814 $as_echo "## ----------- ## 1815## confdefs.h. ## 1816## ----------- ##" 1817 echo 1818 cat confdefs.h 1819 echo 1820 fi 1821 test "$ac_signal" != 0 && 1822 $as_echo "$as_me: caught signal $ac_signal" 1823 $as_echo "$as_me: exit $exit_status" 1824 } >&5 1825 rm -f core *.core core.conftest.* && 1826 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1827 exit $exit_status 1828' 0 1829for ac_signal in 1 2 13 15; do 1830 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1831done 1832ac_signal=0 1833 1834# confdefs.h avoids OS command line length limits that DEFS can exceed. 1835rm -f -r conftest* confdefs.h 1836 1837$as_echo "/* confdefs.h */" > confdefs.h 1838 1839# Predefined preprocessor variables. 1840 1841cat >>confdefs.h <<_ACEOF 1842#define PACKAGE_NAME "$PACKAGE_NAME" 1843_ACEOF 1844 1845cat >>confdefs.h <<_ACEOF 1846#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1847_ACEOF 1848 1849cat >>confdefs.h <<_ACEOF 1850#define PACKAGE_VERSION "$PACKAGE_VERSION" 1851_ACEOF 1852 1853cat >>confdefs.h <<_ACEOF 1854#define PACKAGE_STRING "$PACKAGE_STRING" 1855_ACEOF 1856 1857cat >>confdefs.h <<_ACEOF 1858#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1859_ACEOF 1860 1861cat >>confdefs.h <<_ACEOF 1862#define PACKAGE_URL "$PACKAGE_URL" 1863_ACEOF 1864 1865 1866# Let the site file select an alternate cache file if it wants to. 1867# Prefer an explicitly selected file to automatically selected ones. 1868ac_site_file1=NONE 1869ac_site_file2=NONE 1870if test -n "$CONFIG_SITE"; then 1871 # We do not want a PATH search for config.site. 1872 case $CONFIG_SITE in #(( 1873 -*) ac_site_file1=./$CONFIG_SITE;; 1874 */*) ac_site_file1=$CONFIG_SITE;; 1875 *) ac_site_file1=./$CONFIG_SITE;; 1876 esac 1877elif test "x$prefix" != xNONE; then 1878 ac_site_file1=$prefix/share/config.site 1879 ac_site_file2=$prefix/etc/config.site 1880else 1881 ac_site_file1=$ac_default_prefix/share/config.site 1882 ac_site_file2=$ac_default_prefix/etc/config.site 1883fi 1884for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1885do 1886 test "x$ac_site_file" = xNONE && continue 1887 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1889$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1890 sed 's/^/| /' "$ac_site_file" >&5 1891 . "$ac_site_file" \ 1892 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1893$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1894as_fn_error $? "failed to load site script $ac_site_file 1895See \`config.log' for more details" "$LINENO" 5; } 1896 fi 1897done 1898 1899if test -r "$cache_file"; then 1900 # Some versions of bash will fail to source /dev/null (special files 1901 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1902 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1903 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1904$as_echo "$as_me: loading cache $cache_file" >&6;} 1905 case $cache_file in 1906 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1907 *) . "./$cache_file";; 1908 esac 1909 fi 1910else 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1912$as_echo "$as_me: creating cache $cache_file" >&6;} 1913 >$cache_file 1914fi 1915 1916gt_needs="$gt_needs " 1917# Check that the precious variables saved in the cache have kept the same 1918# value. 1919ac_cache_corrupted=false 1920for ac_var in $ac_precious_vars; do 1921 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1922 eval ac_new_set=\$ac_env_${ac_var}_set 1923 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1924 eval ac_new_val=\$ac_env_${ac_var}_value 1925 case $ac_old_set,$ac_new_set in 1926 set,) 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1928$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1929 ac_cache_corrupted=: ;; 1930 ,set) 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1932$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1933 ac_cache_corrupted=: ;; 1934 ,);; 1935 *) 1936 if test "x$ac_old_val" != "x$ac_new_val"; then 1937 # differences in whitespace do not lead to failure. 1938 ac_old_val_w=`echo x $ac_old_val` 1939 ac_new_val_w=`echo x $ac_new_val` 1940 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1942$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1943 ac_cache_corrupted=: 1944 else 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1946$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1947 eval $ac_var=\$ac_old_val 1948 fi 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1950$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1952$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1953 fi;; 1954 esac 1955 # Pass precious variables to config.status. 1956 if test "$ac_new_set" = set; then 1957 case $ac_new_val in 1958 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1959 *) ac_arg=$ac_var=$ac_new_val ;; 1960 esac 1961 case " $ac_configure_args " in 1962 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1963 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1964 esac 1965 fi 1966done 1967if $ac_cache_corrupted; then 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1971$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1972 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1973fi 1974## -------------------- ## 1975## Main body of script. ## 1976## -------------------- ## 1977 1978ac_ext=c 1979ac_cpp='$CPP $CPPFLAGS' 1980ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1981ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1982ac_compiler_gnu=$ac_cv_c_compiler_gnu 1983 1984 1985# Check whether --enable-silent-rules was given. 1986if test "${enable_silent_rules+set}" = set; then : 1987 enableval=$enable_silent_rules; 1988fi 1989 1990case $enable_silent_rules in # ((( 1991 yes) AM_DEFAULT_VERBOSITY=0;; 1992 no) AM_DEFAULT_VERBOSITY=1;; 1993 *) AM_DEFAULT_VERBOSITY=0;; 1994esac 1995am_make=${MAKE-make} 1996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 1997$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 1998if ${am_cv_make_support_nested_variables+:} false; then : 1999 $as_echo_n "(cached) " >&6 2000else 2001 if $as_echo 'TRUE=$(BAR$(V)) 2002BAR0=false 2003BAR1=true 2004V=1 2005am__doit: 2006 @$(TRUE) 2007.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2008 am_cv_make_support_nested_variables=yes 2009else 2010 am_cv_make_support_nested_variables=no 2011fi 2012fi 2013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2014$as_echo "$am_cv_make_support_nested_variables" >&6; } 2015if test $am_cv_make_support_nested_variables = yes; then 2016 AM_V='$(V)' 2017 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2018else 2019 AM_V=$AM_DEFAULT_VERBOSITY 2020 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2021fi 2022AM_BACKSLASH='\' 2023 2024am__api_version='1.16' 2025 2026ac_aux_dir= 2027for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2028 if test -f "$ac_dir/install-sh"; then 2029 ac_aux_dir=$ac_dir 2030 ac_install_sh="$ac_aux_dir/install-sh -c" 2031 break 2032 elif test -f "$ac_dir/install.sh"; then 2033 ac_aux_dir=$ac_dir 2034 ac_install_sh="$ac_aux_dir/install.sh -c" 2035 break 2036 elif test -f "$ac_dir/shtool"; then 2037 ac_aux_dir=$ac_dir 2038 ac_install_sh="$ac_aux_dir/shtool install -c" 2039 break 2040 fi 2041done 2042if test -z "$ac_aux_dir"; then 2043 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2044fi 2045 2046# These three variables are undocumented and unsupported, 2047# and are intended to be withdrawn in a future Autoconf release. 2048# They can cause serious problems if a builder's source tree is in a directory 2049# whose full name contains unusual characters. 2050ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2051ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2052ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2053 2054 2055# Find a good install program. We prefer a C program (faster), 2056# so one script is as good as another. But avoid the broken or 2057# incompatible versions: 2058# SysV /etc/install, /usr/sbin/install 2059# SunOS /usr/etc/install 2060# IRIX /sbin/install 2061# AIX /bin/install 2062# AmigaOS /C/install, which installs bootblocks on floppy discs 2063# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2064# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2065# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2066# OS/2's system install, which has a completely different semantic 2067# ./install, which can be erroneously created by make from ./install.sh. 2068# Reject install programs that cannot install multiple files. 2069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2070$as_echo_n "checking for a BSD-compatible install... " >&6; } 2071if test -z "$INSTALL"; then 2072if ${ac_cv_path_install+:} false; then : 2073 $as_echo_n "(cached) " >&6 2074else 2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2076for as_dir in $PATH 2077do 2078 IFS=$as_save_IFS 2079 test -z "$as_dir" && as_dir=. 2080 # Account for people who put trailing slashes in PATH elements. 2081case $as_dir/ in #(( 2082 ./ | .// | /[cC]/* | \ 2083 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2084 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2085 /usr/ucb/* ) ;; 2086 *) 2087 # OSF1 and SCO ODT 3.0 have their own names for install. 2088 # Don't use installbsd from OSF since it installs stuff as root 2089 # by default. 2090 for ac_prog in ginstall scoinst install; do 2091 for ac_exec_ext in '' $ac_executable_extensions; do 2092 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2093 if test $ac_prog = install && 2094 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2095 # AIX install. It has an incompatible calling convention. 2096 : 2097 elif test $ac_prog = install && 2098 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2099 # program-specific install script used by HP pwplus--don't use. 2100 : 2101 else 2102 rm -rf conftest.one conftest.two conftest.dir 2103 echo one > conftest.one 2104 echo two > conftest.two 2105 mkdir conftest.dir 2106 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2107 test -s conftest.one && test -s conftest.two && 2108 test -s conftest.dir/conftest.one && 2109 test -s conftest.dir/conftest.two 2110 then 2111 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2112 break 3 2113 fi 2114 fi 2115 fi 2116 done 2117 done 2118 ;; 2119esac 2120 2121 done 2122IFS=$as_save_IFS 2123 2124rm -rf conftest.one conftest.two conftest.dir 2125 2126fi 2127 if test "${ac_cv_path_install+set}" = set; then 2128 INSTALL=$ac_cv_path_install 2129 else 2130 # As a last resort, use the slow shell script. Don't cache a 2131 # value for INSTALL within a source directory, because that will 2132 # break other packages using the cache if that directory is 2133 # removed, or if the value is a relative name. 2134 INSTALL=$ac_install_sh 2135 fi 2136fi 2137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2138$as_echo "$INSTALL" >&6; } 2139 2140# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2141# It thinks the first close brace ends the variable substitution. 2142test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2143 2144test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2145 2146test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2147 2148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2149$as_echo_n "checking whether build environment is sane... " >&6; } 2150# Reject unsafe characters in $srcdir or the absolute working directory 2151# name. Accept space and tab only in the latter. 2152am_lf=' 2153' 2154case `pwd` in 2155 *[\\\"\#\$\&\'\`$am_lf]*) 2156 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2157esac 2158case $srcdir in 2159 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2160 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2161esac 2162 2163# Do 'set' in a subshell so we don't clobber the current shell's 2164# arguments. Must try -L first in case configure is actually a 2165# symlink; some systems play weird games with the mod time of symlinks 2166# (eg FreeBSD returns the mod time of the symlink's containing 2167# directory). 2168if ( 2169 am_has_slept=no 2170 for am_try in 1 2; do 2171 echo "timestamp, slept: $am_has_slept" > conftest.file 2172 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2173 if test "$*" = "X"; then 2174 # -L didn't work. 2175 set X `ls -t "$srcdir/configure" conftest.file` 2176 fi 2177 if test "$*" != "X $srcdir/configure conftest.file" \ 2178 && test "$*" != "X conftest.file $srcdir/configure"; then 2179 2180 # If neither matched, then we have a broken ls. This can happen 2181 # if, for instance, CONFIG_SHELL is bash and it inherits a 2182 # broken ls alias from the environment. This has actually 2183 # happened. Such a system could not be considered "sane". 2184 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2185 alias in your environment" "$LINENO" 5 2186 fi 2187 if test "$2" = conftest.file || test $am_try -eq 2; then 2188 break 2189 fi 2190 # Just in case. 2191 sleep 1 2192 am_has_slept=yes 2193 done 2194 test "$2" = conftest.file 2195 ) 2196then 2197 # Ok. 2198 : 2199else 2200 as_fn_error $? "newly created file is older than distributed files! 2201Check your system clock" "$LINENO" 5 2202fi 2203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2204$as_echo "yes" >&6; } 2205# If we didn't sleep, we still need to ensure time stamps of config.status and 2206# generated files are strictly newer. 2207am_sleep_pid= 2208if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2209 ( sleep 1 ) & 2210 am_sleep_pid=$! 2211fi 2212 2213rm -f conftest.file 2214 2215test "$program_prefix" != NONE && 2216 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2217# Use a double $ so make ignores it. 2218test "$program_suffix" != NONE && 2219 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2220# Double any \ or $. 2221# By default was `s,x,x', remove it if useless. 2222ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2223program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2224 2225# Expand $ac_aux_dir to an absolute path. 2226am_aux_dir=`cd "$ac_aux_dir" && pwd` 2227 2228if test x"${MISSING+set}" != xset; then 2229 case $am_aux_dir in 2230 *\ * | *\ *) 2231 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2232 *) 2233 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2234 esac 2235fi 2236# Use eval to expand $SHELL 2237if eval "$MISSING --is-lightweight"; then 2238 am_missing_run="$MISSING " 2239else 2240 am_missing_run= 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2242$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2243fi 2244 2245if test x"${install_sh+set}" != xset; then 2246 case $am_aux_dir in 2247 *\ * | *\ *) 2248 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2249 *) 2250 install_sh="\${SHELL} $am_aux_dir/install-sh" 2251 esac 2252fi 2253 2254# Installed binaries are usually stripped using 'strip' when the user 2255# run "make install-strip". However 'strip' might not be the right 2256# tool to use in cross-compilation environments, therefore Automake 2257# will honor the 'STRIP' environment variable to overrule this program. 2258if test "$cross_compiling" != no; then 2259 if test -n "$ac_tool_prefix"; then 2260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2261set dummy ${ac_tool_prefix}strip; ac_word=$2 2262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2263$as_echo_n "checking for $ac_word... " >&6; } 2264if ${ac_cv_prog_STRIP+:} false; then : 2265 $as_echo_n "(cached) " >&6 2266else 2267 if test -n "$STRIP"; then 2268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2269else 2270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2271for as_dir in $PATH 2272do 2273 IFS=$as_save_IFS 2274 test -z "$as_dir" && as_dir=. 2275 for ac_exec_ext in '' $ac_executable_extensions; do 2276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2277 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2279 break 2 2280 fi 2281done 2282 done 2283IFS=$as_save_IFS 2284 2285fi 2286fi 2287STRIP=$ac_cv_prog_STRIP 2288if test -n "$STRIP"; then 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2290$as_echo "$STRIP" >&6; } 2291else 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2293$as_echo "no" >&6; } 2294fi 2295 2296 2297fi 2298if test -z "$ac_cv_prog_STRIP"; then 2299 ac_ct_STRIP=$STRIP 2300 # Extract the first word of "strip", so it can be a program name with args. 2301set dummy strip; ac_word=$2 2302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2303$as_echo_n "checking for $ac_word... " >&6; } 2304if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2305 $as_echo_n "(cached) " >&6 2306else 2307 if test -n "$ac_ct_STRIP"; then 2308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2309else 2310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2311for as_dir in $PATH 2312do 2313 IFS=$as_save_IFS 2314 test -z "$as_dir" && as_dir=. 2315 for ac_exec_ext in '' $ac_executable_extensions; do 2316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2317 ac_cv_prog_ac_ct_STRIP="strip" 2318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2319 break 2 2320 fi 2321done 2322 done 2323IFS=$as_save_IFS 2324 2325fi 2326fi 2327ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2328if test -n "$ac_ct_STRIP"; then 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2330$as_echo "$ac_ct_STRIP" >&6; } 2331else 2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2333$as_echo "no" >&6; } 2334fi 2335 2336 if test "x$ac_ct_STRIP" = x; then 2337 STRIP=":" 2338 else 2339 case $cross_compiling:$ac_tool_warned in 2340yes:) 2341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2343ac_tool_warned=yes ;; 2344esac 2345 STRIP=$ac_ct_STRIP 2346 fi 2347else 2348 STRIP="$ac_cv_prog_STRIP" 2349fi 2350 2351fi 2352INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2353 2354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2355$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2356if test -z "$MKDIR_P"; then 2357 if ${ac_cv_path_mkdir+:} false; then : 2358 $as_echo_n "(cached) " >&6 2359else 2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2362do 2363 IFS=$as_save_IFS 2364 test -z "$as_dir" && as_dir=. 2365 for ac_prog in mkdir gmkdir; do 2366 for ac_exec_ext in '' $ac_executable_extensions; do 2367 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2368 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2369 'mkdir (GNU coreutils) '* | \ 2370 'mkdir (coreutils) '* | \ 2371 'mkdir (fileutils) '4.1*) 2372 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2373 break 3;; 2374 esac 2375 done 2376 done 2377 done 2378IFS=$as_save_IFS 2379 2380fi 2381 2382 test -d ./--version && rmdir ./--version 2383 if test "${ac_cv_path_mkdir+set}" = set; then 2384 MKDIR_P="$ac_cv_path_mkdir -p" 2385 else 2386 # As a last resort, use the slow shell script. Don't cache a 2387 # value for MKDIR_P within a source directory, because that will 2388 # break other packages using the cache if that directory is 2389 # removed, or if the value is a relative name. 2390 MKDIR_P="$ac_install_sh -d" 2391 fi 2392fi 2393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2394$as_echo "$MKDIR_P" >&6; } 2395 2396for ac_prog in gawk mawk nawk awk 2397do 2398 # Extract the first word of "$ac_prog", so it can be a program name with args. 2399set dummy $ac_prog; ac_word=$2 2400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2401$as_echo_n "checking for $ac_word... " >&6; } 2402if ${ac_cv_prog_AWK+:} false; then : 2403 $as_echo_n "(cached) " >&6 2404else 2405 if test -n "$AWK"; then 2406 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2407else 2408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2409for as_dir in $PATH 2410do 2411 IFS=$as_save_IFS 2412 test -z "$as_dir" && as_dir=. 2413 for ac_exec_ext in '' $ac_executable_extensions; do 2414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2415 ac_cv_prog_AWK="$ac_prog" 2416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2417 break 2 2418 fi 2419done 2420 done 2421IFS=$as_save_IFS 2422 2423fi 2424fi 2425AWK=$ac_cv_prog_AWK 2426if test -n "$AWK"; then 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2428$as_echo "$AWK" >&6; } 2429else 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2431$as_echo "no" >&6; } 2432fi 2433 2434 2435 test -n "$AWK" && break 2436done 2437 2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2439$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2440set x ${MAKE-make} 2441ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2442if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2443 $as_echo_n "(cached) " >&6 2444else 2445 cat >conftest.make <<\_ACEOF 2446SHELL = /bin/sh 2447all: 2448 @echo '@@@%%%=$(MAKE)=@@@%%%' 2449_ACEOF 2450# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2451case `${MAKE-make} -f conftest.make 2>/dev/null` in 2452 *@@@%%%=?*=@@@%%%*) 2453 eval ac_cv_prog_make_${ac_make}_set=yes;; 2454 *) 2455 eval ac_cv_prog_make_${ac_make}_set=no;; 2456esac 2457rm -f conftest.make 2458fi 2459if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2461$as_echo "yes" >&6; } 2462 SET_MAKE= 2463else 2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2465$as_echo "no" >&6; } 2466 SET_MAKE="MAKE=${MAKE-make}" 2467fi 2468 2469rm -rf .tst 2>/dev/null 2470mkdir .tst 2>/dev/null 2471if test -d .tst; then 2472 am__leading_dot=. 2473else 2474 am__leading_dot=_ 2475fi 2476rmdir .tst 2>/dev/null 2477 2478if test "`cd $srcdir && pwd`" != "`pwd`"; then 2479 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2480 # is not polluted with repeated "-I." 2481 am__isrc=' -I$(srcdir)' 2482 # test to see if srcdir already configured 2483 if test -f $srcdir/config.status; then 2484 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2485 fi 2486fi 2487 2488# test whether we have cygpath 2489if test -z "$CYGPATH_W"; then 2490 if (cygpath --version) >/dev/null 2>/dev/null; then 2491 CYGPATH_W='cygpath -w' 2492 else 2493 CYGPATH_W=echo 2494 fi 2495fi 2496 2497 2498# Define the identity of the package. 2499 PACKAGE='mate-backgrounds' 2500 VERSION='1.26.0' 2501 2502 2503cat >>confdefs.h <<_ACEOF 2504#define PACKAGE "$PACKAGE" 2505_ACEOF 2506 2507 2508cat >>confdefs.h <<_ACEOF 2509#define VERSION "$VERSION" 2510_ACEOF 2511 2512# Some tools Automake needs. 2513 2514ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2515 2516 2517AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2518 2519 2520AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2521 2522 2523AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2524 2525 2526MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2527 2528# For better backward compatibility. To be removed once Automake 1.9.x 2529# dies out for good. For more background, see: 2530# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2531# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2532mkdir_p='$(MKDIR_P)' 2533 2534# We need awk for the "check" target (and possibly the TAP driver). The 2535# system "awk" is bad on some platforms. 2536# Always define AMTAR for backward compatibility. Yes, it's still used 2537# in the wild :-( We should find a proper way to deprecate it ... 2538AMTAR='$${TAR-tar}' 2539 2540 2541# We'll loop over all known methods to create a tar archive until one works. 2542_am_tools='gnutar plaintar pax cpio none' 2543 2544# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2545 # There is notably a 21 bits limit for the UID and the GID. In fact, 2546 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2547 # and bug#13588). 2548 am_max_uid=2097151 # 2^21 - 1 2549 am_max_gid=$am_max_uid 2550 # The $UID and $GID variables are not portable, so we need to resort 2551 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2552 # below are definitely unexpected, so allow the users to see them 2553 # (that is, avoid stderr redirection). 2554 am_uid=`id -u || echo unknown` 2555 am_gid=`id -g || echo unknown` 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2557$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2558 if test $am_uid -le $am_max_uid; then 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2560$as_echo "yes" >&6; } 2561 else 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2563$as_echo "no" >&6; } 2564 _am_tools=none 2565 fi 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2567$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2568 if test $am_gid -le $am_max_gid; then 2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2570$as_echo "yes" >&6; } 2571 else 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2573$as_echo "no" >&6; } 2574 _am_tools=none 2575 fi 2576 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2578$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2579 2580 # Go ahead even if we have the value already cached. We do so because we 2581 # need to set the values for the 'am__tar' and 'am__untar' variables. 2582 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2583 2584 for _am_tool in $_am_tools; do 2585 case $_am_tool in 2586 gnutar) 2587 for _am_tar in tar gnutar gtar; do 2588 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2589 ($_am_tar --version) >&5 2>&5 2590 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); } && break 2593 done 2594 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2595 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2596 am__untar="$_am_tar -xf -" 2597 ;; 2598 plaintar) 2599 # Must skip GNU tar: if it does not support --format= it doesn't create 2600 # ustar tarball either. 2601 (tar --version) >/dev/null 2>&1 && continue 2602 am__tar='tar chf - "$$tardir"' 2603 am__tar_='tar chf - "$tardir"' 2604 am__untar='tar xf -' 2605 ;; 2606 pax) 2607 am__tar='pax -L -x ustar -w "$$tardir"' 2608 am__tar_='pax -L -x ustar -w "$tardir"' 2609 am__untar='pax -r' 2610 ;; 2611 cpio) 2612 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2613 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2614 am__untar='cpio -i -H ustar -d' 2615 ;; 2616 none) 2617 am__tar=false 2618 am__tar_=false 2619 am__untar=false 2620 ;; 2621 esac 2622 2623 # If the value was cached, stop now. We just wanted to have am__tar 2624 # and am__untar set. 2625 test -n "${am_cv_prog_tar_ustar}" && break 2626 2627 # tar/untar a dummy directory, and stop if the command works. 2628 rm -rf conftest.dir 2629 mkdir conftest.dir 2630 echo GrepMe > conftest.dir/file 2631 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2632 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2633 ac_status=$? 2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2635 (exit $ac_status); } 2636 rm -rf conftest.dir 2637 if test -s conftest.tar; then 2638 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2639 ($am__untar <conftest.tar) >&5 2>&5 2640 ac_status=$? 2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642 (exit $ac_status); } 2643 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2644 (cat conftest.dir/file) >&5 2>&5 2645 ac_status=$? 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 (exit $ac_status); } 2648 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2649 fi 2650 done 2651 rm -rf conftest.dir 2652 2653 if ${am_cv_prog_tar_ustar+:} false; then : 2654 $as_echo_n "(cached) " >&6 2655else 2656 am_cv_prog_tar_ustar=$_am_tool 2657fi 2658 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2660$as_echo "$am_cv_prog_tar_ustar" >&6; } 2661 2662 2663 2664 2665 2666 2667# POSIX will say in a future version that running "rm -f" with no argument 2668# is OK; and we want to be able to make that assumption in our Makefile 2669# recipes. So use an aggressive probe to check that the usage we want is 2670# actually supported "in the wild" to an acceptable degree. 2671# See automake bug#10828. 2672# To make any issue more visible, cause the running configure to be aborted 2673# by default if the 'rm' program in use doesn't match our expectations; the 2674# user can still override this though. 2675if rm -f && rm -fr && rm -rf; then : OK; else 2676 cat >&2 <<'END' 2677Oops! 2678 2679Your 'rm' program seems unable to run without file operands specified 2680on the command line, even when the '-f' option is present. This is contrary 2681to the behaviour of most rm programs out there, and not conforming with 2682the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2683 2684Please tell bug-automake@gnu.org about your system, including the value 2685of your $PATH and any error possibly output before this message. This 2686can help us improve future automake versions. 2687 2688END 2689 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2690 echo 'Configuration will proceed anyway, since you have set the' >&2 2691 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2692 echo >&2 2693 else 2694 cat >&2 <<'END' 2695Aborting the configuration process, to ensure you take notice of the issue. 2696 2697You can download and install GNU coreutils to get an 'rm' implementation 2698that behaves properly: <https://www.gnu.org/software/coreutils/>. 2699 2700If you want to complete the configuration process using your problematic 2701'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2702to "yes", and re-run configure. 2703 2704END 2705 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2706 fi 2707fi 2708 2709 2710 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2712$as_echo_n "checking for a sed that does not truncate output... " >&6; } 2713if ${ac_cv_path_SED+:} false; then : 2714 $as_echo_n "(cached) " >&6 2715else 2716 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2717 for ac_i in 1 2 3 4 5 6 7; do 2718 ac_script="$ac_script$as_nl$ac_script" 2719 done 2720 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2721 { ac_script=; unset ac_script;} 2722 if test -z "$SED"; then 2723 ac_path_SED_found=false 2724 # Loop through the user's path and test for each of PROGNAME-LIST 2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2726for as_dir in $PATH 2727do 2728 IFS=$as_save_IFS 2729 test -z "$as_dir" && as_dir=. 2730 for ac_prog in sed gsed; do 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2732 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 2733 as_fn_executable_p "$ac_path_SED" || continue 2734# Check for GNU ac_path_SED and select it if it is found. 2735 # Check for GNU $ac_path_SED 2736case `"$ac_path_SED" --version 2>&1` in 2737*GNU*) 2738 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2739*) 2740 ac_count=0 2741 $as_echo_n 0123456789 >"conftest.in" 2742 while : 2743 do 2744 cat "conftest.in" "conftest.in" >"conftest.tmp" 2745 mv "conftest.tmp" "conftest.in" 2746 cp "conftest.in" "conftest.nl" 2747 $as_echo '' >> "conftest.nl" 2748 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2750 as_fn_arith $ac_count + 1 && ac_count=$as_val 2751 if test $ac_count -gt ${ac_path_SED_max-0}; then 2752 # Best one so far, save it but keep looking for a better one 2753 ac_cv_path_SED="$ac_path_SED" 2754 ac_path_SED_max=$ac_count 2755 fi 2756 # 10*(2^10) chars as input seems more than enough 2757 test $ac_count -gt 10 && break 2758 done 2759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2760esac 2761 2762 $ac_path_SED_found && break 3 2763 done 2764 done 2765 done 2766IFS=$as_save_IFS 2767 if test -z "$ac_cv_path_SED"; then 2768 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 2769 fi 2770else 2771 ac_cv_path_SED=$SED 2772fi 2773 2774fi 2775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2776$as_echo "$ac_cv_path_SED" >&6; } 2777 SED="$ac_cv_path_SED" 2778 rm -f conftest.sed 2779 2780 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 2782$as_echo_n "checking whether NLS is requested... " >&6; } 2783 # Check whether --enable-nls was given. 2784if test "${enable_nls+set}" = set; then : 2785 enableval=$enable_nls; USE_NLS=$enableval 2786else 2787 USE_NLS=yes 2788fi 2789 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 2791$as_echo "$USE_NLS" >&6; } 2792 2793 2794 2795 2796 GETTEXT_MACRO_VERSION=0.19 2797 2798 2799 2800 2801# Prepare PATH_SEPARATOR. 2802# The user is always right. 2803if test "${PATH_SEPARATOR+set}" != set; then 2804 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2805 # contains only /bin. Note that ksh looks also at the FPATH variable, 2806 # so we have to set that as well for the test. 2807 PATH_SEPARATOR=: 2808 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2809 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2810 || PATH_SEPARATOR=';' 2811 } 2812fi 2813 2814# Find out how to test for executable files. Don't use a zero-byte file, 2815# as systems may use methods other than mode bits to determine executability. 2816cat >conf$$.file <<_ASEOF 2817#! /bin/sh 2818exit 0 2819_ASEOF 2820chmod +x conf$$.file 2821if test -x conf$$.file >/dev/null 2>&1; then 2822 ac_executable_p="test -x" 2823else 2824 ac_executable_p="test -f" 2825fi 2826rm -f conf$$.file 2827 2828# Extract the first word of "msgfmt", so it can be a program name with args. 2829set dummy msgfmt; ac_word=$2 2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2831$as_echo_n "checking for $ac_word... " >&6; } 2832if ${ac_cv_path_MSGFMT+:} false; then : 2833 $as_echo_n "(cached) " >&6 2834else 2835 case "$MSGFMT" in 2836 [\\/]* | ?:[\\/]*) 2837 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2838 ;; 2839 *) 2840 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2841 for ac_dir in $PATH; do 2842 IFS="$ac_save_IFS" 2843 test -z "$ac_dir" && ac_dir=. 2844 for ac_exec_ext in '' $ac_executable_extensions; do 2845 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2846 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2847 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2848 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2849 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2850 break 2 2851 fi 2852 fi 2853 done 2854 done 2855 IFS="$ac_save_IFS" 2856 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2857 ;; 2858esac 2859fi 2860MSGFMT="$ac_cv_path_MSGFMT" 2861if test "$MSGFMT" != ":"; then 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 2863$as_echo "$MSGFMT" >&6; } 2864else 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2866$as_echo "no" >&6; } 2867fi 2868 2869 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2870set dummy gmsgfmt; ac_word=$2 2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2872$as_echo_n "checking for $ac_word... " >&6; } 2873if ${ac_cv_path_GMSGFMT+:} false; then : 2874 $as_echo_n "(cached) " >&6 2875else 2876 case $GMSGFMT in 2877 [\\/]* | ?:[\\/]*) 2878 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2879 ;; 2880 *) 2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2882for as_dir in $PATH 2883do 2884 IFS=$as_save_IFS 2885 test -z "$as_dir" && as_dir=. 2886 for ac_exec_ext in '' $ac_executable_extensions; do 2887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2888 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2890 break 2 2891 fi 2892done 2893 done 2894IFS=$as_save_IFS 2895 2896 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2897 ;; 2898esac 2899fi 2900GMSGFMT=$ac_cv_path_GMSGFMT 2901if test -n "$GMSGFMT"; then 2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 2903$as_echo "$GMSGFMT" >&6; } 2904else 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2906$as_echo "no" >&6; } 2907fi 2908 2909 2910 2911 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2912 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2913 *) MSGFMT_015=$MSGFMT ;; 2914 esac 2915 2916 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2917 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2918 *) GMSGFMT_015=$GMSGFMT ;; 2919 esac 2920 2921 2922 2923# Prepare PATH_SEPARATOR. 2924# The user is always right. 2925if test "${PATH_SEPARATOR+set}" != set; then 2926 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2927 # contains only /bin. Note that ksh looks also at the FPATH variable, 2928 # so we have to set that as well for the test. 2929 PATH_SEPARATOR=: 2930 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2931 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2932 || PATH_SEPARATOR=';' 2933 } 2934fi 2935 2936# Find out how to test for executable files. Don't use a zero-byte file, 2937# as systems may use methods other than mode bits to determine executability. 2938cat >conf$$.file <<_ASEOF 2939#! /bin/sh 2940exit 0 2941_ASEOF 2942chmod +x conf$$.file 2943if test -x conf$$.file >/dev/null 2>&1; then 2944 ac_executable_p="test -x" 2945else 2946 ac_executable_p="test -f" 2947fi 2948rm -f conf$$.file 2949 2950# Extract the first word of "xgettext", so it can be a program name with args. 2951set dummy xgettext; ac_word=$2 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2953$as_echo_n "checking for $ac_word... " >&6; } 2954if ${ac_cv_path_XGETTEXT+:} false; then : 2955 $as_echo_n "(cached) " >&6 2956else 2957 case "$XGETTEXT" in 2958 [\\/]* | ?:[\\/]*) 2959 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2960 ;; 2961 *) 2962 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2963 for ac_dir in $PATH; do 2964 IFS="$ac_save_IFS" 2965 test -z "$ac_dir" && ac_dir=. 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2968 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2969 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2970 (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 2971 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2972 break 2 2973 fi 2974 fi 2975 done 2976 done 2977 IFS="$ac_save_IFS" 2978 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2979 ;; 2980esac 2981fi 2982XGETTEXT="$ac_cv_path_XGETTEXT" 2983if test "$XGETTEXT" != ":"; then 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 2985$as_echo "$XGETTEXT" >&6; } 2986else 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2988$as_echo "no" >&6; } 2989fi 2990 2991 rm -f messages.po 2992 2993 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2994 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2995 *) XGETTEXT_015=$XGETTEXT ;; 2996 esac 2997 2998 2999 3000# Prepare PATH_SEPARATOR. 3001# The user is always right. 3002if test "${PATH_SEPARATOR+set}" != set; then 3003 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 3004 # contains only /bin. Note that ksh looks also at the FPATH variable, 3005 # so we have to set that as well for the test. 3006 PATH_SEPARATOR=: 3007 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 3008 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 3009 || PATH_SEPARATOR=';' 3010 } 3011fi 3012 3013# Find out how to test for executable files. Don't use a zero-byte file, 3014# as systems may use methods other than mode bits to determine executability. 3015cat >conf$$.file <<_ASEOF 3016#! /bin/sh 3017exit 0 3018_ASEOF 3019chmod +x conf$$.file 3020if test -x conf$$.file >/dev/null 2>&1; then 3021 ac_executable_p="test -x" 3022else 3023 ac_executable_p="test -f" 3024fi 3025rm -f conf$$.file 3026 3027# Extract the first word of "msgmerge", so it can be a program name with args. 3028set dummy msgmerge; ac_word=$2 3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3030$as_echo_n "checking for $ac_word... " >&6; } 3031if ${ac_cv_path_MSGMERGE+:} false; then : 3032 $as_echo_n "(cached) " >&6 3033else 3034 case "$MSGMERGE" in 3035 [\\/]* | ?:[\\/]*) 3036 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3037 ;; 3038 *) 3039 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 3040 for ac_dir in $PATH; do 3041 IFS="$ac_save_IFS" 3042 test -z "$ac_dir" && ac_dir=. 3043 for ac_exec_ext in '' $ac_executable_extensions; do 3044 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 3045 echo "$as_me: trying $ac_dir/$ac_word..." >&5 3046 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 3047 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 3048 break 2 3049 fi 3050 fi 3051 done 3052 done 3053 IFS="$ac_save_IFS" 3054 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 3055 ;; 3056esac 3057fi 3058MSGMERGE="$ac_cv_path_MSGMERGE" 3059if test "$MSGMERGE" != ":"; then 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 3061$as_echo "$MSGMERGE" >&6; } 3062else 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064$as_echo "no" >&6; } 3065fi 3066 3067 3068 test -n "$localedir" || localedir='${datadir}/locale' 3069 3070 3071 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 3072 3073 3074 ac_config_commands="$ac_config_commands po-directories" 3075 3076 3077 3078 if test "X$prefix" = "XNONE"; then 3079 acl_final_prefix="$ac_default_prefix" 3080 else 3081 acl_final_prefix="$prefix" 3082 fi 3083 if test "X$exec_prefix" = "XNONE"; then 3084 acl_final_exec_prefix='${prefix}' 3085 else 3086 acl_final_exec_prefix="$exec_prefix" 3087 fi 3088 acl_save_prefix="$prefix" 3089 prefix="$acl_final_prefix" 3090 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 3091 prefix="$acl_save_prefix" 3092 3093DEPDIR="${am__leading_dot}deps" 3094 3095ac_config_commands="$ac_config_commands depfiles" 3096 3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3098$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3099cat > confinc.mk << 'END' 3100am__doit: 3101 @echo this is the am__doit target >confinc.out 3102.PHONY: am__doit 3103END 3104am__include="#" 3105am__quote= 3106# BSD make does it like this. 3107echo '.include "confinc.mk" # ignored' > confmf.BSD 3108# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3109echo 'include confinc.mk # ignored' > confmf.GNU 3110_am_result=no 3111for s in GNU BSD; do 3112 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3113 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3114 ac_status=$? 3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3116 (exit $ac_status); } 3117 case $?:`cat confinc.out 2>/dev/null` in #( 3118 '0:this is the am__doit target') : 3119 case $s in #( 3120 BSD) : 3121 am__include='.include' am__quote='"' ;; #( 3122 *) : 3123 am__include='include' am__quote='' ;; 3124esac ;; #( 3125 *) : 3126 ;; 3127esac 3128 if test "$am__include" != "#"; then 3129 _am_result="yes ($s style)" 3130 break 3131 fi 3132done 3133rm -f confinc.* confmf.* 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3135$as_echo "${_am_result}" >&6; } 3136 3137# Check whether --enable-dependency-tracking was given. 3138if test "${enable_dependency_tracking+set}" = set; then : 3139 enableval=$enable_dependency_tracking; 3140fi 3141 3142if test "x$enable_dependency_tracking" != xno; then 3143 am_depcomp="$ac_aux_dir/depcomp" 3144 AMDEPBACKSLASH='\' 3145 am__nodep='_no' 3146fi 3147 if test "x$enable_dependency_tracking" != xno; then 3148 AMDEP_TRUE= 3149 AMDEP_FALSE='#' 3150else 3151 AMDEP_TRUE='#' 3152 AMDEP_FALSE= 3153fi 3154 3155 3156ac_ext=c 3157ac_cpp='$CPP $CPPFLAGS' 3158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3160ac_compiler_gnu=$ac_cv_c_compiler_gnu 3161if test -n "$ac_tool_prefix"; then 3162 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3163set dummy ${ac_tool_prefix}gcc; ac_word=$2 3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3165$as_echo_n "checking for $ac_word... " >&6; } 3166if ${ac_cv_prog_CC+:} false; then : 3167 $as_echo_n "(cached) " >&6 3168else 3169 if test -n "$CC"; then 3170 ac_cv_prog_CC="$CC" # Let the user override the test. 3171else 3172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3173for as_dir in $PATH 3174do 3175 IFS=$as_save_IFS 3176 test -z "$as_dir" && as_dir=. 3177 for ac_exec_ext in '' $ac_executable_extensions; do 3178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3179 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3181 break 2 3182 fi 3183done 3184 done 3185IFS=$as_save_IFS 3186 3187fi 3188fi 3189CC=$ac_cv_prog_CC 3190if test -n "$CC"; then 3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3192$as_echo "$CC" >&6; } 3193else 3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3195$as_echo "no" >&6; } 3196fi 3197 3198 3199fi 3200if test -z "$ac_cv_prog_CC"; then 3201 ac_ct_CC=$CC 3202 # Extract the first word of "gcc", so it can be a program name with args. 3203set dummy gcc; ac_word=$2 3204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3205$as_echo_n "checking for $ac_word... " >&6; } 3206if ${ac_cv_prog_ac_ct_CC+:} false; then : 3207 $as_echo_n "(cached) " >&6 3208else 3209 if test -n "$ac_ct_CC"; then 3210 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3211else 3212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3213for as_dir in $PATH 3214do 3215 IFS=$as_save_IFS 3216 test -z "$as_dir" && as_dir=. 3217 for ac_exec_ext in '' $ac_executable_extensions; do 3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3219 ac_cv_prog_ac_ct_CC="gcc" 3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3221 break 2 3222 fi 3223done 3224 done 3225IFS=$as_save_IFS 3226 3227fi 3228fi 3229ac_ct_CC=$ac_cv_prog_ac_ct_CC 3230if test -n "$ac_ct_CC"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3232$as_echo "$ac_ct_CC" >&6; } 3233else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3235$as_echo "no" >&6; } 3236fi 3237 3238 if test "x$ac_ct_CC" = x; then 3239 CC="" 3240 else 3241 case $cross_compiling:$ac_tool_warned in 3242yes:) 3243{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3245ac_tool_warned=yes ;; 3246esac 3247 CC=$ac_ct_CC 3248 fi 3249else 3250 CC="$ac_cv_prog_CC" 3251fi 3252 3253if test -z "$CC"; then 3254 if test -n "$ac_tool_prefix"; then 3255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3256set dummy ${ac_tool_prefix}cc; ac_word=$2 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3258$as_echo_n "checking for $ac_word... " >&6; } 3259if ${ac_cv_prog_CC+:} false; then : 3260 $as_echo_n "(cached) " >&6 3261else 3262 if test -n "$CC"; then 3263 ac_cv_prog_CC="$CC" # Let the user override the test. 3264else 3265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3266for as_dir in $PATH 3267do 3268 IFS=$as_save_IFS 3269 test -z "$as_dir" && as_dir=. 3270 for ac_exec_ext in '' $ac_executable_extensions; do 3271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3272 ac_cv_prog_CC="${ac_tool_prefix}cc" 3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3274 break 2 3275 fi 3276done 3277 done 3278IFS=$as_save_IFS 3279 3280fi 3281fi 3282CC=$ac_cv_prog_CC 3283if test -n "$CC"; then 3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3285$as_echo "$CC" >&6; } 3286else 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3288$as_echo "no" >&6; } 3289fi 3290 3291 3292 fi 3293fi 3294if test -z "$CC"; then 3295 # Extract the first word of "cc", so it can be a program name with args. 3296set dummy cc; ac_word=$2 3297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3298$as_echo_n "checking for $ac_word... " >&6; } 3299if ${ac_cv_prog_CC+:} false; then : 3300 $as_echo_n "(cached) " >&6 3301else 3302 if test -n "$CC"; then 3303 ac_cv_prog_CC="$CC" # Let the user override the test. 3304else 3305 ac_prog_rejected=no 3306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3307for as_dir in $PATH 3308do 3309 IFS=$as_save_IFS 3310 test -z "$as_dir" && as_dir=. 3311 for ac_exec_ext in '' $ac_executable_extensions; do 3312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3314 ac_prog_rejected=yes 3315 continue 3316 fi 3317 ac_cv_prog_CC="cc" 3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3319 break 2 3320 fi 3321done 3322 done 3323IFS=$as_save_IFS 3324 3325if test $ac_prog_rejected = yes; then 3326 # We found a bogon in the path, so make sure we never use it. 3327 set dummy $ac_cv_prog_CC 3328 shift 3329 if test $# != 0; then 3330 # We chose a different compiler from the bogus one. 3331 # However, it has the same basename, so the bogon will be chosen 3332 # first if we set CC to just the basename; use the full file name. 3333 shift 3334 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3335 fi 3336fi 3337fi 3338fi 3339CC=$ac_cv_prog_CC 3340if test -n "$CC"; then 3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3342$as_echo "$CC" >&6; } 3343else 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3345$as_echo "no" >&6; } 3346fi 3347 3348 3349fi 3350if test -z "$CC"; then 3351 if test -n "$ac_tool_prefix"; then 3352 for ac_prog in cl.exe 3353 do 3354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3355set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3357$as_echo_n "checking for $ac_word... " >&6; } 3358if ${ac_cv_prog_CC+:} false; then : 3359 $as_echo_n "(cached) " >&6 3360else 3361 if test -n "$CC"; then 3362 ac_cv_prog_CC="$CC" # Let the user override the test. 3363else 3364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3365for as_dir in $PATH 3366do 3367 IFS=$as_save_IFS 3368 test -z "$as_dir" && as_dir=. 3369 for ac_exec_ext in '' $ac_executable_extensions; do 3370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3373 break 2 3374 fi 3375done 3376 done 3377IFS=$as_save_IFS 3378 3379fi 3380fi 3381CC=$ac_cv_prog_CC 3382if test -n "$CC"; then 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3384$as_echo "$CC" >&6; } 3385else 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3387$as_echo "no" >&6; } 3388fi 3389 3390 3391 test -n "$CC" && break 3392 done 3393fi 3394if test -z "$CC"; then 3395 ac_ct_CC=$CC 3396 for ac_prog in cl.exe 3397do 3398 # Extract the first word of "$ac_prog", so it can be a program name with args. 3399set dummy $ac_prog; ac_word=$2 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401$as_echo_n "checking for $ac_word... " >&6; } 3402if ${ac_cv_prog_ac_ct_CC+:} false; then : 3403 $as_echo_n "(cached) " >&6 3404else 3405 if test -n "$ac_ct_CC"; then 3406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3407else 3408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3409for as_dir in $PATH 3410do 3411 IFS=$as_save_IFS 3412 test -z "$as_dir" && as_dir=. 3413 for ac_exec_ext in '' $ac_executable_extensions; do 3414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3415 ac_cv_prog_ac_ct_CC="$ac_prog" 3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3417 break 2 3418 fi 3419done 3420 done 3421IFS=$as_save_IFS 3422 3423fi 3424fi 3425ac_ct_CC=$ac_cv_prog_ac_ct_CC 3426if test -n "$ac_ct_CC"; then 3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3428$as_echo "$ac_ct_CC" >&6; } 3429else 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431$as_echo "no" >&6; } 3432fi 3433 3434 3435 test -n "$ac_ct_CC" && break 3436done 3437 3438 if test "x$ac_ct_CC" = x; then 3439 CC="" 3440 else 3441 case $cross_compiling:$ac_tool_warned in 3442yes:) 3443{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3444$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3445ac_tool_warned=yes ;; 3446esac 3447 CC=$ac_ct_CC 3448 fi 3449fi 3450 3451fi 3452 3453 3454test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3455$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3456as_fn_error $? "no acceptable C compiler found in \$PATH 3457See \`config.log' for more details" "$LINENO" 5; } 3458 3459# Provide some information about the compiler. 3460$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3461set X $ac_compile 3462ac_compiler=$2 3463for ac_option in --version -v -V -qversion; do 3464 { { ac_try="$ac_compiler $ac_option >&5" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470$as_echo "$ac_try_echo"; } >&5 3471 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3472 ac_status=$? 3473 if test -s conftest.err; then 3474 sed '10a\ 3475... rest of stderr output deleted ... 3476 10q' conftest.err >conftest.er1 3477 cat conftest.er1 >&5 3478 fi 3479 rm -f conftest.er1 conftest.err 3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3481 test $ac_status = 0; } 3482done 3483 3484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3485/* end confdefs.h. */ 3486 3487int 3488main () 3489{ 3490 3491 ; 3492 return 0; 3493} 3494_ACEOF 3495ac_clean_files_save=$ac_clean_files 3496ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3497# Try to create an executable without -o first, disregard a.out. 3498# It will help us diagnose broken compilers, and finding out an intuition 3499# of exeext. 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3501$as_echo_n "checking whether the C compiler works... " >&6; } 3502ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3503 3504# The possible output files: 3505ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3506 3507ac_rmfiles= 3508for ac_file in $ac_files 3509do 3510 case $ac_file in 3511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3512 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3513 esac 3514done 3515rm -f $ac_rmfiles 3516 3517if { { ac_try="$ac_link_default" 3518case "(($ac_try" in 3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3520 *) ac_try_echo=$ac_try;; 3521esac 3522eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3523$as_echo "$ac_try_echo"; } >&5 3524 (eval "$ac_link_default") 2>&5 3525 ac_status=$? 3526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3527 test $ac_status = 0; }; then : 3528 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3529# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3530# in a Makefile. We should not override ac_cv_exeext if it was cached, 3531# so that the user can short-circuit this test for compilers unknown to 3532# Autoconf. 3533for ac_file in $ac_files '' 3534do 3535 test -f "$ac_file" || continue 3536 case $ac_file in 3537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3538 ;; 3539 [ab].out ) 3540 # We found the default executable, but exeext='' is most 3541 # certainly right. 3542 break;; 3543 *.* ) 3544 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3545 then :; else 3546 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3547 fi 3548 # We set ac_cv_exeext here because the later test for it is not 3549 # safe: cross compilers may not add the suffix if given an `-o' 3550 # argument, so we may need to know it at that point already. 3551 # Even if this section looks crufty: it has the advantage of 3552 # actually working. 3553 break;; 3554 * ) 3555 break;; 3556 esac 3557done 3558test "$ac_cv_exeext" = no && ac_cv_exeext= 3559 3560else 3561 ac_file='' 3562fi 3563if test -z "$ac_file"; then : 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3565$as_echo "no" >&6; } 3566$as_echo "$as_me: failed program was:" >&5 3567sed 's/^/| /' conftest.$ac_ext >&5 3568 3569{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3570$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3571as_fn_error 77 "C compiler cannot create executables 3572See \`config.log' for more details" "$LINENO" 5; } 3573else 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3575$as_echo "yes" >&6; } 3576fi 3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3578$as_echo_n "checking for C compiler default output file name... " >&6; } 3579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3580$as_echo "$ac_file" >&6; } 3581ac_exeext=$ac_cv_exeext 3582 3583rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3584ac_clean_files=$ac_clean_files_save 3585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3586$as_echo_n "checking for suffix of executables... " >&6; } 3587if { { ac_try="$ac_link" 3588case "(($ac_try" in 3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3590 *) ac_try_echo=$ac_try;; 3591esac 3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3593$as_echo "$ac_try_echo"; } >&5 3594 (eval "$ac_link") 2>&5 3595 ac_status=$? 3596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3597 test $ac_status = 0; }; then : 3598 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3599# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3600# work properly (i.e., refer to `conftest.exe'), while it won't with 3601# `rm'. 3602for ac_file in conftest.exe conftest conftest.*; do 3603 test -f "$ac_file" || continue 3604 case $ac_file in 3605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3606 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3607 break;; 3608 * ) break;; 3609 esac 3610done 3611else 3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3614as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3615See \`config.log' for more details" "$LINENO" 5; } 3616fi 3617rm -f conftest conftest$ac_cv_exeext 3618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3619$as_echo "$ac_cv_exeext" >&6; } 3620 3621rm -f conftest.$ac_ext 3622EXEEXT=$ac_cv_exeext 3623ac_exeext=$EXEEXT 3624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3625/* end confdefs.h. */ 3626#include <stdio.h> 3627int 3628main () 3629{ 3630FILE *f = fopen ("conftest.out", "w"); 3631 return ferror (f) || fclose (f) != 0; 3632 3633 ; 3634 return 0; 3635} 3636_ACEOF 3637ac_clean_files="$ac_clean_files conftest.out" 3638# Check that the compiler produces executables we can run. If not, either 3639# the compiler is broken, or we cross compile. 3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3641$as_echo_n "checking whether we are cross compiling... " >&6; } 3642if test "$cross_compiling" != yes; then 3643 { { ac_try="$ac_link" 3644case "(($ac_try" in 3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3646 *) ac_try_echo=$ac_try;; 3647esac 3648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3649$as_echo "$ac_try_echo"; } >&5 3650 (eval "$ac_link") 2>&5 3651 ac_status=$? 3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3653 test $ac_status = 0; } 3654 if { ac_try='./conftest$ac_cv_exeext' 3655 { { case "(($ac_try" in 3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3657 *) ac_try_echo=$ac_try;; 3658esac 3659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3660$as_echo "$ac_try_echo"; } >&5 3661 (eval "$ac_try") 2>&5 3662 ac_status=$? 3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3664 test $ac_status = 0; }; }; then 3665 cross_compiling=no 3666 else 3667 if test "$cross_compiling" = maybe; then 3668 cross_compiling=yes 3669 else 3670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3671$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3672as_fn_error $? "cannot run C compiled programs. 3673If you meant to cross compile, use \`--host'. 3674See \`config.log' for more details" "$LINENO" 5; } 3675 fi 3676 fi 3677fi 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3679$as_echo "$cross_compiling" >&6; } 3680 3681rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3682ac_clean_files=$ac_clean_files_save 3683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3684$as_echo_n "checking for suffix of object files... " >&6; } 3685if ${ac_cv_objext+:} false; then : 3686 $as_echo_n "(cached) " >&6 3687else 3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3689/* end confdefs.h. */ 3690 3691int 3692main () 3693{ 3694 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699rm -f conftest.o conftest.obj 3700if { { ac_try="$ac_compile" 3701case "(($ac_try" in 3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3703 *) ac_try_echo=$ac_try;; 3704esac 3705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3706$as_echo "$ac_try_echo"; } >&5 3707 (eval "$ac_compile") 2>&5 3708 ac_status=$? 3709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3710 test $ac_status = 0; }; then : 3711 for ac_file in conftest.o conftest.obj conftest.*; do 3712 test -f "$ac_file" || continue; 3713 case $ac_file in 3714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3715 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3716 break;; 3717 esac 3718done 3719else 3720 $as_echo "$as_me: failed program was:" >&5 3721sed 's/^/| /' conftest.$ac_ext >&5 3722 3723{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3725as_fn_error $? "cannot compute suffix of object files: cannot compile 3726See \`config.log' for more details" "$LINENO" 5; } 3727fi 3728rm -f conftest.$ac_cv_objext conftest.$ac_ext 3729fi 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3731$as_echo "$ac_cv_objext" >&6; } 3732OBJEXT=$ac_cv_objext 3733ac_objext=$OBJEXT 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3735$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3736if ${ac_cv_c_compiler_gnu+:} false; then : 3737 $as_echo_n "(cached) " >&6 3738else 3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3740/* end confdefs.h. */ 3741 3742int 3743main () 3744{ 3745#ifndef __GNUC__ 3746 choke me 3747#endif 3748 3749 ; 3750 return 0; 3751} 3752_ACEOF 3753if ac_fn_c_try_compile "$LINENO"; then : 3754 ac_compiler_gnu=yes 3755else 3756 ac_compiler_gnu=no 3757fi 3758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3759ac_cv_c_compiler_gnu=$ac_compiler_gnu 3760 3761fi 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3763$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3764if test $ac_compiler_gnu = yes; then 3765 GCC=yes 3766else 3767 GCC= 3768fi 3769ac_test_CFLAGS=${CFLAGS+set} 3770ac_save_CFLAGS=$CFLAGS 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3772$as_echo_n "checking whether $CC accepts -g... " >&6; } 3773if ${ac_cv_prog_cc_g+:} false; then : 3774 $as_echo_n "(cached) " >&6 3775else 3776 ac_save_c_werror_flag=$ac_c_werror_flag 3777 ac_c_werror_flag=yes 3778 ac_cv_prog_cc_g=no 3779 CFLAGS="-g" 3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3781/* end confdefs.h. */ 3782 3783int 3784main () 3785{ 3786 3787 ; 3788 return 0; 3789} 3790_ACEOF 3791if ac_fn_c_try_compile "$LINENO"; then : 3792 ac_cv_prog_cc_g=yes 3793else 3794 CFLAGS="" 3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3796/* end confdefs.h. */ 3797 3798int 3799main () 3800{ 3801 3802 ; 3803 return 0; 3804} 3805_ACEOF 3806if ac_fn_c_try_compile "$LINENO"; then : 3807 3808else 3809 ac_c_werror_flag=$ac_save_c_werror_flag 3810 CFLAGS="-g" 3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3812/* end confdefs.h. */ 3813 3814int 3815main () 3816{ 3817 3818 ; 3819 return 0; 3820} 3821_ACEOF 3822if ac_fn_c_try_compile "$LINENO"; then : 3823 ac_cv_prog_cc_g=yes 3824fi 3825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3826fi 3827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3828fi 3829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3830 ac_c_werror_flag=$ac_save_c_werror_flag 3831fi 3832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3833$as_echo "$ac_cv_prog_cc_g" >&6; } 3834if test "$ac_test_CFLAGS" = set; then 3835 CFLAGS=$ac_save_CFLAGS 3836elif test $ac_cv_prog_cc_g = yes; then 3837 if test "$GCC" = yes; then 3838 CFLAGS="-g -O2" 3839 else 3840 CFLAGS="-g" 3841 fi 3842else 3843 if test "$GCC" = yes; then 3844 CFLAGS="-O2" 3845 else 3846 CFLAGS= 3847 fi 3848fi 3849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3850$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3851if ${ac_cv_prog_cc_c89+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853else 3854 ac_cv_prog_cc_c89=no 3855ac_save_CC=$CC 3856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3857/* end confdefs.h. */ 3858#include <stdarg.h> 3859#include <stdio.h> 3860struct stat; 3861/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3862struct buf { int x; }; 3863FILE * (*rcsopen) (struct buf *, struct stat *, int); 3864static char *e (p, i) 3865 char **p; 3866 int i; 3867{ 3868 return p[i]; 3869} 3870static char *f (char * (*g) (char **, int), char **p, ...) 3871{ 3872 char *s; 3873 va_list v; 3874 va_start (v,p); 3875 s = g (p, va_arg (v,int)); 3876 va_end (v); 3877 return s; 3878} 3879 3880/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3881 function prototypes and stuff, but not '\xHH' hex character constants. 3882 These don't provoke an error unfortunately, instead are silently treated 3883 as 'x'. The following induces an error, until -std is added to get 3884 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3885 array size at least. It's necessary to write '\x00'==0 to get something 3886 that's true only with -std. */ 3887int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3888 3889/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3890 inside strings and character constants. */ 3891#define FOO(x) 'x' 3892int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3893 3894int test (int i, double x); 3895struct s1 {int (*f) (int a);}; 3896struct s2 {int (*f) (double a);}; 3897int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3898int argc; 3899char **argv; 3900int 3901main () 3902{ 3903return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3904 ; 3905 return 0; 3906} 3907_ACEOF 3908for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3909 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3910do 3911 CC="$ac_save_CC $ac_arg" 3912 if ac_fn_c_try_compile "$LINENO"; then : 3913 ac_cv_prog_cc_c89=$ac_arg 3914fi 3915rm -f core conftest.err conftest.$ac_objext 3916 test "x$ac_cv_prog_cc_c89" != "xno" && break 3917done 3918rm -f conftest.$ac_ext 3919CC=$ac_save_CC 3920 3921fi 3922# AC_CACHE_VAL 3923case "x$ac_cv_prog_cc_c89" in 3924 x) 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3926$as_echo "none needed" >&6; } ;; 3927 xno) 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3929$as_echo "unsupported" >&6; } ;; 3930 *) 3931 CC="$CC $ac_cv_prog_cc_c89" 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3933$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3934esac 3935if test "x$ac_cv_prog_cc_c89" != xno; then : 3936 3937fi 3938 3939ac_ext=c 3940ac_cpp='$CPP $CPPFLAGS' 3941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3943ac_compiler_gnu=$ac_cv_c_compiler_gnu 3944 3945ac_ext=c 3946ac_cpp='$CPP $CPPFLAGS' 3947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3949ac_compiler_gnu=$ac_cv_c_compiler_gnu 3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3951$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3952if ${am_cv_prog_cc_c_o+:} false; then : 3953 $as_echo_n "(cached) " >&6 3954else 3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956/* end confdefs.h. */ 3957 3958int 3959main () 3960{ 3961 3962 ; 3963 return 0; 3964} 3965_ACEOF 3966 # Make sure it works both with $CC and with simple cc. 3967 # Following AC_PROG_CC_C_O, we do the test twice because some 3968 # compilers refuse to overwrite an existing .o file with -o, 3969 # though they will create one. 3970 am_cv_prog_cc_c_o=yes 3971 for am_i in 1 2; do 3972 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3973 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3974 ac_status=$? 3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3976 (exit $ac_status); } \ 3977 && test -f conftest2.$ac_objext; then 3978 : OK 3979 else 3980 am_cv_prog_cc_c_o=no 3981 break 3982 fi 3983 done 3984 rm -f core conftest* 3985 unset am_i 3986fi 3987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3988$as_echo "$am_cv_prog_cc_c_o" >&6; } 3989if test "$am_cv_prog_cc_c_o" != yes; then 3990 # Losing compiler, so override with the script. 3991 # FIXME: It is wrong to rewrite CC. 3992 # But if we don't then we get into trouble of one sort or another. 3993 # A longer-term fix would be to have automake use am__CC in this case, 3994 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3995 CC="$am_aux_dir/compile $CC" 3996fi 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 4003 4004depcc="$CC" am_compiler_list= 4005 4006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4007$as_echo_n "checking dependency style of $depcc... " >&6; } 4008if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4009 $as_echo_n "(cached) " >&6 4010else 4011 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4012 # We make a subdir and do the tests there. Otherwise we can end up 4013 # making bogus files that we don't know about and never remove. For 4014 # instance it was reported that on HP-UX the gcc test will end up 4015 # making a dummy file named 'D' -- because '-MD' means "put the output 4016 # in D". 4017 rm -rf conftest.dir 4018 mkdir conftest.dir 4019 # Copy depcomp to subdir because otherwise we won't find it if we're 4020 # using a relative directory. 4021 cp "$am_depcomp" conftest.dir 4022 cd conftest.dir 4023 # We will build objects and dependencies in a subdirectory because 4024 # it helps to detect inapplicable dependency modes. For instance 4025 # both Tru64's cc and ICC support -MD to output dependencies as a 4026 # side effect of compilation, but ICC will put the dependencies in 4027 # the current directory while Tru64 will put them in the object 4028 # directory. 4029 mkdir sub 4030 4031 am_cv_CC_dependencies_compiler_type=none 4032 if test "$am_compiler_list" = ""; then 4033 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4034 fi 4035 am__universal=false 4036 case " $depcc " in #( 4037 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4038 esac 4039 4040 for depmode in $am_compiler_list; do 4041 # Setup a source with many dependencies, because some compilers 4042 # like to wrap large dependency lists on column 80 (with \), and 4043 # we should not choose a depcomp mode which is confused by this. 4044 # 4045 # We need to recreate these files for each test, as the compiler may 4046 # overwrite some of them when testing with obscure command lines. 4047 # This happens at least with the AIX C compiler. 4048 : > sub/conftest.c 4049 for i in 1 2 3 4 5 6; do 4050 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4051 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4052 # Solaris 10 /bin/sh. 4053 echo '/* dummy */' > sub/conftst$i.h 4054 done 4055 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4056 4057 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4058 # mode. It turns out that the SunPro C++ compiler does not properly 4059 # handle '-M -o', and we need to detect this. Also, some Intel 4060 # versions had trouble with output in subdirs. 4061 am__obj=sub/conftest.${OBJEXT-o} 4062 am__minus_obj="-o $am__obj" 4063 case $depmode in 4064 gcc) 4065 # This depmode causes a compiler race in universal mode. 4066 test "$am__universal" = false || continue 4067 ;; 4068 nosideeffect) 4069 # After this tag, mechanisms are not by side-effect, so they'll 4070 # only be used when explicitly requested. 4071 if test "x$enable_dependency_tracking" = xyes; then 4072 continue 4073 else 4074 break 4075 fi 4076 ;; 4077 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4078 # This compiler won't grok '-c -o', but also, the minuso test has 4079 # not run yet. These depmodes are late enough in the game, and 4080 # so weak that their functioning should not be impacted. 4081 am__obj=conftest.${OBJEXT-o} 4082 am__minus_obj= 4083 ;; 4084 none) break ;; 4085 esac 4086 if depmode=$depmode \ 4087 source=sub/conftest.c object=$am__obj \ 4088 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4089 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4090 >/dev/null 2>conftest.err && 4091 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4092 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4093 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4094 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4095 # icc doesn't choke on unknown options, it will just issue warnings 4096 # or remarks (even with -Werror). So we grep stderr for any message 4097 # that says an option was ignored or not supported. 4098 # When given -MP, icc 7.0 and 7.1 complain thusly: 4099 # icc: Command line warning: ignoring option '-M'; no argument required 4100 # The diagnosis changed in icc 8.0: 4101 # icc: Command line remark: option '-MP' not supported 4102 if (grep 'ignoring option' conftest.err || 4103 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4104 am_cv_CC_dependencies_compiler_type=$depmode 4105 break 4106 fi 4107 fi 4108 done 4109 4110 cd .. 4111 rm -rf conftest.dir 4112else 4113 am_cv_CC_dependencies_compiler_type=none 4114fi 4115 4116fi 4117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4118$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4119CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4120 4121 if 4122 test "x$enable_dependency_tracking" != xno \ 4123 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4124 am__fastdepCC_TRUE= 4125 am__fastdepCC_FALSE='#' 4126else 4127 am__fastdepCC_TRUE='#' 4128 am__fastdepCC_FALSE= 4129fi 4130 4131 4132# Make sure we can run config.sub. 4133$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4134 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4135 4136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4137$as_echo_n "checking build system type... " >&6; } 4138if ${ac_cv_build+:} false; then : 4139 $as_echo_n "(cached) " >&6 4140else 4141 ac_build_alias=$build_alias 4142test "x$ac_build_alias" = x && 4143 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4144test "x$ac_build_alias" = x && 4145 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4146ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4147 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4148 4149fi 4150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4151$as_echo "$ac_cv_build" >&6; } 4152case $ac_cv_build in 4153*-*-*) ;; 4154*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4155esac 4156build=$ac_cv_build 4157ac_save_IFS=$IFS; IFS='-' 4158set x $ac_cv_build 4159shift 4160build_cpu=$1 4161build_vendor=$2 4162shift; shift 4163# Remember, the first character of IFS is used to create $*, 4164# except with old shells: 4165build_os=$* 4166IFS=$ac_save_IFS 4167case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4168 4169 4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4171$as_echo_n "checking host system type... " >&6; } 4172if ${ac_cv_host+:} false; then : 4173 $as_echo_n "(cached) " >&6 4174else 4175 if test "x$host_alias" = x; then 4176 ac_cv_host=$ac_cv_build 4177else 4178 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4179 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4180fi 4181 4182fi 4183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4184$as_echo "$ac_cv_host" >&6; } 4185case $ac_cv_host in 4186*-*-*) ;; 4187*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4188esac 4189host=$ac_cv_host 4190ac_save_IFS=$IFS; IFS='-' 4191set x $ac_cv_host 4192shift 4193host_cpu=$1 4194host_vendor=$2 4195shift; shift 4196# Remember, the first character of IFS is used to create $*, 4197# except with old shells: 4198host_os=$* 4199IFS=$ac_save_IFS 4200case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4201 4202 4203 4204 4205# Check whether --with-gnu-ld was given. 4206if test "${with_gnu_ld+set}" = set; then : 4207 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4208else 4209 with_gnu_ld=no 4210fi 4211 4212# Prepare PATH_SEPARATOR. 4213# The user is always right. 4214if test "${PATH_SEPARATOR+set}" != set; then 4215 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 4216 # contains only /bin. Note that ksh looks also at the FPATH variable, 4217 # so we have to set that as well for the test. 4218 PATH_SEPARATOR=: 4219 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 4220 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 4221 || PATH_SEPARATOR=';' 4222 } 4223fi 4224 4225ac_prog=ld 4226if test "$GCC" = yes; then 4227 # Check if gcc -print-prog-name=ld gives a path. 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4229$as_echo_n "checking for ld used by $CC... " >&6; } 4230 case $host in 4231 *-*-mingw*) 4232 # gcc leaves a trailing carriage return which upsets mingw 4233 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4234 *) 4235 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4236 esac 4237 case $ac_prog in 4238 # Accept absolute paths. 4239 [\\/]* | ?:[\\/]*) 4240 re_direlt='/[^/][^/]*/\.\./' 4241 # Canonicalize the pathname of ld 4242 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 4243 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 4244 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 4245 done 4246 test -z "$LD" && LD="$ac_prog" 4247 ;; 4248 "") 4249 # If it fails, then pretend we aren't using GCC. 4250 ac_prog=ld 4251 ;; 4252 *) 4253 # If it is relative, then search for the first ld in PATH. 4254 with_gnu_ld=unknown 4255 ;; 4256 esac 4257elif test "$with_gnu_ld" = yes; then 4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4259$as_echo_n "checking for GNU ld... " >&6; } 4260else 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4262$as_echo_n "checking for non-GNU ld... " >&6; } 4263fi 4264if ${acl_cv_path_LD+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 if test -z "$LD"; then 4268 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4269 for ac_dir in $PATH; do 4270 IFS="$acl_save_ifs" 4271 test -z "$ac_dir" && ac_dir=. 4272 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4273 acl_cv_path_LD="$ac_dir/$ac_prog" 4274 # Check to see if the program is GNU ld. I'd rather use --version, 4275 # but apparently some variants of GNU ld only accept -v. 4276 # Break only if it was the GNU/non-GNU ld that we prefer. 4277 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 4278 *GNU* | *'with BFD'*) 4279 test "$with_gnu_ld" != no && break 4280 ;; 4281 *) 4282 test "$with_gnu_ld" != yes && break 4283 ;; 4284 esac 4285 fi 4286 done 4287 IFS="$acl_save_ifs" 4288else 4289 acl_cv_path_LD="$LD" # Let the user override the test with a path. 4290fi 4291fi 4292 4293LD="$acl_cv_path_LD" 4294if test -n "$LD"; then 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4296$as_echo "$LD" >&6; } 4297else 4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4299$as_echo "no" >&6; } 4300fi 4301test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4303$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4304if ${acl_cv_prog_gnu_ld+:} false; then : 4305 $as_echo_n "(cached) " >&6 4306else 4307 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4308case `$LD -v 2>&1 </dev/null` in 4309*GNU* | *'with BFD'*) 4310 acl_cv_prog_gnu_ld=yes 4311 ;; 4312*) 4313 acl_cv_prog_gnu_ld=no 4314 ;; 4315esac 4316fi 4317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 4318$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4319with_gnu_ld=$acl_cv_prog_gnu_ld 4320 4321 4322 4323 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4325$as_echo_n "checking for shared library run path origin... " >&6; } 4326if ${acl_cv_rpath+:} false; then : 4327 $as_echo_n "(cached) " >&6 4328else 4329 4330 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4331 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4332 . ./conftest.sh 4333 rm -f ./conftest.sh 4334 acl_cv_rpath=done 4335 4336fi 4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 4338$as_echo "$acl_cv_rpath" >&6; } 4339 wl="$acl_cv_wl" 4340 acl_libext="$acl_cv_libext" 4341 acl_shlibext="$acl_cv_shlibext" 4342 acl_libname_spec="$acl_cv_libname_spec" 4343 acl_library_names_spec="$acl_cv_library_names_spec" 4344 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 4345 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 4346 acl_hardcode_direct="$acl_cv_hardcode_direct" 4347 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 4348 # Check whether --enable-rpath was given. 4349if test "${enable_rpath+set}" = set; then : 4350 enableval=$enable_rpath; : 4351else 4352 enable_rpath=yes 4353fi 4354 4355 4356 4357ac_ext=c 4358ac_cpp='$CPP $CPPFLAGS' 4359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4361ac_compiler_gnu=$ac_cv_c_compiler_gnu 4362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4363$as_echo_n "checking how to run the C preprocessor... " >&6; } 4364# On Suns, sometimes $CPP names a directory. 4365if test -n "$CPP" && test -d "$CPP"; then 4366 CPP= 4367fi 4368if test -z "$CPP"; then 4369 if ${ac_cv_prog_CPP+:} false; then : 4370 $as_echo_n "(cached) " >&6 4371else 4372 # Double quotes because CPP needs to be expanded 4373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4374 do 4375 ac_preproc_ok=false 4376for ac_c_preproc_warn_flag in '' yes 4377do 4378 # Use a header file that comes with gcc, so configuring glibc 4379 # with a fresh cross-compiler works. 4380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4381 # <limits.h> exists even on freestanding compilers. 4382 # On the NeXT, cc -E runs the code through the compiler's parser, 4383 # not just through cpp. "Syntax error" is here to catch this case. 4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4385/* end confdefs.h. */ 4386#ifdef __STDC__ 4387# include <limits.h> 4388#else 4389# include <assert.h> 4390#endif 4391 Syntax error 4392_ACEOF 4393if ac_fn_c_try_cpp "$LINENO"; then : 4394 4395else 4396 # Broken: fails on valid input. 4397continue 4398fi 4399rm -f conftest.err conftest.i conftest.$ac_ext 4400 4401 # OK, works on sane cases. Now check whether nonexistent headers 4402 # can be detected and how. 4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4404/* end confdefs.h. */ 4405#include <ac_nonexistent.h> 4406_ACEOF 4407if ac_fn_c_try_cpp "$LINENO"; then : 4408 # Broken: success on invalid input. 4409continue 4410else 4411 # Passes both tests. 4412ac_preproc_ok=: 4413break 4414fi 4415rm -f conftest.err conftest.i conftest.$ac_ext 4416 4417done 4418# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4419rm -f conftest.i conftest.err conftest.$ac_ext 4420if $ac_preproc_ok; then : 4421 break 4422fi 4423 4424 done 4425 ac_cv_prog_CPP=$CPP 4426 4427fi 4428 CPP=$ac_cv_prog_CPP 4429else 4430 ac_cv_prog_CPP=$CPP 4431fi 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4433$as_echo "$CPP" >&6; } 4434ac_preproc_ok=false 4435for ac_c_preproc_warn_flag in '' yes 4436do 4437 # Use a header file that comes with gcc, so configuring glibc 4438 # with a fresh cross-compiler works. 4439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4440 # <limits.h> exists even on freestanding compilers. 4441 # On the NeXT, cc -E runs the code through the compiler's parser, 4442 # not just through cpp. "Syntax error" is here to catch this case. 4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4444/* end confdefs.h. */ 4445#ifdef __STDC__ 4446# include <limits.h> 4447#else 4448# include <assert.h> 4449#endif 4450 Syntax error 4451_ACEOF 4452if ac_fn_c_try_cpp "$LINENO"; then : 4453 4454else 4455 # Broken: fails on valid input. 4456continue 4457fi 4458rm -f conftest.err conftest.i conftest.$ac_ext 4459 4460 # OK, works on sane cases. Now check whether nonexistent headers 4461 # can be detected and how. 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4463/* end confdefs.h. */ 4464#include <ac_nonexistent.h> 4465_ACEOF 4466if ac_fn_c_try_cpp "$LINENO"; then : 4467 # Broken: success on invalid input. 4468continue 4469else 4470 # Passes both tests. 4471ac_preproc_ok=: 4472break 4473fi 4474rm -f conftest.err conftest.i conftest.$ac_ext 4475 4476done 4477# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4478rm -f conftest.i conftest.err conftest.$ac_ext 4479if $ac_preproc_ok; then : 4480 4481else 4482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4483$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4484as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4485See \`config.log' for more details" "$LINENO" 5; } 4486fi 4487 4488ac_ext=c 4489ac_cpp='$CPP $CPPFLAGS' 4490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4492ac_compiler_gnu=$ac_cv_c_compiler_gnu 4493 4494 4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4496$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4497if ${ac_cv_path_GREP+:} false; then : 4498 $as_echo_n "(cached) " >&6 4499else 4500 if test -z "$GREP"; then 4501 ac_path_GREP_found=false 4502 # Loop through the user's path and test for each of PROGNAME-LIST 4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4504for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4505do 4506 IFS=$as_save_IFS 4507 test -z "$as_dir" && as_dir=. 4508 for ac_prog in grep ggrep; do 4509 for ac_exec_ext in '' $ac_executable_extensions; do 4510 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4511 as_fn_executable_p "$ac_path_GREP" || continue 4512# Check for GNU ac_path_GREP and select it if it is found. 4513 # Check for GNU $ac_path_GREP 4514case `"$ac_path_GREP" --version 2>&1` in 4515*GNU*) 4516 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4517*) 4518 ac_count=0 4519 $as_echo_n 0123456789 >"conftest.in" 4520 while : 4521 do 4522 cat "conftest.in" "conftest.in" >"conftest.tmp" 4523 mv "conftest.tmp" "conftest.in" 4524 cp "conftest.in" "conftest.nl" 4525 $as_echo 'GREP' >> "conftest.nl" 4526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4527 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4528 as_fn_arith $ac_count + 1 && ac_count=$as_val 4529 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4530 # Best one so far, save it but keep looking for a better one 4531 ac_cv_path_GREP="$ac_path_GREP" 4532 ac_path_GREP_max=$ac_count 4533 fi 4534 # 10*(2^10) chars as input seems more than enough 4535 test $ac_count -gt 10 && break 4536 done 4537 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4538esac 4539 4540 $ac_path_GREP_found && break 3 4541 done 4542 done 4543 done 4544IFS=$as_save_IFS 4545 if test -z "$ac_cv_path_GREP"; then 4546 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4547 fi 4548else 4549 ac_cv_path_GREP=$GREP 4550fi 4551 4552fi 4553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4554$as_echo "$ac_cv_path_GREP" >&6; } 4555 GREP="$ac_cv_path_GREP" 4556 4557 4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4559$as_echo_n "checking for egrep... " >&6; } 4560if ${ac_cv_path_EGREP+:} false; then : 4561 $as_echo_n "(cached) " >&6 4562else 4563 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4564 then ac_cv_path_EGREP="$GREP -E" 4565 else 4566 if test -z "$EGREP"; then 4567 ac_path_EGREP_found=false 4568 # Loop through the user's path and test for each of PROGNAME-LIST 4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4570for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4571do 4572 IFS=$as_save_IFS 4573 test -z "$as_dir" && as_dir=. 4574 for ac_prog in egrep; do 4575 for ac_exec_ext in '' $ac_executable_extensions; do 4576 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4577 as_fn_executable_p "$ac_path_EGREP" || continue 4578# Check for GNU ac_path_EGREP and select it if it is found. 4579 # Check for GNU $ac_path_EGREP 4580case `"$ac_path_EGREP" --version 2>&1` in 4581*GNU*) 4582 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4583*) 4584 ac_count=0 4585 $as_echo_n 0123456789 >"conftest.in" 4586 while : 4587 do 4588 cat "conftest.in" "conftest.in" >"conftest.tmp" 4589 mv "conftest.tmp" "conftest.in" 4590 cp "conftest.in" "conftest.nl" 4591 $as_echo 'EGREP' >> "conftest.nl" 4592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4594 as_fn_arith $ac_count + 1 && ac_count=$as_val 4595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4596 # Best one so far, save it but keep looking for a better one 4597 ac_cv_path_EGREP="$ac_path_EGREP" 4598 ac_path_EGREP_max=$ac_count 4599 fi 4600 # 10*(2^10) chars as input seems more than enough 4601 test $ac_count -gt 10 && break 4602 done 4603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4604esac 4605 4606 $ac_path_EGREP_found && break 3 4607 done 4608 done 4609 done 4610IFS=$as_save_IFS 4611 if test -z "$ac_cv_path_EGREP"; then 4612 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4613 fi 4614else 4615 ac_cv_path_EGREP=$EGREP 4616fi 4617 4618 fi 4619fi 4620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4621$as_echo "$ac_cv_path_EGREP" >&6; } 4622 EGREP="$ac_cv_path_EGREP" 4623 4624 4625 4626 4627 acl_libdirstem=lib 4628 acl_libdirstem2= 4629 case "$host_os" in 4630 solaris*) 4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 4632$as_echo_n "checking for 64-bit host... " >&6; } 4633if ${gl_cv_solaris_64bit+:} false; then : 4634 $as_echo_n "(cached) " >&6 4635else 4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4637/* end confdefs.h. */ 4638 4639#ifdef _LP64 4640sixtyfour bits 4641#endif 4642 4643_ACEOF 4644if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4645 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 4646 gl_cv_solaris_64bit=yes 4647else 4648 gl_cv_solaris_64bit=no 4649fi 4650rm -f conftest* 4651 4652 4653fi 4654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 4655$as_echo "$gl_cv_solaris_64bit" >&6; } 4656 if test $gl_cv_solaris_64bit = yes; then 4657 acl_libdirstem=lib/64 4658 case "$host_cpu" in 4659 sparc*) acl_libdirstem2=lib/sparcv9 ;; 4660 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 4661 esac 4662 fi 4663 ;; 4664 *) 4665 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 4666 if test -n "$searchpath"; then 4667 acl_save_IFS="${IFS= }"; IFS=":" 4668 for searchdir in $searchpath; do 4669 if test -d "$searchdir"; then 4670 case "$searchdir" in 4671 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 4672 */../ | */.. ) 4673 # Better ignore directories of this form. They are misleading. 4674 ;; 4675 *) searchdir=`cd "$searchdir" && pwd` 4676 case "$searchdir" in 4677 */lib64 ) acl_libdirstem=lib64 ;; 4678 esac ;; 4679 esac 4680 fi 4681 done 4682 IFS="$acl_save_IFS" 4683 fi 4684 ;; 4685 esac 4686 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 use_additional=yes 4700 4701 acl_save_prefix="$prefix" 4702 prefix="$acl_final_prefix" 4703 acl_save_exec_prefix="$exec_prefix" 4704 exec_prefix="$acl_final_exec_prefix" 4705 4706 eval additional_includedir=\"$includedir\" 4707 eval additional_libdir=\"$libdir\" 4708 4709 exec_prefix="$acl_save_exec_prefix" 4710 prefix="$acl_save_prefix" 4711 4712 4713# Check whether --with-libiconv-prefix was given. 4714if test "${with_libiconv_prefix+set}" = set; then : 4715 withval=$with_libiconv_prefix; 4716 if test "X$withval" = "Xno"; then 4717 use_additional=no 4718 else 4719 if test "X$withval" = "X"; then 4720 4721 acl_save_prefix="$prefix" 4722 prefix="$acl_final_prefix" 4723 acl_save_exec_prefix="$exec_prefix" 4724 exec_prefix="$acl_final_exec_prefix" 4725 4726 eval additional_includedir=\"$includedir\" 4727 eval additional_libdir=\"$libdir\" 4728 4729 exec_prefix="$acl_save_exec_prefix" 4730 prefix="$acl_save_prefix" 4731 4732 else 4733 additional_includedir="$withval/include" 4734 additional_libdir="$withval/$acl_libdirstem" 4735 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 4736 && ! test -d "$withval/$acl_libdirstem"; then 4737 additional_libdir="$withval/$acl_libdirstem2" 4738 fi 4739 fi 4740 fi 4741 4742fi 4743 4744 LIBICONV= 4745 LTLIBICONV= 4746 INCICONV= 4747 LIBICONV_PREFIX= 4748 HAVE_LIBICONV= 4749 rpathdirs= 4750 ltrpathdirs= 4751 names_already_handled= 4752 names_next_round='iconv ' 4753 while test -n "$names_next_round"; do 4754 names_this_round="$names_next_round" 4755 names_next_round= 4756 for name in $names_this_round; do 4757 already_handled= 4758 for n in $names_already_handled; do 4759 if test "$n" = "$name"; then 4760 already_handled=yes 4761 break 4762 fi 4763 done 4764 if test -z "$already_handled"; then 4765 names_already_handled="$names_already_handled $name" 4766 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 4767 eval value=\"\$HAVE_LIB$uppername\" 4768 if test -n "$value"; then 4769 if test "$value" = yes; then 4770 eval value=\"\$LIB$uppername\" 4771 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 4772 eval value=\"\$LTLIB$uppername\" 4773 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 4774 else 4775 : 4776 fi 4777 else 4778 found_dir= 4779 found_la= 4780 found_so= 4781 found_a= 4782 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 4783 if test -n "$acl_shlibext"; then 4784 shrext=".$acl_shlibext" # typically: shrext=.so 4785 else 4786 shrext= 4787 fi 4788 if test $use_additional = yes; then 4789 dir="$additional_libdir" 4790 if test -n "$acl_shlibext"; then 4791 if test -f "$dir/$libname$shrext"; then 4792 found_dir="$dir" 4793 found_so="$dir/$libname$shrext" 4794 else 4795 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4796 ver=`(cd "$dir" && \ 4797 for f in "$libname$shrext".*; do echo "$f"; done \ 4798 | sed -e "s,^$libname$shrext\\\\.,," \ 4799 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4800 | sed 1q ) 2>/dev/null` 4801 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4802 found_dir="$dir" 4803 found_so="$dir/$libname$shrext.$ver" 4804 fi 4805 else 4806 eval library_names=\"$acl_library_names_spec\" 4807 for f in $library_names; do 4808 if test -f "$dir/$f"; then 4809 found_dir="$dir" 4810 found_so="$dir/$f" 4811 break 4812 fi 4813 done 4814 fi 4815 fi 4816 fi 4817 if test "X$found_dir" = "X"; then 4818 if test -f "$dir/$libname.$acl_libext"; then 4819 found_dir="$dir" 4820 found_a="$dir/$libname.$acl_libext" 4821 fi 4822 fi 4823 if test "X$found_dir" != "X"; then 4824 if test -f "$dir/$libname.la"; then 4825 found_la="$dir/$libname.la" 4826 fi 4827 fi 4828 fi 4829 if test "X$found_dir" = "X"; then 4830 for x in $LDFLAGS $LTLIBICONV; do 4831 4832 acl_save_prefix="$prefix" 4833 prefix="$acl_final_prefix" 4834 acl_save_exec_prefix="$exec_prefix" 4835 exec_prefix="$acl_final_exec_prefix" 4836 eval x=\"$x\" 4837 exec_prefix="$acl_save_exec_prefix" 4838 prefix="$acl_save_prefix" 4839 4840 case "$x" in 4841 -L*) 4842 dir=`echo "X$x" | sed -e 's/^X-L//'` 4843 if test -n "$acl_shlibext"; then 4844 if test -f "$dir/$libname$shrext"; then 4845 found_dir="$dir" 4846 found_so="$dir/$libname$shrext" 4847 else 4848 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4849 ver=`(cd "$dir" && \ 4850 for f in "$libname$shrext".*; do echo "$f"; done \ 4851 | sed -e "s,^$libname$shrext\\\\.,," \ 4852 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4853 | sed 1q ) 2>/dev/null` 4854 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4855 found_dir="$dir" 4856 found_so="$dir/$libname$shrext.$ver" 4857 fi 4858 else 4859 eval library_names=\"$acl_library_names_spec\" 4860 for f in $library_names; do 4861 if test -f "$dir/$f"; then 4862 found_dir="$dir" 4863 found_so="$dir/$f" 4864 break 4865 fi 4866 done 4867 fi 4868 fi 4869 fi 4870 if test "X$found_dir" = "X"; then 4871 if test -f "$dir/$libname.$acl_libext"; then 4872 found_dir="$dir" 4873 found_a="$dir/$libname.$acl_libext" 4874 fi 4875 fi 4876 if test "X$found_dir" != "X"; then 4877 if test -f "$dir/$libname.la"; then 4878 found_la="$dir/$libname.la" 4879 fi 4880 fi 4881 ;; 4882 esac 4883 if test "X$found_dir" != "X"; then 4884 break 4885 fi 4886 done 4887 fi 4888 if test "X$found_dir" != "X"; then 4889 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 4890 if test "X$found_so" != "X"; then 4891 if test "$enable_rpath" = no \ 4892 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 4893 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 4894 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4895 else 4896 haveit= 4897 for x in $ltrpathdirs; do 4898 if test "X$x" = "X$found_dir"; then 4899 haveit=yes 4900 break 4901 fi 4902 done 4903 if test -z "$haveit"; then 4904 ltrpathdirs="$ltrpathdirs $found_dir" 4905 fi 4906 if test "$acl_hardcode_direct" = yes; then 4907 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4908 else 4909 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 4910 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4911 haveit= 4912 for x in $rpathdirs; do 4913 if test "X$x" = "X$found_dir"; then 4914 haveit=yes 4915 break 4916 fi 4917 done 4918 if test -z "$haveit"; then 4919 rpathdirs="$rpathdirs $found_dir" 4920 fi 4921 else 4922 haveit= 4923 for x in $LDFLAGS $LIBICONV; do 4924 4925 acl_save_prefix="$prefix" 4926 prefix="$acl_final_prefix" 4927 acl_save_exec_prefix="$exec_prefix" 4928 exec_prefix="$acl_final_exec_prefix" 4929 eval x=\"$x\" 4930 exec_prefix="$acl_save_exec_prefix" 4931 prefix="$acl_save_prefix" 4932 4933 if test "X$x" = "X-L$found_dir"; then 4934 haveit=yes 4935 break 4936 fi 4937 done 4938 if test -z "$haveit"; then 4939 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 4940 fi 4941 if test "$acl_hardcode_minus_L" != no; then 4942 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4943 else 4944 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4945 fi 4946 fi 4947 fi 4948 fi 4949 else 4950 if test "X$found_a" != "X"; then 4951 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 4952 else 4953 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 4954 fi 4955 fi 4956 additional_includedir= 4957 case "$found_dir" in 4958 */$acl_libdirstem | */$acl_libdirstem/) 4959 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4960 if test "$name" = 'iconv'; then 4961 LIBICONV_PREFIX="$basedir" 4962 fi 4963 additional_includedir="$basedir/include" 4964 ;; 4965 */$acl_libdirstem2 | */$acl_libdirstem2/) 4966 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 4967 if test "$name" = 'iconv'; then 4968 LIBICONV_PREFIX="$basedir" 4969 fi 4970 additional_includedir="$basedir/include" 4971 ;; 4972 esac 4973 if test "X$additional_includedir" != "X"; then 4974 if test "X$additional_includedir" != "X/usr/include"; then 4975 haveit= 4976 if test "X$additional_includedir" = "X/usr/local/include"; then 4977 if test -n "$GCC"; then 4978 case $host_os in 4979 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4980 esac 4981 fi 4982 fi 4983 if test -z "$haveit"; then 4984 for x in $CPPFLAGS $INCICONV; do 4985 4986 acl_save_prefix="$prefix" 4987 prefix="$acl_final_prefix" 4988 acl_save_exec_prefix="$exec_prefix" 4989 exec_prefix="$acl_final_exec_prefix" 4990 eval x=\"$x\" 4991 exec_prefix="$acl_save_exec_prefix" 4992 prefix="$acl_save_prefix" 4993 4994 if test "X$x" = "X-I$additional_includedir"; then 4995 haveit=yes 4996 break 4997 fi 4998 done 4999 if test -z "$haveit"; then 5000 if test -d "$additional_includedir"; then 5001 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 5002 fi 5003 fi 5004 fi 5005 fi 5006 fi 5007 if test -n "$found_la"; then 5008 save_libdir="$libdir" 5009 case "$found_la" in 5010 */* | *\\*) . "$found_la" ;; 5011 *) . "./$found_la" ;; 5012 esac 5013 libdir="$save_libdir" 5014 for dep in $dependency_libs; do 5015 case "$dep" in 5016 -L*) 5017 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5018 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 5019 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 5020 haveit= 5021 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 5022 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 5023 if test -n "$GCC"; then 5024 case $host_os in 5025 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5026 esac 5027 fi 5028 fi 5029 if test -z "$haveit"; then 5030 haveit= 5031 for x in $LDFLAGS $LIBICONV; do 5032 5033 acl_save_prefix="$prefix" 5034 prefix="$acl_final_prefix" 5035 acl_save_exec_prefix="$exec_prefix" 5036 exec_prefix="$acl_final_exec_prefix" 5037 eval x=\"$x\" 5038 exec_prefix="$acl_save_exec_prefix" 5039 prefix="$acl_save_prefix" 5040 5041 if test "X$x" = "X-L$additional_libdir"; then 5042 haveit=yes 5043 break 5044 fi 5045 done 5046 if test -z "$haveit"; then 5047 if test -d "$additional_libdir"; then 5048 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 5049 fi 5050 fi 5051 haveit= 5052 for x in $LDFLAGS $LTLIBICONV; do 5053 5054 acl_save_prefix="$prefix" 5055 prefix="$acl_final_prefix" 5056 acl_save_exec_prefix="$exec_prefix" 5057 exec_prefix="$acl_final_exec_prefix" 5058 eval x=\"$x\" 5059 exec_prefix="$acl_save_exec_prefix" 5060 prefix="$acl_save_prefix" 5061 5062 if test "X$x" = "X-L$additional_libdir"; then 5063 haveit=yes 5064 break 5065 fi 5066 done 5067 if test -z "$haveit"; then 5068 if test -d "$additional_libdir"; then 5069 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 5070 fi 5071 fi 5072 fi 5073 fi 5074 ;; 5075 -R*) 5076 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5077 if test "$enable_rpath" != no; then 5078 haveit= 5079 for x in $rpathdirs; do 5080 if test "X$x" = "X$dir"; then 5081 haveit=yes 5082 break 5083 fi 5084 done 5085 if test -z "$haveit"; then 5086 rpathdirs="$rpathdirs $dir" 5087 fi 5088 haveit= 5089 for x in $ltrpathdirs; do 5090 if test "X$x" = "X$dir"; then 5091 haveit=yes 5092 break 5093 fi 5094 done 5095 if test -z "$haveit"; then 5096 ltrpathdirs="$ltrpathdirs $dir" 5097 fi 5098 fi 5099 ;; 5100 -l*) 5101 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5102 ;; 5103 *.la) 5104 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5105 ;; 5106 *) 5107 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 5108 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 5109 ;; 5110 esac 5111 done 5112 fi 5113 else 5114 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5115 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 5116 fi 5117 fi 5118 fi 5119 done 5120 done 5121 if test "X$rpathdirs" != "X"; then 5122 if test -n "$acl_hardcode_libdir_separator"; then 5123 alldirs= 5124 for found_dir in $rpathdirs; do 5125 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 5126 done 5127 acl_save_libdir="$libdir" 5128 libdir="$alldirs" 5129 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5130 libdir="$acl_save_libdir" 5131 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5132 else 5133 for found_dir in $rpathdirs; do 5134 acl_save_libdir="$libdir" 5135 libdir="$found_dir" 5136 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5137 libdir="$acl_save_libdir" 5138 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5139 done 5140 fi 5141 fi 5142 if test "X$ltrpathdirs" != "X"; then 5143 for found_dir in $ltrpathdirs; do 5144 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 5145 done 5146 fi 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 5179$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 5180if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 5181 $as_echo_n "(cached) " >&6 5182else 5183 gt_save_LIBS="$LIBS" 5184 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5186/* end confdefs.h. */ 5187#include <CoreFoundation/CFPreferences.h> 5188int 5189main () 5190{ 5191CFPreferencesCopyAppValue(NULL, NULL) 5192 ; 5193 return 0; 5194} 5195_ACEOF 5196if ac_fn_c_try_link "$LINENO"; then : 5197 gt_cv_func_CFPreferencesCopyAppValue=yes 5198else 5199 gt_cv_func_CFPreferencesCopyAppValue=no 5200fi 5201rm -f core conftest.err conftest.$ac_objext \ 5202 conftest$ac_exeext conftest.$ac_ext 5203 LIBS="$gt_save_LIBS" 5204fi 5205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 5206$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 5207 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 5208 5209$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 5210 5211 fi 5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 5213$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 5214if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 5215 $as_echo_n "(cached) " >&6 5216else 5217 gt_save_LIBS="$LIBS" 5218 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5220/* end confdefs.h. */ 5221#include <CoreFoundation/CFLocale.h> 5222int 5223main () 5224{ 5225CFLocaleCopyCurrent(); 5226 ; 5227 return 0; 5228} 5229_ACEOF 5230if ac_fn_c_try_link "$LINENO"; then : 5231 gt_cv_func_CFLocaleCopyCurrent=yes 5232else 5233 gt_cv_func_CFLocaleCopyCurrent=no 5234fi 5235rm -f core conftest.err conftest.$ac_objext \ 5236 conftest$ac_exeext conftest.$ac_ext 5237 LIBS="$gt_save_LIBS" 5238fi 5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 5240$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 5241 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5242 5243$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 5244 5245 fi 5246 INTL_MACOSX_LIBS= 5247 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5248 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 5249 fi 5250 5251 5252 5253 5254 5255 5256 LIBINTL= 5257 LTLIBINTL= 5258 POSUB= 5259 5260 case " $gt_needs " in 5261 *" need-formatstring-macros "*) gt_api_version=3 ;; 5262 *" need-ngettext "*) gt_api_version=2 ;; 5263 *) gt_api_version=1 ;; 5264 esac 5265 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 5266 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 5267 5268 if test "$USE_NLS" = "yes"; then 5269 gt_use_preinstalled_gnugettext=no 5270 5271 5272 if test $gt_api_version -ge 3; then 5273 gt_revision_test_code=' 5274#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 5275#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 5276#endif 5277typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 5278' 5279 else 5280 gt_revision_test_code= 5281 fi 5282 if test $gt_api_version -ge 2; then 5283 gt_expression_test_code=' + * ngettext ("", "", 0)' 5284 else 5285 gt_expression_test_code= 5286 fi 5287 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5289$as_echo_n "checking for GNU gettext in libc... " >&6; } 5290if eval \${$gt_func_gnugettext_libc+:} false; then : 5291 $as_echo_n "(cached) " >&6 5292else 5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5294/* end confdefs.h. */ 5295 5296#include <libintl.h> 5297#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 5298extern int _nl_msg_cat_cntr; 5299extern int *_nl_domain_bindings; 5300#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 5301#else 5302#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 5303#endif 5304$gt_revision_test_code 5305 5306int 5307main () 5308{ 5309 5310bindtextdomain ("", ""); 5311return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 5312 5313 ; 5314 return 0; 5315} 5316_ACEOF 5317if ac_fn_c_try_link "$LINENO"; then : 5318 eval "$gt_func_gnugettext_libc=yes" 5319else 5320 eval "$gt_func_gnugettext_libc=no" 5321fi 5322rm -f core conftest.err conftest.$ac_objext \ 5323 conftest$ac_exeext conftest.$ac_ext 5324fi 5325eval ac_res=\$$gt_func_gnugettext_libc 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5327$as_echo "$ac_res" >&6; } 5328 5329 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 5330 5331 5332 5333 5334 5335 am_save_CPPFLAGS="$CPPFLAGS" 5336 5337 for element in $INCICONV; do 5338 haveit= 5339 for x in $CPPFLAGS; do 5340 5341 acl_save_prefix="$prefix" 5342 prefix="$acl_final_prefix" 5343 acl_save_exec_prefix="$exec_prefix" 5344 exec_prefix="$acl_final_exec_prefix" 5345 eval x=\"$x\" 5346 exec_prefix="$acl_save_exec_prefix" 5347 prefix="$acl_save_prefix" 5348 5349 if test "X$x" = "X$element"; then 5350 haveit=yes 5351 break 5352 fi 5353 done 5354 if test -z "$haveit"; then 5355 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5356 fi 5357 done 5358 5359 5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5361$as_echo_n "checking for iconv... " >&6; } 5362if ${am_cv_func_iconv+:} false; then : 5363 $as_echo_n "(cached) " >&6 5364else 5365 5366 am_cv_func_iconv="no, consider installing GNU libiconv" 5367 am_cv_lib_iconv=no 5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5369/* end confdefs.h. */ 5370 5371#include <stdlib.h> 5372#include <iconv.h> 5373 5374int 5375main () 5376{ 5377iconv_t cd = iconv_open("",""); 5378 iconv(cd,NULL,NULL,NULL,NULL); 5379 iconv_close(cd); 5380 ; 5381 return 0; 5382} 5383_ACEOF 5384if ac_fn_c_try_link "$LINENO"; then : 5385 am_cv_func_iconv=yes 5386fi 5387rm -f core conftest.err conftest.$ac_objext \ 5388 conftest$ac_exeext conftest.$ac_ext 5389 if test "$am_cv_func_iconv" != yes; then 5390 am_save_LIBS="$LIBS" 5391 LIBS="$LIBS $LIBICONV" 5392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5393/* end confdefs.h. */ 5394 5395#include <stdlib.h> 5396#include <iconv.h> 5397 5398int 5399main () 5400{ 5401iconv_t cd = iconv_open("",""); 5402 iconv(cd,NULL,NULL,NULL,NULL); 5403 iconv_close(cd); 5404 ; 5405 return 0; 5406} 5407_ACEOF 5408if ac_fn_c_try_link "$LINENO"; then : 5409 am_cv_lib_iconv=yes 5410 am_cv_func_iconv=yes 5411fi 5412rm -f core conftest.err conftest.$ac_objext \ 5413 conftest$ac_exeext conftest.$ac_ext 5414 LIBS="$am_save_LIBS" 5415 fi 5416 5417fi 5418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 5419$as_echo "$am_cv_func_iconv" >&6; } 5420 if test "$am_cv_func_iconv" = yes; then 5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 5422$as_echo_n "checking for working iconv... " >&6; } 5423if ${am_cv_func_iconv_works+:} false; then : 5424 $as_echo_n "(cached) " >&6 5425else 5426 5427 am_save_LIBS="$LIBS" 5428 if test $am_cv_lib_iconv = yes; then 5429 LIBS="$LIBS $LIBICONV" 5430 fi 5431 am_cv_func_iconv_works=no 5432 for ac_iconv_const in '' 'const'; do 5433 if test "$cross_compiling" = yes; then : 5434 case "$host_os" in 5435 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 5436 *) am_cv_func_iconv_works="guessing yes" ;; 5437 esac 5438else 5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5440/* end confdefs.h. */ 5441 5442#include <iconv.h> 5443#include <string.h> 5444 5445#ifndef ICONV_CONST 5446# define ICONV_CONST $ac_iconv_const 5447#endif 5448 5449int 5450main () 5451{ 5452int result = 0; 5453 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 5454 returns. */ 5455 { 5456 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 5457 if (cd_utf8_to_88591 != (iconv_t)(-1)) 5458 { 5459 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 5460 char buf[10]; 5461 ICONV_CONST char *inptr = input; 5462 size_t inbytesleft = strlen (input); 5463 char *outptr = buf; 5464 size_t outbytesleft = sizeof (buf); 5465 size_t res = iconv (cd_utf8_to_88591, 5466 &inptr, &inbytesleft, 5467 &outptr, &outbytesleft); 5468 if (res == 0) 5469 result |= 1; 5470 iconv_close (cd_utf8_to_88591); 5471 } 5472 } 5473 /* Test against Solaris 10 bug: Failures are not distinguishable from 5474 successful returns. */ 5475 { 5476 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 5477 if (cd_ascii_to_88591 != (iconv_t)(-1)) 5478 { 5479 static ICONV_CONST char input[] = "\263"; 5480 char buf[10]; 5481 ICONV_CONST char *inptr = input; 5482 size_t inbytesleft = strlen (input); 5483 char *outptr = buf; 5484 size_t outbytesleft = sizeof (buf); 5485 size_t res = iconv (cd_ascii_to_88591, 5486 &inptr, &inbytesleft, 5487 &outptr, &outbytesleft); 5488 if (res == 0) 5489 result |= 2; 5490 iconv_close (cd_ascii_to_88591); 5491 } 5492 } 5493 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 5494 { 5495 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 5496 if (cd_88591_to_utf8 != (iconv_t)(-1)) 5497 { 5498 static ICONV_CONST char input[] = "\304"; 5499 static char buf[2] = { (char)0xDE, (char)0xAD }; 5500 ICONV_CONST char *inptr = input; 5501 size_t inbytesleft = 1; 5502 char *outptr = buf; 5503 size_t outbytesleft = 1; 5504 size_t res = iconv (cd_88591_to_utf8, 5505 &inptr, &inbytesleft, 5506 &outptr, &outbytesleft); 5507 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 5508 result |= 4; 5509 iconv_close (cd_88591_to_utf8); 5510 } 5511 } 5512#if 0 /* This bug could be worked around by the caller. */ 5513 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 5514 { 5515 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 5516 if (cd_88591_to_utf8 != (iconv_t)(-1)) 5517 { 5518 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 5519 char buf[50]; 5520 ICONV_CONST char *inptr = input; 5521 size_t inbytesleft = strlen (input); 5522 char *outptr = buf; 5523 size_t outbytesleft = sizeof (buf); 5524 size_t res = iconv (cd_88591_to_utf8, 5525 &inptr, &inbytesleft, 5526 &outptr, &outbytesleft); 5527 if ((int)res > 0) 5528 result |= 8; 5529 iconv_close (cd_88591_to_utf8); 5530 } 5531 } 5532#endif 5533 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 5534 provided. */ 5535 if (/* Try standardized names. */ 5536 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 5537 /* Try IRIX, OSF/1 names. */ 5538 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 5539 /* Try AIX names. */ 5540 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 5541 /* Try HP-UX names. */ 5542 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 5543 result |= 16; 5544 return result; 5545 5546 ; 5547 return 0; 5548} 5549_ACEOF 5550if ac_fn_c_try_run "$LINENO"; then : 5551 am_cv_func_iconv_works=yes 5552fi 5553rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5554 conftest.$ac_objext conftest.beam conftest.$ac_ext 5555fi 5556 5557 test "$am_cv_func_iconv_works" = no || break 5558 done 5559 LIBS="$am_save_LIBS" 5560 5561fi 5562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 5563$as_echo "$am_cv_func_iconv_works" >&6; } 5564 case "$am_cv_func_iconv_works" in 5565 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 5566 *) am_func_iconv=yes ;; 5567 esac 5568 else 5569 am_func_iconv=no am_cv_lib_iconv=no 5570 fi 5571 if test "$am_func_iconv" = yes; then 5572 5573$as_echo "#define HAVE_ICONV 1" >>confdefs.h 5574 5575 fi 5576 if test "$am_cv_lib_iconv" = yes; then 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 5578$as_echo_n "checking how to link with libiconv... " >&6; } 5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 5580$as_echo "$LIBICONV" >&6; } 5581 else 5582 CPPFLAGS="$am_save_CPPFLAGS" 5583 LIBICONV= 5584 LTLIBICONV= 5585 fi 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 use_additional=yes 5598 5599 acl_save_prefix="$prefix" 5600 prefix="$acl_final_prefix" 5601 acl_save_exec_prefix="$exec_prefix" 5602 exec_prefix="$acl_final_exec_prefix" 5603 5604 eval additional_includedir=\"$includedir\" 5605 eval additional_libdir=\"$libdir\" 5606 5607 exec_prefix="$acl_save_exec_prefix" 5608 prefix="$acl_save_prefix" 5609 5610 5611# Check whether --with-libintl-prefix was given. 5612if test "${with_libintl_prefix+set}" = set; then : 5613 withval=$with_libintl_prefix; 5614 if test "X$withval" = "Xno"; then 5615 use_additional=no 5616 else 5617 if test "X$withval" = "X"; then 5618 5619 acl_save_prefix="$prefix" 5620 prefix="$acl_final_prefix" 5621 acl_save_exec_prefix="$exec_prefix" 5622 exec_prefix="$acl_final_exec_prefix" 5623 5624 eval additional_includedir=\"$includedir\" 5625 eval additional_libdir=\"$libdir\" 5626 5627 exec_prefix="$acl_save_exec_prefix" 5628 prefix="$acl_save_prefix" 5629 5630 else 5631 additional_includedir="$withval/include" 5632 additional_libdir="$withval/$acl_libdirstem" 5633 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 5634 && ! test -d "$withval/$acl_libdirstem"; then 5635 additional_libdir="$withval/$acl_libdirstem2" 5636 fi 5637 fi 5638 fi 5639 5640fi 5641 5642 LIBINTL= 5643 LTLIBINTL= 5644 INCINTL= 5645 LIBINTL_PREFIX= 5646 HAVE_LIBINTL= 5647 rpathdirs= 5648 ltrpathdirs= 5649 names_already_handled= 5650 names_next_round='intl ' 5651 while test -n "$names_next_round"; do 5652 names_this_round="$names_next_round" 5653 names_next_round= 5654 for name in $names_this_round; do 5655 already_handled= 5656 for n in $names_already_handled; do 5657 if test "$n" = "$name"; then 5658 already_handled=yes 5659 break 5660 fi 5661 done 5662 if test -z "$already_handled"; then 5663 names_already_handled="$names_already_handled $name" 5664 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 5665 eval value=\"\$HAVE_LIB$uppername\" 5666 if test -n "$value"; then 5667 if test "$value" = yes; then 5668 eval value=\"\$LIB$uppername\" 5669 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 5670 eval value=\"\$LTLIB$uppername\" 5671 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 5672 else 5673 : 5674 fi 5675 else 5676 found_dir= 5677 found_la= 5678 found_so= 5679 found_a= 5680 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 5681 if test -n "$acl_shlibext"; then 5682 shrext=".$acl_shlibext" # typically: shrext=.so 5683 else 5684 shrext= 5685 fi 5686 if test $use_additional = yes; then 5687 dir="$additional_libdir" 5688 if test -n "$acl_shlibext"; then 5689 if test -f "$dir/$libname$shrext"; then 5690 found_dir="$dir" 5691 found_so="$dir/$libname$shrext" 5692 else 5693 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5694 ver=`(cd "$dir" && \ 5695 for f in "$libname$shrext".*; do echo "$f"; done \ 5696 | sed -e "s,^$libname$shrext\\\\.,," \ 5697 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5698 | sed 1q ) 2>/dev/null` 5699 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5700 found_dir="$dir" 5701 found_so="$dir/$libname$shrext.$ver" 5702 fi 5703 else 5704 eval library_names=\"$acl_library_names_spec\" 5705 for f in $library_names; do 5706 if test -f "$dir/$f"; then 5707 found_dir="$dir" 5708 found_so="$dir/$f" 5709 break 5710 fi 5711 done 5712 fi 5713 fi 5714 fi 5715 if test "X$found_dir" = "X"; then 5716 if test -f "$dir/$libname.$acl_libext"; then 5717 found_dir="$dir" 5718 found_a="$dir/$libname.$acl_libext" 5719 fi 5720 fi 5721 if test "X$found_dir" != "X"; then 5722 if test -f "$dir/$libname.la"; then 5723 found_la="$dir/$libname.la" 5724 fi 5725 fi 5726 fi 5727 if test "X$found_dir" = "X"; then 5728 for x in $LDFLAGS $LTLIBINTL; do 5729 5730 acl_save_prefix="$prefix" 5731 prefix="$acl_final_prefix" 5732 acl_save_exec_prefix="$exec_prefix" 5733 exec_prefix="$acl_final_exec_prefix" 5734 eval x=\"$x\" 5735 exec_prefix="$acl_save_exec_prefix" 5736 prefix="$acl_save_prefix" 5737 5738 case "$x" in 5739 -L*) 5740 dir=`echo "X$x" | sed -e 's/^X-L//'` 5741 if test -n "$acl_shlibext"; then 5742 if test -f "$dir/$libname$shrext"; then 5743 found_dir="$dir" 5744 found_so="$dir/$libname$shrext" 5745 else 5746 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5747 ver=`(cd "$dir" && \ 5748 for f in "$libname$shrext".*; do echo "$f"; done \ 5749 | sed -e "s,^$libname$shrext\\\\.,," \ 5750 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5751 | sed 1q ) 2>/dev/null` 5752 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5753 found_dir="$dir" 5754 found_so="$dir/$libname$shrext.$ver" 5755 fi 5756 else 5757 eval library_names=\"$acl_library_names_spec\" 5758 for f in $library_names; do 5759 if test -f "$dir/$f"; then 5760 found_dir="$dir" 5761 found_so="$dir/$f" 5762 break 5763 fi 5764 done 5765 fi 5766 fi 5767 fi 5768 if test "X$found_dir" = "X"; then 5769 if test -f "$dir/$libname.$acl_libext"; then 5770 found_dir="$dir" 5771 found_a="$dir/$libname.$acl_libext" 5772 fi 5773 fi 5774 if test "X$found_dir" != "X"; then 5775 if test -f "$dir/$libname.la"; then 5776 found_la="$dir/$libname.la" 5777 fi 5778 fi 5779 ;; 5780 esac 5781 if test "X$found_dir" != "X"; then 5782 break 5783 fi 5784 done 5785 fi 5786 if test "X$found_dir" != "X"; then 5787 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 5788 if test "X$found_so" != "X"; then 5789 if test "$enable_rpath" = no \ 5790 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 5791 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 5792 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5793 else 5794 haveit= 5795 for x in $ltrpathdirs; do 5796 if test "X$x" = "X$found_dir"; then 5797 haveit=yes 5798 break 5799 fi 5800 done 5801 if test -z "$haveit"; then 5802 ltrpathdirs="$ltrpathdirs $found_dir" 5803 fi 5804 if test "$acl_hardcode_direct" = yes; then 5805 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5806 else 5807 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 5808 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5809 haveit= 5810 for x in $rpathdirs; do 5811 if test "X$x" = "X$found_dir"; then 5812 haveit=yes 5813 break 5814 fi 5815 done 5816 if test -z "$haveit"; then 5817 rpathdirs="$rpathdirs $found_dir" 5818 fi 5819 else 5820 haveit= 5821 for x in $LDFLAGS $LIBINTL; do 5822 5823 acl_save_prefix="$prefix" 5824 prefix="$acl_final_prefix" 5825 acl_save_exec_prefix="$exec_prefix" 5826 exec_prefix="$acl_final_exec_prefix" 5827 eval x=\"$x\" 5828 exec_prefix="$acl_save_exec_prefix" 5829 prefix="$acl_save_prefix" 5830 5831 if test "X$x" = "X-L$found_dir"; then 5832 haveit=yes 5833 break 5834 fi 5835 done 5836 if test -z "$haveit"; then 5837 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 5838 fi 5839 if test "$acl_hardcode_minus_L" != no; then 5840 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5841 else 5842 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5843 fi 5844 fi 5845 fi 5846 fi 5847 else 5848 if test "X$found_a" != "X"; then 5849 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 5850 else 5851 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 5852 fi 5853 fi 5854 additional_includedir= 5855 case "$found_dir" in 5856 */$acl_libdirstem | */$acl_libdirstem/) 5857 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 5858 if test "$name" = 'intl'; then 5859 LIBINTL_PREFIX="$basedir" 5860 fi 5861 additional_includedir="$basedir/include" 5862 ;; 5863 */$acl_libdirstem2 | */$acl_libdirstem2/) 5864 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 5865 if test "$name" = 'intl'; then 5866 LIBINTL_PREFIX="$basedir" 5867 fi 5868 additional_includedir="$basedir/include" 5869 ;; 5870 esac 5871 if test "X$additional_includedir" != "X"; then 5872 if test "X$additional_includedir" != "X/usr/include"; then 5873 haveit= 5874 if test "X$additional_includedir" = "X/usr/local/include"; then 5875 if test -n "$GCC"; then 5876 case $host_os in 5877 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5878 esac 5879 fi 5880 fi 5881 if test -z "$haveit"; then 5882 for x in $CPPFLAGS $INCINTL; do 5883 5884 acl_save_prefix="$prefix" 5885 prefix="$acl_final_prefix" 5886 acl_save_exec_prefix="$exec_prefix" 5887 exec_prefix="$acl_final_exec_prefix" 5888 eval x=\"$x\" 5889 exec_prefix="$acl_save_exec_prefix" 5890 prefix="$acl_save_prefix" 5891 5892 if test "X$x" = "X-I$additional_includedir"; then 5893 haveit=yes 5894 break 5895 fi 5896 done 5897 if test -z "$haveit"; then 5898 if test -d "$additional_includedir"; then 5899 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5900 fi 5901 fi 5902 fi 5903 fi 5904 fi 5905 if test -n "$found_la"; then 5906 save_libdir="$libdir" 5907 case "$found_la" in 5908 */* | *\\*) . "$found_la" ;; 5909 *) . "./$found_la" ;; 5910 esac 5911 libdir="$save_libdir" 5912 for dep in $dependency_libs; do 5913 case "$dep" in 5914 -L*) 5915 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5916 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 5917 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 5918 haveit= 5919 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 5920 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 5921 if test -n "$GCC"; then 5922 case $host_os in 5923 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5924 esac 5925 fi 5926 fi 5927 if test -z "$haveit"; then 5928 haveit= 5929 for x in $LDFLAGS $LIBINTL; do 5930 5931 acl_save_prefix="$prefix" 5932 prefix="$acl_final_prefix" 5933 acl_save_exec_prefix="$exec_prefix" 5934 exec_prefix="$acl_final_exec_prefix" 5935 eval x=\"$x\" 5936 exec_prefix="$acl_save_exec_prefix" 5937 prefix="$acl_save_prefix" 5938 5939 if test "X$x" = "X-L$additional_libdir"; then 5940 haveit=yes 5941 break 5942 fi 5943 done 5944 if test -z "$haveit"; then 5945 if test -d "$additional_libdir"; then 5946 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5947 fi 5948 fi 5949 haveit= 5950 for x in $LDFLAGS $LTLIBINTL; do 5951 5952 acl_save_prefix="$prefix" 5953 prefix="$acl_final_prefix" 5954 acl_save_exec_prefix="$exec_prefix" 5955 exec_prefix="$acl_final_exec_prefix" 5956 eval x=\"$x\" 5957 exec_prefix="$acl_save_exec_prefix" 5958 prefix="$acl_save_prefix" 5959 5960 if test "X$x" = "X-L$additional_libdir"; then 5961 haveit=yes 5962 break 5963 fi 5964 done 5965 if test -z "$haveit"; then 5966 if test -d "$additional_libdir"; then 5967 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 5968 fi 5969 fi 5970 fi 5971 fi 5972 ;; 5973 -R*) 5974 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5975 if test "$enable_rpath" != no; then 5976 haveit= 5977 for x in $rpathdirs; do 5978 if test "X$x" = "X$dir"; then 5979 haveit=yes 5980 break 5981 fi 5982 done 5983 if test -z "$haveit"; then 5984 rpathdirs="$rpathdirs $dir" 5985 fi 5986 haveit= 5987 for x in $ltrpathdirs; do 5988 if test "X$x" = "X$dir"; then 5989 haveit=yes 5990 break 5991 fi 5992 done 5993 if test -z "$haveit"; then 5994 ltrpathdirs="$ltrpathdirs $dir" 5995 fi 5996 fi 5997 ;; 5998 -l*) 5999 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 6000 ;; 6001 *.la) 6002 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 6003 ;; 6004 *) 6005 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 6006 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 6007 ;; 6008 esac 6009 done 6010 fi 6011 else 6012 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 6013 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 6014 fi 6015 fi 6016 fi 6017 done 6018 done 6019 if test "X$rpathdirs" != "X"; then 6020 if test -n "$acl_hardcode_libdir_separator"; then 6021 alldirs= 6022 for found_dir in $rpathdirs; do 6023 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 6024 done 6025 acl_save_libdir="$libdir" 6026 libdir="$alldirs" 6027 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6028 libdir="$acl_save_libdir" 6029 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6030 else 6031 for found_dir in $rpathdirs; do 6032 acl_save_libdir="$libdir" 6033 libdir="$found_dir" 6034 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6035 libdir="$acl_save_libdir" 6036 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6037 done 6038 fi 6039 fi 6040 if test "X$ltrpathdirs" != "X"; then 6041 for found_dir in $ltrpathdirs; do 6042 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 6043 done 6044 fi 6045 6046 6047 6048 6049 6050 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 6052$as_echo_n "checking for GNU gettext in libintl... " >&6; } 6053if eval \${$gt_func_gnugettext_libintl+:} false; then : 6054 $as_echo_n "(cached) " >&6 6055else 6056 gt_save_CPPFLAGS="$CPPFLAGS" 6057 CPPFLAGS="$CPPFLAGS $INCINTL" 6058 gt_save_LIBS="$LIBS" 6059 LIBS="$LIBS $LIBINTL" 6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6061/* end confdefs.h. */ 6062 6063#include <libintl.h> 6064#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6065extern int _nl_msg_cat_cntr; 6066extern 6067#ifdef __cplusplus 6068"C" 6069#endif 6070const char *_nl_expand_alias (const char *); 6071#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 6072#else 6073#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 6074#endif 6075$gt_revision_test_code 6076 6077int 6078main () 6079{ 6080 6081bindtextdomain ("", ""); 6082return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 6083 6084 ; 6085 return 0; 6086} 6087_ACEOF 6088if ac_fn_c_try_link "$LINENO"; then : 6089 eval "$gt_func_gnugettext_libintl=yes" 6090else 6091 eval "$gt_func_gnugettext_libintl=no" 6092fi 6093rm -f core conftest.err conftest.$ac_objext \ 6094 conftest$ac_exeext conftest.$ac_ext 6095 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 6096 LIBS="$LIBS $LIBICONV" 6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6098/* end confdefs.h. */ 6099 6100#include <libintl.h> 6101#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6102extern int _nl_msg_cat_cntr; 6103extern 6104#ifdef __cplusplus 6105"C" 6106#endif 6107const char *_nl_expand_alias (const char *); 6108#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 6109#else 6110#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 6111#endif 6112$gt_revision_test_code 6113 6114int 6115main () 6116{ 6117 6118bindtextdomain ("", ""); 6119return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 6120 6121 ; 6122 return 0; 6123} 6124_ACEOF 6125if ac_fn_c_try_link "$LINENO"; then : 6126 LIBINTL="$LIBINTL $LIBICONV" 6127 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 6128 eval "$gt_func_gnugettext_libintl=yes" 6129 6130fi 6131rm -f core conftest.err conftest.$ac_objext \ 6132 conftest$ac_exeext conftest.$ac_ext 6133 fi 6134 CPPFLAGS="$gt_save_CPPFLAGS" 6135 LIBS="$gt_save_LIBS" 6136fi 6137eval ac_res=\$$gt_func_gnugettext_libintl 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6139$as_echo "$ac_res" >&6; } 6140 fi 6141 6142 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 6143 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 6144 && test "$PACKAGE" != gettext-runtime \ 6145 && test "$PACKAGE" != gettext-tools; }; then 6146 gt_use_preinstalled_gnugettext=yes 6147 else 6148 LIBINTL= 6149 LTLIBINTL= 6150 INCINTL= 6151 fi 6152 6153 6154 6155 if test -n "$INTL_MACOSX_LIBS"; then 6156 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6157 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6158 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 6159 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 6160 fi 6161 fi 6162 6163 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6164 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6165 6166$as_echo "#define ENABLE_NLS 1" >>confdefs.h 6167 6168 else 6169 USE_NLS=no 6170 fi 6171 fi 6172 6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 6174$as_echo_n "checking whether to use NLS... " >&6; } 6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 6176$as_echo "$USE_NLS" >&6; } 6177 if test "$USE_NLS" = "yes"; then 6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 6179$as_echo_n "checking where the gettext function comes from... " >&6; } 6180 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6181 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6182 gt_source="external libintl" 6183 else 6184 gt_source="libc" 6185 fi 6186 else 6187 gt_source="included intl directory" 6188 fi 6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 6190$as_echo "$gt_source" >&6; } 6191 fi 6192 6193 if test "$USE_NLS" = "yes"; then 6194 6195 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6196 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 6198$as_echo_n "checking how to link with libintl... " >&6; } 6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 6200$as_echo "$LIBINTL" >&6; } 6201 6202 for element in $INCINTL; do 6203 haveit= 6204 for x in $CPPFLAGS; do 6205 6206 acl_save_prefix="$prefix" 6207 prefix="$acl_final_prefix" 6208 acl_save_exec_prefix="$exec_prefix" 6209 exec_prefix="$acl_final_exec_prefix" 6210 eval x=\"$x\" 6211 exec_prefix="$acl_save_exec_prefix" 6212 prefix="$acl_save_prefix" 6213 6214 if test "X$x" = "X$element"; then 6215 haveit=yes 6216 break 6217 fi 6218 done 6219 if test -z "$haveit"; then 6220 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 6221 fi 6222 done 6223 6224 fi 6225 6226 6227$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6228 6229 6230$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 6231 6232 fi 6233 6234 POSUB=po 6235 fi 6236 6237 6238 6239 INTLLIBS="$LIBINTL" 6240 6241 6242 6243 6244 6245 6246 6247 6248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 6249$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 6250 # Check whether --enable-maintainer-mode was given. 6251if test "${enable_maintainer_mode+set}" = set; then : 6252 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 6253else 6254 USE_MAINTAINER_MODE=no 6255fi 6256 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 6258$as_echo "$USE_MAINTAINER_MODE" >&6; } 6259 if test $USE_MAINTAINER_MODE = yes; then 6260 MAINTAINER_MODE_TRUE= 6261 MAINTAINER_MODE_FALSE='#' 6262else 6263 MAINTAINER_MODE_TRUE='#' 6264 MAINTAINER_MODE_FALSE= 6265fi 6266 6267 MAINT=$MAINTAINER_MODE_TRUE 6268 6269 6270 6271ac_config_files="$ac_config_files Makefile abstract/Makefile desktop/Makefile nature/Makefile po/Makefile.in" 6272 6273cat >confcache <<\_ACEOF 6274# This file is a shell script that caches the results of configure 6275# tests run on this system so they can be shared between configure 6276# scripts and configure runs, see configure's option --config-cache. 6277# It is not useful on other systems. If it contains results you don't 6278# want to keep, you may remove or edit it. 6279# 6280# config.status only pays attention to the cache file if you give it 6281# the --recheck option to rerun configure. 6282# 6283# `ac_cv_env_foo' variables (set or unset) will be overridden when 6284# loading this file, other *unset* `ac_cv_foo' will be assigned the 6285# following values. 6286 6287_ACEOF 6288 6289# The following way of writing the cache mishandles newlines in values, 6290# but we know of no workaround that is simple, portable, and efficient. 6291# So, we kill variables containing newlines. 6292# Ultrix sh set writes to stderr and can't be redirected directly, 6293# and sets the high bit in the cache file unless we assign to the vars. 6294( 6295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6296 eval ac_val=\$$ac_var 6297 case $ac_val in #( 6298 *${as_nl}*) 6299 case $ac_var in #( 6300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6301$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6302 esac 6303 case $ac_var in #( 6304 _ | IFS | as_nl) ;; #( 6305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6306 *) { eval $ac_var=; unset $ac_var;} ;; 6307 esac ;; 6308 esac 6309 done 6310 6311 (set) 2>&1 | 6312 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6313 *${as_nl}ac_space=\ *) 6314 # `set' does not quote correctly, so add quotes: double-quote 6315 # substitution turns \\\\ into \\, and sed turns \\ into \. 6316 sed -n \ 6317 "s/'/'\\\\''/g; 6318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6319 ;; #( 6320 *) 6321 # `set' quotes correctly as required by POSIX, so do not add quotes. 6322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6323 ;; 6324 esac | 6325 sort 6326) | 6327 sed ' 6328 /^ac_cv_env_/b end 6329 t clear 6330 :clear 6331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6332 t end 6333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6334 :end' >>confcache 6335if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6336 if test -w "$cache_file"; then 6337 if test "x$cache_file" != "x/dev/null"; then 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6339$as_echo "$as_me: updating cache $cache_file" >&6;} 6340 if test ! -f "$cache_file" || test -h "$cache_file"; then 6341 cat confcache >"$cache_file" 6342 else 6343 case $cache_file in #( 6344 */* | ?:*) 6345 mv -f confcache "$cache_file"$$ && 6346 mv -f "$cache_file"$$ "$cache_file" ;; #( 6347 *) 6348 mv -f confcache "$cache_file" ;; 6349 esac 6350 fi 6351 fi 6352 else 6353 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6354$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6355 fi 6356fi 6357rm -f confcache 6358 6359test "x$prefix" = xNONE && prefix=$ac_default_prefix 6360# Let make expand exec_prefix. 6361test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6362 6363# Transform confdefs.h into DEFS. 6364# Protect against shell expansion while executing Makefile rules. 6365# Protect against Makefile macro expansion. 6366# 6367# If the first sed substitution is executed (which looks for macros that 6368# take arguments), then branch to the quote section. Otherwise, 6369# look for a macro that doesn't take arguments. 6370ac_script=' 6371:mline 6372/\\$/{ 6373 N 6374 s,\\\n,, 6375 b mline 6376} 6377t clear 6378:clear 6379s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 6380t quote 6381s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 6382t quote 6383b any 6384:quote 6385s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6386s/\[/\\&/g 6387s/\]/\\&/g 6388s/\$/$$/g 6389H 6390:any 6391${ 6392 g 6393 s/^\n// 6394 s/\n/ /g 6395 p 6396} 6397' 6398DEFS=`sed -n "$ac_script" confdefs.h` 6399 6400 6401ac_libobjs= 6402ac_ltlibobjs= 6403U= 6404for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6405 # 1. Remove the extension, and $U if already installed. 6406 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6407 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6408 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6409 # will be set to the directory where LIBOBJS objects are built. 6410 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6411 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6412done 6413LIBOBJS=$ac_libobjs 6414 6415LTLIBOBJS=$ac_ltlibobjs 6416 6417 6418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 6419$as_echo_n "checking that generated files are newer than configure... " >&6; } 6420 if test -n "$am_sleep_pid"; then 6421 # Hide warnings about reused PIDs. 6422 wait $am_sleep_pid 2>/dev/null 6423 fi 6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 6425$as_echo "done" >&6; } 6426 if test -n "$EXEEXT"; then 6427 am__EXEEXT_TRUE= 6428 am__EXEEXT_FALSE='#' 6429else 6430 am__EXEEXT_TRUE='#' 6431 am__EXEEXT_FALSE= 6432fi 6433 6434if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6435 as_fn_error $? "conditional \"AMDEP\" was never defined. 6436Usually this means the macro was only invoked conditionally." "$LINENO" 5 6437fi 6438if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6439 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6440Usually this means the macro was only invoked conditionally." "$LINENO" 5 6441fi 6442if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6443 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 6444Usually this means the macro was only invoked conditionally." "$LINENO" 5 6445fi 6446 6447: "${CONFIG_STATUS=./config.status}" 6448ac_write_fail=0 6449ac_clean_files_save=$ac_clean_files 6450ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6451{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6452$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6453as_write_fail=0 6454cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6455#! $SHELL 6456# Generated by $as_me. 6457# Run this file to recreate the current configuration. 6458# Compiler output produced by configure, useful for debugging 6459# configure, is in config.log if it exists. 6460 6461debug=false 6462ac_cs_recheck=false 6463ac_cs_silent=false 6464 6465SHELL=\${CONFIG_SHELL-$SHELL} 6466export SHELL 6467_ASEOF 6468cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6469## -------------------- ## 6470## M4sh Initialization. ## 6471## -------------------- ## 6472 6473# Be more Bourne compatible 6474DUALCASE=1; export DUALCASE # for MKS sh 6475if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6476 emulate sh 6477 NULLCMD=: 6478 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6479 # is contrary to our usage. Disable this feature. 6480 alias -g '${1+"$@"}'='"$@"' 6481 setopt NO_GLOB_SUBST 6482else 6483 case `(set -o) 2>/dev/null` in #( 6484 *posix*) : 6485 set -o posix ;; #( 6486 *) : 6487 ;; 6488esac 6489fi 6490 6491 6492as_nl=' 6493' 6494export as_nl 6495# Printing a long string crashes Solaris 7 /usr/bin/printf. 6496as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6497as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6498as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6499# Prefer a ksh shell builtin over an external printf program on Solaris, 6500# but without wasting forks for bash or zsh. 6501if test -z "$BASH_VERSION$ZSH_VERSION" \ 6502 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6503 as_echo='print -r --' 6504 as_echo_n='print -rn --' 6505elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6506 as_echo='printf %s\n' 6507 as_echo_n='printf %s' 6508else 6509 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6510 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6511 as_echo_n='/usr/ucb/echo -n' 6512 else 6513 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6514 as_echo_n_body='eval 6515 arg=$1; 6516 case $arg in #( 6517 *"$as_nl"*) 6518 expr "X$arg" : "X\\(.*\\)$as_nl"; 6519 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6520 esac; 6521 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6522 ' 6523 export as_echo_n_body 6524 as_echo_n='sh -c $as_echo_n_body as_echo' 6525 fi 6526 export as_echo_body 6527 as_echo='sh -c $as_echo_body as_echo' 6528fi 6529 6530# The user is always right. 6531if test "${PATH_SEPARATOR+set}" != set; then 6532 PATH_SEPARATOR=: 6533 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6534 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6535 PATH_SEPARATOR=';' 6536 } 6537fi 6538 6539 6540# IFS 6541# We need space, tab and new line, in precisely that order. Quoting is 6542# there to prevent editors from complaining about space-tab. 6543# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6544# splitting by setting IFS to empty value.) 6545IFS=" "" $as_nl" 6546 6547# Find who we are. Look in the path if we contain no directory separator. 6548as_myself= 6549case $0 in #(( 6550 *[\\/]* ) as_myself=$0 ;; 6551 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6552for as_dir in $PATH 6553do 6554 IFS=$as_save_IFS 6555 test -z "$as_dir" && as_dir=. 6556 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6557 done 6558IFS=$as_save_IFS 6559 6560 ;; 6561esac 6562# We did not find ourselves, most probably we were run as `sh COMMAND' 6563# in which case we are not to be found in the path. 6564if test "x$as_myself" = x; then 6565 as_myself=$0 6566fi 6567if test ! -f "$as_myself"; then 6568 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6569 exit 1 6570fi 6571 6572# Unset variables that we do not need and which cause bugs (e.g. in 6573# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6574# suppresses any "Segmentation fault" message there. '((' could 6575# trigger a bug in pdksh 5.2.14. 6576for as_var in BASH_ENV ENV MAIL MAILPATH 6577do eval test x\${$as_var+set} = xset \ 6578 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6579done 6580PS1='$ ' 6581PS2='> ' 6582PS4='+ ' 6583 6584# NLS nuisances. 6585LC_ALL=C 6586export LC_ALL 6587LANGUAGE=C 6588export LANGUAGE 6589 6590# CDPATH. 6591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6592 6593 6594# as_fn_error STATUS ERROR [LINENO LOG_FD] 6595# ---------------------------------------- 6596# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6597# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6598# script with STATUS, using 1 if that was 0. 6599as_fn_error () 6600{ 6601 as_status=$1; test $as_status -eq 0 && as_status=1 6602 if test "$4"; then 6603 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6604 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6605 fi 6606 $as_echo "$as_me: error: $2" >&2 6607 as_fn_exit $as_status 6608} # as_fn_error 6609 6610 6611# as_fn_set_status STATUS 6612# ----------------------- 6613# Set $? to STATUS, without forking. 6614as_fn_set_status () 6615{ 6616 return $1 6617} # as_fn_set_status 6618 6619# as_fn_exit STATUS 6620# ----------------- 6621# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6622as_fn_exit () 6623{ 6624 set +e 6625 as_fn_set_status $1 6626 exit $1 6627} # as_fn_exit 6628 6629# as_fn_unset VAR 6630# --------------- 6631# Portably unset VAR. 6632as_fn_unset () 6633{ 6634 { eval $1=; unset $1;} 6635} 6636as_unset=as_fn_unset 6637# as_fn_append VAR VALUE 6638# ---------------------- 6639# Append the text in VALUE to the end of the definition contained in VAR. Take 6640# advantage of any shell optimizations that allow amortized linear growth over 6641# repeated appends, instead of the typical quadratic growth present in naive 6642# implementations. 6643if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6644 eval 'as_fn_append () 6645 { 6646 eval $1+=\$2 6647 }' 6648else 6649 as_fn_append () 6650 { 6651 eval $1=\$$1\$2 6652 } 6653fi # as_fn_append 6654 6655# as_fn_arith ARG... 6656# ------------------ 6657# Perform arithmetic evaluation on the ARGs, and store the result in the 6658# global $as_val. Take advantage of shells that can avoid forks. The arguments 6659# must be portable across $(()) and expr. 6660if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6661 eval 'as_fn_arith () 6662 { 6663 as_val=$(( $* )) 6664 }' 6665else 6666 as_fn_arith () 6667 { 6668 as_val=`expr "$@" || test $? -eq 1` 6669 } 6670fi # as_fn_arith 6671 6672 6673if expr a : '\(a\)' >/dev/null 2>&1 && 6674 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6675 as_expr=expr 6676else 6677 as_expr=false 6678fi 6679 6680if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6681 as_basename=basename 6682else 6683 as_basename=false 6684fi 6685 6686if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6687 as_dirname=dirname 6688else 6689 as_dirname=false 6690fi 6691 6692as_me=`$as_basename -- "$0" || 6693$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6694 X"$0" : 'X\(//\)$' \| \ 6695 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6696$as_echo X/"$0" | 6697 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6698 s//\1/ 6699 q 6700 } 6701 /^X\/\(\/\/\)$/{ 6702 s//\1/ 6703 q 6704 } 6705 /^X\/\(\/\).*/{ 6706 s//\1/ 6707 q 6708 } 6709 s/.*/./; q'` 6710 6711# Avoid depending upon Character Ranges. 6712as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6713as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6714as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6715as_cr_digits='0123456789' 6716as_cr_alnum=$as_cr_Letters$as_cr_digits 6717 6718ECHO_C= ECHO_N= ECHO_T= 6719case `echo -n x` in #((((( 6720-n*) 6721 case `echo 'xy\c'` in 6722 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6723 xy) ECHO_C='\c';; 6724 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6725 ECHO_T=' ';; 6726 esac;; 6727*) 6728 ECHO_N='-n';; 6729esac 6730 6731rm -f conf$$ conf$$.exe conf$$.file 6732if test -d conf$$.dir; then 6733 rm -f conf$$.dir/conf$$.file 6734else 6735 rm -f conf$$.dir 6736 mkdir conf$$.dir 2>/dev/null 6737fi 6738if (echo >conf$$.file) 2>/dev/null; then 6739 if ln -s conf$$.file conf$$ 2>/dev/null; then 6740 as_ln_s='ln -s' 6741 # ... but there are two gotchas: 6742 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6743 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6744 # In both cases, we have to default to `cp -pR'. 6745 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6746 as_ln_s='cp -pR' 6747 elif ln conf$$.file conf$$ 2>/dev/null; then 6748 as_ln_s=ln 6749 else 6750 as_ln_s='cp -pR' 6751 fi 6752else 6753 as_ln_s='cp -pR' 6754fi 6755rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6756rmdir conf$$.dir 2>/dev/null 6757 6758 6759# as_fn_mkdir_p 6760# ------------- 6761# Create "$as_dir" as a directory, including parents if necessary. 6762as_fn_mkdir_p () 6763{ 6764 6765 case $as_dir in #( 6766 -*) as_dir=./$as_dir;; 6767 esac 6768 test -d "$as_dir" || eval $as_mkdir_p || { 6769 as_dirs= 6770 while :; do 6771 case $as_dir in #( 6772 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6773 *) as_qdir=$as_dir;; 6774 esac 6775 as_dirs="'$as_qdir' $as_dirs" 6776 as_dir=`$as_dirname -- "$as_dir" || 6777$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6778 X"$as_dir" : 'X\(//\)[^/]' \| \ 6779 X"$as_dir" : 'X\(//\)$' \| \ 6780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6781$as_echo X"$as_dir" | 6782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6783 s//\1/ 6784 q 6785 } 6786 /^X\(\/\/\)[^/].*/{ 6787 s//\1/ 6788 q 6789 } 6790 /^X\(\/\/\)$/{ 6791 s//\1/ 6792 q 6793 } 6794 /^X\(\/\).*/{ 6795 s//\1/ 6796 q 6797 } 6798 s/.*/./; q'` 6799 test -d "$as_dir" && break 6800 done 6801 test -z "$as_dirs" || eval "mkdir $as_dirs" 6802 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6803 6804 6805} # as_fn_mkdir_p 6806if mkdir -p . 2>/dev/null; then 6807 as_mkdir_p='mkdir -p "$as_dir"' 6808else 6809 test -d ./-p && rmdir ./-p 6810 as_mkdir_p=false 6811fi 6812 6813 6814# as_fn_executable_p FILE 6815# ----------------------- 6816# Test if FILE is an executable regular file. 6817as_fn_executable_p () 6818{ 6819 test -f "$1" && test -x "$1" 6820} # as_fn_executable_p 6821as_test_x='test -x' 6822as_executable_p=as_fn_executable_p 6823 6824# Sed expression to map a string onto a valid CPP name. 6825as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6826 6827# Sed expression to map a string onto a valid variable name. 6828as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6829 6830 6831exec 6>&1 6832## ----------------------------------- ## 6833## Main body of $CONFIG_STATUS script. ## 6834## ----------------------------------- ## 6835_ASEOF 6836test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6837 6838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6839# Save the log message, to keep $0 and so on meaningful, and to 6840# report actual input values of CONFIG_FILES etc. instead of their 6841# values after options handling. 6842ac_log=" 6843This file was extended by mate-backgrounds $as_me 1.26.0, which was 6844generated by GNU Autoconf 2.69. Invocation command line was 6845 6846 CONFIG_FILES = $CONFIG_FILES 6847 CONFIG_HEADERS = $CONFIG_HEADERS 6848 CONFIG_LINKS = $CONFIG_LINKS 6849 CONFIG_COMMANDS = $CONFIG_COMMANDS 6850 $ $0 $@ 6851 6852on `(hostname || uname -n) 2>/dev/null | sed 1q` 6853" 6854 6855_ACEOF 6856 6857case $ac_config_files in *" 6858"*) set x $ac_config_files; shift; ac_config_files=$*;; 6859esac 6860 6861 6862 6863cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6864# Files that config.status was made for. 6865config_files="$ac_config_files" 6866config_commands="$ac_config_commands" 6867 6868_ACEOF 6869 6870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6871ac_cs_usage="\ 6872\`$as_me' instantiates files and other configuration actions 6873from templates according to the current configuration. Unless the files 6874and actions are specified as TAGs, all are instantiated by default. 6875 6876Usage: $0 [OPTION]... [TAG]... 6877 6878 -h, --help print this help, then exit 6879 -V, --version print version number and configuration settings, then exit 6880 --config print configuration, then exit 6881 -q, --quiet, --silent 6882 do not print progress messages 6883 -d, --debug don't remove temporary files 6884 --recheck update $as_me by reconfiguring in the same conditions 6885 --file=FILE[:TEMPLATE] 6886 instantiate the configuration file FILE 6887 6888Configuration files: 6889$config_files 6890 6891Configuration commands: 6892$config_commands 6893 6894Report bugs to <http://www.mate-desktop.org>." 6895 6896_ACEOF 6897cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6898ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6899ac_cs_version="\\ 6900mate-backgrounds config.status 1.26.0 6901configured by $0, generated by GNU Autoconf 2.69, 6902 with options \\"\$ac_cs_config\\" 6903 6904Copyright (C) 2012 Free Software Foundation, Inc. 6905This config.status script is free software; the Free Software Foundation 6906gives unlimited permission to copy, distribute and modify it." 6907 6908ac_pwd='$ac_pwd' 6909srcdir='$srcdir' 6910INSTALL='$INSTALL' 6911MKDIR_P='$MKDIR_P' 6912AWK='$AWK' 6913test -n "\$AWK" || AWK=awk 6914_ACEOF 6915 6916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6917# The default lists apply if the user does not specify any file. 6918ac_need_defaults=: 6919while test $# != 0 6920do 6921 case $1 in 6922 --*=?*) 6923 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6924 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6925 ac_shift=: 6926 ;; 6927 --*=) 6928 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6929 ac_optarg= 6930 ac_shift=: 6931 ;; 6932 *) 6933 ac_option=$1 6934 ac_optarg=$2 6935 ac_shift=shift 6936 ;; 6937 esac 6938 6939 case $ac_option in 6940 # Handling of the options. 6941 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6942 ac_cs_recheck=: ;; 6943 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6944 $as_echo "$ac_cs_version"; exit ;; 6945 --config | --confi | --conf | --con | --co | --c ) 6946 $as_echo "$ac_cs_config"; exit ;; 6947 --debug | --debu | --deb | --de | --d | -d ) 6948 debug=: ;; 6949 --file | --fil | --fi | --f ) 6950 $ac_shift 6951 case $ac_optarg in 6952 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6953 '') as_fn_error $? "missing file argument" ;; 6954 esac 6955 as_fn_append CONFIG_FILES " '$ac_optarg'" 6956 ac_need_defaults=false;; 6957 --he | --h | --help | --hel | -h ) 6958 $as_echo "$ac_cs_usage"; exit ;; 6959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6960 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6961 ac_cs_silent=: ;; 6962 6963 # This is an error. 6964 -*) as_fn_error $? "unrecognized option: \`$1' 6965Try \`$0 --help' for more information." ;; 6966 6967 *) as_fn_append ac_config_targets " $1" 6968 ac_need_defaults=false ;; 6969 6970 esac 6971 shift 6972done 6973 6974ac_configure_extra_args= 6975 6976if $ac_cs_silent; then 6977 exec 6>/dev/null 6978 ac_configure_extra_args="$ac_configure_extra_args --silent" 6979fi 6980 6981_ACEOF 6982cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6983if \$ac_cs_recheck; then 6984 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6985 shift 6986 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6987 CONFIG_SHELL='$SHELL' 6988 export CONFIG_SHELL 6989 exec "\$@" 6990fi 6991 6992_ACEOF 6993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6994exec 5>>config.log 6995{ 6996 echo 6997 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6998## Running $as_me. ## 6999_ASBOX 7000 $as_echo "$ac_log" 7001} >&5 7002 7003_ACEOF 7004cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7005# 7006# INIT-COMMANDS 7007# 7008# Capture the value of obsolete ALL_LINGUAS because we need it to compute 7009 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 7010 # from automake < 1.5. 7011 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 7012 # Capture the value of LINGUAS because we need it to compute CATALOGS. 7013 LINGUAS="${LINGUAS-%UNSET%}" 7014 7015AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 7016 7017_ACEOF 7018 7019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7020 7021# Handling of arguments. 7022for ac_config_target in $ac_config_targets 7023do 7024 case $ac_config_target in 7025 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 7026 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7027 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7028 "abstract/Makefile") CONFIG_FILES="$CONFIG_FILES abstract/Makefile" ;; 7029 "desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;; 7030 "nature/Makefile") CONFIG_FILES="$CONFIG_FILES nature/Makefile" ;; 7031 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7032 7033 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7034 esac 7035done 7036 7037 7038# If the user did not use the arguments to specify the items to instantiate, 7039# then the envvar interface is used. Set only those that are not. 7040# We use the long form for the default assignment because of an extremely 7041# bizarre bug on SunOS 4.1.3. 7042if $ac_need_defaults; then 7043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7045fi 7046 7047# Have a temporary directory for convenience. Make it in the build tree 7048# simply because there is no reason against having it here, and in addition, 7049# creating and moving files from /tmp can sometimes cause problems. 7050# Hook for its removal unless debugging. 7051# Note that there is a small window in which the directory will not be cleaned: 7052# after its creation but before its name has been assigned to `$tmp'. 7053$debug || 7054{ 7055 tmp= ac_tmp= 7056 trap 'exit_status=$? 7057 : "${ac_tmp:=$tmp}" 7058 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7059' 0 7060 trap 'as_fn_exit 1' 1 2 13 15 7061} 7062# Create a (secure) tmp directory for tmp files. 7063 7064{ 7065 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7066 test -d "$tmp" 7067} || 7068{ 7069 tmp=./conf$$-$RANDOM 7070 (umask 077 && mkdir "$tmp") 7071} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7072ac_tmp=$tmp 7073 7074# Set up the scripts for CONFIG_FILES section. 7075# No need to generate them if there are no CONFIG_FILES. 7076# This happens for instance with `./config.status config.h'. 7077if test -n "$CONFIG_FILES"; then 7078 7079 7080ac_cr=`echo X | tr X '\015'` 7081# On cygwin, bash can eat \r inside `` if the user requested igncr. 7082# But we know of no other shell where ac_cr would be empty at this 7083# point, so we can use a bashism as a fallback. 7084if test "x$ac_cr" = x; then 7085 eval ac_cr=\$\'\\r\' 7086fi 7087ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7088if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7089 ac_cs_awk_cr='\\r' 7090else 7091 ac_cs_awk_cr=$ac_cr 7092fi 7093 7094echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7095_ACEOF 7096 7097 7098{ 7099 echo "cat >conf$$subs.awk <<_ACEOF" && 7100 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7101 echo "_ACEOF" 7102} >conf$$subs.sh || 7103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7104ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7105ac_delim='%!_!# ' 7106for ac_last_try in false false false false false :; do 7107 . ./conf$$subs.sh || 7108 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7109 7110 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7111 if test $ac_delim_n = $ac_delim_num; then 7112 break 7113 elif $ac_last_try; then 7114 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7115 else 7116 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7117 fi 7118done 7119rm -f conf$$subs.sh 7120 7121cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7122cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7123_ACEOF 7124sed -n ' 7125h 7126s/^/S["/; s/!.*/"]=/ 7127p 7128g 7129s/^[^!]*!// 7130:repl 7131t repl 7132s/'"$ac_delim"'$// 7133t delim 7134:nl 7135h 7136s/\(.\{148\}\)..*/\1/ 7137t more1 7138s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7139p 7140n 7141b repl 7142:more1 7143s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7144p 7145g 7146s/.\{148\}// 7147t nl 7148:delim 7149h 7150s/\(.\{148\}\)..*/\1/ 7151t more2 7152s/["\\]/\\&/g; s/^/"/; s/$/"/ 7153p 7154b 7155:more2 7156s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7157p 7158g 7159s/.\{148\}// 7160t delim 7161' <conf$$subs.awk | sed ' 7162/^[^""]/{ 7163 N 7164 s/\n// 7165} 7166' >>$CONFIG_STATUS || ac_write_fail=1 7167rm -f conf$$subs.awk 7168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7169_ACAWK 7170cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7171 for (key in S) S_is_set[key] = 1 7172 FS = "" 7173 7174} 7175{ 7176 line = $ 0 7177 nfields = split(line, field, "@") 7178 substed = 0 7179 len = length(field[1]) 7180 for (i = 2; i < nfields; i++) { 7181 key = field[i] 7182 keylen = length(key) 7183 if (S_is_set[key]) { 7184 value = S[key] 7185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7186 len += length(value) + length(field[++i]) 7187 substed = 1 7188 } else 7189 len += 1 + keylen 7190 } 7191 7192 print line 7193} 7194 7195_ACAWK 7196_ACEOF 7197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7198if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7199 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7200else 7201 cat 7202fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7203 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7204_ACEOF 7205 7206# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7207# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7208# trailing colons and then remove the whole line if VPATH becomes empty 7209# (actually we leave an empty line to preserve line numbers). 7210if test "x$srcdir" = x.; then 7211 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7212h 7213s/// 7214s/^/:/ 7215s/[ ]*$/:/ 7216s/:\$(srcdir):/:/g 7217s/:\${srcdir}:/:/g 7218s/:@srcdir@:/:/g 7219s/^:*// 7220s/:*$// 7221x 7222s/\(=[ ]*\).*/\1/ 7223G 7224s/\n// 7225s/^[^=]*=[ ]*$// 7226}' 7227fi 7228 7229cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7230fi # test -n "$CONFIG_FILES" 7231 7232 7233eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 7234shift 7235for ac_tag 7236do 7237 case $ac_tag in 7238 :[FHLC]) ac_mode=$ac_tag; continue;; 7239 esac 7240 case $ac_mode$ac_tag in 7241 :[FHL]*:*);; 7242 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7243 :[FH]-) ac_tag=-:-;; 7244 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7245 esac 7246 ac_save_IFS=$IFS 7247 IFS=: 7248 set x $ac_tag 7249 IFS=$ac_save_IFS 7250 shift 7251 ac_file=$1 7252 shift 7253 7254 case $ac_mode in 7255 :L) ac_source=$1;; 7256 :[FH]) 7257 ac_file_inputs= 7258 for ac_f 7259 do 7260 case $ac_f in 7261 -) ac_f="$ac_tmp/stdin";; 7262 *) # Look for the file first in the build tree, then in the source tree 7263 # (if the path is not absolute). The absolute path cannot be DOS-style, 7264 # because $ac_f cannot contain `:'. 7265 test -f "$ac_f" || 7266 case $ac_f in 7267 [\\/$]*) false;; 7268 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7269 esac || 7270 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7271 esac 7272 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7273 as_fn_append ac_file_inputs " '$ac_f'" 7274 done 7275 7276 # Let's still pretend it is `configure' which instantiates (i.e., don't 7277 # use $as_me), people would be surprised to read: 7278 # /* config.h. Generated by config.status. */ 7279 configure_input='Generated from '` 7280 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7281 `' by configure.' 7282 if test x"$ac_file" != x-; then 7283 configure_input="$ac_file. $configure_input" 7284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7285$as_echo "$as_me: creating $ac_file" >&6;} 7286 fi 7287 # Neutralize special characters interpreted by sed in replacement strings. 7288 case $configure_input in #( 7289 *\&* | *\|* | *\\* ) 7290 ac_sed_conf_input=`$as_echo "$configure_input" | 7291 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7292 *) ac_sed_conf_input=$configure_input;; 7293 esac 7294 7295 case $ac_tag in 7296 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7298 esac 7299 ;; 7300 esac 7301 7302 ac_dir=`$as_dirname -- "$ac_file" || 7303$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7304 X"$ac_file" : 'X\(//\)[^/]' \| \ 7305 X"$ac_file" : 'X\(//\)$' \| \ 7306 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7307$as_echo X"$ac_file" | 7308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7309 s//\1/ 7310 q 7311 } 7312 /^X\(\/\/\)[^/].*/{ 7313 s//\1/ 7314 q 7315 } 7316 /^X\(\/\/\)$/{ 7317 s//\1/ 7318 q 7319 } 7320 /^X\(\/\).*/{ 7321 s//\1/ 7322 q 7323 } 7324 s/.*/./; q'` 7325 as_dir="$ac_dir"; as_fn_mkdir_p 7326 ac_builddir=. 7327 7328case "$ac_dir" in 7329.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7330*) 7331 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7332 # A ".." for each directory in $ac_dir_suffix. 7333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7334 case $ac_top_builddir_sub in 7335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7337 esac ;; 7338esac 7339ac_abs_top_builddir=$ac_pwd 7340ac_abs_builddir=$ac_pwd$ac_dir_suffix 7341# for backward compatibility: 7342ac_top_builddir=$ac_top_build_prefix 7343 7344case $srcdir in 7345 .) # We are building in place. 7346 ac_srcdir=. 7347 ac_top_srcdir=$ac_top_builddir_sub 7348 ac_abs_top_srcdir=$ac_pwd ;; 7349 [\\/]* | ?:[\\/]* ) # Absolute name. 7350 ac_srcdir=$srcdir$ac_dir_suffix; 7351 ac_top_srcdir=$srcdir 7352 ac_abs_top_srcdir=$srcdir ;; 7353 *) # Relative name. 7354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7355 ac_top_srcdir=$ac_top_build_prefix$srcdir 7356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7357esac 7358ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7359 7360 7361 case $ac_mode in 7362 :F) 7363 # 7364 # CONFIG_FILE 7365 # 7366 7367 case $INSTALL in 7368 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7369 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7370 esac 7371 ac_MKDIR_P=$MKDIR_P 7372 case $MKDIR_P in 7373 [\\/$]* | ?:[\\/]* ) ;; 7374 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7375 esac 7376_ACEOF 7377 7378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7379# If the template does not know about datarootdir, expand it. 7380# FIXME: This hack should be removed a few years after 2.60. 7381ac_datarootdir_hack=; ac_datarootdir_seen= 7382ac_sed_dataroot=' 7383/datarootdir/ { 7384 p 7385 q 7386} 7387/@datadir@/p 7388/@docdir@/p 7389/@infodir@/p 7390/@localedir@/p 7391/@mandir@/p' 7392case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7393*datarootdir*) ac_datarootdir_seen=yes;; 7394*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7396$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7397_ACEOF 7398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7399 ac_datarootdir_hack=' 7400 s&@datadir@&$datadir&g 7401 s&@docdir@&$docdir&g 7402 s&@infodir@&$infodir&g 7403 s&@localedir@&$localedir&g 7404 s&@mandir@&$mandir&g 7405 s&\\\${datarootdir}&$datarootdir&g' ;; 7406esac 7407_ACEOF 7408 7409# Neutralize VPATH when `$srcdir' = `.'. 7410# Shell code in configure.ac might set extrasub. 7411# FIXME: do we really want to maintain this feature? 7412cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7413ac_sed_extra="$ac_vpsub 7414$extrasub 7415_ACEOF 7416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7417:t 7418/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7419s|@configure_input@|$ac_sed_conf_input|;t t 7420s&@top_builddir@&$ac_top_builddir_sub&;t t 7421s&@top_build_prefix@&$ac_top_build_prefix&;t t 7422s&@srcdir@&$ac_srcdir&;t t 7423s&@abs_srcdir@&$ac_abs_srcdir&;t t 7424s&@top_srcdir@&$ac_top_srcdir&;t t 7425s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7426s&@builddir@&$ac_builddir&;t t 7427s&@abs_builddir@&$ac_abs_builddir&;t t 7428s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7429s&@INSTALL@&$ac_INSTALL&;t t 7430s&@MKDIR_P@&$ac_MKDIR_P&;t t 7431$ac_datarootdir_hack 7432" 7433eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7434 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7435 7436test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7437 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7438 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7439 "$ac_tmp/out"`; test -z "$ac_out"; } && 7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7441which seems to be undefined. Please make sure it is defined" >&5 7442$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7443which seems to be undefined. Please make sure it is defined" >&2;} 7444 7445 rm -f "$ac_tmp/stdin" 7446 case $ac_file in 7447 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7448 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7449 esac \ 7450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7451 ;; 7452 7453 7454 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7455$as_echo "$as_me: executing $ac_file commands" >&6;} 7456 ;; 7457 esac 7458 7459 7460 case $ac_file$ac_mode in 7461 "po-directories":C) 7462 for ac_file in $CONFIG_FILES; do 7463 # Support "outfile[:infile[:infile...]]" 7464 case "$ac_file" in 7465 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 7466 esac 7467 # PO directories have a Makefile.in generated from Makefile.in.in. 7468 case "$ac_file" in */Makefile.in) 7469 # Adjust a relative srcdir. 7470 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 7471 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 7472 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 7473 # In autoconf-2.13 it is called $ac_given_srcdir. 7474 # In autoconf-2.50 it is called $srcdir. 7475 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 7476 case "$ac_given_srcdir" in 7477 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 7478 /*) top_srcdir="$ac_given_srcdir" ;; 7479 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 7480 esac 7481 # Treat a directory as a PO directory if and only if it has a 7482 # POTFILES.in file. This allows packages to have multiple PO 7483 # directories under different names or in different locations. 7484 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 7485 rm -f "$ac_dir/POTFILES" 7486 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 7487 gt_tab=`printf '\t'` 7488 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" 7489 POMAKEFILEDEPS="POTFILES.in" 7490 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 7491 # on $ac_dir but don't depend on user-specified configuration 7492 # parameters. 7493 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 7494 # The LINGUAS file contains the set of available languages. 7495 if test -n "$OBSOLETE_ALL_LINGUAS"; then 7496 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 7497 fi 7498 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 7499 # Hide the ALL_LINGUAS assignment from automake < 1.5. 7500 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 7501 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 7502 else 7503 # The set of available languages was given in configure.in. 7504 # Hide the ALL_LINGUAS assignment from automake < 1.5. 7505 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 7506 fi 7507 # Compute POFILES 7508 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 7509 # Compute UPDATEPOFILES 7510 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 7511 # Compute DUMMYPOFILES 7512 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 7513 # Compute GMOFILES 7514 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 7515 case "$ac_given_srcdir" in 7516 .) srcdirpre= ;; 7517 *) srcdirpre='$(srcdir)/' ;; 7518 esac 7519 POFILES= 7520 UPDATEPOFILES= 7521 DUMMYPOFILES= 7522 GMOFILES= 7523 for lang in $ALL_LINGUAS; do 7524 POFILES="$POFILES $srcdirpre$lang.po" 7525 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 7526 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 7527 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 7528 done 7529 # CATALOGS depends on both $ac_dir and the user's LINGUAS 7530 # environment variable. 7531 INST_LINGUAS= 7532 if test -n "$ALL_LINGUAS"; then 7533 for presentlang in $ALL_LINGUAS; do 7534 useit=no 7535 if test "%UNSET%" != "$LINGUAS"; then 7536 desiredlanguages="$LINGUAS" 7537 else 7538 desiredlanguages="$ALL_LINGUAS" 7539 fi 7540 for desiredlang in $desiredlanguages; do 7541 # Use the presentlang catalog if desiredlang is 7542 # a. equal to presentlang, or 7543 # b. a variant of presentlang (because in this case, 7544 # presentlang can be used as a fallback for messages 7545 # which are not translated in the desiredlang catalog). 7546 case "$desiredlang" in 7547 "$presentlang"*) useit=yes;; 7548 esac 7549 done 7550 if test $useit = yes; then 7551 INST_LINGUAS="$INST_LINGUAS $presentlang" 7552 fi 7553 done 7554 fi 7555 CATALOGS= 7556 if test -n "$INST_LINGUAS"; then 7557 for lang in $INST_LINGUAS; do 7558 CATALOGS="$CATALOGS $lang.gmo" 7559 done 7560 fi 7561 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 7562 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" 7563 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 7564 if test -f "$f"; then 7565 case "$f" in 7566 *.orig | *.bak | *~) ;; 7567 *) cat "$f" >> "$ac_dir/Makefile" ;; 7568 esac 7569 fi 7570 done 7571 fi 7572 ;; 7573 esac 7574 done ;; 7575 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7576 # Older Autoconf quotes --file arguments for eval, but not when files 7577 # are listed without --file. Let's play safe and only enable the eval 7578 # if we detect the quoting. 7579 # TODO: see whether this extra hack can be removed once we start 7580 # requiring Autoconf 2.70 or later. 7581 case $CONFIG_FILES in #( 7582 *\'*) : 7583 eval set x "$CONFIG_FILES" ;; #( 7584 *) : 7585 set x $CONFIG_FILES ;; #( 7586 *) : 7587 ;; 7588esac 7589 shift 7590 # Used to flag and report bootstrapping failures. 7591 am_rc=0 7592 for am_mf 7593 do 7594 # Strip MF so we end up with the name of the file. 7595 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 7596 # Check whether this is an Automake generated Makefile which includes 7597 # dependency-tracking related rules and includes. 7598 # Grep'ing the whole file directly is not great: AIX grep has a line 7599 # limit of 2048, but all sed's we know have understand at least 4000. 7600 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 7601 || continue 7602 am_dirpart=`$as_dirname -- "$am_mf" || 7603$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7604 X"$am_mf" : 'X\(//\)[^/]' \| \ 7605 X"$am_mf" : 'X\(//\)$' \| \ 7606 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 7607$as_echo X"$am_mf" | 7608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7609 s//\1/ 7610 q 7611 } 7612 /^X\(\/\/\)[^/].*/{ 7613 s//\1/ 7614 q 7615 } 7616 /^X\(\/\/\)$/{ 7617 s//\1/ 7618 q 7619 } 7620 /^X\(\/\).*/{ 7621 s//\1/ 7622 q 7623 } 7624 s/.*/./; q'` 7625 am_filepart=`$as_basename -- "$am_mf" || 7626$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 7627 X"$am_mf" : 'X\(//\)$' \| \ 7628 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 7629$as_echo X/"$am_mf" | 7630 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7631 s//\1/ 7632 q 7633 } 7634 /^X\/\(\/\/\)$/{ 7635 s//\1/ 7636 q 7637 } 7638 /^X\/\(\/\).*/{ 7639 s//\1/ 7640 q 7641 } 7642 s/.*/./; q'` 7643 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 7644 && sed -e '/# am--include-marker/d' "$am_filepart" \ 7645 | $MAKE -f - am--depfiles" >&5 7646 (cd "$am_dirpart" \ 7647 && sed -e '/# am--include-marker/d' "$am_filepart" \ 7648 | $MAKE -f - am--depfiles) >&5 2>&5 7649 ac_status=$? 7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7651 (exit $ac_status); } || am_rc=$? 7652 done 7653 if test $am_rc -ne 0; then 7654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7655$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7656as_fn_error $? "Something went wrong bootstrapping makefile fragments 7657 for automatic dependency tracking. If GNU make was not used, consider 7658 re-running the configure script with MAKE=\"gmake\" (or whatever is 7659 necessary). You can also try re-running configure with the 7660 '--disable-dependency-tracking' option to at least be able to build 7661 the package (albeit without support for automatic dependency tracking). 7662See \`config.log' for more details" "$LINENO" 5; } 7663 fi 7664 { am_dirpart=; unset am_dirpart;} 7665 { am_filepart=; unset am_filepart;} 7666 { am_mf=; unset am_mf;} 7667 { am_rc=; unset am_rc;} 7668 rm -f conftest-deps.mk 7669} 7670 ;; 7671 7672 esac 7673done # for ac_tag 7674 7675 7676as_fn_exit 0 7677_ACEOF 7678ac_clean_files=$ac_clean_files_save 7679 7680test $ac_write_fail = 0 || 7681 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7682 7683 7684# configure is writing to config.log, and then calls config.status. 7685# config.status does its own redirection, appending to config.log. 7686# Unfortunately, on DOS this fails, as config.log is still kept open 7687# by configure, so config.status won't be able to write to it; its 7688# output is simply discarded. So we exec the FD to /dev/null, 7689# effectively closing config.log, so it can be properly (re)opened and 7690# appended to by config.status. When coming back to configure, we 7691# need to make the FD available again. 7692if test "$no_create" != yes; then 7693 ac_cs_success=: 7694 ac_config_status_args= 7695 test "$silent" = yes && 7696 ac_config_status_args="$ac_config_status_args --quiet" 7697 exec 5>/dev/null 7698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7699 exec 5>>config.log 7700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7701 # would make configure fail if this is the last instruction. 7702 $ac_cs_success || as_fn_exit 1 7703fi 7704if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7706$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7707fi 7708 7709