1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mate-user-guide 1.26.0. 4# 5# Report bugs to <https://github.com/mate-desktop/mate-user-guide/issues/new>. 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: https://github.com/mate-desktop/mate-user-guide/issues/new 271$0: about your system, including any error possibly output 272$0: before this message. Then install a modern shell, or 273$0: manually run the script under such a shell if you do 274$0: have one." 275 fi 276 exit 1 277fi 278fi 279fi 280SHELL=${CONFIG_SHELL-/bin/sh} 281export SHELL 282# Unset more variables known to interfere with behavior of common tools. 283CLICOLOR_FORCE= GREP_OPTIONS= 284unset CLICOLOR_FORCE GREP_OPTIONS 285 286## --------------------- ## 287## M4sh Shell Functions. ## 288## --------------------- ## 289# as_fn_unset VAR 290# --------------- 291# Portably unset VAR. 292as_fn_unset () 293{ 294 { eval $1=; unset $1;} 295} 296as_unset=as_fn_unset 297 298# as_fn_set_status STATUS 299# ----------------------- 300# Set $? to STATUS, without forking. 301as_fn_set_status () 302{ 303 return $1 304} # as_fn_set_status 305 306# as_fn_exit STATUS 307# ----------------- 308# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 309as_fn_exit () 310{ 311 set +e 312 as_fn_set_status $1 313 exit $1 314} # as_fn_exit 315 316# as_fn_mkdir_p 317# ------------- 318# Create "$as_dir" as a directory, including parents if necessary. 319as_fn_mkdir_p () 320{ 321 322 case $as_dir in #( 323 -*) as_dir=./$as_dir;; 324 esac 325 test -d "$as_dir" || eval $as_mkdir_p || { 326 as_dirs= 327 while :; do 328 case $as_dir in #( 329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 330 *) as_qdir=$as_dir;; 331 esac 332 as_dirs="'$as_qdir' $as_dirs" 333 as_dir=`$as_dirname -- "$as_dir" || 334$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 335 X"$as_dir" : 'X\(//\)[^/]' \| \ 336 X"$as_dir" : 'X\(//\)$' \| \ 337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 338$as_echo X"$as_dir" | 339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)[^/].*/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\).*/{ 352 s//\1/ 353 q 354 } 355 s/.*/./; q'` 356 test -d "$as_dir" && break 357 done 358 test -z "$as_dirs" || eval "mkdir $as_dirs" 359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 360 361 362} # as_fn_mkdir_p 363 364# as_fn_executable_p FILE 365# ----------------------- 366# Test if FILE is an executable regular file. 367as_fn_executable_p () 368{ 369 test -f "$1" && test -x "$1" 370} # as_fn_executable_p 371# as_fn_append VAR VALUE 372# ---------------------- 373# Append the text in VALUE to the end of the definition contained in VAR. Take 374# advantage of any shell optimizations that allow amortized linear growth over 375# repeated appends, instead of the typical quadratic growth present in naive 376# implementations. 377if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 378 eval 'as_fn_append () 379 { 380 eval $1+=\$2 381 }' 382else 383 as_fn_append () 384 { 385 eval $1=\$$1\$2 386 } 387fi # as_fn_append 388 389# as_fn_arith ARG... 390# ------------------ 391# Perform arithmetic evaluation on the ARGs, and store the result in the 392# global $as_val. Take advantage of shells that can avoid forks. The arguments 393# must be portable across $(()) and expr. 394if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 395 eval 'as_fn_arith () 396 { 397 as_val=$(( $* )) 398 }' 399else 400 as_fn_arith () 401 { 402 as_val=`expr "$@" || test $? -eq 1` 403 } 404fi # as_fn_arith 405 406 407# as_fn_error STATUS ERROR [LINENO LOG_FD] 408# ---------------------------------------- 409# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 410# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 411# script with STATUS, using 1 if that was 0. 412as_fn_error () 413{ 414 as_status=$1; test $as_status -eq 0 && as_status=1 415 if test "$4"; then 416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 418 fi 419 $as_echo "$as_me: error: $2" >&2 420 as_fn_exit $as_status 421} # as_fn_error 422 423if expr a : '\(a\)' >/dev/null 2>&1 && 424 test "X`expr 00001 : '.*\(...\)'`" = X001; then 425 as_expr=expr 426else 427 as_expr=false 428fi 429 430if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 431 as_basename=basename 432else 433 as_basename=false 434fi 435 436if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 437 as_dirname=dirname 438else 439 as_dirname=false 440fi 441 442as_me=`$as_basename -- "$0" || 443$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 444 X"$0" : 'X\(//\)$' \| \ 445 X"$0" : 'X\(/\)' \| . 2>/dev/null || 446$as_echo X/"$0" | 447 sed '/^.*\/\([^/][^/]*\)\/*$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\/\)$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\).*/{ 456 s//\1/ 457 q 458 } 459 s/.*/./; q'` 460 461# Avoid depending upon Character Ranges. 462as_cr_letters='abcdefghijklmnopqrstuvwxyz' 463as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 464as_cr_Letters=$as_cr_letters$as_cr_LETTERS 465as_cr_digits='0123456789' 466as_cr_alnum=$as_cr_Letters$as_cr_digits 467 468 469 as_lineno_1=$LINENO as_lineno_1a=$LINENO 470 as_lineno_2=$LINENO as_lineno_2a=$LINENO 471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 474 sed -n ' 475 p 476 /[$]LINENO/= 477 ' <$as_myself | 478 sed ' 479 s/[$]LINENO.*/&-/ 480 t lineno 481 b 482 :lineno 483 N 484 :loop 485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 486 t loop 487 s/-\n.*// 488 ' >$as_me.lineno && 489 chmod +x "$as_me.lineno" || 490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 491 492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 493 # already done that, so ensure we don't try to do so again and fall 494 # in an infinite loop. This has already happened in practice. 495 _as_can_reexec=no; export _as_can_reexec 496 # Don't try to exec as it changes $[0], causing all sort of problems 497 # (the dirname of $[0] is not the place where we might find the 498 # original and so on. Autoconf is especially sensitive to this). 499 . "./$as_me.lineno" 500 # Exit status is that of the last command. 501 exit 502} 503 504ECHO_C= ECHO_N= ECHO_T= 505case `echo -n x` in #((((( 506-n*) 507 case `echo 'xy\c'` in 508 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 509 xy) ECHO_C='\c';; 510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 511 ECHO_T=' ';; 512 esac;; 513*) 514 ECHO_N='-n';; 515esac 516 517rm -f conf$$ conf$$.exe conf$$.file 518if test -d conf$$.dir; then 519 rm -f conf$$.dir/conf$$.file 520else 521 rm -f conf$$.dir 522 mkdir conf$$.dir 2>/dev/null 523fi 524if (echo >conf$$.file) 2>/dev/null; then 525 if ln -s conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s='ln -s' 527 # ... but there are two gotchas: 528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 530 # In both cases, we have to default to `cp -pR'. 531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 532 as_ln_s='cp -pR' 533 elif ln conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s=ln 535 else 536 as_ln_s='cp -pR' 537 fi 538else 539 as_ln_s='cp -pR' 540fi 541rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 542rmdir conf$$.dir 2>/dev/null 543 544if mkdir -p . 2>/dev/null; then 545 as_mkdir_p='mkdir -p "$as_dir"' 546else 547 test -d ./-p && rmdir ./-p 548 as_mkdir_p=false 549fi 550 551as_test_x='test -x' 552as_executable_p=as_fn_executable_p 553 554# Sed expression to map a string onto a valid CPP name. 555as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 556 557# Sed expression to map a string onto a valid variable name. 558as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 559 560 561test -n "$DJDIR" || exec 7<&0 </dev/null 562exec 6>&1 563 564# Name of the host. 565# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 566# so uname gets run too. 567ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 568 569# 570# Initializations. 571# 572ac_default_prefix=/usr/local 573ac_clean_files= 574ac_config_libobj_dir=. 575LIBOBJS= 576cross_compiling=no 577subdirs= 578MFLAGS= 579MAKEFLAGS= 580 581# Identity of this package. 582PACKAGE_NAME='mate-user-guide' 583PACKAGE_TARNAME='mate-user-guide' 584PACKAGE_VERSION='1.26.0' 585PACKAGE_STRING='mate-user-guide 1.26.0' 586PACKAGE_BUGREPORT='https://github.com/mate-desktop/mate-user-guide/issues/new' 587PACKAGE_URL='' 588 589gt_needs= 590ac_subst_vars='am__EXEEXT_FALSE 591am__EXEEXT_TRUE 592LTLIBOBJS 593LIBOBJS 594YELP_HELP_RULES 595XMLLINT 596ITSTOOL 597HELP_DIR 598YELP_LC_DIST 599YELP_LC_MEDIA_LINKS 600LN_S 601USE_NLS_FALSE 602USE_NLS_TRUE 603POSUB 604LTLIBINTL 605LIBINTL 606INTLLIBS 607LTLIBICONV 608LIBICONV 609INTL_MACOSX_LIBS 610EGREP 611GREP 612CPP 613host_os 614host_vendor 615host_cpu 616host 617build_os 618build_vendor 619build_cpu 620build 621am__fastdepCC_FALSE 622am__fastdepCC_TRUE 623CCDEPMODE 624am__nodep 625AMDEPBACKSLASH 626AMDEP_FALSE 627AMDEP_TRUE 628am__include 629DEPDIR 630OBJEXT 631EXEEXT 632ac_ct_CC 633CPPFLAGS 634LDFLAGS 635CFLAGS 636CC 637XGETTEXT_EXTRA_OPTIONS 638MSGMERGE_FOR_MSGFMT_OPTION 639MSGMERGE 640XGETTEXT_015 641XGETTEXT 642GMSGFMT_015 643GMSGFMT 644MSGFMT 645GETTEXT_MACRO_VERSION 646USE_NLS 647SED 648GETTEXT_PACKAGE 649MAINT 650MAINTAINER_MODE_FALSE 651MAINTAINER_MODE_TRUE 652AM_BACKSLASH 653AM_DEFAULT_VERBOSITY 654AM_DEFAULT_V 655AM_V 656am__untar 657am__tar 658AMTAR 659am__leading_dot 660SET_MAKE 661AWK 662mkdir_p 663MKDIR_P 664INSTALL_STRIP_PROGRAM 665STRIP 666install_sh 667MAKEINFO 668AUTOHEADER 669AUTOMAKE 670AUTOCONF 671ACLOCAL 672VERSION 673PACKAGE 674CYGPATH_W 675am__isrc 676INSTALL_DATA 677INSTALL_SCRIPT 678INSTALL_PROGRAM 679target_alias 680host_alias 681build_alias 682LIBS 683ECHO_T 684ECHO_N 685ECHO_C 686DEFS 687mandir 688localedir 689libdir 690psdir 691pdfdir 692dvidir 693htmldir 694infodir 695docdir 696oldincludedir 697includedir 698runstatedir 699localstatedir 700sharedstatedir 701sysconfdir 702datadir 703datarootdir 704libexecdir 705sbindir 706bindir 707program_transform_name 708prefix 709exec_prefix 710PACKAGE_URL 711PACKAGE_BUGREPORT 712PACKAGE_STRING 713PACKAGE_VERSION 714PACKAGE_TARNAME 715PACKAGE_NAME 716PATH_SEPARATOR 717SHELL 718am__quote' 719ac_subst_files='' 720ac_user_opts=' 721enable_option_checking 722enable_silent_rules 723enable_maintainer_mode 724enable_nls 725enable_dependency_tracking 726with_gnu_ld 727enable_rpath 728with_libiconv_prefix 729with_libintl_prefix 730with_help_dir 731' 732 ac_precious_vars='build_alias 733host_alias 734target_alias 735CC 736CFLAGS 737LDFLAGS 738LIBS 739CPPFLAGS 740CPP 741ITSTOOL 742XMLLINT' 743 744 745# Initialize some variables set by options. 746ac_init_help= 747ac_init_version=false 748ac_unrecognized_opts= 749ac_unrecognized_sep= 750# The variables have the same names as the options, with 751# dashes changed to underlines. 752cache_file=/dev/null 753exec_prefix=NONE 754no_create= 755no_recursion= 756prefix=NONE 757program_prefix=NONE 758program_suffix=NONE 759program_transform_name=s,x,x, 760silent= 761site= 762srcdir= 763verbose= 764x_includes=NONE 765x_libraries=NONE 766 767# Installation directory options. 768# These are left unexpanded so users can "make install exec_prefix=/foo" 769# and all the variables that are supposed to be based on exec_prefix 770# by default will actually change. 771# Use braces instead of parens because sh, perl, etc. also accept them. 772# (The list follows the same order as the GNU Coding Standards.) 773bindir='${exec_prefix}/bin' 774sbindir='${exec_prefix}/sbin' 775libexecdir='${exec_prefix}/libexec' 776datarootdir='${prefix}/share' 777datadir='${datarootdir}' 778sysconfdir='${prefix}/etc' 779sharedstatedir='${prefix}/com' 780localstatedir='${prefix}/var' 781runstatedir='${localstatedir}/run' 782includedir='${prefix}/include' 783oldincludedir='/usr/include' 784docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 785infodir='${datarootdir}/info' 786htmldir='${docdir}' 787dvidir='${docdir}' 788pdfdir='${docdir}' 789psdir='${docdir}' 790libdir='${exec_prefix}/lib' 791localedir='${datarootdir}/locale' 792mandir='${datarootdir}/man' 793 794ac_prev= 795ac_dashdash= 796for ac_option 797do 798 # If the previous option needs an argument, assign it. 799 if test -n "$ac_prev"; then 800 eval $ac_prev=\$ac_option 801 ac_prev= 802 continue 803 fi 804 805 case $ac_option in 806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 807 *=) ac_optarg= ;; 808 *) ac_optarg=yes ;; 809 esac 810 811 # Accept the important Cygnus configure options, so we can diagnose typos. 812 813 case $ac_dashdash$ac_option in 814 --) 815 ac_dashdash=yes ;; 816 817 -bindir | --bindir | --bindi | --bind | --bin | --bi) 818 ac_prev=bindir ;; 819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 820 bindir=$ac_optarg ;; 821 822 -build | --build | --buil | --bui | --bu) 823 ac_prev=build_alias ;; 824 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 825 build_alias=$ac_optarg ;; 826 827 -cache-file | --cache-file | --cache-fil | --cache-fi \ 828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 829 ac_prev=cache_file ;; 830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 832 cache_file=$ac_optarg ;; 833 834 --config-cache | -C) 835 cache_file=config.cache ;; 836 837 -datadir | --datadir | --datadi | --datad) 838 ac_prev=datadir ;; 839 -datadir=* | --datadir=* | --datadi=* | --datad=*) 840 datadir=$ac_optarg ;; 841 842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 843 | --dataroo | --dataro | --datar) 844 ac_prev=datarootdir ;; 845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 847 datarootdir=$ac_optarg ;; 848 849 -disable-* | --disable-*) 850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 851 # Reject names that are not valid shell variable names. 852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 853 as_fn_error $? "invalid feature name: $ac_useropt" 854 ac_useropt_orig=$ac_useropt 855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 856 case $ac_user_opts in 857 *" 858"enable_$ac_useropt" 859"*) ;; 860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 861 ac_unrecognized_sep=', ';; 862 esac 863 eval enable_$ac_useropt=no ;; 864 865 -docdir | --docdir | --docdi | --doc | --do) 866 ac_prev=docdir ;; 867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 868 docdir=$ac_optarg ;; 869 870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 871 ac_prev=dvidir ;; 872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 873 dvidir=$ac_optarg ;; 874 875 -enable-* | --enable-*) 876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 877 # Reject names that are not valid shell variable names. 878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 879 as_fn_error $? "invalid feature name: $ac_useropt" 880 ac_useropt_orig=$ac_useropt 881 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 882 case $ac_user_opts in 883 *" 884"enable_$ac_useropt" 885"*) ;; 886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 887 ac_unrecognized_sep=', ';; 888 esac 889 eval enable_$ac_useropt=\$ac_optarg ;; 890 891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 893 | --exec | --exe | --ex) 894 ac_prev=exec_prefix ;; 895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 897 | --exec=* | --exe=* | --ex=*) 898 exec_prefix=$ac_optarg ;; 899 900 -gas | --gas | --ga | --g) 901 # Obsolete; use --with-gas. 902 with_gas=yes ;; 903 904 -help | --help | --hel | --he | -h) 905 ac_init_help=long ;; 906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 907 ac_init_help=recursive ;; 908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 909 ac_init_help=short ;; 910 911 -host | --host | --hos | --ho) 912 ac_prev=host_alias ;; 913 -host=* | --host=* | --hos=* | --ho=*) 914 host_alias=$ac_optarg ;; 915 916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 917 ac_prev=htmldir ;; 918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 919 | --ht=*) 920 htmldir=$ac_optarg ;; 921 922 -includedir | --includedir | --includedi | --included | --include \ 923 | --includ | --inclu | --incl | --inc) 924 ac_prev=includedir ;; 925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 926 | --includ=* | --inclu=* | --incl=* | --inc=*) 927 includedir=$ac_optarg ;; 928 929 -infodir | --infodir | --infodi | --infod | --info | --inf) 930 ac_prev=infodir ;; 931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 932 infodir=$ac_optarg ;; 933 934 -libdir | --libdir | --libdi | --libd) 935 ac_prev=libdir ;; 936 -libdir=* | --libdir=* | --libdi=* | --libd=*) 937 libdir=$ac_optarg ;; 938 939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 940 | --libexe | --libex | --libe) 941 ac_prev=libexecdir ;; 942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 943 | --libexe=* | --libex=* | --libe=*) 944 libexecdir=$ac_optarg ;; 945 946 -localedir | --localedir | --localedi | --localed | --locale) 947 ac_prev=localedir ;; 948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 949 localedir=$ac_optarg ;; 950 951 -localstatedir | --localstatedir | --localstatedi | --localstated \ 952 | --localstate | --localstat | --localsta | --localst | --locals) 953 ac_prev=localstatedir ;; 954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 956 localstatedir=$ac_optarg ;; 957 958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 959 ac_prev=mandir ;; 960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 961 mandir=$ac_optarg ;; 962 963 -nfp | --nfp | --nf) 964 # Obsolete; use --without-fp. 965 with_fp=no ;; 966 967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 968 | --no-cr | --no-c | -n) 969 no_create=yes ;; 970 971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 973 no_recursion=yes ;; 974 975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 977 | --oldin | --oldi | --old | --ol | --o) 978 ac_prev=oldincludedir ;; 979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 982 oldincludedir=$ac_optarg ;; 983 984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 985 ac_prev=prefix ;; 986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 987 prefix=$ac_optarg ;; 988 989 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 990 | --program-pre | --program-pr | --program-p) 991 ac_prev=program_prefix ;; 992 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 994 program_prefix=$ac_optarg ;; 995 996 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 997 | --program-suf | --program-su | --program-s) 998 ac_prev=program_suffix ;; 999 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1001 program_suffix=$ac_optarg ;; 1002 1003 -program-transform-name | --program-transform-name \ 1004 | --program-transform-nam | --program-transform-na \ 1005 | --program-transform-n | --program-transform- \ 1006 | --program-transform | --program-transfor \ 1007 | --program-transfo | --program-transf \ 1008 | --program-trans | --program-tran \ 1009 | --progr-tra | --program-tr | --program-t) 1010 ac_prev=program_transform_name ;; 1011 -program-transform-name=* | --program-transform-name=* \ 1012 | --program-transform-nam=* | --program-transform-na=* \ 1013 | --program-transform-n=* | --program-transform-=* \ 1014 | --program-transform=* | --program-transfor=* \ 1015 | --program-transfo=* | --program-transf=* \ 1016 | --program-trans=* | --program-tran=* \ 1017 | --progr-tra=* | --program-tr=* | --program-t=*) 1018 program_transform_name=$ac_optarg ;; 1019 1020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1021 ac_prev=pdfdir ;; 1022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1023 pdfdir=$ac_optarg ;; 1024 1025 -psdir | --psdir | --psdi | --psd | --ps) 1026 ac_prev=psdir ;; 1027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1028 psdir=$ac_optarg ;; 1029 1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1031 | -silent | --silent | --silen | --sile | --sil) 1032 silent=yes ;; 1033 1034 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1035 | --runstate | --runstat | --runsta | --runst | --runs \ 1036 | --run | --ru | --r) 1037 ac_prev=runstatedir ;; 1038 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1039 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1040 | --run=* | --ru=* | --r=*) 1041 runstatedir=$ac_optarg ;; 1042 1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1044 ac_prev=sbindir ;; 1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1046 | --sbi=* | --sb=*) 1047 sbindir=$ac_optarg ;; 1048 1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1051 | --sharedst | --shareds | --shared | --share | --shar \ 1052 | --sha | --sh) 1053 ac_prev=sharedstatedir ;; 1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1057 | --sha=* | --sh=*) 1058 sharedstatedir=$ac_optarg ;; 1059 1060 -site | --site | --sit) 1061 ac_prev=site ;; 1062 -site=* | --site=* | --sit=*) 1063 site=$ac_optarg ;; 1064 1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1066 ac_prev=srcdir ;; 1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1068 srcdir=$ac_optarg ;; 1069 1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1071 | --syscon | --sysco | --sysc | --sys | --sy) 1072 ac_prev=sysconfdir ;; 1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1075 sysconfdir=$ac_optarg ;; 1076 1077 -target | --target | --targe | --targ | --tar | --ta | --t) 1078 ac_prev=target_alias ;; 1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1080 target_alias=$ac_optarg ;; 1081 1082 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1083 verbose=yes ;; 1084 1085 -version | --version | --versio | --versi | --vers | -V) 1086 ac_init_version=: ;; 1087 1088 -with-* | --with-*) 1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1090 # Reject names that are not valid shell variable names. 1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1092 as_fn_error $? "invalid package name: $ac_useropt" 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097"with_$ac_useropt" 1098"*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=\$ac_optarg ;; 1103 1104 -without-* | --without-*) 1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1106 # Reject names that are not valid shell variable names. 1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 as_fn_error $? "invalid package name: $ac_useropt" 1109 ac_useropt_orig=$ac_useropt 1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1111 case $ac_user_opts in 1112 *" 1113"with_$ac_useropt" 1114"*) ;; 1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1116 ac_unrecognized_sep=', ';; 1117 esac 1118 eval with_$ac_useropt=no ;; 1119 1120 --x) 1121 # Obsolete; use --with-x. 1122 with_x=yes ;; 1123 1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1125 | --x-incl | --x-inc | --x-in | --x-i) 1126 ac_prev=x_includes ;; 1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1129 x_includes=$ac_optarg ;; 1130 1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1133 ac_prev=x_libraries ;; 1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1136 x_libraries=$ac_optarg ;; 1137 1138 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1139Try \`$0 --help' for more information" 1140 ;; 1141 1142 *=*) 1143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1144 # Reject names that are not valid shell variable names. 1145 case $ac_envvar in #( 1146 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1147 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1148 esac 1149 eval $ac_envvar=\$ac_optarg 1150 export $ac_envvar ;; 1151 1152 *) 1153 # FIXME: should be removed in autoconf 3.0. 1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1158 ;; 1159 1160 esac 1161done 1162 1163if test -n "$ac_prev"; then 1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1165 as_fn_error $? "missing argument to $ac_option" 1166fi 1167 1168if test -n "$ac_unrecognized_opts"; then 1169 case $enable_option_checking in 1170 no) ;; 1171 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1173 esac 1174fi 1175 1176# Check all directory arguments for consistency. 1177for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1178 datadir sysconfdir sharedstatedir localstatedir includedir \ 1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1180 libdir localedir mandir runstatedir 1181do 1182 eval ac_val=\$$ac_var 1183 # Remove trailing slashes. 1184 case $ac_val in 1185 */ ) 1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1187 eval $ac_var=\$ac_val;; 1188 esac 1189 # Be sure to have absolute directory names. 1190 case $ac_val in 1191 [\\/$]* | ?:[\\/]* ) continue;; 1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1193 esac 1194 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1195done 1196 1197# There might be people who depend on the old broken behavior: `$host' 1198# used to hold the argument of --host etc. 1199# FIXME: To remove some day. 1200build=$build_alias 1201host=$host_alias 1202target=$target_alias 1203 1204# FIXME: To remove some day. 1205if test "x$host_alias" != x; then 1206 if test "x$build_alias" = x; then 1207 cross_compiling=maybe 1208 elif test "x$build_alias" != "x$host_alias"; then 1209 cross_compiling=yes 1210 fi 1211fi 1212 1213ac_tool_prefix= 1214test -n "$host_alias" && ac_tool_prefix=$host_alias- 1215 1216test "$silent" = yes && exec 6>/dev/null 1217 1218 1219ac_pwd=`pwd` && test -n "$ac_pwd" && 1220ac_ls_di=`ls -di .` && 1221ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1222 as_fn_error $? "working directory cannot be determined" 1223test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1224 as_fn_error $? "pwd does not report name of working directory" 1225 1226 1227# Find the source files, if location was not specified. 1228if test -z "$srcdir"; then 1229 ac_srcdir_defaulted=yes 1230 # Try the directory containing this script, then the parent directory. 1231 ac_confdir=`$as_dirname -- "$as_myself" || 1232$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1233 X"$as_myself" : 'X\(//\)[^/]' \| \ 1234 X"$as_myself" : 'X\(//\)$' \| \ 1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1236$as_echo X"$as_myself" | 1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1238 s//\1/ 1239 q 1240 } 1241 /^X\(\/\/\)[^/].*/{ 1242 s//\1/ 1243 q 1244 } 1245 /^X\(\/\/\)$/{ 1246 s//\1/ 1247 q 1248 } 1249 /^X\(\/\).*/{ 1250 s//\1/ 1251 q 1252 } 1253 s/.*/./; q'` 1254 srcdir=$ac_confdir 1255 if test ! -r "$srcdir/$ac_unique_file"; then 1256 srcdir=.. 1257 fi 1258else 1259 ac_srcdir_defaulted=no 1260fi 1261if test ! -r "$srcdir/$ac_unique_file"; then 1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1263 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1264fi 1265ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1266ac_abs_confdir=`( 1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1268 pwd)` 1269# When building in place, set srcdir=. 1270if test "$ac_abs_confdir" = "$ac_pwd"; then 1271 srcdir=. 1272fi 1273# Remove unnecessary trailing slashes from srcdir. 1274# Double slashes in file names in object file debugging info 1275# mess up M-x gdb in Emacs. 1276case $srcdir in 1277*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1278esac 1279for ac_var in $ac_precious_vars; do 1280 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1281 eval ac_env_${ac_var}_value=\$${ac_var} 1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1283 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1284done 1285 1286# 1287# Report the --help message. 1288# 1289if test "$ac_init_help" = "long"; then 1290 # Omit some internal or obsolete options to make the list less imposing. 1291 # This message is too long to be a string in the A/UX 3.1 sh. 1292 cat <<_ACEOF 1293\`configure' configures mate-user-guide 1.26.0 to adapt to many kinds of systems. 1294 1295Usage: $0 [OPTION]... [VAR=VALUE]... 1296 1297To assign environment variables (e.g., CC, CFLAGS...), specify them as 1298VAR=VALUE. See below for descriptions of some of the useful variables. 1299 1300Defaults for the options are specified in brackets. 1301 1302Configuration: 1303 -h, --help display this help and exit 1304 --help=short display options specific to this package 1305 --help=recursive display the short help of all the included packages 1306 -V, --version display version information and exit 1307 -q, --quiet, --silent do not print \`checking ...' messages 1308 --cache-file=FILE cache test results in FILE [disabled] 1309 -C, --config-cache alias for \`--cache-file=config.cache' 1310 -n, --no-create do not create output files 1311 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1312 1313Installation directories: 1314 --prefix=PREFIX install architecture-independent files in PREFIX 1315 [$ac_default_prefix] 1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1317 [PREFIX] 1318 1319By default, \`make install' will install all the files in 1320\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1321an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1322for instance \`--prefix=\$HOME'. 1323 1324For better control, use the options below. 1325 1326Fine tuning of the installation directories: 1327 --bindir=DIR user executables [EPREFIX/bin] 1328 --sbindir=DIR system admin executables [EPREFIX/sbin] 1329 --libexecdir=DIR program executables [EPREFIX/libexec] 1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1333 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1334 --libdir=DIR object code libraries [EPREFIX/lib] 1335 --includedir=DIR C header files [PREFIX/include] 1336 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1339 --infodir=DIR info documentation [DATAROOTDIR/info] 1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1341 --mandir=DIR man documentation [DATAROOTDIR/man] 1342 --docdir=DIR documentation root [DATAROOTDIR/doc/mate-user-guide] 1343 --htmldir=DIR html documentation [DOCDIR] 1344 --dvidir=DIR dvi documentation [DOCDIR] 1345 --pdfdir=DIR pdf documentation [DOCDIR] 1346 --psdir=DIR ps documentation [DOCDIR] 1347_ACEOF 1348 1349 cat <<\_ACEOF 1350 1351Program names: 1352 --program-prefix=PREFIX prepend PREFIX to installed program names 1353 --program-suffix=SUFFIX append SUFFIX to installed program names 1354 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1355 1356System types: 1357 --build=BUILD configure for building on BUILD [guessed] 1358 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1359_ACEOF 1360fi 1361 1362if test -n "$ac_init_help"; then 1363 case $ac_init_help in 1364 short | recursive ) echo "Configuration of mate-user-guide 1.26.0:";; 1365 esac 1366 cat <<\_ACEOF 1367 1368Optional Features: 1369 --disable-option-checking ignore unrecognized --enable/--with options 1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1372 --enable-silent-rules less verbose build output (undo: "make V=1") 1373 --disable-silent-rules verbose build output (undo: "make V=0") 1374 --disable-maintainer-mode 1375 disable make rules and dependencies not useful (and 1376 sometimes confusing) to the casual installer 1377 --disable-nls do not use Native Language Support 1378 --enable-dependency-tracking 1379 do not reject slow dependency extractors 1380 --disable-dependency-tracking 1381 speeds up one-time build 1382 --disable-rpath do not hardcode runtime library paths 1383 1384Optional Packages: 1385 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1386 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1387 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1388 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1389 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1390 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1391 --without-libintl-prefix don't search for libintl in includedir and libdir 1392 --with-help-dir=DIR path where help files are installed 1393 1394Some influential environment variables: 1395 CC C compiler command 1396 CFLAGS C compiler flags 1397 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1398 nonstandard directory <lib dir> 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1401 you have headers in a nonstandard directory <include dir> 1402 CPP C preprocessor 1403 ITSTOOL Path to the `itstool` command 1404 XMLLINT Path to the `xmllint` command 1405 1406Use these variables to override the choices made by `configure' or to help 1407it to find libraries and programs with nonstandard names/locations. 1408 1409Report bugs to <https://github.com/mate-desktop/mate-user-guide/issues/new>. 1410_ACEOF 1411ac_status=$? 1412fi 1413 1414if test "$ac_init_help" = "recursive"; then 1415 # If there are subdirs, report their specific --help. 1416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1417 test -d "$ac_dir" || 1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1419 continue 1420 ac_builddir=. 1421 1422case "$ac_dir" in 1423.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1424*) 1425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1426 # A ".." for each directory in $ac_dir_suffix. 1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1428 case $ac_top_builddir_sub in 1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1431 esac ;; 1432esac 1433ac_abs_top_builddir=$ac_pwd 1434ac_abs_builddir=$ac_pwd$ac_dir_suffix 1435# for backward compatibility: 1436ac_top_builddir=$ac_top_build_prefix 1437 1438case $srcdir in 1439 .) # We are building in place. 1440 ac_srcdir=. 1441 ac_top_srcdir=$ac_top_builddir_sub 1442 ac_abs_top_srcdir=$ac_pwd ;; 1443 [\\/]* | ?:[\\/]* ) # Absolute name. 1444 ac_srcdir=$srcdir$ac_dir_suffix; 1445 ac_top_srcdir=$srcdir 1446 ac_abs_top_srcdir=$srcdir ;; 1447 *) # Relative name. 1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1449 ac_top_srcdir=$ac_top_build_prefix$srcdir 1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1451esac 1452ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1453 1454 cd "$ac_dir" || { ac_status=$?; continue; } 1455 # Check for guested configure. 1456 if test -f "$ac_srcdir/configure.gnu"; then 1457 echo && 1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1459 elif test -f "$ac_srcdir/configure"; then 1460 echo && 1461 $SHELL "$ac_srcdir/configure" --help=recursive 1462 else 1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1464 fi || ac_status=$? 1465 cd "$ac_pwd" || { ac_status=$?; break; } 1466 done 1467fi 1468 1469test -n "$ac_init_help" && exit $ac_status 1470if $ac_init_version; then 1471 cat <<\_ACEOF 1472mate-user-guide configure 1.26.0 1473generated by GNU Autoconf 2.69 1474 1475Copyright (C) 2012 Free Software Foundation, Inc. 1476This configure script is free software; the Free Software Foundation 1477gives unlimited permission to copy, distribute and modify it. 1478_ACEOF 1479 exit 1480fi 1481 1482## ------------------------ ## 1483## Autoconf initialization. ## 1484## ------------------------ ## 1485 1486# ac_fn_c_try_compile LINENO 1487# -------------------------- 1488# Try to compile conftest.$ac_ext, and return whether this succeeded. 1489ac_fn_c_try_compile () 1490{ 1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1492 rm -f conftest.$ac_objext 1493 if { { ac_try="$ac_compile" 1494case "(($ac_try" in 1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1496 *) ac_try_echo=$ac_try;; 1497esac 1498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1499$as_echo "$ac_try_echo"; } >&5 1500 (eval "$ac_compile") 2>conftest.err 1501 ac_status=$? 1502 if test -s conftest.err; then 1503 grep -v '^ *+' conftest.err >conftest.er1 1504 cat conftest.er1 >&5 1505 mv -f conftest.er1 conftest.err 1506 fi 1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1508 test $ac_status = 0; } && { 1509 test -z "$ac_c_werror_flag" || 1510 test ! -s conftest.err 1511 } && test -s conftest.$ac_objext; then : 1512 ac_retval=0 1513else 1514 $as_echo "$as_me: failed program was:" >&5 1515sed 's/^/| /' conftest.$ac_ext >&5 1516 1517 ac_retval=1 1518fi 1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1520 as_fn_set_status $ac_retval 1521 1522} # ac_fn_c_try_compile 1523 1524# ac_fn_c_try_cpp LINENO 1525# ---------------------- 1526# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1527ac_fn_c_try_cpp () 1528{ 1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1530 if { { ac_try="$ac_cpp conftest.$ac_ext" 1531case "(($ac_try" in 1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1533 *) ac_try_echo=$ac_try;; 1534esac 1535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1536$as_echo "$ac_try_echo"; } >&5 1537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1538 ac_status=$? 1539 if test -s conftest.err; then 1540 grep -v '^ *+' conftest.err >conftest.er1 1541 cat conftest.er1 >&5 1542 mv -f conftest.er1 conftest.err 1543 fi 1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1545 test $ac_status = 0; } > conftest.i && { 1546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1547 test ! -s conftest.err 1548 }; then : 1549 ac_retval=0 1550else 1551 $as_echo "$as_me: failed program was:" >&5 1552sed 's/^/| /' conftest.$ac_ext >&5 1553 1554 ac_retval=1 1555fi 1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1557 as_fn_set_status $ac_retval 1558 1559} # ac_fn_c_try_cpp 1560 1561# ac_fn_c_try_link LINENO 1562# ----------------------- 1563# Try to link conftest.$ac_ext, and return whether this succeeded. 1564ac_fn_c_try_link () 1565{ 1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1567 rm -f conftest.$ac_objext conftest$ac_exeext 1568 if { { ac_try="$ac_link" 1569case "(($ac_try" in 1570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1571 *) ac_try_echo=$ac_try;; 1572esac 1573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1574$as_echo "$ac_try_echo"; } >&5 1575 (eval "$ac_link") 2>conftest.err 1576 ac_status=$? 1577 if test -s conftest.err; then 1578 grep -v '^ *+' conftest.err >conftest.er1 1579 cat conftest.er1 >&5 1580 mv -f conftest.er1 conftest.err 1581 fi 1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1583 test $ac_status = 0; } && { 1584 test -z "$ac_c_werror_flag" || 1585 test ! -s conftest.err 1586 } && test -s conftest$ac_exeext && { 1587 test "$cross_compiling" = yes || 1588 test -x conftest$ac_exeext 1589 }; then : 1590 ac_retval=0 1591else 1592 $as_echo "$as_me: failed program was:" >&5 1593sed 's/^/| /' conftest.$ac_ext >&5 1594 1595 ac_retval=1 1596fi 1597 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1598 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1599 # interfere with the next link command; also delete a directory that is 1600 # left behind by Apple's compiler. We do this before executing the actions. 1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1603 as_fn_set_status $ac_retval 1604 1605} # ac_fn_c_try_link 1606 1607# ac_fn_c_try_run LINENO 1608# ---------------------- 1609# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1610# that executables *can* be run. 1611ac_fn_c_try_run () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 if { { ac_try="$ac_link" 1615case "(($ac_try" in 1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1617 *) ac_try_echo=$ac_try;; 1618esac 1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1620$as_echo "$ac_try_echo"; } >&5 1621 (eval "$ac_link") 2>&5 1622 ac_status=$? 1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1624 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1625 { { case "(($ac_try" in 1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1627 *) ac_try_echo=$ac_try;; 1628esac 1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1630$as_echo "$ac_try_echo"; } >&5 1631 (eval "$ac_try") 2>&5 1632 ac_status=$? 1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1634 test $ac_status = 0; }; }; then : 1635 ac_retval=0 1636else 1637 $as_echo "$as_me: program exited with status $ac_status" >&5 1638 $as_echo "$as_me: failed program was:" >&5 1639sed 's/^/| /' conftest.$ac_ext >&5 1640 1641 ac_retval=$ac_status 1642fi 1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1645 as_fn_set_status $ac_retval 1646 1647} # ac_fn_c_try_run 1648cat >config.log <<_ACEOF 1649This file contains any messages produced by compilers while 1650running configure, to aid debugging if configure makes a mistake. 1651 1652It was created by mate-user-guide $as_me 1.26.0, which was 1653generated by GNU Autoconf 2.69. Invocation command line was 1654 1655 $ $0 $@ 1656 1657_ACEOF 1658exec 5>>config.log 1659{ 1660cat <<_ASUNAME 1661## --------- ## 1662## Platform. ## 1663## --------- ## 1664 1665hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1666uname -m = `(uname -m) 2>/dev/null || echo unknown` 1667uname -r = `(uname -r) 2>/dev/null || echo unknown` 1668uname -s = `(uname -s) 2>/dev/null || echo unknown` 1669uname -v = `(uname -v) 2>/dev/null || echo unknown` 1670 1671/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1672/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1673 1674/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1675/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1676/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1677/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1678/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1679/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1680/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1681 1682_ASUNAME 1683 1684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1685for as_dir in $PATH 1686do 1687 IFS=$as_save_IFS 1688 test -z "$as_dir" && as_dir=. 1689 $as_echo "PATH: $as_dir" 1690 done 1691IFS=$as_save_IFS 1692 1693} >&5 1694 1695cat >&5 <<_ACEOF 1696 1697 1698## ----------- ## 1699## Core tests. ## 1700## ----------- ## 1701 1702_ACEOF 1703 1704 1705# Keep a trace of the command line. 1706# Strip out --no-create and --no-recursion so they do not pile up. 1707# Strip out --silent because we don't want to record it for future runs. 1708# Also quote any args containing shell meta-characters. 1709# Make two passes to allow for proper duplicate-argument suppression. 1710ac_configure_args= 1711ac_configure_args0= 1712ac_configure_args1= 1713ac_must_keep_next=false 1714for ac_pass in 1 2 1715do 1716 for ac_arg 1717 do 1718 case $ac_arg in 1719 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1721 | -silent | --silent | --silen | --sile | --sil) 1722 continue ;; 1723 *\'*) 1724 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1725 esac 1726 case $ac_pass in 1727 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1728 2) 1729 as_fn_append ac_configure_args1 " '$ac_arg'" 1730 if test $ac_must_keep_next = true; then 1731 ac_must_keep_next=false # Got value, back to normal. 1732 else 1733 case $ac_arg in 1734 *=* | --config-cache | -C | -disable-* | --disable-* \ 1735 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1736 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1737 | -with-* | --with-* | -without-* | --without-* | --x) 1738 case "$ac_configure_args0 " in 1739 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1740 esac 1741 ;; 1742 -* ) ac_must_keep_next=true ;; 1743 esac 1744 fi 1745 as_fn_append ac_configure_args " '$ac_arg'" 1746 ;; 1747 esac 1748 done 1749done 1750{ ac_configure_args0=; unset ac_configure_args0;} 1751{ ac_configure_args1=; unset ac_configure_args1;} 1752 1753# When interrupted or exit'd, cleanup temporary files, and complete 1754# config.log. We remove comments because anyway the quotes in there 1755# would cause problems or look ugly. 1756# WARNING: Use '\'' to represent an apostrophe within the trap. 1757# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1758trap 'exit_status=$? 1759 # Save into config.log some information that might help in debugging. 1760 { 1761 echo 1762 1763 $as_echo "## ---------------- ## 1764## Cache variables. ## 1765## ---------------- ##" 1766 echo 1767 # The following way of writing the cache mishandles newlines in values, 1768( 1769 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1770 eval ac_val=\$$ac_var 1771 case $ac_val in #( 1772 *${as_nl}*) 1773 case $ac_var in #( 1774 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1775$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1776 esac 1777 case $ac_var in #( 1778 _ | IFS | as_nl) ;; #( 1779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1780 *) { eval $ac_var=; unset $ac_var;} ;; 1781 esac ;; 1782 esac 1783 done 1784 (set) 2>&1 | 1785 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1786 *${as_nl}ac_space=\ *) 1787 sed -n \ 1788 "s/'\''/'\''\\\\'\'''\''/g; 1789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1790 ;; #( 1791 *) 1792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1793 ;; 1794 esac | 1795 sort 1796) 1797 echo 1798 1799 $as_echo "## ----------------- ## 1800## Output variables. ## 1801## ----------------- ##" 1802 echo 1803 for ac_var in $ac_subst_vars 1804 do 1805 eval ac_val=\$$ac_var 1806 case $ac_val in 1807 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1808 esac 1809 $as_echo "$ac_var='\''$ac_val'\''" 1810 done | sort 1811 echo 1812 1813 if test -n "$ac_subst_files"; then 1814 $as_echo "## ------------------- ## 1815## File substitutions. ## 1816## ------------------- ##" 1817 echo 1818 for ac_var in $ac_subst_files 1819 do 1820 eval ac_val=\$$ac_var 1821 case $ac_val in 1822 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1823 esac 1824 $as_echo "$ac_var='\''$ac_val'\''" 1825 done | sort 1826 echo 1827 fi 1828 1829 if test -s confdefs.h; then 1830 $as_echo "## ----------- ## 1831## confdefs.h. ## 1832## ----------- ##" 1833 echo 1834 cat confdefs.h 1835 echo 1836 fi 1837 test "$ac_signal" != 0 && 1838 $as_echo "$as_me: caught signal $ac_signal" 1839 $as_echo "$as_me: exit $exit_status" 1840 } >&5 1841 rm -f core *.core core.conftest.* && 1842 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1843 exit $exit_status 1844' 0 1845for ac_signal in 1 2 13 15; do 1846 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1847done 1848ac_signal=0 1849 1850# confdefs.h avoids OS command line length limits that DEFS can exceed. 1851rm -f -r conftest* confdefs.h 1852 1853$as_echo "/* confdefs.h */" > confdefs.h 1854 1855# Predefined preprocessor variables. 1856 1857cat >>confdefs.h <<_ACEOF 1858#define PACKAGE_NAME "$PACKAGE_NAME" 1859_ACEOF 1860 1861cat >>confdefs.h <<_ACEOF 1862#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1863_ACEOF 1864 1865cat >>confdefs.h <<_ACEOF 1866#define PACKAGE_VERSION "$PACKAGE_VERSION" 1867_ACEOF 1868 1869cat >>confdefs.h <<_ACEOF 1870#define PACKAGE_STRING "$PACKAGE_STRING" 1871_ACEOF 1872 1873cat >>confdefs.h <<_ACEOF 1874#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1875_ACEOF 1876 1877cat >>confdefs.h <<_ACEOF 1878#define PACKAGE_URL "$PACKAGE_URL" 1879_ACEOF 1880 1881 1882# Let the site file select an alternate cache file if it wants to. 1883# Prefer an explicitly selected file to automatically selected ones. 1884ac_site_file1=NONE 1885ac_site_file2=NONE 1886if test -n "$CONFIG_SITE"; then 1887 # We do not want a PATH search for config.site. 1888 case $CONFIG_SITE in #(( 1889 -*) ac_site_file1=./$CONFIG_SITE;; 1890 */*) ac_site_file1=$CONFIG_SITE;; 1891 *) ac_site_file1=./$CONFIG_SITE;; 1892 esac 1893elif test "x$prefix" != xNONE; then 1894 ac_site_file1=$prefix/share/config.site 1895 ac_site_file2=$prefix/etc/config.site 1896else 1897 ac_site_file1=$ac_default_prefix/share/config.site 1898 ac_site_file2=$ac_default_prefix/etc/config.site 1899fi 1900for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1901do 1902 test "x$ac_site_file" = xNONE && continue 1903 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1904 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1905$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1906 sed 's/^/| /' "$ac_site_file" >&5 1907 . "$ac_site_file" \ 1908 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1909$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1910as_fn_error $? "failed to load site script $ac_site_file 1911See \`config.log' for more details" "$LINENO" 5; } 1912 fi 1913done 1914 1915if test -r "$cache_file"; then 1916 # Some versions of bash will fail to source /dev/null (special files 1917 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1918 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1920$as_echo "$as_me: loading cache $cache_file" >&6;} 1921 case $cache_file in 1922 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1923 *) . "./$cache_file";; 1924 esac 1925 fi 1926else 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1928$as_echo "$as_me: creating cache $cache_file" >&6;} 1929 >$cache_file 1930fi 1931 1932gt_needs="$gt_needs " 1933# Check that the precious variables saved in the cache have kept the same 1934# value. 1935ac_cache_corrupted=false 1936for ac_var in $ac_precious_vars; do 1937 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1938 eval ac_new_set=\$ac_env_${ac_var}_set 1939 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1940 eval ac_new_val=\$ac_env_${ac_var}_value 1941 case $ac_old_set,$ac_new_set in 1942 set,) 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1944$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1945 ac_cache_corrupted=: ;; 1946 ,set) 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1948$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1949 ac_cache_corrupted=: ;; 1950 ,);; 1951 *) 1952 if test "x$ac_old_val" != "x$ac_new_val"; then 1953 # differences in whitespace do not lead to failure. 1954 ac_old_val_w=`echo x $ac_old_val` 1955 ac_new_val_w=`echo x $ac_new_val` 1956 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1958$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1959 ac_cache_corrupted=: 1960 else 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1962$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1963 eval $ac_var=\$ac_old_val 1964 fi 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1966$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1968$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1969 fi;; 1970 esac 1971 # Pass precious variables to config.status. 1972 if test "$ac_new_set" = set; then 1973 case $ac_new_val in 1974 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1975 *) ac_arg=$ac_var=$ac_new_val ;; 1976 esac 1977 case " $ac_configure_args " in 1978 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1979 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1980 esac 1981 fi 1982done 1983if $ac_cache_corrupted; then 1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1987$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1988 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1989fi 1990## -------------------- ## 1991## Main body of script. ## 1992## -------------------- ## 1993 1994ac_ext=c 1995ac_cpp='$CPP $CPPFLAGS' 1996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1998ac_compiler_gnu=$ac_cv_c_compiler_gnu 1999 2000 2001am__api_version='1.16' 2002 2003ac_aux_dir= 2004for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2005 if test -f "$ac_dir/install-sh"; then 2006 ac_aux_dir=$ac_dir 2007 ac_install_sh="$ac_aux_dir/install-sh -c" 2008 break 2009 elif test -f "$ac_dir/install.sh"; then 2010 ac_aux_dir=$ac_dir 2011 ac_install_sh="$ac_aux_dir/install.sh -c" 2012 break 2013 elif test -f "$ac_dir/shtool"; then 2014 ac_aux_dir=$ac_dir 2015 ac_install_sh="$ac_aux_dir/shtool install -c" 2016 break 2017 fi 2018done 2019if test -z "$ac_aux_dir"; then 2020 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2021fi 2022 2023# These three variables are undocumented and unsupported, 2024# and are intended to be withdrawn in a future Autoconf release. 2025# They can cause serious problems if a builder's source tree is in a directory 2026# whose full name contains unusual characters. 2027ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2028ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2029ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2030 2031 2032# Find a good install program. We prefer a C program (faster), 2033# so one script is as good as another. But avoid the broken or 2034# incompatible versions: 2035# SysV /etc/install, /usr/sbin/install 2036# SunOS /usr/etc/install 2037# IRIX /sbin/install 2038# AIX /bin/install 2039# AmigaOS /C/install, which installs bootblocks on floppy discs 2040# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2041# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2042# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2043# OS/2's system install, which has a completely different semantic 2044# ./install, which can be erroneously created by make from ./install.sh. 2045# Reject install programs that cannot install multiple files. 2046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2047$as_echo_n "checking for a BSD-compatible install... " >&6; } 2048if test -z "$INSTALL"; then 2049if ${ac_cv_path_install+:} false; then : 2050 $as_echo_n "(cached) " >&6 2051else 2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2053for as_dir in $PATH 2054do 2055 IFS=$as_save_IFS 2056 test -z "$as_dir" && as_dir=. 2057 # Account for people who put trailing slashes in PATH elements. 2058case $as_dir/ in #(( 2059 ./ | .// | /[cC]/* | \ 2060 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2061 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2062 /usr/ucb/* ) ;; 2063 *) 2064 # OSF1 and SCO ODT 3.0 have their own names for install. 2065 # Don't use installbsd from OSF since it installs stuff as root 2066 # by default. 2067 for ac_prog in ginstall scoinst install; do 2068 for ac_exec_ext in '' $ac_executable_extensions; do 2069 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2070 if test $ac_prog = install && 2071 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2072 # AIX install. It has an incompatible calling convention. 2073 : 2074 elif test $ac_prog = install && 2075 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2076 # program-specific install script used by HP pwplus--don't use. 2077 : 2078 else 2079 rm -rf conftest.one conftest.two conftest.dir 2080 echo one > conftest.one 2081 echo two > conftest.two 2082 mkdir conftest.dir 2083 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2084 test -s conftest.one && test -s conftest.two && 2085 test -s conftest.dir/conftest.one && 2086 test -s conftest.dir/conftest.two 2087 then 2088 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2089 break 3 2090 fi 2091 fi 2092 fi 2093 done 2094 done 2095 ;; 2096esac 2097 2098 done 2099IFS=$as_save_IFS 2100 2101rm -rf conftest.one conftest.two conftest.dir 2102 2103fi 2104 if test "${ac_cv_path_install+set}" = set; then 2105 INSTALL=$ac_cv_path_install 2106 else 2107 # As a last resort, use the slow shell script. Don't cache a 2108 # value for INSTALL within a source directory, because that will 2109 # break other packages using the cache if that directory is 2110 # removed, or if the value is a relative name. 2111 INSTALL=$ac_install_sh 2112 fi 2113fi 2114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2115$as_echo "$INSTALL" >&6; } 2116 2117# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2118# It thinks the first close brace ends the variable substitution. 2119test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2120 2121test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2122 2123test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2124 2125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2126$as_echo_n "checking whether build environment is sane... " >&6; } 2127# Reject unsafe characters in $srcdir or the absolute working directory 2128# name. Accept space and tab only in the latter. 2129am_lf=' 2130' 2131case `pwd` in 2132 *[\\\"\#\$\&\'\`$am_lf]*) 2133 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2134esac 2135case $srcdir in 2136 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2137 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2138esac 2139 2140# Do 'set' in a subshell so we don't clobber the current shell's 2141# arguments. Must try -L first in case configure is actually a 2142# symlink; some systems play weird games with the mod time of symlinks 2143# (eg FreeBSD returns the mod time of the symlink's containing 2144# directory). 2145if ( 2146 am_has_slept=no 2147 for am_try in 1 2; do 2148 echo "timestamp, slept: $am_has_slept" > conftest.file 2149 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2150 if test "$*" = "X"; then 2151 # -L didn't work. 2152 set X `ls -t "$srcdir/configure" conftest.file` 2153 fi 2154 if test "$*" != "X $srcdir/configure conftest.file" \ 2155 && test "$*" != "X conftest.file $srcdir/configure"; then 2156 2157 # If neither matched, then we have a broken ls. This can happen 2158 # if, for instance, CONFIG_SHELL is bash and it inherits a 2159 # broken ls alias from the environment. This has actually 2160 # happened. Such a system could not be considered "sane". 2161 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2162 alias in your environment" "$LINENO" 5 2163 fi 2164 if test "$2" = conftest.file || test $am_try -eq 2; then 2165 break 2166 fi 2167 # Just in case. 2168 sleep 1 2169 am_has_slept=yes 2170 done 2171 test "$2" = conftest.file 2172 ) 2173then 2174 # Ok. 2175 : 2176else 2177 as_fn_error $? "newly created file is older than distributed files! 2178Check your system clock" "$LINENO" 5 2179fi 2180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2181$as_echo "yes" >&6; } 2182# If we didn't sleep, we still need to ensure time stamps of config.status and 2183# generated files are strictly newer. 2184am_sleep_pid= 2185if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2186 ( sleep 1 ) & 2187 am_sleep_pid=$! 2188fi 2189 2190rm -f conftest.file 2191 2192test "$program_prefix" != NONE && 2193 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2194# Use a double $ so make ignores it. 2195test "$program_suffix" != NONE && 2196 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2197# Double any \ or $. 2198# By default was `s,x,x', remove it if useless. 2199ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2200program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2201 2202# Expand $ac_aux_dir to an absolute path. 2203am_aux_dir=`cd "$ac_aux_dir" && pwd` 2204 2205if test x"${MISSING+set}" != xset; then 2206 case $am_aux_dir in 2207 *\ * | *\ *) 2208 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2209 *) 2210 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2211 esac 2212fi 2213# Use eval to expand $SHELL 2214if eval "$MISSING --is-lightweight"; then 2215 am_missing_run="$MISSING " 2216else 2217 am_missing_run= 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2219$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2220fi 2221 2222if test x"${install_sh+set}" != xset; then 2223 case $am_aux_dir in 2224 *\ * | *\ *) 2225 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2226 *) 2227 install_sh="\${SHELL} $am_aux_dir/install-sh" 2228 esac 2229fi 2230 2231# Installed binaries are usually stripped using 'strip' when the user 2232# run "make install-strip". However 'strip' might not be the right 2233# tool to use in cross-compilation environments, therefore Automake 2234# will honor the 'STRIP' environment variable to overrule this program. 2235if test "$cross_compiling" != no; then 2236 if test -n "$ac_tool_prefix"; then 2237 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2238set dummy ${ac_tool_prefix}strip; ac_word=$2 2239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2240$as_echo_n "checking for $ac_word... " >&6; } 2241if ${ac_cv_prog_STRIP+:} false; then : 2242 $as_echo_n "(cached) " >&6 2243else 2244 if test -n "$STRIP"; then 2245 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2246else 2247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2248for as_dir in $PATH 2249do 2250 IFS=$as_save_IFS 2251 test -z "$as_dir" && as_dir=. 2252 for ac_exec_ext in '' $ac_executable_extensions; do 2253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2254 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2256 break 2 2257 fi 2258done 2259 done 2260IFS=$as_save_IFS 2261 2262fi 2263fi 2264STRIP=$ac_cv_prog_STRIP 2265if test -n "$STRIP"; then 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2267$as_echo "$STRIP" >&6; } 2268else 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2270$as_echo "no" >&6; } 2271fi 2272 2273 2274fi 2275if test -z "$ac_cv_prog_STRIP"; then 2276 ac_ct_STRIP=$STRIP 2277 # Extract the first word of "strip", so it can be a program name with args. 2278set dummy strip; ac_word=$2 2279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2280$as_echo_n "checking for $ac_word... " >&6; } 2281if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2282 $as_echo_n "(cached) " >&6 2283else 2284 if test -n "$ac_ct_STRIP"; then 2285 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2286else 2287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2288for as_dir in $PATH 2289do 2290 IFS=$as_save_IFS 2291 test -z "$as_dir" && as_dir=. 2292 for ac_exec_ext in '' $ac_executable_extensions; do 2293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2294 ac_cv_prog_ac_ct_STRIP="strip" 2295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2296 break 2 2297 fi 2298done 2299 done 2300IFS=$as_save_IFS 2301 2302fi 2303fi 2304ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2305if test -n "$ac_ct_STRIP"; then 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2307$as_echo "$ac_ct_STRIP" >&6; } 2308else 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2310$as_echo "no" >&6; } 2311fi 2312 2313 if test "x$ac_ct_STRIP" = x; then 2314 STRIP=":" 2315 else 2316 case $cross_compiling:$ac_tool_warned in 2317yes:) 2318{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2319$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2320ac_tool_warned=yes ;; 2321esac 2322 STRIP=$ac_ct_STRIP 2323 fi 2324else 2325 STRIP="$ac_cv_prog_STRIP" 2326fi 2327 2328fi 2329INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2330 2331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2332$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2333if test -z "$MKDIR_P"; then 2334 if ${ac_cv_path_mkdir+:} false; then : 2335 $as_echo_n "(cached) " >&6 2336else 2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2338for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2339do 2340 IFS=$as_save_IFS 2341 test -z "$as_dir" && as_dir=. 2342 for ac_prog in mkdir gmkdir; do 2343 for ac_exec_ext in '' $ac_executable_extensions; do 2344 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2345 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2346 'mkdir (GNU coreutils) '* | \ 2347 'mkdir (coreutils) '* | \ 2348 'mkdir (fileutils) '4.1*) 2349 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2350 break 3;; 2351 esac 2352 done 2353 done 2354 done 2355IFS=$as_save_IFS 2356 2357fi 2358 2359 test -d ./--version && rmdir ./--version 2360 if test "${ac_cv_path_mkdir+set}" = set; then 2361 MKDIR_P="$ac_cv_path_mkdir -p" 2362 else 2363 # As a last resort, use the slow shell script. Don't cache a 2364 # value for MKDIR_P within a source directory, because that will 2365 # break other packages using the cache if that directory is 2366 # removed, or if the value is a relative name. 2367 MKDIR_P="$ac_install_sh -d" 2368 fi 2369fi 2370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2371$as_echo "$MKDIR_P" >&6; } 2372 2373for ac_prog in gawk mawk nawk awk 2374do 2375 # Extract the first word of "$ac_prog", so it can be a program name with args. 2376set dummy $ac_prog; ac_word=$2 2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2378$as_echo_n "checking for $ac_word... " >&6; } 2379if ${ac_cv_prog_AWK+:} false; then : 2380 $as_echo_n "(cached) " >&6 2381else 2382 if test -n "$AWK"; then 2383 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2384else 2385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2386for as_dir in $PATH 2387do 2388 IFS=$as_save_IFS 2389 test -z "$as_dir" && as_dir=. 2390 for ac_exec_ext in '' $ac_executable_extensions; do 2391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2392 ac_cv_prog_AWK="$ac_prog" 2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2394 break 2 2395 fi 2396done 2397 done 2398IFS=$as_save_IFS 2399 2400fi 2401fi 2402AWK=$ac_cv_prog_AWK 2403if test -n "$AWK"; then 2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2405$as_echo "$AWK" >&6; } 2406else 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2408$as_echo "no" >&6; } 2409fi 2410 2411 2412 test -n "$AWK" && break 2413done 2414 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2416$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2417set x ${MAKE-make} 2418ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2419if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2420 $as_echo_n "(cached) " >&6 2421else 2422 cat >conftest.make <<\_ACEOF 2423SHELL = /bin/sh 2424all: 2425 @echo '@@@%%%=$(MAKE)=@@@%%%' 2426_ACEOF 2427# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2428case `${MAKE-make} -f conftest.make 2>/dev/null` in 2429 *@@@%%%=?*=@@@%%%*) 2430 eval ac_cv_prog_make_${ac_make}_set=yes;; 2431 *) 2432 eval ac_cv_prog_make_${ac_make}_set=no;; 2433esac 2434rm -f conftest.make 2435fi 2436if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2438$as_echo "yes" >&6; } 2439 SET_MAKE= 2440else 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2442$as_echo "no" >&6; } 2443 SET_MAKE="MAKE=${MAKE-make}" 2444fi 2445 2446rm -rf .tst 2>/dev/null 2447mkdir .tst 2>/dev/null 2448if test -d .tst; then 2449 am__leading_dot=. 2450else 2451 am__leading_dot=_ 2452fi 2453rmdir .tst 2>/dev/null 2454 2455# Check whether --enable-silent-rules was given. 2456if test "${enable_silent_rules+set}" = set; then : 2457 enableval=$enable_silent_rules; 2458fi 2459 2460case $enable_silent_rules in # ((( 2461 yes) AM_DEFAULT_VERBOSITY=0;; 2462 no) AM_DEFAULT_VERBOSITY=1;; 2463 *) AM_DEFAULT_VERBOSITY=1;; 2464esac 2465am_make=${MAKE-make} 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2467$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2468if ${am_cv_make_support_nested_variables+:} false; then : 2469 $as_echo_n "(cached) " >&6 2470else 2471 if $as_echo 'TRUE=$(BAR$(V)) 2472BAR0=false 2473BAR1=true 2474V=1 2475am__doit: 2476 @$(TRUE) 2477.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2478 am_cv_make_support_nested_variables=yes 2479else 2480 am_cv_make_support_nested_variables=no 2481fi 2482fi 2483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2484$as_echo "$am_cv_make_support_nested_variables" >&6; } 2485if test $am_cv_make_support_nested_variables = yes; then 2486 AM_V='$(V)' 2487 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2488else 2489 AM_V=$AM_DEFAULT_VERBOSITY 2490 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2491fi 2492AM_BACKSLASH='\' 2493 2494if test "`cd $srcdir && pwd`" != "`pwd`"; then 2495 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2496 # is not polluted with repeated "-I." 2497 am__isrc=' -I$(srcdir)' 2498 # test to see if srcdir already configured 2499 if test -f $srcdir/config.status; then 2500 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2501 fi 2502fi 2503 2504# test whether we have cygpath 2505if test -z "$CYGPATH_W"; then 2506 if (cygpath --version) >/dev/null 2>/dev/null; then 2507 CYGPATH_W='cygpath -w' 2508 else 2509 CYGPATH_W=echo 2510 fi 2511fi 2512 2513 2514# Define the identity of the package. 2515 PACKAGE='mate-user-guide' 2516 VERSION='1.26.0' 2517 2518 2519cat >>confdefs.h <<_ACEOF 2520#define PACKAGE "$PACKAGE" 2521_ACEOF 2522 2523 2524cat >>confdefs.h <<_ACEOF 2525#define VERSION "$VERSION" 2526_ACEOF 2527 2528# Some tools Automake needs. 2529 2530ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2531 2532 2533AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2534 2535 2536AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2537 2538 2539AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2540 2541 2542MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2543 2544# For better backward compatibility. To be removed once Automake 1.9.x 2545# dies out for good. For more background, see: 2546# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2547# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2548mkdir_p='$(MKDIR_P)' 2549 2550# We need awk for the "check" target (and possibly the TAP driver). The 2551# system "awk" is bad on some platforms. 2552# Always define AMTAR for backward compatibility. Yes, it's still used 2553# in the wild :-( We should find a proper way to deprecate it ... 2554AMTAR='$${TAR-tar}' 2555 2556 2557# We'll loop over all known methods to create a tar archive until one works. 2558_am_tools='gnutar pax cpio none' 2559 2560am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2561 2562 2563 2564 2565 2566 2567# POSIX will say in a future version that running "rm -f" with no argument 2568# is OK; and we want to be able to make that assumption in our Makefile 2569# recipes. So use an aggressive probe to check that the usage we want is 2570# actually supported "in the wild" to an acceptable degree. 2571# See automake bug#10828. 2572# To make any issue more visible, cause the running configure to be aborted 2573# by default if the 'rm' program in use doesn't match our expectations; the 2574# user can still override this though. 2575if rm -f && rm -fr && rm -rf; then : OK; else 2576 cat >&2 <<'END' 2577Oops! 2578 2579Your 'rm' program seems unable to run without file operands specified 2580on the command line, even when the '-f' option is present. This is contrary 2581to the behaviour of most rm programs out there, and not conforming with 2582the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2583 2584Please tell bug-automake@gnu.org about your system, including the value 2585of your $PATH and any error possibly output before this message. This 2586can help us improve future automake versions. 2587 2588END 2589 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2590 echo 'Configuration will proceed anyway, since you have set the' >&2 2591 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2592 echo >&2 2593 else 2594 cat >&2 <<'END' 2595Aborting the configuration process, to ensure you take notice of the issue. 2596 2597You can download and install GNU coreutils to get an 'rm' implementation 2598that behaves properly: <https://www.gnu.org/software/coreutils/>. 2599 2600If you want to complete the configuration process using your problematic 2601'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2602to "yes", and re-run configure. 2603 2604END 2605 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2606 fi 2607fi 2608 2609# Check whether --enable-silent-rules was given. 2610if test "${enable_silent_rules+set}" = set; then : 2611 enableval=$enable_silent_rules; 2612fi 2613 2614case $enable_silent_rules in # ((( 2615 yes) AM_DEFAULT_VERBOSITY=0;; 2616 no) AM_DEFAULT_VERBOSITY=1;; 2617 *) AM_DEFAULT_VERBOSITY=0;; 2618esac 2619am_make=${MAKE-make} 2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2621$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2622if ${am_cv_make_support_nested_variables+:} false; then : 2623 $as_echo_n "(cached) " >&6 2624else 2625 if $as_echo 'TRUE=$(BAR$(V)) 2626BAR0=false 2627BAR1=true 2628V=1 2629am__doit: 2630 @$(TRUE) 2631.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2632 am_cv_make_support_nested_variables=yes 2633else 2634 am_cv_make_support_nested_variables=no 2635fi 2636fi 2637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2638$as_echo "$am_cv_make_support_nested_variables" >&6; } 2639if test $am_cv_make_support_nested_variables = yes; then 2640 AM_V='$(V)' 2641 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2642else 2643 AM_V=$AM_DEFAULT_VERBOSITY 2644 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2645fi 2646AM_BACKSLASH='\' 2647 2648 2649 2650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2651$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2652 # Check whether --enable-maintainer-mode was given. 2653if test "${enable_maintainer_mode+set}" = set; then : 2654 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2655else 2656 USE_MAINTAINER_MODE=yes 2657fi 2658 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2660$as_echo "$USE_MAINTAINER_MODE" >&6; } 2661 if test $USE_MAINTAINER_MODE = yes; then 2662 MAINTAINER_MODE_TRUE= 2663 MAINTAINER_MODE_FALSE='#' 2664else 2665 MAINTAINER_MODE_TRUE='#' 2666 MAINTAINER_MODE_FALSE= 2667fi 2668 2669 MAINT=$MAINTAINER_MODE_TRUE 2670 2671 2672 2673GETTEXT_PACKAGE="mate-user-guide" 2674 2675cat >>confdefs.h <<_ACEOF 2676#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 2677_ACEOF 2678 2679 2680 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2682$as_echo_n "checking for a sed that does not truncate output... " >&6; } 2683if ${ac_cv_path_SED+:} false; then : 2684 $as_echo_n "(cached) " >&6 2685else 2686 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2687 for ac_i in 1 2 3 4 5 6 7; do 2688 ac_script="$ac_script$as_nl$ac_script" 2689 done 2690 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 2691 { ac_script=; unset ac_script;} 2692 if test -z "$SED"; then 2693 ac_path_SED_found=false 2694 # Loop through the user's path and test for each of PROGNAME-LIST 2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2696for as_dir in $PATH 2697do 2698 IFS=$as_save_IFS 2699 test -z "$as_dir" && as_dir=. 2700 for ac_prog in sed gsed; do 2701 for ac_exec_ext in '' $ac_executable_extensions; do 2702 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 2703 as_fn_executable_p "$ac_path_SED" || continue 2704# Check for GNU ac_path_SED and select it if it is found. 2705 # Check for GNU $ac_path_SED 2706case `"$ac_path_SED" --version 2>&1` in 2707*GNU*) 2708 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 2709*) 2710 ac_count=0 2711 $as_echo_n 0123456789 >"conftest.in" 2712 while : 2713 do 2714 cat "conftest.in" "conftest.in" >"conftest.tmp" 2715 mv "conftest.tmp" "conftest.in" 2716 cp "conftest.in" "conftest.nl" 2717 $as_echo '' >> "conftest.nl" 2718 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 2719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2720 as_fn_arith $ac_count + 1 && ac_count=$as_val 2721 if test $ac_count -gt ${ac_path_SED_max-0}; then 2722 # Best one so far, save it but keep looking for a better one 2723 ac_cv_path_SED="$ac_path_SED" 2724 ac_path_SED_max=$ac_count 2725 fi 2726 # 10*(2^10) chars as input seems more than enough 2727 test $ac_count -gt 10 && break 2728 done 2729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2730esac 2731 2732 $ac_path_SED_found && break 3 2733 done 2734 done 2735 done 2736IFS=$as_save_IFS 2737 if test -z "$ac_cv_path_SED"; then 2738 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 2739 fi 2740else 2741 ac_cv_path_SED=$SED 2742fi 2743 2744fi 2745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 2746$as_echo "$ac_cv_path_SED" >&6; } 2747 SED="$ac_cv_path_SED" 2748 rm -f conftest.sed 2749 2750 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 2752$as_echo_n "checking whether NLS is requested... " >&6; } 2753 # Check whether --enable-nls was given. 2754if test "${enable_nls+set}" = set; then : 2755 enableval=$enable_nls; USE_NLS=$enableval 2756else 2757 USE_NLS=yes 2758fi 2759 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 2761$as_echo "$USE_NLS" >&6; } 2762 2763 2764 2765 2766 GETTEXT_MACRO_VERSION=0.20 2767 2768 2769 2770 2771# Prepare PATH_SEPARATOR. 2772# The user is always right. 2773if test "${PATH_SEPARATOR+set}" != set; then 2774 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2775 # contains only /bin. Note that ksh looks also at the FPATH variable, 2776 # so we have to set that as well for the test. 2777 PATH_SEPARATOR=: 2778 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2779 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2780 || PATH_SEPARATOR=';' 2781 } 2782fi 2783 2784# Find out how to test for executable files. Don't use a zero-byte file, 2785# as systems may use methods other than mode bits to determine executability. 2786cat >conf$$.file <<_ASEOF 2787#! /bin/sh 2788exit 0 2789_ASEOF 2790chmod +x conf$$.file 2791if test -x conf$$.file >/dev/null 2>&1; then 2792 ac_executable_p="test -x" 2793else 2794 ac_executable_p="test -f" 2795fi 2796rm -f conf$$.file 2797 2798# Extract the first word of "msgfmt", so it can be a program name with args. 2799set dummy msgfmt; ac_word=$2 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2801$as_echo_n "checking for $ac_word... " >&6; } 2802if ${ac_cv_path_MSGFMT+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 case "$MSGFMT" in 2806 [\\/]* | ?:[\\/]*) 2807 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2808 ;; 2809 *) 2810 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2811 for ac_dir in $PATH; do 2812 IFS="$ac_save_IFS" 2813 test -z "$ac_dir" && ac_dir=. 2814 for ac_exec_ext in '' $ac_executable_extensions; do 2815 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2816 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2817 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2818 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2819 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2820 break 2 2821 fi 2822 fi 2823 done 2824 done 2825 IFS="$ac_save_IFS" 2826 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2827 ;; 2828esac 2829fi 2830MSGFMT="$ac_cv_path_MSGFMT" 2831if test "$MSGFMT" != ":"; then 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 2833$as_echo "$MSGFMT" >&6; } 2834else 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2836$as_echo "no" >&6; } 2837fi 2838 2839 # Extract the first word of "gmsgfmt", so it can be a program name with args. 2840set dummy gmsgfmt; ac_word=$2 2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2842$as_echo_n "checking for $ac_word... " >&6; } 2843if ${ac_cv_path_GMSGFMT+:} false; then : 2844 $as_echo_n "(cached) " >&6 2845else 2846 case $GMSGFMT in 2847 [\\/]* | ?:[\\/]*) 2848 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2849 ;; 2850 *) 2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2852for as_dir in $PATH 2853do 2854 IFS=$as_save_IFS 2855 test -z "$as_dir" && as_dir=. 2856 for ac_exec_ext in '' $ac_executable_extensions; do 2857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2858 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2860 break 2 2861 fi 2862done 2863 done 2864IFS=$as_save_IFS 2865 2866 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2867 ;; 2868esac 2869fi 2870GMSGFMT=$ac_cv_path_GMSGFMT 2871if test -n "$GMSGFMT"; then 2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 2873$as_echo "$GMSGFMT" >&6; } 2874else 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2876$as_echo "no" >&6; } 2877fi 2878 2879 2880 2881 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2882 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2883 *) GMSGFMT_015=$GMSGFMT ;; 2884 esac 2885 2886 2887 2888# Prepare PATH_SEPARATOR. 2889# The user is always right. 2890if test "${PATH_SEPARATOR+set}" != set; then 2891 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2892 # contains only /bin. Note that ksh looks also at the FPATH variable, 2893 # so we have to set that as well for the test. 2894 PATH_SEPARATOR=: 2895 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2896 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2897 || PATH_SEPARATOR=';' 2898 } 2899fi 2900 2901# Find out how to test for executable files. Don't use a zero-byte file, 2902# as systems may use methods other than mode bits to determine executability. 2903cat >conf$$.file <<_ASEOF 2904#! /bin/sh 2905exit 0 2906_ASEOF 2907chmod +x conf$$.file 2908if test -x conf$$.file >/dev/null 2>&1; then 2909 ac_executable_p="test -x" 2910else 2911 ac_executable_p="test -f" 2912fi 2913rm -f conf$$.file 2914 2915# Extract the first word of "xgettext", so it can be a program name with args. 2916set dummy xgettext; ac_word=$2 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2918$as_echo_n "checking for $ac_word... " >&6; } 2919if ${ac_cv_path_XGETTEXT+:} false; then : 2920 $as_echo_n "(cached) " >&6 2921else 2922 case "$XGETTEXT" in 2923 [\\/]* | ?:[\\/]*) 2924 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2925 ;; 2926 *) 2927 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2928 for ac_dir in $PATH; do 2929 IFS="$ac_save_IFS" 2930 test -z "$ac_dir" && ac_dir=. 2931 for ac_exec_ext in '' $ac_executable_extensions; do 2932 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2933 echo "$as_me: trying $ac_dir/$ac_word..." >&5 2934 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2935 (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 2936 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2937 break 2 2938 fi 2939 fi 2940 done 2941 done 2942 IFS="$ac_save_IFS" 2943 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2944 ;; 2945esac 2946fi 2947XGETTEXT="$ac_cv_path_XGETTEXT" 2948if test "$XGETTEXT" != ":"; then 2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 2950$as_echo "$XGETTEXT" >&6; } 2951else 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2953$as_echo "no" >&6; } 2954fi 2955 2956 rm -f messages.po 2957 2958 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2959 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2960 *) XGETTEXT_015=$XGETTEXT ;; 2961 esac 2962 2963 2964 2965# Prepare PATH_SEPARATOR. 2966# The user is always right. 2967if test "${PATH_SEPARATOR+set}" != set; then 2968 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2969 # contains only /bin. Note that ksh looks also at the FPATH variable, 2970 # so we have to set that as well for the test. 2971 PATH_SEPARATOR=: 2972 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2973 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2974 || PATH_SEPARATOR=';' 2975 } 2976fi 2977 2978# Find out how to test for executable files. Don't use a zero-byte file, 2979# as systems may use methods other than mode bits to determine executability. 2980cat >conf$$.file <<_ASEOF 2981#! /bin/sh 2982exit 0 2983_ASEOF 2984chmod +x conf$$.file 2985if test -x conf$$.file >/dev/null 2>&1; then 2986 ac_executable_p="test -x" 2987else 2988 ac_executable_p="test -f" 2989fi 2990rm -f conf$$.file 2991 2992# Extract the first word of "msgmerge", so it can be a program name with args. 2993set dummy msgmerge; ac_word=$2 2994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2995$as_echo_n "checking for $ac_word... " >&6; } 2996if ${ac_cv_path_MSGMERGE+:} false; then : 2997 $as_echo_n "(cached) " >&6 2998else 2999 case "$MSGMERGE" in 3000 [\\/]* | ?:[\\/]*) 3001 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3002 ;; 3003 *) 3004 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 3005 for ac_dir in $PATH; do 3006 IFS="$ac_save_IFS" 3007 test -z "$ac_dir" && ac_dir=. 3008 for ac_exec_ext in '' $ac_executable_extensions; do 3009 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 3010 echo "$as_me: trying $ac_dir/$ac_word..." >&5 3011 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 3012 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 3013 break 2 3014 fi 3015 fi 3016 done 3017 done 3018 IFS="$ac_save_IFS" 3019 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 3020 ;; 3021esac 3022fi 3023MSGMERGE="$ac_cv_path_MSGMERGE" 3024if test "$MSGMERGE" != ":"; then 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 3026$as_echo "$MSGMERGE" >&6; } 3027else 3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3029$as_echo "no" >&6; } 3030fi 3031 3032 3033 if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then 3034 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' 3035 else 3036 if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then 3037 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' 3038 else 3039 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' 3040 fi 3041 fi 3042 3043 3044 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 3045 3046 3047 ac_config_commands="$ac_config_commands po-directories" 3048 3049 3050 3051 if test "X$prefix" = "XNONE"; then 3052 acl_final_prefix="$ac_default_prefix" 3053 else 3054 acl_final_prefix="$prefix" 3055 fi 3056 if test "X$exec_prefix" = "XNONE"; then 3057 acl_final_exec_prefix='${prefix}' 3058 else 3059 acl_final_exec_prefix="$exec_prefix" 3060 fi 3061 acl_save_prefix="$prefix" 3062 prefix="$acl_final_prefix" 3063 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 3064 prefix="$acl_save_prefix" 3065 3066DEPDIR="${am__leading_dot}deps" 3067 3068ac_config_commands="$ac_config_commands depfiles" 3069 3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3071$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3072cat > confinc.mk << 'END' 3073am__doit: 3074 @echo this is the am__doit target >confinc.out 3075.PHONY: am__doit 3076END 3077am__include="#" 3078am__quote= 3079# BSD make does it like this. 3080echo '.include "confinc.mk" # ignored' > confmf.BSD 3081# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3082echo 'include confinc.mk # ignored' > confmf.GNU 3083_am_result=no 3084for s in GNU BSD; do 3085 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3086 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3087 ac_status=$? 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 (exit $ac_status); } 3090 case $?:`cat confinc.out 2>/dev/null` in #( 3091 '0:this is the am__doit target') : 3092 case $s in #( 3093 BSD) : 3094 am__include='.include' am__quote='"' ;; #( 3095 *) : 3096 am__include='include' am__quote='' ;; 3097esac ;; #( 3098 *) : 3099 ;; 3100esac 3101 if test "$am__include" != "#"; then 3102 _am_result="yes ($s style)" 3103 break 3104 fi 3105done 3106rm -f confinc.* confmf.* 3107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3108$as_echo "${_am_result}" >&6; } 3109 3110# Check whether --enable-dependency-tracking was given. 3111if test "${enable_dependency_tracking+set}" = set; then : 3112 enableval=$enable_dependency_tracking; 3113fi 3114 3115if test "x$enable_dependency_tracking" != xno; then 3116 am_depcomp="$ac_aux_dir/depcomp" 3117 AMDEPBACKSLASH='\' 3118 am__nodep='_no' 3119fi 3120 if test "x$enable_dependency_tracking" != xno; then 3121 AMDEP_TRUE= 3122 AMDEP_FALSE='#' 3123else 3124 AMDEP_TRUE='#' 3125 AMDEP_FALSE= 3126fi 3127 3128 3129ac_ext=c 3130ac_cpp='$CPP $CPPFLAGS' 3131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3133ac_compiler_gnu=$ac_cv_c_compiler_gnu 3134if test -n "$ac_tool_prefix"; then 3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3136set dummy ${ac_tool_prefix}gcc; ac_word=$2 3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3138$as_echo_n "checking for $ac_word... " >&6; } 3139if ${ac_cv_prog_CC+:} false; then : 3140 $as_echo_n "(cached) " >&6 3141else 3142 if test -n "$CC"; then 3143 ac_cv_prog_CC="$CC" # Let the user override the test. 3144else 3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3146for as_dir in $PATH 3147do 3148 IFS=$as_save_IFS 3149 test -z "$as_dir" && as_dir=. 3150 for ac_exec_ext in '' $ac_executable_extensions; do 3151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3152 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3154 break 2 3155 fi 3156done 3157 done 3158IFS=$as_save_IFS 3159 3160fi 3161fi 3162CC=$ac_cv_prog_CC 3163if test -n "$CC"; then 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3165$as_echo "$CC" >&6; } 3166else 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3168$as_echo "no" >&6; } 3169fi 3170 3171 3172fi 3173if test -z "$ac_cv_prog_CC"; then 3174 ac_ct_CC=$CC 3175 # Extract the first word of "gcc", so it can be a program name with args. 3176set dummy gcc; ac_word=$2 3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3178$as_echo_n "checking for $ac_word... " >&6; } 3179if ${ac_cv_prog_ac_ct_CC+:} false; then : 3180 $as_echo_n "(cached) " >&6 3181else 3182 if test -n "$ac_ct_CC"; then 3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3184else 3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3186for as_dir in $PATH 3187do 3188 IFS=$as_save_IFS 3189 test -z "$as_dir" && as_dir=. 3190 for ac_exec_ext in '' $ac_executable_extensions; do 3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3192 ac_cv_prog_ac_ct_CC="gcc" 3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3194 break 2 3195 fi 3196done 3197 done 3198IFS=$as_save_IFS 3199 3200fi 3201fi 3202ac_ct_CC=$ac_cv_prog_ac_ct_CC 3203if test -n "$ac_ct_CC"; then 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3205$as_echo "$ac_ct_CC" >&6; } 3206else 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3208$as_echo "no" >&6; } 3209fi 3210 3211 if test "x$ac_ct_CC" = x; then 3212 CC="" 3213 else 3214 case $cross_compiling:$ac_tool_warned in 3215yes:) 3216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3218ac_tool_warned=yes ;; 3219esac 3220 CC=$ac_ct_CC 3221 fi 3222else 3223 CC="$ac_cv_prog_CC" 3224fi 3225 3226if test -z "$CC"; then 3227 if test -n "$ac_tool_prefix"; then 3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3229set dummy ${ac_tool_prefix}cc; ac_word=$2 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3231$as_echo_n "checking for $ac_word... " >&6; } 3232if ${ac_cv_prog_CC+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234else 3235 if test -n "$CC"; then 3236 ac_cv_prog_CC="$CC" # Let the user override the test. 3237else 3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3239for as_dir in $PATH 3240do 3241 IFS=$as_save_IFS 3242 test -z "$as_dir" && as_dir=. 3243 for ac_exec_ext in '' $ac_executable_extensions; do 3244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3245 ac_cv_prog_CC="${ac_tool_prefix}cc" 3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3247 break 2 3248 fi 3249done 3250 done 3251IFS=$as_save_IFS 3252 3253fi 3254fi 3255CC=$ac_cv_prog_CC 3256if test -n "$CC"; then 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3258$as_echo "$CC" >&6; } 3259else 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3261$as_echo "no" >&6; } 3262fi 3263 3264 3265 fi 3266fi 3267if test -z "$CC"; then 3268 # Extract the first word of "cc", so it can be a program name with args. 3269set dummy cc; ac_word=$2 3270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3271$as_echo_n "checking for $ac_word... " >&6; } 3272if ${ac_cv_prog_CC+:} false; then : 3273 $as_echo_n "(cached) " >&6 3274else 3275 if test -n "$CC"; then 3276 ac_cv_prog_CC="$CC" # Let the user override the test. 3277else 3278 ac_prog_rejected=no 3279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3280for as_dir in $PATH 3281do 3282 IFS=$as_save_IFS 3283 test -z "$as_dir" && as_dir=. 3284 for ac_exec_ext in '' $ac_executable_extensions; do 3285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3287 ac_prog_rejected=yes 3288 continue 3289 fi 3290 ac_cv_prog_CC="cc" 3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3292 break 2 3293 fi 3294done 3295 done 3296IFS=$as_save_IFS 3297 3298if test $ac_prog_rejected = yes; then 3299 # We found a bogon in the path, so make sure we never use it. 3300 set dummy $ac_cv_prog_CC 3301 shift 3302 if test $# != 0; then 3303 # We chose a different compiler from the bogus one. 3304 # However, it has the same basename, so the bogon will be chosen 3305 # first if we set CC to just the basename; use the full file name. 3306 shift 3307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3308 fi 3309fi 3310fi 3311fi 3312CC=$ac_cv_prog_CC 3313if test -n "$CC"; then 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3315$as_echo "$CC" >&6; } 3316else 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3318$as_echo "no" >&6; } 3319fi 3320 3321 3322fi 3323if test -z "$CC"; then 3324 if test -n "$ac_tool_prefix"; then 3325 for ac_prog in cl.exe 3326 do 3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3328set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3330$as_echo_n "checking for $ac_word... " >&6; } 3331if ${ac_cv_prog_CC+:} false; then : 3332 $as_echo_n "(cached) " >&6 3333else 3334 if test -n "$CC"; then 3335 ac_cv_prog_CC="$CC" # Let the user override the test. 3336else 3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3338for as_dir in $PATH 3339do 3340 IFS=$as_save_IFS 3341 test -z "$as_dir" && as_dir=. 3342 for ac_exec_ext in '' $ac_executable_extensions; do 3343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3346 break 2 3347 fi 3348done 3349 done 3350IFS=$as_save_IFS 3351 3352fi 3353fi 3354CC=$ac_cv_prog_CC 3355if test -n "$CC"; then 3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3357$as_echo "$CC" >&6; } 3358else 3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3360$as_echo "no" >&6; } 3361fi 3362 3363 3364 test -n "$CC" && break 3365 done 3366fi 3367if test -z "$CC"; then 3368 ac_ct_CC=$CC 3369 for ac_prog in cl.exe 3370do 3371 # Extract the first word of "$ac_prog", so it can be a program name with args. 3372set dummy $ac_prog; ac_word=$2 3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3374$as_echo_n "checking for $ac_word... " >&6; } 3375if ${ac_cv_prog_ac_ct_CC+:} false; then : 3376 $as_echo_n "(cached) " >&6 3377else 3378 if test -n "$ac_ct_CC"; then 3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3380else 3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3382for as_dir in $PATH 3383do 3384 IFS=$as_save_IFS 3385 test -z "$as_dir" && as_dir=. 3386 for ac_exec_ext in '' $ac_executable_extensions; do 3387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3388 ac_cv_prog_ac_ct_CC="$ac_prog" 3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3390 break 2 3391 fi 3392done 3393 done 3394IFS=$as_save_IFS 3395 3396fi 3397fi 3398ac_ct_CC=$ac_cv_prog_ac_ct_CC 3399if test -n "$ac_ct_CC"; then 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3401$as_echo "$ac_ct_CC" >&6; } 3402else 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3404$as_echo "no" >&6; } 3405fi 3406 3407 3408 test -n "$ac_ct_CC" && break 3409done 3410 3411 if test "x$ac_ct_CC" = x; then 3412 CC="" 3413 else 3414 case $cross_compiling:$ac_tool_warned in 3415yes:) 3416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3418ac_tool_warned=yes ;; 3419esac 3420 CC=$ac_ct_CC 3421 fi 3422fi 3423 3424fi 3425 3426 3427test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3429as_fn_error $? "no acceptable C compiler found in \$PATH 3430See \`config.log' for more details" "$LINENO" 5; } 3431 3432# Provide some information about the compiler. 3433$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3434set X $ac_compile 3435ac_compiler=$2 3436for ac_option in --version -v -V -qversion; do 3437 { { ac_try="$ac_compiler $ac_option >&5" 3438case "(($ac_try" in 3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3440 *) ac_try_echo=$ac_try;; 3441esac 3442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3443$as_echo "$ac_try_echo"; } >&5 3444 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3445 ac_status=$? 3446 if test -s conftest.err; then 3447 sed '10a\ 3448... rest of stderr output deleted ... 3449 10q' conftest.err >conftest.er1 3450 cat conftest.er1 >&5 3451 fi 3452 rm -f conftest.er1 conftest.err 3453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3454 test $ac_status = 0; } 3455done 3456 3457cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3458/* end confdefs.h. */ 3459 3460int 3461main () 3462{ 3463 3464 ; 3465 return 0; 3466} 3467_ACEOF 3468ac_clean_files_save=$ac_clean_files 3469ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3470# Try to create an executable without -o first, disregard a.out. 3471# It will help us diagnose broken compilers, and finding out an intuition 3472# of exeext. 3473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3474$as_echo_n "checking whether the C compiler works... " >&6; } 3475ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3476 3477# The possible output files: 3478ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3479 3480ac_rmfiles= 3481for ac_file in $ac_files 3482do 3483 case $ac_file in 3484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3485 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3486 esac 3487done 3488rm -f $ac_rmfiles 3489 3490if { { ac_try="$ac_link_default" 3491case "(($ac_try" in 3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3493 *) ac_try_echo=$ac_try;; 3494esac 3495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3496$as_echo "$ac_try_echo"; } >&5 3497 (eval "$ac_link_default") 2>&5 3498 ac_status=$? 3499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3500 test $ac_status = 0; }; then : 3501 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3502# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3503# in a Makefile. We should not override ac_cv_exeext if it was cached, 3504# so that the user can short-circuit this test for compilers unknown to 3505# Autoconf. 3506for ac_file in $ac_files '' 3507do 3508 test -f "$ac_file" || continue 3509 case $ac_file in 3510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3511 ;; 3512 [ab].out ) 3513 # We found the default executable, but exeext='' is most 3514 # certainly right. 3515 break;; 3516 *.* ) 3517 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3518 then :; else 3519 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3520 fi 3521 # We set ac_cv_exeext here because the later test for it is not 3522 # safe: cross compilers may not add the suffix if given an `-o' 3523 # argument, so we may need to know it at that point already. 3524 # Even if this section looks crufty: it has the advantage of 3525 # actually working. 3526 break;; 3527 * ) 3528 break;; 3529 esac 3530done 3531test "$ac_cv_exeext" = no && ac_cv_exeext= 3532 3533else 3534 ac_file='' 3535fi 3536if test -z "$ac_file"; then : 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3538$as_echo "no" >&6; } 3539$as_echo "$as_me: failed program was:" >&5 3540sed 's/^/| /' conftest.$ac_ext >&5 3541 3542{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3544as_fn_error 77 "C compiler cannot create executables 3545See \`config.log' for more details" "$LINENO" 5; } 3546else 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3548$as_echo "yes" >&6; } 3549fi 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3551$as_echo_n "checking for C compiler default output file name... " >&6; } 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3553$as_echo "$ac_file" >&6; } 3554ac_exeext=$ac_cv_exeext 3555 3556rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3557ac_clean_files=$ac_clean_files_save 3558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3559$as_echo_n "checking for suffix of executables... " >&6; } 3560if { { ac_try="$ac_link" 3561case "(($ac_try" in 3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3563 *) ac_try_echo=$ac_try;; 3564esac 3565eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3566$as_echo "$ac_try_echo"; } >&5 3567 (eval "$ac_link") 2>&5 3568 ac_status=$? 3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3570 test $ac_status = 0; }; then : 3571 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3572# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3573# work properly (i.e., refer to `conftest.exe'), while it won't with 3574# `rm'. 3575for ac_file in conftest.exe conftest conftest.*; do 3576 test -f "$ac_file" || continue 3577 case $ac_file in 3578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3579 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3580 break;; 3581 * ) break;; 3582 esac 3583done 3584else 3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3587as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3588See \`config.log' for more details" "$LINENO" 5; } 3589fi 3590rm -f conftest conftest$ac_cv_exeext 3591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3592$as_echo "$ac_cv_exeext" >&6; } 3593 3594rm -f conftest.$ac_ext 3595EXEEXT=$ac_cv_exeext 3596ac_exeext=$EXEEXT 3597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3598/* end confdefs.h. */ 3599#include <stdio.h> 3600int 3601main () 3602{ 3603FILE *f = fopen ("conftest.out", "w"); 3604 return ferror (f) || fclose (f) != 0; 3605 3606 ; 3607 return 0; 3608} 3609_ACEOF 3610ac_clean_files="$ac_clean_files conftest.out" 3611# Check that the compiler produces executables we can run. If not, either 3612# the compiler is broken, or we cross compile. 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3614$as_echo_n "checking whether we are cross compiling... " >&6; } 3615if test "$cross_compiling" != yes; then 3616 { { ac_try="$ac_link" 3617case "(($ac_try" in 3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3619 *) ac_try_echo=$ac_try;; 3620esac 3621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3622$as_echo "$ac_try_echo"; } >&5 3623 (eval "$ac_link") 2>&5 3624 ac_status=$? 3625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3626 test $ac_status = 0; } 3627 if { ac_try='./conftest$ac_cv_exeext' 3628 { { case "(($ac_try" in 3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3630 *) ac_try_echo=$ac_try;; 3631esac 3632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3633$as_echo "$ac_try_echo"; } >&5 3634 (eval "$ac_try") 2>&5 3635 ac_status=$? 3636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3637 test $ac_status = 0; }; }; then 3638 cross_compiling=no 3639 else 3640 if test "$cross_compiling" = maybe; then 3641 cross_compiling=yes 3642 else 3643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3645as_fn_error $? "cannot run C compiled programs. 3646If you meant to cross compile, use \`--host'. 3647See \`config.log' for more details" "$LINENO" 5; } 3648 fi 3649 fi 3650fi 3651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3652$as_echo "$cross_compiling" >&6; } 3653 3654rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3655ac_clean_files=$ac_clean_files_save 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3657$as_echo_n "checking for suffix of object files... " >&6; } 3658if ${ac_cv_objext+:} false; then : 3659 $as_echo_n "(cached) " >&6 3660else 3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3662/* end confdefs.h. */ 3663 3664int 3665main () 3666{ 3667 3668 ; 3669 return 0; 3670} 3671_ACEOF 3672rm -f conftest.o conftest.obj 3673if { { ac_try="$ac_compile" 3674case "(($ac_try" in 3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3676 *) ac_try_echo=$ac_try;; 3677esac 3678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3679$as_echo "$ac_try_echo"; } >&5 3680 (eval "$ac_compile") 2>&5 3681 ac_status=$? 3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3683 test $ac_status = 0; }; then : 3684 for ac_file in conftest.o conftest.obj conftest.*; do 3685 test -f "$ac_file" || continue; 3686 case $ac_file in 3687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3688 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3689 break;; 3690 esac 3691done 3692else 3693 $as_echo "$as_me: failed program was:" >&5 3694sed 's/^/| /' conftest.$ac_ext >&5 3695 3696{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3698as_fn_error $? "cannot compute suffix of object files: cannot compile 3699See \`config.log' for more details" "$LINENO" 5; } 3700fi 3701rm -f conftest.$ac_cv_objext conftest.$ac_ext 3702fi 3703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3704$as_echo "$ac_cv_objext" >&6; } 3705OBJEXT=$ac_cv_objext 3706ac_objext=$OBJEXT 3707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3708$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3709if ${ac_cv_c_compiler_gnu+:} false; then : 3710 $as_echo_n "(cached) " >&6 3711else 3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3713/* end confdefs.h. */ 3714 3715int 3716main () 3717{ 3718#ifndef __GNUC__ 3719 choke me 3720#endif 3721 3722 ; 3723 return 0; 3724} 3725_ACEOF 3726if ac_fn_c_try_compile "$LINENO"; then : 3727 ac_compiler_gnu=yes 3728else 3729 ac_compiler_gnu=no 3730fi 3731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3732ac_cv_c_compiler_gnu=$ac_compiler_gnu 3733 3734fi 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3736$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3737if test $ac_compiler_gnu = yes; then 3738 GCC=yes 3739else 3740 GCC= 3741fi 3742ac_test_CFLAGS=${CFLAGS+set} 3743ac_save_CFLAGS=$CFLAGS 3744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3745$as_echo_n "checking whether $CC accepts -g... " >&6; } 3746if ${ac_cv_prog_cc_g+:} false; then : 3747 $as_echo_n "(cached) " >&6 3748else 3749 ac_save_c_werror_flag=$ac_c_werror_flag 3750 ac_c_werror_flag=yes 3751 ac_cv_prog_cc_g=no 3752 CFLAGS="-g" 3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3754/* end confdefs.h. */ 3755 3756int 3757main () 3758{ 3759 3760 ; 3761 return 0; 3762} 3763_ACEOF 3764if ac_fn_c_try_compile "$LINENO"; then : 3765 ac_cv_prog_cc_g=yes 3766else 3767 CFLAGS="" 3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3769/* end confdefs.h. */ 3770 3771int 3772main () 3773{ 3774 3775 ; 3776 return 0; 3777} 3778_ACEOF 3779if ac_fn_c_try_compile "$LINENO"; then : 3780 3781else 3782 ac_c_werror_flag=$ac_save_c_werror_flag 3783 CFLAGS="-g" 3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3785/* end confdefs.h. */ 3786 3787int 3788main () 3789{ 3790 3791 ; 3792 return 0; 3793} 3794_ACEOF 3795if ac_fn_c_try_compile "$LINENO"; then : 3796 ac_cv_prog_cc_g=yes 3797fi 3798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3799fi 3800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3801fi 3802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3803 ac_c_werror_flag=$ac_save_c_werror_flag 3804fi 3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3806$as_echo "$ac_cv_prog_cc_g" >&6; } 3807if test "$ac_test_CFLAGS" = set; then 3808 CFLAGS=$ac_save_CFLAGS 3809elif test $ac_cv_prog_cc_g = yes; then 3810 if test "$GCC" = yes; then 3811 CFLAGS="-g -O2" 3812 else 3813 CFLAGS="-g" 3814 fi 3815else 3816 if test "$GCC" = yes; then 3817 CFLAGS="-O2" 3818 else 3819 CFLAGS= 3820 fi 3821fi 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3823$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3824if ${ac_cv_prog_cc_c89+:} false; then : 3825 $as_echo_n "(cached) " >&6 3826else 3827 ac_cv_prog_cc_c89=no 3828ac_save_CC=$CC 3829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3830/* end confdefs.h. */ 3831#include <stdarg.h> 3832#include <stdio.h> 3833struct stat; 3834/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3835struct buf { int x; }; 3836FILE * (*rcsopen) (struct buf *, struct stat *, int); 3837static char *e (p, i) 3838 char **p; 3839 int i; 3840{ 3841 return p[i]; 3842} 3843static char *f (char * (*g) (char **, int), char **p, ...) 3844{ 3845 char *s; 3846 va_list v; 3847 va_start (v,p); 3848 s = g (p, va_arg (v,int)); 3849 va_end (v); 3850 return s; 3851} 3852 3853/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3854 function prototypes and stuff, but not '\xHH' hex character constants. 3855 These don't provoke an error unfortunately, instead are silently treated 3856 as 'x'. The following induces an error, until -std is added to get 3857 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3858 array size at least. It's necessary to write '\x00'==0 to get something 3859 that's true only with -std. */ 3860int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3861 3862/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3863 inside strings and character constants. */ 3864#define FOO(x) 'x' 3865int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3866 3867int test (int i, double x); 3868struct s1 {int (*f) (int a);}; 3869struct s2 {int (*f) (double a);}; 3870int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3871int argc; 3872char **argv; 3873int 3874main () 3875{ 3876return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3877 ; 3878 return 0; 3879} 3880_ACEOF 3881for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3882 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3883do 3884 CC="$ac_save_CC $ac_arg" 3885 if ac_fn_c_try_compile "$LINENO"; then : 3886 ac_cv_prog_cc_c89=$ac_arg 3887fi 3888rm -f core conftest.err conftest.$ac_objext 3889 test "x$ac_cv_prog_cc_c89" != "xno" && break 3890done 3891rm -f conftest.$ac_ext 3892CC=$ac_save_CC 3893 3894fi 3895# AC_CACHE_VAL 3896case "x$ac_cv_prog_cc_c89" in 3897 x) 3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3899$as_echo "none needed" >&6; } ;; 3900 xno) 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3902$as_echo "unsupported" >&6; } ;; 3903 *) 3904 CC="$CC $ac_cv_prog_cc_c89" 3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3906$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3907esac 3908if test "x$ac_cv_prog_cc_c89" != xno; then : 3909 3910fi 3911 3912ac_ext=c 3913ac_cpp='$CPP $CPPFLAGS' 3914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3916ac_compiler_gnu=$ac_cv_c_compiler_gnu 3917 3918ac_ext=c 3919ac_cpp='$CPP $CPPFLAGS' 3920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3922ac_compiler_gnu=$ac_cv_c_compiler_gnu 3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3924$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3925if ${am_cv_prog_cc_c_o+:} false; then : 3926 $as_echo_n "(cached) " >&6 3927else 3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3929/* end confdefs.h. */ 3930 3931int 3932main () 3933{ 3934 3935 ; 3936 return 0; 3937} 3938_ACEOF 3939 # Make sure it works both with $CC and with simple cc. 3940 # Following AC_PROG_CC_C_O, we do the test twice because some 3941 # compilers refuse to overwrite an existing .o file with -o, 3942 # though they will create one. 3943 am_cv_prog_cc_c_o=yes 3944 for am_i in 1 2; do 3945 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3946 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3947 ac_status=$? 3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3949 (exit $ac_status); } \ 3950 && test -f conftest2.$ac_objext; then 3951 : OK 3952 else 3953 am_cv_prog_cc_c_o=no 3954 break 3955 fi 3956 done 3957 rm -f core conftest* 3958 unset am_i 3959fi 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3961$as_echo "$am_cv_prog_cc_c_o" >&6; } 3962if test "$am_cv_prog_cc_c_o" != yes; then 3963 # Losing compiler, so override with the script. 3964 # FIXME: It is wrong to rewrite CC. 3965 # But if we don't then we get into trouble of one sort or another. 3966 # A longer-term fix would be to have automake use am__CC in this case, 3967 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3968 CC="$am_aux_dir/compile $CC" 3969fi 3970ac_ext=c 3971ac_cpp='$CPP $CPPFLAGS' 3972ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3974ac_compiler_gnu=$ac_cv_c_compiler_gnu 3975 3976 3977depcc="$CC" am_compiler_list= 3978 3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3980$as_echo_n "checking dependency style of $depcc... " >&6; } 3981if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3982 $as_echo_n "(cached) " >&6 3983else 3984 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3985 # We make a subdir and do the tests there. Otherwise we can end up 3986 # making bogus files that we don't know about and never remove. For 3987 # instance it was reported that on HP-UX the gcc test will end up 3988 # making a dummy file named 'D' -- because '-MD' means "put the output 3989 # in D". 3990 rm -rf conftest.dir 3991 mkdir conftest.dir 3992 # Copy depcomp to subdir because otherwise we won't find it if we're 3993 # using a relative directory. 3994 cp "$am_depcomp" conftest.dir 3995 cd conftest.dir 3996 # We will build objects and dependencies in a subdirectory because 3997 # it helps to detect inapplicable dependency modes. For instance 3998 # both Tru64's cc and ICC support -MD to output dependencies as a 3999 # side effect of compilation, but ICC will put the dependencies in 4000 # the current directory while Tru64 will put them in the object 4001 # directory. 4002 mkdir sub 4003 4004 am_cv_CC_dependencies_compiler_type=none 4005 if test "$am_compiler_list" = ""; then 4006 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4007 fi 4008 am__universal=false 4009 case " $depcc " in #( 4010 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4011 esac 4012 4013 for depmode in $am_compiler_list; do 4014 # Setup a source with many dependencies, because some compilers 4015 # like to wrap large dependency lists on column 80 (with \), and 4016 # we should not choose a depcomp mode which is confused by this. 4017 # 4018 # We need to recreate these files for each test, as the compiler may 4019 # overwrite some of them when testing with obscure command lines. 4020 # This happens at least with the AIX C compiler. 4021 : > sub/conftest.c 4022 for i in 1 2 3 4 5 6; do 4023 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4024 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4025 # Solaris 10 /bin/sh. 4026 echo '/* dummy */' > sub/conftst$i.h 4027 done 4028 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4029 4030 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4031 # mode. It turns out that the SunPro C++ compiler does not properly 4032 # handle '-M -o', and we need to detect this. Also, some Intel 4033 # versions had trouble with output in subdirs. 4034 am__obj=sub/conftest.${OBJEXT-o} 4035 am__minus_obj="-o $am__obj" 4036 case $depmode in 4037 gcc) 4038 # This depmode causes a compiler race in universal mode. 4039 test "$am__universal" = false || continue 4040 ;; 4041 nosideeffect) 4042 # After this tag, mechanisms are not by side-effect, so they'll 4043 # only be used when explicitly requested. 4044 if test "x$enable_dependency_tracking" = xyes; then 4045 continue 4046 else 4047 break 4048 fi 4049 ;; 4050 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4051 # This compiler won't grok '-c -o', but also, the minuso test has 4052 # not run yet. These depmodes are late enough in the game, and 4053 # so weak that their functioning should not be impacted. 4054 am__obj=conftest.${OBJEXT-o} 4055 am__minus_obj= 4056 ;; 4057 none) break ;; 4058 esac 4059 if depmode=$depmode \ 4060 source=sub/conftest.c object=$am__obj \ 4061 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4062 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4063 >/dev/null 2>conftest.err && 4064 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4065 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4066 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4067 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4068 # icc doesn't choke on unknown options, it will just issue warnings 4069 # or remarks (even with -Werror). So we grep stderr for any message 4070 # that says an option was ignored or not supported. 4071 # When given -MP, icc 7.0 and 7.1 complain thusly: 4072 # icc: Command line warning: ignoring option '-M'; no argument required 4073 # The diagnosis changed in icc 8.0: 4074 # icc: Command line remark: option '-MP' not supported 4075 if (grep 'ignoring option' conftest.err || 4076 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4077 am_cv_CC_dependencies_compiler_type=$depmode 4078 break 4079 fi 4080 fi 4081 done 4082 4083 cd .. 4084 rm -rf conftest.dir 4085else 4086 am_cv_CC_dependencies_compiler_type=none 4087fi 4088 4089fi 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4091$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4092CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4093 4094 if 4095 test "x$enable_dependency_tracking" != xno \ 4096 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4097 am__fastdepCC_TRUE= 4098 am__fastdepCC_FALSE='#' 4099else 4100 am__fastdepCC_TRUE='#' 4101 am__fastdepCC_FALSE= 4102fi 4103 4104 4105# Make sure we can run config.sub. 4106$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4107 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4108 4109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4110$as_echo_n "checking build system type... " >&6; } 4111if ${ac_cv_build+:} false; then : 4112 $as_echo_n "(cached) " >&6 4113else 4114 ac_build_alias=$build_alias 4115test "x$ac_build_alias" = x && 4116 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4117test "x$ac_build_alias" = x && 4118 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4119ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4120 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4121 4122fi 4123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4124$as_echo "$ac_cv_build" >&6; } 4125case $ac_cv_build in 4126*-*-*) ;; 4127*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4128esac 4129build=$ac_cv_build 4130ac_save_IFS=$IFS; IFS='-' 4131set x $ac_cv_build 4132shift 4133build_cpu=$1 4134build_vendor=$2 4135shift; shift 4136# Remember, the first character of IFS is used to create $*, 4137# except with old shells: 4138build_os=$* 4139IFS=$ac_save_IFS 4140case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4141 4142 4143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4144$as_echo_n "checking host system type... " >&6; } 4145if ${ac_cv_host+:} false; then : 4146 $as_echo_n "(cached) " >&6 4147else 4148 if test "x$host_alias" = x; then 4149 ac_cv_host=$ac_cv_build 4150else 4151 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4152 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4153fi 4154 4155fi 4156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4157$as_echo "$ac_cv_host" >&6; } 4158case $ac_cv_host in 4159*-*-*) ;; 4160*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4161esac 4162host=$ac_cv_host 4163ac_save_IFS=$IFS; IFS='-' 4164set x $ac_cv_host 4165shift 4166host_cpu=$1 4167host_vendor=$2 4168shift; shift 4169# Remember, the first character of IFS is used to create $*, 4170# except with old shells: 4171host_os=$* 4172IFS=$ac_save_IFS 4173case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4174 4175 4176 4177 4178 4179# Check whether --with-gnu-ld was given. 4180if test "${with_gnu_ld+set}" = set; then : 4181 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4182else 4183 with_gnu_ld=no 4184fi 4185 4186# Prepare PATH_SEPARATOR. 4187# The user is always right. 4188if test "${PATH_SEPARATOR+set}" != set; then 4189 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 4190 # contains only /bin. Note that ksh looks also at the FPATH variable, 4191 # so we have to set that as well for the test. 4192 PATH_SEPARATOR=: 4193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 4194 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 4195 || PATH_SEPARATOR=';' 4196 } 4197fi 4198 4199if test -n "$LD"; then 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 4201$as_echo_n "checking for ld... " >&6; } 4202elif test "$GCC" = yes; then 4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4204$as_echo_n "checking for ld used by $CC... " >&6; } 4205elif test "$with_gnu_ld" = yes; then 4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4207$as_echo_n "checking for GNU ld... " >&6; } 4208else 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4210$as_echo_n "checking for non-GNU ld... " >&6; } 4211fi 4212if test -n "$LD"; then 4213 # Let the user override the test with a path. 4214 : 4215else 4216 if ${acl_cv_path_LD+:} false; then : 4217 $as_echo_n "(cached) " >&6 4218else 4219 4220 acl_cv_path_LD= # Final result of this test 4221 ac_prog=ld # Program to search in $PATH 4222 if test "$GCC" = yes; then 4223 # Check if gcc -print-prog-name=ld gives a path. 4224 case $host in 4225 *-*-mingw*) 4226 # gcc leaves a trailing carriage return which upsets mingw 4227 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4228 *) 4229 acl_output=`($CC -print-prog-name=ld) 2>&5` ;; 4230 esac 4231 case $acl_output in 4232 # Accept absolute paths. 4233 [\\/]* | ?:[\\/]*) 4234 re_direlt='/[^/][^/]*/\.\./' 4235 # Canonicalize the pathname of ld 4236 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` 4237 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do 4238 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` 4239 done 4240 # Got the pathname. No search in PATH is needed. 4241 acl_cv_path_LD="$acl_output" 4242 ac_prog= 4243 ;; 4244 "") 4245 # If it fails, then pretend we aren't using GCC. 4246 ;; 4247 *) 4248 # If it is relative, then search for the first ld in PATH. 4249 with_gnu_ld=unknown 4250 ;; 4251 esac 4252 fi 4253 if test -n "$ac_prog"; then 4254 # Search for $ac_prog in $PATH. 4255 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4256 for ac_dir in $PATH; do 4257 IFS="$acl_save_ifs" 4258 test -z "$ac_dir" && ac_dir=. 4259 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4260 acl_cv_path_LD="$ac_dir/$ac_prog" 4261 # Check to see if the program is GNU ld. I'd rather use --version, 4262 # but apparently some variants of GNU ld only accept -v. 4263 # Break only if it was the GNU/non-GNU ld that we prefer. 4264 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 4265 *GNU* | *'with BFD'*) 4266 test "$with_gnu_ld" != no && break 4267 ;; 4268 *) 4269 test "$with_gnu_ld" != yes && break 4270 ;; 4271 esac 4272 fi 4273 done 4274 IFS="$acl_save_ifs" 4275 fi 4276 case $host in 4277 *-*-aix*) 4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4279/* end confdefs.h. */ 4280#if defined __powerpc64__ || defined _ARCH_PPC64 4281 int ok; 4282 #else 4283 error fail 4284 #endif 4285 4286_ACEOF 4287if ac_fn_c_try_compile "$LINENO"; then : 4288 # The compiler produces 64-bit code. Add option '-b64' so that the 4289 # linker groks 64-bit object files. 4290 case "$acl_cv_path_LD " in 4291 *" -b64 "*) ;; 4292 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; 4293 esac 4294 4295fi 4296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4297 ;; 4298 sparc64-*-netbsd*) 4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4300/* end confdefs.h. */ 4301#if defined __sparcv9 || defined __arch64__ 4302 int ok; 4303 #else 4304 error fail 4305 #endif 4306 4307_ACEOF 4308if ac_fn_c_try_compile "$LINENO"; then : 4309 4310else 4311 # The compiler produces 32-bit code. Add option '-m elf32_sparc' 4312 # so that the linker groks 32-bit object files. 4313 case "$acl_cv_path_LD " in 4314 *" -m elf32_sparc "*) ;; 4315 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; 4316 esac 4317 4318fi 4319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4320 ;; 4321 esac 4322 4323fi 4324 4325 LD="$acl_cv_path_LD" 4326fi 4327if test -n "$LD"; then 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4329$as_echo "$LD" >&6; } 4330else 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4332$as_echo "no" >&6; } 4333 as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4334fi 4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4336$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4337if ${acl_cv_prog_gnu_ld+:} false; then : 4338 $as_echo_n "(cached) " >&6 4339else 4340 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4341case `$LD -v 2>&1 </dev/null` in 4342*GNU* | *'with BFD'*) 4343 acl_cv_prog_gnu_ld=yes 4344 ;; 4345*) 4346 acl_cv_prog_gnu_ld=no 4347 ;; 4348esac 4349fi 4350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 4351$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4352with_gnu_ld=$acl_cv_prog_gnu_ld 4353 4354 4355 4356 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4358$as_echo_n "checking for shared library run path origin... " >&6; } 4359if ${acl_cv_rpath+:} false; then : 4360 $as_echo_n "(cached) " >&6 4361else 4362 4363 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4364 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4365 . ./conftest.sh 4366 rm -f ./conftest.sh 4367 acl_cv_rpath=done 4368 4369fi 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 4371$as_echo "$acl_cv_rpath" >&6; } 4372 wl="$acl_cv_wl" 4373 acl_libext="$acl_cv_libext" 4374 acl_shlibext="$acl_cv_shlibext" 4375 acl_libname_spec="$acl_cv_libname_spec" 4376 acl_library_names_spec="$acl_cv_library_names_spec" 4377 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 4378 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 4379 acl_hardcode_direct="$acl_cv_hardcode_direct" 4380 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 4381 # Check whether --enable-rpath was given. 4382if test "${enable_rpath+set}" = set; then : 4383 enableval=$enable_rpath; : 4384else 4385 enable_rpath=yes 4386fi 4387 4388 4389 4390 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 4392$as_echo_n "checking 32-bit host C ABI... " >&6; } 4393if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : 4394 $as_echo_n "(cached) " >&6 4395else 4396 if test -n "$gl_cv_host_cpu_c_abi"; then 4397 case "$gl_cv_host_cpu_c_abi" in 4398 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) 4399 gl_cv_host_cpu_c_abi_32bit=yes ;; 4400 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) 4401 gl_cv_host_cpu_c_abi_32bit=no ;; 4402 *) 4403 gl_cv_host_cpu_c_abi_32bit=unknown ;; 4404 esac 4405 else 4406 case "$host_cpu" in 4407 4408 # CPUs that only support a 32-bit ABI. 4409 arc \ 4410 | bfin \ 4411 | cris* \ 4412 | csky \ 4413 | epiphany \ 4414 | ft32 \ 4415 | h8300 \ 4416 | m68k \ 4417 | microblaze | microblazeel \ 4418 | nds32 | nds32le | nds32be \ 4419 | nios2 | nios2eb | nios2el \ 4420 | or1k* \ 4421 | or32 \ 4422 | sh | sh1234 | sh1234elb \ 4423 | tic6x \ 4424 | xtensa* ) 4425 gl_cv_host_cpu_c_abi_32bit=yes 4426 ;; 4427 4428 # CPUs that only support a 64-bit ABI. 4429 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ 4430 | mmix ) 4431 gl_cv_host_cpu_c_abi_32bit=no 4432 ;; 4433 4434 i[34567]86 ) 4435 gl_cv_host_cpu_c_abi_32bit=yes 4436 ;; 4437 4438 x86_64 ) 4439 # On x86_64 systems, the C compiler may be generating code in one of 4440 # these ABIs: 4441 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. 4442 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 4443 # with native Windows (mingw, MSVC). 4444 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. 4445 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. 4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4447/* end confdefs.h. */ 4448#if (defined __x86_64__ || defined __amd64__ \ 4449 || defined _M_X64 || defined _M_AMD64) \ 4450 && !(defined __ILP32__ || defined _ILP32) 4451 int ok; 4452 #else 4453 error fail 4454 #endif 4455 4456_ACEOF 4457if ac_fn_c_try_compile "$LINENO"; then : 4458 gl_cv_host_cpu_c_abi_32bit=no 4459else 4460 gl_cv_host_cpu_c_abi_32bit=yes 4461fi 4462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4463 ;; 4464 4465 arm* | aarch64 ) 4466 # Assume arm with EABI. 4467 # On arm64 systems, the C compiler may be generating code in one of 4468 # these ABIs: 4469 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. 4470 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. 4471 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. 4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4473/* end confdefs.h. */ 4474#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) 4475 int ok; 4476 #else 4477 error fail 4478 #endif 4479 4480_ACEOF 4481if ac_fn_c_try_compile "$LINENO"; then : 4482 gl_cv_host_cpu_c_abi_32bit=no 4483else 4484 gl_cv_host_cpu_c_abi_32bit=yes 4485fi 4486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4487 ;; 4488 4489 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) 4490 # On hppa, the C compiler may be generating 32-bit code or 64-bit 4491 # code. In the latter case, it defines _LP64 and __LP64__. 4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493/* end confdefs.h. */ 4494#ifdef __LP64__ 4495 int ok; 4496 #else 4497 error fail 4498 #endif 4499 4500_ACEOF 4501if ac_fn_c_try_compile "$LINENO"; then : 4502 gl_cv_host_cpu_c_abi_32bit=no 4503else 4504 gl_cv_host_cpu_c_abi_32bit=yes 4505fi 4506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4507 ;; 4508 4509 ia64* ) 4510 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or 4511 # 32-bit code. In the latter case, it defines _ILP32. 4512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4513/* end confdefs.h. */ 4514#ifdef _ILP32 4515 int ok; 4516 #else 4517 error fail 4518 #endif 4519 4520_ACEOF 4521if ac_fn_c_try_compile "$LINENO"; then : 4522 gl_cv_host_cpu_c_abi_32bit=yes 4523else 4524 gl_cv_host_cpu_c_abi_32bit=no 4525fi 4526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4527 ;; 4528 4529 mips* ) 4530 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this 4531 # at 32. 4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4533/* end confdefs.h. */ 4534#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) 4535 int ok; 4536 #else 4537 error fail 4538 #endif 4539 4540_ACEOF 4541if ac_fn_c_try_compile "$LINENO"; then : 4542 gl_cv_host_cpu_c_abi_32bit=no 4543else 4544 gl_cv_host_cpu_c_abi_32bit=yes 4545fi 4546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4547 ;; 4548 4549 powerpc* ) 4550 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. 4551 # No need to distinguish them here; the caller may distinguish 4552 # them based on the OS. 4553 # On powerpc64 systems, the C compiler may still be generating 4554 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may 4555 # be generating 64-bit code. 4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4557/* end confdefs.h. */ 4558#if defined __powerpc64__ || defined _ARCH_PPC64 4559 int ok; 4560 #else 4561 error fail 4562 #endif 4563 4564_ACEOF 4565if ac_fn_c_try_compile "$LINENO"; then : 4566 gl_cv_host_cpu_c_abi_32bit=no 4567else 4568 gl_cv_host_cpu_c_abi_32bit=yes 4569fi 4570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4571 ;; 4572 4573 rs6000 ) 4574 gl_cv_host_cpu_c_abi_32bit=yes 4575 ;; 4576 4577 riscv32 | riscv64 ) 4578 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. 4579 # Size of 'long' and 'void *': 4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4581/* end confdefs.h. */ 4582#if defined __LP64__ 4583 int ok; 4584 #else 4585 error fail 4586 #endif 4587 4588_ACEOF 4589if ac_fn_c_try_compile "$LINENO"; then : 4590 gl_cv_host_cpu_c_abi_32bit=no 4591else 4592 gl_cv_host_cpu_c_abi_32bit=yes 4593fi 4594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4595 ;; 4596 4597 s390* ) 4598 # On s390x, the C compiler may be generating 64-bit (= s390x) code 4599 # or 31-bit (= s390) code. 4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4601/* end confdefs.h. */ 4602#if defined __LP64__ || defined __s390x__ 4603 int ok; 4604 #else 4605 error fail 4606 #endif 4607 4608_ACEOF 4609if ac_fn_c_try_compile "$LINENO"; then : 4610 gl_cv_host_cpu_c_abi_32bit=no 4611else 4612 gl_cv_host_cpu_c_abi_32bit=yes 4613fi 4614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4615 ;; 4616 4617 sparc | sparc64 ) 4618 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the 4619 # C compiler still generates 32-bit code. 4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4621/* end confdefs.h. */ 4622#if defined __sparcv9 || defined __arch64__ 4623 int ok; 4624 #else 4625 error fail 4626 #endif 4627 4628_ACEOF 4629if ac_fn_c_try_compile "$LINENO"; then : 4630 gl_cv_host_cpu_c_abi_32bit=no 4631else 4632 gl_cv_host_cpu_c_abi_32bit=yes 4633fi 4634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4635 ;; 4636 4637 *) 4638 gl_cv_host_cpu_c_abi_32bit=unknown 4639 ;; 4640 esac 4641 fi 4642 4643fi 4644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 4645$as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } 4646 4647 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" 4648 4649ac_ext=c 4650ac_cpp='$CPP $CPPFLAGS' 4651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4653ac_compiler_gnu=$ac_cv_c_compiler_gnu 4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4655$as_echo_n "checking how to run the C preprocessor... " >&6; } 4656# On Suns, sometimes $CPP names a directory. 4657if test -n "$CPP" && test -d "$CPP"; then 4658 CPP= 4659fi 4660if test -z "$CPP"; then 4661 if ${ac_cv_prog_CPP+:} false; then : 4662 $as_echo_n "(cached) " >&6 4663else 4664 # Double quotes because CPP needs to be expanded 4665 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4666 do 4667 ac_preproc_ok=false 4668for ac_c_preproc_warn_flag in '' yes 4669do 4670 # Use a header file that comes with gcc, so configuring glibc 4671 # with a fresh cross-compiler works. 4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4673 # <limits.h> exists even on freestanding compilers. 4674 # On the NeXT, cc -E runs the code through the compiler's parser, 4675 # not just through cpp. "Syntax error" is here to catch this case. 4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4677/* end confdefs.h. */ 4678#ifdef __STDC__ 4679# include <limits.h> 4680#else 4681# include <assert.h> 4682#endif 4683 Syntax error 4684_ACEOF 4685if ac_fn_c_try_cpp "$LINENO"; then : 4686 4687else 4688 # Broken: fails on valid input. 4689continue 4690fi 4691rm -f conftest.err conftest.i conftest.$ac_ext 4692 4693 # OK, works on sane cases. Now check whether nonexistent headers 4694 # can be detected and how. 4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4696/* end confdefs.h. */ 4697#include <ac_nonexistent.h> 4698_ACEOF 4699if ac_fn_c_try_cpp "$LINENO"; then : 4700 # Broken: success on invalid input. 4701continue 4702else 4703 # Passes both tests. 4704ac_preproc_ok=: 4705break 4706fi 4707rm -f conftest.err conftest.i conftest.$ac_ext 4708 4709done 4710# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4711rm -f conftest.i conftest.err conftest.$ac_ext 4712if $ac_preproc_ok; then : 4713 break 4714fi 4715 4716 done 4717 ac_cv_prog_CPP=$CPP 4718 4719fi 4720 CPP=$ac_cv_prog_CPP 4721else 4722 ac_cv_prog_CPP=$CPP 4723fi 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4725$as_echo "$CPP" >&6; } 4726ac_preproc_ok=false 4727for ac_c_preproc_warn_flag in '' yes 4728do 4729 # Use a header file that comes with gcc, so configuring glibc 4730 # with a fresh cross-compiler works. 4731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4732 # <limits.h> exists even on freestanding compilers. 4733 # On the NeXT, cc -E runs the code through the compiler's parser, 4734 # not just through cpp. "Syntax error" is here to catch this case. 4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4736/* end confdefs.h. */ 4737#ifdef __STDC__ 4738# include <limits.h> 4739#else 4740# include <assert.h> 4741#endif 4742 Syntax error 4743_ACEOF 4744if ac_fn_c_try_cpp "$LINENO"; then : 4745 4746else 4747 # Broken: fails on valid input. 4748continue 4749fi 4750rm -f conftest.err conftest.i conftest.$ac_ext 4751 4752 # OK, works on sane cases. Now check whether nonexistent headers 4753 # can be detected and how. 4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4755/* end confdefs.h. */ 4756#include <ac_nonexistent.h> 4757_ACEOF 4758if ac_fn_c_try_cpp "$LINENO"; then : 4759 # Broken: success on invalid input. 4760continue 4761else 4762 # Passes both tests. 4763ac_preproc_ok=: 4764break 4765fi 4766rm -f conftest.err conftest.i conftest.$ac_ext 4767 4768done 4769# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4770rm -f conftest.i conftest.err conftest.$ac_ext 4771if $ac_preproc_ok; then : 4772 4773else 4774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4775$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4776as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4777See \`config.log' for more details" "$LINENO" 5; } 4778fi 4779 4780ac_ext=c 4781ac_cpp='$CPP $CPPFLAGS' 4782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4784ac_compiler_gnu=$ac_cv_c_compiler_gnu 4785 4786 4787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4788$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4789if ${ac_cv_path_GREP+:} false; then : 4790 $as_echo_n "(cached) " >&6 4791else 4792 if test -z "$GREP"; then 4793 ac_path_GREP_found=false 4794 # Loop through the user's path and test for each of PROGNAME-LIST 4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4796for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4797do 4798 IFS=$as_save_IFS 4799 test -z "$as_dir" && as_dir=. 4800 for ac_prog in grep ggrep; do 4801 for ac_exec_ext in '' $ac_executable_extensions; do 4802 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4803 as_fn_executable_p "$ac_path_GREP" || continue 4804# Check for GNU ac_path_GREP and select it if it is found. 4805 # Check for GNU $ac_path_GREP 4806case `"$ac_path_GREP" --version 2>&1` in 4807*GNU*) 4808 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4809*) 4810 ac_count=0 4811 $as_echo_n 0123456789 >"conftest.in" 4812 while : 4813 do 4814 cat "conftest.in" "conftest.in" >"conftest.tmp" 4815 mv "conftest.tmp" "conftest.in" 4816 cp "conftest.in" "conftest.nl" 4817 $as_echo 'GREP' >> "conftest.nl" 4818 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4819 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4820 as_fn_arith $ac_count + 1 && ac_count=$as_val 4821 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4822 # Best one so far, save it but keep looking for a better one 4823 ac_cv_path_GREP="$ac_path_GREP" 4824 ac_path_GREP_max=$ac_count 4825 fi 4826 # 10*(2^10) chars as input seems more than enough 4827 test $ac_count -gt 10 && break 4828 done 4829 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4830esac 4831 4832 $ac_path_GREP_found && break 3 4833 done 4834 done 4835 done 4836IFS=$as_save_IFS 4837 if test -z "$ac_cv_path_GREP"; then 4838 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4839 fi 4840else 4841 ac_cv_path_GREP=$GREP 4842fi 4843 4844fi 4845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4846$as_echo "$ac_cv_path_GREP" >&6; } 4847 GREP="$ac_cv_path_GREP" 4848 4849 4850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4851$as_echo_n "checking for egrep... " >&6; } 4852if ${ac_cv_path_EGREP+:} false; then : 4853 $as_echo_n "(cached) " >&6 4854else 4855 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4856 then ac_cv_path_EGREP="$GREP -E" 4857 else 4858 if test -z "$EGREP"; then 4859 ac_path_EGREP_found=false 4860 # Loop through the user's path and test for each of PROGNAME-LIST 4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4862for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4863do 4864 IFS=$as_save_IFS 4865 test -z "$as_dir" && as_dir=. 4866 for ac_prog in egrep; do 4867 for ac_exec_ext in '' $ac_executable_extensions; do 4868 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4869 as_fn_executable_p "$ac_path_EGREP" || continue 4870# Check for GNU ac_path_EGREP and select it if it is found. 4871 # Check for GNU $ac_path_EGREP 4872case `"$ac_path_EGREP" --version 2>&1` in 4873*GNU*) 4874 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4875*) 4876 ac_count=0 4877 $as_echo_n 0123456789 >"conftest.in" 4878 while : 4879 do 4880 cat "conftest.in" "conftest.in" >"conftest.tmp" 4881 mv "conftest.tmp" "conftest.in" 4882 cp "conftest.in" "conftest.nl" 4883 $as_echo 'EGREP' >> "conftest.nl" 4884 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4885 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4886 as_fn_arith $ac_count + 1 && ac_count=$as_val 4887 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4888 # Best one so far, save it but keep looking for a better one 4889 ac_cv_path_EGREP="$ac_path_EGREP" 4890 ac_path_EGREP_max=$ac_count 4891 fi 4892 # 10*(2^10) chars as input seems more than enough 4893 test $ac_count -gt 10 && break 4894 done 4895 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4896esac 4897 4898 $ac_path_EGREP_found && break 3 4899 done 4900 done 4901 done 4902IFS=$as_save_IFS 4903 if test -z "$ac_cv_path_EGREP"; then 4904 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4905 fi 4906else 4907 ac_cv_path_EGREP=$EGREP 4908fi 4909 4910 fi 4911fi 4912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4913$as_echo "$ac_cv_path_EGREP" >&6; } 4914 EGREP="$ac_cv_path_EGREP" 4915 4916 4917 4918 4919 4920 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5 4922$as_echo_n "checking for ELF binary format... " >&6; } 4923if ${gl_cv_elf+:} false; then : 4924 $as_echo_n "(cached) " >&6 4925else 4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4927/* end confdefs.h. */ 4928#ifdef __ELF__ 4929 Extensible Linking Format 4930 #endif 4931 4932_ACEOF 4933if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4934 $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : 4935 gl_cv_elf=yes 4936else 4937 gl_cv_elf=no 4938fi 4939rm -f conftest* 4940 4941 4942fi 4943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 4944$as_echo "$gl_cv_elf" >&6; } 4945 if test $gl_cv_elf; then 4946 # Extract the ELF class of a file (5th byte) in decimal. 4947 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header 4948 if od -A x < /dev/null >/dev/null 2>/dev/null; then 4949 # Use POSIX od. 4950 func_elfclass () 4951 { 4952 od -A n -t d1 -j 4 -N 1 4953 } 4954 else 4955 # Use BSD hexdump. 4956 func_elfclass () 4957 { 4958 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' 4959 echo 4960 } 4961 fi 4962 case $HOST_CPU_C_ABI_32BIT in 4963 yes) 4964 # 32-bit ABI. 4965 acl_is_expected_elfclass () 4966 { 4967 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 4968 } 4969 ;; 4970 no) 4971 # 64-bit ABI. 4972 acl_is_expected_elfclass () 4973 { 4974 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 4975 } 4976 ;; 4977 *) 4978 # Unknown. 4979 acl_is_expected_elfclass () 4980 { 4981 : 4982 } 4983 ;; 4984 esac 4985 else 4986 acl_is_expected_elfclass () 4987 { 4988 : 4989 } 4990 fi 4991 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 4993$as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } 4994if ${acl_cv_libdirstems+:} false; then : 4995 $as_echo_n "(cached) " >&6 4996else 4997 acl_libdirstem=lib 4998 acl_libdirstem2= 4999 acl_libdirstem3= 5000 case "$host_os" in 5001 solaris*) 5002 if test $HOST_CPU_C_ABI_32BIT = no; then 5003 acl_libdirstem2=lib/64 5004 case "$host_cpu" in 5005 sparc*) acl_libdirstem3=lib/sparcv9 ;; 5006 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; 5007 esac 5008 fi 5009 ;; 5010 *) 5011 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ 5012 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 5013 if test $HOST_CPU_C_ABI_32BIT != no; then 5014 # 32-bit or unknown ABI. 5015 if test -d /usr/lib32; then 5016 acl_libdirstem2=lib32 5017 fi 5018 fi 5019 if test $HOST_CPU_C_ABI_32BIT != yes; then 5020 # 64-bit or unknown ABI. 5021 if test -d /usr/lib64; then 5022 acl_libdirstem3=lib64 5023 fi 5024 fi 5025 if test -n "$searchpath"; then 5026 acl_save_IFS="${IFS= }"; IFS=":" 5027 for searchdir in $searchpath; do 5028 if test -d "$searchdir"; then 5029 case "$searchdir" in 5030 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; 5031 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; 5032 */../ | */.. ) 5033 # Better ignore directories of this form. They are misleading. 5034 ;; 5035 *) searchdir=`cd "$searchdir" && pwd` 5036 case "$searchdir" in 5037 */lib32 ) acl_libdirstem2=lib32 ;; 5038 */lib64 ) acl_libdirstem3=lib64 ;; 5039 esac ;; 5040 esac 5041 fi 5042 done 5043 IFS="$acl_save_IFS" 5044 if test $HOST_CPU_C_ABI_32BIT = yes; then 5045 # 32-bit ABI. 5046 acl_libdirstem3= 5047 fi 5048 if test $HOST_CPU_C_ABI_32BIT = no; then 5049 # 64-bit ABI. 5050 acl_libdirstem2= 5051 fi 5052 fi 5053 ;; 5054 esac 5055 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 5056 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" 5057 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" 5058 5059fi 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 5061$as_echo "$acl_cv_libdirstems" >&6; } 5062 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` 5063 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` 5064 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 use_additional=yes 5077 5078 acl_save_prefix="$prefix" 5079 prefix="$acl_final_prefix" 5080 acl_save_exec_prefix="$exec_prefix" 5081 exec_prefix="$acl_final_exec_prefix" 5082 5083 eval additional_includedir=\"$includedir\" 5084 eval additional_libdir=\"$libdir\" 5085 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 5086 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 5087 5088 exec_prefix="$acl_save_exec_prefix" 5089 prefix="$acl_save_prefix" 5090 5091 5092# Check whether --with-libiconv-prefix was given. 5093if test "${with_libiconv_prefix+set}" = set; then : 5094 withval=$with_libiconv_prefix; 5095 if test "X$withval" = "Xno"; then 5096 use_additional=no 5097 else 5098 if test "X$withval" = "X"; then 5099 5100 acl_save_prefix="$prefix" 5101 prefix="$acl_final_prefix" 5102 acl_save_exec_prefix="$exec_prefix" 5103 exec_prefix="$acl_final_exec_prefix" 5104 5105 eval additional_includedir=\"$includedir\" 5106 eval additional_libdir=\"$libdir\" 5107 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 5108 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 5109 5110 exec_prefix="$acl_save_exec_prefix" 5111 prefix="$acl_save_prefix" 5112 5113 else 5114 additional_includedir="$withval/include" 5115 additional_libdir="$withval/$acl_libdirstem" 5116 additional_libdir2="$withval/$acl_libdirstem2" 5117 additional_libdir3="$withval/$acl_libdirstem3" 5118 fi 5119 fi 5120 5121fi 5122 5123 if test "X$additional_libdir2" = "X$additional_libdir"; then 5124 additional_libdir2= 5125 fi 5126 if test "X$additional_libdir3" = "X$additional_libdir"; then 5127 additional_libdir3= 5128 fi 5129 LIBICONV= 5130 LTLIBICONV= 5131 INCICONV= 5132 LIBICONV_PREFIX= 5133 HAVE_LIBICONV= 5134 rpathdirs= 5135 ltrpathdirs= 5136 names_already_handled= 5137 names_next_round='iconv ' 5138 while test -n "$names_next_round"; do 5139 names_this_round="$names_next_round" 5140 names_next_round= 5141 for name in $names_this_round; do 5142 already_handled= 5143 for n in $names_already_handled; do 5144 if test "$n" = "$name"; then 5145 already_handled=yes 5146 break 5147 fi 5148 done 5149 if test -z "$already_handled"; then 5150 names_already_handled="$names_already_handled $name" 5151 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 5152 eval value=\"\$HAVE_LIB$uppername\" 5153 if test -n "$value"; then 5154 if test "$value" = yes; then 5155 eval value=\"\$LIB$uppername\" 5156 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 5157 eval value=\"\$LTLIB$uppername\" 5158 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 5159 else 5160 : 5161 fi 5162 else 5163 found_dir= 5164 found_la= 5165 found_so= 5166 found_a= 5167 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 5168 if test -n "$acl_shlibext"; then 5169 shrext=".$acl_shlibext" # typically: shrext=.so 5170 else 5171 shrext= 5172 fi 5173 if test $use_additional = yes; then 5174 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 5175 if test "X$found_dir" = "X"; then 5176 eval dir=\$$additional_libdir_variable 5177 if test -n "$dir"; then 5178 if test -n "$acl_shlibext"; then 5179 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 5180 found_dir="$dir" 5181 found_so="$dir/$libname$shrext" 5182 else 5183 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5184 ver=`(cd "$dir" && \ 5185 for f in "$libname$shrext".*; do echo "$f"; done \ 5186 | sed -e "s,^$libname$shrext\\\\.,," \ 5187 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5188 | sed 1q ) 2>/dev/null` 5189 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 5190 found_dir="$dir" 5191 found_so="$dir/$libname$shrext.$ver" 5192 fi 5193 else 5194 eval library_names=\"$acl_library_names_spec\" 5195 for f in $library_names; do 5196 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 5197 found_dir="$dir" 5198 found_so="$dir/$f" 5199 break 5200 fi 5201 done 5202 fi 5203 fi 5204 fi 5205 if test "X$found_dir" = "X"; then 5206 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 5207 found_dir="$dir" 5208 found_a="$dir/$libname.$acl_libext" 5209 fi 5210 fi 5211 if test "X$found_dir" != "X"; then 5212 if test -f "$dir/$libname.la"; then 5213 found_la="$dir/$libname.la" 5214 fi 5215 fi 5216 fi 5217 fi 5218 done 5219 fi 5220 if test "X$found_dir" = "X"; then 5221 for x in $LDFLAGS $LTLIBICONV; do 5222 5223 acl_save_prefix="$prefix" 5224 prefix="$acl_final_prefix" 5225 acl_save_exec_prefix="$exec_prefix" 5226 exec_prefix="$acl_final_exec_prefix" 5227 eval x=\"$x\" 5228 exec_prefix="$acl_save_exec_prefix" 5229 prefix="$acl_save_prefix" 5230 5231 case "$x" in 5232 -L*) 5233 dir=`echo "X$x" | sed -e 's/^X-L//'` 5234 if test -n "$acl_shlibext"; then 5235 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 5236 found_dir="$dir" 5237 found_so="$dir/$libname$shrext" 5238 else 5239 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5240 ver=`(cd "$dir" && \ 5241 for f in "$libname$shrext".*; do echo "$f"; done \ 5242 | sed -e "s,^$libname$shrext\\\\.,," \ 5243 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5244 | sed 1q ) 2>/dev/null` 5245 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 5246 found_dir="$dir" 5247 found_so="$dir/$libname$shrext.$ver" 5248 fi 5249 else 5250 eval library_names=\"$acl_library_names_spec\" 5251 for f in $library_names; do 5252 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 5253 found_dir="$dir" 5254 found_so="$dir/$f" 5255 break 5256 fi 5257 done 5258 fi 5259 fi 5260 fi 5261 if test "X$found_dir" = "X"; then 5262 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 5263 found_dir="$dir" 5264 found_a="$dir/$libname.$acl_libext" 5265 fi 5266 fi 5267 if test "X$found_dir" != "X"; then 5268 if test -f "$dir/$libname.la"; then 5269 found_la="$dir/$libname.la" 5270 fi 5271 fi 5272 ;; 5273 esac 5274 if test "X$found_dir" != "X"; then 5275 break 5276 fi 5277 done 5278 fi 5279 if test "X$found_dir" != "X"; then 5280 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 5281 if test "X$found_so" != "X"; then 5282 if test "$enable_rpath" = no \ 5283 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 5284 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 5285 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 5286 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5287 else 5288 haveit= 5289 for x in $ltrpathdirs; do 5290 if test "X$x" = "X$found_dir"; then 5291 haveit=yes 5292 break 5293 fi 5294 done 5295 if test -z "$haveit"; then 5296 ltrpathdirs="$ltrpathdirs $found_dir" 5297 fi 5298 if test "$acl_hardcode_direct" = yes; then 5299 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5300 else 5301 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 5302 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5303 haveit= 5304 for x in $rpathdirs; do 5305 if test "X$x" = "X$found_dir"; then 5306 haveit=yes 5307 break 5308 fi 5309 done 5310 if test -z "$haveit"; then 5311 rpathdirs="$rpathdirs $found_dir" 5312 fi 5313 else 5314 haveit= 5315 for x in $LDFLAGS $LIBICONV; do 5316 5317 acl_save_prefix="$prefix" 5318 prefix="$acl_final_prefix" 5319 acl_save_exec_prefix="$exec_prefix" 5320 exec_prefix="$acl_final_exec_prefix" 5321 eval x=\"$x\" 5322 exec_prefix="$acl_save_exec_prefix" 5323 prefix="$acl_save_prefix" 5324 5325 if test "X$x" = "X-L$found_dir"; then 5326 haveit=yes 5327 break 5328 fi 5329 done 5330 if test -z "$haveit"; then 5331 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 5332 fi 5333 if test "$acl_hardcode_minus_L" != no; then 5334 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 5335 else 5336 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5337 fi 5338 fi 5339 fi 5340 fi 5341 else 5342 if test "X$found_a" != "X"; then 5343 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 5344 else 5345 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 5346 fi 5347 fi 5348 additional_includedir= 5349 case "$found_dir" in 5350 */$acl_libdirstem | */$acl_libdirstem/) 5351 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 5352 if test "$name" = 'iconv'; then 5353 LIBICONV_PREFIX="$basedir" 5354 fi 5355 additional_includedir="$basedir/include" 5356 ;; 5357 */$acl_libdirstem2 | */$acl_libdirstem2/) 5358 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 5359 if test "$name" = 'iconv'; then 5360 LIBICONV_PREFIX="$basedir" 5361 fi 5362 additional_includedir="$basedir/include" 5363 ;; 5364 */$acl_libdirstem3 | */$acl_libdirstem3/) 5365 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 5366 if test "$name" = 'iconv'; then 5367 LIBICONV_PREFIX="$basedir" 5368 fi 5369 additional_includedir="$basedir/include" 5370 ;; 5371 esac 5372 if test "X$additional_includedir" != "X"; then 5373 if test "X$additional_includedir" != "X/usr/include"; then 5374 haveit= 5375 if test "X$additional_includedir" = "X/usr/local/include"; then 5376 if test -n "$GCC"; then 5377 case $host_os in 5378 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5379 esac 5380 fi 5381 fi 5382 if test -z "$haveit"; then 5383 for x in $CPPFLAGS $INCICONV; do 5384 5385 acl_save_prefix="$prefix" 5386 prefix="$acl_final_prefix" 5387 acl_save_exec_prefix="$exec_prefix" 5388 exec_prefix="$acl_final_exec_prefix" 5389 eval x=\"$x\" 5390 exec_prefix="$acl_save_exec_prefix" 5391 prefix="$acl_save_prefix" 5392 5393 if test "X$x" = "X-I$additional_includedir"; then 5394 haveit=yes 5395 break 5396 fi 5397 done 5398 if test -z "$haveit"; then 5399 if test -d "$additional_includedir"; then 5400 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 5401 fi 5402 fi 5403 fi 5404 fi 5405 fi 5406 if test -n "$found_la"; then 5407 save_libdir="$libdir" 5408 case "$found_la" in 5409 */* | *\\*) . "$found_la" ;; 5410 *) . "./$found_la" ;; 5411 esac 5412 libdir="$save_libdir" 5413 for dep in $dependency_libs; do 5414 case "$dep" in 5415 -L*) 5416 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5417 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 5418 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 5419 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 5420 haveit= 5421 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 5422 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 5423 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 5424 if test -n "$GCC"; then 5425 case $host_os in 5426 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5427 esac 5428 fi 5429 fi 5430 if test -z "$haveit"; then 5431 haveit= 5432 for x in $LDFLAGS $LIBICONV; do 5433 5434 acl_save_prefix="$prefix" 5435 prefix="$acl_final_prefix" 5436 acl_save_exec_prefix="$exec_prefix" 5437 exec_prefix="$acl_final_exec_prefix" 5438 eval x=\"$x\" 5439 exec_prefix="$acl_save_exec_prefix" 5440 prefix="$acl_save_prefix" 5441 5442 if test "X$x" = "X-L$dependency_libdir"; then 5443 haveit=yes 5444 break 5445 fi 5446 done 5447 if test -z "$haveit"; then 5448 if test -d "$dependency_libdir"; then 5449 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir" 5450 fi 5451 fi 5452 haveit= 5453 for x in $LDFLAGS $LTLIBICONV; do 5454 5455 acl_save_prefix="$prefix" 5456 prefix="$acl_final_prefix" 5457 acl_save_exec_prefix="$exec_prefix" 5458 exec_prefix="$acl_final_exec_prefix" 5459 eval x=\"$x\" 5460 exec_prefix="$acl_save_exec_prefix" 5461 prefix="$acl_save_prefix" 5462 5463 if test "X$x" = "X-L$dependency_libdir"; then 5464 haveit=yes 5465 break 5466 fi 5467 done 5468 if test -z "$haveit"; then 5469 if test -d "$dependency_libdir"; then 5470 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir" 5471 fi 5472 fi 5473 fi 5474 fi 5475 ;; 5476 -R*) 5477 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5478 if test "$enable_rpath" != no; then 5479 haveit= 5480 for x in $rpathdirs; do 5481 if test "X$x" = "X$dir"; then 5482 haveit=yes 5483 break 5484 fi 5485 done 5486 if test -z "$haveit"; then 5487 rpathdirs="$rpathdirs $dir" 5488 fi 5489 haveit= 5490 for x in $ltrpathdirs; do 5491 if test "X$x" = "X$dir"; then 5492 haveit=yes 5493 break 5494 fi 5495 done 5496 if test -z "$haveit"; then 5497 ltrpathdirs="$ltrpathdirs $dir" 5498 fi 5499 fi 5500 ;; 5501 -l*) 5502 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5503 ;; 5504 *.la) 5505 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5506 ;; 5507 *) 5508 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 5509 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 5510 ;; 5511 esac 5512 done 5513 fi 5514 else 5515 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5516 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 5517 fi 5518 fi 5519 fi 5520 done 5521 done 5522 if test "X$rpathdirs" != "X"; then 5523 if test -n "$acl_hardcode_libdir_separator"; then 5524 alldirs= 5525 for found_dir in $rpathdirs; do 5526 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 5527 done 5528 acl_save_libdir="$libdir" 5529 libdir="$alldirs" 5530 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5531 libdir="$acl_save_libdir" 5532 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5533 else 5534 for found_dir in $rpathdirs; do 5535 acl_save_libdir="$libdir" 5536 libdir="$found_dir" 5537 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5538 libdir="$acl_save_libdir" 5539 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5540 done 5541 fi 5542 fi 5543 if test "X$ltrpathdirs" != "X"; then 5544 for found_dir in $ltrpathdirs; do 5545 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 5546 done 5547 fi 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 5578$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 5579if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 5580 $as_echo_n "(cached) " >&6 5581else 5582 gt_save_LIBS="$LIBS" 5583 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5585/* end confdefs.h. */ 5586#include <CoreFoundation/CFPreferences.h> 5587int 5588main () 5589{ 5590CFPreferencesCopyAppValue(NULL, NULL) 5591 ; 5592 return 0; 5593} 5594_ACEOF 5595if ac_fn_c_try_link "$LINENO"; then : 5596 gt_cv_func_CFPreferencesCopyAppValue=yes 5597else 5598 gt_cv_func_CFPreferencesCopyAppValue=no 5599fi 5600rm -f core conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext 5602 LIBS="$gt_save_LIBS" 5603fi 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 5605$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 5606 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 5607 5608$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 5609 5610 fi 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 5612$as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } 5613if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : 5614 $as_echo_n "(cached) " >&6 5615else 5616 gt_save_LIBS="$LIBS" 5617 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5619/* end confdefs.h. */ 5620#include <CoreFoundation/CFLocale.h> 5621int 5622main () 5623{ 5624CFLocaleCopyPreferredLanguages(); 5625 ; 5626 return 0; 5627} 5628_ACEOF 5629if ac_fn_c_try_link "$LINENO"; then : 5630 gt_cv_func_CFLocaleCopyPreferredLanguages=yes 5631else 5632 gt_cv_func_CFLocaleCopyPreferredLanguages=no 5633fi 5634rm -f core conftest.err conftest.$ac_objext \ 5635 conftest$ac_exeext conftest.$ac_ext 5636 LIBS="$gt_save_LIBS" 5637fi 5638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 5639$as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } 5640 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 5641 5642$as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h 5643 5644 fi 5645 INTL_MACOSX_LIBS= 5646 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ 5647 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then 5648 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 5649 fi 5650 5651 5652 5653 5654 5655 5656 LIBINTL= 5657 LTLIBINTL= 5658 POSUB= 5659 5660 case " $gt_needs " in 5661 *" need-formatstring-macros "*) gt_api_version=3 ;; 5662 *" need-ngettext "*) gt_api_version=2 ;; 5663 *) gt_api_version=1 ;; 5664 esac 5665 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 5666 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 5667 5668 if test "$USE_NLS" = "yes"; then 5669 gt_use_preinstalled_gnugettext=no 5670 5671 5672 if test $gt_api_version -ge 3; then 5673 gt_revision_test_code=' 5674#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 5675#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 5676#endif 5677typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 5678' 5679 else 5680 gt_revision_test_code= 5681 fi 5682 if test $gt_api_version -ge 2; then 5683 gt_expression_test_code=' + * ngettext ("", "", 0)' 5684 else 5685 gt_expression_test_code= 5686 fi 5687 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5689$as_echo_n "checking for GNU gettext in libc... " >&6; } 5690if eval \${$gt_func_gnugettext_libc+:} false; then : 5691 $as_echo_n "(cached) " >&6 5692else 5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5694/* end confdefs.h. */ 5695 5696#include <libintl.h> 5697#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 5698extern int _nl_msg_cat_cntr; 5699extern int *_nl_domain_bindings; 5700#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 5701#else 5702#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 5703#endif 5704$gt_revision_test_code 5705 5706int 5707main () 5708{ 5709 5710bindtextdomain ("", ""); 5711return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 5712 5713 ; 5714 return 0; 5715} 5716_ACEOF 5717if ac_fn_c_try_link "$LINENO"; then : 5718 eval "$gt_func_gnugettext_libc=yes" 5719else 5720 eval "$gt_func_gnugettext_libc=no" 5721fi 5722rm -f core conftest.err conftest.$ac_objext \ 5723 conftest$ac_exeext conftest.$ac_ext 5724fi 5725eval ac_res=\$$gt_func_gnugettext_libc 5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5727$as_echo "$ac_res" >&6; } 5728 5729 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 5730 5731 5732 5733 5734 5735 am_save_CPPFLAGS="$CPPFLAGS" 5736 5737 for element in $INCICONV; do 5738 haveit= 5739 for x in $CPPFLAGS; do 5740 5741 acl_save_prefix="$prefix" 5742 prefix="$acl_final_prefix" 5743 acl_save_exec_prefix="$exec_prefix" 5744 exec_prefix="$acl_final_exec_prefix" 5745 eval x=\"$x\" 5746 exec_prefix="$acl_save_exec_prefix" 5747 prefix="$acl_save_prefix" 5748 5749 if test "X$x" = "X$element"; then 5750 haveit=yes 5751 break 5752 fi 5753 done 5754 if test -z "$haveit"; then 5755 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5756 fi 5757 done 5758 5759 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5761$as_echo_n "checking for iconv... " >&6; } 5762if ${am_cv_func_iconv+:} false; then : 5763 $as_echo_n "(cached) " >&6 5764else 5765 5766 am_cv_func_iconv="no, consider installing GNU libiconv" 5767 am_cv_lib_iconv=no 5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5769/* end confdefs.h. */ 5770 5771#include <stdlib.h> 5772#include <iconv.h> 5773 5774int 5775main () 5776{ 5777iconv_t cd = iconv_open("",""); 5778 iconv(cd,NULL,NULL,NULL,NULL); 5779 iconv_close(cd); 5780 ; 5781 return 0; 5782} 5783_ACEOF 5784if ac_fn_c_try_link "$LINENO"; then : 5785 am_cv_func_iconv=yes 5786fi 5787rm -f core conftest.err conftest.$ac_objext \ 5788 conftest$ac_exeext conftest.$ac_ext 5789 if test "$am_cv_func_iconv" != yes; then 5790 am_save_LIBS="$LIBS" 5791 LIBS="$LIBS $LIBICONV" 5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5793/* end confdefs.h. */ 5794 5795#include <stdlib.h> 5796#include <iconv.h> 5797 5798int 5799main () 5800{ 5801iconv_t cd = iconv_open("",""); 5802 iconv(cd,NULL,NULL,NULL,NULL); 5803 iconv_close(cd); 5804 ; 5805 return 0; 5806} 5807_ACEOF 5808if ac_fn_c_try_link "$LINENO"; then : 5809 am_cv_lib_iconv=yes 5810 am_cv_func_iconv=yes 5811fi 5812rm -f core conftest.err conftest.$ac_objext \ 5813 conftest$ac_exeext conftest.$ac_ext 5814 LIBS="$am_save_LIBS" 5815 fi 5816 5817fi 5818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 5819$as_echo "$am_cv_func_iconv" >&6; } 5820 if test "$am_cv_func_iconv" = yes; then 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 5822$as_echo_n "checking for working iconv... " >&6; } 5823if ${am_cv_func_iconv_works+:} false; then : 5824 $as_echo_n "(cached) " >&6 5825else 5826 5827 am_save_LIBS="$LIBS" 5828 if test $am_cv_lib_iconv = yes; then 5829 LIBS="$LIBS $LIBICONV" 5830 fi 5831 am_cv_func_iconv_works=no 5832 for ac_iconv_const in '' 'const'; do 5833 if test "$cross_compiling" = yes; then : 5834 case "$host_os" in 5835 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 5836 *) am_cv_func_iconv_works="guessing yes" ;; 5837 esac 5838else 5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5840/* end confdefs.h. */ 5841 5842#include <iconv.h> 5843#include <string.h> 5844 5845#ifndef ICONV_CONST 5846# define ICONV_CONST $ac_iconv_const 5847#endif 5848 5849int 5850main () 5851{ 5852int result = 0; 5853 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 5854 returns. */ 5855 { 5856 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 5857 if (cd_utf8_to_88591 != (iconv_t)(-1)) 5858 { 5859 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 5860 char buf[10]; 5861 ICONV_CONST char *inptr = input; 5862 size_t inbytesleft = strlen (input); 5863 char *outptr = buf; 5864 size_t outbytesleft = sizeof (buf); 5865 size_t res = iconv (cd_utf8_to_88591, 5866 &inptr, &inbytesleft, 5867 &outptr, &outbytesleft); 5868 if (res == 0) 5869 result |= 1; 5870 iconv_close (cd_utf8_to_88591); 5871 } 5872 } 5873 /* Test against Solaris 10 bug: Failures are not distinguishable from 5874 successful returns. */ 5875 { 5876 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 5877 if (cd_ascii_to_88591 != (iconv_t)(-1)) 5878 { 5879 static ICONV_CONST char input[] = "\263"; 5880 char buf[10]; 5881 ICONV_CONST char *inptr = input; 5882 size_t inbytesleft = strlen (input); 5883 char *outptr = buf; 5884 size_t outbytesleft = sizeof (buf); 5885 size_t res = iconv (cd_ascii_to_88591, 5886 &inptr, &inbytesleft, 5887 &outptr, &outbytesleft); 5888 if (res == 0) 5889 result |= 2; 5890 iconv_close (cd_ascii_to_88591); 5891 } 5892 } 5893 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 5894 { 5895 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 5896 if (cd_88591_to_utf8 != (iconv_t)(-1)) 5897 { 5898 static ICONV_CONST char input[] = "\304"; 5899 static char buf[2] = { (char)0xDE, (char)0xAD }; 5900 ICONV_CONST char *inptr = input; 5901 size_t inbytesleft = 1; 5902 char *outptr = buf; 5903 size_t outbytesleft = 1; 5904 size_t res = iconv (cd_88591_to_utf8, 5905 &inptr, &inbytesleft, 5906 &outptr, &outbytesleft); 5907 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 5908 result |= 4; 5909 iconv_close (cd_88591_to_utf8); 5910 } 5911 } 5912#if 0 /* This bug could be worked around by the caller. */ 5913 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 5914 { 5915 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 5916 if (cd_88591_to_utf8 != (iconv_t)(-1)) 5917 { 5918 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 5919 char buf[50]; 5920 ICONV_CONST char *inptr = input; 5921 size_t inbytesleft = strlen (input); 5922 char *outptr = buf; 5923 size_t outbytesleft = sizeof (buf); 5924 size_t res = iconv (cd_88591_to_utf8, 5925 &inptr, &inbytesleft, 5926 &outptr, &outbytesleft); 5927 if ((int)res > 0) 5928 result |= 8; 5929 iconv_close (cd_88591_to_utf8); 5930 } 5931 } 5932#endif 5933 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 5934 provided. */ 5935 { 5936 /* Try standardized names. */ 5937 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); 5938 /* Try IRIX, OSF/1 names. */ 5939 iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); 5940 /* Try AIX names. */ 5941 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); 5942 /* Try HP-UX names. */ 5943 iconv_t cd4 = iconv_open ("utf8", "eucJP"); 5944 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) 5945 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) 5946 result |= 16; 5947 if (cd1 != (iconv_t)(-1)) 5948 iconv_close (cd1); 5949 if (cd2 != (iconv_t)(-1)) 5950 iconv_close (cd2); 5951 if (cd3 != (iconv_t)(-1)) 5952 iconv_close (cd3); 5953 if (cd4 != (iconv_t)(-1)) 5954 iconv_close (cd4); 5955 } 5956 return result; 5957 5958 ; 5959 return 0; 5960} 5961_ACEOF 5962if ac_fn_c_try_run "$LINENO"; then : 5963 am_cv_func_iconv_works=yes 5964fi 5965rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5966 conftest.$ac_objext conftest.beam conftest.$ac_ext 5967fi 5968 5969 test "$am_cv_func_iconv_works" = no || break 5970 done 5971 LIBS="$am_save_LIBS" 5972 5973fi 5974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 5975$as_echo "$am_cv_func_iconv_works" >&6; } 5976 case "$am_cv_func_iconv_works" in 5977 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 5978 *) am_func_iconv=yes ;; 5979 esac 5980 else 5981 am_func_iconv=no am_cv_lib_iconv=no 5982 fi 5983 if test "$am_func_iconv" = yes; then 5984 5985$as_echo "#define HAVE_ICONV 1" >>confdefs.h 5986 5987 fi 5988 if test "$am_cv_lib_iconv" = yes; then 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 5990$as_echo_n "checking how to link with libiconv... " >&6; } 5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 5992$as_echo "$LIBICONV" >&6; } 5993 else 5994 CPPFLAGS="$am_save_CPPFLAGS" 5995 LIBICONV= 5996 LTLIBICONV= 5997 fi 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 use_additional=yes 6009 6010 acl_save_prefix="$prefix" 6011 prefix="$acl_final_prefix" 6012 acl_save_exec_prefix="$exec_prefix" 6013 exec_prefix="$acl_final_exec_prefix" 6014 6015 eval additional_includedir=\"$includedir\" 6016 eval additional_libdir=\"$libdir\" 6017 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 6018 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 6019 6020 exec_prefix="$acl_save_exec_prefix" 6021 prefix="$acl_save_prefix" 6022 6023 6024# Check whether --with-libintl-prefix was given. 6025if test "${with_libintl_prefix+set}" = set; then : 6026 withval=$with_libintl_prefix; 6027 if test "X$withval" = "Xno"; then 6028 use_additional=no 6029 else 6030 if test "X$withval" = "X"; then 6031 6032 acl_save_prefix="$prefix" 6033 prefix="$acl_final_prefix" 6034 acl_save_exec_prefix="$exec_prefix" 6035 exec_prefix="$acl_final_exec_prefix" 6036 6037 eval additional_includedir=\"$includedir\" 6038 eval additional_libdir=\"$libdir\" 6039 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" 6040 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" 6041 6042 exec_prefix="$acl_save_exec_prefix" 6043 prefix="$acl_save_prefix" 6044 6045 else 6046 additional_includedir="$withval/include" 6047 additional_libdir="$withval/$acl_libdirstem" 6048 additional_libdir2="$withval/$acl_libdirstem2" 6049 additional_libdir3="$withval/$acl_libdirstem3" 6050 fi 6051 fi 6052 6053fi 6054 6055 if test "X$additional_libdir2" = "X$additional_libdir"; then 6056 additional_libdir2= 6057 fi 6058 if test "X$additional_libdir3" = "X$additional_libdir"; then 6059 additional_libdir3= 6060 fi 6061 LIBINTL= 6062 LTLIBINTL= 6063 INCINTL= 6064 LIBINTL_PREFIX= 6065 HAVE_LIBINTL= 6066 rpathdirs= 6067 ltrpathdirs= 6068 names_already_handled= 6069 names_next_round='intl ' 6070 while test -n "$names_next_round"; do 6071 names_this_round="$names_next_round" 6072 names_next_round= 6073 for name in $names_this_round; do 6074 already_handled= 6075 for n in $names_already_handled; do 6076 if test "$n" = "$name"; then 6077 already_handled=yes 6078 break 6079 fi 6080 done 6081 if test -z "$already_handled"; then 6082 names_already_handled="$names_already_handled $name" 6083 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 6084 eval value=\"\$HAVE_LIB$uppername\" 6085 if test -n "$value"; then 6086 if test "$value" = yes; then 6087 eval value=\"\$LIB$uppername\" 6088 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 6089 eval value=\"\$LTLIB$uppername\" 6090 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 6091 else 6092 : 6093 fi 6094 else 6095 found_dir= 6096 found_la= 6097 found_so= 6098 found_a= 6099 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 6100 if test -n "$acl_shlibext"; then 6101 shrext=".$acl_shlibext" # typically: shrext=.so 6102 else 6103 shrext= 6104 fi 6105 if test $use_additional = yes; then 6106 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do 6107 if test "X$found_dir" = "X"; then 6108 eval dir=\$$additional_libdir_variable 6109 if test -n "$dir"; then 6110 if test -n "$acl_shlibext"; then 6111 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 6112 found_dir="$dir" 6113 found_so="$dir/$libname$shrext" 6114 else 6115 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6116 ver=`(cd "$dir" && \ 6117 for f in "$libname$shrext".*; do echo "$f"; done \ 6118 | sed -e "s,^$libname$shrext\\\\.,," \ 6119 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6120 | sed 1q ) 2>/dev/null` 6121 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 6122 found_dir="$dir" 6123 found_so="$dir/$libname$shrext.$ver" 6124 fi 6125 else 6126 eval library_names=\"$acl_library_names_spec\" 6127 for f in $library_names; do 6128 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 6129 found_dir="$dir" 6130 found_so="$dir/$f" 6131 break 6132 fi 6133 done 6134 fi 6135 fi 6136 fi 6137 if test "X$found_dir" = "X"; then 6138 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 6139 found_dir="$dir" 6140 found_a="$dir/$libname.$acl_libext" 6141 fi 6142 fi 6143 if test "X$found_dir" != "X"; then 6144 if test -f "$dir/$libname.la"; then 6145 found_la="$dir/$libname.la" 6146 fi 6147 fi 6148 fi 6149 fi 6150 done 6151 fi 6152 if test "X$found_dir" = "X"; then 6153 for x in $LDFLAGS $LTLIBINTL; do 6154 6155 acl_save_prefix="$prefix" 6156 prefix="$acl_final_prefix" 6157 acl_save_exec_prefix="$exec_prefix" 6158 exec_prefix="$acl_final_exec_prefix" 6159 eval x=\"$x\" 6160 exec_prefix="$acl_save_exec_prefix" 6161 prefix="$acl_save_prefix" 6162 6163 case "$x" in 6164 -L*) 6165 dir=`echo "X$x" | sed -e 's/^X-L//'` 6166 if test -n "$acl_shlibext"; then 6167 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then 6168 found_dir="$dir" 6169 found_so="$dir/$libname$shrext" 6170 else 6171 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6172 ver=`(cd "$dir" && \ 6173 for f in "$libname$shrext".*; do echo "$f"; done \ 6174 | sed -e "s,^$libname$shrext\\\\.,," \ 6175 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6176 | sed 1q ) 2>/dev/null` 6177 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then 6178 found_dir="$dir" 6179 found_so="$dir/$libname$shrext.$ver" 6180 fi 6181 else 6182 eval library_names=\"$acl_library_names_spec\" 6183 for f in $library_names; do 6184 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then 6185 found_dir="$dir" 6186 found_so="$dir/$f" 6187 break 6188 fi 6189 done 6190 fi 6191 fi 6192 fi 6193 if test "X$found_dir" = "X"; then 6194 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then 6195 found_dir="$dir" 6196 found_a="$dir/$libname.$acl_libext" 6197 fi 6198 fi 6199 if test "X$found_dir" != "X"; then 6200 if test -f "$dir/$libname.la"; then 6201 found_la="$dir/$libname.la" 6202 fi 6203 fi 6204 ;; 6205 esac 6206 if test "X$found_dir" != "X"; then 6207 break 6208 fi 6209 done 6210 fi 6211 if test "X$found_dir" != "X"; then 6212 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 6213 if test "X$found_so" != "X"; then 6214 if test "$enable_rpath" = no \ 6215 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 6216 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ 6217 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then 6218 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 6219 else 6220 haveit= 6221 for x in $ltrpathdirs; do 6222 if test "X$x" = "X$found_dir"; then 6223 haveit=yes 6224 break 6225 fi 6226 done 6227 if test -z "$haveit"; then 6228 ltrpathdirs="$ltrpathdirs $found_dir" 6229 fi 6230 if test "$acl_hardcode_direct" = yes; then 6231 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 6232 else 6233 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 6234 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 6235 haveit= 6236 for x in $rpathdirs; do 6237 if test "X$x" = "X$found_dir"; then 6238 haveit=yes 6239 break 6240 fi 6241 done 6242 if test -z "$haveit"; then 6243 rpathdirs="$rpathdirs $found_dir" 6244 fi 6245 else 6246 haveit= 6247 for x in $LDFLAGS $LIBINTL; do 6248 6249 acl_save_prefix="$prefix" 6250 prefix="$acl_final_prefix" 6251 acl_save_exec_prefix="$exec_prefix" 6252 exec_prefix="$acl_final_exec_prefix" 6253 eval x=\"$x\" 6254 exec_prefix="$acl_save_exec_prefix" 6255 prefix="$acl_save_prefix" 6256 6257 if test "X$x" = "X-L$found_dir"; then 6258 haveit=yes 6259 break 6260 fi 6261 done 6262 if test -z "$haveit"; then 6263 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 6264 fi 6265 if test "$acl_hardcode_minus_L" != no; then 6266 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 6267 else 6268 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 6269 fi 6270 fi 6271 fi 6272 fi 6273 else 6274 if test "X$found_a" != "X"; then 6275 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 6276 else 6277 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 6278 fi 6279 fi 6280 additional_includedir= 6281 case "$found_dir" in 6282 */$acl_libdirstem | */$acl_libdirstem/) 6283 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 6284 if test "$name" = 'intl'; then 6285 LIBINTL_PREFIX="$basedir" 6286 fi 6287 additional_includedir="$basedir/include" 6288 ;; 6289 */$acl_libdirstem2 | */$acl_libdirstem2/) 6290 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 6291 if test "$name" = 'intl'; then 6292 LIBINTL_PREFIX="$basedir" 6293 fi 6294 additional_includedir="$basedir/include" 6295 ;; 6296 */$acl_libdirstem3 | */$acl_libdirstem3/) 6297 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` 6298 if test "$name" = 'intl'; then 6299 LIBINTL_PREFIX="$basedir" 6300 fi 6301 additional_includedir="$basedir/include" 6302 ;; 6303 esac 6304 if test "X$additional_includedir" != "X"; then 6305 if test "X$additional_includedir" != "X/usr/include"; then 6306 haveit= 6307 if test "X$additional_includedir" = "X/usr/local/include"; then 6308 if test -n "$GCC"; then 6309 case $host_os in 6310 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6311 esac 6312 fi 6313 fi 6314 if test -z "$haveit"; then 6315 for x in $CPPFLAGS $INCINTL; do 6316 6317 acl_save_prefix="$prefix" 6318 prefix="$acl_final_prefix" 6319 acl_save_exec_prefix="$exec_prefix" 6320 exec_prefix="$acl_final_exec_prefix" 6321 eval x=\"$x\" 6322 exec_prefix="$acl_save_exec_prefix" 6323 prefix="$acl_save_prefix" 6324 6325 if test "X$x" = "X-I$additional_includedir"; then 6326 haveit=yes 6327 break 6328 fi 6329 done 6330 if test -z "$haveit"; then 6331 if test -d "$additional_includedir"; then 6332 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 6333 fi 6334 fi 6335 fi 6336 fi 6337 fi 6338 if test -n "$found_la"; then 6339 save_libdir="$libdir" 6340 case "$found_la" in 6341 */* | *\\*) . "$found_la" ;; 6342 *) . "./$found_la" ;; 6343 esac 6344 libdir="$save_libdir" 6345 for dep in $dependency_libs; do 6346 case "$dep" in 6347 -L*) 6348 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 6349 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ 6350 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ 6351 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then 6352 haveit= 6353 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ 6354 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ 6355 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then 6356 if test -n "$GCC"; then 6357 case $host_os in 6358 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6359 esac 6360 fi 6361 fi 6362 if test -z "$haveit"; then 6363 haveit= 6364 for x in $LDFLAGS $LIBINTL; do 6365 6366 acl_save_prefix="$prefix" 6367 prefix="$acl_final_prefix" 6368 acl_save_exec_prefix="$exec_prefix" 6369 exec_prefix="$acl_final_exec_prefix" 6370 eval x=\"$x\" 6371 exec_prefix="$acl_save_exec_prefix" 6372 prefix="$acl_save_prefix" 6373 6374 if test "X$x" = "X-L$dependency_libdir"; then 6375 haveit=yes 6376 break 6377 fi 6378 done 6379 if test -z "$haveit"; then 6380 if test -d "$dependency_libdir"; then 6381 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir" 6382 fi 6383 fi 6384 haveit= 6385 for x in $LDFLAGS $LTLIBINTL; do 6386 6387 acl_save_prefix="$prefix" 6388 prefix="$acl_final_prefix" 6389 acl_save_exec_prefix="$exec_prefix" 6390 exec_prefix="$acl_final_exec_prefix" 6391 eval x=\"$x\" 6392 exec_prefix="$acl_save_exec_prefix" 6393 prefix="$acl_save_prefix" 6394 6395 if test "X$x" = "X-L$dependency_libdir"; then 6396 haveit=yes 6397 break 6398 fi 6399 done 6400 if test -z "$haveit"; then 6401 if test -d "$dependency_libdir"; then 6402 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir" 6403 fi 6404 fi 6405 fi 6406 fi 6407 ;; 6408 -R*) 6409 dir=`echo "X$dep" | sed -e 's/^X-R//'` 6410 if test "$enable_rpath" != no; then 6411 haveit= 6412 for x in $rpathdirs; do 6413 if test "X$x" = "X$dir"; then 6414 haveit=yes 6415 break 6416 fi 6417 done 6418 if test -z "$haveit"; then 6419 rpathdirs="$rpathdirs $dir" 6420 fi 6421 haveit= 6422 for x in $ltrpathdirs; do 6423 if test "X$x" = "X$dir"; then 6424 haveit=yes 6425 break 6426 fi 6427 done 6428 if test -z "$haveit"; then 6429 ltrpathdirs="$ltrpathdirs $dir" 6430 fi 6431 fi 6432 ;; 6433 -l*) 6434 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 6435 ;; 6436 *.la) 6437 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 6438 ;; 6439 *) 6440 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 6441 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 6442 ;; 6443 esac 6444 done 6445 fi 6446 else 6447 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 6448 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 6449 fi 6450 fi 6451 fi 6452 done 6453 done 6454 if test "X$rpathdirs" != "X"; then 6455 if test -n "$acl_hardcode_libdir_separator"; then 6456 alldirs= 6457 for found_dir in $rpathdirs; do 6458 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 6459 done 6460 acl_save_libdir="$libdir" 6461 libdir="$alldirs" 6462 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6463 libdir="$acl_save_libdir" 6464 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6465 else 6466 for found_dir in $rpathdirs; do 6467 acl_save_libdir="$libdir" 6468 libdir="$found_dir" 6469 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6470 libdir="$acl_save_libdir" 6471 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6472 done 6473 fi 6474 fi 6475 if test "X$ltrpathdirs" != "X"; then 6476 for found_dir in $ltrpathdirs; do 6477 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 6478 done 6479 fi 6480 6481 6482 6483 6484 6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 6486$as_echo_n "checking for GNU gettext in libintl... " >&6; } 6487if eval \${$gt_func_gnugettext_libintl+:} false; then : 6488 $as_echo_n "(cached) " >&6 6489else 6490 gt_save_CPPFLAGS="$CPPFLAGS" 6491 CPPFLAGS="$CPPFLAGS $INCINTL" 6492 gt_save_LIBS="$LIBS" 6493 LIBS="$LIBS $LIBINTL" 6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6495/* end confdefs.h. */ 6496 6497#include <libintl.h> 6498#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6499extern int _nl_msg_cat_cntr; 6500extern 6501#ifdef __cplusplus 6502"C" 6503#endif 6504const char *_nl_expand_alias (const char *); 6505#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 6506#else 6507#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 6508#endif 6509$gt_revision_test_code 6510 6511int 6512main () 6513{ 6514 6515bindtextdomain ("", ""); 6516return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 6517 6518 ; 6519 return 0; 6520} 6521_ACEOF 6522if ac_fn_c_try_link "$LINENO"; then : 6523 eval "$gt_func_gnugettext_libintl=yes" 6524else 6525 eval "$gt_func_gnugettext_libintl=no" 6526fi 6527rm -f core conftest.err conftest.$ac_objext \ 6528 conftest$ac_exeext conftest.$ac_ext 6529 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 6530 LIBS="$LIBS $LIBICONV" 6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6532/* end confdefs.h. */ 6533 6534#include <libintl.h> 6535#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 6536extern int _nl_msg_cat_cntr; 6537extern 6538#ifdef __cplusplus 6539"C" 6540#endif 6541const char *_nl_expand_alias (const char *); 6542#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 6543#else 6544#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 6545#endif 6546$gt_revision_test_code 6547 6548int 6549main () 6550{ 6551 6552bindtextdomain ("", ""); 6553return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 6554 6555 ; 6556 return 0; 6557} 6558_ACEOF 6559if ac_fn_c_try_link "$LINENO"; then : 6560 LIBINTL="$LIBINTL $LIBICONV" 6561 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 6562 eval "$gt_func_gnugettext_libintl=yes" 6563 6564fi 6565rm -f core conftest.err conftest.$ac_objext \ 6566 conftest$ac_exeext conftest.$ac_ext 6567 fi 6568 CPPFLAGS="$gt_save_CPPFLAGS" 6569 LIBS="$gt_save_LIBS" 6570fi 6571eval ac_res=\$$gt_func_gnugettext_libintl 6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6573$as_echo "$ac_res" >&6; } 6574 fi 6575 6576 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 6577 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 6578 && test "$PACKAGE" != gettext-runtime \ 6579 && test "$PACKAGE" != gettext-tools; }; then 6580 gt_use_preinstalled_gnugettext=yes 6581 else 6582 LIBINTL= 6583 LTLIBINTL= 6584 INCINTL= 6585 fi 6586 6587 6588 6589 if test -n "$INTL_MACOSX_LIBS"; then 6590 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6591 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6592 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 6593 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 6594 fi 6595 fi 6596 6597 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6598 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6599 6600$as_echo "#define ENABLE_NLS 1" >>confdefs.h 6601 6602 else 6603 USE_NLS=no 6604 fi 6605 fi 6606 6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 6608$as_echo_n "checking whether to use NLS... " >&6; } 6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 6610$as_echo "$USE_NLS" >&6; } 6611 if test "$USE_NLS" = "yes"; then 6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 6613$as_echo_n "checking where the gettext function comes from... " >&6; } 6614 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6615 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6616 gt_source="external libintl" 6617 else 6618 gt_source="libc" 6619 fi 6620 else 6621 gt_source="included intl directory" 6622 fi 6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 6624$as_echo "$gt_source" >&6; } 6625 fi 6626 6627 if test "$USE_NLS" = "yes"; then 6628 6629 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6630 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 6632$as_echo_n "checking how to link with libintl... " >&6; } 6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 6634$as_echo "$LIBINTL" >&6; } 6635 6636 for element in $INCINTL; do 6637 haveit= 6638 for x in $CPPFLAGS; do 6639 6640 acl_save_prefix="$prefix" 6641 prefix="$acl_final_prefix" 6642 acl_save_exec_prefix="$exec_prefix" 6643 exec_prefix="$acl_final_exec_prefix" 6644 eval x=\"$x\" 6645 exec_prefix="$acl_save_exec_prefix" 6646 prefix="$acl_save_prefix" 6647 6648 if test "X$x" = "X$element"; then 6649 haveit=yes 6650 break 6651 fi 6652 done 6653 if test -z "$haveit"; then 6654 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 6655 fi 6656 done 6657 6658 fi 6659 6660 6661$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6662 6663 6664$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 6665 6666 fi 6667 6668 POSUB=po 6669 fi 6670 6671 6672 6673 INTLLIBS="$LIBINTL" 6674 6675 6676 6677 6678 6679 6680 6681 6682 if test "x${USE_NLS}" = "xyes"; then 6683 USE_NLS_TRUE= 6684 USE_NLS_FALSE='#' 6685else 6686 USE_NLS_TRUE='#' 6687 USE_NLS_FALSE= 6688fi 6689 6690 6691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6692$as_echo_n "checking whether ln -s works... " >&6; } 6693LN_S=$as_ln_s 6694if test "$LN_S" = "ln -s"; then 6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6696$as_echo "yes" >&6; } 6697else 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6699$as_echo "no, using $LN_S" >&6; } 6700fi 6701 6702 6703 6704 6705 6706 6707 6708YELP_LC_MEDIA_LINKS=true 6709YELP_LC_DIST=true 6710 6711for yelpopt in ; do 6712 case $yelpopt in 6713 lc-media-links) YELP_LC_MEDIA_LINKS=true ;; 6714 no-lc-media-links) YELP_LC_MEDIA_LINKS= ;; 6715 lc-dist) YELP_LC_DIST=true ;; 6716 no-lc-dist) YELP_LC_DIST= ;; 6717 *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;; 6718 esac 6719done; 6720 6721 6722 6723 6724# Check whether --with-help-dir was given. 6725if test "${with_help_dir+set}" = set; then : 6726 withval=$with_help_dir; 6727else 6728 with_help_dir='${datadir}/help' 6729fi 6730 6731HELP_DIR="$with_help_dir" 6732 6733 6734 6735# Extract the first word of "itstool", so it can be a program name with args. 6736set dummy itstool; ac_word=$2 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6738$as_echo_n "checking for $ac_word... " >&6; } 6739if ${ac_cv_prog_ITSTOOL+:} false; then : 6740 $as_echo_n "(cached) " >&6 6741else 6742 if test -n "$ITSTOOL"; then 6743 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test. 6744else 6745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6746for as_dir in $PATH 6747do 6748 IFS=$as_save_IFS 6749 test -z "$as_dir" && as_dir=. 6750 for ac_exec_ext in '' $ac_executable_extensions; do 6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6752 ac_cv_prog_ITSTOOL="itstool" 6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6754 break 2 6755 fi 6756done 6757 done 6758IFS=$as_save_IFS 6759 6760fi 6761fi 6762ITSTOOL=$ac_cv_prog_ITSTOOL 6763if test -n "$ITSTOOL"; then 6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5 6765$as_echo "$ITSTOOL" >&6; } 6766else 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6768$as_echo "no" >&6; } 6769fi 6770 6771 6772if test x"$ITSTOOL" = x; then 6773 as_fn_error $? "itstool not found" "$LINENO" 5 6774fi 6775 6776 6777# Extract the first word of "xmllint", so it can be a program name with args. 6778set dummy xmllint; ac_word=$2 6779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6780$as_echo_n "checking for $ac_word... " >&6; } 6781if ${ac_cv_prog_XMLLINT+:} false; then : 6782 $as_echo_n "(cached) " >&6 6783else 6784 if test -n "$XMLLINT"; then 6785 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test. 6786else 6787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6788for as_dir in $PATH 6789do 6790 IFS=$as_save_IFS 6791 test -z "$as_dir" && as_dir=. 6792 for ac_exec_ext in '' $ac_executable_extensions; do 6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6794 ac_cv_prog_XMLLINT="xmllint" 6795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6796 break 2 6797 fi 6798done 6799 done 6800IFS=$as_save_IFS 6801 6802fi 6803fi 6804XMLLINT=$ac_cv_prog_XMLLINT 6805if test -n "$XMLLINT"; then 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 6807$as_echo "$XMLLINT" >&6; } 6808else 6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6810$as_echo "no" >&6; } 6811fi 6812 6813 6814if test x"$XMLLINT" = x; then 6815 as_fn_error $? "xmllint not found" "$LINENO" 5 6816fi 6817 6818YELP_HELP_RULES=' 6819HELP_ID ?= 6820HELP_POT ?= 6821HELP_FILES ?= 6822HELP_EXTRA ?= 6823HELP_MEDIA ?= 6824HELP_LINGUAS ?= 6825 6826_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS)) 6827_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot)) 6828_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po)) 6829_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES)) 6830_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f)) 6831_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f)) 6832_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f)) 6833_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f))) 6834_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp) 6835 6836_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1) 6837_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V)) 6838_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V)) 6839_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V)) 6840_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@); 6841 6842all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES) 6843 6844.PHONY: pot 6845pot: $(_HELP_POTFILE) 6846$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 6847 $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \ 6848 $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)") 6849 6850.PHONY: repo 6851repo: $(_HELP_POTFILE) 6852 $(AM_V_at)for po in $(_HELP_POFILES); do \ 6853 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \ 6854 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \ 6855 done 6856 6857$(_HELP_POFILES): 6858 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 6859 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi 6860 $(AM_V_GEN)if ! test -f "$@"; then \ 6861 (cd "$(dir $@)" && \ 6862 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 6863 mv "$(notdir $@).tmp" "$(notdir $@)"); \ 6864 else \ 6865 (cd "$(dir $@)" && \ 6866 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \ 6867 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \ 6868 rm "$(notdir $@).tmp"); \ 6869 fi 6870 6871$(_HELP_MOFILES): %.mo: %.po 6872 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 6873 $(AM_V_GEN)msgfmt -o "$@" "$<" 6874 6875$(_HELP_LC_FILES): $(_HELP_LINGUAS) 6876$(_HELP_LINGUAS): $(_HELP_LC_STAMPS) 6877$(_HELP_LC_STAMPS): %.stamp: %.mo 6878$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA) 6879 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi 6880 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \ 6881 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \ 6882 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \ 6883 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \ 6884 touch "$@" 6885 6886.PHONY: clean-help 6887mostlyclean-am: $(if $(HELP_ID),clean-help) 6888clean-help: 6889 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES) 6890 6891EXTRA_DIST ?= 6892EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) 6893EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)) 6894EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po) 6895EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f)))) 6896 6897distdir: distdir-help-files 6898distdir-help-files: $(_HELP_LC_FILES) 6899 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \ 6900 $(MKDIR_P) "$(distdir)/$$lc"; \ 6901 for file in $(HELP_FILES); do \ 6902 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \ 6903 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \ 6904 done; \ 6905 done; \ 6906 6907.PHONY: check-help 6908check: check-help 6909check-help: 6910 for lc in C $(_HELP_LINGUAS); do \ 6911 if test -d "$$lc"; \ 6912 then d=; \ 6913 xmlpath="$$lc"; \ 6914 else \ 6915 d="$(srcdir)/"; \ 6916 xmlpath="$$lc:$(srcdir)/$$lc"; \ 6917 fi; \ 6918 for page in $(HELP_FILES); do \ 6919 echo "$(XMLLINT) --nonet --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ 6920 $(XMLLINT) --nonet --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ 6921 done; \ 6922 done 6923 6924 6925.PHONY: install-help 6926install-data-am: $(if $(HELP_ID),install-help) 6927install-help: $(_HELP_LC_FILES) 6928 @for lc in C $(_HELP_LINGUAS); do \ 6929 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \ 6930 done 6931 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 6932 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \ 6933 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6934 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 6935 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \ 6936 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \ 6937 done; done 6938 @for f in $(_HELP_C_EXTRA); do \ 6939 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 6940 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \ 6941 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6942 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \ 6943 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \ 6944 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \ 6945 done 6946 @for f in $(HELP_MEDIA); do \ 6947 for lc in C $(_HELP_LINGUAS); do \ 6948 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \ 6949 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6950 mdir=`dirname "$$f"`; \ 6951 if test "x$mdir" = "x."; then mdir=""; fi; \ 6952 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \ 6953 if test -f "$$d$$lc/$$f"; then \ 6954 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \ 6955 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \ 6956 elif test "x$$lc" != "xC"; then \ 6957 if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \ 6958 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \ 6959 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \ 6960 fi; \ 6961 fi; \ 6962 done; \ 6963 done 6964 6965.PHONY: uninstall-help 6966uninstall-am: $(if $(HELP_ID),uninstall-help) 6967uninstall-help: 6968 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \ 6969 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6970 echo "rm -f $$helpdir`basename $$f`"; \ 6971 rm -f "$$helpdir`basename $$f`"; \ 6972 done; done 6973 @for f in $(_HELP_C_EXTRA); do \ 6974 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \ 6975 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6976 echo "rm -f $$helpdir`basename $$f`"; \ 6977 rm -f "$$helpdir`basename $$f`"; \ 6978 done 6979 @for f in $(HELP_MEDIA); do \ 6980 for lc in C $(_HELP_LINGUAS); do \ 6981 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \ 6982 echo "rm -f $$helpdir$$f"; \ 6983 rm -f "$$helpdir$$f"; \ 6984 done; \ 6985 done; 6986' 6987 6988 6989 6990 6991ac_config_files="$ac_config_files Makefile mate-user-guide.desktop.in po/Makefile.in mate-user-guide/Makefile" 6992 6993cat >confcache <<\_ACEOF 6994# This file is a shell script that caches the results of configure 6995# tests run on this system so they can be shared between configure 6996# scripts and configure runs, see configure's option --config-cache. 6997# It is not useful on other systems. If it contains results you don't 6998# want to keep, you may remove or edit it. 6999# 7000# config.status only pays attention to the cache file if you give it 7001# the --recheck option to rerun configure. 7002# 7003# `ac_cv_env_foo' variables (set or unset) will be overridden when 7004# loading this file, other *unset* `ac_cv_foo' will be assigned the 7005# following values. 7006 7007_ACEOF 7008 7009# The following way of writing the cache mishandles newlines in values, 7010# but we know of no workaround that is simple, portable, and efficient. 7011# So, we kill variables containing newlines. 7012# Ultrix sh set writes to stderr and can't be redirected directly, 7013# and sets the high bit in the cache file unless we assign to the vars. 7014( 7015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7016 eval ac_val=\$$ac_var 7017 case $ac_val in #( 7018 *${as_nl}*) 7019 case $ac_var in #( 7020 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7021$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7022 esac 7023 case $ac_var in #( 7024 _ | IFS | as_nl) ;; #( 7025 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7026 *) { eval $ac_var=; unset $ac_var;} ;; 7027 esac ;; 7028 esac 7029 done 7030 7031 (set) 2>&1 | 7032 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7033 *${as_nl}ac_space=\ *) 7034 # `set' does not quote correctly, so add quotes: double-quote 7035 # substitution turns \\\\ into \\, and sed turns \\ into \. 7036 sed -n \ 7037 "s/'/'\\\\''/g; 7038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7039 ;; #( 7040 *) 7041 # `set' quotes correctly as required by POSIX, so do not add quotes. 7042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7043 ;; 7044 esac | 7045 sort 7046) | 7047 sed ' 7048 /^ac_cv_env_/b end 7049 t clear 7050 :clear 7051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7052 t end 7053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7054 :end' >>confcache 7055if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7056 if test -w "$cache_file"; then 7057 if test "x$cache_file" != "x/dev/null"; then 7058 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7059$as_echo "$as_me: updating cache $cache_file" >&6;} 7060 if test ! -f "$cache_file" || test -h "$cache_file"; then 7061 cat confcache >"$cache_file" 7062 else 7063 case $cache_file in #( 7064 */* | ?:*) 7065 mv -f confcache "$cache_file"$$ && 7066 mv -f "$cache_file"$$ "$cache_file" ;; #( 7067 *) 7068 mv -f confcache "$cache_file" ;; 7069 esac 7070 fi 7071 fi 7072 else 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7074$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7075 fi 7076fi 7077rm -f confcache 7078 7079test "x$prefix" = xNONE && prefix=$ac_default_prefix 7080# Let make expand exec_prefix. 7081test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7082 7083# Transform confdefs.h into DEFS. 7084# Protect against shell expansion while executing Makefile rules. 7085# Protect against Makefile macro expansion. 7086# 7087# If the first sed substitution is executed (which looks for macros that 7088# take arguments), then branch to the quote section. Otherwise, 7089# look for a macro that doesn't take arguments. 7090ac_script=' 7091:mline 7092/\\$/{ 7093 N 7094 s,\\\n,, 7095 b mline 7096} 7097t clear 7098:clear 7099s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 7100t quote 7101s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 7102t quote 7103b any 7104:quote 7105s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 7106s/\[/\\&/g 7107s/\]/\\&/g 7108s/\$/$$/g 7109H 7110:any 7111${ 7112 g 7113 s/^\n// 7114 s/\n/ /g 7115 p 7116} 7117' 7118DEFS=`sed -n "$ac_script" confdefs.h` 7119 7120 7121ac_libobjs= 7122ac_ltlibobjs= 7123U= 7124for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7125 # 1. Remove the extension, and $U if already installed. 7126 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7127 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7128 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7129 # will be set to the directory where LIBOBJS objects are built. 7130 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7131 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7132done 7133LIBOBJS=$ac_libobjs 7134 7135LTLIBOBJS=$ac_ltlibobjs 7136 7137 7138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 7139$as_echo_n "checking that generated files are newer than configure... " >&6; } 7140 if test -n "$am_sleep_pid"; then 7141 # Hide warnings about reused PIDs. 7142 wait $am_sleep_pid 2>/dev/null 7143 fi 7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 7145$as_echo "done" >&6; } 7146 if test -n "$EXEEXT"; then 7147 am__EXEEXT_TRUE= 7148 am__EXEEXT_FALSE='#' 7149else 7150 am__EXEEXT_TRUE='#' 7151 am__EXEEXT_FALSE= 7152fi 7153 7154if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 7155 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 7156Usually this means the macro was only invoked conditionally." "$LINENO" 5 7157fi 7158if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7159 as_fn_error $? "conditional \"AMDEP\" was never defined. 7160Usually this means the macro was only invoked conditionally." "$LINENO" 5 7161fi 7162if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7163 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 7164Usually this means the macro was only invoked conditionally." "$LINENO" 5 7165fi 7166if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then 7167 as_fn_error $? "conditional \"USE_NLS\" was never defined. 7168Usually this means the macro was only invoked conditionally." "$LINENO" 5 7169fi 7170 7171: "${CONFIG_STATUS=./config.status}" 7172ac_write_fail=0 7173ac_clean_files_save=$ac_clean_files 7174ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7176$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7177as_write_fail=0 7178cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7179#! $SHELL 7180# Generated by $as_me. 7181# Run this file to recreate the current configuration. 7182# Compiler output produced by configure, useful for debugging 7183# configure, is in config.log if it exists. 7184 7185debug=false 7186ac_cs_recheck=false 7187ac_cs_silent=false 7188 7189SHELL=\${CONFIG_SHELL-$SHELL} 7190export SHELL 7191_ASEOF 7192cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7193## -------------------- ## 7194## M4sh Initialization. ## 7195## -------------------- ## 7196 7197# Be more Bourne compatible 7198DUALCASE=1; export DUALCASE # for MKS sh 7199if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7200 emulate sh 7201 NULLCMD=: 7202 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7203 # is contrary to our usage. Disable this feature. 7204 alias -g '${1+"$@"}'='"$@"' 7205 setopt NO_GLOB_SUBST 7206else 7207 case `(set -o) 2>/dev/null` in #( 7208 *posix*) : 7209 set -o posix ;; #( 7210 *) : 7211 ;; 7212esac 7213fi 7214 7215 7216as_nl=' 7217' 7218export as_nl 7219# Printing a long string crashes Solaris 7 /usr/bin/printf. 7220as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7221as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7222as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7223# Prefer a ksh shell builtin over an external printf program on Solaris, 7224# but without wasting forks for bash or zsh. 7225if test -z "$BASH_VERSION$ZSH_VERSION" \ 7226 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7227 as_echo='print -r --' 7228 as_echo_n='print -rn --' 7229elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7230 as_echo='printf %s\n' 7231 as_echo_n='printf %s' 7232else 7233 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7234 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7235 as_echo_n='/usr/ucb/echo -n' 7236 else 7237 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7238 as_echo_n_body='eval 7239 arg=$1; 7240 case $arg in #( 7241 *"$as_nl"*) 7242 expr "X$arg" : "X\\(.*\\)$as_nl"; 7243 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7244 esac; 7245 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7246 ' 7247 export as_echo_n_body 7248 as_echo_n='sh -c $as_echo_n_body as_echo' 7249 fi 7250 export as_echo_body 7251 as_echo='sh -c $as_echo_body as_echo' 7252fi 7253 7254# The user is always right. 7255if test "${PATH_SEPARATOR+set}" != set; then 7256 PATH_SEPARATOR=: 7257 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7258 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7259 PATH_SEPARATOR=';' 7260 } 7261fi 7262 7263 7264# IFS 7265# We need space, tab and new line, in precisely that order. Quoting is 7266# there to prevent editors from complaining about space-tab. 7267# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7268# splitting by setting IFS to empty value.) 7269IFS=" "" $as_nl" 7270 7271# Find who we are. Look in the path if we contain no directory separator. 7272as_myself= 7273case $0 in #(( 7274 *[\\/]* ) as_myself=$0 ;; 7275 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7276for as_dir in $PATH 7277do 7278 IFS=$as_save_IFS 7279 test -z "$as_dir" && as_dir=. 7280 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7281 done 7282IFS=$as_save_IFS 7283 7284 ;; 7285esac 7286# We did not find ourselves, most probably we were run as `sh COMMAND' 7287# in which case we are not to be found in the path. 7288if test "x$as_myself" = x; then 7289 as_myself=$0 7290fi 7291if test ! -f "$as_myself"; then 7292 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7293 exit 1 7294fi 7295 7296# Unset variables that we do not need and which cause bugs (e.g. in 7297# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7298# suppresses any "Segmentation fault" message there. '((' could 7299# trigger a bug in pdksh 5.2.14. 7300for as_var in BASH_ENV ENV MAIL MAILPATH 7301do eval test x\${$as_var+set} = xset \ 7302 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7303done 7304PS1='$ ' 7305PS2='> ' 7306PS4='+ ' 7307 7308# NLS nuisances. 7309LC_ALL=C 7310export LC_ALL 7311LANGUAGE=C 7312export LANGUAGE 7313 7314# CDPATH. 7315(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7316 7317 7318# as_fn_error STATUS ERROR [LINENO LOG_FD] 7319# ---------------------------------------- 7320# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7321# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7322# script with STATUS, using 1 if that was 0. 7323as_fn_error () 7324{ 7325 as_status=$1; test $as_status -eq 0 && as_status=1 7326 if test "$4"; then 7327 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7328 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7329 fi 7330 $as_echo "$as_me: error: $2" >&2 7331 as_fn_exit $as_status 7332} # as_fn_error 7333 7334 7335# as_fn_set_status STATUS 7336# ----------------------- 7337# Set $? to STATUS, without forking. 7338as_fn_set_status () 7339{ 7340 return $1 7341} # as_fn_set_status 7342 7343# as_fn_exit STATUS 7344# ----------------- 7345# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7346as_fn_exit () 7347{ 7348 set +e 7349 as_fn_set_status $1 7350 exit $1 7351} # as_fn_exit 7352 7353# as_fn_unset VAR 7354# --------------- 7355# Portably unset VAR. 7356as_fn_unset () 7357{ 7358 { eval $1=; unset $1;} 7359} 7360as_unset=as_fn_unset 7361# as_fn_append VAR VALUE 7362# ---------------------- 7363# Append the text in VALUE to the end of the definition contained in VAR. Take 7364# advantage of any shell optimizations that allow amortized linear growth over 7365# repeated appends, instead of the typical quadratic growth present in naive 7366# implementations. 7367if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7368 eval 'as_fn_append () 7369 { 7370 eval $1+=\$2 7371 }' 7372else 7373 as_fn_append () 7374 { 7375 eval $1=\$$1\$2 7376 } 7377fi # as_fn_append 7378 7379# as_fn_arith ARG... 7380# ------------------ 7381# Perform arithmetic evaluation on the ARGs, and store the result in the 7382# global $as_val. Take advantage of shells that can avoid forks. The arguments 7383# must be portable across $(()) and expr. 7384if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7385 eval 'as_fn_arith () 7386 { 7387 as_val=$(( $* )) 7388 }' 7389else 7390 as_fn_arith () 7391 { 7392 as_val=`expr "$@" || test $? -eq 1` 7393 } 7394fi # as_fn_arith 7395 7396 7397if expr a : '\(a\)' >/dev/null 2>&1 && 7398 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7399 as_expr=expr 7400else 7401 as_expr=false 7402fi 7403 7404if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7405 as_basename=basename 7406else 7407 as_basename=false 7408fi 7409 7410if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7411 as_dirname=dirname 7412else 7413 as_dirname=false 7414fi 7415 7416as_me=`$as_basename -- "$0" || 7417$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7418 X"$0" : 'X\(//\)$' \| \ 7419 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7420$as_echo X/"$0" | 7421 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7422 s//\1/ 7423 q 7424 } 7425 /^X\/\(\/\/\)$/{ 7426 s//\1/ 7427 q 7428 } 7429 /^X\/\(\/\).*/{ 7430 s//\1/ 7431 q 7432 } 7433 s/.*/./; q'` 7434 7435# Avoid depending upon Character Ranges. 7436as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7437as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7438as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7439as_cr_digits='0123456789' 7440as_cr_alnum=$as_cr_Letters$as_cr_digits 7441 7442ECHO_C= ECHO_N= ECHO_T= 7443case `echo -n x` in #((((( 7444-n*) 7445 case `echo 'xy\c'` in 7446 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7447 xy) ECHO_C='\c';; 7448 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7449 ECHO_T=' ';; 7450 esac;; 7451*) 7452 ECHO_N='-n';; 7453esac 7454 7455rm -f conf$$ conf$$.exe conf$$.file 7456if test -d conf$$.dir; then 7457 rm -f conf$$.dir/conf$$.file 7458else 7459 rm -f conf$$.dir 7460 mkdir conf$$.dir 2>/dev/null 7461fi 7462if (echo >conf$$.file) 2>/dev/null; then 7463 if ln -s conf$$.file conf$$ 2>/dev/null; then 7464 as_ln_s='ln -s' 7465 # ... but there are two gotchas: 7466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7468 # In both cases, we have to default to `cp -pR'. 7469 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7470 as_ln_s='cp -pR' 7471 elif ln conf$$.file conf$$ 2>/dev/null; then 7472 as_ln_s=ln 7473 else 7474 as_ln_s='cp -pR' 7475 fi 7476else 7477 as_ln_s='cp -pR' 7478fi 7479rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7480rmdir conf$$.dir 2>/dev/null 7481 7482 7483# as_fn_mkdir_p 7484# ------------- 7485# Create "$as_dir" as a directory, including parents if necessary. 7486as_fn_mkdir_p () 7487{ 7488 7489 case $as_dir in #( 7490 -*) as_dir=./$as_dir;; 7491 esac 7492 test -d "$as_dir" || eval $as_mkdir_p || { 7493 as_dirs= 7494 while :; do 7495 case $as_dir in #( 7496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7497 *) as_qdir=$as_dir;; 7498 esac 7499 as_dirs="'$as_qdir' $as_dirs" 7500 as_dir=`$as_dirname -- "$as_dir" || 7501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7502 X"$as_dir" : 'X\(//\)[^/]' \| \ 7503 X"$as_dir" : 'X\(//\)$' \| \ 7504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7505$as_echo X"$as_dir" | 7506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7507 s//\1/ 7508 q 7509 } 7510 /^X\(\/\/\)[^/].*/{ 7511 s//\1/ 7512 q 7513 } 7514 /^X\(\/\/\)$/{ 7515 s//\1/ 7516 q 7517 } 7518 /^X\(\/\).*/{ 7519 s//\1/ 7520 q 7521 } 7522 s/.*/./; q'` 7523 test -d "$as_dir" && break 7524 done 7525 test -z "$as_dirs" || eval "mkdir $as_dirs" 7526 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7527 7528 7529} # as_fn_mkdir_p 7530if mkdir -p . 2>/dev/null; then 7531 as_mkdir_p='mkdir -p "$as_dir"' 7532else 7533 test -d ./-p && rmdir ./-p 7534 as_mkdir_p=false 7535fi 7536 7537 7538# as_fn_executable_p FILE 7539# ----------------------- 7540# Test if FILE is an executable regular file. 7541as_fn_executable_p () 7542{ 7543 test -f "$1" && test -x "$1" 7544} # as_fn_executable_p 7545as_test_x='test -x' 7546as_executable_p=as_fn_executable_p 7547 7548# Sed expression to map a string onto a valid CPP name. 7549as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7550 7551# Sed expression to map a string onto a valid variable name. 7552as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7553 7554 7555exec 6>&1 7556## ----------------------------------- ## 7557## Main body of $CONFIG_STATUS script. ## 7558## ----------------------------------- ## 7559_ASEOF 7560test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7561 7562cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7563# Save the log message, to keep $0 and so on meaningful, and to 7564# report actual input values of CONFIG_FILES etc. instead of their 7565# values after options handling. 7566ac_log=" 7567This file was extended by mate-user-guide $as_me 1.26.0, which was 7568generated by GNU Autoconf 2.69. Invocation command line was 7569 7570 CONFIG_FILES = $CONFIG_FILES 7571 CONFIG_HEADERS = $CONFIG_HEADERS 7572 CONFIG_LINKS = $CONFIG_LINKS 7573 CONFIG_COMMANDS = $CONFIG_COMMANDS 7574 $ $0 $@ 7575 7576on `(hostname || uname -n) 2>/dev/null | sed 1q` 7577" 7578 7579_ACEOF 7580 7581case $ac_config_files in *" 7582"*) set x $ac_config_files; shift; ac_config_files=$*;; 7583esac 7584 7585 7586 7587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7588# Files that config.status was made for. 7589config_files="$ac_config_files" 7590config_commands="$ac_config_commands" 7591 7592_ACEOF 7593 7594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7595ac_cs_usage="\ 7596\`$as_me' instantiates files and other configuration actions 7597from templates according to the current configuration. Unless the files 7598and actions are specified as TAGs, all are instantiated by default. 7599 7600Usage: $0 [OPTION]... [TAG]... 7601 7602 -h, --help print this help, then exit 7603 -V, --version print version number and configuration settings, then exit 7604 --config print configuration, then exit 7605 -q, --quiet, --silent 7606 do not print progress messages 7607 -d, --debug don't remove temporary files 7608 --recheck update $as_me by reconfiguring in the same conditions 7609 --file=FILE[:TEMPLATE] 7610 instantiate the configuration file FILE 7611 7612Configuration files: 7613$config_files 7614 7615Configuration commands: 7616$config_commands 7617 7618Report bugs to <https://github.com/mate-desktop/mate-user-guide/issues/new>." 7619 7620_ACEOF 7621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7622ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7623ac_cs_version="\\ 7624mate-user-guide config.status 1.26.0 7625configured by $0, generated by GNU Autoconf 2.69, 7626 with options \\"\$ac_cs_config\\" 7627 7628Copyright (C) 2012 Free Software Foundation, Inc. 7629This config.status script is free software; the Free Software Foundation 7630gives unlimited permission to copy, distribute and modify it." 7631 7632ac_pwd='$ac_pwd' 7633srcdir='$srcdir' 7634INSTALL='$INSTALL' 7635MKDIR_P='$MKDIR_P' 7636AWK='$AWK' 7637test -n "\$AWK" || AWK=awk 7638_ACEOF 7639 7640cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7641# The default lists apply if the user does not specify any file. 7642ac_need_defaults=: 7643while test $# != 0 7644do 7645 case $1 in 7646 --*=?*) 7647 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7648 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7649 ac_shift=: 7650 ;; 7651 --*=) 7652 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7653 ac_optarg= 7654 ac_shift=: 7655 ;; 7656 *) 7657 ac_option=$1 7658 ac_optarg=$2 7659 ac_shift=shift 7660 ;; 7661 esac 7662 7663 case $ac_option in 7664 # Handling of the options. 7665 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7666 ac_cs_recheck=: ;; 7667 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7668 $as_echo "$ac_cs_version"; exit ;; 7669 --config | --confi | --conf | --con | --co | --c ) 7670 $as_echo "$ac_cs_config"; exit ;; 7671 --debug | --debu | --deb | --de | --d | -d ) 7672 debug=: ;; 7673 --file | --fil | --fi | --f ) 7674 $ac_shift 7675 case $ac_optarg in 7676 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7677 '') as_fn_error $? "missing file argument" ;; 7678 esac 7679 as_fn_append CONFIG_FILES " '$ac_optarg'" 7680 ac_need_defaults=false;; 7681 --he | --h | --help | --hel | -h ) 7682 $as_echo "$ac_cs_usage"; exit ;; 7683 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7684 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7685 ac_cs_silent=: ;; 7686 7687 # This is an error. 7688 -*) as_fn_error $? "unrecognized option: \`$1' 7689Try \`$0 --help' for more information." ;; 7690 7691 *) as_fn_append ac_config_targets " $1" 7692 ac_need_defaults=false ;; 7693 7694 esac 7695 shift 7696done 7697 7698ac_configure_extra_args= 7699 7700if $ac_cs_silent; then 7701 exec 6>/dev/null 7702 ac_configure_extra_args="$ac_configure_extra_args --silent" 7703fi 7704 7705_ACEOF 7706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7707if \$ac_cs_recheck; then 7708 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7709 shift 7710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7711 CONFIG_SHELL='$SHELL' 7712 export CONFIG_SHELL 7713 exec "\$@" 7714fi 7715 7716_ACEOF 7717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7718exec 5>>config.log 7719{ 7720 echo 7721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7722## Running $as_me. ## 7723_ASBOX 7724 $as_echo "$ac_log" 7725} >&5 7726 7727_ACEOF 7728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7729# 7730# INIT-COMMANDS 7731# 7732# Capture the value of obsolete ALL_LINGUAS because we need it to compute 7733 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. 7734 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" 7735 # Capture the value of LINGUAS because we need it to compute CATALOGS. 7736 LINGUAS="${LINGUAS-%UNSET%}" 7737 7738AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 7739 7740_ACEOF 7741 7742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7743 7744# Handling of arguments. 7745for ac_config_target in $ac_config_targets 7746do 7747 case $ac_config_target in 7748 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 7749 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7750 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7751 "mate-user-guide.desktop.in") CONFIG_FILES="$CONFIG_FILES mate-user-guide.desktop.in" ;; 7752 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7753 "mate-user-guide/Makefile") CONFIG_FILES="$CONFIG_FILES mate-user-guide/Makefile" ;; 7754 7755 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7756 esac 7757done 7758 7759 7760# If the user did not use the arguments to specify the items to instantiate, 7761# then the envvar interface is used. Set only those that are not. 7762# We use the long form for the default assignment because of an extremely 7763# bizarre bug on SunOS 4.1.3. 7764if $ac_need_defaults; then 7765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7766 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7767fi 7768 7769# Have a temporary directory for convenience. Make it in the build tree 7770# simply because there is no reason against having it here, and in addition, 7771# creating and moving files from /tmp can sometimes cause problems. 7772# Hook for its removal unless debugging. 7773# Note that there is a small window in which the directory will not be cleaned: 7774# after its creation but before its name has been assigned to `$tmp'. 7775$debug || 7776{ 7777 tmp= ac_tmp= 7778 trap 'exit_status=$? 7779 : "${ac_tmp:=$tmp}" 7780 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7781' 0 7782 trap 'as_fn_exit 1' 1 2 13 15 7783} 7784# Create a (secure) tmp directory for tmp files. 7785 7786{ 7787 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7788 test -d "$tmp" 7789} || 7790{ 7791 tmp=./conf$$-$RANDOM 7792 (umask 077 && mkdir "$tmp") 7793} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7794ac_tmp=$tmp 7795 7796# Set up the scripts for CONFIG_FILES section. 7797# No need to generate them if there are no CONFIG_FILES. 7798# This happens for instance with `./config.status config.h'. 7799if test -n "$CONFIG_FILES"; then 7800 7801 7802ac_cr=`echo X | tr X '\015'` 7803# On cygwin, bash can eat \r inside `` if the user requested igncr. 7804# But we know of no other shell where ac_cr would be empty at this 7805# point, so we can use a bashism as a fallback. 7806if test "x$ac_cr" = x; then 7807 eval ac_cr=\$\'\\r\' 7808fi 7809ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7810if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7811 ac_cs_awk_cr='\\r' 7812else 7813 ac_cs_awk_cr=$ac_cr 7814fi 7815 7816echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7817_ACEOF 7818 7819 7820{ 7821 echo "cat >conf$$subs.awk <<_ACEOF" && 7822 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7823 echo "_ACEOF" 7824} >conf$$subs.sh || 7825 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7826ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7827ac_delim='%!_!# ' 7828for ac_last_try in false false false false false :; do 7829 . ./conf$$subs.sh || 7830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7831 7832 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7833 if test $ac_delim_n = $ac_delim_num; then 7834 break 7835 elif $ac_last_try; then 7836 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7837 else 7838 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7839 fi 7840done 7841rm -f conf$$subs.sh 7842 7843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7844cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7845_ACEOF 7846sed -n ' 7847h 7848s/^/S["/; s/!.*/"]=/ 7849p 7850g 7851s/^[^!]*!// 7852:repl 7853t repl 7854s/'"$ac_delim"'$// 7855t delim 7856:nl 7857h 7858s/\(.\{148\}\)..*/\1/ 7859t more1 7860s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7861p 7862n 7863b repl 7864:more1 7865s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7866p 7867g 7868s/.\{148\}// 7869t nl 7870:delim 7871h 7872s/\(.\{148\}\)..*/\1/ 7873t more2 7874s/["\\]/\\&/g; s/^/"/; s/$/"/ 7875p 7876b 7877:more2 7878s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7879p 7880g 7881s/.\{148\}// 7882t delim 7883' <conf$$subs.awk | sed ' 7884/^[^""]/{ 7885 N 7886 s/\n// 7887} 7888' >>$CONFIG_STATUS || ac_write_fail=1 7889rm -f conf$$subs.awk 7890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7891_ACAWK 7892cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7893 for (key in S) S_is_set[key] = 1 7894 FS = "" 7895 7896} 7897{ 7898 line = $ 0 7899 nfields = split(line, field, "@") 7900 substed = 0 7901 len = length(field[1]) 7902 for (i = 2; i < nfields; i++) { 7903 key = field[i] 7904 keylen = length(key) 7905 if (S_is_set[key]) { 7906 value = S[key] 7907 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7908 len += length(value) + length(field[++i]) 7909 substed = 1 7910 } else 7911 len += 1 + keylen 7912 } 7913 7914 print line 7915} 7916 7917_ACAWK 7918_ACEOF 7919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7920if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7921 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7922else 7923 cat 7924fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7925 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7926_ACEOF 7927 7928# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7929# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7930# trailing colons and then remove the whole line if VPATH becomes empty 7931# (actually we leave an empty line to preserve line numbers). 7932if test "x$srcdir" = x.; then 7933 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7934h 7935s/// 7936s/^/:/ 7937s/[ ]*$/:/ 7938s/:\$(srcdir):/:/g 7939s/:\${srcdir}:/:/g 7940s/:@srcdir@:/:/g 7941s/^:*// 7942s/:*$// 7943x 7944s/\(=[ ]*\).*/\1/ 7945G 7946s/\n// 7947s/^[^=]*=[ ]*$// 7948}' 7949fi 7950 7951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7952fi # test -n "$CONFIG_FILES" 7953 7954 7955eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 7956shift 7957for ac_tag 7958do 7959 case $ac_tag in 7960 :[FHLC]) ac_mode=$ac_tag; continue;; 7961 esac 7962 case $ac_mode$ac_tag in 7963 :[FHL]*:*);; 7964 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7965 :[FH]-) ac_tag=-:-;; 7966 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7967 esac 7968 ac_save_IFS=$IFS 7969 IFS=: 7970 set x $ac_tag 7971 IFS=$ac_save_IFS 7972 shift 7973 ac_file=$1 7974 shift 7975 7976 case $ac_mode in 7977 :L) ac_source=$1;; 7978 :[FH]) 7979 ac_file_inputs= 7980 for ac_f 7981 do 7982 case $ac_f in 7983 -) ac_f="$ac_tmp/stdin";; 7984 *) # Look for the file first in the build tree, then in the source tree 7985 # (if the path is not absolute). The absolute path cannot be DOS-style, 7986 # because $ac_f cannot contain `:'. 7987 test -f "$ac_f" || 7988 case $ac_f in 7989 [\\/$]*) false;; 7990 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7991 esac || 7992 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7993 esac 7994 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7995 as_fn_append ac_file_inputs " '$ac_f'" 7996 done 7997 7998 # Let's still pretend it is `configure' which instantiates (i.e., don't 7999 # use $as_me), people would be surprised to read: 8000 # /* config.h. Generated by config.status. */ 8001 configure_input='Generated from '` 8002 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8003 `' by configure.' 8004 if test x"$ac_file" != x-; then 8005 configure_input="$ac_file. $configure_input" 8006 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8007$as_echo "$as_me: creating $ac_file" >&6;} 8008 fi 8009 # Neutralize special characters interpreted by sed in replacement strings. 8010 case $configure_input in #( 8011 *\&* | *\|* | *\\* ) 8012 ac_sed_conf_input=`$as_echo "$configure_input" | 8013 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8014 *) ac_sed_conf_input=$configure_input;; 8015 esac 8016 8017 case $ac_tag in 8018 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8019 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8020 esac 8021 ;; 8022 esac 8023 8024 ac_dir=`$as_dirname -- "$ac_file" || 8025$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8026 X"$ac_file" : 'X\(//\)[^/]' \| \ 8027 X"$ac_file" : 'X\(//\)$' \| \ 8028 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8029$as_echo X"$ac_file" | 8030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8031 s//\1/ 8032 q 8033 } 8034 /^X\(\/\/\)[^/].*/{ 8035 s//\1/ 8036 q 8037 } 8038 /^X\(\/\/\)$/{ 8039 s//\1/ 8040 q 8041 } 8042 /^X\(\/\).*/{ 8043 s//\1/ 8044 q 8045 } 8046 s/.*/./; q'` 8047 as_dir="$ac_dir"; as_fn_mkdir_p 8048 ac_builddir=. 8049 8050case "$ac_dir" in 8051.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8052*) 8053 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8054 # A ".." for each directory in $ac_dir_suffix. 8055 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8056 case $ac_top_builddir_sub in 8057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8059 esac ;; 8060esac 8061ac_abs_top_builddir=$ac_pwd 8062ac_abs_builddir=$ac_pwd$ac_dir_suffix 8063# for backward compatibility: 8064ac_top_builddir=$ac_top_build_prefix 8065 8066case $srcdir in 8067 .) # We are building in place. 8068 ac_srcdir=. 8069 ac_top_srcdir=$ac_top_builddir_sub 8070 ac_abs_top_srcdir=$ac_pwd ;; 8071 [\\/]* | ?:[\\/]* ) # Absolute name. 8072 ac_srcdir=$srcdir$ac_dir_suffix; 8073 ac_top_srcdir=$srcdir 8074 ac_abs_top_srcdir=$srcdir ;; 8075 *) # Relative name. 8076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8077 ac_top_srcdir=$ac_top_build_prefix$srcdir 8078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8079esac 8080ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8081 8082 8083 case $ac_mode in 8084 :F) 8085 # 8086 # CONFIG_FILE 8087 # 8088 8089 case $INSTALL in 8090 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8091 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8092 esac 8093 ac_MKDIR_P=$MKDIR_P 8094 case $MKDIR_P in 8095 [\\/$]* | ?:[\\/]* ) ;; 8096 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8097 esac 8098_ACEOF 8099 8100cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8101# If the template does not know about datarootdir, expand it. 8102# FIXME: This hack should be removed a few years after 2.60. 8103ac_datarootdir_hack=; ac_datarootdir_seen= 8104ac_sed_dataroot=' 8105/datarootdir/ { 8106 p 8107 q 8108} 8109/@datadir@/p 8110/@docdir@/p 8111/@infodir@/p 8112/@localedir@/p 8113/@mandir@/p' 8114case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 8115*datarootdir*) ac_datarootdir_seen=yes;; 8116*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8118$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8119_ACEOF 8120cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8121 ac_datarootdir_hack=' 8122 s&@datadir@&$datadir&g 8123 s&@docdir@&$docdir&g 8124 s&@infodir@&$infodir&g 8125 s&@localedir@&$localedir&g 8126 s&@mandir@&$mandir&g 8127 s&\\\${datarootdir}&$datarootdir&g' ;; 8128esac 8129_ACEOF 8130 8131# Neutralize VPATH when `$srcdir' = `.'. 8132# Shell code in configure.ac might set extrasub. 8133# FIXME: do we really want to maintain this feature? 8134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8135ac_sed_extra="$ac_vpsub 8136$extrasub 8137_ACEOF 8138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8139:t 8140/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8141s|@configure_input@|$ac_sed_conf_input|;t t 8142s&@top_builddir@&$ac_top_builddir_sub&;t t 8143s&@top_build_prefix@&$ac_top_build_prefix&;t t 8144s&@srcdir@&$ac_srcdir&;t t 8145s&@abs_srcdir@&$ac_abs_srcdir&;t t 8146s&@top_srcdir@&$ac_top_srcdir&;t t 8147s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8148s&@builddir@&$ac_builddir&;t t 8149s&@abs_builddir@&$ac_abs_builddir&;t t 8150s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8151s&@INSTALL@&$ac_INSTALL&;t t 8152s&@MKDIR_P@&$ac_MKDIR_P&;t t 8153$ac_datarootdir_hack 8154" 8155eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 8156 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8157 8158test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8159 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8160 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8161 "$ac_tmp/out"`; test -z "$ac_out"; } && 8162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8163which seems to be undefined. Please make sure it is defined" >&5 8164$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8165which seems to be undefined. Please make sure it is defined" >&2;} 8166 8167 rm -f "$ac_tmp/stdin" 8168 case $ac_file in 8169 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8170 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8171 esac \ 8172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8173 ;; 8174 8175 8176 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 8177$as_echo "$as_me: executing $ac_file commands" >&6;} 8178 ;; 8179 esac 8180 8181 8182 case $ac_file$ac_mode in 8183 "po-directories":C) 8184 for ac_file in $CONFIG_FILES; do 8185 # Support "outfile[:infile[:infile...]]" 8186 case "$ac_file" in 8187 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8188 esac 8189 # PO directories have a Makefile.in generated from Makefile.in.in. 8190 case "$ac_file" in */Makefile.in) 8191 # Adjust a relative srcdir. 8192 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8193 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 8194 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8195 # In autoconf-2.13 it is called $ac_given_srcdir. 8196 # In autoconf-2.50 it is called $srcdir. 8197 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8198 case "$ac_given_srcdir" in 8199 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8200 /*) top_srcdir="$ac_given_srcdir" ;; 8201 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8202 esac 8203 # Treat a directory as a PO directory if and only if it has a 8204 # POTFILES.in file. This allows packages to have multiple PO 8205 # directories under different names or in different locations. 8206 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8207 rm -f "$ac_dir/POTFILES" 8208 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8209 gt_tab=`printf '\t'` 8210 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" 8211 POMAKEFILEDEPS="POTFILES.in" 8212 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8213 # on $ac_dir but don't depend on user-specified configuration 8214 # parameters. 8215 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8216 # The LINGUAS file contains the set of available languages. 8217 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8218 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8219 fi 8220 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8221 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8222 else 8223 # The set of available languages was given in configure.in. 8224 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS 8225 fi 8226 # Compute POFILES 8227 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8228 # Compute UPDATEPOFILES 8229 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8230 # Compute DUMMYPOFILES 8231 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8232 # Compute GMOFILES 8233 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8234 case "$ac_given_srcdir" in 8235 .) srcdirpre= ;; 8236 *) srcdirpre='$(srcdir)/' ;; 8237 esac 8238 POFILES= 8239 UPDATEPOFILES= 8240 DUMMYPOFILES= 8241 GMOFILES= 8242 for lang in $ALL_LINGUAS; do 8243 POFILES="$POFILES $srcdirpre$lang.po" 8244 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8245 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8246 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8247 done 8248 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8249 # environment variable. 8250 INST_LINGUAS= 8251 if test -n "$ALL_LINGUAS"; then 8252 for presentlang in $ALL_LINGUAS; do 8253 useit=no 8254 if test "%UNSET%" != "$LINGUAS"; then 8255 desiredlanguages="$LINGUAS" 8256 else 8257 desiredlanguages="$ALL_LINGUAS" 8258 fi 8259 for desiredlang in $desiredlanguages; do 8260 # Use the presentlang catalog if desiredlang is 8261 # a. equal to presentlang, or 8262 # b. a variant of presentlang (because in this case, 8263 # presentlang can be used as a fallback for messages 8264 # which are not translated in the desiredlang catalog). 8265 case "$desiredlang" in 8266 "$presentlang"*) useit=yes;; 8267 esac 8268 done 8269 if test $useit = yes; then 8270 INST_LINGUAS="$INST_LINGUAS $presentlang" 8271 fi 8272 done 8273 fi 8274 CATALOGS= 8275 if test -n "$INST_LINGUAS"; then 8276 for lang in $INST_LINGUAS; do 8277 CATALOGS="$CATALOGS $lang.gmo" 8278 done 8279 fi 8280 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8281 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" 8282 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 8283 if test -f "$f"; then 8284 case "$f" in 8285 *.orig | *.bak | *~) ;; 8286 *) cat "$f" >> "$ac_dir/Makefile" ;; 8287 esac 8288 fi 8289 done 8290 fi 8291 ;; 8292 esac 8293 done ;; 8294 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 8295 # Older Autoconf quotes --file arguments for eval, but not when files 8296 # are listed without --file. Let's play safe and only enable the eval 8297 # if we detect the quoting. 8298 # TODO: see whether this extra hack can be removed once we start 8299 # requiring Autoconf 2.70 or later. 8300 case $CONFIG_FILES in #( 8301 *\'*) : 8302 eval set x "$CONFIG_FILES" ;; #( 8303 *) : 8304 set x $CONFIG_FILES ;; #( 8305 *) : 8306 ;; 8307esac 8308 shift 8309 # Used to flag and report bootstrapping failures. 8310 am_rc=0 8311 for am_mf 8312 do 8313 # Strip MF so we end up with the name of the file. 8314 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 8315 # Check whether this is an Automake generated Makefile which includes 8316 # dependency-tracking related rules and includes. 8317 # Grep'ing the whole file directly is not great: AIX grep has a line 8318 # limit of 2048, but all sed's we know have understand at least 4000. 8319 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 8320 || continue 8321 am_dirpart=`$as_dirname -- "$am_mf" || 8322$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8323 X"$am_mf" : 'X\(//\)[^/]' \| \ 8324 X"$am_mf" : 'X\(//\)$' \| \ 8325 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 8326$as_echo X"$am_mf" | 8327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8328 s//\1/ 8329 q 8330 } 8331 /^X\(\/\/\)[^/].*/{ 8332 s//\1/ 8333 q 8334 } 8335 /^X\(\/\/\)$/{ 8336 s//\1/ 8337 q 8338 } 8339 /^X\(\/\).*/{ 8340 s//\1/ 8341 q 8342 } 8343 s/.*/./; q'` 8344 am_filepart=`$as_basename -- "$am_mf" || 8345$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 8346 X"$am_mf" : 'X\(//\)$' \| \ 8347 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 8348$as_echo X/"$am_mf" | 8349 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8350 s//\1/ 8351 q 8352 } 8353 /^X\/\(\/\/\)$/{ 8354 s//\1/ 8355 q 8356 } 8357 /^X\/\(\/\).*/{ 8358 s//\1/ 8359 q 8360 } 8361 s/.*/./; q'` 8362 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 8363 && sed -e '/# am--include-marker/d' "$am_filepart" \ 8364 | $MAKE -f - am--depfiles" >&5 8365 (cd "$am_dirpart" \ 8366 && sed -e '/# am--include-marker/d' "$am_filepart" \ 8367 | $MAKE -f - am--depfiles) >&5 2>&5 8368 ac_status=$? 8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8370 (exit $ac_status); } || am_rc=$? 8371 done 8372 if test $am_rc -ne 0; then 8373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8375as_fn_error $? "Something went wrong bootstrapping makefile fragments 8376 for automatic dependency tracking. If GNU make was not used, consider 8377 re-running the configure script with MAKE=\"gmake\" (or whatever is 8378 necessary). You can also try re-running configure with the 8379 '--disable-dependency-tracking' option to at least be able to build 8380 the package (albeit without support for automatic dependency tracking). 8381See \`config.log' for more details" "$LINENO" 5; } 8382 fi 8383 { am_dirpart=; unset am_dirpart;} 8384 { am_filepart=; unset am_filepart;} 8385 { am_mf=; unset am_mf;} 8386 { am_rc=; unset am_rc;} 8387 rm -f conftest-deps.mk 8388} 8389 ;; 8390 8391 esac 8392done # for ac_tag 8393 8394 8395as_fn_exit 0 8396_ACEOF 8397ac_clean_files=$ac_clean_files_save 8398 8399test $ac_write_fail = 0 || 8400 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8401 8402 8403# configure is writing to config.log, and then calls config.status. 8404# config.status does its own redirection, appending to config.log. 8405# Unfortunately, on DOS this fails, as config.log is still kept open 8406# by configure, so config.status won't be able to write to it; its 8407# output is simply discarded. So we exec the FD to /dev/null, 8408# effectively closing config.log, so it can be properly (re)opened and 8409# appended to by config.status. When coming back to configure, we 8410# need to make the FD available again. 8411if test "$no_create" != yes; then 8412 ac_cs_success=: 8413 ac_config_status_args= 8414 test "$silent" = yes && 8415 ac_config_status_args="$ac_config_status_args --quiet" 8416 exec 5>/dev/null 8417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8418 exec 5>>config.log 8419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8420 # would make configure fail if this is the last instruction. 8421 $ac_cs_success || as_fn_exit 1 8422fi 8423if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8425$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8426fi 8427 8428 8429cat >confcache <<\_ACEOF 8430# This file is a shell script that caches the results of configure 8431# tests run on this system so they can be shared between configure 8432# scripts and configure runs, see configure's option --config-cache. 8433# It is not useful on other systems. If it contains results you don't 8434# want to keep, you may remove or edit it. 8435# 8436# config.status only pays attention to the cache file if you give it 8437# the --recheck option to rerun configure. 8438# 8439# `ac_cv_env_foo' variables (set or unset) will be overridden when 8440# loading this file, other *unset* `ac_cv_foo' will be assigned the 8441# following values. 8442 8443_ACEOF 8444 8445# The following way of writing the cache mishandles newlines in values, 8446# but we know of no workaround that is simple, portable, and efficient. 8447# So, we kill variables containing newlines. 8448# Ultrix sh set writes to stderr and can't be redirected directly, 8449# and sets the high bit in the cache file unless we assign to the vars. 8450( 8451 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8452 eval ac_val=\$$ac_var 8453 case $ac_val in #( 8454 *${as_nl}*) 8455 case $ac_var in #( 8456 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8457$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8458 esac 8459 case $ac_var in #( 8460 _ | IFS | as_nl) ;; #( 8461 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8462 *) { eval $ac_var=; unset $ac_var;} ;; 8463 esac ;; 8464 esac 8465 done 8466 8467 (set) 2>&1 | 8468 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8469 *${as_nl}ac_space=\ *) 8470 # `set' does not quote correctly, so add quotes: double-quote 8471 # substitution turns \\\\ into \\, and sed turns \\ into \. 8472 sed -n \ 8473 "s/'/'\\\\''/g; 8474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8475 ;; #( 8476 *) 8477 # `set' quotes correctly as required by POSIX, so do not add quotes. 8478 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8479 ;; 8480 esac | 8481 sort 8482) | 8483 sed ' 8484 /^ac_cv_env_/b end 8485 t clear 8486 :clear 8487 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8488 t end 8489 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8490 :end' >>confcache 8491if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8492 if test -w "$cache_file"; then 8493 if test "x$cache_file" != "x/dev/null"; then 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8495$as_echo "$as_me: updating cache $cache_file" >&6;} 8496 if test ! -f "$cache_file" || test -h "$cache_file"; then 8497 cat confcache >"$cache_file" 8498 else 8499 case $cache_file in #( 8500 */* | ?:*) 8501 mv -f confcache "$cache_file"$$ && 8502 mv -f "$cache_file"$$ "$cache_file" ;; #( 8503 *) 8504 mv -f confcache "$cache_file" ;; 8505 esac 8506 fi 8507 fi 8508 else 8509 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8510$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8511 fi 8512fi 8513rm -f confcache 8514 8515test "x$prefix" = xNONE && prefix=$ac_default_prefix 8516# Let make expand exec_prefix. 8517test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8518 8519# Transform confdefs.h into DEFS. 8520# Protect against shell expansion while executing Makefile rules. 8521# Protect against Makefile macro expansion. 8522# 8523# If the first sed substitution is executed (which looks for macros that 8524# take arguments), then branch to the quote section. Otherwise, 8525# look for a macro that doesn't take arguments. 8526ac_script=' 8527:mline 8528/\\$/{ 8529 N 8530 s,\\\n,, 8531 b mline 8532} 8533t clear 8534:clear 8535s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 8536t quote 8537s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 8538t quote 8539b any 8540:quote 8541s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 8542s/\[/\\&/g 8543s/\]/\\&/g 8544s/\$/$$/g 8545H 8546:any 8547${ 8548 g 8549 s/^\n// 8550 s/\n/ /g 8551 p 8552} 8553' 8554DEFS=`sed -n "$ac_script" confdefs.h` 8555 8556 8557ac_libobjs= 8558ac_ltlibobjs= 8559U= 8560for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8561 # 1. Remove the extension, and $U if already installed. 8562 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8563 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8564 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8565 # will be set to the directory where LIBOBJS objects are built. 8566 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8567 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8568done 8569LIBOBJS=$ac_libobjs 8570 8571LTLIBOBJS=$ac_ltlibobjs 8572 8573 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 8575$as_echo_n "checking that generated files are newer than configure... " >&6; } 8576 if test -n "$am_sleep_pid"; then 8577 # Hide warnings about reused PIDs. 8578 wait $am_sleep_pid 2>/dev/null 8579 fi 8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 8581$as_echo "done" >&6; } 8582 if test -n "$EXEEXT"; then 8583 am__EXEEXT_TRUE= 8584 am__EXEEXT_FALSE='#' 8585else 8586 am__EXEEXT_TRUE='#' 8587 am__EXEEXT_FALSE= 8588fi 8589 8590if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8591 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8592Usually this means the macro was only invoked conditionally." "$LINENO" 5 8593fi 8594if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8595 as_fn_error $? "conditional \"AMDEP\" was never defined. 8596Usually this means the macro was only invoked conditionally." "$LINENO" 5 8597fi 8598if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8599 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 8600Usually this means the macro was only invoked conditionally." "$LINENO" 5 8601fi 8602if test -z "${USE_NLS_TRUE}" && test -z "${USE_NLS_FALSE}"; then 8603 as_fn_error $? "conditional \"USE_NLS\" was never defined. 8604Usually this means the macro was only invoked conditionally." "$LINENO" 5 8605fi 8606if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then 8607 as_fn_error $? "conditional \"am__EXEEXT\" was never defined. 8608Usually this means the macro was only invoked conditionally." "$LINENO" 5 8609fi 8610 8611: "${CONFIG_STATUS=./config.status}" 8612ac_write_fail=0 8613ac_clean_files_save=$ac_clean_files 8614ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8615{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8616$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8617as_write_fail=0 8618cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8619#! $SHELL 8620# Generated by $as_me. 8621# Run this file to recreate the current configuration. 8622# Compiler output produced by configure, useful for debugging 8623# configure, is in config.log if it exists. 8624 8625debug=false 8626ac_cs_recheck=false 8627ac_cs_silent=false 8628 8629SHELL=\${CONFIG_SHELL-$SHELL} 8630export SHELL 8631_ASEOF 8632cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8633## -------------------- ## 8634## M4sh Initialization. ## 8635## -------------------- ## 8636 8637# Be more Bourne compatible 8638DUALCASE=1; export DUALCASE # for MKS sh 8639if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8640 emulate sh 8641 NULLCMD=: 8642 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8643 # is contrary to our usage. Disable this feature. 8644 alias -g '${1+"$@"}'='"$@"' 8645 setopt NO_GLOB_SUBST 8646else 8647 case `(set -o) 2>/dev/null` in #( 8648 *posix*) : 8649 set -o posix ;; #( 8650 *) : 8651 ;; 8652esac 8653fi 8654 8655 8656as_nl=' 8657' 8658export as_nl 8659# Printing a long string crashes Solaris 7 /usr/bin/printf. 8660as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8661as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8662as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8663# Prefer a ksh shell builtin over an external printf program on Solaris, 8664# but without wasting forks for bash or zsh. 8665if test -z "$BASH_VERSION$ZSH_VERSION" \ 8666 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8667 as_echo='print -r --' 8668 as_echo_n='print -rn --' 8669elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8670 as_echo='printf %s\n' 8671 as_echo_n='printf %s' 8672else 8673 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8674 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8675 as_echo_n='/usr/ucb/echo -n' 8676 else 8677 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8678 as_echo_n_body='eval 8679 arg=$1; 8680 case $arg in #( 8681 *"$as_nl"*) 8682 expr "X$arg" : "X\\(.*\\)$as_nl"; 8683 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8684 esac; 8685 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8686 ' 8687 export as_echo_n_body 8688 as_echo_n='sh -c $as_echo_n_body as_echo' 8689 fi 8690 export as_echo_body 8691 as_echo='sh -c $as_echo_body as_echo' 8692fi 8693 8694# The user is always right. 8695if test "${PATH_SEPARATOR+set}" != set; then 8696 PATH_SEPARATOR=: 8697 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8698 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8699 PATH_SEPARATOR=';' 8700 } 8701fi 8702 8703 8704# IFS 8705# We need space, tab and new line, in precisely that order. Quoting is 8706# there to prevent editors from complaining about space-tab. 8707# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8708# splitting by setting IFS to empty value.) 8709IFS=" "" $as_nl" 8710 8711# Find who we are. Look in the path if we contain no directory separator. 8712as_myself= 8713case $0 in #(( 8714 *[\\/]* ) as_myself=$0 ;; 8715 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8716for as_dir in $PATH 8717do 8718 IFS=$as_save_IFS 8719 test -z "$as_dir" && as_dir=. 8720 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8721 done 8722IFS=$as_save_IFS 8723 8724 ;; 8725esac 8726# We did not find ourselves, most probably we were run as `sh COMMAND' 8727# in which case we are not to be found in the path. 8728if test "x$as_myself" = x; then 8729 as_myself=$0 8730fi 8731if test ! -f "$as_myself"; then 8732 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8733 exit 1 8734fi 8735 8736# Unset variables that we do not need and which cause bugs (e.g. in 8737# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8738# suppresses any "Segmentation fault" message there. '((' could 8739# trigger a bug in pdksh 5.2.14. 8740for as_var in BASH_ENV ENV MAIL MAILPATH 8741do eval test x\${$as_var+set} = xset \ 8742 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8743done 8744PS1='$ ' 8745PS2='> ' 8746PS4='+ ' 8747 8748# NLS nuisances. 8749LC_ALL=C 8750export LC_ALL 8751LANGUAGE=C 8752export LANGUAGE 8753 8754# CDPATH. 8755(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8756 8757 8758# as_fn_error STATUS ERROR [LINENO LOG_FD] 8759# ---------------------------------------- 8760# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8761# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8762# script with STATUS, using 1 if that was 0. 8763as_fn_error () 8764{ 8765 as_status=$1; test $as_status -eq 0 && as_status=1 8766 if test "$4"; then 8767 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8768 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8769 fi 8770 $as_echo "$as_me: error: $2" >&2 8771 as_fn_exit $as_status 8772} # as_fn_error 8773 8774 8775# as_fn_set_status STATUS 8776# ----------------------- 8777# Set $? to STATUS, without forking. 8778as_fn_set_status () 8779{ 8780 return $1 8781} # as_fn_set_status 8782 8783# as_fn_exit STATUS 8784# ----------------- 8785# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8786as_fn_exit () 8787{ 8788 set +e 8789 as_fn_set_status $1 8790 exit $1 8791} # as_fn_exit 8792 8793# as_fn_unset VAR 8794# --------------- 8795# Portably unset VAR. 8796as_fn_unset () 8797{ 8798 { eval $1=; unset $1;} 8799} 8800as_unset=as_fn_unset 8801# as_fn_append VAR VALUE 8802# ---------------------- 8803# Append the text in VALUE to the end of the definition contained in VAR. Take 8804# advantage of any shell optimizations that allow amortized linear growth over 8805# repeated appends, instead of the typical quadratic growth present in naive 8806# implementations. 8807if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8808 eval 'as_fn_append () 8809 { 8810 eval $1+=\$2 8811 }' 8812else 8813 as_fn_append () 8814 { 8815 eval $1=\$$1\$2 8816 } 8817fi # as_fn_append 8818 8819# as_fn_arith ARG... 8820# ------------------ 8821# Perform arithmetic evaluation on the ARGs, and store the result in the 8822# global $as_val. Take advantage of shells that can avoid forks. The arguments 8823# must be portable across $(()) and expr. 8824if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8825 eval 'as_fn_arith () 8826 { 8827 as_val=$(( $* )) 8828 }' 8829else 8830 as_fn_arith () 8831 { 8832 as_val=`expr "$@" || test $? -eq 1` 8833 } 8834fi # as_fn_arith 8835 8836 8837if expr a : '\(a\)' >/dev/null 2>&1 && 8838 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8839 as_expr=expr 8840else 8841 as_expr=false 8842fi 8843 8844if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8845 as_basename=basename 8846else 8847 as_basename=false 8848fi 8849 8850if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8851 as_dirname=dirname 8852else 8853 as_dirname=false 8854fi 8855 8856as_me=`$as_basename -- "$0" || 8857$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8858 X"$0" : 'X\(//\)$' \| \ 8859 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8860$as_echo X/"$0" | 8861 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8862 s//\1/ 8863 q 8864 } 8865 /^X\/\(\/\/\)$/{ 8866 s//\1/ 8867 q 8868 } 8869 /^X\/\(\/\).*/{ 8870 s//\1/ 8871 q 8872 } 8873 s/.*/./; q'` 8874 8875# Avoid depending upon Character Ranges. 8876as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8877as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8878as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8879as_cr_digits='0123456789' 8880as_cr_alnum=$as_cr_Letters$as_cr_digits 8881 8882ECHO_C= ECHO_N= ECHO_T= 8883case `echo -n x` in #((((( 8884-n*) 8885 case `echo 'xy\c'` in 8886 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8887 xy) ECHO_C='\c';; 8888 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8889 ECHO_T=' ';; 8890 esac;; 8891*) 8892 ECHO_N='-n';; 8893esac 8894 8895rm -f conf$$ conf$$.exe conf$$.file 8896if test -d conf$$.dir; then 8897 rm -f conf$$.dir/conf$$.file 8898else 8899 rm -f conf$$.dir 8900 mkdir conf$$.dir 2>/dev/null 8901fi 8902if (echo >conf$$.file) 2>/dev/null; then 8903 if ln -s conf$$.file conf$$ 2>/dev/null; then 8904 as_ln_s='ln -s' 8905 # ... but there are two gotchas: 8906 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8907 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8908 # In both cases, we have to default to `cp -pR'. 8909 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8910 as_ln_s='cp -pR' 8911 elif ln conf$$.file conf$$ 2>/dev/null; then 8912 as_ln_s=ln 8913 else 8914 as_ln_s='cp -pR' 8915 fi 8916else 8917 as_ln_s='cp -pR' 8918fi 8919rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8920rmdir conf$$.dir 2>/dev/null 8921 8922 8923# as_fn_mkdir_p 8924# ------------- 8925# Create "$as_dir" as a directory, including parents if necessary. 8926as_fn_mkdir_p () 8927{ 8928 8929 case $as_dir in #( 8930 -*) as_dir=./$as_dir;; 8931 esac 8932 test -d "$as_dir" || eval $as_mkdir_p || { 8933 as_dirs= 8934 while :; do 8935 case $as_dir in #( 8936 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8937 *) as_qdir=$as_dir;; 8938 esac 8939 as_dirs="'$as_qdir' $as_dirs" 8940 as_dir=`$as_dirname -- "$as_dir" || 8941$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8942 X"$as_dir" : 'X\(//\)[^/]' \| \ 8943 X"$as_dir" : 'X\(//\)$' \| \ 8944 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8945$as_echo X"$as_dir" | 8946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8947 s//\1/ 8948 q 8949 } 8950 /^X\(\/\/\)[^/].*/{ 8951 s//\1/ 8952 q 8953 } 8954 /^X\(\/\/\)$/{ 8955 s//\1/ 8956 q 8957 } 8958 /^X\(\/\).*/{ 8959 s//\1/ 8960 q 8961 } 8962 s/.*/./; q'` 8963 test -d "$as_dir" && break 8964 done 8965 test -z "$as_dirs" || eval "mkdir $as_dirs" 8966 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8967 8968 8969} # as_fn_mkdir_p 8970if mkdir -p . 2>/dev/null; then 8971 as_mkdir_p='mkdir -p "$as_dir"' 8972else 8973 test -d ./-p && rmdir ./-p 8974 as_mkdir_p=false 8975fi 8976 8977 8978# as_fn_executable_p FILE 8979# ----------------------- 8980# Test if FILE is an executable regular file. 8981as_fn_executable_p () 8982{ 8983 test -f "$1" && test -x "$1" 8984} # as_fn_executable_p 8985as_test_x='test -x' 8986as_executable_p=as_fn_executable_p 8987 8988# Sed expression to map a string onto a valid CPP name. 8989as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8990 8991# Sed expression to map a string onto a valid variable name. 8992as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8993 8994 8995exec 6>&1 8996## ----------------------------------- ## 8997## Main body of $CONFIG_STATUS script. ## 8998## ----------------------------------- ## 8999_ASEOF 9000test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9001 9002cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9003# Save the log message, to keep $0 and so on meaningful, and to 9004# report actual input values of CONFIG_FILES etc. instead of their 9005# values after options handling. 9006ac_log=" 9007This file was extended by mate-user-guide $as_me 1.26.0, which was 9008generated by GNU Autoconf 2.69. Invocation command line was 9009 9010 CONFIG_FILES = $CONFIG_FILES 9011 CONFIG_HEADERS = $CONFIG_HEADERS 9012 CONFIG_LINKS = $CONFIG_LINKS 9013 CONFIG_COMMANDS = $CONFIG_COMMANDS 9014 $ $0 $@ 9015 9016on `(hostname || uname -n) 2>/dev/null | sed 1q` 9017" 9018 9019_ACEOF 9020 9021case $ac_config_files in *" 9022"*) set x $ac_config_files; shift; ac_config_files=$*;; 9023esac 9024 9025 9026 9027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9028# Files that config.status was made for. 9029config_files="$ac_config_files" 9030config_commands="$ac_config_commands" 9031 9032_ACEOF 9033 9034cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9035ac_cs_usage="\ 9036\`$as_me' instantiates files and other configuration actions 9037from templates according to the current configuration. Unless the files 9038and actions are specified as TAGs, all are instantiated by default. 9039 9040Usage: $0 [OPTION]... [TAG]... 9041 9042 -h, --help print this help, then exit 9043 -V, --version print version number and configuration settings, then exit 9044 --config print configuration, then exit 9045 -q, --quiet, --silent 9046 do not print progress messages 9047 -d, --debug don't remove temporary files 9048 --recheck update $as_me by reconfiguring in the same conditions 9049 --file=FILE[:TEMPLATE] 9050 instantiate the configuration file FILE 9051 9052Configuration files: 9053$config_files 9054 9055Configuration commands: 9056$config_commands 9057 9058Report bugs to <https://github.com/mate-desktop/mate-user-guide/issues/new>." 9059 9060_ACEOF 9061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9062ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9063ac_cs_version="\\ 9064mate-user-guide config.status 1.26.0 9065configured by $0, generated by GNU Autoconf 2.69, 9066 with options \\"\$ac_cs_config\\" 9067 9068Copyright (C) 2012 Free Software Foundation, Inc. 9069This config.status script is free software; the Free Software Foundation 9070gives unlimited permission to copy, distribute and modify it." 9071 9072ac_pwd='$ac_pwd' 9073srcdir='$srcdir' 9074INSTALL='$INSTALL' 9075MKDIR_P='$MKDIR_P' 9076AWK='$AWK' 9077test -n "\$AWK" || AWK=awk 9078_ACEOF 9079 9080cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9081# The default lists apply if the user does not specify any file. 9082ac_need_defaults=: 9083while test $# != 0 9084do 9085 case $1 in 9086 --*=?*) 9087 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9089 ac_shift=: 9090 ;; 9091 --*=) 9092 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9093 ac_optarg= 9094 ac_shift=: 9095 ;; 9096 *) 9097 ac_option=$1 9098 ac_optarg=$2 9099 ac_shift=shift 9100 ;; 9101 esac 9102 9103 case $ac_option in 9104 # Handling of the options. 9105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9106 ac_cs_recheck=: ;; 9107 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9108 $as_echo "$ac_cs_version"; exit ;; 9109 --config | --confi | --conf | --con | --co | --c ) 9110 $as_echo "$ac_cs_config"; exit ;; 9111 --debug | --debu | --deb | --de | --d | -d ) 9112 debug=: ;; 9113 --file | --fil | --fi | --f ) 9114 $ac_shift 9115 case $ac_optarg in 9116 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9117 '') as_fn_error $? "missing file argument" ;; 9118 esac 9119 as_fn_append CONFIG_FILES " '$ac_optarg'" 9120 ac_need_defaults=false;; 9121 --he | --h | --help | --hel | -h ) 9122 $as_echo "$ac_cs_usage"; exit ;; 9123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9124 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9125 ac_cs_silent=: ;; 9126 9127 # This is an error. 9128 -*) as_fn_error $? "unrecognized option: \`$1' 9129Try \`$0 --help' for more information." ;; 9130 9131 *) as_fn_append ac_config_targets " $1" 9132 ac_need_defaults=false ;; 9133 9134 esac 9135 shift 9136done 9137 9138ac_configure_extra_args= 9139 9140if $ac_cs_silent; then 9141 exec 6>/dev/null 9142 ac_configure_extra_args="$ac_configure_extra_args --silent" 9143fi 9144 9145_ACEOF 9146cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9147if \$ac_cs_recheck; then 9148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9149 shift 9150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9151 CONFIG_SHELL='$SHELL' 9152 export CONFIG_SHELL 9153 exec "\$@" 9154fi 9155 9156_ACEOF 9157cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9158exec 5>>config.log 9159{ 9160 echo 9161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9162## Running $as_me. ## 9163_ASBOX 9164 $as_echo "$ac_log" 9165} >&5 9166 9167_ACEOF 9168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9169# 9170# INIT-COMMANDS 9171# 9172# Capture the value of obsolete ALL_LINGUAS because we need it to compute 9173 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. 9174 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" 9175 # Capture the value of LINGUAS because we need it to compute CATALOGS. 9176 LINGUAS="${LINGUAS-%UNSET%}" 9177 9178AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 9179 9180_ACEOF 9181 9182cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9183 9184# Handling of arguments. 9185for ac_config_target in $ac_config_targets 9186do 9187 case $ac_config_target in 9188 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 9189 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 9190 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9191 "mate-user-guide.desktop.in") CONFIG_FILES="$CONFIG_FILES mate-user-guide.desktop.in" ;; 9192 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 9193 "mate-user-guide/Makefile") CONFIG_FILES="$CONFIG_FILES mate-user-guide/Makefile" ;; 9194 9195 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9196 esac 9197done 9198 9199 9200# If the user did not use the arguments to specify the items to instantiate, 9201# then the envvar interface is used. Set only those that are not. 9202# We use the long form for the default assignment because of an extremely 9203# bizarre bug on SunOS 4.1.3. 9204if $ac_need_defaults; then 9205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9206 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 9207fi 9208 9209# Have a temporary directory for convenience. Make it in the build tree 9210# simply because there is no reason against having it here, and in addition, 9211# creating and moving files from /tmp can sometimes cause problems. 9212# Hook for its removal unless debugging. 9213# Note that there is a small window in which the directory will not be cleaned: 9214# after its creation but before its name has been assigned to `$tmp'. 9215$debug || 9216{ 9217 tmp= ac_tmp= 9218 trap 'exit_status=$? 9219 : "${ac_tmp:=$tmp}" 9220 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 9221' 0 9222 trap 'as_fn_exit 1' 1 2 13 15 9223} 9224# Create a (secure) tmp directory for tmp files. 9225 9226{ 9227 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9228 test -d "$tmp" 9229} || 9230{ 9231 tmp=./conf$$-$RANDOM 9232 (umask 077 && mkdir "$tmp") 9233} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9234ac_tmp=$tmp 9235 9236# Set up the scripts for CONFIG_FILES section. 9237# No need to generate them if there are no CONFIG_FILES. 9238# This happens for instance with `./config.status config.h'. 9239if test -n "$CONFIG_FILES"; then 9240 9241 9242ac_cr=`echo X | tr X '\015'` 9243# On cygwin, bash can eat \r inside `` if the user requested igncr. 9244# But we know of no other shell where ac_cr would be empty at this 9245# point, so we can use a bashism as a fallback. 9246if test "x$ac_cr" = x; then 9247 eval ac_cr=\$\'\\r\' 9248fi 9249ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9250if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9251 ac_cs_awk_cr='\\r' 9252else 9253 ac_cs_awk_cr=$ac_cr 9254fi 9255 9256echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 9257_ACEOF 9258 9259 9260{ 9261 echo "cat >conf$$subs.awk <<_ACEOF" && 9262 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9263 echo "_ACEOF" 9264} >conf$$subs.sh || 9265 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9266ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 9267ac_delim='%!_!# ' 9268for ac_last_try in false false false false false :; do 9269 . ./conf$$subs.sh || 9270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9271 9272 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9273 if test $ac_delim_n = $ac_delim_num; then 9274 break 9275 elif $ac_last_try; then 9276 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9277 else 9278 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9279 fi 9280done 9281rm -f conf$$subs.sh 9282 9283cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9284cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 9285_ACEOF 9286sed -n ' 9287h 9288s/^/S["/; s/!.*/"]=/ 9289p 9290g 9291s/^[^!]*!// 9292:repl 9293t repl 9294s/'"$ac_delim"'$// 9295t delim 9296:nl 9297h 9298s/\(.\{148\}\)..*/\1/ 9299t more1 9300s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9301p 9302n 9303b repl 9304:more1 9305s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9306p 9307g 9308s/.\{148\}// 9309t nl 9310:delim 9311h 9312s/\(.\{148\}\)..*/\1/ 9313t more2 9314s/["\\]/\\&/g; s/^/"/; s/$/"/ 9315p 9316b 9317:more2 9318s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9319p 9320g 9321s/.\{148\}// 9322t delim 9323' <conf$$subs.awk | sed ' 9324/^[^""]/{ 9325 N 9326 s/\n// 9327} 9328' >>$CONFIG_STATUS || ac_write_fail=1 9329rm -f conf$$subs.awk 9330cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9331_ACAWK 9332cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9333 for (key in S) S_is_set[key] = 1 9334 FS = "" 9335 9336} 9337{ 9338 line = $ 0 9339 nfields = split(line, field, "@") 9340 substed = 0 9341 len = length(field[1]) 9342 for (i = 2; i < nfields; i++) { 9343 key = field[i] 9344 keylen = length(key) 9345 if (S_is_set[key]) { 9346 value = S[key] 9347 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9348 len += length(value) + length(field[++i]) 9349 substed = 1 9350 } else 9351 len += 1 + keylen 9352 } 9353 9354 print line 9355} 9356 9357_ACAWK 9358_ACEOF 9359cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9360if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9361 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9362else 9363 cat 9364fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9365 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9366_ACEOF 9367 9368# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9369# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9370# trailing colons and then remove the whole line if VPATH becomes empty 9371# (actually we leave an empty line to preserve line numbers). 9372if test "x$srcdir" = x.; then 9373 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9374h 9375s/// 9376s/^/:/ 9377s/[ ]*$/:/ 9378s/:\$(srcdir):/:/g 9379s/:\${srcdir}:/:/g 9380s/:@srcdir@:/:/g 9381s/^:*// 9382s/:*$// 9383x 9384s/\(=[ ]*\).*/\1/ 9385G 9386s/\n// 9387s/^[^=]*=[ ]*$// 9388}' 9389fi 9390 9391cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9392fi # test -n "$CONFIG_FILES" 9393 9394 9395eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 9396shift 9397for ac_tag 9398do 9399 case $ac_tag in 9400 :[FHLC]) ac_mode=$ac_tag; continue;; 9401 esac 9402 case $ac_mode$ac_tag in 9403 :[FHL]*:*);; 9404 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9405 :[FH]-) ac_tag=-:-;; 9406 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9407 esac 9408 ac_save_IFS=$IFS 9409 IFS=: 9410 set x $ac_tag 9411 IFS=$ac_save_IFS 9412 shift 9413 ac_file=$1 9414 shift 9415 9416 case $ac_mode in 9417 :L) ac_source=$1;; 9418 :[FH]) 9419 ac_file_inputs= 9420 for ac_f 9421 do 9422 case $ac_f in 9423 -) ac_f="$ac_tmp/stdin";; 9424 *) # Look for the file first in the build tree, then in the source tree 9425 # (if the path is not absolute). The absolute path cannot be DOS-style, 9426 # because $ac_f cannot contain `:'. 9427 test -f "$ac_f" || 9428 case $ac_f in 9429 [\\/$]*) false;; 9430 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9431 esac || 9432 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9433 esac 9434 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9435 as_fn_append ac_file_inputs " '$ac_f'" 9436 done 9437 9438 # Let's still pretend it is `configure' which instantiates (i.e., don't 9439 # use $as_me), people would be surprised to read: 9440 # /* config.h. Generated by config.status. */ 9441 configure_input='Generated from '` 9442 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9443 `' by configure.' 9444 if test x"$ac_file" != x-; then 9445 configure_input="$ac_file. $configure_input" 9446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9447$as_echo "$as_me: creating $ac_file" >&6;} 9448 fi 9449 # Neutralize special characters interpreted by sed in replacement strings. 9450 case $configure_input in #( 9451 *\&* | *\|* | *\\* ) 9452 ac_sed_conf_input=`$as_echo "$configure_input" | 9453 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9454 *) ac_sed_conf_input=$configure_input;; 9455 esac 9456 9457 case $ac_tag in 9458 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9460 esac 9461 ;; 9462 esac 9463 9464 ac_dir=`$as_dirname -- "$ac_file" || 9465$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9466 X"$ac_file" : 'X\(//\)[^/]' \| \ 9467 X"$ac_file" : 'X\(//\)$' \| \ 9468 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9469$as_echo X"$ac_file" | 9470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9471 s//\1/ 9472 q 9473 } 9474 /^X\(\/\/\)[^/].*/{ 9475 s//\1/ 9476 q 9477 } 9478 /^X\(\/\/\)$/{ 9479 s//\1/ 9480 q 9481 } 9482 /^X\(\/\).*/{ 9483 s//\1/ 9484 q 9485 } 9486 s/.*/./; q'` 9487 as_dir="$ac_dir"; as_fn_mkdir_p 9488 ac_builddir=. 9489 9490case "$ac_dir" in 9491.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9492*) 9493 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9494 # A ".." for each directory in $ac_dir_suffix. 9495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9496 case $ac_top_builddir_sub in 9497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9499 esac ;; 9500esac 9501ac_abs_top_builddir=$ac_pwd 9502ac_abs_builddir=$ac_pwd$ac_dir_suffix 9503# for backward compatibility: 9504ac_top_builddir=$ac_top_build_prefix 9505 9506case $srcdir in 9507 .) # We are building in place. 9508 ac_srcdir=. 9509 ac_top_srcdir=$ac_top_builddir_sub 9510 ac_abs_top_srcdir=$ac_pwd ;; 9511 [\\/]* | ?:[\\/]* ) # Absolute name. 9512 ac_srcdir=$srcdir$ac_dir_suffix; 9513 ac_top_srcdir=$srcdir 9514 ac_abs_top_srcdir=$srcdir ;; 9515 *) # Relative name. 9516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9517 ac_top_srcdir=$ac_top_build_prefix$srcdir 9518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9519esac 9520ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9521 9522 9523 case $ac_mode in 9524 :F) 9525 # 9526 # CONFIG_FILE 9527 # 9528 9529 case $INSTALL in 9530 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9531 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9532 esac 9533 ac_MKDIR_P=$MKDIR_P 9534 case $MKDIR_P in 9535 [\\/$]* | ?:[\\/]* ) ;; 9536 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 9537 esac 9538_ACEOF 9539 9540cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9541# If the template does not know about datarootdir, expand it. 9542# FIXME: This hack should be removed a few years after 2.60. 9543ac_datarootdir_hack=; ac_datarootdir_seen= 9544ac_sed_dataroot=' 9545/datarootdir/ { 9546 p 9547 q 9548} 9549/@datadir@/p 9550/@docdir@/p 9551/@infodir@/p 9552/@localedir@/p 9553/@mandir@/p' 9554case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9555*datarootdir*) ac_datarootdir_seen=yes;; 9556*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9558$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9559_ACEOF 9560cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9561 ac_datarootdir_hack=' 9562 s&@datadir@&$datadir&g 9563 s&@docdir@&$docdir&g 9564 s&@infodir@&$infodir&g 9565 s&@localedir@&$localedir&g 9566 s&@mandir@&$mandir&g 9567 s&\\\${datarootdir}&$datarootdir&g' ;; 9568esac 9569_ACEOF 9570 9571# Neutralize VPATH when `$srcdir' = `.'. 9572# Shell code in configure.ac might set extrasub. 9573# FIXME: do we really want to maintain this feature? 9574cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9575ac_sed_extra="$ac_vpsub 9576$extrasub 9577_ACEOF 9578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9579:t 9580/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9581s|@configure_input@|$ac_sed_conf_input|;t t 9582s&@top_builddir@&$ac_top_builddir_sub&;t t 9583s&@top_build_prefix@&$ac_top_build_prefix&;t t 9584s&@srcdir@&$ac_srcdir&;t t 9585s&@abs_srcdir@&$ac_abs_srcdir&;t t 9586s&@top_srcdir@&$ac_top_srcdir&;t t 9587s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9588s&@builddir@&$ac_builddir&;t t 9589s&@abs_builddir@&$ac_abs_builddir&;t t 9590s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9591s&@INSTALL@&$ac_INSTALL&;t t 9592s&@MKDIR_P@&$ac_MKDIR_P&;t t 9593$ac_datarootdir_hack 9594" 9595eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9596 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9597 9598test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9599 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9600 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9601 "$ac_tmp/out"`; test -z "$ac_out"; } && 9602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9603which seems to be undefined. Please make sure it is defined" >&5 9604$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9605which seems to be undefined. Please make sure it is defined" >&2;} 9606 9607 rm -f "$ac_tmp/stdin" 9608 case $ac_file in 9609 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9610 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9611 esac \ 9612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9613 ;; 9614 9615 9616 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9617$as_echo "$as_me: executing $ac_file commands" >&6;} 9618 ;; 9619 esac 9620 9621 9622 case $ac_file$ac_mode in 9623 "po-directories":C) 9624 for ac_file in $CONFIG_FILES; do 9625 # Support "outfile[:infile[:infile...]]" 9626 case "$ac_file" in 9627 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 9628 esac 9629 # PO directories have a Makefile.in generated from Makefile.in.in. 9630 case "$ac_file" in */Makefile.in) 9631 # Adjust a relative srcdir. 9632 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 9633 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 9634 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 9635 # In autoconf-2.13 it is called $ac_given_srcdir. 9636 # In autoconf-2.50 it is called $srcdir. 9637 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 9638 case "$ac_given_srcdir" in 9639 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 9640 /*) top_srcdir="$ac_given_srcdir" ;; 9641 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 9642 esac 9643 # Treat a directory as a PO directory if and only if it has a 9644 # POTFILES.in file. This allows packages to have multiple PO 9645 # directories under different names or in different locations. 9646 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 9647 rm -f "$ac_dir/POTFILES" 9648 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 9649 gt_tab=`printf '\t'` 9650 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" 9651 POMAKEFILEDEPS="POTFILES.in" 9652 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 9653 # on $ac_dir but don't depend on user-specified configuration 9654 # parameters. 9655 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 9656 # The LINGUAS file contains the set of available languages. 9657 if test -n "$OBSOLETE_ALL_LINGUAS"; then 9658 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 9659 fi 9660 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 9661 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 9662 else 9663 # The set of available languages was given in configure.in. 9664 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS 9665 fi 9666 # Compute POFILES 9667 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 9668 # Compute UPDATEPOFILES 9669 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 9670 # Compute DUMMYPOFILES 9671 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 9672 # Compute GMOFILES 9673 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 9674 case "$ac_given_srcdir" in 9675 .) srcdirpre= ;; 9676 *) srcdirpre='$(srcdir)/' ;; 9677 esac 9678 POFILES= 9679 UPDATEPOFILES= 9680 DUMMYPOFILES= 9681 GMOFILES= 9682 for lang in $ALL_LINGUAS; do 9683 POFILES="$POFILES $srcdirpre$lang.po" 9684 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 9685 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 9686 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 9687 done 9688 # CATALOGS depends on both $ac_dir and the user's LINGUAS 9689 # environment variable. 9690 INST_LINGUAS= 9691 if test -n "$ALL_LINGUAS"; then 9692 for presentlang in $ALL_LINGUAS; do 9693 useit=no 9694 if test "%UNSET%" != "$LINGUAS"; then 9695 desiredlanguages="$LINGUAS" 9696 else 9697 desiredlanguages="$ALL_LINGUAS" 9698 fi 9699 for desiredlang in $desiredlanguages; do 9700 # Use the presentlang catalog if desiredlang is 9701 # a. equal to presentlang, or 9702 # b. a variant of presentlang (because in this case, 9703 # presentlang can be used as a fallback for messages 9704 # which are not translated in the desiredlang catalog). 9705 case "$desiredlang" in 9706 "$presentlang"*) useit=yes;; 9707 esac 9708 done 9709 if test $useit = yes; then 9710 INST_LINGUAS="$INST_LINGUAS $presentlang" 9711 fi 9712 done 9713 fi 9714 CATALOGS= 9715 if test -n "$INST_LINGUAS"; then 9716 for lang in $INST_LINGUAS; do 9717 CATALOGS="$CATALOGS $lang.gmo" 9718 done 9719 fi 9720 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 9721 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" 9722 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 9723 if test -f "$f"; then 9724 case "$f" in 9725 *.orig | *.bak | *~) ;; 9726 *) cat "$f" >> "$ac_dir/Makefile" ;; 9727 esac 9728 fi 9729 done 9730 fi 9731 ;; 9732 esac 9733 done ;; 9734 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9735 # Older Autoconf quotes --file arguments for eval, but not when files 9736 # are listed without --file. Let's play safe and only enable the eval 9737 # if we detect the quoting. 9738 # TODO: see whether this extra hack can be removed once we start 9739 # requiring Autoconf 2.70 or later. 9740 case $CONFIG_FILES in #( 9741 *\'*) : 9742 eval set x "$CONFIG_FILES" ;; #( 9743 *) : 9744 set x $CONFIG_FILES ;; #( 9745 *) : 9746 ;; 9747esac 9748 shift 9749 # Used to flag and report bootstrapping failures. 9750 am_rc=0 9751 for am_mf 9752 do 9753 # Strip MF so we end up with the name of the file. 9754 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 9755 # Check whether this is an Automake generated Makefile which includes 9756 # dependency-tracking related rules and includes. 9757 # Grep'ing the whole file directly is not great: AIX grep has a line 9758 # limit of 2048, but all sed's we know have understand at least 4000. 9759 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 9760 || continue 9761 am_dirpart=`$as_dirname -- "$am_mf" || 9762$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9763 X"$am_mf" : 'X\(//\)[^/]' \| \ 9764 X"$am_mf" : 'X\(//\)$' \| \ 9765 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9766$as_echo X"$am_mf" | 9767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9768 s//\1/ 9769 q 9770 } 9771 /^X\(\/\/\)[^/].*/{ 9772 s//\1/ 9773 q 9774 } 9775 /^X\(\/\/\)$/{ 9776 s//\1/ 9777 q 9778 } 9779 /^X\(\/\).*/{ 9780 s//\1/ 9781 q 9782 } 9783 s/.*/./; q'` 9784 am_filepart=`$as_basename -- "$am_mf" || 9785$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 9786 X"$am_mf" : 'X\(//\)$' \| \ 9787 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9788$as_echo X/"$am_mf" | 9789 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9790 s//\1/ 9791 q 9792 } 9793 /^X\/\(\/\/\)$/{ 9794 s//\1/ 9795 q 9796 } 9797 /^X\/\(\/\).*/{ 9798 s//\1/ 9799 q 9800 } 9801 s/.*/./; q'` 9802 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 9803 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9804 | $MAKE -f - am--depfiles" >&5 9805 (cd "$am_dirpart" \ 9806 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9807 | $MAKE -f - am--depfiles) >&5 2>&5 9808 ac_status=$? 9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9810 (exit $ac_status); } || am_rc=$? 9811 done 9812 if test $am_rc -ne 0; then 9813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9815as_fn_error $? "Something went wrong bootstrapping makefile fragments 9816 for automatic dependency tracking. If GNU make was not used, consider 9817 re-running the configure script with MAKE=\"gmake\" (or whatever is 9818 necessary). You can also try re-running configure with the 9819 '--disable-dependency-tracking' option to at least be able to build 9820 the package (albeit without support for automatic dependency tracking). 9821See \`config.log' for more details" "$LINENO" 5; } 9822 fi 9823 { am_dirpart=; unset am_dirpart;} 9824 { am_filepart=; unset am_filepart;} 9825 { am_mf=; unset am_mf;} 9826 { am_rc=; unset am_rc;} 9827 rm -f conftest-deps.mk 9828} 9829 ;; 9830 9831 esac 9832done # for ac_tag 9833 9834 9835as_fn_exit 0 9836_ACEOF 9837ac_clean_files=$ac_clean_files_save 9838 9839test $ac_write_fail = 0 || 9840 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9841 9842 9843# configure is writing to config.log, and then calls config.status. 9844# config.status does its own redirection, appending to config.log. 9845# Unfortunately, on DOS this fails, as config.log is still kept open 9846# by configure, so config.status won't be able to write to it; its 9847# output is simply discarded. So we exec the FD to /dev/null, 9848# effectively closing config.log, so it can be properly (re)opened and 9849# appended to by config.status. When coming back to configure, we 9850# need to make the FD available again. 9851if test "$no_create" != yes; then 9852 ac_cs_success=: 9853 ac_config_status_args= 9854 test "$silent" = yes && 9855 ac_config_status_args="$ac_config_status_args --quiet" 9856 exec 5>/dev/null 9857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9858 exec 5>>config.log 9859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9860 # would make configure fail if this is the last instruction. 9861 $ac_cs_success || as_fn_exit 1 9862fi 9863if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9865$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9866fi 9867 9868 9869echo " 9870Configure summary: 9871 9872 ${PACKAGE_STRING} 9873 `echo $PACKAGE_STRING | sed "s/./=/g"` 9874 9875 Native Language support.....: ${USE_NLS} 9876" 9877