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