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