1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Florence virtual keyboard 0.6.3. 4# 5# Report bugs to <f.agrech@gmail.com>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and f.agrech@gmail.com 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='Florence virtual keyboard' 592PACKAGE_TARNAME='florence' 593PACKAGE_VERSION='0.6.3' 594PACKAGE_STRING='Florence virtual keyboard 0.6.3' 595PACKAGE_BUGREPORT='f.agrech@gmail.com' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='am__EXEEXT_FALSE 635am__EXEEXT_TRUE 636LTLIBOBJS 637ICONDIR 638LIBOBJS 639ALLOCA 640LIBM 641LIBGNOME_LIBS 642LIBGNOME_CFLAGS 643GNOME_DOCS_UTILS_LIBS 644GNOME_DOCS_UTILS_CFLAGS 645X11_LIBS 646X11_CFLAGS 647AT_SPI2_LIBS 648AT_SPI2_CFLAGS 649XTST_LIBS 650XTST_CFLAGS 651LIBNOTIFY_ICON_LIBS 652LIBNOTIFY_ICON_CFLAGS 653LIBNOTIFY_LIBS 654LIBNOTIFY_CFLAGS 655GNOME_DOC_UTILS_LIBS 656GNOME_DOC_UTILS_CFLAGS 657GIO_LIBS 658GIO_CFLAGS 659GTK3_LIBS 660GTK3_CFLAGS 661DEPS_LIBS 662DEPS_CFLAGS 663SCROLLKEEPER_BUILD_REQUIRED 664SK_CONFIG 665HAVE_GNOME_DOC_UTILS_FALSE 666HAVE_GNOME_DOC_UTILS_TRUE 667DISTCHECK_CONFIGURE_FLAGS 668ENABLE_SK_FALSE 669ENABLE_SK_TRUE 670DOC_USER_FORMATS 671OMF_DIR 672HELP_DIR 673GSETTINGS_RULES 674GLIB_COMPILE_SCHEMAS 675gsettingsschemadir 676GSETTINGS_DISABLE_SCHEMAS_COMPILE 677PKG_CONFIG_LIBDIR 678PKG_CONFIG_PATH 679PKG_CONFIG 680florencelocaledir 681MKINSTALLDIRS 682POSUB 683POFILES 684PO_IN_DATADIR_FALSE 685PO_IN_DATADIR_TRUE 686INTLLIBS 687INSTOBJEXT 688GMOFILES 689CATOBJEXT 690CATALOGS 691MSGFMT_OPTS 692GETTEXT_PACKAGE 693DATADIRNAME 694ALL_LINGUAS 695INTLTOOL_PERL 696GMSGFMT 697MSGFMT 698MSGMERGE 699XGETTEXT 700INTLTOOL_POLICY_RULE 701INTLTOOL_SERVICE_RULE 702INTLTOOL_THEME_RULE 703INTLTOOL_SCHEMAS_RULE 704INTLTOOL_CAVES_RULE 705INTLTOOL_XML_NOMERGE_RULE 706INTLTOOL_XML_RULE 707INTLTOOL_KBD_RULE 708INTLTOOL_XAM_RULE 709INTLTOOL_UI_RULE 710INTLTOOL_SOUNDLIST_RULE 711INTLTOOL_SHEET_RULE 712INTLTOOL_SERVER_RULE 713INTLTOOL_PONG_RULE 714INTLTOOL_OAF_RULE 715INTLTOOL_PROP_RULE 716INTLTOOL_KEYS_RULE 717INTLTOOL_DIRECTORY_RULE 718INTLTOOL_DESKTOP_RULE 719intltool__v_merge_options_0 720intltool__v_merge_options_ 721INTLTOOL_V_MERGE_OPTIONS 722INTLTOOL__v_MERGE_0 723INTLTOOL__v_MERGE_ 724INTLTOOL_V_MERGE 725INTLTOOL_EXTRACT 726INTLTOOL_MERGE 727INTLTOOL_UPDATE 728USE_NLS 729WITH_RAMBLE_FALSE 730WITH_RAMBLE_TRUE 731WITH_XKB_FALSE 732WITH_XKB_TRUE 733WITH_AT_SPI_FALSE 734WITH_AT_SPI_TRUE 735WITH_XRECORD_FALSE 736WITH_XRECORD_TRUE 737WITH_XTST_FALSE 738WITH_XTST_TRUE 739WITH_NOTIFICATION_FALSE 740WITH_NOTIFICATION_TRUE 741WITH_DOCS_FALSE 742WITH_DOCS_TRUE 743CPP 744OTOOL64 745OTOOL 746LIPO 747NMEDIT 748DSYMUTIL 749MANIFEST_TOOL 750RANLIB 751ac_ct_AR 752AR 753DLLTOOL 754OBJDUMP 755LN_S 756NM 757ac_ct_DUMPBIN 758DUMPBIN 759LD 760FGREP 761EGREP 762GREP 763SED 764am__fastdepCC_FALSE 765am__fastdepCC_TRUE 766CCDEPMODE 767am__nodep 768AMDEPBACKSLASH 769AMDEP_FALSE 770AMDEP_TRUE 771am__quote 772am__include 773DEPDIR 774OBJEXT 775EXEEXT 776ac_ct_CC 777CPPFLAGS 778LDFLAGS 779CFLAGS 780CC 781host_os 782host_vendor 783host_cpu 784host 785build_os 786build_vendor 787build_cpu 788build 789LIBTOOL 790AM_BACKSLASH 791AM_DEFAULT_VERBOSITY 792AM_DEFAULT_V 793AM_V 794am__untar 795am__tar 796AMTAR 797am__leading_dot 798SET_MAKE 799AWK 800mkdir_p 801MKDIR_P 802INSTALL_STRIP_PROGRAM 803STRIP 804install_sh 805MAKEINFO 806AUTOHEADER 807AUTOMAKE 808AUTOCONF 809ACLOCAL 810VERSION 811PACKAGE 812CYGPATH_W 813am__isrc 814INSTALL_DATA 815INSTALL_SCRIPT 816INSTALL_PROGRAM 817target_alias 818host_alias 819build_alias 820LIBS 821ECHO_T 822ECHO_N 823ECHO_C 824DEFS 825mandir 826localedir 827libdir 828psdir 829pdfdir 830dvidir 831htmldir 832infodir 833docdir 834oldincludedir 835includedir 836localstatedir 837sharedstatedir 838sysconfdir 839datadir 840datarootdir 841libexecdir 842sbindir 843bindir 844program_transform_name 845prefix 846exec_prefix 847PACKAGE_URL 848PACKAGE_BUGREPORT 849PACKAGE_STRING 850PACKAGE_VERSION 851PACKAGE_TARNAME 852PACKAGE_NAME 853PATH_SEPARATOR 854SHELL' 855ac_subst_files='' 856ac_user_opts=' 857enable_option_checking 858enable_silent_rules 859enable_shared 860enable_static 861with_pic 862enable_fast_install 863enable_dependency_tracking 864with_gnu_ld 865with_sysroot 866enable_libtool_lock 867with_docs 868with_notification 869with_xtst 870with_xrecord 871with_at_spi 872with_panelapplet 873with_xkb 874with_ramble 875enable_nls 876enable_schemas_compile 877with_help_dir 878with_omf_dir 879with_help_formats 880enable_scrollkeeper 881' 882 ac_precious_vars='build_alias 883host_alias 884target_alias 885CC 886CFLAGS 887LDFLAGS 888LIBS 889CPPFLAGS 890CPP 891PKG_CONFIG 892PKG_CONFIG_PATH 893PKG_CONFIG_LIBDIR 894DEPS_CFLAGS 895DEPS_LIBS 896GTK3_CFLAGS 897GTK3_LIBS 898GIO_CFLAGS 899GIO_LIBS 900GNOME_DOC_UTILS_CFLAGS 901GNOME_DOC_UTILS_LIBS 902LIBNOTIFY_CFLAGS 903LIBNOTIFY_LIBS 904LIBNOTIFY_ICON_CFLAGS 905LIBNOTIFY_ICON_LIBS 906XTST_CFLAGS 907XTST_LIBS 908AT_SPI2_CFLAGS 909AT_SPI2_LIBS 910X11_CFLAGS 911X11_LIBS' 912 913 914# Initialize some variables set by options. 915ac_init_help= 916ac_init_version=false 917ac_unrecognized_opts= 918ac_unrecognized_sep= 919# The variables have the same names as the options, with 920# dashes changed to underlines. 921cache_file=/dev/null 922exec_prefix=NONE 923no_create= 924no_recursion= 925prefix=NONE 926program_prefix=NONE 927program_suffix=NONE 928program_transform_name=s,x,x, 929silent= 930site= 931srcdir= 932verbose= 933x_includes=NONE 934x_libraries=NONE 935 936# Installation directory options. 937# These are left unexpanded so users can "make install exec_prefix=/foo" 938# and all the variables that are supposed to be based on exec_prefix 939# by default will actually change. 940# Use braces instead of parens because sh, perl, etc. also accept them. 941# (The list follows the same order as the GNU Coding Standards.) 942bindir='${exec_prefix}/bin' 943sbindir='${exec_prefix}/sbin' 944libexecdir='${exec_prefix}/libexec' 945datarootdir='${prefix}/share' 946datadir='${datarootdir}' 947sysconfdir='${prefix}/etc' 948sharedstatedir='${prefix}/com' 949localstatedir='${prefix}/var' 950includedir='${prefix}/include' 951oldincludedir='/usr/include' 952docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 953infodir='${datarootdir}/info' 954htmldir='${docdir}' 955dvidir='${docdir}' 956pdfdir='${docdir}' 957psdir='${docdir}' 958libdir='${exec_prefix}/lib' 959localedir='${datarootdir}/locale' 960mandir='${datarootdir}/man' 961 962ac_prev= 963ac_dashdash= 964for ac_option 965do 966 # If the previous option needs an argument, assign it. 967 if test -n "$ac_prev"; then 968 eval $ac_prev=\$ac_option 969 ac_prev= 970 continue 971 fi 972 973 case $ac_option in 974 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 975 *=) ac_optarg= ;; 976 *) ac_optarg=yes ;; 977 esac 978 979 # Accept the important Cygnus configure options, so we can diagnose typos. 980 981 case $ac_dashdash$ac_option in 982 --) 983 ac_dashdash=yes ;; 984 985 -bindir | --bindir | --bindi | --bind | --bin | --bi) 986 ac_prev=bindir ;; 987 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 988 bindir=$ac_optarg ;; 989 990 -build | --build | --buil | --bui | --bu) 991 ac_prev=build_alias ;; 992 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 993 build_alias=$ac_optarg ;; 994 995 -cache-file | --cache-file | --cache-fil | --cache-fi \ 996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 997 ac_prev=cache_file ;; 998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1000 cache_file=$ac_optarg ;; 1001 1002 --config-cache | -C) 1003 cache_file=config.cache ;; 1004 1005 -datadir | --datadir | --datadi | --datad) 1006 ac_prev=datadir ;; 1007 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1008 datadir=$ac_optarg ;; 1009 1010 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1011 | --dataroo | --dataro | --datar) 1012 ac_prev=datarootdir ;; 1013 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1014 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1015 datarootdir=$ac_optarg ;; 1016 1017 -disable-* | --disable-*) 1018 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1019 # Reject names that are not valid shell variable names. 1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1021 as_fn_error $? "invalid feature name: $ac_useropt" 1022 ac_useropt_orig=$ac_useropt 1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1024 case $ac_user_opts in 1025 *" 1026"enable_$ac_useropt" 1027"*) ;; 1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1029 ac_unrecognized_sep=', ';; 1030 esac 1031 eval enable_$ac_useropt=no ;; 1032 1033 -docdir | --docdir | --docdi | --doc | --do) 1034 ac_prev=docdir ;; 1035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1036 docdir=$ac_optarg ;; 1037 1038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1039 ac_prev=dvidir ;; 1040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1041 dvidir=$ac_optarg ;; 1042 1043 -enable-* | --enable-*) 1044 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1045 # Reject names that are not valid shell variable names. 1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1047 as_fn_error $? "invalid feature name: $ac_useropt" 1048 ac_useropt_orig=$ac_useropt 1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1050 case $ac_user_opts in 1051 *" 1052"enable_$ac_useropt" 1053"*) ;; 1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1055 ac_unrecognized_sep=', ';; 1056 esac 1057 eval enable_$ac_useropt=\$ac_optarg ;; 1058 1059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1061 | --exec | --exe | --ex) 1062 ac_prev=exec_prefix ;; 1063 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1064 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1065 | --exec=* | --exe=* | --ex=*) 1066 exec_prefix=$ac_optarg ;; 1067 1068 -gas | --gas | --ga | --g) 1069 # Obsolete; use --with-gas. 1070 with_gas=yes ;; 1071 1072 -help | --help | --hel | --he | -h) 1073 ac_init_help=long ;; 1074 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1075 ac_init_help=recursive ;; 1076 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1077 ac_init_help=short ;; 1078 1079 -host | --host | --hos | --ho) 1080 ac_prev=host_alias ;; 1081 -host=* | --host=* | --hos=* | --ho=*) 1082 host_alias=$ac_optarg ;; 1083 1084 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1085 ac_prev=htmldir ;; 1086 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1087 | --ht=*) 1088 htmldir=$ac_optarg ;; 1089 1090 -includedir | --includedir | --includedi | --included | --include \ 1091 | --includ | --inclu | --incl | --inc) 1092 ac_prev=includedir ;; 1093 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1094 | --includ=* | --inclu=* | --incl=* | --inc=*) 1095 includedir=$ac_optarg ;; 1096 1097 -infodir | --infodir | --infodi | --infod | --info | --inf) 1098 ac_prev=infodir ;; 1099 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1100 infodir=$ac_optarg ;; 1101 1102 -libdir | --libdir | --libdi | --libd) 1103 ac_prev=libdir ;; 1104 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1105 libdir=$ac_optarg ;; 1106 1107 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1108 | --libexe | --libex | --libe) 1109 ac_prev=libexecdir ;; 1110 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1111 | --libexe=* | --libex=* | --libe=*) 1112 libexecdir=$ac_optarg ;; 1113 1114 -localedir | --localedir | --localedi | --localed | --locale) 1115 ac_prev=localedir ;; 1116 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1117 localedir=$ac_optarg ;; 1118 1119 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1120 | --localstate | --localstat | --localsta | --localst | --locals) 1121 ac_prev=localstatedir ;; 1122 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1123 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1124 localstatedir=$ac_optarg ;; 1125 1126 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1127 ac_prev=mandir ;; 1128 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1129 mandir=$ac_optarg ;; 1130 1131 -nfp | --nfp | --nf) 1132 # Obsolete; use --without-fp. 1133 with_fp=no ;; 1134 1135 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1136 | --no-cr | --no-c | -n) 1137 no_create=yes ;; 1138 1139 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1140 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1141 no_recursion=yes ;; 1142 1143 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1144 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1145 | --oldin | --oldi | --old | --ol | --o) 1146 ac_prev=oldincludedir ;; 1147 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1148 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1149 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1150 oldincludedir=$ac_optarg ;; 1151 1152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1153 ac_prev=prefix ;; 1154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1155 prefix=$ac_optarg ;; 1156 1157 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1158 | --program-pre | --program-pr | --program-p) 1159 ac_prev=program_prefix ;; 1160 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1161 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1162 program_prefix=$ac_optarg ;; 1163 1164 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1165 | --program-suf | --program-su | --program-s) 1166 ac_prev=program_suffix ;; 1167 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1168 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1169 program_suffix=$ac_optarg ;; 1170 1171 -program-transform-name | --program-transform-name \ 1172 | --program-transform-nam | --program-transform-na \ 1173 | --program-transform-n | --program-transform- \ 1174 | --program-transform | --program-transfor \ 1175 | --program-transfo | --program-transf \ 1176 | --program-trans | --program-tran \ 1177 | --progr-tra | --program-tr | --program-t) 1178 ac_prev=program_transform_name ;; 1179 -program-transform-name=* | --program-transform-name=* \ 1180 | --program-transform-nam=* | --program-transform-na=* \ 1181 | --program-transform-n=* | --program-transform-=* \ 1182 | --program-transform=* | --program-transfor=* \ 1183 | --program-transfo=* | --program-transf=* \ 1184 | --program-trans=* | --program-tran=* \ 1185 | --progr-tra=* | --program-tr=* | --program-t=*) 1186 program_transform_name=$ac_optarg ;; 1187 1188 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1189 ac_prev=pdfdir ;; 1190 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1191 pdfdir=$ac_optarg ;; 1192 1193 -psdir | --psdir | --psdi | --psd | --ps) 1194 ac_prev=psdir ;; 1195 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1196 psdir=$ac_optarg ;; 1197 1198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1199 | -silent | --silent | --silen | --sile | --sil) 1200 silent=yes ;; 1201 1202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1203 ac_prev=sbindir ;; 1204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1205 | --sbi=* | --sb=*) 1206 sbindir=$ac_optarg ;; 1207 1208 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1210 | --sharedst | --shareds | --shared | --share | --shar \ 1211 | --sha | --sh) 1212 ac_prev=sharedstatedir ;; 1213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1216 | --sha=* | --sh=*) 1217 sharedstatedir=$ac_optarg ;; 1218 1219 -site | --site | --sit) 1220 ac_prev=site ;; 1221 -site=* | --site=* | --sit=*) 1222 site=$ac_optarg ;; 1223 1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1225 ac_prev=srcdir ;; 1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1227 srcdir=$ac_optarg ;; 1228 1229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1230 | --syscon | --sysco | --sysc | --sys | --sy) 1231 ac_prev=sysconfdir ;; 1232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1234 sysconfdir=$ac_optarg ;; 1235 1236 -target | --target | --targe | --targ | --tar | --ta | --t) 1237 ac_prev=target_alias ;; 1238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1239 target_alias=$ac_optarg ;; 1240 1241 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1242 verbose=yes ;; 1243 1244 -version | --version | --versio | --versi | --vers | -V) 1245 ac_init_version=: ;; 1246 1247 -with-* | --with-*) 1248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1249 # Reject names that are not valid shell variable names. 1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1251 as_fn_error $? "invalid package name: $ac_useropt" 1252 ac_useropt_orig=$ac_useropt 1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1254 case $ac_user_opts in 1255 *" 1256"with_$ac_useropt" 1257"*) ;; 1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1259 ac_unrecognized_sep=', ';; 1260 esac 1261 eval with_$ac_useropt=\$ac_optarg ;; 1262 1263 -without-* | --without-*) 1264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1265 # Reject names that are not valid shell variable names. 1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1267 as_fn_error $? "invalid package name: $ac_useropt" 1268 ac_useropt_orig=$ac_useropt 1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1270 case $ac_user_opts in 1271 *" 1272"with_$ac_useropt" 1273"*) ;; 1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1275 ac_unrecognized_sep=', ';; 1276 esac 1277 eval with_$ac_useropt=no ;; 1278 1279 --x) 1280 # Obsolete; use --with-x. 1281 with_x=yes ;; 1282 1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1284 | --x-incl | --x-inc | --x-in | --x-i) 1285 ac_prev=x_includes ;; 1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1288 x_includes=$ac_optarg ;; 1289 1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1292 ac_prev=x_libraries ;; 1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1295 x_libraries=$ac_optarg ;; 1296 1297 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1298Try \`$0 --help' for more information" 1299 ;; 1300 1301 *=*) 1302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1303 # Reject names that are not valid shell variable names. 1304 case $ac_envvar in #( 1305 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1306 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1307 esac 1308 eval $ac_envvar=\$ac_optarg 1309 export $ac_envvar ;; 1310 1311 *) 1312 # FIXME: should be removed in autoconf 3.0. 1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1316 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1317 ;; 1318 1319 esac 1320done 1321 1322if test -n "$ac_prev"; then 1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1324 as_fn_error $? "missing argument to $ac_option" 1325fi 1326 1327if test -n "$ac_unrecognized_opts"; then 1328 case $enable_option_checking in 1329 no) ;; 1330 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1332 esac 1333fi 1334 1335# Check all directory arguments for consistency. 1336for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1337 datadir sysconfdir sharedstatedir localstatedir includedir \ 1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1339 libdir localedir mandir 1340do 1341 eval ac_val=\$$ac_var 1342 # Remove trailing slashes. 1343 case $ac_val in 1344 */ ) 1345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1346 eval $ac_var=\$ac_val;; 1347 esac 1348 # Be sure to have absolute directory names. 1349 case $ac_val in 1350 [\\/$]* | ?:[\\/]* ) continue;; 1351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1352 esac 1353 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1354done 1355 1356# There might be people who depend on the old broken behavior: `$host' 1357# used to hold the argument of --host etc. 1358# FIXME: To remove some day. 1359build=$build_alias 1360host=$host_alias 1361target=$target_alias 1362 1363# FIXME: To remove some day. 1364if test "x$host_alias" != x; then 1365 if test "x$build_alias" = x; then 1366 cross_compiling=maybe 1367 elif test "x$build_alias" != "x$host_alias"; then 1368 cross_compiling=yes 1369 fi 1370fi 1371 1372ac_tool_prefix= 1373test -n "$host_alias" && ac_tool_prefix=$host_alias- 1374 1375test "$silent" = yes && exec 6>/dev/null 1376 1377 1378ac_pwd=`pwd` && test -n "$ac_pwd" && 1379ac_ls_di=`ls -di .` && 1380ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1381 as_fn_error $? "working directory cannot be determined" 1382test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1383 as_fn_error $? "pwd does not report name of working directory" 1384 1385 1386# Find the source files, if location was not specified. 1387if test -z "$srcdir"; then 1388 ac_srcdir_defaulted=yes 1389 # Try the directory containing this script, then the parent directory. 1390 ac_confdir=`$as_dirname -- "$as_myself" || 1391$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1392 X"$as_myself" : 'X\(//\)[^/]' \| \ 1393 X"$as_myself" : 'X\(//\)$' \| \ 1394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1395$as_echo X"$as_myself" | 1396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1397 s//\1/ 1398 q 1399 } 1400 /^X\(\/\/\)[^/].*/{ 1401 s//\1/ 1402 q 1403 } 1404 /^X\(\/\/\)$/{ 1405 s//\1/ 1406 q 1407 } 1408 /^X\(\/\).*/{ 1409 s//\1/ 1410 q 1411 } 1412 s/.*/./; q'` 1413 srcdir=$ac_confdir 1414 if test ! -r "$srcdir/$ac_unique_file"; then 1415 srcdir=.. 1416 fi 1417else 1418 ac_srcdir_defaulted=no 1419fi 1420if test ! -r "$srcdir/$ac_unique_file"; then 1421 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1422 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1423fi 1424ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1425ac_abs_confdir=`( 1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1427 pwd)` 1428# When building in place, set srcdir=. 1429if test "$ac_abs_confdir" = "$ac_pwd"; then 1430 srcdir=. 1431fi 1432# Remove unnecessary trailing slashes from srcdir. 1433# Double slashes in file names in object file debugging info 1434# mess up M-x gdb in Emacs. 1435case $srcdir in 1436*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1437esac 1438for ac_var in $ac_precious_vars; do 1439 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1440 eval ac_env_${ac_var}_value=\$${ac_var} 1441 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1442 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1443done 1444 1445# 1446# Report the --help message. 1447# 1448if test "$ac_init_help" = "long"; then 1449 # Omit some internal or obsolete options to make the list less imposing. 1450 # This message is too long to be a string in the A/UX 3.1 sh. 1451 cat <<_ACEOF 1452\`configure' configures Florence virtual keyboard 0.6.3 to adapt to many kinds of systems. 1453 1454Usage: $0 [OPTION]... [VAR=VALUE]... 1455 1456To assign environment variables (e.g., CC, CFLAGS...), specify them as 1457VAR=VALUE. See below for descriptions of some of the useful variables. 1458 1459Defaults for the options are specified in brackets. 1460 1461Configuration: 1462 -h, --help display this help and exit 1463 --help=short display options specific to this package 1464 --help=recursive display the short help of all the included packages 1465 -V, --version display version information and exit 1466 -q, --quiet, --silent do not print \`checking ...' messages 1467 --cache-file=FILE cache test results in FILE [disabled] 1468 -C, --config-cache alias for \`--cache-file=config.cache' 1469 -n, --no-create do not create output files 1470 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1471 1472Installation directories: 1473 --prefix=PREFIX install architecture-independent files in PREFIX 1474 [$ac_default_prefix] 1475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1476 [PREFIX] 1477 1478By default, \`make install' will install all the files in 1479\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1480an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1481for instance \`--prefix=\$HOME'. 1482 1483For better control, use the options below. 1484 1485Fine tuning of the installation directories: 1486 --bindir=DIR user executables [EPREFIX/bin] 1487 --sbindir=DIR system admin executables [EPREFIX/sbin] 1488 --libexecdir=DIR program executables [EPREFIX/libexec] 1489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1491 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1492 --libdir=DIR object code libraries [EPREFIX/lib] 1493 --includedir=DIR C header files [PREFIX/include] 1494 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1495 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1496 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1497 --infodir=DIR info documentation [DATAROOTDIR/info] 1498 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1499 --mandir=DIR man documentation [DATAROOTDIR/man] 1500 --docdir=DIR documentation root [DATAROOTDIR/doc/florence] 1501 --htmldir=DIR html documentation [DOCDIR] 1502 --dvidir=DIR dvi documentation [DOCDIR] 1503 --pdfdir=DIR pdf documentation [DOCDIR] 1504 --psdir=DIR ps documentation [DOCDIR] 1505_ACEOF 1506 1507 cat <<\_ACEOF 1508 1509Program names: 1510 --program-prefix=PREFIX prepend PREFIX to installed program names 1511 --program-suffix=SUFFIX append SUFFIX to installed program names 1512 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1513 1514System types: 1515 --build=BUILD configure for building on BUILD [guessed] 1516 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1517_ACEOF 1518fi 1519 1520if test -n "$ac_init_help"; then 1521 case $ac_init_help in 1522 short | recursive ) echo "Configuration of Florence virtual keyboard 0.6.3:";; 1523 esac 1524 cat <<\_ACEOF 1525 1526Optional Features: 1527 --disable-option-checking ignore unrecognized --enable/--with options 1528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1530 --enable-silent-rules less verbose build output (undo: "make V=1") 1531 --disable-silent-rules verbose build output (undo: "make V=0") 1532 --enable-shared[=PKGS] build shared libraries [default=yes] 1533 --enable-static[=PKGS] build static libraries [default=yes] 1534 --enable-fast-install[=PKGS] 1535 optimize for fast installation [default=yes] 1536 --enable-dependency-tracking 1537 do not reject slow dependency extractors 1538 --disable-dependency-tracking 1539 speeds up one-time build 1540 --disable-libtool-lock avoid locking (might break parallel builds) 1541 --disable-nls do not use Native Language Support 1542 --disable-schemas-compile 1543 Disable regeneration of gschemas.compiled on install 1544 --disable-scrollkeeper do not make updates to the scrollkeeper database 1545 1546Optional Packages: 1547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1549 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1550 both] 1551 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1552 --with-sysroot=DIR Search for dependent libraries within DIR 1553 (or the compiler's sysroot if not specified). 1554 --without-docs Build without docs (default: enabled) 1555 --without-notification Build without notification (default: enabled) 1556 --without-xtst Build without Xtst extension (default: enabled) 1557 --without-xrecord Build without XRecord extension (requires the Xtst 1558 extension) (default: enabled) 1559 --without-at-spi Build without at-spi(default: enabled) 1560 --without-panelapplet Build without libpanelapplet(default: enabled) 1561 --without-xkb Build without xkb(default: enabled) 1562 --without-ramble Build without ramble mode (default: enabled) 1563 --with-help-dir=DIR path to help docs 1564 --with-omf-dir=DIR path to OMF files 1565 --with-help-formats=FORMATS 1566 list of formats 1567 1568Some influential environment variables: 1569 CC C compiler command 1570 CFLAGS C compiler flags 1571 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1572 nonstandard directory <lib dir> 1573 LIBS libraries to pass to the linker, e.g. -l<library> 1574 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1575 you have headers in a nonstandard directory <include dir> 1576 CPP C preprocessor 1577 PKG_CONFIG path to pkg-config utility 1578 PKG_CONFIG_PATH 1579 directories to add to pkg-config's search path 1580 PKG_CONFIG_LIBDIR 1581 path overriding pkg-config's built-in search path 1582 DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config 1583 DEPS_LIBS linker flags for DEPS, overriding pkg-config 1584 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config 1585 GTK3_LIBS linker flags for GTK3, overriding pkg-config 1586 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config 1587 GIO_LIBS linker flags for GIO, overriding pkg-config 1588 GNOME_DOC_UTILS_CFLAGS 1589 C compiler flags for GNOME_DOC_UTILS, overriding pkg-config 1590 GNOME_DOC_UTILS_LIBS 1591 linker flags for GNOME_DOC_UTILS, overriding pkg-config 1592 LIBNOTIFY_CFLAGS 1593 C compiler flags for LIBNOTIFY, overriding pkg-config 1594 LIBNOTIFY_LIBS 1595 linker flags for LIBNOTIFY, overriding pkg-config 1596 LIBNOTIFY_ICON_CFLAGS 1597 C compiler flags for LIBNOTIFY_ICON, overriding pkg-config 1598 LIBNOTIFY_ICON_LIBS 1599 linker flags for LIBNOTIFY_ICON, overriding pkg-config 1600 XTST_CFLAGS C compiler flags for XTST, overriding pkg-config 1601 XTST_LIBS linker flags for XTST, overriding pkg-config 1602 AT_SPI2_CFLAGS 1603 C compiler flags for AT_SPI2, overriding pkg-config 1604 AT_SPI2_LIBS 1605 linker flags for AT_SPI2, overriding pkg-config 1606 X11_CFLAGS C compiler flags for X11, overriding pkg-config 1607 X11_LIBS linker flags for X11, overriding pkg-config 1608 1609Use these variables to override the choices made by `configure' or to help 1610it to find libraries and programs with nonstandard names/locations. 1611 1612Report bugs to <f.agrech@gmail.com>. 1613_ACEOF 1614ac_status=$? 1615fi 1616 1617if test "$ac_init_help" = "recursive"; then 1618 # If there are subdirs, report their specific --help. 1619 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1620 test -d "$ac_dir" || 1621 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1622 continue 1623 ac_builddir=. 1624 1625case "$ac_dir" in 1626.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1627*) 1628 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1629 # A ".." for each directory in $ac_dir_suffix. 1630 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1631 case $ac_top_builddir_sub in 1632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1634 esac ;; 1635esac 1636ac_abs_top_builddir=$ac_pwd 1637ac_abs_builddir=$ac_pwd$ac_dir_suffix 1638# for backward compatibility: 1639ac_top_builddir=$ac_top_build_prefix 1640 1641case $srcdir in 1642 .) # We are building in place. 1643 ac_srcdir=. 1644 ac_top_srcdir=$ac_top_builddir_sub 1645 ac_abs_top_srcdir=$ac_pwd ;; 1646 [\\/]* | ?:[\\/]* ) # Absolute name. 1647 ac_srcdir=$srcdir$ac_dir_suffix; 1648 ac_top_srcdir=$srcdir 1649 ac_abs_top_srcdir=$srcdir ;; 1650 *) # Relative name. 1651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1652 ac_top_srcdir=$ac_top_build_prefix$srcdir 1653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1654esac 1655ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1656 1657 cd "$ac_dir" || { ac_status=$?; continue; } 1658 # Check for guested configure. 1659 if test -f "$ac_srcdir/configure.gnu"; then 1660 echo && 1661 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1662 elif test -f "$ac_srcdir/configure"; then 1663 echo && 1664 $SHELL "$ac_srcdir/configure" --help=recursive 1665 else 1666 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1667 fi || ac_status=$? 1668 cd "$ac_pwd" || { ac_status=$?; break; } 1669 done 1670fi 1671 1672test -n "$ac_init_help" && exit $ac_status 1673if $ac_init_version; then 1674 cat <<\_ACEOF 1675Florence virtual keyboard configure 0.6.3 1676generated by GNU Autoconf 2.69 1677 1678Copyright (C) 2012 Free Software Foundation, Inc. 1679This configure script is free software; the Free Software Foundation 1680gives unlimited permission to copy, distribute and modify it. 1681_ACEOF 1682 exit 1683fi 1684 1685## ------------------------ ## 1686## Autoconf initialization. ## 1687## ------------------------ ## 1688 1689# ac_fn_c_try_compile LINENO 1690# -------------------------- 1691# Try to compile conftest.$ac_ext, and return whether this succeeded. 1692ac_fn_c_try_compile () 1693{ 1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1695 rm -f conftest.$ac_objext 1696 if { { ac_try="$ac_compile" 1697case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700esac 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702$as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_compile") 2>conftest.err 1704 ac_status=$? 1705 if test -s conftest.err; then 1706 grep -v '^ *+' conftest.err >conftest.er1 1707 cat conftest.er1 >&5 1708 mv -f conftest.er1 conftest.err 1709 fi 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } && { 1712 test -z "$ac_c_werror_flag" || 1713 test ! -s conftest.err 1714 } && test -s conftest.$ac_objext; then : 1715 ac_retval=0 1716else 1717 $as_echo "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721fi 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725} # ac_fn_c_try_compile 1726 1727# ac_fn_c_try_link LINENO 1728# ----------------------- 1729# Try to link conftest.$ac_ext, and return whether this succeeded. 1730ac_fn_c_try_link () 1731{ 1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1733 rm -f conftest.$ac_objext conftest$ac_exeext 1734 if { { ac_try="$ac_link" 1735case "(($ac_try" in 1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1737 *) ac_try_echo=$ac_try;; 1738esac 1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1740$as_echo "$ac_try_echo"; } >&5 1741 (eval "$ac_link") 2>conftest.err 1742 ac_status=$? 1743 if test -s conftest.err; then 1744 grep -v '^ *+' conftest.err >conftest.er1 1745 cat conftest.er1 >&5 1746 mv -f conftest.er1 conftest.err 1747 fi 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; } && { 1750 test -z "$ac_c_werror_flag" || 1751 test ! -s conftest.err 1752 } && test -s conftest$ac_exeext && { 1753 test "$cross_compiling" = yes || 1754 test -x conftest$ac_exeext 1755 }; then : 1756 ac_retval=0 1757else 1758 $as_echo "$as_me: failed program was:" >&5 1759sed 's/^/| /' conftest.$ac_ext >&5 1760 1761 ac_retval=1 1762fi 1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1765 # interfere with the next link command; also delete a directory that is 1766 # left behind by Apple's compiler. We do this before executing the actions. 1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1769 as_fn_set_status $ac_retval 1770 1771} # ac_fn_c_try_link 1772 1773# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1774# ------------------------------------------------------- 1775# Tests whether HEADER exists and can be compiled using the include files in 1776# INCLUDES, setting the cache variable VAR accordingly. 1777ac_fn_c_check_header_compile () 1778{ 1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1781$as_echo_n "checking for $2... " >&6; } 1782if eval \${$3+:} false; then : 1783 $as_echo_n "(cached) " >&6 1784else 1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1786/* end confdefs.h. */ 1787$4 1788#include <$2> 1789_ACEOF 1790if ac_fn_c_try_compile "$LINENO"; then : 1791 eval "$3=yes" 1792else 1793 eval "$3=no" 1794fi 1795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1796fi 1797eval ac_res=\$$3 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1799$as_echo "$ac_res" >&6; } 1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1801 1802} # ac_fn_c_check_header_compile 1803 1804# ac_fn_c_try_cpp LINENO 1805# ---------------------- 1806# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1807ac_fn_c_try_cpp () 1808{ 1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1810 if { { ac_try="$ac_cpp conftest.$ac_ext" 1811case "(($ac_try" in 1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1813 *) ac_try_echo=$ac_try;; 1814esac 1815eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1816$as_echo "$ac_try_echo"; } >&5 1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1818 ac_status=$? 1819 if test -s conftest.err; then 1820 grep -v '^ *+' conftest.err >conftest.er1 1821 cat conftest.er1 >&5 1822 mv -f conftest.er1 conftest.err 1823 fi 1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1825 test $ac_status = 0; } > conftest.i && { 1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1827 test ! -s conftest.err 1828 }; then : 1829 ac_retval=0 1830else 1831 $as_echo "$as_me: failed program was:" >&5 1832sed 's/^/| /' conftest.$ac_ext >&5 1833 1834 ac_retval=1 1835fi 1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 as_fn_set_status $ac_retval 1838 1839} # ac_fn_c_try_cpp 1840 1841# ac_fn_c_try_run LINENO 1842# ---------------------- 1843# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1844# that executables *can* be run. 1845ac_fn_c_try_run () 1846{ 1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1848 if { { ac_try="$ac_link" 1849case "(($ac_try" in 1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1851 *) ac_try_echo=$ac_try;; 1852esac 1853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1854$as_echo "$ac_try_echo"; } >&5 1855 (eval "$ac_link") 2>&5 1856 ac_status=$? 1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1858 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1859 { { case "(($ac_try" in 1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1861 *) ac_try_echo=$ac_try;; 1862esac 1863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1864$as_echo "$ac_try_echo"; } >&5 1865 (eval "$ac_try") 2>&5 1866 ac_status=$? 1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1868 test $ac_status = 0; }; }; then : 1869 ac_retval=0 1870else 1871 $as_echo "$as_me: program exited with status $ac_status" >&5 1872 $as_echo "$as_me: failed program was:" >&5 1873sed 's/^/| /' conftest.$ac_ext >&5 1874 1875 ac_retval=$ac_status 1876fi 1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1879 as_fn_set_status $ac_retval 1880 1881} # ac_fn_c_try_run 1882 1883# ac_fn_c_check_func LINENO FUNC VAR 1884# ---------------------------------- 1885# Tests whether FUNC exists, setting the cache variable VAR accordingly 1886ac_fn_c_check_func () 1887{ 1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1890$as_echo_n "checking for $2... " >&6; } 1891if eval \${$3+:} false; then : 1892 $as_echo_n "(cached) " >&6 1893else 1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1895/* end confdefs.h. */ 1896/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1898#define $2 innocuous_$2 1899 1900/* System header to define __stub macros and hopefully few prototypes, 1901 which can conflict with char $2 (); below. 1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1903 <limits.h> exists even on freestanding compilers. */ 1904 1905#ifdef __STDC__ 1906# include <limits.h> 1907#else 1908# include <assert.h> 1909#endif 1910 1911#undef $2 1912 1913/* Override any GCC internal prototype to avoid an error. 1914 Use char because int might match the return type of a GCC 1915 builtin and then its argument prototype would still apply. */ 1916#ifdef __cplusplus 1917extern "C" 1918#endif 1919char $2 (); 1920/* The GNU C library defines this for functions which it implements 1921 to always fail with ENOSYS. Some functions are actually named 1922 something starting with __ and the normal name is an alias. */ 1923#if defined __stub_$2 || defined __stub___$2 1924choke me 1925#endif 1926 1927int 1928main () 1929{ 1930return $2 (); 1931 ; 1932 return 0; 1933} 1934_ACEOF 1935if ac_fn_c_try_link "$LINENO"; then : 1936 eval "$3=yes" 1937else 1938 eval "$3=no" 1939fi 1940rm -f core conftest.err conftest.$ac_objext \ 1941 conftest$ac_exeext conftest.$ac_ext 1942fi 1943eval ac_res=\$$3 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1945$as_echo "$ac_res" >&6; } 1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1947 1948} # ac_fn_c_check_func 1949 1950# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1951# ------------------------------------------------------- 1952# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1953# the include files in INCLUDES and setting the cache variable VAR 1954# accordingly. 1955ac_fn_c_check_header_mongrel () 1956{ 1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1958 if eval \${$3+:} false; then : 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1960$as_echo_n "checking for $2... " >&6; } 1961if eval \${$3+:} false; then : 1962 $as_echo_n "(cached) " >&6 1963fi 1964eval ac_res=\$$3 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1966$as_echo "$ac_res" >&6; } 1967else 1968 # Is the header compilable? 1969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1970$as_echo_n "checking $2 usability... " >&6; } 1971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1972/* end confdefs.h. */ 1973$4 1974#include <$2> 1975_ACEOF 1976if ac_fn_c_try_compile "$LINENO"; then : 1977 ac_header_compiler=yes 1978else 1979 ac_header_compiler=no 1980fi 1981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1983$as_echo "$ac_header_compiler" >&6; } 1984 1985# Is the header present? 1986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1987$as_echo_n "checking $2 presence... " >&6; } 1988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1989/* end confdefs.h. */ 1990#include <$2> 1991_ACEOF 1992if ac_fn_c_try_cpp "$LINENO"; then : 1993 ac_header_preproc=yes 1994else 1995 ac_header_preproc=no 1996fi 1997rm -f conftest.err conftest.i conftest.$ac_ext 1998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1999$as_echo "$ac_header_preproc" >&6; } 2000 2001# So? What about this header? 2002case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2003 yes:no: ) 2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2005$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2007$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2008 ;; 2009 no:yes:* ) 2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2011$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2013$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2015$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2017$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2019$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2020( $as_echo "## --------------------------------- ## 2021## Report this to f.agrech@gmail.com ## 2022## --------------------------------- ##" 2023 ) | sed "s/^/$as_me: WARNING: /" >&2 2024 ;; 2025esac 2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2027$as_echo_n "checking for $2... " >&6; } 2028if eval \${$3+:} false; then : 2029 $as_echo_n "(cached) " >&6 2030else 2031 eval "$3=\$ac_header_compiler" 2032fi 2033eval ac_res=\$$3 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2035$as_echo "$ac_res" >&6; } 2036fi 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2038 2039} # ac_fn_c_check_header_mongrel 2040 2041# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2042# ------------------------------------------- 2043# Tests whether TYPE exists after having included INCLUDES, setting cache 2044# variable VAR accordingly. 2045ac_fn_c_check_type () 2046{ 2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2049$as_echo_n "checking for $2... " >&6; } 2050if eval \${$3+:} false; then : 2051 $as_echo_n "(cached) " >&6 2052else 2053 eval "$3=no" 2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2055/* end confdefs.h. */ 2056$4 2057int 2058main () 2059{ 2060if (sizeof ($2)) 2061 return 0; 2062 ; 2063 return 0; 2064} 2065_ACEOF 2066if ac_fn_c_try_compile "$LINENO"; then : 2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2068/* end confdefs.h. */ 2069$4 2070int 2071main () 2072{ 2073if (sizeof (($2))) 2074 return 0; 2075 ; 2076 return 0; 2077} 2078_ACEOF 2079if ac_fn_c_try_compile "$LINENO"; then : 2080 2081else 2082 eval "$3=yes" 2083fi 2084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2085fi 2086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2087fi 2088eval ac_res=\$$3 2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2090$as_echo "$ac_res" >&6; } 2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2092 2093} # ac_fn_c_check_type 2094 2095# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2096# ---------------------------------------------------- 2097# Tries to find if the field MEMBER exists in type AGGR, after including 2098# INCLUDES, setting cache variable VAR accordingly. 2099ac_fn_c_check_member () 2100{ 2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2103$as_echo_n "checking for $2.$3... " >&6; } 2104if eval \${$4+:} false; then : 2105 $as_echo_n "(cached) " >&6 2106else 2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2108/* end confdefs.h. */ 2109$5 2110int 2111main () 2112{ 2113static $2 ac_aggr; 2114if (ac_aggr.$3) 2115return 0; 2116 ; 2117 return 0; 2118} 2119_ACEOF 2120if ac_fn_c_try_compile "$LINENO"; then : 2121 eval "$4=yes" 2122else 2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2124/* end confdefs.h. */ 2125$5 2126int 2127main () 2128{ 2129static $2 ac_aggr; 2130if (sizeof ac_aggr.$3) 2131return 0; 2132 ; 2133 return 0; 2134} 2135_ACEOF 2136if ac_fn_c_try_compile "$LINENO"; then : 2137 eval "$4=yes" 2138else 2139 eval "$4=no" 2140fi 2141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2142fi 2143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2144fi 2145eval ac_res=\$$4 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2147$as_echo "$ac_res" >&6; } 2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2149 2150} # ac_fn_c_check_member 2151cat >config.log <<_ACEOF 2152This file contains any messages produced by compilers while 2153running configure, to aid debugging if configure makes a mistake. 2154 2155It was created by Florence virtual keyboard $as_me 0.6.3, which was 2156generated by GNU Autoconf 2.69. Invocation command line was 2157 2158 $ $0 $@ 2159 2160_ACEOF 2161exec 5>>config.log 2162{ 2163cat <<_ASUNAME 2164## --------- ## 2165## Platform. ## 2166## --------- ## 2167 2168hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2169uname -m = `(uname -m) 2>/dev/null || echo unknown` 2170uname -r = `(uname -r) 2>/dev/null || echo unknown` 2171uname -s = `(uname -s) 2>/dev/null || echo unknown` 2172uname -v = `(uname -v) 2>/dev/null || echo unknown` 2173 2174/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2175/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2176 2177/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2178/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2179/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2180/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2181/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2182/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2183/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2184 2185_ASUNAME 2186 2187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2188for as_dir in $PATH 2189do 2190 IFS=$as_save_IFS 2191 test -z "$as_dir" && as_dir=. 2192 $as_echo "PATH: $as_dir" 2193 done 2194IFS=$as_save_IFS 2195 2196} >&5 2197 2198cat >&5 <<_ACEOF 2199 2200 2201## ----------- ## 2202## Core tests. ## 2203## ----------- ## 2204 2205_ACEOF 2206 2207 2208# Keep a trace of the command line. 2209# Strip out --no-create and --no-recursion so they do not pile up. 2210# Strip out --silent because we don't want to record it for future runs. 2211# Also quote any args containing shell meta-characters. 2212# Make two passes to allow for proper duplicate-argument suppression. 2213ac_configure_args= 2214ac_configure_args0= 2215ac_configure_args1= 2216ac_must_keep_next=false 2217for ac_pass in 1 2 2218do 2219 for ac_arg 2220 do 2221 case $ac_arg in 2222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2224 | -silent | --silent | --silen | --sile | --sil) 2225 continue ;; 2226 *\'*) 2227 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2228 esac 2229 case $ac_pass in 2230 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2231 2) 2232 as_fn_append ac_configure_args1 " '$ac_arg'" 2233 if test $ac_must_keep_next = true; then 2234 ac_must_keep_next=false # Got value, back to normal. 2235 else 2236 case $ac_arg in 2237 *=* | --config-cache | -C | -disable-* | --disable-* \ 2238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2240 | -with-* | --with-* | -without-* | --without-* | --x) 2241 case "$ac_configure_args0 " in 2242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2243 esac 2244 ;; 2245 -* ) ac_must_keep_next=true ;; 2246 esac 2247 fi 2248 as_fn_append ac_configure_args " '$ac_arg'" 2249 ;; 2250 esac 2251 done 2252done 2253{ ac_configure_args0=; unset ac_configure_args0;} 2254{ ac_configure_args1=; unset ac_configure_args1;} 2255 2256# When interrupted or exit'd, cleanup temporary files, and complete 2257# config.log. We remove comments because anyway the quotes in there 2258# would cause problems or look ugly. 2259# WARNING: Use '\'' to represent an apostrophe within the trap. 2260# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2261trap 'exit_status=$? 2262 # Save into config.log some information that might help in debugging. 2263 { 2264 echo 2265 2266 $as_echo "## ---------------- ## 2267## Cache variables. ## 2268## ---------------- ##" 2269 echo 2270 # The following way of writing the cache mishandles newlines in values, 2271( 2272 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2273 eval ac_val=\$$ac_var 2274 case $ac_val in #( 2275 *${as_nl}*) 2276 case $ac_var in #( 2277 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2278$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2279 esac 2280 case $ac_var in #( 2281 _ | IFS | as_nl) ;; #( 2282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2283 *) { eval $ac_var=; unset $ac_var;} ;; 2284 esac ;; 2285 esac 2286 done 2287 (set) 2>&1 | 2288 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2289 *${as_nl}ac_space=\ *) 2290 sed -n \ 2291 "s/'\''/'\''\\\\'\'''\''/g; 2292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2293 ;; #( 2294 *) 2295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2296 ;; 2297 esac | 2298 sort 2299) 2300 echo 2301 2302 $as_echo "## ----------------- ## 2303## Output variables. ## 2304## ----------------- ##" 2305 echo 2306 for ac_var in $ac_subst_vars 2307 do 2308 eval ac_val=\$$ac_var 2309 case $ac_val in 2310 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2311 esac 2312 $as_echo "$ac_var='\''$ac_val'\''" 2313 done | sort 2314 echo 2315 2316 if test -n "$ac_subst_files"; then 2317 $as_echo "## ------------------- ## 2318## File substitutions. ## 2319## ------------------- ##" 2320 echo 2321 for ac_var in $ac_subst_files 2322 do 2323 eval ac_val=\$$ac_var 2324 case $ac_val in 2325 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2326 esac 2327 $as_echo "$ac_var='\''$ac_val'\''" 2328 done | sort 2329 echo 2330 fi 2331 2332 if test -s confdefs.h; then 2333 $as_echo "## ----------- ## 2334## confdefs.h. ## 2335## ----------- ##" 2336 echo 2337 cat confdefs.h 2338 echo 2339 fi 2340 test "$ac_signal" != 0 && 2341 $as_echo "$as_me: caught signal $ac_signal" 2342 $as_echo "$as_me: exit $exit_status" 2343 } >&5 2344 rm -f core *.core core.conftest.* && 2345 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2346 exit $exit_status 2347' 0 2348for ac_signal in 1 2 13 15; do 2349 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2350done 2351ac_signal=0 2352 2353# confdefs.h avoids OS command line length limits that DEFS can exceed. 2354rm -f -r conftest* confdefs.h 2355 2356$as_echo "/* confdefs.h */" > confdefs.h 2357 2358# Predefined preprocessor variables. 2359 2360cat >>confdefs.h <<_ACEOF 2361#define PACKAGE_NAME "$PACKAGE_NAME" 2362_ACEOF 2363 2364cat >>confdefs.h <<_ACEOF 2365#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2366_ACEOF 2367 2368cat >>confdefs.h <<_ACEOF 2369#define PACKAGE_VERSION "$PACKAGE_VERSION" 2370_ACEOF 2371 2372cat >>confdefs.h <<_ACEOF 2373#define PACKAGE_STRING "$PACKAGE_STRING" 2374_ACEOF 2375 2376cat >>confdefs.h <<_ACEOF 2377#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2378_ACEOF 2379 2380cat >>confdefs.h <<_ACEOF 2381#define PACKAGE_URL "$PACKAGE_URL" 2382_ACEOF 2383 2384 2385# Let the site file select an alternate cache file if it wants to. 2386# Prefer an explicitly selected file to automatically selected ones. 2387ac_site_file1=NONE 2388ac_site_file2=NONE 2389if test -n "$CONFIG_SITE"; then 2390 # We do not want a PATH search for config.site. 2391 case $CONFIG_SITE in #(( 2392 -*) ac_site_file1=./$CONFIG_SITE;; 2393 */*) ac_site_file1=$CONFIG_SITE;; 2394 *) ac_site_file1=./$CONFIG_SITE;; 2395 esac 2396elif test "x$prefix" != xNONE; then 2397 ac_site_file1=$prefix/share/config.site 2398 ac_site_file2=$prefix/etc/config.site 2399else 2400 ac_site_file1=$ac_default_prefix/share/config.site 2401 ac_site_file2=$ac_default_prefix/etc/config.site 2402fi 2403for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2404do 2405 test "x$ac_site_file" = xNONE && continue 2406 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2408$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2409 sed 's/^/| /' "$ac_site_file" >&5 2410 . "$ac_site_file" \ 2411 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2413as_fn_error $? "failed to load site script $ac_site_file 2414See \`config.log' for more details" "$LINENO" 5; } 2415 fi 2416done 2417 2418if test -r "$cache_file"; then 2419 # Some versions of bash will fail to source /dev/null (special files 2420 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2421 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2423$as_echo "$as_me: loading cache $cache_file" >&6;} 2424 case $cache_file in 2425 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2426 *) . "./$cache_file";; 2427 esac 2428 fi 2429else 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2431$as_echo "$as_me: creating cache $cache_file" >&6;} 2432 >$cache_file 2433fi 2434 2435# Check that the precious variables saved in the cache have kept the same 2436# value. 2437ac_cache_corrupted=false 2438for ac_var in $ac_precious_vars; do 2439 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2440 eval ac_new_set=\$ac_env_${ac_var}_set 2441 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2442 eval ac_new_val=\$ac_env_${ac_var}_value 2443 case $ac_old_set,$ac_new_set in 2444 set,) 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2446$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2447 ac_cache_corrupted=: ;; 2448 ,set) 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2450$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2451 ac_cache_corrupted=: ;; 2452 ,);; 2453 *) 2454 if test "x$ac_old_val" != "x$ac_new_val"; then 2455 # differences in whitespace do not lead to failure. 2456 ac_old_val_w=`echo x $ac_old_val` 2457 ac_new_val_w=`echo x $ac_new_val` 2458 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2460$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2461 ac_cache_corrupted=: 2462 else 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2464$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2465 eval $ac_var=\$ac_old_val 2466 fi 2467 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2468$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2470$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2471 fi;; 2472 esac 2473 # Pass precious variables to config.status. 2474 if test "$ac_new_set" = set; then 2475 case $ac_new_val in 2476 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2477 *) ac_arg=$ac_var=$ac_new_val ;; 2478 esac 2479 case " $ac_configure_args " in 2480 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2481 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2482 esac 2483 fi 2484done 2485if $ac_cache_corrupted; then 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2489$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2490 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2491fi 2492## -------------------- ## 2493## Main body of script. ## 2494## -------------------- ## 2495 2496ac_ext=c 2497ac_cpp='$CPP $CPPFLAGS' 2498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2500ac_compiler_gnu=$ac_cv_c_compiler_gnu 2501 2502 2503ac_config_headers="$ac_config_headers config.h" 2504 2505am__api_version='1.14' 2506 2507ac_aux_dir= 2508for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2509 if test -f "$ac_dir/install-sh"; then 2510 ac_aux_dir=$ac_dir 2511 ac_install_sh="$ac_aux_dir/install-sh -c" 2512 break 2513 elif test -f "$ac_dir/install.sh"; then 2514 ac_aux_dir=$ac_dir 2515 ac_install_sh="$ac_aux_dir/install.sh -c" 2516 break 2517 elif test -f "$ac_dir/shtool"; then 2518 ac_aux_dir=$ac_dir 2519 ac_install_sh="$ac_aux_dir/shtool install -c" 2520 break 2521 fi 2522done 2523if test -z "$ac_aux_dir"; then 2524 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2525fi 2526 2527# These three variables are undocumented and unsupported, 2528# and are intended to be withdrawn in a future Autoconf release. 2529# They can cause serious problems if a builder's source tree is in a directory 2530# whose full name contains unusual characters. 2531ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2532ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2533ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2534 2535 2536# Find a good install program. We prefer a C program (faster), 2537# so one script is as good as another. But avoid the broken or 2538# incompatible versions: 2539# SysV /etc/install, /usr/sbin/install 2540# SunOS /usr/etc/install 2541# IRIX /sbin/install 2542# AIX /bin/install 2543# AmigaOS /C/install, which installs bootblocks on floppy discs 2544# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2545# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2546# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2547# OS/2's system install, which has a completely different semantic 2548# ./install, which can be erroneously created by make from ./install.sh. 2549# Reject install programs that cannot install multiple files. 2550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2551$as_echo_n "checking for a BSD-compatible install... " >&6; } 2552if test -z "$INSTALL"; then 2553if ${ac_cv_path_install+:} false; then : 2554 $as_echo_n "(cached) " >&6 2555else 2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557for as_dir in $PATH 2558do 2559 IFS=$as_save_IFS 2560 test -z "$as_dir" && as_dir=. 2561 # Account for people who put trailing slashes in PATH elements. 2562case $as_dir/ in #(( 2563 ./ | .// | /[cC]/* | \ 2564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2565 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2566 /usr/ucb/* ) ;; 2567 *) 2568 # OSF1 and SCO ODT 3.0 have their own names for install. 2569 # Don't use installbsd from OSF since it installs stuff as root 2570 # by default. 2571 for ac_prog in ginstall scoinst install; do 2572 for ac_exec_ext in '' $ac_executable_extensions; do 2573 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2574 if test $ac_prog = install && 2575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2576 # AIX install. It has an incompatible calling convention. 2577 : 2578 elif test $ac_prog = install && 2579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2580 # program-specific install script used by HP pwplus--don't use. 2581 : 2582 else 2583 rm -rf conftest.one conftest.two conftest.dir 2584 echo one > conftest.one 2585 echo two > conftest.two 2586 mkdir conftest.dir 2587 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2588 test -s conftest.one && test -s conftest.two && 2589 test -s conftest.dir/conftest.one && 2590 test -s conftest.dir/conftest.two 2591 then 2592 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2593 break 3 2594 fi 2595 fi 2596 fi 2597 done 2598 done 2599 ;; 2600esac 2601 2602 done 2603IFS=$as_save_IFS 2604 2605rm -rf conftest.one conftest.two conftest.dir 2606 2607fi 2608 if test "${ac_cv_path_install+set}" = set; then 2609 INSTALL=$ac_cv_path_install 2610 else 2611 # As a last resort, use the slow shell script. Don't cache a 2612 # value for INSTALL within a source directory, because that will 2613 # break other packages using the cache if that directory is 2614 # removed, or if the value is a relative name. 2615 INSTALL=$ac_install_sh 2616 fi 2617fi 2618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2619$as_echo "$INSTALL" >&6; } 2620 2621# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2622# It thinks the first close brace ends the variable substitution. 2623test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2624 2625test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2626 2627test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2628 2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2630$as_echo_n "checking whether build environment is sane... " >&6; } 2631# Reject unsafe characters in $srcdir or the absolute working directory 2632# name. Accept space and tab only in the latter. 2633am_lf=' 2634' 2635case `pwd` in 2636 *[\\\"\#\$\&\'\`$am_lf]*) 2637 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2638esac 2639case $srcdir in 2640 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2641 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2642esac 2643 2644# Do 'set' in a subshell so we don't clobber the current shell's 2645# arguments. Must try -L first in case configure is actually a 2646# symlink; some systems play weird games with the mod time of symlinks 2647# (eg FreeBSD returns the mod time of the symlink's containing 2648# directory). 2649if ( 2650 am_has_slept=no 2651 for am_try in 1 2; do 2652 echo "timestamp, slept: $am_has_slept" > conftest.file 2653 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2654 if test "$*" = "X"; then 2655 # -L didn't work. 2656 set X `ls -t "$srcdir/configure" conftest.file` 2657 fi 2658 if test "$*" != "X $srcdir/configure conftest.file" \ 2659 && test "$*" != "X conftest.file $srcdir/configure"; then 2660 2661 # If neither matched, then we have a broken ls. This can happen 2662 # if, for instance, CONFIG_SHELL is bash and it inherits a 2663 # broken ls alias from the environment. This has actually 2664 # happened. Such a system could not be considered "sane". 2665 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2666 alias in your environment" "$LINENO" 5 2667 fi 2668 if test "$2" = conftest.file || test $am_try -eq 2; then 2669 break 2670 fi 2671 # Just in case. 2672 sleep 1 2673 am_has_slept=yes 2674 done 2675 test "$2" = conftest.file 2676 ) 2677then 2678 # Ok. 2679 : 2680else 2681 as_fn_error $? "newly created file is older than distributed files! 2682Check your system clock" "$LINENO" 5 2683fi 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2685$as_echo "yes" >&6; } 2686# If we didn't sleep, we still need to ensure time stamps of config.status and 2687# generated files are strictly newer. 2688am_sleep_pid= 2689if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2690 ( sleep 1 ) & 2691 am_sleep_pid=$! 2692fi 2693 2694rm -f conftest.file 2695 2696test "$program_prefix" != NONE && 2697 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2698# Use a double $ so make ignores it. 2699test "$program_suffix" != NONE && 2700 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2701# Double any \ or $. 2702# By default was `s,x,x', remove it if useless. 2703ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2704program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2705 2706# expand $ac_aux_dir to an absolute path 2707am_aux_dir=`cd $ac_aux_dir && pwd` 2708 2709if test x"${MISSING+set}" != xset; then 2710 case $am_aux_dir in 2711 *\ * | *\ *) 2712 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2713 *) 2714 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2715 esac 2716fi 2717# Use eval to expand $SHELL 2718if eval "$MISSING --is-lightweight"; then 2719 am_missing_run="$MISSING " 2720else 2721 am_missing_run= 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2723$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2724fi 2725 2726if test x"${install_sh}" != xset; then 2727 case $am_aux_dir in 2728 *\ * | *\ *) 2729 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2730 *) 2731 install_sh="\${SHELL} $am_aux_dir/install-sh" 2732 esac 2733fi 2734 2735# Installed binaries are usually stripped using 'strip' when the user 2736# run "make install-strip". However 'strip' might not be the right 2737# tool to use in cross-compilation environments, therefore Automake 2738# will honor the 'STRIP' environment variable to overrule this program. 2739if test "$cross_compiling" != no; then 2740 if test -n "$ac_tool_prefix"; then 2741 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2742set dummy ${ac_tool_prefix}strip; ac_word=$2 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2744$as_echo_n "checking for $ac_word... " >&6; } 2745if ${ac_cv_prog_STRIP+:} false; then : 2746 $as_echo_n "(cached) " >&6 2747else 2748 if test -n "$STRIP"; then 2749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2750else 2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2752for as_dir in $PATH 2753do 2754 IFS=$as_save_IFS 2755 test -z "$as_dir" && as_dir=. 2756 for ac_exec_ext in '' $ac_executable_extensions; do 2757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2758 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2760 break 2 2761 fi 2762done 2763 done 2764IFS=$as_save_IFS 2765 2766fi 2767fi 2768STRIP=$ac_cv_prog_STRIP 2769if test -n "$STRIP"; then 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2771$as_echo "$STRIP" >&6; } 2772else 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2774$as_echo "no" >&6; } 2775fi 2776 2777 2778fi 2779if test -z "$ac_cv_prog_STRIP"; then 2780 ac_ct_STRIP=$STRIP 2781 # Extract the first word of "strip", so it can be a program name with args. 2782set dummy strip; 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_ac_ct_STRIP+:} false; then : 2786 $as_echo_n "(cached) " >&6 2787else 2788 if test -n "$ac_ct_STRIP"; then 2789 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip" 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 2808ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2809if test -n "$ac_ct_STRIP"; then 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2811$as_echo "$ac_ct_STRIP" >&6; } 2812else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814$as_echo "no" >&6; } 2815fi 2816 2817 if test "x$ac_ct_STRIP" = x; then 2818 STRIP=":" 2819 else 2820 case $cross_compiling:$ac_tool_warned in 2821yes:) 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2823$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2824ac_tool_warned=yes ;; 2825esac 2826 STRIP=$ac_ct_STRIP 2827 fi 2828else 2829 STRIP="$ac_cv_prog_STRIP" 2830fi 2831 2832fi 2833INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2834 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2836$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2837if test -z "$MKDIR_P"; then 2838 if ${ac_cv_path_mkdir+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2842for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2843do 2844 IFS=$as_save_IFS 2845 test -z "$as_dir" && as_dir=. 2846 for ac_prog in mkdir gmkdir; do 2847 for ac_exec_ext in '' $ac_executable_extensions; do 2848 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2849 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2850 'mkdir (GNU coreutils) '* | \ 2851 'mkdir (coreutils) '* | \ 2852 'mkdir (fileutils) '4.1*) 2853 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2854 break 3;; 2855 esac 2856 done 2857 done 2858 done 2859IFS=$as_save_IFS 2860 2861fi 2862 2863 test -d ./--version && rmdir ./--version 2864 if test "${ac_cv_path_mkdir+set}" = set; then 2865 MKDIR_P="$ac_cv_path_mkdir -p" 2866 else 2867 # As a last resort, use the slow shell script. Don't cache a 2868 # value for MKDIR_P within a source directory, because that will 2869 # break other packages using the cache if that directory is 2870 # removed, or if the value is a relative name. 2871 MKDIR_P="$ac_install_sh -d" 2872 fi 2873fi 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2875$as_echo "$MKDIR_P" >&6; } 2876 2877for ac_prog in gawk mawk nawk awk 2878do 2879 # Extract the first word of "$ac_prog", so it can be a program name with args. 2880set dummy $ac_prog; ac_word=$2 2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2882$as_echo_n "checking for $ac_word... " >&6; } 2883if ${ac_cv_prog_AWK+:} false; then : 2884 $as_echo_n "(cached) " >&6 2885else 2886 if test -n "$AWK"; then 2887 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2888else 2889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890for as_dir in $PATH 2891do 2892 IFS=$as_save_IFS 2893 test -z "$as_dir" && as_dir=. 2894 for ac_exec_ext in '' $ac_executable_extensions; do 2895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2896 ac_cv_prog_AWK="$ac_prog" 2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898 break 2 2899 fi 2900done 2901 done 2902IFS=$as_save_IFS 2903 2904fi 2905fi 2906AWK=$ac_cv_prog_AWK 2907if test -n "$AWK"; then 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2909$as_echo "$AWK" >&6; } 2910else 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2912$as_echo "no" >&6; } 2913fi 2914 2915 2916 test -n "$AWK" && break 2917done 2918 2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2920$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2921set x ${MAKE-make} 2922ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2923if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2924 $as_echo_n "(cached) " >&6 2925else 2926 cat >conftest.make <<\_ACEOF 2927SHELL = /bin/sh 2928all: 2929 @echo '@@@%%%=$(MAKE)=@@@%%%' 2930_ACEOF 2931# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2932case `${MAKE-make} -f conftest.make 2>/dev/null` in 2933 *@@@%%%=?*=@@@%%%*) 2934 eval ac_cv_prog_make_${ac_make}_set=yes;; 2935 *) 2936 eval ac_cv_prog_make_${ac_make}_set=no;; 2937esac 2938rm -f conftest.make 2939fi 2940if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2942$as_echo "yes" >&6; } 2943 SET_MAKE= 2944else 2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2946$as_echo "no" >&6; } 2947 SET_MAKE="MAKE=${MAKE-make}" 2948fi 2949 2950rm -rf .tst 2>/dev/null 2951mkdir .tst 2>/dev/null 2952if test -d .tst; then 2953 am__leading_dot=. 2954else 2955 am__leading_dot=_ 2956fi 2957rmdir .tst 2>/dev/null 2958 2959# Check whether --enable-silent-rules was given. 2960if test "${enable_silent_rules+set}" = set; then : 2961 enableval=$enable_silent_rules; 2962fi 2963 2964case $enable_silent_rules in # ((( 2965 yes) AM_DEFAULT_VERBOSITY=0;; 2966 no) AM_DEFAULT_VERBOSITY=1;; 2967 *) AM_DEFAULT_VERBOSITY=1;; 2968esac 2969am_make=${MAKE-make} 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2971$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2972if ${am_cv_make_support_nested_variables+:} false; then : 2973 $as_echo_n "(cached) " >&6 2974else 2975 if $as_echo 'TRUE=$(BAR$(V)) 2976BAR0=false 2977BAR1=true 2978V=1 2979am__doit: 2980 @$(TRUE) 2981.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2982 am_cv_make_support_nested_variables=yes 2983else 2984 am_cv_make_support_nested_variables=no 2985fi 2986fi 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2988$as_echo "$am_cv_make_support_nested_variables" >&6; } 2989if test $am_cv_make_support_nested_variables = yes; then 2990 AM_V='$(V)' 2991 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2992else 2993 AM_V=$AM_DEFAULT_VERBOSITY 2994 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2995fi 2996AM_BACKSLASH='\' 2997 2998if test "`cd $srcdir && pwd`" != "`pwd`"; then 2999 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3000 # is not polluted with repeated "-I." 3001 am__isrc=' -I$(srcdir)' 3002 # test to see if srcdir already configured 3003 if test -f $srcdir/config.status; then 3004 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3005 fi 3006fi 3007 3008# test whether we have cygpath 3009if test -z "$CYGPATH_W"; then 3010 if (cygpath --version) >/dev/null 2>/dev/null; then 3011 CYGPATH_W='cygpath -w' 3012 else 3013 CYGPATH_W=echo 3014 fi 3015fi 3016 3017 3018# Define the identity of the package. 3019 PACKAGE='florence' 3020 VERSION='0.6.3' 3021 3022 3023cat >>confdefs.h <<_ACEOF 3024#define PACKAGE "$PACKAGE" 3025_ACEOF 3026 3027 3028cat >>confdefs.h <<_ACEOF 3029#define VERSION "$VERSION" 3030_ACEOF 3031 3032# Some tools Automake needs. 3033 3034ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3035 3036 3037AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3038 3039 3040AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3041 3042 3043AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3044 3045 3046MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3047 3048# For better backward compatibility. To be removed once Automake 1.9.x 3049# dies out for good. For more background, see: 3050# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3051# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3052mkdir_p='$(MKDIR_P)' 3053 3054# We need awk for the "check" target. The system "awk" is bad on 3055# some platforms. 3056# Always define AMTAR for backward compatibility. Yes, it's still used 3057# in the wild :-( We should find a proper way to deprecate it ... 3058AMTAR='$${TAR-tar}' 3059 3060 3061# We'll loop over all known methods to create a tar archive until one works. 3062_am_tools='gnutar pax cpio none' 3063 3064am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3065 3066 3067 3068 3069 3070 3071# POSIX will say in a future version that running "rm -f" with no argument 3072# is OK; and we want to be able to make that assumption in our Makefile 3073# recipes. So use an aggressive probe to check that the usage we want is 3074# actually supported "in the wild" to an acceptable degree. 3075# See automake bug#10828. 3076# To make any issue more visible, cause the running configure to be aborted 3077# by default if the 'rm' program in use doesn't match our expectations; the 3078# user can still override this though. 3079if rm -f && rm -fr && rm -rf; then : OK; else 3080 cat >&2 <<'END' 3081Oops! 3082 3083Your 'rm' program seems unable to run without file operands specified 3084on the command line, even when the '-f' option is present. This is contrary 3085to the behaviour of most rm programs out there, and not conforming with 3086the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3087 3088Please tell bug-automake@gnu.org about your system, including the value 3089of your $PATH and any error possibly output before this message. This 3090can help us improve future automake versions. 3091 3092END 3093 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3094 echo 'Configuration will proceed anyway, since you have set the' >&2 3095 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3096 echo >&2 3097 else 3098 cat >&2 <<'END' 3099Aborting the configuration process, to ensure you take notice of the issue. 3100 3101You can download and install GNU coreutils to get an 'rm' implementation 3102that behaves properly: <http://www.gnu.org/software/coreutils/>. 3103 3104If you want to complete the configuration process using your problematic 3105'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3106to "yes", and re-run configure. 3107 3108END 3109 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3110 fi 3111fi 3112case `pwd` in 3113 *\ * | *\ *) 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3115$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3116esac 3117 3118 3119 3120macro_version='2.4.2' 3121macro_revision='1.3337' 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135ltmain="$ac_aux_dir/ltmain.sh" 3136 3137# Make sure we can run config.sub. 3138$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3139 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3140 3141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3142$as_echo_n "checking build system type... " >&6; } 3143if ${ac_cv_build+:} false; then : 3144 $as_echo_n "(cached) " >&6 3145else 3146 ac_build_alias=$build_alias 3147test "x$ac_build_alias" = x && 3148 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3149test "x$ac_build_alias" = x && 3150 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3151ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3152 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3153 3154fi 3155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3156$as_echo "$ac_cv_build" >&6; } 3157case $ac_cv_build in 3158*-*-*) ;; 3159*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3160esac 3161build=$ac_cv_build 3162ac_save_IFS=$IFS; IFS='-' 3163set x $ac_cv_build 3164shift 3165build_cpu=$1 3166build_vendor=$2 3167shift; shift 3168# Remember, the first character of IFS is used to create $*, 3169# except with old shells: 3170build_os=$* 3171IFS=$ac_save_IFS 3172case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3173 3174 3175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3176$as_echo_n "checking host system type... " >&6; } 3177if ${ac_cv_host+:} false; then : 3178 $as_echo_n "(cached) " >&6 3179else 3180 if test "x$host_alias" = x; then 3181 ac_cv_host=$ac_cv_build 3182else 3183 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3184 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3185fi 3186 3187fi 3188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3189$as_echo "$ac_cv_host" >&6; } 3190case $ac_cv_host in 3191*-*-*) ;; 3192*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3193esac 3194host=$ac_cv_host 3195ac_save_IFS=$IFS; IFS='-' 3196set x $ac_cv_host 3197shift 3198host_cpu=$1 3199host_vendor=$2 3200shift; shift 3201# Remember, the first character of IFS is used to create $*, 3202# except with old shells: 3203host_os=$* 3204IFS=$ac_save_IFS 3205case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3206 3207 3208# Backslashify metacharacters that are still active within 3209# double-quoted strings. 3210sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3211 3212# Same as above, but do not quote variable references. 3213double_quote_subst='s/\(["`\\]\)/\\\1/g' 3214 3215# Sed substitution to delay expansion of an escaped shell variable in a 3216# double_quote_subst'ed string. 3217delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3218 3219# Sed substitution to delay expansion of an escaped single quote. 3220delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3221 3222# Sed substitution to avoid accidental globbing in evaled expressions 3223no_glob_subst='s/\*/\\\*/g' 3224 3225ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3226ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3227ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3228 3229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3230$as_echo_n "checking how to print strings... " >&6; } 3231# Test print first, because it will be a builtin if present. 3232if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3233 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3234 ECHO='print -r --' 3235elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3236 ECHO='printf %s\n' 3237else 3238 # Use this function as a fallback that always works. 3239 func_fallback_echo () 3240 { 3241 eval 'cat <<_LTECHO_EOF 3242$1 3243_LTECHO_EOF' 3244 } 3245 ECHO='func_fallback_echo' 3246fi 3247 3248# func_echo_all arg... 3249# Invoke $ECHO with all args, space-separated. 3250func_echo_all () 3251{ 3252 $ECHO "" 3253} 3254 3255case "$ECHO" in 3256 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3257$as_echo "printf" >&6; } ;; 3258 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3259$as_echo "print -r" >&6; } ;; 3260 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3261$as_echo "cat" >&6; } ;; 3262esac 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277DEPDIR="${am__leading_dot}deps" 3278 3279ac_config_commands="$ac_config_commands depfiles" 3280 3281 3282am_make=${MAKE-make} 3283cat > confinc << 'END' 3284am__doit: 3285 @echo this is the am__doit target 3286.PHONY: am__doit 3287END 3288# If we don't find an include directive, just comment out the code. 3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3290$as_echo_n "checking for style of include used by $am_make... " >&6; } 3291am__include="#" 3292am__quote= 3293_am_result=none 3294# First try GNU make style include. 3295echo "include confinc" > confmf 3296# Ignore all kinds of additional output from 'make'. 3297case `$am_make -s -f confmf 2> /dev/null` in #( 3298*the\ am__doit\ target*) 3299 am__include=include 3300 am__quote= 3301 _am_result=GNU 3302 ;; 3303esac 3304# Now try BSD make style include. 3305if test "$am__include" = "#"; then 3306 echo '.include "confinc"' > confmf 3307 case `$am_make -s -f confmf 2> /dev/null` in #( 3308 *the\ am__doit\ target*) 3309 am__include=.include 3310 am__quote="\"" 3311 _am_result=BSD 3312 ;; 3313 esac 3314fi 3315 3316 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3318$as_echo "$_am_result" >&6; } 3319rm -f confinc confmf 3320 3321# Check whether --enable-dependency-tracking was given. 3322if test "${enable_dependency_tracking+set}" = set; then : 3323 enableval=$enable_dependency_tracking; 3324fi 3325 3326if test "x$enable_dependency_tracking" != xno; then 3327 am_depcomp="$ac_aux_dir/depcomp" 3328 AMDEPBACKSLASH='\' 3329 am__nodep='_no' 3330fi 3331 if test "x$enable_dependency_tracking" != xno; then 3332 AMDEP_TRUE= 3333 AMDEP_FALSE='#' 3334else 3335 AMDEP_TRUE='#' 3336 AMDEP_FALSE= 3337fi 3338 3339 3340ac_ext=c 3341ac_cpp='$CPP $CPPFLAGS' 3342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3344ac_compiler_gnu=$ac_cv_c_compiler_gnu 3345if test -n "$ac_tool_prefix"; then 3346 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3347set dummy ${ac_tool_prefix}gcc; ac_word=$2 3348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3349$as_echo_n "checking for $ac_word... " >&6; } 3350if ${ac_cv_prog_CC+:} false; then : 3351 $as_echo_n "(cached) " >&6 3352else 3353 if test -n "$CC"; then 3354 ac_cv_prog_CC="$CC" # Let the user override the test. 3355else 3356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3357for as_dir in $PATH 3358do 3359 IFS=$as_save_IFS 3360 test -z "$as_dir" && as_dir=. 3361 for ac_exec_ext in '' $ac_executable_extensions; do 3362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3363 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3365 break 2 3366 fi 3367done 3368 done 3369IFS=$as_save_IFS 3370 3371fi 3372fi 3373CC=$ac_cv_prog_CC 3374if test -n "$CC"; then 3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3376$as_echo "$CC" >&6; } 3377else 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3379$as_echo "no" >&6; } 3380fi 3381 3382 3383fi 3384if test -z "$ac_cv_prog_CC"; then 3385 ac_ct_CC=$CC 3386 # Extract the first word of "gcc", so it can be a program name with args. 3387set dummy gcc; ac_word=$2 3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3389$as_echo_n "checking for $ac_word... " >&6; } 3390if ${ac_cv_prog_ac_ct_CC+:} false; then : 3391 $as_echo_n "(cached) " >&6 3392else 3393 if test -n "$ac_ct_CC"; then 3394 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3395else 3396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3397for as_dir in $PATH 3398do 3399 IFS=$as_save_IFS 3400 test -z "$as_dir" && as_dir=. 3401 for ac_exec_ext in '' $ac_executable_extensions; do 3402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3403 ac_cv_prog_ac_ct_CC="gcc" 3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3405 break 2 3406 fi 3407done 3408 done 3409IFS=$as_save_IFS 3410 3411fi 3412fi 3413ac_ct_CC=$ac_cv_prog_ac_ct_CC 3414if test -n "$ac_ct_CC"; then 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3416$as_echo "$ac_ct_CC" >&6; } 3417else 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3419$as_echo "no" >&6; } 3420fi 3421 3422 if test "x$ac_ct_CC" = x; then 3423 CC="" 3424 else 3425 case $cross_compiling:$ac_tool_warned in 3426yes:) 3427{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3428$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3429ac_tool_warned=yes ;; 3430esac 3431 CC=$ac_ct_CC 3432 fi 3433else 3434 CC="$ac_cv_prog_CC" 3435fi 3436 3437if test -z "$CC"; then 3438 if test -n "$ac_tool_prefix"; then 3439 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3440set dummy ${ac_tool_prefix}cc; ac_word=$2 3441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3442$as_echo_n "checking for $ac_word... " >&6; } 3443if ${ac_cv_prog_CC+:} false; then : 3444 $as_echo_n "(cached) " >&6 3445else 3446 if test -n "$CC"; then 3447 ac_cv_prog_CC="$CC" # Let the user override the test. 3448else 3449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3450for as_dir in $PATH 3451do 3452 IFS=$as_save_IFS 3453 test -z "$as_dir" && as_dir=. 3454 for ac_exec_ext in '' $ac_executable_extensions; do 3455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3456 ac_cv_prog_CC="${ac_tool_prefix}cc" 3457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3458 break 2 3459 fi 3460done 3461 done 3462IFS=$as_save_IFS 3463 3464fi 3465fi 3466CC=$ac_cv_prog_CC 3467if test -n "$CC"; then 3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3469$as_echo "$CC" >&6; } 3470else 3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3472$as_echo "no" >&6; } 3473fi 3474 3475 3476 fi 3477fi 3478if test -z "$CC"; then 3479 # Extract the first word of "cc", so it can be a program name with args. 3480set dummy cc; ac_word=$2 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3482$as_echo_n "checking for $ac_word... " >&6; } 3483if ${ac_cv_prog_CC+:} false; then : 3484 $as_echo_n "(cached) " >&6 3485else 3486 if test -n "$CC"; then 3487 ac_cv_prog_CC="$CC" # Let the user override the test. 3488else 3489 ac_prog_rejected=no 3490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3491for as_dir in $PATH 3492do 3493 IFS=$as_save_IFS 3494 test -z "$as_dir" && as_dir=. 3495 for ac_exec_ext in '' $ac_executable_extensions; do 3496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3497 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3498 ac_prog_rejected=yes 3499 continue 3500 fi 3501 ac_cv_prog_CC="cc" 3502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3503 break 2 3504 fi 3505done 3506 done 3507IFS=$as_save_IFS 3508 3509if test $ac_prog_rejected = yes; then 3510 # We found a bogon in the path, so make sure we never use it. 3511 set dummy $ac_cv_prog_CC 3512 shift 3513 if test $# != 0; then 3514 # We chose a different compiler from the bogus one. 3515 # However, it has the same basename, so the bogon will be chosen 3516 # first if we set CC to just the basename; use the full file name. 3517 shift 3518 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3519 fi 3520fi 3521fi 3522fi 3523CC=$ac_cv_prog_CC 3524if test -n "$CC"; then 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3526$as_echo "$CC" >&6; } 3527else 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3529$as_echo "no" >&6; } 3530fi 3531 3532 3533fi 3534if test -z "$CC"; then 3535 if test -n "$ac_tool_prefix"; then 3536 for ac_prog in cl.exe 3537 do 3538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3539set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3541$as_echo_n "checking for $ac_word... " >&6; } 3542if ${ac_cv_prog_CC+:} false; then : 3543 $as_echo_n "(cached) " >&6 3544else 3545 if test -n "$CC"; then 3546 ac_cv_prog_CC="$CC" # Let the user override the test. 3547else 3548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3549for as_dir in $PATH 3550do 3551 IFS=$as_save_IFS 3552 test -z "$as_dir" && as_dir=. 3553 for ac_exec_ext in '' $ac_executable_extensions; do 3554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3555 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3557 break 2 3558 fi 3559done 3560 done 3561IFS=$as_save_IFS 3562 3563fi 3564fi 3565CC=$ac_cv_prog_CC 3566if test -n "$CC"; then 3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3568$as_echo "$CC" >&6; } 3569else 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3571$as_echo "no" >&6; } 3572fi 3573 3574 3575 test -n "$CC" && break 3576 done 3577fi 3578if test -z "$CC"; then 3579 ac_ct_CC=$CC 3580 for ac_prog in cl.exe 3581do 3582 # Extract the first word of "$ac_prog", so it can be a program name with args. 3583set dummy $ac_prog; ac_word=$2 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3585$as_echo_n "checking for $ac_word... " >&6; } 3586if ${ac_cv_prog_ac_ct_CC+:} false; then : 3587 $as_echo_n "(cached) " >&6 3588else 3589 if test -n "$ac_ct_CC"; then 3590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3591else 3592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3593for as_dir in $PATH 3594do 3595 IFS=$as_save_IFS 3596 test -z "$as_dir" && as_dir=. 3597 for ac_exec_ext in '' $ac_executable_extensions; do 3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3599 ac_cv_prog_ac_ct_CC="$ac_prog" 3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3601 break 2 3602 fi 3603done 3604 done 3605IFS=$as_save_IFS 3606 3607fi 3608fi 3609ac_ct_CC=$ac_cv_prog_ac_ct_CC 3610if test -n "$ac_ct_CC"; then 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3612$as_echo "$ac_ct_CC" >&6; } 3613else 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3615$as_echo "no" >&6; } 3616fi 3617 3618 3619 test -n "$ac_ct_CC" && break 3620done 3621 3622 if test "x$ac_ct_CC" = x; then 3623 CC="" 3624 else 3625 case $cross_compiling:$ac_tool_warned in 3626yes:) 3627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3629ac_tool_warned=yes ;; 3630esac 3631 CC=$ac_ct_CC 3632 fi 3633fi 3634 3635fi 3636 3637 3638test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3640as_fn_error $? "no acceptable C compiler found in \$PATH 3641See \`config.log' for more details" "$LINENO" 5; } 3642 3643# Provide some information about the compiler. 3644$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3645set X $ac_compile 3646ac_compiler=$2 3647for ac_option in --version -v -V -qversion; do 3648 { { ac_try="$ac_compiler $ac_option >&5" 3649case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652esac 3653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3654$as_echo "$ac_try_echo"; } >&5 3655 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3656 ac_status=$? 3657 if test -s conftest.err; then 3658 sed '10a\ 3659... rest of stderr output deleted ... 3660 10q' conftest.err >conftest.er1 3661 cat conftest.er1 >&5 3662 fi 3663 rm -f conftest.er1 conftest.err 3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3665 test $ac_status = 0; } 3666done 3667 3668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3669/* end confdefs.h. */ 3670 3671int 3672main () 3673{ 3674 3675 ; 3676 return 0; 3677} 3678_ACEOF 3679ac_clean_files_save=$ac_clean_files 3680ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3681# Try to create an executable without -o first, disregard a.out. 3682# It will help us diagnose broken compilers, and finding out an intuition 3683# of exeext. 3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3685$as_echo_n "checking whether the C compiler works... " >&6; } 3686ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3687 3688# The possible output files: 3689ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3690 3691ac_rmfiles= 3692for ac_file in $ac_files 3693do 3694 case $ac_file in 3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3696 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3697 esac 3698done 3699rm -f $ac_rmfiles 3700 3701if { { ac_try="$ac_link_default" 3702case "(($ac_try" in 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3704 *) ac_try_echo=$ac_try;; 3705esac 3706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3707$as_echo "$ac_try_echo"; } >&5 3708 (eval "$ac_link_default") 2>&5 3709 ac_status=$? 3710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3711 test $ac_status = 0; }; then : 3712 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3713# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3714# in a Makefile. We should not override ac_cv_exeext if it was cached, 3715# so that the user can short-circuit this test for compilers unknown to 3716# Autoconf. 3717for ac_file in $ac_files '' 3718do 3719 test -f "$ac_file" || continue 3720 case $ac_file in 3721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3722 ;; 3723 [ab].out ) 3724 # We found the default executable, but exeext='' is most 3725 # certainly right. 3726 break;; 3727 *.* ) 3728 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3729 then :; else 3730 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3731 fi 3732 # We set ac_cv_exeext here because the later test for it is not 3733 # safe: cross compilers may not add the suffix if given an `-o' 3734 # argument, so we may need to know it at that point already. 3735 # Even if this section looks crufty: it has the advantage of 3736 # actually working. 3737 break;; 3738 * ) 3739 break;; 3740 esac 3741done 3742test "$ac_cv_exeext" = no && ac_cv_exeext= 3743 3744else 3745 ac_file='' 3746fi 3747if test -z "$ac_file"; then : 3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3749$as_echo "no" >&6; } 3750$as_echo "$as_me: failed program was:" >&5 3751sed 's/^/| /' conftest.$ac_ext >&5 3752 3753{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3755as_fn_error 77 "C compiler cannot create executables 3756See \`config.log' for more details" "$LINENO" 5; } 3757else 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3759$as_echo "yes" >&6; } 3760fi 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3762$as_echo_n "checking for C compiler default output file name... " >&6; } 3763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3764$as_echo "$ac_file" >&6; } 3765ac_exeext=$ac_cv_exeext 3766 3767rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3768ac_clean_files=$ac_clean_files_save 3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3770$as_echo_n "checking for suffix of executables... " >&6; } 3771if { { ac_try="$ac_link" 3772case "(($ac_try" in 3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3774 *) ac_try_echo=$ac_try;; 3775esac 3776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3777$as_echo "$ac_try_echo"; } >&5 3778 (eval "$ac_link") 2>&5 3779 ac_status=$? 3780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3781 test $ac_status = 0; }; then : 3782 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3783# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3784# work properly (i.e., refer to `conftest.exe'), while it won't with 3785# `rm'. 3786for ac_file in conftest.exe conftest conftest.*; do 3787 test -f "$ac_file" || continue 3788 case $ac_file in 3789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3790 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3791 break;; 3792 * ) break;; 3793 esac 3794done 3795else 3796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3798as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3799See \`config.log' for more details" "$LINENO" 5; } 3800fi 3801rm -f conftest conftest$ac_cv_exeext 3802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3803$as_echo "$ac_cv_exeext" >&6; } 3804 3805rm -f conftest.$ac_ext 3806EXEEXT=$ac_cv_exeext 3807ac_exeext=$EXEEXT 3808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3809/* end confdefs.h. */ 3810#include <stdio.h> 3811int 3812main () 3813{ 3814FILE *f = fopen ("conftest.out", "w"); 3815 return ferror (f) || fclose (f) != 0; 3816 3817 ; 3818 return 0; 3819} 3820_ACEOF 3821ac_clean_files="$ac_clean_files conftest.out" 3822# Check that the compiler produces executables we can run. If not, either 3823# the compiler is broken, or we cross compile. 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3825$as_echo_n "checking whether we are cross compiling... " >&6; } 3826if test "$cross_compiling" != yes; then 3827 { { ac_try="$ac_link" 3828case "(($ac_try" in 3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3830 *) ac_try_echo=$ac_try;; 3831esac 3832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3833$as_echo "$ac_try_echo"; } >&5 3834 (eval "$ac_link") 2>&5 3835 ac_status=$? 3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3837 test $ac_status = 0; } 3838 if { ac_try='./conftest$ac_cv_exeext' 3839 { { case "(($ac_try" in 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3841 *) ac_try_echo=$ac_try;; 3842esac 3843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3844$as_echo "$ac_try_echo"; } >&5 3845 (eval "$ac_try") 2>&5 3846 ac_status=$? 3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3848 test $ac_status = 0; }; }; then 3849 cross_compiling=no 3850 else 3851 if test "$cross_compiling" = maybe; then 3852 cross_compiling=yes 3853 else 3854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3855$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3856as_fn_error $? "cannot run C compiled programs. 3857If you meant to cross compile, use \`--host'. 3858See \`config.log' for more details" "$LINENO" 5; } 3859 fi 3860 fi 3861fi 3862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3863$as_echo "$cross_compiling" >&6; } 3864 3865rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3866ac_clean_files=$ac_clean_files_save 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3868$as_echo_n "checking for suffix of object files... " >&6; } 3869if ${ac_cv_objext+:} false; then : 3870 $as_echo_n "(cached) " >&6 3871else 3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3873/* end confdefs.h. */ 3874 3875int 3876main () 3877{ 3878 3879 ; 3880 return 0; 3881} 3882_ACEOF 3883rm -f conftest.o conftest.obj 3884if { { ac_try="$ac_compile" 3885case "(($ac_try" in 3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3887 *) ac_try_echo=$ac_try;; 3888esac 3889eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3890$as_echo "$ac_try_echo"; } >&5 3891 (eval "$ac_compile") 2>&5 3892 ac_status=$? 3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3894 test $ac_status = 0; }; then : 3895 for ac_file in conftest.o conftest.obj conftest.*; do 3896 test -f "$ac_file" || continue; 3897 case $ac_file in 3898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3899 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3900 break;; 3901 esac 3902done 3903else 3904 $as_echo "$as_me: failed program was:" >&5 3905sed 's/^/| /' conftest.$ac_ext >&5 3906 3907{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3908$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3909as_fn_error $? "cannot compute suffix of object files: cannot compile 3910See \`config.log' for more details" "$LINENO" 5; } 3911fi 3912rm -f conftest.$ac_cv_objext conftest.$ac_ext 3913fi 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3915$as_echo "$ac_cv_objext" >&6; } 3916OBJEXT=$ac_cv_objext 3917ac_objext=$OBJEXT 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3919$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3920if ${ac_cv_c_compiler_gnu+:} false; then : 3921 $as_echo_n "(cached) " >&6 3922else 3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3924/* end confdefs.h. */ 3925 3926int 3927main () 3928{ 3929#ifndef __GNUC__ 3930 choke me 3931#endif 3932 3933 ; 3934 return 0; 3935} 3936_ACEOF 3937if ac_fn_c_try_compile "$LINENO"; then : 3938 ac_compiler_gnu=yes 3939else 3940 ac_compiler_gnu=no 3941fi 3942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3943ac_cv_c_compiler_gnu=$ac_compiler_gnu 3944 3945fi 3946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3947$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3948if test $ac_compiler_gnu = yes; then 3949 GCC=yes 3950else 3951 GCC= 3952fi 3953ac_test_CFLAGS=${CFLAGS+set} 3954ac_save_CFLAGS=$CFLAGS 3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3956$as_echo_n "checking whether $CC accepts -g... " >&6; } 3957if ${ac_cv_prog_cc_g+:} false; then : 3958 $as_echo_n "(cached) " >&6 3959else 3960 ac_save_c_werror_flag=$ac_c_werror_flag 3961 ac_c_werror_flag=yes 3962 ac_cv_prog_cc_g=no 3963 CFLAGS="-g" 3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3965/* end confdefs.h. */ 3966 3967int 3968main () 3969{ 3970 3971 ; 3972 return 0; 3973} 3974_ACEOF 3975if ac_fn_c_try_compile "$LINENO"; then : 3976 ac_cv_prog_cc_g=yes 3977else 3978 CFLAGS="" 3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3980/* end confdefs.h. */ 3981 3982int 3983main () 3984{ 3985 3986 ; 3987 return 0; 3988} 3989_ACEOF 3990if ac_fn_c_try_compile "$LINENO"; then : 3991 3992else 3993 ac_c_werror_flag=$ac_save_c_werror_flag 3994 CFLAGS="-g" 3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996/* end confdefs.h. */ 3997 3998int 3999main () 4000{ 4001 4002 ; 4003 return 0; 4004} 4005_ACEOF 4006if ac_fn_c_try_compile "$LINENO"; then : 4007 ac_cv_prog_cc_g=yes 4008fi 4009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4010fi 4011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4012fi 4013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4014 ac_c_werror_flag=$ac_save_c_werror_flag 4015fi 4016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4017$as_echo "$ac_cv_prog_cc_g" >&6; } 4018if test "$ac_test_CFLAGS" = set; then 4019 CFLAGS=$ac_save_CFLAGS 4020elif test $ac_cv_prog_cc_g = yes; then 4021 if test "$GCC" = yes; then 4022 CFLAGS="-g -O2" 4023 else 4024 CFLAGS="-g" 4025 fi 4026else 4027 if test "$GCC" = yes; then 4028 CFLAGS="-O2" 4029 else 4030 CFLAGS= 4031 fi 4032fi 4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4034$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4035if ${ac_cv_prog_cc_c89+:} false; then : 4036 $as_echo_n "(cached) " >&6 4037else 4038 ac_cv_prog_cc_c89=no 4039ac_save_CC=$CC 4040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4041/* end confdefs.h. */ 4042#include <stdarg.h> 4043#include <stdio.h> 4044struct stat; 4045/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4046struct buf { int x; }; 4047FILE * (*rcsopen) (struct buf *, struct stat *, int); 4048static char *e (p, i) 4049 char **p; 4050 int i; 4051{ 4052 return p[i]; 4053} 4054static char *f (char * (*g) (char **, int), char **p, ...) 4055{ 4056 char *s; 4057 va_list v; 4058 va_start (v,p); 4059 s = g (p, va_arg (v,int)); 4060 va_end (v); 4061 return s; 4062} 4063 4064/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4065 function prototypes and stuff, but not '\xHH' hex character constants. 4066 These don't provoke an error unfortunately, instead are silently treated 4067 as 'x'. The following induces an error, until -std is added to get 4068 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4069 array size at least. It's necessary to write '\x00'==0 to get something 4070 that's true only with -std. */ 4071int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4072 4073/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4074 inside strings and character constants. */ 4075#define FOO(x) 'x' 4076int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4077 4078int test (int i, double x); 4079struct s1 {int (*f) (int a);}; 4080struct s2 {int (*f) (double a);}; 4081int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4082int argc; 4083char **argv; 4084int 4085main () 4086{ 4087return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4088 ; 4089 return 0; 4090} 4091_ACEOF 4092for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4093 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4094do 4095 CC="$ac_save_CC $ac_arg" 4096 if ac_fn_c_try_compile "$LINENO"; then : 4097 ac_cv_prog_cc_c89=$ac_arg 4098fi 4099rm -f core conftest.err conftest.$ac_objext 4100 test "x$ac_cv_prog_cc_c89" != "xno" && break 4101done 4102rm -f conftest.$ac_ext 4103CC=$ac_save_CC 4104 4105fi 4106# AC_CACHE_VAL 4107case "x$ac_cv_prog_cc_c89" in 4108 x) 4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4110$as_echo "none needed" >&6; } ;; 4111 xno) 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4113$as_echo "unsupported" >&6; } ;; 4114 *) 4115 CC="$CC $ac_cv_prog_cc_c89" 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4117$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4118esac 4119if test "x$ac_cv_prog_cc_c89" != xno; then : 4120 4121fi 4122 4123ac_ext=c 4124ac_cpp='$CPP $CPPFLAGS' 4125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4127ac_compiler_gnu=$ac_cv_c_compiler_gnu 4128 4129ac_ext=c 4130ac_cpp='$CPP $CPPFLAGS' 4131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4133ac_compiler_gnu=$ac_cv_c_compiler_gnu 4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4135$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4136if ${am_cv_prog_cc_c_o+:} false; then : 4137 $as_echo_n "(cached) " >&6 4138else 4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4140/* end confdefs.h. */ 4141 4142int 4143main () 4144{ 4145 4146 ; 4147 return 0; 4148} 4149_ACEOF 4150 # Make sure it works both with $CC and with simple cc. 4151 # Following AC_PROG_CC_C_O, we do the test twice because some 4152 # compilers refuse to overwrite an existing .o file with -o, 4153 # though they will create one. 4154 am_cv_prog_cc_c_o=yes 4155 for am_i in 1 2; do 4156 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4157 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4158 ac_status=$? 4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4160 (exit $ac_status); } \ 4161 && test -f conftest2.$ac_objext; then 4162 : OK 4163 else 4164 am_cv_prog_cc_c_o=no 4165 break 4166 fi 4167 done 4168 rm -f core conftest* 4169 unset am_i 4170fi 4171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4172$as_echo "$am_cv_prog_cc_c_o" >&6; } 4173if test "$am_cv_prog_cc_c_o" != yes; then 4174 # Losing compiler, so override with the script. 4175 # FIXME: It is wrong to rewrite CC. 4176 # But if we don't then we get into trouble of one sort or another. 4177 # A longer-term fix would be to have automake use am__CC in this case, 4178 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4179 CC="$am_aux_dir/compile $CC" 4180fi 4181ac_ext=c 4182ac_cpp='$CPP $CPPFLAGS' 4183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4185ac_compiler_gnu=$ac_cv_c_compiler_gnu 4186 4187 4188depcc="$CC" am_compiler_list= 4189 4190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4191$as_echo_n "checking dependency style of $depcc... " >&6; } 4192if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4193 $as_echo_n "(cached) " >&6 4194else 4195 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4196 # We make a subdir and do the tests there. Otherwise we can end up 4197 # making bogus files that we don't know about and never remove. For 4198 # instance it was reported that on HP-UX the gcc test will end up 4199 # making a dummy file named 'D' -- because '-MD' means "put the output 4200 # in D". 4201 rm -rf conftest.dir 4202 mkdir conftest.dir 4203 # Copy depcomp to subdir because otherwise we won't find it if we're 4204 # using a relative directory. 4205 cp "$am_depcomp" conftest.dir 4206 cd conftest.dir 4207 # We will build objects and dependencies in a subdirectory because 4208 # it helps to detect inapplicable dependency modes. For instance 4209 # both Tru64's cc and ICC support -MD to output dependencies as a 4210 # side effect of compilation, but ICC will put the dependencies in 4211 # the current directory while Tru64 will put them in the object 4212 # directory. 4213 mkdir sub 4214 4215 am_cv_CC_dependencies_compiler_type=none 4216 if test "$am_compiler_list" = ""; then 4217 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4218 fi 4219 am__universal=false 4220 case " $depcc " in #( 4221 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4222 esac 4223 4224 for depmode in $am_compiler_list; do 4225 # Setup a source with many dependencies, because some compilers 4226 # like to wrap large dependency lists on column 80 (with \), and 4227 # we should not choose a depcomp mode which is confused by this. 4228 # 4229 # We need to recreate these files for each test, as the compiler may 4230 # overwrite some of them when testing with obscure command lines. 4231 # This happens at least with the AIX C compiler. 4232 : > sub/conftest.c 4233 for i in 1 2 3 4 5 6; do 4234 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4235 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4236 # Solaris 10 /bin/sh. 4237 echo '/* dummy */' > sub/conftst$i.h 4238 done 4239 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4240 4241 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4242 # mode. It turns out that the SunPro C++ compiler does not properly 4243 # handle '-M -o', and we need to detect this. Also, some Intel 4244 # versions had trouble with output in subdirs. 4245 am__obj=sub/conftest.${OBJEXT-o} 4246 am__minus_obj="-o $am__obj" 4247 case $depmode in 4248 gcc) 4249 # This depmode causes a compiler race in universal mode. 4250 test "$am__universal" = false || continue 4251 ;; 4252 nosideeffect) 4253 # After this tag, mechanisms are not by side-effect, so they'll 4254 # only be used when explicitly requested. 4255 if test "x$enable_dependency_tracking" = xyes; then 4256 continue 4257 else 4258 break 4259 fi 4260 ;; 4261 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4262 # This compiler won't grok '-c -o', but also, the minuso test has 4263 # not run yet. These depmodes are late enough in the game, and 4264 # so weak that their functioning should not be impacted. 4265 am__obj=conftest.${OBJEXT-o} 4266 am__minus_obj= 4267 ;; 4268 none) break ;; 4269 esac 4270 if depmode=$depmode \ 4271 source=sub/conftest.c object=$am__obj \ 4272 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4273 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4274 >/dev/null 2>conftest.err && 4275 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4276 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4277 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4278 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4279 # icc doesn't choke on unknown options, it will just issue warnings 4280 # or remarks (even with -Werror). So we grep stderr for any message 4281 # that says an option was ignored or not supported. 4282 # When given -MP, icc 7.0 and 7.1 complain thusly: 4283 # icc: Command line warning: ignoring option '-M'; no argument required 4284 # The diagnosis changed in icc 8.0: 4285 # icc: Command line remark: option '-MP' not supported 4286 if (grep 'ignoring option' conftest.err || 4287 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4288 am_cv_CC_dependencies_compiler_type=$depmode 4289 break 4290 fi 4291 fi 4292 done 4293 4294 cd .. 4295 rm -rf conftest.dir 4296else 4297 am_cv_CC_dependencies_compiler_type=none 4298fi 4299 4300fi 4301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4302$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4303CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4304 4305 if 4306 test "x$enable_dependency_tracking" != xno \ 4307 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4308 am__fastdepCC_TRUE= 4309 am__fastdepCC_FALSE='#' 4310else 4311 am__fastdepCC_TRUE='#' 4312 am__fastdepCC_FALSE= 4313fi 4314 4315 4316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4317$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4318if ${ac_cv_path_SED+:} false; then : 4319 $as_echo_n "(cached) " >&6 4320else 4321 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4322 for ac_i in 1 2 3 4 5 6 7; do 4323 ac_script="$ac_script$as_nl$ac_script" 4324 done 4325 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4326 { ac_script=; unset ac_script;} 4327 if test -z "$SED"; then 4328 ac_path_SED_found=false 4329 # Loop through the user's path and test for each of PROGNAME-LIST 4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4331for as_dir in $PATH 4332do 4333 IFS=$as_save_IFS 4334 test -z "$as_dir" && as_dir=. 4335 for ac_prog in sed gsed; do 4336 for ac_exec_ext in '' $ac_executable_extensions; do 4337 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4338 as_fn_executable_p "$ac_path_SED" || continue 4339# Check for GNU ac_path_SED and select it if it is found. 4340 # Check for GNU $ac_path_SED 4341case `"$ac_path_SED" --version 2>&1` in 4342*GNU*) 4343 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4344*) 4345 ac_count=0 4346 $as_echo_n 0123456789 >"conftest.in" 4347 while : 4348 do 4349 cat "conftest.in" "conftest.in" >"conftest.tmp" 4350 mv "conftest.tmp" "conftest.in" 4351 cp "conftest.in" "conftest.nl" 4352 $as_echo '' >> "conftest.nl" 4353 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4354 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4355 as_fn_arith $ac_count + 1 && ac_count=$as_val 4356 if test $ac_count -gt ${ac_path_SED_max-0}; then 4357 # Best one so far, save it but keep looking for a better one 4358 ac_cv_path_SED="$ac_path_SED" 4359 ac_path_SED_max=$ac_count 4360 fi 4361 # 10*(2^10) chars as input seems more than enough 4362 test $ac_count -gt 10 && break 4363 done 4364 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4365esac 4366 4367 $ac_path_SED_found && break 3 4368 done 4369 done 4370 done 4371IFS=$as_save_IFS 4372 if test -z "$ac_cv_path_SED"; then 4373 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4374 fi 4375else 4376 ac_cv_path_SED=$SED 4377fi 4378 4379fi 4380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4381$as_echo "$ac_cv_path_SED" >&6; } 4382 SED="$ac_cv_path_SED" 4383 rm -f conftest.sed 4384 4385test -z "$SED" && SED=sed 4386Xsed="$SED -e 1s/^X//" 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4399$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4400if ${ac_cv_path_GREP+:} false; then : 4401 $as_echo_n "(cached) " >&6 4402else 4403 if test -z "$GREP"; then 4404 ac_path_GREP_found=false 4405 # Loop through the user's path and test for each of PROGNAME-LIST 4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4407for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4408do 4409 IFS=$as_save_IFS 4410 test -z "$as_dir" && as_dir=. 4411 for ac_prog in grep ggrep; do 4412 for ac_exec_ext in '' $ac_executable_extensions; do 4413 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4414 as_fn_executable_p "$ac_path_GREP" || continue 4415# Check for GNU ac_path_GREP and select it if it is found. 4416 # Check for GNU $ac_path_GREP 4417case `"$ac_path_GREP" --version 2>&1` in 4418*GNU*) 4419 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4420*) 4421 ac_count=0 4422 $as_echo_n 0123456789 >"conftest.in" 4423 while : 4424 do 4425 cat "conftest.in" "conftest.in" >"conftest.tmp" 4426 mv "conftest.tmp" "conftest.in" 4427 cp "conftest.in" "conftest.nl" 4428 $as_echo 'GREP' >> "conftest.nl" 4429 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4431 as_fn_arith $ac_count + 1 && ac_count=$as_val 4432 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4433 # Best one so far, save it but keep looking for a better one 4434 ac_cv_path_GREP="$ac_path_GREP" 4435 ac_path_GREP_max=$ac_count 4436 fi 4437 # 10*(2^10) chars as input seems more than enough 4438 test $ac_count -gt 10 && break 4439 done 4440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4441esac 4442 4443 $ac_path_GREP_found && break 3 4444 done 4445 done 4446 done 4447IFS=$as_save_IFS 4448 if test -z "$ac_cv_path_GREP"; then 4449 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4450 fi 4451else 4452 ac_cv_path_GREP=$GREP 4453fi 4454 4455fi 4456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4457$as_echo "$ac_cv_path_GREP" >&6; } 4458 GREP="$ac_cv_path_GREP" 4459 4460 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4462$as_echo_n "checking for egrep... " >&6; } 4463if ${ac_cv_path_EGREP+:} false; then : 4464 $as_echo_n "(cached) " >&6 4465else 4466 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4467 then ac_cv_path_EGREP="$GREP -E" 4468 else 4469 if test -z "$EGREP"; then 4470 ac_path_EGREP_found=false 4471 # Loop through the user's path and test for each of PROGNAME-LIST 4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4473for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4474do 4475 IFS=$as_save_IFS 4476 test -z "$as_dir" && as_dir=. 4477 for ac_prog in egrep; do 4478 for ac_exec_ext in '' $ac_executable_extensions; do 4479 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4480 as_fn_executable_p "$ac_path_EGREP" || continue 4481# Check for GNU ac_path_EGREP and select it if it is found. 4482 # Check for GNU $ac_path_EGREP 4483case `"$ac_path_EGREP" --version 2>&1` in 4484*GNU*) 4485 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4486*) 4487 ac_count=0 4488 $as_echo_n 0123456789 >"conftest.in" 4489 while : 4490 do 4491 cat "conftest.in" "conftest.in" >"conftest.tmp" 4492 mv "conftest.tmp" "conftest.in" 4493 cp "conftest.in" "conftest.nl" 4494 $as_echo 'EGREP' >> "conftest.nl" 4495 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4496 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4497 as_fn_arith $ac_count + 1 && ac_count=$as_val 4498 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4499 # Best one so far, save it but keep looking for a better one 4500 ac_cv_path_EGREP="$ac_path_EGREP" 4501 ac_path_EGREP_max=$ac_count 4502 fi 4503 # 10*(2^10) chars as input seems more than enough 4504 test $ac_count -gt 10 && break 4505 done 4506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4507esac 4508 4509 $ac_path_EGREP_found && break 3 4510 done 4511 done 4512 done 4513IFS=$as_save_IFS 4514 if test -z "$ac_cv_path_EGREP"; then 4515 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4516 fi 4517else 4518 ac_cv_path_EGREP=$EGREP 4519fi 4520 4521 fi 4522fi 4523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4524$as_echo "$ac_cv_path_EGREP" >&6; } 4525 EGREP="$ac_cv_path_EGREP" 4526 4527 4528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4529$as_echo_n "checking for fgrep... " >&6; } 4530if ${ac_cv_path_FGREP+:} false; then : 4531 $as_echo_n "(cached) " >&6 4532else 4533 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4534 then ac_cv_path_FGREP="$GREP -F" 4535 else 4536 if test -z "$FGREP"; then 4537 ac_path_FGREP_found=false 4538 # Loop through the user's path and test for each of PROGNAME-LIST 4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4540for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4541do 4542 IFS=$as_save_IFS 4543 test -z "$as_dir" && as_dir=. 4544 for ac_prog in fgrep; do 4545 for ac_exec_ext in '' $ac_executable_extensions; do 4546 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4547 as_fn_executable_p "$ac_path_FGREP" || continue 4548# Check for GNU ac_path_FGREP and select it if it is found. 4549 # Check for GNU $ac_path_FGREP 4550case `"$ac_path_FGREP" --version 2>&1` in 4551*GNU*) 4552 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4553*) 4554 ac_count=0 4555 $as_echo_n 0123456789 >"conftest.in" 4556 while : 4557 do 4558 cat "conftest.in" "conftest.in" >"conftest.tmp" 4559 mv "conftest.tmp" "conftest.in" 4560 cp "conftest.in" "conftest.nl" 4561 $as_echo 'FGREP' >> "conftest.nl" 4562 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4564 as_fn_arith $ac_count + 1 && ac_count=$as_val 4565 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4566 # Best one so far, save it but keep looking for a better one 4567 ac_cv_path_FGREP="$ac_path_FGREP" 4568 ac_path_FGREP_max=$ac_count 4569 fi 4570 # 10*(2^10) chars as input seems more than enough 4571 test $ac_count -gt 10 && break 4572 done 4573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4574esac 4575 4576 $ac_path_FGREP_found && break 3 4577 done 4578 done 4579 done 4580IFS=$as_save_IFS 4581 if test -z "$ac_cv_path_FGREP"; then 4582 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4583 fi 4584else 4585 ac_cv_path_FGREP=$FGREP 4586fi 4587 4588 fi 4589fi 4590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4591$as_echo "$ac_cv_path_FGREP" >&6; } 4592 FGREP="$ac_cv_path_FGREP" 4593 4594 4595test -z "$GREP" && GREP=grep 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615# Check whether --with-gnu-ld was given. 4616if test "${with_gnu_ld+set}" = set; then : 4617 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4618else 4619 with_gnu_ld=no 4620fi 4621 4622ac_prog=ld 4623if test "$GCC" = yes; then 4624 # Check if gcc -print-prog-name=ld gives a path. 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4626$as_echo_n "checking for ld used by $CC... " >&6; } 4627 case $host in 4628 *-*-mingw*) 4629 # gcc leaves a trailing carriage return which upsets mingw 4630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4631 *) 4632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4633 esac 4634 case $ac_prog in 4635 # Accept absolute paths. 4636 [\\/]* | ?:[\\/]*) 4637 re_direlt='/[^/][^/]*/\.\./' 4638 # Canonicalize the pathname of ld 4639 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4640 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4641 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4642 done 4643 test -z "$LD" && LD="$ac_prog" 4644 ;; 4645 "") 4646 # If it fails, then pretend we aren't using GCC. 4647 ac_prog=ld 4648 ;; 4649 *) 4650 # If it is relative, then search for the first ld in PATH. 4651 with_gnu_ld=unknown 4652 ;; 4653 esac 4654elif test "$with_gnu_ld" = yes; then 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4656$as_echo_n "checking for GNU ld... " >&6; } 4657else 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4659$as_echo_n "checking for non-GNU ld... " >&6; } 4660fi 4661if ${lt_cv_path_LD+:} false; then : 4662 $as_echo_n "(cached) " >&6 4663else 4664 if test -z "$LD"; then 4665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4666 for ac_dir in $PATH; do 4667 IFS="$lt_save_ifs" 4668 test -z "$ac_dir" && ac_dir=. 4669 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4670 lt_cv_path_LD="$ac_dir/$ac_prog" 4671 # Check to see if the program is GNU ld. I'd rather use --version, 4672 # but apparently some variants of GNU ld only accept -v. 4673 # Break only if it was the GNU/non-GNU ld that we prefer. 4674 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4675 *GNU* | *'with BFD'*) 4676 test "$with_gnu_ld" != no && break 4677 ;; 4678 *) 4679 test "$with_gnu_ld" != yes && break 4680 ;; 4681 esac 4682 fi 4683 done 4684 IFS="$lt_save_ifs" 4685else 4686 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4687fi 4688fi 4689 4690LD="$lt_cv_path_LD" 4691if test -n "$LD"; then 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4693$as_echo "$LD" >&6; } 4694else 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4696$as_echo "no" >&6; } 4697fi 4698test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4700$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4701if ${lt_cv_prog_gnu_ld+:} false; then : 4702 $as_echo_n "(cached) " >&6 4703else 4704 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4705case `$LD -v 2>&1 </dev/null` in 4706*GNU* | *'with BFD'*) 4707 lt_cv_prog_gnu_ld=yes 4708 ;; 4709*) 4710 lt_cv_prog_gnu_ld=no 4711 ;; 4712esac 4713fi 4714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4715$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4716with_gnu_ld=$lt_cv_prog_gnu_ld 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4727$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4728if ${lt_cv_path_NM+:} false; then : 4729 $as_echo_n "(cached) " >&6 4730else 4731 if test -n "$NM"; then 4732 # Let the user override the test. 4733 lt_cv_path_NM="$NM" 4734else 4735 lt_nm_to_check="${ac_tool_prefix}nm" 4736 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4737 lt_nm_to_check="$lt_nm_to_check nm" 4738 fi 4739 for lt_tmp_nm in $lt_nm_to_check; do 4740 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4741 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4742 IFS="$lt_save_ifs" 4743 test -z "$ac_dir" && ac_dir=. 4744 tmp_nm="$ac_dir/$lt_tmp_nm" 4745 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4746 # Check to see if the nm accepts a BSD-compat flag. 4747 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4748 # nm: unknown option "B" ignored 4749 # Tru64's nm complains that /dev/null is an invalid object file 4750 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4751 */dev/null* | *'Invalid file or object type'*) 4752 lt_cv_path_NM="$tmp_nm -B" 4753 break 4754 ;; 4755 *) 4756 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4757 */dev/null*) 4758 lt_cv_path_NM="$tmp_nm -p" 4759 break 4760 ;; 4761 *) 4762 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4763 continue # so that we can try to find one that supports BSD flags 4764 ;; 4765 esac 4766 ;; 4767 esac 4768 fi 4769 done 4770 IFS="$lt_save_ifs" 4771 done 4772 : ${lt_cv_path_NM=no} 4773fi 4774fi 4775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4776$as_echo "$lt_cv_path_NM" >&6; } 4777if test "$lt_cv_path_NM" != "no"; then 4778 NM="$lt_cv_path_NM" 4779else 4780 # Didn't find any BSD compatible name lister, look for dumpbin. 4781 if test -n "$DUMPBIN"; then : 4782 # Let the user override the test. 4783 else 4784 if test -n "$ac_tool_prefix"; then 4785 for ac_prog in dumpbin "link -dump" 4786 do 4787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4788set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4790$as_echo_n "checking for $ac_word... " >&6; } 4791if ${ac_cv_prog_DUMPBIN+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 if test -n "$DUMPBIN"; then 4795 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4796else 4797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4798for as_dir in $PATH 4799do 4800 IFS=$as_save_IFS 4801 test -z "$as_dir" && as_dir=. 4802 for ac_exec_ext in '' $ac_executable_extensions; do 4803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4804 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4806 break 2 4807 fi 4808done 4809 done 4810IFS=$as_save_IFS 4811 4812fi 4813fi 4814DUMPBIN=$ac_cv_prog_DUMPBIN 4815if test -n "$DUMPBIN"; then 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4817$as_echo "$DUMPBIN" >&6; } 4818else 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4820$as_echo "no" >&6; } 4821fi 4822 4823 4824 test -n "$DUMPBIN" && break 4825 done 4826fi 4827if test -z "$DUMPBIN"; then 4828 ac_ct_DUMPBIN=$DUMPBIN 4829 for ac_prog in dumpbin "link -dump" 4830do 4831 # Extract the first word of "$ac_prog", so it can be a program name with args. 4832set dummy $ac_prog; ac_word=$2 4833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4834$as_echo_n "checking for $ac_word... " >&6; } 4835if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4836 $as_echo_n "(cached) " >&6 4837else 4838 if test -n "$ac_ct_DUMPBIN"; then 4839 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4840else 4841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4842for as_dir in $PATH 4843do 4844 IFS=$as_save_IFS 4845 test -z "$as_dir" && as_dir=. 4846 for ac_exec_ext in '' $ac_executable_extensions; do 4847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4848 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4850 break 2 4851 fi 4852done 4853 done 4854IFS=$as_save_IFS 4855 4856fi 4857fi 4858ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4859if test -n "$ac_ct_DUMPBIN"; then 4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4861$as_echo "$ac_ct_DUMPBIN" >&6; } 4862else 4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4864$as_echo "no" >&6; } 4865fi 4866 4867 4868 test -n "$ac_ct_DUMPBIN" && break 4869done 4870 4871 if test "x$ac_ct_DUMPBIN" = x; then 4872 DUMPBIN=":" 4873 else 4874 case $cross_compiling:$ac_tool_warned in 4875yes:) 4876{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4877$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4878ac_tool_warned=yes ;; 4879esac 4880 DUMPBIN=$ac_ct_DUMPBIN 4881 fi 4882fi 4883 4884 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4885 *COFF*) 4886 DUMPBIN="$DUMPBIN -symbols" 4887 ;; 4888 *) 4889 DUMPBIN=: 4890 ;; 4891 esac 4892 fi 4893 4894 if test "$DUMPBIN" != ":"; then 4895 NM="$DUMPBIN" 4896 fi 4897fi 4898test -z "$NM" && NM=nm 4899 4900 4901 4902 4903 4904 4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4906$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4907if ${lt_cv_nm_interface+:} false; then : 4908 $as_echo_n "(cached) " >&6 4909else 4910 lt_cv_nm_interface="BSD nm" 4911 echo "int some_variable = 0;" > conftest.$ac_ext 4912 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4913 (eval "$ac_compile" 2>conftest.err) 4914 cat conftest.err >&5 4915 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4916 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4917 cat conftest.err >&5 4918 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4919 cat conftest.out >&5 4920 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4921 lt_cv_nm_interface="MS dumpbin" 4922 fi 4923 rm -f conftest* 4924fi 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4926$as_echo "$lt_cv_nm_interface" >&6; } 4927 4928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4929$as_echo_n "checking whether ln -s works... " >&6; } 4930LN_S=$as_ln_s 4931if test "$LN_S" = "ln -s"; then 4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4933$as_echo "yes" >&6; } 4934else 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4936$as_echo "no, using $LN_S" >&6; } 4937fi 4938 4939# find the maximum length of command line arguments 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4941$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4942if ${lt_cv_sys_max_cmd_len+:} false; then : 4943 $as_echo_n "(cached) " >&6 4944else 4945 i=0 4946 teststring="ABCD" 4947 4948 case $build_os in 4949 msdosdjgpp*) 4950 # On DJGPP, this test can blow up pretty badly due to problems in libc 4951 # (any single argument exceeding 2000 bytes causes a buffer overrun 4952 # during glob expansion). Even if it were fixed, the result of this 4953 # check would be larger than it should be. 4954 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4955 ;; 4956 4957 gnu*) 4958 # Under GNU Hurd, this test is not required because there is 4959 # no limit to the length of command line arguments. 4960 # Libtool will interpret -1 as no limit whatsoever 4961 lt_cv_sys_max_cmd_len=-1; 4962 ;; 4963 4964 cygwin* | mingw* | cegcc*) 4965 # On Win9x/ME, this test blows up -- it succeeds, but takes 4966 # about 5 minutes as the teststring grows exponentially. 4967 # Worse, since 9x/ME are not pre-emptively multitasking, 4968 # you end up with a "frozen" computer, even though with patience 4969 # the test eventually succeeds (with a max line length of 256k). 4970 # Instead, let's just punt: use the minimum linelength reported by 4971 # all of the supported platforms: 8192 (on NT/2K/XP). 4972 lt_cv_sys_max_cmd_len=8192; 4973 ;; 4974 4975 mint*) 4976 # On MiNT this can take a long time and run out of memory. 4977 lt_cv_sys_max_cmd_len=8192; 4978 ;; 4979 4980 amigaos*) 4981 # On AmigaOS with pdksh, this test takes hours, literally. 4982 # So we just punt and use a minimum line length of 8192. 4983 lt_cv_sys_max_cmd_len=8192; 4984 ;; 4985 4986 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4987 # This has been around since 386BSD, at least. Likely further. 4988 if test -x /sbin/sysctl; then 4989 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4990 elif test -x /usr/sbin/sysctl; then 4991 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4992 else 4993 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4994 fi 4995 # And add a safety zone 4996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4998 ;; 4999 5000 interix*) 5001 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5002 lt_cv_sys_max_cmd_len=196608 5003 ;; 5004 5005 os2*) 5006 # The test takes a long time on OS/2. 5007 lt_cv_sys_max_cmd_len=8192 5008 ;; 5009 5010 osf*) 5011 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5012 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5013 # nice to cause kernel panics so lets avoid the loop below. 5014 # First set a reasonable default. 5015 lt_cv_sys_max_cmd_len=16384 5016 # 5017 if test -x /sbin/sysconfig; then 5018 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5019 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5020 esac 5021 fi 5022 ;; 5023 sco3.2v5*) 5024 lt_cv_sys_max_cmd_len=102400 5025 ;; 5026 sysv5* | sco5v6* | sysv4.2uw2*) 5027 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5028 if test -n "$kargmax"; then 5029 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5030 else 5031 lt_cv_sys_max_cmd_len=32768 5032 fi 5033 ;; 5034 *) 5035 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5036 if test -n "$lt_cv_sys_max_cmd_len"; then 5037 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5038 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5039 else 5040 # Make teststring a little bigger before we do anything with it. 5041 # a 1K string should be a reasonable start. 5042 for i in 1 2 3 4 5 6 7 8 ; do 5043 teststring=$teststring$teststring 5044 done 5045 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5046 # If test is not a shell built-in, we'll probably end up computing a 5047 # maximum length that is only half of the actual maximum length, but 5048 # we can't tell. 5049 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5050 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5051 test $i != 17 # 1/2 MB should be enough 5052 do 5053 i=`expr $i + 1` 5054 teststring=$teststring$teststring 5055 done 5056 # Only check the string length outside the loop. 5057 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5058 teststring= 5059 # Add a significant safety factor because C++ compilers can tack on 5060 # massive amounts of additional arguments before passing them to the 5061 # linker. It appears as though 1/2 is a usable value. 5062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5063 fi 5064 ;; 5065 esac 5066 5067fi 5068 5069if test -n $lt_cv_sys_max_cmd_len ; then 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5071$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5072else 5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5074$as_echo "none" >&6; } 5075fi 5076max_cmd_len=$lt_cv_sys_max_cmd_len 5077 5078 5079 5080 5081 5082 5083: ${CP="cp -f"} 5084: ${MV="mv -f"} 5085: ${RM="rm -f"} 5086 5087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5088$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5089# Try some XSI features 5090xsi_shell=no 5091( _lt_dummy="a/b/c" 5092 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5093 = c,a/b,b/c, \ 5094 && eval 'test $(( 1 + 1 )) -eq 2 \ 5095 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5096 && xsi_shell=yes 5097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5098$as_echo "$xsi_shell" >&6; } 5099 5100 5101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5102$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5103lt_shell_append=no 5104( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5105 >/dev/null 2>&1 \ 5106 && lt_shell_append=yes 5107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5108$as_echo "$lt_shell_append" >&6; } 5109 5110 5111if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5112 lt_unset=unset 5113else 5114 lt_unset=false 5115fi 5116 5117 5118 5119 5120 5121# test EBCDIC or ASCII 5122case `echo X|tr X '\101'` in 5123 A) # ASCII based system 5124 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5125 lt_SP2NL='tr \040 \012' 5126 lt_NL2SP='tr \015\012 \040\040' 5127 ;; 5128 *) # EBCDIC based system 5129 lt_SP2NL='tr \100 \n' 5130 lt_NL2SP='tr \r\n \100\100' 5131 ;; 5132esac 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5143$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5144if ${lt_cv_to_host_file_cmd+:} false; then : 5145 $as_echo_n "(cached) " >&6 5146else 5147 case $host in 5148 *-*-mingw* ) 5149 case $build in 5150 *-*-mingw* ) # actually msys 5151 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5152 ;; 5153 *-*-cygwin* ) 5154 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5155 ;; 5156 * ) # otherwise, assume *nix 5157 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5158 ;; 5159 esac 5160 ;; 5161 *-*-cygwin* ) 5162 case $build in 5163 *-*-mingw* ) # actually msys 5164 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5165 ;; 5166 *-*-cygwin* ) 5167 lt_cv_to_host_file_cmd=func_convert_file_noop 5168 ;; 5169 * ) # otherwise, assume *nix 5170 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5171 ;; 5172 esac 5173 ;; 5174 * ) # unhandled hosts (and "normal" native builds) 5175 lt_cv_to_host_file_cmd=func_convert_file_noop 5176 ;; 5177esac 5178 5179fi 5180 5181to_host_file_cmd=$lt_cv_to_host_file_cmd 5182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5183$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5184 5185 5186 5187 5188 5189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5190$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5191if ${lt_cv_to_tool_file_cmd+:} false; then : 5192 $as_echo_n "(cached) " >&6 5193else 5194 #assume ordinary cross tools, or native build. 5195lt_cv_to_tool_file_cmd=func_convert_file_noop 5196case $host in 5197 *-*-mingw* ) 5198 case $build in 5199 *-*-mingw* ) # actually msys 5200 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5201 ;; 5202 esac 5203 ;; 5204esac 5205 5206fi 5207 5208to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5210$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5211 5212 5213 5214 5215 5216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5217$as_echo_n "checking for $LD option to reload object files... " >&6; } 5218if ${lt_cv_ld_reload_flag+:} false; then : 5219 $as_echo_n "(cached) " >&6 5220else 5221 lt_cv_ld_reload_flag='-r' 5222fi 5223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5224$as_echo "$lt_cv_ld_reload_flag" >&6; } 5225reload_flag=$lt_cv_ld_reload_flag 5226case $reload_flag in 5227"" | " "*) ;; 5228*) reload_flag=" $reload_flag" ;; 5229esac 5230reload_cmds='$LD$reload_flag -o $output$reload_objs' 5231case $host_os in 5232 cygwin* | mingw* | pw32* | cegcc*) 5233 if test "$GCC" != yes; then 5234 reload_cmds=false 5235 fi 5236 ;; 5237 darwin*) 5238 if test "$GCC" = yes; then 5239 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5240 else 5241 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5242 fi 5243 ;; 5244esac 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254if test -n "$ac_tool_prefix"; then 5255 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5256set dummy ${ac_tool_prefix}objdump; ac_word=$2 5257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5258$as_echo_n "checking for $ac_word... " >&6; } 5259if ${ac_cv_prog_OBJDUMP+:} false; then : 5260 $as_echo_n "(cached) " >&6 5261else 5262 if test -n "$OBJDUMP"; then 5263 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5264else 5265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5266for as_dir in $PATH 5267do 5268 IFS=$as_save_IFS 5269 test -z "$as_dir" && as_dir=. 5270 for ac_exec_ext in '' $ac_executable_extensions; do 5271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5272 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5274 break 2 5275 fi 5276done 5277 done 5278IFS=$as_save_IFS 5279 5280fi 5281fi 5282OBJDUMP=$ac_cv_prog_OBJDUMP 5283if test -n "$OBJDUMP"; then 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5285$as_echo "$OBJDUMP" >&6; } 5286else 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5288$as_echo "no" >&6; } 5289fi 5290 5291 5292fi 5293if test -z "$ac_cv_prog_OBJDUMP"; then 5294 ac_ct_OBJDUMP=$OBJDUMP 5295 # Extract the first word of "objdump", so it can be a program name with args. 5296set dummy objdump; ac_word=$2 5297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5298$as_echo_n "checking for $ac_word... " >&6; } 5299if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5300 $as_echo_n "(cached) " >&6 5301else 5302 if test -n "$ac_ct_OBJDUMP"; then 5303 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5304else 5305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5306for as_dir in $PATH 5307do 5308 IFS=$as_save_IFS 5309 test -z "$as_dir" && as_dir=. 5310 for ac_exec_ext in '' $ac_executable_extensions; do 5311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5312 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5314 break 2 5315 fi 5316done 5317 done 5318IFS=$as_save_IFS 5319 5320fi 5321fi 5322ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5323if test -n "$ac_ct_OBJDUMP"; then 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5325$as_echo "$ac_ct_OBJDUMP" >&6; } 5326else 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5328$as_echo "no" >&6; } 5329fi 5330 5331 if test "x$ac_ct_OBJDUMP" = x; then 5332 OBJDUMP="false" 5333 else 5334 case $cross_compiling:$ac_tool_warned in 5335yes:) 5336{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5338ac_tool_warned=yes ;; 5339esac 5340 OBJDUMP=$ac_ct_OBJDUMP 5341 fi 5342else 5343 OBJDUMP="$ac_cv_prog_OBJDUMP" 5344fi 5345 5346test -z "$OBJDUMP" && OBJDUMP=objdump 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5357$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5358if ${lt_cv_deplibs_check_method+:} false; then : 5359 $as_echo_n "(cached) " >&6 5360else 5361 lt_cv_file_magic_cmd='$MAGIC_CMD' 5362lt_cv_file_magic_test_file= 5363lt_cv_deplibs_check_method='unknown' 5364# Need to set the preceding variable on all platforms that support 5365# interlibrary dependencies. 5366# 'none' -- dependencies not supported. 5367# `unknown' -- same as none, but documents that we really don't know. 5368# 'pass_all' -- all dependencies passed with no checks. 5369# 'test_compile' -- check by making test program. 5370# 'file_magic [[regex]]' -- check by looking for files in library path 5371# which responds to the $file_magic_cmd with a given extended regex. 5372# If you have `file' or equivalent on your system and you're not sure 5373# whether `pass_all' will *always* work, you probably want this one. 5374 5375case $host_os in 5376aix[4-9]*) 5377 lt_cv_deplibs_check_method=pass_all 5378 ;; 5379 5380beos*) 5381 lt_cv_deplibs_check_method=pass_all 5382 ;; 5383 5384bsdi[45]*) 5385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5386 lt_cv_file_magic_cmd='/usr/bin/file -L' 5387 lt_cv_file_magic_test_file=/shlib/libc.so 5388 ;; 5389 5390cygwin*) 5391 # func_win32_libid is a shell function defined in ltmain.sh 5392 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5393 lt_cv_file_magic_cmd='func_win32_libid' 5394 ;; 5395 5396mingw* | pw32*) 5397 # Base MSYS/MinGW do not provide the 'file' command needed by 5398 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5399 # unless we find 'file', for example because we are cross-compiling. 5400 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5401 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5402 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5403 lt_cv_file_magic_cmd='func_win32_libid' 5404 else 5405 # Keep this pattern in sync with the one in func_win32_libid. 5406 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5407 lt_cv_file_magic_cmd='$OBJDUMP -f' 5408 fi 5409 ;; 5410 5411cegcc*) 5412 # use the weaker test based on 'objdump'. See mingw*. 5413 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5414 lt_cv_file_magic_cmd='$OBJDUMP -f' 5415 ;; 5416 5417darwin* | rhapsody*) 5418 lt_cv_deplibs_check_method=pass_all 5419 ;; 5420 5421freebsd* | dragonfly*) 5422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5423 case $host_cpu in 5424 i*86 ) 5425 # Not sure whether the presence of OpenBSD here was a mistake. 5426 # Let's accept both of them until this is cleared up. 5427 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5428 lt_cv_file_magic_cmd=/usr/bin/file 5429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5430 ;; 5431 esac 5432 else 5433 lt_cv_deplibs_check_method=pass_all 5434 fi 5435 ;; 5436 5437gnu*) 5438 lt_cv_deplibs_check_method=pass_all 5439 ;; 5440 5441haiku*) 5442 lt_cv_deplibs_check_method=pass_all 5443 ;; 5444 5445hpux10.20* | hpux11*) 5446 lt_cv_file_magic_cmd=/usr/bin/file 5447 case $host_cpu in 5448 ia64*) 5449 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5450 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5451 ;; 5452 hppa*64*) 5453 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 5454 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5455 ;; 5456 *) 5457 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5458 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5459 ;; 5460 esac 5461 ;; 5462 5463interix[3-9]*) 5464 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5465 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5466 ;; 5467 5468irix5* | irix6* | nonstopux*) 5469 case $LD in 5470 *-32|*"-32 ") libmagic=32-bit;; 5471 *-n32|*"-n32 ") libmagic=N32;; 5472 *-64|*"-64 ") libmagic=64-bit;; 5473 *) libmagic=never-match;; 5474 esac 5475 lt_cv_deplibs_check_method=pass_all 5476 ;; 5477 5478# This must be glibc/ELF. 5479linux* | k*bsd*-gnu | kopensolaris*-gnu) 5480 lt_cv_deplibs_check_method=pass_all 5481 ;; 5482 5483netbsd*) 5484 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5485 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5486 else 5487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5488 fi 5489 ;; 5490 5491newos6*) 5492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5493 lt_cv_file_magic_cmd=/usr/bin/file 5494 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5495 ;; 5496 5497*nto* | *qnx*) 5498 lt_cv_deplibs_check_method=pass_all 5499 ;; 5500 5501openbsd*) 5502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5503 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5504 else 5505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5506 fi 5507 ;; 5508 5509osf3* | osf4* | osf5*) 5510 lt_cv_deplibs_check_method=pass_all 5511 ;; 5512 5513rdos*) 5514 lt_cv_deplibs_check_method=pass_all 5515 ;; 5516 5517solaris*) 5518 lt_cv_deplibs_check_method=pass_all 5519 ;; 5520 5521sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5522 lt_cv_deplibs_check_method=pass_all 5523 ;; 5524 5525sysv4 | sysv4.3*) 5526 case $host_vendor in 5527 motorola) 5528 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 5529 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5530 ;; 5531 ncr) 5532 lt_cv_deplibs_check_method=pass_all 5533 ;; 5534 sequent) 5535 lt_cv_file_magic_cmd='/bin/file' 5536 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5537 ;; 5538 sni) 5539 lt_cv_file_magic_cmd='/bin/file' 5540 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5541 lt_cv_file_magic_test_file=/lib/libc.so 5542 ;; 5543 siemens) 5544 lt_cv_deplibs_check_method=pass_all 5545 ;; 5546 pc) 5547 lt_cv_deplibs_check_method=pass_all 5548 ;; 5549 esac 5550 ;; 5551 5552tpf*) 5553 lt_cv_deplibs_check_method=pass_all 5554 ;; 5555esac 5556 5557fi 5558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5559$as_echo "$lt_cv_deplibs_check_method" >&6; } 5560 5561file_magic_glob= 5562want_nocaseglob=no 5563if test "$build" = "$host"; then 5564 case $host_os in 5565 mingw* | pw32*) 5566 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5567 want_nocaseglob=yes 5568 else 5569 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5570 fi 5571 ;; 5572 esac 5573fi 5574 5575file_magic_cmd=$lt_cv_file_magic_cmd 5576deplibs_check_method=$lt_cv_deplibs_check_method 5577test -z "$deplibs_check_method" && deplibs_check_method=unknown 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600if test -n "$ac_tool_prefix"; then 5601 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5602set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5604$as_echo_n "checking for $ac_word... " >&6; } 5605if ${ac_cv_prog_DLLTOOL+:} false; then : 5606 $as_echo_n "(cached) " >&6 5607else 5608 if test -n "$DLLTOOL"; then 5609 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5610else 5611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5612for as_dir in $PATH 5613do 5614 IFS=$as_save_IFS 5615 test -z "$as_dir" && as_dir=. 5616 for ac_exec_ext in '' $ac_executable_extensions; do 5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5618 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5620 break 2 5621 fi 5622done 5623 done 5624IFS=$as_save_IFS 5625 5626fi 5627fi 5628DLLTOOL=$ac_cv_prog_DLLTOOL 5629if test -n "$DLLTOOL"; then 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5631$as_echo "$DLLTOOL" >&6; } 5632else 5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5634$as_echo "no" >&6; } 5635fi 5636 5637 5638fi 5639if test -z "$ac_cv_prog_DLLTOOL"; then 5640 ac_ct_DLLTOOL=$DLLTOOL 5641 # Extract the first word of "dlltool", so it can be a program name with args. 5642set dummy dlltool; ac_word=$2 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5644$as_echo_n "checking for $ac_word... " >&6; } 5645if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5646 $as_echo_n "(cached) " >&6 5647else 5648 if test -n "$ac_ct_DLLTOOL"; then 5649 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5650else 5651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5652for as_dir in $PATH 5653do 5654 IFS=$as_save_IFS 5655 test -z "$as_dir" && as_dir=. 5656 for ac_exec_ext in '' $ac_executable_extensions; do 5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5658 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5660 break 2 5661 fi 5662done 5663 done 5664IFS=$as_save_IFS 5665 5666fi 5667fi 5668ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5669if test -n "$ac_ct_DLLTOOL"; then 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5671$as_echo "$ac_ct_DLLTOOL" >&6; } 5672else 5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5674$as_echo "no" >&6; } 5675fi 5676 5677 if test "x$ac_ct_DLLTOOL" = x; then 5678 DLLTOOL="false" 5679 else 5680 case $cross_compiling:$ac_tool_warned in 5681yes:) 5682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5684ac_tool_warned=yes ;; 5685esac 5686 DLLTOOL=$ac_ct_DLLTOOL 5687 fi 5688else 5689 DLLTOOL="$ac_cv_prog_DLLTOOL" 5690fi 5691 5692test -z "$DLLTOOL" && DLLTOOL=dlltool 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5704$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5705if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5706 $as_echo_n "(cached) " >&6 5707else 5708 lt_cv_sharedlib_from_linklib_cmd='unknown' 5709 5710case $host_os in 5711cygwin* | mingw* | pw32* | cegcc*) 5712 # two different shell functions defined in ltmain.sh 5713 # decide which to use based on capabilities of $DLLTOOL 5714 case `$DLLTOOL --help 2>&1` in 5715 *--identify-strict*) 5716 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5717 ;; 5718 *) 5719 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5720 ;; 5721 esac 5722 ;; 5723*) 5724 # fallback: assume linklib IS sharedlib 5725 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5726 ;; 5727esac 5728 5729fi 5730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5731$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5732sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5733test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5734 5735 5736 5737 5738 5739 5740 5741 5742if test -n "$ac_tool_prefix"; then 5743 for ac_prog in ar 5744 do 5745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5746set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5748$as_echo_n "checking for $ac_word... " >&6; } 5749if ${ac_cv_prog_AR+:} false; then : 5750 $as_echo_n "(cached) " >&6 5751else 5752 if test -n "$AR"; then 5753 ac_cv_prog_AR="$AR" # Let the user override the test. 5754else 5755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5756for as_dir in $PATH 5757do 5758 IFS=$as_save_IFS 5759 test -z "$as_dir" && as_dir=. 5760 for ac_exec_ext in '' $ac_executable_extensions; do 5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5762 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5764 break 2 5765 fi 5766done 5767 done 5768IFS=$as_save_IFS 5769 5770fi 5771fi 5772AR=$ac_cv_prog_AR 5773if test -n "$AR"; then 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5775$as_echo "$AR" >&6; } 5776else 5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5778$as_echo "no" >&6; } 5779fi 5780 5781 5782 test -n "$AR" && break 5783 done 5784fi 5785if test -z "$AR"; then 5786 ac_ct_AR=$AR 5787 for ac_prog in ar 5788do 5789 # Extract the first word of "$ac_prog", so it can be a program name with args. 5790set dummy $ac_prog; ac_word=$2 5791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5792$as_echo_n "checking for $ac_word... " >&6; } 5793if ${ac_cv_prog_ac_ct_AR+:} false; then : 5794 $as_echo_n "(cached) " >&6 5795else 5796 if test -n "$ac_ct_AR"; then 5797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5798else 5799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5800for as_dir in $PATH 5801do 5802 IFS=$as_save_IFS 5803 test -z "$as_dir" && as_dir=. 5804 for ac_exec_ext in '' $ac_executable_extensions; do 5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5806 ac_cv_prog_ac_ct_AR="$ac_prog" 5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5808 break 2 5809 fi 5810done 5811 done 5812IFS=$as_save_IFS 5813 5814fi 5815fi 5816ac_ct_AR=$ac_cv_prog_ac_ct_AR 5817if test -n "$ac_ct_AR"; then 5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5819$as_echo "$ac_ct_AR" >&6; } 5820else 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5822$as_echo "no" >&6; } 5823fi 5824 5825 5826 test -n "$ac_ct_AR" && break 5827done 5828 5829 if test "x$ac_ct_AR" = x; then 5830 AR="false" 5831 else 5832 case $cross_compiling:$ac_tool_warned in 5833yes:) 5834{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5835$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5836ac_tool_warned=yes ;; 5837esac 5838 AR=$ac_ct_AR 5839 fi 5840fi 5841 5842: ${AR=ar} 5843: ${AR_FLAGS=cru} 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5856$as_echo_n "checking for archiver @FILE support... " >&6; } 5857if ${lt_cv_ar_at_file+:} false; then : 5858 $as_echo_n "(cached) " >&6 5859else 5860 lt_cv_ar_at_file=no 5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5862/* end confdefs.h. */ 5863 5864int 5865main () 5866{ 5867 5868 ; 5869 return 0; 5870} 5871_ACEOF 5872if ac_fn_c_try_compile "$LINENO"; then : 5873 echo conftest.$ac_objext > conftest.lst 5874 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5875 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5876 (eval $lt_ar_try) 2>&5 5877 ac_status=$? 5878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5879 test $ac_status = 0; } 5880 if test "$ac_status" -eq 0; then 5881 # Ensure the archiver fails upon bogus file names. 5882 rm -f conftest.$ac_objext libconftest.a 5883 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5884 (eval $lt_ar_try) 2>&5 5885 ac_status=$? 5886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5887 test $ac_status = 0; } 5888 if test "$ac_status" -ne 0; then 5889 lt_cv_ar_at_file=@ 5890 fi 5891 fi 5892 rm -f conftest.* libconftest.a 5893 5894fi 5895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5896 5897fi 5898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5899$as_echo "$lt_cv_ar_at_file" >&6; } 5900 5901if test "x$lt_cv_ar_at_file" = xno; then 5902 archiver_list_spec= 5903else 5904 archiver_list_spec=$lt_cv_ar_at_file 5905fi 5906 5907 5908 5909 5910 5911 5912 5913if test -n "$ac_tool_prefix"; then 5914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5915set dummy ${ac_tool_prefix}strip; ac_word=$2 5916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5917$as_echo_n "checking for $ac_word... " >&6; } 5918if ${ac_cv_prog_STRIP+:} false; then : 5919 $as_echo_n "(cached) " >&6 5920else 5921 if test -n "$STRIP"; then 5922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5923else 5924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5925for as_dir in $PATH 5926do 5927 IFS=$as_save_IFS 5928 test -z "$as_dir" && as_dir=. 5929 for ac_exec_ext in '' $ac_executable_extensions; do 5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5931 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5933 break 2 5934 fi 5935done 5936 done 5937IFS=$as_save_IFS 5938 5939fi 5940fi 5941STRIP=$ac_cv_prog_STRIP 5942if test -n "$STRIP"; then 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5944$as_echo "$STRIP" >&6; } 5945else 5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5947$as_echo "no" >&6; } 5948fi 5949 5950 5951fi 5952if test -z "$ac_cv_prog_STRIP"; then 5953 ac_ct_STRIP=$STRIP 5954 # Extract the first word of "strip", so it can be a program name with args. 5955set dummy strip; ac_word=$2 5956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5957$as_echo_n "checking for $ac_word... " >&6; } 5958if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5959 $as_echo_n "(cached) " >&6 5960else 5961 if test -n "$ac_ct_STRIP"; then 5962 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5963else 5964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5965for as_dir in $PATH 5966do 5967 IFS=$as_save_IFS 5968 test -z "$as_dir" && as_dir=. 5969 for ac_exec_ext in '' $ac_executable_extensions; do 5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5971 ac_cv_prog_ac_ct_STRIP="strip" 5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5973 break 2 5974 fi 5975done 5976 done 5977IFS=$as_save_IFS 5978 5979fi 5980fi 5981ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5982if test -n "$ac_ct_STRIP"; then 5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5984$as_echo "$ac_ct_STRIP" >&6; } 5985else 5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5987$as_echo "no" >&6; } 5988fi 5989 5990 if test "x$ac_ct_STRIP" = x; then 5991 STRIP=":" 5992 else 5993 case $cross_compiling:$ac_tool_warned in 5994yes:) 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5997ac_tool_warned=yes ;; 5998esac 5999 STRIP=$ac_ct_STRIP 6000 fi 6001else 6002 STRIP="$ac_cv_prog_STRIP" 6003fi 6004 6005test -z "$STRIP" && STRIP=: 6006 6007 6008 6009 6010 6011 6012if test -n "$ac_tool_prefix"; then 6013 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6014set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6016$as_echo_n "checking for $ac_word... " >&6; } 6017if ${ac_cv_prog_RANLIB+:} false; then : 6018 $as_echo_n "(cached) " >&6 6019else 6020 if test -n "$RANLIB"; then 6021 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6022else 6023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6024for as_dir in $PATH 6025do 6026 IFS=$as_save_IFS 6027 test -z "$as_dir" && as_dir=. 6028 for ac_exec_ext in '' $ac_executable_extensions; do 6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6030 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6032 break 2 6033 fi 6034done 6035 done 6036IFS=$as_save_IFS 6037 6038fi 6039fi 6040RANLIB=$ac_cv_prog_RANLIB 6041if test -n "$RANLIB"; then 6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6043$as_echo "$RANLIB" >&6; } 6044else 6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6046$as_echo "no" >&6; } 6047fi 6048 6049 6050fi 6051if test -z "$ac_cv_prog_RANLIB"; then 6052 ac_ct_RANLIB=$RANLIB 6053 # Extract the first word of "ranlib", so it can be a program name with args. 6054set dummy ranlib; ac_word=$2 6055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6056$as_echo_n "checking for $ac_word... " >&6; } 6057if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6058 $as_echo_n "(cached) " >&6 6059else 6060 if test -n "$ac_ct_RANLIB"; then 6061 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6062else 6063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6064for as_dir in $PATH 6065do 6066 IFS=$as_save_IFS 6067 test -z "$as_dir" && as_dir=. 6068 for ac_exec_ext in '' $ac_executable_extensions; do 6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6070 ac_cv_prog_ac_ct_RANLIB="ranlib" 6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6072 break 2 6073 fi 6074done 6075 done 6076IFS=$as_save_IFS 6077 6078fi 6079fi 6080ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6081if test -n "$ac_ct_RANLIB"; then 6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6083$as_echo "$ac_ct_RANLIB" >&6; } 6084else 6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6086$as_echo "no" >&6; } 6087fi 6088 6089 if test "x$ac_ct_RANLIB" = x; then 6090 RANLIB=":" 6091 else 6092 case $cross_compiling:$ac_tool_warned in 6093yes:) 6094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6096ac_tool_warned=yes ;; 6097esac 6098 RANLIB=$ac_ct_RANLIB 6099 fi 6100else 6101 RANLIB="$ac_cv_prog_RANLIB" 6102fi 6103 6104test -z "$RANLIB" && RANLIB=: 6105 6106 6107 6108 6109 6110 6111# Determine commands to create old-style static archives. 6112old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6113old_postinstall_cmds='chmod 644 $oldlib' 6114old_postuninstall_cmds= 6115 6116if test -n "$RANLIB"; then 6117 case $host_os in 6118 openbsd*) 6119 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6120 ;; 6121 *) 6122 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6123 ;; 6124 esac 6125 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6126fi 6127 6128case $host_os in 6129 darwin*) 6130 lock_old_archive_extraction=yes ;; 6131 *) 6132 lock_old_archive_extraction=no ;; 6133esac 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173# If no C compiler was specified, use CC. 6174LTCC=${LTCC-"$CC"} 6175 6176# If no C compiler flags were specified, use CFLAGS. 6177LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6178 6179# Allow CC to be a program name with arguments. 6180compiler=$CC 6181 6182 6183# Check for command to grab the raw symbol name followed by C symbol from nm. 6184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6185$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6186if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6187 $as_echo_n "(cached) " >&6 6188else 6189 6190# These are sane defaults that work on at least a few old systems. 6191# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6192 6193# Character class describing NM global symbol codes. 6194symcode='[BCDEGRST]' 6195 6196# Regexp to match symbols that can be accessed directly from C. 6197sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6198 6199# Define system-specific variables. 6200case $host_os in 6201aix*) 6202 symcode='[BCDT]' 6203 ;; 6204cygwin* | mingw* | pw32* | cegcc*) 6205 symcode='[ABCDGISTW]' 6206 ;; 6207hpux*) 6208 if test "$host_cpu" = ia64; then 6209 symcode='[ABCDEGRST]' 6210 fi 6211 ;; 6212irix* | nonstopux*) 6213 symcode='[BCDEGRST]' 6214 ;; 6215osf*) 6216 symcode='[BCDEGQRST]' 6217 ;; 6218solaris*) 6219 symcode='[BDRT]' 6220 ;; 6221sco3.2v5*) 6222 symcode='[DT]' 6223 ;; 6224sysv4.2uw2*) 6225 symcode='[DT]' 6226 ;; 6227sysv5* | sco5v6* | unixware* | OpenUNIX*) 6228 symcode='[ABDT]' 6229 ;; 6230sysv4) 6231 symcode='[DFNSTU]' 6232 ;; 6233esac 6234 6235# If we're using GNU nm, then use its standard symbol codes. 6236case `$NM -V 2>&1` in 6237*GNU* | *'with BFD'*) 6238 symcode='[ABCDGIRSTW]' ;; 6239esac 6240 6241# Transform an extracted symbol line into a proper C declaration. 6242# Some systems (esp. on ia64) link data and code symbols differently, 6243# so use this general approach. 6244lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6245 6246# Transform an extracted symbol line into symbol name and symbol address 6247lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6248lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6249 6250# Handle CRLF in mingw tool chain 6251opt_cr= 6252case $build_os in 6253mingw*) 6254 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6255 ;; 6256esac 6257 6258# Try without a prefix underscore, then with it. 6259for ac_symprfx in "" "_"; do 6260 6261 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6262 symxfrm="\\1 $ac_symprfx\\2 \\2" 6263 6264 # Write the raw and C identifiers. 6265 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6266 # Fake it for dumpbin and say T for any non-static function 6267 # and D for any global variable. 6268 # Also find C++ and __fastcall symbols from MSVC++, 6269 # which start with @ or ?. 6270 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6271" {last_section=section; section=\$ 3};"\ 6272" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6273" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6274" \$ 0!~/External *\|/{next};"\ 6275" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6276" {if(hide[section]) next};"\ 6277" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6278" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6279" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6280" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6281" ' prfx=^$ac_symprfx" 6282 else 6283 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6284 fi 6285 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6286 6287 # Check to see that the pipe works correctly. 6288 pipe_works=no 6289 6290 rm -f conftest* 6291 cat > conftest.$ac_ext <<_LT_EOF 6292#ifdef __cplusplus 6293extern "C" { 6294#endif 6295char nm_test_var; 6296void nm_test_func(void); 6297void nm_test_func(void){} 6298#ifdef __cplusplus 6299} 6300#endif 6301int main(){nm_test_var='a';nm_test_func();return(0);} 6302_LT_EOF 6303 6304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6305 (eval $ac_compile) 2>&5 6306 ac_status=$? 6307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6308 test $ac_status = 0; }; then 6309 # Now try to grab the symbols. 6310 nlist=conftest.nm 6311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6312 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6313 ac_status=$? 6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6315 test $ac_status = 0; } && test -s "$nlist"; then 6316 # Try sorting and uniquifying the output. 6317 if sort "$nlist" | uniq > "$nlist"T; then 6318 mv -f "$nlist"T "$nlist" 6319 else 6320 rm -f "$nlist"T 6321 fi 6322 6323 # Make sure that we snagged all the symbols we need. 6324 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6325 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6326 cat <<_LT_EOF > conftest.$ac_ext 6327/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6328#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6329/* DATA imports from DLLs on WIN32 con't be const, because runtime 6330 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6331# define LT_DLSYM_CONST 6332#elif defined(__osf__) 6333/* This system does not cope well with relocations in const data. */ 6334# define LT_DLSYM_CONST 6335#else 6336# define LT_DLSYM_CONST const 6337#endif 6338 6339#ifdef __cplusplus 6340extern "C" { 6341#endif 6342 6343_LT_EOF 6344 # Now generate the symbol file. 6345 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6346 6347 cat <<_LT_EOF >> conftest.$ac_ext 6348 6349/* The mapping between symbol names and symbols. */ 6350LT_DLSYM_CONST struct { 6351 const char *name; 6352 void *address; 6353} 6354lt__PROGRAM__LTX_preloaded_symbols[] = 6355{ 6356 { "@PROGRAM@", (void *) 0 }, 6357_LT_EOF 6358 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6359 cat <<\_LT_EOF >> conftest.$ac_ext 6360 {0, (void *) 0} 6361}; 6362 6363/* This works around a problem in FreeBSD linker */ 6364#ifdef FREEBSD_WORKAROUND 6365static const void *lt_preloaded_setup() { 6366 return lt__PROGRAM__LTX_preloaded_symbols; 6367} 6368#endif 6369 6370#ifdef __cplusplus 6371} 6372#endif 6373_LT_EOF 6374 # Now try linking the two files. 6375 mv conftest.$ac_objext conftstm.$ac_objext 6376 lt_globsym_save_LIBS=$LIBS 6377 lt_globsym_save_CFLAGS=$CFLAGS 6378 LIBS="conftstm.$ac_objext" 6379 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6381 (eval $ac_link) 2>&5 6382 ac_status=$? 6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6384 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6385 pipe_works=yes 6386 fi 6387 LIBS=$lt_globsym_save_LIBS 6388 CFLAGS=$lt_globsym_save_CFLAGS 6389 else 6390 echo "cannot find nm_test_func in $nlist" >&5 6391 fi 6392 else 6393 echo "cannot find nm_test_var in $nlist" >&5 6394 fi 6395 else 6396 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6397 fi 6398 else 6399 echo "$progname: failed program was:" >&5 6400 cat conftest.$ac_ext >&5 6401 fi 6402 rm -rf conftest* conftst* 6403 6404 # Do not use the global_symbol_pipe unless it works. 6405 if test "$pipe_works" = yes; then 6406 break 6407 else 6408 lt_cv_sys_global_symbol_pipe= 6409 fi 6410done 6411 6412fi 6413 6414if test -z "$lt_cv_sys_global_symbol_pipe"; then 6415 lt_cv_sys_global_symbol_to_cdecl= 6416fi 6417if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6419$as_echo "failed" >&6; } 6420else 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6422$as_echo "ok" >&6; } 6423fi 6424 6425# Response file support. 6426if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6427 nm_file_list_spec='@' 6428elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6429 nm_file_list_spec='@' 6430fi 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6459$as_echo_n "checking for sysroot... " >&6; } 6460 6461# Check whether --with-sysroot was given. 6462if test "${with_sysroot+set}" = set; then : 6463 withval=$with_sysroot; 6464else 6465 with_sysroot=no 6466fi 6467 6468 6469lt_sysroot= 6470case ${with_sysroot} in #( 6471 yes) 6472 if test "$GCC" = yes; then 6473 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6474 fi 6475 ;; #( 6476 /*) 6477 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6478 ;; #( 6479 no|'') 6480 ;; #( 6481 *) 6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6483$as_echo "${with_sysroot}" >&6; } 6484 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6485 ;; 6486esac 6487 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6489$as_echo "${lt_sysroot:-no}" >&6; } 6490 6491 6492 6493 6494 6495# Check whether --enable-libtool-lock was given. 6496if test "${enable_libtool_lock+set}" = set; then : 6497 enableval=$enable_libtool_lock; 6498fi 6499 6500test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6501 6502# Some flags need to be propagated to the compiler or linker for good 6503# libtool support. 6504case $host in 6505ia64-*-hpux*) 6506 # Find out which ABI we are using. 6507 echo 'int i;' > conftest.$ac_ext 6508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6509 (eval $ac_compile) 2>&5 6510 ac_status=$? 6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6512 test $ac_status = 0; }; then 6513 case `/usr/bin/file conftest.$ac_objext` in 6514 *ELF-32*) 6515 HPUX_IA64_MODE="32" 6516 ;; 6517 *ELF-64*) 6518 HPUX_IA64_MODE="64" 6519 ;; 6520 esac 6521 fi 6522 rm -rf conftest* 6523 ;; 6524*-*-irix6*) 6525 # Find out which ABI we are using. 6526 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6528 (eval $ac_compile) 2>&5 6529 ac_status=$? 6530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6531 test $ac_status = 0; }; then 6532 if test "$lt_cv_prog_gnu_ld" = yes; then 6533 case `/usr/bin/file conftest.$ac_objext` in 6534 *32-bit*) 6535 LD="${LD-ld} -melf32bsmip" 6536 ;; 6537 *N32*) 6538 LD="${LD-ld} -melf32bmipn32" 6539 ;; 6540 *64-bit*) 6541 LD="${LD-ld} -melf64bmip" 6542 ;; 6543 esac 6544 else 6545 case `/usr/bin/file conftest.$ac_objext` in 6546 *32-bit*) 6547 LD="${LD-ld} -32" 6548 ;; 6549 *N32*) 6550 LD="${LD-ld} -n32" 6551 ;; 6552 *64-bit*) 6553 LD="${LD-ld} -64" 6554 ;; 6555 esac 6556 fi 6557 fi 6558 rm -rf conftest* 6559 ;; 6560 6561x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6562s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6563 # Find out which ABI we are using. 6564 echo 'int i;' > conftest.$ac_ext 6565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6566 (eval $ac_compile) 2>&5 6567 ac_status=$? 6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6569 test $ac_status = 0; }; then 6570 case `/usr/bin/file conftest.o` in 6571 *32-bit*) 6572 case $host in 6573 x86_64-*kfreebsd*-gnu) 6574 LD="${LD-ld} -m elf_i386_fbsd" 6575 ;; 6576 x86_64-*linux*) 6577 LD="${LD-ld} -m elf_i386" 6578 ;; 6579 ppc64-*linux*|powerpc64-*linux*) 6580 LD="${LD-ld} -m elf32ppclinux" 6581 ;; 6582 s390x-*linux*) 6583 LD="${LD-ld} -m elf_s390" 6584 ;; 6585 sparc64-*linux*) 6586 LD="${LD-ld} -m elf32_sparc" 6587 ;; 6588 esac 6589 ;; 6590 *64-bit*) 6591 case $host in 6592 x86_64-*kfreebsd*-gnu) 6593 LD="${LD-ld} -m elf_x86_64_fbsd" 6594 ;; 6595 x86_64-*linux*) 6596 LD="${LD-ld} -m elf_x86_64" 6597 ;; 6598 ppc*-*linux*|powerpc*-*linux*) 6599 LD="${LD-ld} -m elf64ppc" 6600 ;; 6601 s390*-*linux*|s390*-*tpf*) 6602 LD="${LD-ld} -m elf64_s390" 6603 ;; 6604 sparc*-*linux*) 6605 LD="${LD-ld} -m elf64_sparc" 6606 ;; 6607 esac 6608 ;; 6609 esac 6610 fi 6611 rm -rf conftest* 6612 ;; 6613 6614*-*-sco3.2v5*) 6615 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6616 SAVE_CFLAGS="$CFLAGS" 6617 CFLAGS="$CFLAGS -belf" 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6619$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6620if ${lt_cv_cc_needs_belf+:} false; then : 6621 $as_echo_n "(cached) " >&6 6622else 6623 ac_ext=c 6624ac_cpp='$CPP $CPPFLAGS' 6625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6627ac_compiler_gnu=$ac_cv_c_compiler_gnu 6628 6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6630/* end confdefs.h. */ 6631 6632int 6633main () 6634{ 6635 6636 ; 6637 return 0; 6638} 6639_ACEOF 6640if ac_fn_c_try_link "$LINENO"; then : 6641 lt_cv_cc_needs_belf=yes 6642else 6643 lt_cv_cc_needs_belf=no 6644fi 6645rm -f core conftest.err conftest.$ac_objext \ 6646 conftest$ac_exeext conftest.$ac_ext 6647 ac_ext=c 6648ac_cpp='$CPP $CPPFLAGS' 6649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6651ac_compiler_gnu=$ac_cv_c_compiler_gnu 6652 6653fi 6654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6655$as_echo "$lt_cv_cc_needs_belf" >&6; } 6656 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6657 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6658 CFLAGS="$SAVE_CFLAGS" 6659 fi 6660 ;; 6661*-*solaris*) 6662 # Find out which ABI we are using. 6663 echo 'int i;' > conftest.$ac_ext 6664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6665 (eval $ac_compile) 2>&5 6666 ac_status=$? 6667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6668 test $ac_status = 0; }; then 6669 case `/usr/bin/file conftest.o` in 6670 *64-bit*) 6671 case $lt_cv_prog_gnu_ld in 6672 yes*) 6673 case $host in 6674 i?86-*-solaris*) 6675 LD="${LD-ld} -m elf_x86_64" 6676 ;; 6677 sparc*-*-solaris*) 6678 LD="${LD-ld} -m elf64_sparc" 6679 ;; 6680 esac 6681 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6682 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6683 LD="${LD-ld}_sol2" 6684 fi 6685 ;; 6686 *) 6687 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6688 LD="${LD-ld} -64" 6689 fi 6690 ;; 6691 esac 6692 ;; 6693 esac 6694 fi 6695 rm -rf conftest* 6696 ;; 6697esac 6698 6699need_locks="$enable_libtool_lock" 6700 6701if test -n "$ac_tool_prefix"; then 6702 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6703set dummy ${ac_tool_prefix}mt; ac_word=$2 6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6705$as_echo_n "checking for $ac_word... " >&6; } 6706if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6707 $as_echo_n "(cached) " >&6 6708else 6709 if test -n "$MANIFEST_TOOL"; then 6710 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6711else 6712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6713for as_dir in $PATH 6714do 6715 IFS=$as_save_IFS 6716 test -z "$as_dir" && as_dir=. 6717 for ac_exec_ext in '' $ac_executable_extensions; do 6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6719 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6721 break 2 6722 fi 6723done 6724 done 6725IFS=$as_save_IFS 6726 6727fi 6728fi 6729MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6730if test -n "$MANIFEST_TOOL"; then 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6732$as_echo "$MANIFEST_TOOL" >&6; } 6733else 6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6735$as_echo "no" >&6; } 6736fi 6737 6738 6739fi 6740if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6741 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6742 # Extract the first word of "mt", so it can be a program name with args. 6743set dummy mt; ac_word=$2 6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745$as_echo_n "checking for $ac_word... " >&6; } 6746if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6747 $as_echo_n "(cached) " >&6 6748else 6749 if test -n "$ac_ct_MANIFEST_TOOL"; then 6750 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6751else 6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753for as_dir in $PATH 6754do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6759 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763done 6764 done 6765IFS=$as_save_IFS 6766 6767fi 6768fi 6769ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6770if test -n "$ac_ct_MANIFEST_TOOL"; then 6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6772$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6773else 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6775$as_echo "no" >&6; } 6776fi 6777 6778 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6779 MANIFEST_TOOL=":" 6780 else 6781 case $cross_compiling:$ac_tool_warned in 6782yes:) 6783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6785ac_tool_warned=yes ;; 6786esac 6787 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6788 fi 6789else 6790 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6791fi 6792 6793test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6795$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6796if ${lt_cv_path_mainfest_tool+:} false; then : 6797 $as_echo_n "(cached) " >&6 6798else 6799 lt_cv_path_mainfest_tool=no 6800 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6801 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6802 cat conftest.err >&5 6803 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6804 lt_cv_path_mainfest_tool=yes 6805 fi 6806 rm -f conftest* 6807fi 6808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6809$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6810if test "x$lt_cv_path_mainfest_tool" != xyes; then 6811 MANIFEST_TOOL=: 6812fi 6813 6814 6815 6816 6817 6818 6819 case $host_os in 6820 rhapsody* | darwin*) 6821 if test -n "$ac_tool_prefix"; then 6822 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6823set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6825$as_echo_n "checking for $ac_word... " >&6; } 6826if ${ac_cv_prog_DSYMUTIL+:} false; then : 6827 $as_echo_n "(cached) " >&6 6828else 6829 if test -n "$DSYMUTIL"; then 6830 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6831else 6832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6833for as_dir in $PATH 6834do 6835 IFS=$as_save_IFS 6836 test -z "$as_dir" && as_dir=. 6837 for ac_exec_ext in '' $ac_executable_extensions; do 6838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6839 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6841 break 2 6842 fi 6843done 6844 done 6845IFS=$as_save_IFS 6846 6847fi 6848fi 6849DSYMUTIL=$ac_cv_prog_DSYMUTIL 6850if test -n "$DSYMUTIL"; then 6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6852$as_echo "$DSYMUTIL" >&6; } 6853else 6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6855$as_echo "no" >&6; } 6856fi 6857 6858 6859fi 6860if test -z "$ac_cv_prog_DSYMUTIL"; then 6861 ac_ct_DSYMUTIL=$DSYMUTIL 6862 # Extract the first word of "dsymutil", so it can be a program name with args. 6863set dummy dsymutil; ac_word=$2 6864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6865$as_echo_n "checking for $ac_word... " >&6; } 6866if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6867 $as_echo_n "(cached) " >&6 6868else 6869 if test -n "$ac_ct_DSYMUTIL"; then 6870 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6871else 6872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6873for as_dir in $PATH 6874do 6875 IFS=$as_save_IFS 6876 test -z "$as_dir" && as_dir=. 6877 for ac_exec_ext in '' $ac_executable_extensions; do 6878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6879 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6881 break 2 6882 fi 6883done 6884 done 6885IFS=$as_save_IFS 6886 6887fi 6888fi 6889ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6890if test -n "$ac_ct_DSYMUTIL"; then 6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6892$as_echo "$ac_ct_DSYMUTIL" >&6; } 6893else 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6895$as_echo "no" >&6; } 6896fi 6897 6898 if test "x$ac_ct_DSYMUTIL" = x; then 6899 DSYMUTIL=":" 6900 else 6901 case $cross_compiling:$ac_tool_warned in 6902yes:) 6903{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6904$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6905ac_tool_warned=yes ;; 6906esac 6907 DSYMUTIL=$ac_ct_DSYMUTIL 6908 fi 6909else 6910 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6911fi 6912 6913 if test -n "$ac_tool_prefix"; then 6914 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6915set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6917$as_echo_n "checking for $ac_word... " >&6; } 6918if ${ac_cv_prog_NMEDIT+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 if test -n "$NMEDIT"; then 6922 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6923else 6924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6925for as_dir in $PATH 6926do 6927 IFS=$as_save_IFS 6928 test -z "$as_dir" && as_dir=. 6929 for ac_exec_ext in '' $ac_executable_extensions; do 6930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6931 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6933 break 2 6934 fi 6935done 6936 done 6937IFS=$as_save_IFS 6938 6939fi 6940fi 6941NMEDIT=$ac_cv_prog_NMEDIT 6942if test -n "$NMEDIT"; then 6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6944$as_echo "$NMEDIT" >&6; } 6945else 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6947$as_echo "no" >&6; } 6948fi 6949 6950 6951fi 6952if test -z "$ac_cv_prog_NMEDIT"; then 6953 ac_ct_NMEDIT=$NMEDIT 6954 # Extract the first word of "nmedit", so it can be a program name with args. 6955set dummy nmedit; ac_word=$2 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6957$as_echo_n "checking for $ac_word... " >&6; } 6958if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6959 $as_echo_n "(cached) " >&6 6960else 6961 if test -n "$ac_ct_NMEDIT"; then 6962 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6963else 6964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6965for as_dir in $PATH 6966do 6967 IFS=$as_save_IFS 6968 test -z "$as_dir" && as_dir=. 6969 for ac_exec_ext in '' $ac_executable_extensions; do 6970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6971 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6973 break 2 6974 fi 6975done 6976 done 6977IFS=$as_save_IFS 6978 6979fi 6980fi 6981ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6982if test -n "$ac_ct_NMEDIT"; then 6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6984$as_echo "$ac_ct_NMEDIT" >&6; } 6985else 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6987$as_echo "no" >&6; } 6988fi 6989 6990 if test "x$ac_ct_NMEDIT" = x; then 6991 NMEDIT=":" 6992 else 6993 case $cross_compiling:$ac_tool_warned in 6994yes:) 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6997ac_tool_warned=yes ;; 6998esac 6999 NMEDIT=$ac_ct_NMEDIT 7000 fi 7001else 7002 NMEDIT="$ac_cv_prog_NMEDIT" 7003fi 7004 7005 if test -n "$ac_tool_prefix"; then 7006 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7007set dummy ${ac_tool_prefix}lipo; ac_word=$2 7008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7009$as_echo_n "checking for $ac_word... " >&6; } 7010if ${ac_cv_prog_LIPO+:} false; then : 7011 $as_echo_n "(cached) " >&6 7012else 7013 if test -n "$LIPO"; then 7014 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7015else 7016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7017for as_dir in $PATH 7018do 7019 IFS=$as_save_IFS 7020 test -z "$as_dir" && as_dir=. 7021 for ac_exec_ext in '' $ac_executable_extensions; do 7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7023 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7025 break 2 7026 fi 7027done 7028 done 7029IFS=$as_save_IFS 7030 7031fi 7032fi 7033LIPO=$ac_cv_prog_LIPO 7034if test -n "$LIPO"; then 7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7036$as_echo "$LIPO" >&6; } 7037else 7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7039$as_echo "no" >&6; } 7040fi 7041 7042 7043fi 7044if test -z "$ac_cv_prog_LIPO"; then 7045 ac_ct_LIPO=$LIPO 7046 # Extract the first word of "lipo", so it can be a program name with args. 7047set dummy lipo; ac_word=$2 7048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7049$as_echo_n "checking for $ac_word... " >&6; } 7050if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7051 $as_echo_n "(cached) " >&6 7052else 7053 if test -n "$ac_ct_LIPO"; then 7054 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7055else 7056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7057for as_dir in $PATH 7058do 7059 IFS=$as_save_IFS 7060 test -z "$as_dir" && as_dir=. 7061 for ac_exec_ext in '' $ac_executable_extensions; do 7062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7063 ac_cv_prog_ac_ct_LIPO="lipo" 7064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7065 break 2 7066 fi 7067done 7068 done 7069IFS=$as_save_IFS 7070 7071fi 7072fi 7073ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7074if test -n "$ac_ct_LIPO"; then 7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7076$as_echo "$ac_ct_LIPO" >&6; } 7077else 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7079$as_echo "no" >&6; } 7080fi 7081 7082 if test "x$ac_ct_LIPO" = x; then 7083 LIPO=":" 7084 else 7085 case $cross_compiling:$ac_tool_warned in 7086yes:) 7087{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7088$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7089ac_tool_warned=yes ;; 7090esac 7091 LIPO=$ac_ct_LIPO 7092 fi 7093else 7094 LIPO="$ac_cv_prog_LIPO" 7095fi 7096 7097 if test -n "$ac_tool_prefix"; then 7098 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7099set dummy ${ac_tool_prefix}otool; ac_word=$2 7100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7101$as_echo_n "checking for $ac_word... " >&6; } 7102if ${ac_cv_prog_OTOOL+:} false; then : 7103 $as_echo_n "(cached) " >&6 7104else 7105 if test -n "$OTOOL"; then 7106 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7107else 7108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7109for as_dir in $PATH 7110do 7111 IFS=$as_save_IFS 7112 test -z "$as_dir" && as_dir=. 7113 for ac_exec_ext in '' $ac_executable_extensions; do 7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7115 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7117 break 2 7118 fi 7119done 7120 done 7121IFS=$as_save_IFS 7122 7123fi 7124fi 7125OTOOL=$ac_cv_prog_OTOOL 7126if test -n "$OTOOL"; then 7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7128$as_echo "$OTOOL" >&6; } 7129else 7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7131$as_echo "no" >&6; } 7132fi 7133 7134 7135fi 7136if test -z "$ac_cv_prog_OTOOL"; then 7137 ac_ct_OTOOL=$OTOOL 7138 # Extract the first word of "otool", so it can be a program name with args. 7139set dummy otool; ac_word=$2 7140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7141$as_echo_n "checking for $ac_word... " >&6; } 7142if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7143 $as_echo_n "(cached) " >&6 7144else 7145 if test -n "$ac_ct_OTOOL"; then 7146 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7147else 7148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7149for as_dir in $PATH 7150do 7151 IFS=$as_save_IFS 7152 test -z "$as_dir" && as_dir=. 7153 for ac_exec_ext in '' $ac_executable_extensions; do 7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7155 ac_cv_prog_ac_ct_OTOOL="otool" 7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7157 break 2 7158 fi 7159done 7160 done 7161IFS=$as_save_IFS 7162 7163fi 7164fi 7165ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7166if test -n "$ac_ct_OTOOL"; then 7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7168$as_echo "$ac_ct_OTOOL" >&6; } 7169else 7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7171$as_echo "no" >&6; } 7172fi 7173 7174 if test "x$ac_ct_OTOOL" = x; then 7175 OTOOL=":" 7176 else 7177 case $cross_compiling:$ac_tool_warned in 7178yes:) 7179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7181ac_tool_warned=yes ;; 7182esac 7183 OTOOL=$ac_ct_OTOOL 7184 fi 7185else 7186 OTOOL="$ac_cv_prog_OTOOL" 7187fi 7188 7189 if test -n "$ac_tool_prefix"; then 7190 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7191set dummy ${ac_tool_prefix}otool64; ac_word=$2 7192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7193$as_echo_n "checking for $ac_word... " >&6; } 7194if ${ac_cv_prog_OTOOL64+:} false; then : 7195 $as_echo_n "(cached) " >&6 7196else 7197 if test -n "$OTOOL64"; then 7198 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7199else 7200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7201for as_dir in $PATH 7202do 7203 IFS=$as_save_IFS 7204 test -z "$as_dir" && as_dir=. 7205 for ac_exec_ext in '' $ac_executable_extensions; do 7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7207 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7209 break 2 7210 fi 7211done 7212 done 7213IFS=$as_save_IFS 7214 7215fi 7216fi 7217OTOOL64=$ac_cv_prog_OTOOL64 7218if test -n "$OTOOL64"; then 7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7220$as_echo "$OTOOL64" >&6; } 7221else 7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7223$as_echo "no" >&6; } 7224fi 7225 7226 7227fi 7228if test -z "$ac_cv_prog_OTOOL64"; then 7229 ac_ct_OTOOL64=$OTOOL64 7230 # Extract the first word of "otool64", so it can be a program name with args. 7231set dummy otool64; ac_word=$2 7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7233$as_echo_n "checking for $ac_word... " >&6; } 7234if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7235 $as_echo_n "(cached) " >&6 7236else 7237 if test -n "$ac_ct_OTOOL64"; then 7238 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7239else 7240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7241for as_dir in $PATH 7242do 7243 IFS=$as_save_IFS 7244 test -z "$as_dir" && as_dir=. 7245 for ac_exec_ext in '' $ac_executable_extensions; do 7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7247 ac_cv_prog_ac_ct_OTOOL64="otool64" 7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7249 break 2 7250 fi 7251done 7252 done 7253IFS=$as_save_IFS 7254 7255fi 7256fi 7257ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7258if test -n "$ac_ct_OTOOL64"; then 7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7260$as_echo "$ac_ct_OTOOL64" >&6; } 7261else 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7263$as_echo "no" >&6; } 7264fi 7265 7266 if test "x$ac_ct_OTOOL64" = x; then 7267 OTOOL64=":" 7268 else 7269 case $cross_compiling:$ac_tool_warned in 7270yes:) 7271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7273ac_tool_warned=yes ;; 7274esac 7275 OTOOL64=$ac_ct_OTOOL64 7276 fi 7277else 7278 OTOOL64="$ac_cv_prog_OTOOL64" 7279fi 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7308$as_echo_n "checking for -single_module linker flag... " >&6; } 7309if ${lt_cv_apple_cc_single_mod+:} false; then : 7310 $as_echo_n "(cached) " >&6 7311else 7312 lt_cv_apple_cc_single_mod=no 7313 if test -z "${LT_MULTI_MODULE}"; then 7314 # By default we will add the -single_module flag. You can override 7315 # by either setting the environment variable LT_MULTI_MODULE 7316 # non-empty at configure time, or by adding -multi_module to the 7317 # link flags. 7318 rm -rf libconftest.dylib* 7319 echo "int foo(void){return 1;}" > conftest.c 7320 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7321-dynamiclib -Wl,-single_module conftest.c" >&5 7322 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7323 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7324 _lt_result=$? 7325 # If there is a non-empty error log, and "single_module" 7326 # appears in it, assume the flag caused a linker warning 7327 if test -s conftest.err && $GREP single_module conftest.err; then 7328 cat conftest.err >&5 7329 # Otherwise, if the output was created with a 0 exit code from 7330 # the compiler, it worked. 7331 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7332 lt_cv_apple_cc_single_mod=yes 7333 else 7334 cat conftest.err >&5 7335 fi 7336 rm -rf libconftest.dylib* 7337 rm -f conftest.* 7338 fi 7339fi 7340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7341$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7342 7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7344$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7345if ${lt_cv_ld_exported_symbols_list+:} false; then : 7346 $as_echo_n "(cached) " >&6 7347else 7348 lt_cv_ld_exported_symbols_list=no 7349 save_LDFLAGS=$LDFLAGS 7350 echo "_main" > conftest.sym 7351 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7353/* end confdefs.h. */ 7354 7355int 7356main () 7357{ 7358 7359 ; 7360 return 0; 7361} 7362_ACEOF 7363if ac_fn_c_try_link "$LINENO"; then : 7364 lt_cv_ld_exported_symbols_list=yes 7365else 7366 lt_cv_ld_exported_symbols_list=no 7367fi 7368rm -f core conftest.err conftest.$ac_objext \ 7369 conftest$ac_exeext conftest.$ac_ext 7370 LDFLAGS="$save_LDFLAGS" 7371 7372fi 7373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7374$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7375 7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7377$as_echo_n "checking for -force_load linker flag... " >&6; } 7378if ${lt_cv_ld_force_load+:} false; then : 7379 $as_echo_n "(cached) " >&6 7380else 7381 lt_cv_ld_force_load=no 7382 cat > conftest.c << _LT_EOF 7383int forced_loaded() { return 2;} 7384_LT_EOF 7385 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7386 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7387 echo "$AR cru libconftest.a conftest.o" >&5 7388 $AR cru libconftest.a conftest.o 2>&5 7389 echo "$RANLIB libconftest.a" >&5 7390 $RANLIB libconftest.a 2>&5 7391 cat > conftest.c << _LT_EOF 7392int main() { return 0;} 7393_LT_EOF 7394 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7395 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7396 _lt_result=$? 7397 if test -s conftest.err && $GREP force_load conftest.err; then 7398 cat conftest.err >&5 7399 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7400 lt_cv_ld_force_load=yes 7401 else 7402 cat conftest.err >&5 7403 fi 7404 rm -f conftest.err libconftest.a conftest conftest.c 7405 rm -rf conftest.dSYM 7406 7407fi 7408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7409$as_echo "$lt_cv_ld_force_load" >&6; } 7410 case $host_os in 7411 rhapsody* | darwin1.[012]) 7412 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7413 darwin1.*) 7414 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7415 darwin*) # darwin 5.x on 7416 # if running on 10.5 or later, the deployment target defaults 7417 # to the OS version, if on x86, and 10.4, the deployment 7418 # target defaults to 10.4. Don't you love it? 7419 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7420 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7421 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7422 10.[012]*) 7423 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7424 10.*) 7425 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7426 esac 7427 ;; 7428 esac 7429 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7430 _lt_dar_single_mod='$single_module' 7431 fi 7432 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7433 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7434 else 7435 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7436 fi 7437 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7438 _lt_dsymutil='~$DSYMUTIL $lib || :' 7439 else 7440 _lt_dsymutil= 7441 fi 7442 ;; 7443 esac 7444 7445ac_ext=c 7446ac_cpp='$CPP $CPPFLAGS' 7447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7449ac_compiler_gnu=$ac_cv_c_compiler_gnu 7450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7451$as_echo_n "checking how to run the C preprocessor... " >&6; } 7452# On Suns, sometimes $CPP names a directory. 7453if test -n "$CPP" && test -d "$CPP"; then 7454 CPP= 7455fi 7456if test -z "$CPP"; then 7457 if ${ac_cv_prog_CPP+:} false; then : 7458 $as_echo_n "(cached) " >&6 7459else 7460 # Double quotes because CPP needs to be expanded 7461 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7462 do 7463 ac_preproc_ok=false 7464for ac_c_preproc_warn_flag in '' yes 7465do 7466 # Use a header file that comes with gcc, so configuring glibc 7467 # with a fresh cross-compiler works. 7468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7469 # <limits.h> exists even on freestanding compilers. 7470 # On the NeXT, cc -E runs the code through the compiler's parser, 7471 # not just through cpp. "Syntax error" is here to catch this case. 7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7473/* end confdefs.h. */ 7474#ifdef __STDC__ 7475# include <limits.h> 7476#else 7477# include <assert.h> 7478#endif 7479 Syntax error 7480_ACEOF 7481if ac_fn_c_try_cpp "$LINENO"; then : 7482 7483else 7484 # Broken: fails on valid input. 7485continue 7486fi 7487rm -f conftest.err conftest.i conftest.$ac_ext 7488 7489 # OK, works on sane cases. Now check whether nonexistent headers 7490 # can be detected and how. 7491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7492/* end confdefs.h. */ 7493#include <ac_nonexistent.h> 7494_ACEOF 7495if ac_fn_c_try_cpp "$LINENO"; then : 7496 # Broken: success on invalid input. 7497continue 7498else 7499 # Passes both tests. 7500ac_preproc_ok=: 7501break 7502fi 7503rm -f conftest.err conftest.i conftest.$ac_ext 7504 7505done 7506# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7507rm -f conftest.i conftest.err conftest.$ac_ext 7508if $ac_preproc_ok; then : 7509 break 7510fi 7511 7512 done 7513 ac_cv_prog_CPP=$CPP 7514 7515fi 7516 CPP=$ac_cv_prog_CPP 7517else 7518 ac_cv_prog_CPP=$CPP 7519fi 7520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7521$as_echo "$CPP" >&6; } 7522ac_preproc_ok=false 7523for ac_c_preproc_warn_flag in '' yes 7524do 7525 # Use a header file that comes with gcc, so configuring glibc 7526 # with a fresh cross-compiler works. 7527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7528 # <limits.h> exists even on freestanding compilers. 7529 # On the NeXT, cc -E runs the code through the compiler's parser, 7530 # not just through cpp. "Syntax error" is here to catch this case. 7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7532/* end confdefs.h. */ 7533#ifdef __STDC__ 7534# include <limits.h> 7535#else 7536# include <assert.h> 7537#endif 7538 Syntax error 7539_ACEOF 7540if ac_fn_c_try_cpp "$LINENO"; then : 7541 7542else 7543 # Broken: fails on valid input. 7544continue 7545fi 7546rm -f conftest.err conftest.i conftest.$ac_ext 7547 7548 # OK, works on sane cases. Now check whether nonexistent headers 7549 # can be detected and how. 7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7551/* end confdefs.h. */ 7552#include <ac_nonexistent.h> 7553_ACEOF 7554if ac_fn_c_try_cpp "$LINENO"; then : 7555 # Broken: success on invalid input. 7556continue 7557else 7558 # Passes both tests. 7559ac_preproc_ok=: 7560break 7561fi 7562rm -f conftest.err conftest.i conftest.$ac_ext 7563 7564done 7565# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7566rm -f conftest.i conftest.err conftest.$ac_ext 7567if $ac_preproc_ok; then : 7568 7569else 7570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7571$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7572as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7573See \`config.log' for more details" "$LINENO" 5; } 7574fi 7575 7576ac_ext=c 7577ac_cpp='$CPP $CPPFLAGS' 7578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7580ac_compiler_gnu=$ac_cv_c_compiler_gnu 7581 7582 7583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7584$as_echo_n "checking for ANSI C header files... " >&6; } 7585if ${ac_cv_header_stdc+:} false; then : 7586 $as_echo_n "(cached) " >&6 7587else 7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7589/* end confdefs.h. */ 7590#include <stdlib.h> 7591#include <stdarg.h> 7592#include <string.h> 7593#include <float.h> 7594 7595int 7596main () 7597{ 7598 7599 ; 7600 return 0; 7601} 7602_ACEOF 7603if ac_fn_c_try_compile "$LINENO"; then : 7604 ac_cv_header_stdc=yes 7605else 7606 ac_cv_header_stdc=no 7607fi 7608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7609 7610if test $ac_cv_header_stdc = yes; then 7611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7613/* end confdefs.h. */ 7614#include <string.h> 7615 7616_ACEOF 7617if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7618 $EGREP "memchr" >/dev/null 2>&1; then : 7619 7620else 7621 ac_cv_header_stdc=no 7622fi 7623rm -f conftest* 7624 7625fi 7626 7627if test $ac_cv_header_stdc = yes; then 7628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7630/* end confdefs.h. */ 7631#include <stdlib.h> 7632 7633_ACEOF 7634if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7635 $EGREP "free" >/dev/null 2>&1; then : 7636 7637else 7638 ac_cv_header_stdc=no 7639fi 7640rm -f conftest* 7641 7642fi 7643 7644if test $ac_cv_header_stdc = yes; then 7645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7646 if test "$cross_compiling" = yes; then : 7647 : 7648else 7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7650/* end confdefs.h. */ 7651#include <ctype.h> 7652#include <stdlib.h> 7653#if ((' ' & 0x0FF) == 0x020) 7654# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7655# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7656#else 7657# define ISLOWER(c) \ 7658 (('a' <= (c) && (c) <= 'i') \ 7659 || ('j' <= (c) && (c) <= 'r') \ 7660 || ('s' <= (c) && (c) <= 'z')) 7661# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7662#endif 7663 7664#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7665int 7666main () 7667{ 7668 int i; 7669 for (i = 0; i < 256; i++) 7670 if (XOR (islower (i), ISLOWER (i)) 7671 || toupper (i) != TOUPPER (i)) 7672 return 2; 7673 return 0; 7674} 7675_ACEOF 7676if ac_fn_c_try_run "$LINENO"; then : 7677 7678else 7679 ac_cv_header_stdc=no 7680fi 7681rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7682 conftest.$ac_objext conftest.beam conftest.$ac_ext 7683fi 7684 7685fi 7686fi 7687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7688$as_echo "$ac_cv_header_stdc" >&6; } 7689if test $ac_cv_header_stdc = yes; then 7690 7691$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7692 7693fi 7694 7695# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7696for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7697 inttypes.h stdint.h unistd.h 7698do : 7699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7700ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7701" 7702if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7703 cat >>confdefs.h <<_ACEOF 7704#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7705_ACEOF 7706 7707fi 7708 7709done 7710 7711 7712for ac_header in dlfcn.h 7713do : 7714 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7715" 7716if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7717 cat >>confdefs.h <<_ACEOF 7718#define HAVE_DLFCN_H 1 7719_ACEOF 7720 7721fi 7722 7723done 7724 7725 7726 7727 7728 7729# Set options 7730 7731 7732 7733 enable_dlopen=no 7734 7735 7736 enable_win32_dll=no 7737 7738 7739 # Check whether --enable-shared was given. 7740if test "${enable_shared+set}" = set; then : 7741 enableval=$enable_shared; p=${PACKAGE-default} 7742 case $enableval in 7743 yes) enable_shared=yes ;; 7744 no) enable_shared=no ;; 7745 *) 7746 enable_shared=no 7747 # Look at the argument we got. We use all the common list separators. 7748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7749 for pkg in $enableval; do 7750 IFS="$lt_save_ifs" 7751 if test "X$pkg" = "X$p"; then 7752 enable_shared=yes 7753 fi 7754 done 7755 IFS="$lt_save_ifs" 7756 ;; 7757 esac 7758else 7759 enable_shared=yes 7760fi 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 # Check whether --enable-static was given. 7771if test "${enable_static+set}" = set; then : 7772 enableval=$enable_static; p=${PACKAGE-default} 7773 case $enableval in 7774 yes) enable_static=yes ;; 7775 no) enable_static=no ;; 7776 *) 7777 enable_static=no 7778 # Look at the argument we got. We use all the common list separators. 7779 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7780 for pkg in $enableval; do 7781 IFS="$lt_save_ifs" 7782 if test "X$pkg" = "X$p"; then 7783 enable_static=yes 7784 fi 7785 done 7786 IFS="$lt_save_ifs" 7787 ;; 7788 esac 7789else 7790 enable_static=yes 7791fi 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802# Check whether --with-pic was given. 7803if test "${with_pic+set}" = set; then : 7804 withval=$with_pic; lt_p=${PACKAGE-default} 7805 case $withval in 7806 yes|no) pic_mode=$withval ;; 7807 *) 7808 pic_mode=default 7809 # Look at the argument we got. We use all the common list separators. 7810 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7811 for lt_pkg in $withval; do 7812 IFS="$lt_save_ifs" 7813 if test "X$lt_pkg" = "X$lt_p"; then 7814 pic_mode=yes 7815 fi 7816 done 7817 IFS="$lt_save_ifs" 7818 ;; 7819 esac 7820else 7821 pic_mode=default 7822fi 7823 7824 7825test -z "$pic_mode" && pic_mode=default 7826 7827 7828 7829 7830 7831 7832 7833 # Check whether --enable-fast-install was given. 7834if test "${enable_fast_install+set}" = set; then : 7835 enableval=$enable_fast_install; p=${PACKAGE-default} 7836 case $enableval in 7837 yes) enable_fast_install=yes ;; 7838 no) enable_fast_install=no ;; 7839 *) 7840 enable_fast_install=no 7841 # Look at the argument we got. We use all the common list separators. 7842 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7843 for pkg in $enableval; do 7844 IFS="$lt_save_ifs" 7845 if test "X$pkg" = "X$p"; then 7846 enable_fast_install=yes 7847 fi 7848 done 7849 IFS="$lt_save_ifs" 7850 ;; 7851 esac 7852else 7853 enable_fast_install=yes 7854fi 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866# This can be used to rebuild libtool when needed 7867LIBTOOL_DEPS="$ltmain" 7868 7869# Always use our own libtool. 7870LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901test -z "$LN_S" && LN_S="ln -s" 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916if test -n "${ZSH_VERSION+set}" ; then 7917 setopt NO_GLOB_SUBST 7918fi 7919 7920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7921$as_echo_n "checking for objdir... " >&6; } 7922if ${lt_cv_objdir+:} false; then : 7923 $as_echo_n "(cached) " >&6 7924else 7925 rm -f .libs 2>/dev/null 7926mkdir .libs 2>/dev/null 7927if test -d .libs; then 7928 lt_cv_objdir=.libs 7929else 7930 # MS-DOS does not allow filenames that begin with a dot. 7931 lt_cv_objdir=_libs 7932fi 7933rmdir .libs 2>/dev/null 7934fi 7935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7936$as_echo "$lt_cv_objdir" >&6; } 7937objdir=$lt_cv_objdir 7938 7939 7940 7941 7942 7943cat >>confdefs.h <<_ACEOF 7944#define LT_OBJDIR "$lt_cv_objdir/" 7945_ACEOF 7946 7947 7948 7949 7950case $host_os in 7951aix3*) 7952 # AIX sometimes has problems with the GCC collect2 program. For some 7953 # reason, if we set the COLLECT_NAMES environment variable, the problems 7954 # vanish in a puff of smoke. 7955 if test "X${COLLECT_NAMES+set}" != Xset; then 7956 COLLECT_NAMES= 7957 export COLLECT_NAMES 7958 fi 7959 ;; 7960esac 7961 7962# Global variables: 7963ofile=libtool 7964can_build_shared=yes 7965 7966# All known linkers require a `.a' archive for static linking (except MSVC, 7967# which needs '.lib'). 7968libext=a 7969 7970with_gnu_ld="$lt_cv_prog_gnu_ld" 7971 7972old_CC="$CC" 7973old_CFLAGS="$CFLAGS" 7974 7975# Set sane defaults for various variables 7976test -z "$CC" && CC=cc 7977test -z "$LTCC" && LTCC=$CC 7978test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7979test -z "$LD" && LD=ld 7980test -z "$ac_objext" && ac_objext=o 7981 7982for cc_temp in $compiler""; do 7983 case $cc_temp in 7984 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7985 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7986 \-*) ;; 7987 *) break;; 7988 esac 7989done 7990cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7991 7992 7993# Only perform the check for file, if the check method requires it 7994test -z "$MAGIC_CMD" && MAGIC_CMD=file 7995case $deplibs_check_method in 7996file_magic*) 7997 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7999$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8000if ${lt_cv_path_MAGIC_CMD+:} false; then : 8001 $as_echo_n "(cached) " >&6 8002else 8003 case $MAGIC_CMD in 8004[\\/*] | ?:[\\/]*) 8005 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8006 ;; 8007*) 8008 lt_save_MAGIC_CMD="$MAGIC_CMD" 8009 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8010 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8011 for ac_dir in $ac_dummy; do 8012 IFS="$lt_save_ifs" 8013 test -z "$ac_dir" && ac_dir=. 8014 if test -f $ac_dir/${ac_tool_prefix}file; then 8015 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8016 if test -n "$file_magic_test_file"; then 8017 case $deplibs_check_method in 8018 "file_magic "*) 8019 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8021 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8022 $EGREP "$file_magic_regex" > /dev/null; then 8023 : 8024 else 8025 cat <<_LT_EOF 1>&2 8026 8027*** Warning: the command libtool uses to detect shared libraries, 8028*** $file_magic_cmd, produces output that libtool cannot recognize. 8029*** The result is that libtool may fail to recognize shared libraries 8030*** as such. This will affect the creation of libtool libraries that 8031*** depend on shared libraries, but programs linked with such libtool 8032*** libraries will work regardless of this problem. Nevertheless, you 8033*** may want to report the problem to your system manager and/or to 8034*** bug-libtool@gnu.org 8035 8036_LT_EOF 8037 fi ;; 8038 esac 8039 fi 8040 break 8041 fi 8042 done 8043 IFS="$lt_save_ifs" 8044 MAGIC_CMD="$lt_save_MAGIC_CMD" 8045 ;; 8046esac 8047fi 8048 8049MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8050if test -n "$MAGIC_CMD"; then 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8052$as_echo "$MAGIC_CMD" >&6; } 8053else 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8055$as_echo "no" >&6; } 8056fi 8057 8058 8059 8060 8061 8062if test -z "$lt_cv_path_MAGIC_CMD"; then 8063 if test -n "$ac_tool_prefix"; then 8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8065$as_echo_n "checking for file... " >&6; } 8066if ${lt_cv_path_MAGIC_CMD+:} false; then : 8067 $as_echo_n "(cached) " >&6 8068else 8069 case $MAGIC_CMD in 8070[\\/*] | ?:[\\/]*) 8071 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8072 ;; 8073*) 8074 lt_save_MAGIC_CMD="$MAGIC_CMD" 8075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8076 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8077 for ac_dir in $ac_dummy; do 8078 IFS="$lt_save_ifs" 8079 test -z "$ac_dir" && ac_dir=. 8080 if test -f $ac_dir/file; then 8081 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8082 if test -n "$file_magic_test_file"; then 8083 case $deplibs_check_method in 8084 "file_magic "*) 8085 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8087 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8088 $EGREP "$file_magic_regex" > /dev/null; then 8089 : 8090 else 8091 cat <<_LT_EOF 1>&2 8092 8093*** Warning: the command libtool uses to detect shared libraries, 8094*** $file_magic_cmd, produces output that libtool cannot recognize. 8095*** The result is that libtool may fail to recognize shared libraries 8096*** as such. This will affect the creation of libtool libraries that 8097*** depend on shared libraries, but programs linked with such libtool 8098*** libraries will work regardless of this problem. Nevertheless, you 8099*** may want to report the problem to your system manager and/or to 8100*** bug-libtool@gnu.org 8101 8102_LT_EOF 8103 fi ;; 8104 esac 8105 fi 8106 break 8107 fi 8108 done 8109 IFS="$lt_save_ifs" 8110 MAGIC_CMD="$lt_save_MAGIC_CMD" 8111 ;; 8112esac 8113fi 8114 8115MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8116if test -n "$MAGIC_CMD"; then 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8118$as_echo "$MAGIC_CMD" >&6; } 8119else 8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8121$as_echo "no" >&6; } 8122fi 8123 8124 8125 else 8126 MAGIC_CMD=: 8127 fi 8128fi 8129 8130 fi 8131 ;; 8132esac 8133 8134# Use C for the default configuration in the libtool script 8135 8136lt_save_CC="$CC" 8137ac_ext=c 8138ac_cpp='$CPP $CPPFLAGS' 8139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8141ac_compiler_gnu=$ac_cv_c_compiler_gnu 8142 8143 8144# Source file extension for C test sources. 8145ac_ext=c 8146 8147# Object file extension for compiled C test sources. 8148objext=o 8149objext=$objext 8150 8151# Code to be used in simple compile tests 8152lt_simple_compile_test_code="int some_variable = 0;" 8153 8154# Code to be used in simple link tests 8155lt_simple_link_test_code='int main(){return(0);}' 8156 8157 8158 8159 8160 8161 8162 8163# If no C compiler was specified, use CC. 8164LTCC=${LTCC-"$CC"} 8165 8166# If no C compiler flags were specified, use CFLAGS. 8167LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8168 8169# Allow CC to be a program name with arguments. 8170compiler=$CC 8171 8172# Save the default compiler, since it gets overwritten when the other 8173# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8174compiler_DEFAULT=$CC 8175 8176# save warnings/boilerplate of simple test code 8177ac_outfile=conftest.$ac_objext 8178echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8179eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8180_lt_compiler_boilerplate=`cat conftest.err` 8181$RM conftest* 8182 8183ac_outfile=conftest.$ac_objext 8184echo "$lt_simple_link_test_code" >conftest.$ac_ext 8185eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8186_lt_linker_boilerplate=`cat conftest.err` 8187$RM -r conftest* 8188 8189 8190if test -n "$compiler"; then 8191 8192lt_prog_compiler_no_builtin_flag= 8193 8194if test "$GCC" = yes; then 8195 case $cc_basename in 8196 nvcc*) 8197 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8198 *) 8199 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8200 esac 8201 8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8203$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8204if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8205 $as_echo_n "(cached) " >&6 8206else 8207 lt_cv_prog_compiler_rtti_exceptions=no 8208 ac_outfile=conftest.$ac_objext 8209 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8210 lt_compiler_flag="-fno-rtti -fno-exceptions" 8211 # Insert the option either (1) after the last *FLAGS variable, or 8212 # (2) before a word containing "conftest.", or (3) at the end. 8213 # Note that $ac_compile itself does not contain backslashes and begins 8214 # with a dollar sign (not a hyphen), so the echo should work correctly. 8215 # The option is referenced via a variable to avoid confusing sed. 8216 lt_compile=`echo "$ac_compile" | $SED \ 8217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8219 -e 's:$: $lt_compiler_flag:'` 8220 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8221 (eval "$lt_compile" 2>conftest.err) 8222 ac_status=$? 8223 cat conftest.err >&5 8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8225 if (exit $ac_status) && test -s "$ac_outfile"; then 8226 # The compiler can only warn and ignore the option if not recognized 8227 # So say no if there are warnings other than the usual output. 8228 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8229 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8230 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8231 lt_cv_prog_compiler_rtti_exceptions=yes 8232 fi 8233 fi 8234 $RM conftest* 8235 8236fi 8237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8238$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8239 8240if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8241 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8242else 8243 : 8244fi 8245 8246fi 8247 8248 8249 8250 8251 8252 8253 lt_prog_compiler_wl= 8254lt_prog_compiler_pic= 8255lt_prog_compiler_static= 8256 8257 8258 if test "$GCC" = yes; then 8259 lt_prog_compiler_wl='-Wl,' 8260 lt_prog_compiler_static='-static' 8261 8262 case $host_os in 8263 aix*) 8264 # All AIX code is PIC. 8265 if test "$host_cpu" = ia64; then 8266 # AIX 5 now supports IA64 processor 8267 lt_prog_compiler_static='-Bstatic' 8268 fi 8269 ;; 8270 8271 amigaos*) 8272 case $host_cpu in 8273 powerpc) 8274 # see comment about AmigaOS4 .so support 8275 lt_prog_compiler_pic='-fPIC' 8276 ;; 8277 m68k) 8278 # FIXME: we need at least 68020 code to build shared libraries, but 8279 # adding the `-m68020' flag to GCC prevents building anything better, 8280 # like `-m68040'. 8281 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8282 ;; 8283 esac 8284 ;; 8285 8286 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8287 # PIC is the default for these OSes. 8288 ;; 8289 8290 mingw* | cygwin* | pw32* | os2* | cegcc*) 8291 # This hack is so that the source file can tell whether it is being 8292 # built for inclusion in a dll (and should export symbols for example). 8293 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8294 # (--disable-auto-import) libraries 8295 lt_prog_compiler_pic='-DDLL_EXPORT' 8296 ;; 8297 8298 darwin* | rhapsody*) 8299 # PIC is the default on this platform 8300 # Common symbols not allowed in MH_DYLIB files 8301 lt_prog_compiler_pic='-fno-common' 8302 ;; 8303 8304 haiku*) 8305 # PIC is the default for Haiku. 8306 # The "-static" flag exists, but is broken. 8307 lt_prog_compiler_static= 8308 ;; 8309 8310 hpux*) 8311 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8312 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8313 # sets the default TLS model and affects inlining. 8314 case $host_cpu in 8315 hppa*64*) 8316 # +Z the default 8317 ;; 8318 *) 8319 lt_prog_compiler_pic='-fPIC' 8320 ;; 8321 esac 8322 ;; 8323 8324 interix[3-9]*) 8325 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8326 # Instead, we relocate shared libraries at runtime. 8327 ;; 8328 8329 msdosdjgpp*) 8330 # Just because we use GCC doesn't mean we suddenly get shared libraries 8331 # on systems that don't support them. 8332 lt_prog_compiler_can_build_shared=no 8333 enable_shared=no 8334 ;; 8335 8336 *nto* | *qnx*) 8337 # QNX uses GNU C++, but need to define -shared option too, otherwise 8338 # it will coredump. 8339 lt_prog_compiler_pic='-fPIC -shared' 8340 ;; 8341 8342 sysv4*MP*) 8343 if test -d /usr/nec; then 8344 lt_prog_compiler_pic=-Kconform_pic 8345 fi 8346 ;; 8347 8348 *) 8349 lt_prog_compiler_pic='-fPIC' 8350 ;; 8351 esac 8352 8353 case $cc_basename in 8354 nvcc*) # Cuda Compiler Driver 2.2 8355 lt_prog_compiler_wl='-Xlinker ' 8356 if test -n "$lt_prog_compiler_pic"; then 8357 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8358 fi 8359 ;; 8360 esac 8361 else 8362 # PORTME Check for flag to pass linker flags through the system compiler. 8363 case $host_os in 8364 aix*) 8365 lt_prog_compiler_wl='-Wl,' 8366 if test "$host_cpu" = ia64; then 8367 # AIX 5 now supports IA64 processor 8368 lt_prog_compiler_static='-Bstatic' 8369 else 8370 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8371 fi 8372 ;; 8373 8374 mingw* | cygwin* | pw32* | os2* | cegcc*) 8375 # This hack is so that the source file can tell whether it is being 8376 # built for inclusion in a dll (and should export symbols for example). 8377 lt_prog_compiler_pic='-DDLL_EXPORT' 8378 ;; 8379 8380 hpux9* | hpux10* | hpux11*) 8381 lt_prog_compiler_wl='-Wl,' 8382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8383 # not for PA HP-UX. 8384 case $host_cpu in 8385 hppa*64*|ia64*) 8386 # +Z the default 8387 ;; 8388 *) 8389 lt_prog_compiler_pic='+Z' 8390 ;; 8391 esac 8392 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8393 lt_prog_compiler_static='${wl}-a ${wl}archive' 8394 ;; 8395 8396 irix5* | irix6* | nonstopux*) 8397 lt_prog_compiler_wl='-Wl,' 8398 # PIC (with -KPIC) is the default. 8399 lt_prog_compiler_static='-non_shared' 8400 ;; 8401 8402 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8403 case $cc_basename in 8404 # old Intel for x86_64 which still supported -KPIC. 8405 ecc*) 8406 lt_prog_compiler_wl='-Wl,' 8407 lt_prog_compiler_pic='-KPIC' 8408 lt_prog_compiler_static='-static' 8409 ;; 8410 # icc used to be incompatible with GCC. 8411 # ICC 10 doesn't accept -KPIC any more. 8412 icc* | ifort*) 8413 lt_prog_compiler_wl='-Wl,' 8414 lt_prog_compiler_pic='-fPIC' 8415 lt_prog_compiler_static='-static' 8416 ;; 8417 # Lahey Fortran 8.1. 8418 lf95*) 8419 lt_prog_compiler_wl='-Wl,' 8420 lt_prog_compiler_pic='--shared' 8421 lt_prog_compiler_static='--static' 8422 ;; 8423 nagfor*) 8424 # NAG Fortran compiler 8425 lt_prog_compiler_wl='-Wl,-Wl,,' 8426 lt_prog_compiler_pic='-PIC' 8427 lt_prog_compiler_static='-Bstatic' 8428 ;; 8429 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8430 # Portland Group compilers (*not* the Pentium gcc compiler, 8431 # which looks to be a dead project) 8432 lt_prog_compiler_wl='-Wl,' 8433 lt_prog_compiler_pic='-fpic' 8434 lt_prog_compiler_static='-Bstatic' 8435 ;; 8436 ccc*) 8437 lt_prog_compiler_wl='-Wl,' 8438 # All Alpha code is PIC. 8439 lt_prog_compiler_static='-non_shared' 8440 ;; 8441 xl* | bgxl* | bgf* | mpixl*) 8442 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8443 lt_prog_compiler_wl='-Wl,' 8444 lt_prog_compiler_pic='-qpic' 8445 lt_prog_compiler_static='-qstaticlink' 8446 ;; 8447 *) 8448 case `$CC -V 2>&1 | sed 5q` in 8449 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8450 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8451 lt_prog_compiler_pic='-KPIC' 8452 lt_prog_compiler_static='-Bstatic' 8453 lt_prog_compiler_wl='' 8454 ;; 8455 *Sun\ F* | *Sun*Fortran*) 8456 lt_prog_compiler_pic='-KPIC' 8457 lt_prog_compiler_static='-Bstatic' 8458 lt_prog_compiler_wl='-Qoption ld ' 8459 ;; 8460 *Sun\ C*) 8461 # Sun C 5.9 8462 lt_prog_compiler_pic='-KPIC' 8463 lt_prog_compiler_static='-Bstatic' 8464 lt_prog_compiler_wl='-Wl,' 8465 ;; 8466 *Intel*\ [CF]*Compiler*) 8467 lt_prog_compiler_wl='-Wl,' 8468 lt_prog_compiler_pic='-fPIC' 8469 lt_prog_compiler_static='-static' 8470 ;; 8471 *Portland\ Group*) 8472 lt_prog_compiler_wl='-Wl,' 8473 lt_prog_compiler_pic='-fpic' 8474 lt_prog_compiler_static='-Bstatic' 8475 ;; 8476 esac 8477 ;; 8478 esac 8479 ;; 8480 8481 newsos6) 8482 lt_prog_compiler_pic='-KPIC' 8483 lt_prog_compiler_static='-Bstatic' 8484 ;; 8485 8486 *nto* | *qnx*) 8487 # QNX uses GNU C++, but need to define -shared option too, otherwise 8488 # it will coredump. 8489 lt_prog_compiler_pic='-fPIC -shared' 8490 ;; 8491 8492 osf3* | osf4* | osf5*) 8493 lt_prog_compiler_wl='-Wl,' 8494 # All OSF/1 code is PIC. 8495 lt_prog_compiler_static='-non_shared' 8496 ;; 8497 8498 rdos*) 8499 lt_prog_compiler_static='-non_shared' 8500 ;; 8501 8502 solaris*) 8503 lt_prog_compiler_pic='-KPIC' 8504 lt_prog_compiler_static='-Bstatic' 8505 case $cc_basename in 8506 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8507 lt_prog_compiler_wl='-Qoption ld ';; 8508 *) 8509 lt_prog_compiler_wl='-Wl,';; 8510 esac 8511 ;; 8512 8513 sunos4*) 8514 lt_prog_compiler_wl='-Qoption ld ' 8515 lt_prog_compiler_pic='-PIC' 8516 lt_prog_compiler_static='-Bstatic' 8517 ;; 8518 8519 sysv4 | sysv4.2uw2* | sysv4.3*) 8520 lt_prog_compiler_wl='-Wl,' 8521 lt_prog_compiler_pic='-KPIC' 8522 lt_prog_compiler_static='-Bstatic' 8523 ;; 8524 8525 sysv4*MP*) 8526 if test -d /usr/nec ;then 8527 lt_prog_compiler_pic='-Kconform_pic' 8528 lt_prog_compiler_static='-Bstatic' 8529 fi 8530 ;; 8531 8532 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8533 lt_prog_compiler_wl='-Wl,' 8534 lt_prog_compiler_pic='-KPIC' 8535 lt_prog_compiler_static='-Bstatic' 8536 ;; 8537 8538 unicos*) 8539 lt_prog_compiler_wl='-Wl,' 8540 lt_prog_compiler_can_build_shared=no 8541 ;; 8542 8543 uts4*) 8544 lt_prog_compiler_pic='-pic' 8545 lt_prog_compiler_static='-Bstatic' 8546 ;; 8547 8548 *) 8549 lt_prog_compiler_can_build_shared=no 8550 ;; 8551 esac 8552 fi 8553 8554case $host_os in 8555 # For platforms which do not support PIC, -DPIC is meaningless: 8556 *djgpp*) 8557 lt_prog_compiler_pic= 8558 ;; 8559 *) 8560 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8561 ;; 8562esac 8563 8564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8565$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8566if ${lt_cv_prog_compiler_pic+:} false; then : 8567 $as_echo_n "(cached) " >&6 8568else 8569 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8570fi 8571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8572$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8573lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8574 8575# 8576# Check to make sure the PIC flag actually works. 8577# 8578if test -n "$lt_prog_compiler_pic"; then 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8580$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8581if ${lt_cv_prog_compiler_pic_works+:} false; then : 8582 $as_echo_n "(cached) " >&6 8583else 8584 lt_cv_prog_compiler_pic_works=no 8585 ac_outfile=conftest.$ac_objext 8586 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8587 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8588 # Insert the option either (1) after the last *FLAGS variable, or 8589 # (2) before a word containing "conftest.", or (3) at the end. 8590 # Note that $ac_compile itself does not contain backslashes and begins 8591 # with a dollar sign (not a hyphen), so the echo should work correctly. 8592 # The option is referenced via a variable to avoid confusing sed. 8593 lt_compile=`echo "$ac_compile" | $SED \ 8594 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8595 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8596 -e 's:$: $lt_compiler_flag:'` 8597 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8598 (eval "$lt_compile" 2>conftest.err) 8599 ac_status=$? 8600 cat conftest.err >&5 8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8602 if (exit $ac_status) && test -s "$ac_outfile"; then 8603 # The compiler can only warn and ignore the option if not recognized 8604 # So say no if there are warnings other than the usual output. 8605 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8606 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8607 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8608 lt_cv_prog_compiler_pic_works=yes 8609 fi 8610 fi 8611 $RM conftest* 8612 8613fi 8614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8615$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8616 8617if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8618 case $lt_prog_compiler_pic in 8619 "" | " "*) ;; 8620 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8621 esac 8622else 8623 lt_prog_compiler_pic= 8624 lt_prog_compiler_can_build_shared=no 8625fi 8626 8627fi 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639# 8640# Check to make sure the static flag actually works. 8641# 8642wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8644$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8645if ${lt_cv_prog_compiler_static_works+:} false; then : 8646 $as_echo_n "(cached) " >&6 8647else 8648 lt_cv_prog_compiler_static_works=no 8649 save_LDFLAGS="$LDFLAGS" 8650 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8651 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8652 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8653 # The linker can only warn and ignore the option if not recognized 8654 # So say no if there are warnings 8655 if test -s conftest.err; then 8656 # Append any errors to the config.log. 8657 cat conftest.err 1>&5 8658 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8659 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8660 if diff conftest.exp conftest.er2 >/dev/null; then 8661 lt_cv_prog_compiler_static_works=yes 8662 fi 8663 else 8664 lt_cv_prog_compiler_static_works=yes 8665 fi 8666 fi 8667 $RM -r conftest* 8668 LDFLAGS="$save_LDFLAGS" 8669 8670fi 8671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8672$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8673 8674if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8675 : 8676else 8677 lt_prog_compiler_static= 8678fi 8679 8680 8681 8682 8683 8684 8685 8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8687$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8688if ${lt_cv_prog_compiler_c_o+:} false; then : 8689 $as_echo_n "(cached) " >&6 8690else 8691 lt_cv_prog_compiler_c_o=no 8692 $RM -r conftest 2>/dev/null 8693 mkdir conftest 8694 cd conftest 8695 mkdir out 8696 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8697 8698 lt_compiler_flag="-o out/conftest2.$ac_objext" 8699 # Insert the option either (1) after the last *FLAGS variable, or 8700 # (2) before a word containing "conftest.", or (3) at the end. 8701 # Note that $ac_compile itself does not contain backslashes and begins 8702 # with a dollar sign (not a hyphen), so the echo should work correctly. 8703 lt_compile=`echo "$ac_compile" | $SED \ 8704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8706 -e 's:$: $lt_compiler_flag:'` 8707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8708 (eval "$lt_compile" 2>out/conftest.err) 8709 ac_status=$? 8710 cat out/conftest.err >&5 8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8712 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8713 then 8714 # The compiler can only warn and ignore the option if not recognized 8715 # So say no if there are warnings 8716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8717 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8718 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8719 lt_cv_prog_compiler_c_o=yes 8720 fi 8721 fi 8722 chmod u+w . 2>&5 8723 $RM conftest* 8724 # SGI C++ compiler will create directory out/ii_files/ for 8725 # template instantiation 8726 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8727 $RM out/* && rmdir out 8728 cd .. 8729 $RM -r conftest 8730 $RM conftest* 8731 8732fi 8733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8734$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8735 8736 8737 8738 8739 8740 8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8742$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8743if ${lt_cv_prog_compiler_c_o+:} false; then : 8744 $as_echo_n "(cached) " >&6 8745else 8746 lt_cv_prog_compiler_c_o=no 8747 $RM -r conftest 2>/dev/null 8748 mkdir conftest 8749 cd conftest 8750 mkdir out 8751 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8752 8753 lt_compiler_flag="-o out/conftest2.$ac_objext" 8754 # Insert the option either (1) after the last *FLAGS variable, or 8755 # (2) before a word containing "conftest.", or (3) at the end. 8756 # Note that $ac_compile itself does not contain backslashes and begins 8757 # with a dollar sign (not a hyphen), so the echo should work correctly. 8758 lt_compile=`echo "$ac_compile" | $SED \ 8759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8761 -e 's:$: $lt_compiler_flag:'` 8762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8763 (eval "$lt_compile" 2>out/conftest.err) 8764 ac_status=$? 8765 cat out/conftest.err >&5 8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8767 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8768 then 8769 # The compiler can only warn and ignore the option if not recognized 8770 # So say no if there are warnings 8771 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8772 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8773 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8774 lt_cv_prog_compiler_c_o=yes 8775 fi 8776 fi 8777 chmod u+w . 2>&5 8778 $RM conftest* 8779 # SGI C++ compiler will create directory out/ii_files/ for 8780 # template instantiation 8781 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8782 $RM out/* && rmdir out 8783 cd .. 8784 $RM -r conftest 8785 $RM conftest* 8786 8787fi 8788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8789$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8790 8791 8792 8793 8794hard_links="nottested" 8795if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8796 # do not overwrite the value of need_locks provided by the user 8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8798$as_echo_n "checking if we can lock with hard links... " >&6; } 8799 hard_links=yes 8800 $RM conftest* 8801 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8802 touch conftest.a 8803 ln conftest.a conftest.b 2>&5 || hard_links=no 8804 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8806$as_echo "$hard_links" >&6; } 8807 if test "$hard_links" = no; then 8808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8809$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8810 need_locks=warn 8811 fi 8812else 8813 need_locks=no 8814fi 8815 8816 8817 8818 8819 8820 8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8822$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8823 8824 runpath_var= 8825 allow_undefined_flag= 8826 always_export_symbols=no 8827 archive_cmds= 8828 archive_expsym_cmds= 8829 compiler_needs_object=no 8830 enable_shared_with_static_runtimes=no 8831 export_dynamic_flag_spec= 8832 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8833 hardcode_automatic=no 8834 hardcode_direct=no 8835 hardcode_direct_absolute=no 8836 hardcode_libdir_flag_spec= 8837 hardcode_libdir_separator= 8838 hardcode_minus_L=no 8839 hardcode_shlibpath_var=unsupported 8840 inherit_rpath=no 8841 link_all_deplibs=unknown 8842 module_cmds= 8843 module_expsym_cmds= 8844 old_archive_from_new_cmds= 8845 old_archive_from_expsyms_cmds= 8846 thread_safe_flag_spec= 8847 whole_archive_flag_spec= 8848 # include_expsyms should be a list of space-separated symbols to be *always* 8849 # included in the symbol list 8850 include_expsyms= 8851 # exclude_expsyms can be an extended regexp of symbols to exclude 8852 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8853 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8854 # as well as any symbol that contains `d'. 8855 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8856 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8857 # platforms (ab)use it in PIC code, but their linkers get confused if 8858 # the symbol is explicitly referenced. Since portable code cannot 8859 # rely on this symbol name, it's probably fine to never include it in 8860 # preloaded symbol tables. 8861 # Exclude shared library initialization/finalization symbols. 8862 extract_expsyms_cmds= 8863 8864 case $host_os in 8865 cygwin* | mingw* | pw32* | cegcc*) 8866 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8867 # When not using gcc, we currently assume that we are using 8868 # Microsoft Visual C++. 8869 if test "$GCC" != yes; then 8870 with_gnu_ld=no 8871 fi 8872 ;; 8873 interix*) 8874 # we just hope/assume this is gcc and not c89 (= MSVC++) 8875 with_gnu_ld=yes 8876 ;; 8877 openbsd*) 8878 with_gnu_ld=no 8879 ;; 8880 esac 8881 8882 ld_shlibs=yes 8883 8884 # On some targets, GNU ld is compatible enough with the native linker 8885 # that we're better off using the native interface for both. 8886 lt_use_gnu_ld_interface=no 8887 if test "$with_gnu_ld" = yes; then 8888 case $host_os in 8889 aix*) 8890 # The AIX port of GNU ld has always aspired to compatibility 8891 # with the native linker. However, as the warning in the GNU ld 8892 # block says, versions before 2.19.5* couldn't really create working 8893 # shared libraries, regardless of the interface used. 8894 case `$LD -v 2>&1` in 8895 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8896 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8897 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8898 *) 8899 lt_use_gnu_ld_interface=yes 8900 ;; 8901 esac 8902 ;; 8903 *) 8904 lt_use_gnu_ld_interface=yes 8905 ;; 8906 esac 8907 fi 8908 8909 if test "$lt_use_gnu_ld_interface" = yes; then 8910 # If archive_cmds runs LD, not CC, wlarc should be empty 8911 wlarc='${wl}' 8912 8913 # Set some defaults for GNU ld with shared library support. These 8914 # are reset later if shared libraries are not supported. Putting them 8915 # here allows them to be overridden if necessary. 8916 runpath_var=LD_RUN_PATH 8917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8918 export_dynamic_flag_spec='${wl}--export-dynamic' 8919 # ancient GNU ld didn't support --whole-archive et. al. 8920 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8921 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8922 else 8923 whole_archive_flag_spec= 8924 fi 8925 supports_anon_versioning=no 8926 case `$LD -v 2>&1` in 8927 *GNU\ gold*) supports_anon_versioning=yes ;; 8928 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8929 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8930 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8931 *\ 2.11.*) ;; # other 2.11 versions 8932 *) supports_anon_versioning=yes ;; 8933 esac 8934 8935 # See if GNU ld supports shared libraries. 8936 case $host_os in 8937 aix[3-9]*) 8938 # On AIX/PPC, the GNU linker is very broken 8939 if test "$host_cpu" != ia64; then 8940 ld_shlibs=no 8941 cat <<_LT_EOF 1>&2 8942 8943*** Warning: the GNU linker, at least up to release 2.19, is reported 8944*** to be unable to reliably create shared libraries on AIX. 8945*** Therefore, libtool is disabling shared libraries support. If you 8946*** really care for shared libraries, you may want to install binutils 8947*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8948*** You will then need to restart the configuration process. 8949 8950_LT_EOF 8951 fi 8952 ;; 8953 8954 amigaos*) 8955 case $host_cpu in 8956 powerpc) 8957 # see comment about AmigaOS4 .so support 8958 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8959 archive_expsym_cmds='' 8960 ;; 8961 m68k) 8962 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8963 hardcode_libdir_flag_spec='-L$libdir' 8964 hardcode_minus_L=yes 8965 ;; 8966 esac 8967 ;; 8968 8969 beos*) 8970 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8971 allow_undefined_flag=unsupported 8972 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8973 # support --undefined. This deserves some investigation. FIXME 8974 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8975 else 8976 ld_shlibs=no 8977 fi 8978 ;; 8979 8980 cygwin* | mingw* | pw32* | cegcc*) 8981 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8982 # as there is no search path for DLLs. 8983 hardcode_libdir_flag_spec='-L$libdir' 8984 export_dynamic_flag_spec='${wl}--export-all-symbols' 8985 allow_undefined_flag=unsupported 8986 always_export_symbols=no 8987 enable_shared_with_static_runtimes=yes 8988 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 8989 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8990 8991 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8992 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8993 # If the export-symbols file already is a .def file (1st line 8994 # is EXPORTS), use it as is; otherwise, prepend... 8995 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8996 cp $export_symbols $output_objdir/$soname.def; 8997 else 8998 echo EXPORTS > $output_objdir/$soname.def; 8999 cat $export_symbols >> $output_objdir/$soname.def; 9000 fi~ 9001 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9002 else 9003 ld_shlibs=no 9004 fi 9005 ;; 9006 9007 haiku*) 9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9009 link_all_deplibs=yes 9010 ;; 9011 9012 interix[3-9]*) 9013 hardcode_direct=no 9014 hardcode_shlibpath_var=no 9015 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9016 export_dynamic_flag_spec='${wl}-E' 9017 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9018 # Instead, shared libraries are loaded at an image base (0x10000000 by 9019 # default) and relocated if they conflict, which is a slow very memory 9020 # consuming and fragmenting process. To avoid this, we pick a random, 9021 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9022 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9023 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9024 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9025 ;; 9026 9027 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9028 tmp_diet=no 9029 if test "$host_os" = linux-dietlibc; then 9030 case $cc_basename in 9031 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9032 esac 9033 fi 9034 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9035 && test "$tmp_diet" = no 9036 then 9037 tmp_addflag=' $pic_flag' 9038 tmp_sharedflag='-shared' 9039 case $cc_basename,$host_cpu in 9040 pgcc*) # Portland Group C compiler 9041 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9042 tmp_addflag=' $pic_flag' 9043 ;; 9044 pgf77* | pgf90* | pgf95* | pgfortran*) 9045 # Portland Group f77 and f90 compilers 9046 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9047 tmp_addflag=' $pic_flag -Mnomain' ;; 9048 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9049 tmp_addflag=' -i_dynamic' ;; 9050 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9051 tmp_addflag=' -i_dynamic -nofor_main' ;; 9052 ifc* | ifort*) # Intel Fortran compiler 9053 tmp_addflag=' -nofor_main' ;; 9054 lf95*) # Lahey Fortran 8.1 9055 whole_archive_flag_spec= 9056 tmp_sharedflag='--shared' ;; 9057 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9058 tmp_sharedflag='-qmkshrobj' 9059 tmp_addflag= ;; 9060 nvcc*) # Cuda Compiler Driver 2.2 9061 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9062 compiler_needs_object=yes 9063 ;; 9064 esac 9065 case `$CC -V 2>&1 | sed 5q` in 9066 *Sun\ C*) # Sun C 5.9 9067 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9068 compiler_needs_object=yes 9069 tmp_sharedflag='-G' ;; 9070 *Sun\ F*) # Sun Fortran 8.3 9071 tmp_sharedflag='-G' ;; 9072 esac 9073 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9074 9075 if test "x$supports_anon_versioning" = xyes; then 9076 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9077 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9078 echo "local: *; };" >> $output_objdir/$libname.ver~ 9079 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9080 fi 9081 9082 case $cc_basename in 9083 xlf* | bgf* | bgxlf* | mpixlf*) 9084 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9085 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9086 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9087 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9088 if test "x$supports_anon_versioning" = xyes; then 9089 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9091 echo "local: *; };" >> $output_objdir/$libname.ver~ 9092 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9093 fi 9094 ;; 9095 esac 9096 else 9097 ld_shlibs=no 9098 fi 9099 ;; 9100 9101 netbsd*) 9102 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9103 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9104 wlarc= 9105 else 9106 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9107 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9108 fi 9109 ;; 9110 9111 solaris*) 9112 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9113 ld_shlibs=no 9114 cat <<_LT_EOF 1>&2 9115 9116*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9117*** create shared libraries on Solaris systems. Therefore, libtool 9118*** is disabling shared libraries support. We urge you to upgrade GNU 9119*** binutils to release 2.9.1 or newer. Another option is to modify 9120*** your PATH or compiler configuration so that the native linker is 9121*** used, and then restart. 9122 9123_LT_EOF 9124 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9125 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9126 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9127 else 9128 ld_shlibs=no 9129 fi 9130 ;; 9131 9132 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9133 case `$LD -v 2>&1` in 9134 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9135 ld_shlibs=no 9136 cat <<_LT_EOF 1>&2 9137 9138*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9139*** reliably create shared libraries on SCO systems. Therefore, libtool 9140*** is disabling shared libraries support. We urge you to upgrade GNU 9141*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9142*** your PATH or compiler configuration so that the native linker is 9143*** used, and then restart. 9144 9145_LT_EOF 9146 ;; 9147 *) 9148 # For security reasons, it is highly recommended that you always 9149 # use absolute paths for naming shared libraries, and exclude the 9150 # DT_RUNPATH tag from executables and libraries. But doing so 9151 # requires that you compile everything twice, which is a pain. 9152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9155 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9156 else 9157 ld_shlibs=no 9158 fi 9159 ;; 9160 esac 9161 ;; 9162 9163 sunos4*) 9164 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9165 wlarc= 9166 hardcode_direct=yes 9167 hardcode_shlibpath_var=no 9168 ;; 9169 9170 *) 9171 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9172 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9173 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9174 else 9175 ld_shlibs=no 9176 fi 9177 ;; 9178 esac 9179 9180 if test "$ld_shlibs" = no; then 9181 runpath_var= 9182 hardcode_libdir_flag_spec= 9183 export_dynamic_flag_spec= 9184 whole_archive_flag_spec= 9185 fi 9186 else 9187 # PORTME fill in a description of your system's linker (not GNU ld) 9188 case $host_os in 9189 aix3*) 9190 allow_undefined_flag=unsupported 9191 always_export_symbols=yes 9192 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 9193 # Note: this linker hardcodes the directories in LIBPATH if there 9194 # are no directories specified by -L. 9195 hardcode_minus_L=yes 9196 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9197 # Neither direct hardcoding nor static linking is supported with a 9198 # broken collect2. 9199 hardcode_direct=unsupported 9200 fi 9201 ;; 9202 9203 aix[4-9]*) 9204 if test "$host_cpu" = ia64; then 9205 # On IA64, the linker does run time linking by default, so we don't 9206 # have to do anything special. 9207 aix_use_runtimelinking=no 9208 exp_sym_flag='-Bexport' 9209 no_entry_flag="" 9210 else 9211 # If we're using GNU nm, then we don't want the "-C" option. 9212 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9213 # Also, AIX nm treats weak defined symbols like other global 9214 # defined symbols, whereas GNU nm marks them as "W". 9215 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9216 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9217 else 9218 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9219 fi 9220 aix_use_runtimelinking=no 9221 9222 # Test if we are trying to use run time linking or normal 9223 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9224 # need to do runtime linking. 9225 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9226 for ld_flag in $LDFLAGS; do 9227 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9228 aix_use_runtimelinking=yes 9229 break 9230 fi 9231 done 9232 ;; 9233 esac 9234 9235 exp_sym_flag='-bexport' 9236 no_entry_flag='-bnoentry' 9237 fi 9238 9239 # When large executables or shared objects are built, AIX ld can 9240 # have problems creating the table of contents. If linking a library 9241 # or program results in "error TOC overflow" add -mminimal-toc to 9242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9244 9245 archive_cmds='' 9246 hardcode_direct=yes 9247 hardcode_direct_absolute=yes 9248 hardcode_libdir_separator=':' 9249 link_all_deplibs=yes 9250 file_list_spec='${wl}-f,' 9251 9252 if test "$GCC" = yes; then 9253 case $host_os in aix4.[012]|aix4.[012].*) 9254 # We only want to do this on AIX 4.2 and lower, the check 9255 # below for broken collect2 doesn't work under 4.3+ 9256 collect2name=`${CC} -print-prog-name=collect2` 9257 if test -f "$collect2name" && 9258 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9259 then 9260 # We have reworked collect2 9261 : 9262 else 9263 # We have old collect2 9264 hardcode_direct=unsupported 9265 # It fails to find uninstalled libraries when the uninstalled 9266 # path is not listed in the libpath. Setting hardcode_minus_L 9267 # to unsupported forces relinking 9268 hardcode_minus_L=yes 9269 hardcode_libdir_flag_spec='-L$libdir' 9270 hardcode_libdir_separator= 9271 fi 9272 ;; 9273 esac 9274 shared_flag='-shared' 9275 if test "$aix_use_runtimelinking" = yes; then 9276 shared_flag="$shared_flag "'${wl}-G' 9277 fi 9278 link_all_deplibs=no 9279 else 9280 # not using gcc 9281 if test "$host_cpu" = ia64; then 9282 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9283 # chokes on -Wl,-G. The following line is correct: 9284 shared_flag='-G' 9285 else 9286 if test "$aix_use_runtimelinking" = yes; then 9287 shared_flag='${wl}-G' 9288 else 9289 shared_flag='${wl}-bM:SRE' 9290 fi 9291 fi 9292 fi 9293 9294 export_dynamic_flag_spec='${wl}-bexpall' 9295 # It seems that -bexpall does not export symbols beginning with 9296 # underscore (_), so it is better to generate a list of symbols to export. 9297 always_export_symbols=yes 9298 if test "$aix_use_runtimelinking" = yes; then 9299 # Warning - without using the other runtime loading flags (-brtl), 9300 # -berok will link without error, but may produce a broken library. 9301 allow_undefined_flag='-berok' 9302 # Determine the default libpath from the value encoded in an 9303 # empty executable. 9304 if test "${lt_cv_aix_libpath+set}" = set; then 9305 aix_libpath=$lt_cv_aix_libpath 9306else 9307 if ${lt_cv_aix_libpath_+:} false; then : 9308 $as_echo_n "(cached) " >&6 9309else 9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9311/* end confdefs.h. */ 9312 9313int 9314main () 9315{ 9316 9317 ; 9318 return 0; 9319} 9320_ACEOF 9321if ac_fn_c_try_link "$LINENO"; then : 9322 9323 lt_aix_libpath_sed=' 9324 /Import File Strings/,/^$/ { 9325 /^0/ { 9326 s/^0 *\([^ ]*\) *$/\1/ 9327 p 9328 } 9329 }' 9330 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9331 # Check for a 64-bit object if we didn't find anything. 9332 if test -z "$lt_cv_aix_libpath_"; then 9333 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9334 fi 9335fi 9336rm -f core conftest.err conftest.$ac_objext \ 9337 conftest$ac_exeext conftest.$ac_ext 9338 if test -z "$lt_cv_aix_libpath_"; then 9339 lt_cv_aix_libpath_="/usr/lib:/lib" 9340 fi 9341 9342fi 9343 9344 aix_libpath=$lt_cv_aix_libpath_ 9345fi 9346 9347 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9348 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9349 else 9350 if test "$host_cpu" = ia64; then 9351 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9352 allow_undefined_flag="-z nodefs" 9353 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 9354 else 9355 # Determine the default libpath from the value encoded in an 9356 # empty executable. 9357 if test "${lt_cv_aix_libpath+set}" = set; then 9358 aix_libpath=$lt_cv_aix_libpath 9359else 9360 if ${lt_cv_aix_libpath_+:} false; then : 9361 $as_echo_n "(cached) " >&6 9362else 9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9364/* end confdefs.h. */ 9365 9366int 9367main () 9368{ 9369 9370 ; 9371 return 0; 9372} 9373_ACEOF 9374if ac_fn_c_try_link "$LINENO"; then : 9375 9376 lt_aix_libpath_sed=' 9377 /Import File Strings/,/^$/ { 9378 /^0/ { 9379 s/^0 *\([^ ]*\) *$/\1/ 9380 p 9381 } 9382 }' 9383 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9384 # Check for a 64-bit object if we didn't find anything. 9385 if test -z "$lt_cv_aix_libpath_"; then 9386 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9387 fi 9388fi 9389rm -f core conftest.err conftest.$ac_objext \ 9390 conftest$ac_exeext conftest.$ac_ext 9391 if test -z "$lt_cv_aix_libpath_"; then 9392 lt_cv_aix_libpath_="/usr/lib:/lib" 9393 fi 9394 9395fi 9396 9397 aix_libpath=$lt_cv_aix_libpath_ 9398fi 9399 9400 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9401 # Warning - without using the other run time loading flags, 9402 # -berok will link without error, but may produce a broken library. 9403 no_undefined_flag=' ${wl}-bernotok' 9404 allow_undefined_flag=' ${wl}-berok' 9405 if test "$with_gnu_ld" = yes; then 9406 # We only use this code for GNU lds that support --whole-archive. 9407 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9408 else 9409 # Exported symbols can be pulled into shared objects from archives 9410 whole_archive_flag_spec='$convenience' 9411 fi 9412 archive_cmds_need_lc=yes 9413 # This is similar to how AIX traditionally builds its shared libraries. 9414 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9415 fi 9416 fi 9417 ;; 9418 9419 amigaos*) 9420 case $host_cpu in 9421 powerpc) 9422 # see comment about AmigaOS4 .so support 9423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9424 archive_expsym_cmds='' 9425 ;; 9426 m68k) 9427 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9428 hardcode_libdir_flag_spec='-L$libdir' 9429 hardcode_minus_L=yes 9430 ;; 9431 esac 9432 ;; 9433 9434 bsdi[45]*) 9435 export_dynamic_flag_spec=-rdynamic 9436 ;; 9437 9438 cygwin* | mingw* | pw32* | cegcc*) 9439 # When not using gcc, we currently assume that we are using 9440 # Microsoft Visual C++. 9441 # hardcode_libdir_flag_spec is actually meaningless, as there is 9442 # no search path for DLLs. 9443 case $cc_basename in 9444 cl*) 9445 # Native MSVC 9446 hardcode_libdir_flag_spec=' ' 9447 allow_undefined_flag=unsupported 9448 always_export_symbols=yes 9449 file_list_spec='@' 9450 # Tell ltmain to make .lib files, not .a files. 9451 libext=lib 9452 # Tell ltmain to make .dll files, not .so files. 9453 shrext_cmds=".dll" 9454 # FIXME: Setting linknames here is a bad hack. 9455 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9456 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9457 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9458 else 9459 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9460 fi~ 9461 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9462 linknames=' 9463 # The linker will not automatically build a static lib if we build a DLL. 9464 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9465 enable_shared_with_static_runtimes=yes 9466 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9467 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9468 # Don't use ranlib 9469 old_postinstall_cmds='chmod 644 $oldlib' 9470 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9471 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9472 case $lt_outputfile in 9473 *.exe|*.EXE) ;; 9474 *) 9475 lt_outputfile="$lt_outputfile.exe" 9476 lt_tool_outputfile="$lt_tool_outputfile.exe" 9477 ;; 9478 esac~ 9479 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9480 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9481 $RM "$lt_outputfile.manifest"; 9482 fi' 9483 ;; 9484 *) 9485 # Assume MSVC wrapper 9486 hardcode_libdir_flag_spec=' ' 9487 allow_undefined_flag=unsupported 9488 # Tell ltmain to make .lib files, not .a files. 9489 libext=lib 9490 # Tell ltmain to make .dll files, not .so files. 9491 shrext_cmds=".dll" 9492 # FIXME: Setting linknames here is a bad hack. 9493 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9494 # The linker will automatically build a .lib file if we build a DLL. 9495 old_archive_from_new_cmds='true' 9496 # FIXME: Should let the user specify the lib program. 9497 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9498 enable_shared_with_static_runtimes=yes 9499 ;; 9500 esac 9501 ;; 9502 9503 darwin* | rhapsody*) 9504 9505 9506 archive_cmds_need_lc=no 9507 hardcode_direct=no 9508 hardcode_automatic=yes 9509 hardcode_shlibpath_var=unsupported 9510 if test "$lt_cv_ld_force_load" = "yes"; then 9511 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 9512 9513 else 9514 whole_archive_flag_spec='' 9515 fi 9516 link_all_deplibs=yes 9517 allow_undefined_flag="$_lt_dar_allow_undefined" 9518 case $cc_basename in 9519 ifort*) _lt_dar_can_shared=yes ;; 9520 *) _lt_dar_can_shared=$GCC ;; 9521 esac 9522 if test "$_lt_dar_can_shared" = "yes"; then 9523 output_verbose_link_cmd=func_echo_all 9524 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9525 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9526 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 9527 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 9528 9529 else 9530 ld_shlibs=no 9531 fi 9532 9533 ;; 9534 9535 dgux*) 9536 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9537 hardcode_libdir_flag_spec='-L$libdir' 9538 hardcode_shlibpath_var=no 9539 ;; 9540 9541 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9542 # support. Future versions do this automatically, but an explicit c++rt0.o 9543 # does not break anything, and helps significantly (at the cost of a little 9544 # extra space). 9545 freebsd2.2*) 9546 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9547 hardcode_libdir_flag_spec='-R$libdir' 9548 hardcode_direct=yes 9549 hardcode_shlibpath_var=no 9550 ;; 9551 9552 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9553 freebsd2.*) 9554 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9555 hardcode_direct=yes 9556 hardcode_minus_L=yes 9557 hardcode_shlibpath_var=no 9558 ;; 9559 9560 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9561 freebsd* | dragonfly*) 9562 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9563 hardcode_libdir_flag_spec='-R$libdir' 9564 hardcode_direct=yes 9565 hardcode_shlibpath_var=no 9566 ;; 9567 9568 hpux9*) 9569 if test "$GCC" = yes; then 9570 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9571 else 9572 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9573 fi 9574 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9575 hardcode_libdir_separator=: 9576 hardcode_direct=yes 9577 9578 # hardcode_minus_L: Not really in the search PATH, 9579 # but as the default location of the library. 9580 hardcode_minus_L=yes 9581 export_dynamic_flag_spec='${wl}-E' 9582 ;; 9583 9584 hpux10*) 9585 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9586 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9587 else 9588 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9589 fi 9590 if test "$with_gnu_ld" = no; then 9591 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9592 hardcode_libdir_separator=: 9593 hardcode_direct=yes 9594 hardcode_direct_absolute=yes 9595 export_dynamic_flag_spec='${wl}-E' 9596 # hardcode_minus_L: Not really in the search PATH, 9597 # but as the default location of the library. 9598 hardcode_minus_L=yes 9599 fi 9600 ;; 9601 9602 hpux11*) 9603 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9604 case $host_cpu in 9605 hppa*64*) 9606 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9607 ;; 9608 ia64*) 9609 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9610 ;; 9611 *) 9612 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9613 ;; 9614 esac 9615 else 9616 case $host_cpu in 9617 hppa*64*) 9618 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9619 ;; 9620 ia64*) 9621 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9622 ;; 9623 *) 9624 9625 # Older versions of the 11.00 compiler do not understand -b yet 9626 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9628$as_echo_n "checking if $CC understands -b... " >&6; } 9629if ${lt_cv_prog_compiler__b+:} false; then : 9630 $as_echo_n "(cached) " >&6 9631else 9632 lt_cv_prog_compiler__b=no 9633 save_LDFLAGS="$LDFLAGS" 9634 LDFLAGS="$LDFLAGS -b" 9635 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9637 # The linker can only warn and ignore the option if not recognized 9638 # So say no if there are warnings 9639 if test -s conftest.err; then 9640 # Append any errors to the config.log. 9641 cat conftest.err 1>&5 9642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9644 if diff conftest.exp conftest.er2 >/dev/null; then 9645 lt_cv_prog_compiler__b=yes 9646 fi 9647 else 9648 lt_cv_prog_compiler__b=yes 9649 fi 9650 fi 9651 $RM -r conftest* 9652 LDFLAGS="$save_LDFLAGS" 9653 9654fi 9655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9656$as_echo "$lt_cv_prog_compiler__b" >&6; } 9657 9658if test x"$lt_cv_prog_compiler__b" = xyes; then 9659 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9660else 9661 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9662fi 9663 9664 ;; 9665 esac 9666 fi 9667 if test "$with_gnu_ld" = no; then 9668 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9669 hardcode_libdir_separator=: 9670 9671 case $host_cpu in 9672 hppa*64*|ia64*) 9673 hardcode_direct=no 9674 hardcode_shlibpath_var=no 9675 ;; 9676 *) 9677 hardcode_direct=yes 9678 hardcode_direct_absolute=yes 9679 export_dynamic_flag_spec='${wl}-E' 9680 9681 # hardcode_minus_L: Not really in the search PATH, 9682 # but as the default location of the library. 9683 hardcode_minus_L=yes 9684 ;; 9685 esac 9686 fi 9687 ;; 9688 9689 irix5* | irix6* | nonstopux*) 9690 if test "$GCC" = yes; then 9691 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9692 # Try to use the -exported_symbol ld option, if it does not 9693 # work, assume that -exports_file does not work either and 9694 # implicitly export all symbols. 9695 # This should be the same for all languages, so no per-tag cache variable. 9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9697$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9698if ${lt_cv_irix_exported_symbol+:} false; then : 9699 $as_echo_n "(cached) " >&6 9700else 9701 save_LDFLAGS="$LDFLAGS" 9702 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9704/* end confdefs.h. */ 9705int foo (void) { return 0; } 9706_ACEOF 9707if ac_fn_c_try_link "$LINENO"; then : 9708 lt_cv_irix_exported_symbol=yes 9709else 9710 lt_cv_irix_exported_symbol=no 9711fi 9712rm -f core conftest.err conftest.$ac_objext \ 9713 conftest$ac_exeext conftest.$ac_ext 9714 LDFLAGS="$save_LDFLAGS" 9715fi 9716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9717$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9718 if test "$lt_cv_irix_exported_symbol" = yes; then 9719 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9720 fi 9721 else 9722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9723 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9724 fi 9725 archive_cmds_need_lc='no' 9726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9727 hardcode_libdir_separator=: 9728 inherit_rpath=yes 9729 link_all_deplibs=yes 9730 ;; 9731 9732 netbsd*) 9733 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9734 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9735 else 9736 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9737 fi 9738 hardcode_libdir_flag_spec='-R$libdir' 9739 hardcode_direct=yes 9740 hardcode_shlibpath_var=no 9741 ;; 9742 9743 newsos6) 9744 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9745 hardcode_direct=yes 9746 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9747 hardcode_libdir_separator=: 9748 hardcode_shlibpath_var=no 9749 ;; 9750 9751 *nto* | *qnx*) 9752 ;; 9753 9754 openbsd*) 9755 if test -f /usr/libexec/ld.so; then 9756 hardcode_direct=yes 9757 hardcode_shlibpath_var=no 9758 hardcode_direct_absolute=yes 9759 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9760 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9761 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9762 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9763 export_dynamic_flag_spec='${wl}-E' 9764 else 9765 case $host_os in 9766 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9767 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9768 hardcode_libdir_flag_spec='-R$libdir' 9769 ;; 9770 *) 9771 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9772 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9773 ;; 9774 esac 9775 fi 9776 else 9777 ld_shlibs=no 9778 fi 9779 ;; 9780 9781 os2*) 9782 hardcode_libdir_flag_spec='-L$libdir' 9783 hardcode_minus_L=yes 9784 allow_undefined_flag=unsupported 9785 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9786 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9787 ;; 9788 9789 osf3*) 9790 if test "$GCC" = yes; then 9791 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9792 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9793 else 9794 allow_undefined_flag=' -expect_unresolved \*' 9795 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9796 fi 9797 archive_cmds_need_lc='no' 9798 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9799 hardcode_libdir_separator=: 9800 ;; 9801 9802 osf4* | osf5*) # as osf3* with the addition of -msym flag 9803 if test "$GCC" = yes; then 9804 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9805 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9806 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9807 else 9808 allow_undefined_flag=' -expect_unresolved \*' 9809 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9810 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 9811 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 9812 9813 # Both c and cxx compiler support -rpath directly 9814 hardcode_libdir_flag_spec='-rpath $libdir' 9815 fi 9816 archive_cmds_need_lc='no' 9817 hardcode_libdir_separator=: 9818 ;; 9819 9820 solaris*) 9821 no_undefined_flag=' -z defs' 9822 if test "$GCC" = yes; then 9823 wlarc='${wl}' 9824 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9825 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9826 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9827 else 9828 case `$CC -V 2>&1` in 9829 *"Compilers 5.0"*) 9830 wlarc='' 9831 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9832 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9833 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9834 ;; 9835 *) 9836 wlarc='${wl}' 9837 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9838 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9839 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9840 ;; 9841 esac 9842 fi 9843 hardcode_libdir_flag_spec='-R$libdir' 9844 hardcode_shlibpath_var=no 9845 case $host_os in 9846 solaris2.[0-5] | solaris2.[0-5].*) ;; 9847 *) 9848 # The compiler driver will combine and reorder linker options, 9849 # but understands `-z linker_flag'. GCC discards it without `$wl', 9850 # but is careful enough not to reorder. 9851 # Supported since Solaris 2.6 (maybe 2.5.1?) 9852 if test "$GCC" = yes; then 9853 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9854 else 9855 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9856 fi 9857 ;; 9858 esac 9859 link_all_deplibs=yes 9860 ;; 9861 9862 sunos4*) 9863 if test "x$host_vendor" = xsequent; then 9864 # Use $CC to link under sequent, because it throws in some extra .o 9865 # files that make .init and .fini sections work. 9866 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9867 else 9868 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9869 fi 9870 hardcode_libdir_flag_spec='-L$libdir' 9871 hardcode_direct=yes 9872 hardcode_minus_L=yes 9873 hardcode_shlibpath_var=no 9874 ;; 9875 9876 sysv4) 9877 case $host_vendor in 9878 sni) 9879 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9880 hardcode_direct=yes # is this really true??? 9881 ;; 9882 siemens) 9883 ## LD is ld it makes a PLAMLIB 9884 ## CC just makes a GrossModule. 9885 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9886 reload_cmds='$CC -r -o $output$reload_objs' 9887 hardcode_direct=no 9888 ;; 9889 motorola) 9890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9891 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9892 ;; 9893 esac 9894 runpath_var='LD_RUN_PATH' 9895 hardcode_shlibpath_var=no 9896 ;; 9897 9898 sysv4.3*) 9899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9900 hardcode_shlibpath_var=no 9901 export_dynamic_flag_spec='-Bexport' 9902 ;; 9903 9904 sysv4*MP*) 9905 if test -d /usr/nec; then 9906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9907 hardcode_shlibpath_var=no 9908 runpath_var=LD_RUN_PATH 9909 hardcode_runpath_var=yes 9910 ld_shlibs=yes 9911 fi 9912 ;; 9913 9914 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9915 no_undefined_flag='${wl}-z,text' 9916 archive_cmds_need_lc=no 9917 hardcode_shlibpath_var=no 9918 runpath_var='LD_RUN_PATH' 9919 9920 if test "$GCC" = yes; then 9921 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9922 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9923 else 9924 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9925 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9926 fi 9927 ;; 9928 9929 sysv5* | sco3.2v5* | sco5v6*) 9930 # Note: We can NOT use -z defs as we might desire, because we do not 9931 # link with -lc, and that would cause any symbols used from libc to 9932 # always be unresolved, which means just about no library would 9933 # ever link correctly. If we're not using GNU ld we use -z text 9934 # though, which does catch some bad symbols but isn't as heavy-handed 9935 # as -z defs. 9936 no_undefined_flag='${wl}-z,text' 9937 allow_undefined_flag='${wl}-z,nodefs' 9938 archive_cmds_need_lc=no 9939 hardcode_shlibpath_var=no 9940 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9941 hardcode_libdir_separator=':' 9942 link_all_deplibs=yes 9943 export_dynamic_flag_spec='${wl}-Bexport' 9944 runpath_var='LD_RUN_PATH' 9945 9946 if test "$GCC" = yes; then 9947 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9948 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9949 else 9950 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9951 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9952 fi 9953 ;; 9954 9955 uts4*) 9956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9957 hardcode_libdir_flag_spec='-L$libdir' 9958 hardcode_shlibpath_var=no 9959 ;; 9960 9961 *) 9962 ld_shlibs=no 9963 ;; 9964 esac 9965 9966 if test x$host_vendor = xsni; then 9967 case $host in 9968 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9969 export_dynamic_flag_spec='${wl}-Blargedynsym' 9970 ;; 9971 esac 9972 fi 9973 fi 9974 9975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9976$as_echo "$ld_shlibs" >&6; } 9977test "$ld_shlibs" = no && can_build_shared=no 9978 9979with_gnu_ld=$with_gnu_ld 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995# 9996# Do we need to explicitly link libc? 9997# 9998case "x$archive_cmds_need_lc" in 9999x|xyes) 10000 # Assume -lc should be added 10001 archive_cmds_need_lc=yes 10002 10003 if test "$enable_shared" = yes && test "$GCC" = yes; then 10004 case $archive_cmds in 10005 *'~'*) 10006 # FIXME: we may have to deal with multi-command sequences. 10007 ;; 10008 '$CC '*) 10009 # Test whether the compiler implicitly links with -lc since on some 10010 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10011 # to ld, don't add -lc before -lgcc. 10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10013$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10014if ${lt_cv_archive_cmds_need_lc+:} false; then : 10015 $as_echo_n "(cached) " >&6 10016else 10017 $RM conftest* 10018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10019 10020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10021 (eval $ac_compile) 2>&5 10022 ac_status=$? 10023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10024 test $ac_status = 0; } 2>conftest.err; then 10025 soname=conftest 10026 lib=conftest 10027 libobjs=conftest.$ac_objext 10028 deplibs= 10029 wl=$lt_prog_compiler_wl 10030 pic_flag=$lt_prog_compiler_pic 10031 compiler_flags=-v 10032 linker_flags=-v 10033 verstring= 10034 output_objdir=. 10035 libname=conftest 10036 lt_save_allow_undefined_flag=$allow_undefined_flag 10037 allow_undefined_flag= 10038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10039 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10040 ac_status=$? 10041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10042 test $ac_status = 0; } 10043 then 10044 lt_cv_archive_cmds_need_lc=no 10045 else 10046 lt_cv_archive_cmds_need_lc=yes 10047 fi 10048 allow_undefined_flag=$lt_save_allow_undefined_flag 10049 else 10050 cat conftest.err 1>&5 10051 fi 10052 $RM conftest* 10053 10054fi 10055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10056$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10057 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10058 ;; 10059 esac 10060 fi 10061 ;; 10062esac 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10216$as_echo_n "checking dynamic linker characteristics... " >&6; } 10217 10218if test "$GCC" = yes; then 10219 case $host_os in 10220 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10221 *) lt_awk_arg="/^libraries:/" ;; 10222 esac 10223 case $host_os in 10224 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10225 *) lt_sed_strip_eq="s,=/,/,g" ;; 10226 esac 10227 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10228 case $lt_search_path_spec in 10229 *\;*) 10230 # if the path contains ";" then we assume it to be the separator 10231 # otherwise default to the standard path separator (i.e. ":") - it is 10232 # assumed that no part of a normal pathname contains ";" but that should 10233 # okay in the real world where ";" in dirpaths is itself problematic. 10234 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10235 ;; 10236 *) 10237 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10238 ;; 10239 esac 10240 # Ok, now we have the path, separated by spaces, we can step through it 10241 # and add multilib dir if necessary. 10242 lt_tmp_lt_search_path_spec= 10243 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10244 for lt_sys_path in $lt_search_path_spec; do 10245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10246 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10247 else 10248 test -d "$lt_sys_path" && \ 10249 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10250 fi 10251 done 10252 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10253BEGIN {RS=" "; FS="/|\n";} { 10254 lt_foo=""; 10255 lt_count=0; 10256 for (lt_i = NF; lt_i > 0; lt_i--) { 10257 if ($lt_i != "" && $lt_i != ".") { 10258 if ($lt_i == "..") { 10259 lt_count++; 10260 } else { 10261 if (lt_count == 0) { 10262 lt_foo="/" $lt_i lt_foo; 10263 } else { 10264 lt_count--; 10265 } 10266 } 10267 } 10268 } 10269 if (lt_foo != "") { lt_freq[lt_foo]++; } 10270 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10271}'` 10272 # AWK program above erroneously prepends '/' to C:/dos/paths 10273 # for these hosts. 10274 case $host_os in 10275 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10276 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10277 esac 10278 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10279else 10280 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10281fi 10282library_names_spec= 10283libname_spec='lib$name' 10284soname_spec= 10285shrext_cmds=".so" 10286postinstall_cmds= 10287postuninstall_cmds= 10288finish_cmds= 10289finish_eval= 10290shlibpath_var= 10291shlibpath_overrides_runpath=unknown 10292version_type=none 10293dynamic_linker="$host_os ld.so" 10294sys_lib_dlsearch_path_spec="/lib /usr/lib" 10295need_lib_prefix=unknown 10296hardcode_into_libs=no 10297 10298# when you set need_version to no, make sure it does not cause -set_version 10299# flags to be left without arguments 10300need_version=unknown 10301 10302case $host_os in 10303aix3*) 10304 version_type=linux # correct to gnu/linux during the next big refactor 10305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10306 shlibpath_var=LIBPATH 10307 10308 # AIX 3 has no versioning support, so we append a major version to the name. 10309 soname_spec='${libname}${release}${shared_ext}$major' 10310 ;; 10311 10312aix[4-9]*) 10313 version_type=linux # correct to gnu/linux during the next big refactor 10314 need_lib_prefix=no 10315 need_version=no 10316 hardcode_into_libs=yes 10317 if test "$host_cpu" = ia64; then 10318 # AIX 5 supports IA64 10319 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10320 shlibpath_var=LD_LIBRARY_PATH 10321 else 10322 # With GCC up to 2.95.x, collect2 would create an import file 10323 # for dependence libraries. The import file would start with 10324 # the line `#! .'. This would cause the generated library to 10325 # depend on `.', always an invalid library. This was fixed in 10326 # development snapshots of GCC prior to 3.0. 10327 case $host_os in 10328 aix4 | aix4.[01] | aix4.[01].*) 10329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10330 echo ' yes ' 10331 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10332 : 10333 else 10334 can_build_shared=no 10335 fi 10336 ;; 10337 esac 10338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10339 # soname into executable. Probably we can add versioning support to 10340 # collect2, so additional links can be useful in future. 10341 if test "$aix_use_runtimelinking" = yes; then 10342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10343 # instead of lib<name>.a to let people know that these are not 10344 # typical AIX shared libraries. 10345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10346 else 10347 # We preserve .a as extension for shared libraries through AIX4.2 10348 # and later when we are not doing run time linking. 10349 library_names_spec='${libname}${release}.a $libname.a' 10350 soname_spec='${libname}${release}${shared_ext}$major' 10351 fi 10352 shlibpath_var=LIBPATH 10353 fi 10354 ;; 10355 10356amigaos*) 10357 case $host_cpu in 10358 powerpc) 10359 # Since July 2007 AmigaOS4 officially supports .so libraries. 10360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10362 ;; 10363 m68k) 10364 library_names_spec='$libname.ixlibrary $libname.a' 10365 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10366 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10367 ;; 10368 esac 10369 ;; 10370 10371beos*) 10372 library_names_spec='${libname}${shared_ext}' 10373 dynamic_linker="$host_os ld.so" 10374 shlibpath_var=LIBRARY_PATH 10375 ;; 10376 10377bsdi[45]*) 10378 version_type=linux # correct to gnu/linux during the next big refactor 10379 need_version=no 10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10381 soname_spec='${libname}${release}${shared_ext}$major' 10382 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10383 shlibpath_var=LD_LIBRARY_PATH 10384 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10385 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10386 # the default ld.so.conf also contains /usr/contrib/lib and 10387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10388 # libtool to hard-code these into programs 10389 ;; 10390 10391cygwin* | mingw* | pw32* | cegcc*) 10392 version_type=windows 10393 shrext_cmds=".dll" 10394 need_version=no 10395 need_lib_prefix=no 10396 10397 case $GCC,$cc_basename in 10398 yes,*) 10399 # gcc 10400 library_names_spec='$libname.dll.a' 10401 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10402 postinstall_cmds='base_file=`basename \${file}`~ 10403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10404 dldir=$destdir/`dirname \$dlpath`~ 10405 test -d \$dldir || mkdir -p \$dldir~ 10406 $install_prog $dir/$dlname \$dldir/$dlname~ 10407 chmod a+x \$dldir/$dlname~ 10408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10410 fi' 10411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10412 dlpath=$dir/\$dldll~ 10413 $RM \$dlpath' 10414 shlibpath_overrides_runpath=yes 10415 10416 case $host_os in 10417 cygwin*) 10418 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10420 10421 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10422 ;; 10423 mingw* | cegcc*) 10424 # MinGW DLLs use traditional 'lib' prefix 10425 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10426 ;; 10427 pw32*) 10428 # pw32 DLLs use 'pw' prefix rather than 'lib' 10429 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10430 ;; 10431 esac 10432 dynamic_linker='Win32 ld.exe' 10433 ;; 10434 10435 *,cl*) 10436 # Native MSVC 10437 libname_spec='$name' 10438 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10439 library_names_spec='${libname}.dll.lib' 10440 10441 case $build_os in 10442 mingw*) 10443 sys_lib_search_path_spec= 10444 lt_save_ifs=$IFS 10445 IFS=';' 10446 for lt_path in $LIB 10447 do 10448 IFS=$lt_save_ifs 10449 # Let DOS variable expansion print the short 8.3 style file name. 10450 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10451 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10452 done 10453 IFS=$lt_save_ifs 10454 # Convert to MSYS style. 10455 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10456 ;; 10457 cygwin*) 10458 # Convert to unix form, then to dos form, then back to unix form 10459 # but this time dos style (no spaces!) so that the unix form looks 10460 # like /cygdrive/c/PROGRA~1:/cygdr... 10461 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10462 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10463 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10464 ;; 10465 *) 10466 sys_lib_search_path_spec="$LIB" 10467 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10468 # It is most probably a Windows format PATH. 10469 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10470 else 10471 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10472 fi 10473 # FIXME: find the short name or the path components, as spaces are 10474 # common. (e.g. "Program Files" -> "PROGRA~1") 10475 ;; 10476 esac 10477 10478 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10479 postinstall_cmds='base_file=`basename \${file}`~ 10480 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10481 dldir=$destdir/`dirname \$dlpath`~ 10482 test -d \$dldir || mkdir -p \$dldir~ 10483 $install_prog $dir/$dlname \$dldir/$dlname' 10484 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10485 dlpath=$dir/\$dldll~ 10486 $RM \$dlpath' 10487 shlibpath_overrides_runpath=yes 10488 dynamic_linker='Win32 link.exe' 10489 ;; 10490 10491 *) 10492 # Assume MSVC wrapper 10493 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10494 dynamic_linker='Win32 ld.exe' 10495 ;; 10496 esac 10497 # FIXME: first we should search . and the directory the executable is in 10498 shlibpath_var=PATH 10499 ;; 10500 10501darwin* | rhapsody*) 10502 dynamic_linker="$host_os dyld" 10503 version_type=darwin 10504 need_lib_prefix=no 10505 need_version=no 10506 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10507 soname_spec='${libname}${release}${major}$shared_ext' 10508 shlibpath_overrides_runpath=yes 10509 shlibpath_var=DYLD_LIBRARY_PATH 10510 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10511 10512 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10513 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10514 ;; 10515 10516dgux*) 10517 version_type=linux # correct to gnu/linux during the next big refactor 10518 need_lib_prefix=no 10519 need_version=no 10520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10521 soname_spec='${libname}${release}${shared_ext}$major' 10522 shlibpath_var=LD_LIBRARY_PATH 10523 ;; 10524 10525freebsd* | dragonfly*) 10526 # DragonFly does not have aout. When/if they implement a new 10527 # versioning mechanism, adjust this. 10528 if test -x /usr/bin/objformat; then 10529 objformat=`/usr/bin/objformat` 10530 else 10531 case $host_os in 10532 freebsd[23].*) objformat=aout ;; 10533 *) objformat=elf ;; 10534 esac 10535 fi 10536 version_type=freebsd-$objformat 10537 case $version_type in 10538 freebsd-elf*) 10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10540 need_version=no 10541 need_lib_prefix=no 10542 ;; 10543 freebsd-*) 10544 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10545 need_version=yes 10546 ;; 10547 esac 10548 shlibpath_var=LD_LIBRARY_PATH 10549 case $host_os in 10550 freebsd2.*) 10551 shlibpath_overrides_runpath=yes 10552 ;; 10553 freebsd3.[01]* | freebsdelf3.[01]*) 10554 shlibpath_overrides_runpath=yes 10555 hardcode_into_libs=yes 10556 ;; 10557 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10558 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10559 shlibpath_overrides_runpath=no 10560 hardcode_into_libs=yes 10561 ;; 10562 *) # from 4.6 on, and DragonFly 10563 shlibpath_overrides_runpath=yes 10564 hardcode_into_libs=yes 10565 ;; 10566 esac 10567 ;; 10568 10569gnu*) 10570 version_type=linux # correct to gnu/linux during the next big refactor 10571 need_lib_prefix=no 10572 need_version=no 10573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10574 soname_spec='${libname}${release}${shared_ext}$major' 10575 shlibpath_var=LD_LIBRARY_PATH 10576 shlibpath_overrides_runpath=no 10577 hardcode_into_libs=yes 10578 ;; 10579 10580haiku*) 10581 version_type=linux # correct to gnu/linux during the next big refactor 10582 need_lib_prefix=no 10583 need_version=no 10584 dynamic_linker="$host_os runtime_loader" 10585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10586 soname_spec='${libname}${release}${shared_ext}$major' 10587 shlibpath_var=LIBRARY_PATH 10588 shlibpath_overrides_runpath=yes 10589 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10590 hardcode_into_libs=yes 10591 ;; 10592 10593hpux9* | hpux10* | hpux11*) 10594 # Give a soname corresponding to the major version so that dld.sl refuses to 10595 # link against other versions. 10596 version_type=sunos 10597 need_lib_prefix=no 10598 need_version=no 10599 case $host_cpu in 10600 ia64*) 10601 shrext_cmds='.so' 10602 hardcode_into_libs=yes 10603 dynamic_linker="$host_os dld.so" 10604 shlibpath_var=LD_LIBRARY_PATH 10605 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10607 soname_spec='${libname}${release}${shared_ext}$major' 10608 if test "X$HPUX_IA64_MODE" = X32; then 10609 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10610 else 10611 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10612 fi 10613 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10614 ;; 10615 hppa*64*) 10616 shrext_cmds='.sl' 10617 hardcode_into_libs=yes 10618 dynamic_linker="$host_os dld.sl" 10619 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10620 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10622 soname_spec='${libname}${release}${shared_ext}$major' 10623 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10624 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10625 ;; 10626 *) 10627 shrext_cmds='.sl' 10628 dynamic_linker="$host_os dld.sl" 10629 shlibpath_var=SHLIB_PATH 10630 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10632 soname_spec='${libname}${release}${shared_ext}$major' 10633 ;; 10634 esac 10635 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10636 postinstall_cmds='chmod 555 $lib' 10637 # or fails outright, so override atomically: 10638 install_override_mode=555 10639 ;; 10640 10641interix[3-9]*) 10642 version_type=linux # correct to gnu/linux during the next big refactor 10643 need_lib_prefix=no 10644 need_version=no 10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10646 soname_spec='${libname}${release}${shared_ext}$major' 10647 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10648 shlibpath_var=LD_LIBRARY_PATH 10649 shlibpath_overrides_runpath=no 10650 hardcode_into_libs=yes 10651 ;; 10652 10653irix5* | irix6* | nonstopux*) 10654 case $host_os in 10655 nonstopux*) version_type=nonstopux ;; 10656 *) 10657 if test "$lt_cv_prog_gnu_ld" = yes; then 10658 version_type=linux # correct to gnu/linux during the next big refactor 10659 else 10660 version_type=irix 10661 fi ;; 10662 esac 10663 need_lib_prefix=no 10664 need_version=no 10665 soname_spec='${libname}${release}${shared_ext}$major' 10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10667 case $host_os in 10668 irix5* | nonstopux*) 10669 libsuff= shlibsuff= 10670 ;; 10671 *) 10672 case $LD in # libtool.m4 will add one of these switches to LD 10673 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10674 libsuff= shlibsuff= libmagic=32-bit;; 10675 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10676 libsuff=32 shlibsuff=N32 libmagic=N32;; 10677 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10678 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10679 *) libsuff= shlibsuff= libmagic=never-match;; 10680 esac 10681 ;; 10682 esac 10683 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10684 shlibpath_overrides_runpath=no 10685 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10686 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10687 hardcode_into_libs=yes 10688 ;; 10689 10690# No shared lib support for Linux oldld, aout, or coff. 10691linux*oldld* | linux*aout* | linux*coff*) 10692 dynamic_linker=no 10693 ;; 10694 10695# This must be glibc/ELF. 10696linux* | k*bsd*-gnu | kopensolaris*-gnu) 10697 version_type=linux # correct to gnu/linux during the next big refactor 10698 need_lib_prefix=no 10699 need_version=no 10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10701 soname_spec='${libname}${release}${shared_ext}$major' 10702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10703 shlibpath_var=LD_LIBRARY_PATH 10704 shlibpath_overrides_runpath=no 10705 10706 # Some binutils ld are patched to set DT_RUNPATH 10707 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10708 $as_echo_n "(cached) " >&6 10709else 10710 lt_cv_shlibpath_overrides_runpath=no 10711 save_LDFLAGS=$LDFLAGS 10712 save_libdir=$libdir 10713 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10714 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10716/* end confdefs.h. */ 10717 10718int 10719main () 10720{ 10721 10722 ; 10723 return 0; 10724} 10725_ACEOF 10726if ac_fn_c_try_link "$LINENO"; then : 10727 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10728 lt_cv_shlibpath_overrides_runpath=yes 10729fi 10730fi 10731rm -f core conftest.err conftest.$ac_objext \ 10732 conftest$ac_exeext conftest.$ac_ext 10733 LDFLAGS=$save_LDFLAGS 10734 libdir=$save_libdir 10735 10736fi 10737 10738 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10739 10740 # This implies no fast_install, which is unacceptable. 10741 # Some rework will be needed to allow for fast_install 10742 # before this can be enabled. 10743 hardcode_into_libs=yes 10744 10745 # find out which ABI we are using 10746 libsuff= 10747 case "$host_cpu" in 10748 x86_64*|s390x*|powerpc64*) 10749 echo '#line 10749 "configure"' > conftest.$ac_ext 10750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10751 (eval $ac_compile) 2>&5 10752 ac_status=$? 10753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10754 test $ac_status = 0; }; then 10755 case `/usr/bin/file conftest.$ac_objext` in 10756 *64-bit*) 10757 libsuff=64 10758 ;; 10759 esac 10760 fi 10761 rm -rf conftest* 10762 ;; 10763 esac 10764 10765 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 10766 10767 # Append ld.so.conf contents to the search path 10768 if test -f /etc/ld.so.conf; then 10769 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 10770 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10771 fi 10772 10773 # We used to test for /lib/ld.so.1 and disable shared libraries on 10774 # powerpc, because MkLinux only supported shared libraries with the 10775 # GNU dynamic linker. Since this was broken with cross compilers, 10776 # most powerpc-linux boxes support dynamic linking these days and 10777 # people can always --disable-shared, the test was removed, and we 10778 # assume the GNU/Linux dynamic linker is in use. 10779 dynamic_linker='GNU/Linux ld.so' 10780 ;; 10781 10782netbsd*) 10783 version_type=sunos 10784 need_lib_prefix=no 10785 need_version=no 10786 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10788 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10789 dynamic_linker='NetBSD (a.out) ld.so' 10790 else 10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10792 soname_spec='${libname}${release}${shared_ext}$major' 10793 dynamic_linker='NetBSD ld.elf_so' 10794 fi 10795 shlibpath_var=LD_LIBRARY_PATH 10796 shlibpath_overrides_runpath=yes 10797 hardcode_into_libs=yes 10798 ;; 10799 10800newsos6) 10801 version_type=linux # correct to gnu/linux during the next big refactor 10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10803 shlibpath_var=LD_LIBRARY_PATH 10804 shlibpath_overrides_runpath=yes 10805 ;; 10806 10807*nto* | *qnx*) 10808 version_type=qnx 10809 need_lib_prefix=no 10810 need_version=no 10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10812 soname_spec='${libname}${release}${shared_ext}$major' 10813 shlibpath_var=LD_LIBRARY_PATH 10814 shlibpath_overrides_runpath=no 10815 hardcode_into_libs=yes 10816 dynamic_linker='ldqnx.so' 10817 ;; 10818 10819openbsd*) 10820 version_type=sunos 10821 sys_lib_dlsearch_path_spec="/usr/lib" 10822 need_lib_prefix=no 10823 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10824 case $host_os in 10825 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10826 *) need_version=no ;; 10827 esac 10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10829 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10830 shlibpath_var=LD_LIBRARY_PATH 10831 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10832 case $host_os in 10833 openbsd2.[89] | openbsd2.[89].*) 10834 shlibpath_overrides_runpath=no 10835 ;; 10836 *) 10837 shlibpath_overrides_runpath=yes 10838 ;; 10839 esac 10840 else 10841 shlibpath_overrides_runpath=yes 10842 fi 10843 ;; 10844 10845os2*) 10846 libname_spec='$name' 10847 shrext_cmds=".dll" 10848 need_lib_prefix=no 10849 library_names_spec='$libname${shared_ext} $libname.a' 10850 dynamic_linker='OS/2 ld.exe' 10851 shlibpath_var=LIBPATH 10852 ;; 10853 10854osf3* | osf4* | osf5*) 10855 version_type=osf 10856 need_lib_prefix=no 10857 need_version=no 10858 soname_spec='${libname}${release}${shared_ext}$major' 10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10860 shlibpath_var=LD_LIBRARY_PATH 10861 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10862 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10863 ;; 10864 10865rdos*) 10866 dynamic_linker=no 10867 ;; 10868 10869solaris*) 10870 version_type=linux # correct to gnu/linux during the next big refactor 10871 need_lib_prefix=no 10872 need_version=no 10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10874 soname_spec='${libname}${release}${shared_ext}$major' 10875 shlibpath_var=LD_LIBRARY_PATH 10876 shlibpath_overrides_runpath=yes 10877 hardcode_into_libs=yes 10878 # ldd complains unless libraries are executable 10879 postinstall_cmds='chmod +x $lib' 10880 ;; 10881 10882sunos4*) 10883 version_type=sunos 10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10885 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10886 shlibpath_var=LD_LIBRARY_PATH 10887 shlibpath_overrides_runpath=yes 10888 if test "$with_gnu_ld" = yes; then 10889 need_lib_prefix=no 10890 fi 10891 need_version=yes 10892 ;; 10893 10894sysv4 | sysv4.3*) 10895 version_type=linux # correct to gnu/linux during the next big refactor 10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10897 soname_spec='${libname}${release}${shared_ext}$major' 10898 shlibpath_var=LD_LIBRARY_PATH 10899 case $host_vendor in 10900 sni) 10901 shlibpath_overrides_runpath=no 10902 need_lib_prefix=no 10903 runpath_var=LD_RUN_PATH 10904 ;; 10905 siemens) 10906 need_lib_prefix=no 10907 ;; 10908 motorola) 10909 need_lib_prefix=no 10910 need_version=no 10911 shlibpath_overrides_runpath=no 10912 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10913 ;; 10914 esac 10915 ;; 10916 10917sysv4*MP*) 10918 if test -d /usr/nec ;then 10919 version_type=linux # correct to gnu/linux during the next big refactor 10920 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10921 soname_spec='$libname${shared_ext}.$major' 10922 shlibpath_var=LD_LIBRARY_PATH 10923 fi 10924 ;; 10925 10926sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10927 version_type=freebsd-elf 10928 need_lib_prefix=no 10929 need_version=no 10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10931 soname_spec='${libname}${release}${shared_ext}$major' 10932 shlibpath_var=LD_LIBRARY_PATH 10933 shlibpath_overrides_runpath=yes 10934 hardcode_into_libs=yes 10935 if test "$with_gnu_ld" = yes; then 10936 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10937 else 10938 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10939 case $host_os in 10940 sco3.2v5*) 10941 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10942 ;; 10943 esac 10944 fi 10945 sys_lib_dlsearch_path_spec='/usr/lib' 10946 ;; 10947 10948tpf*) 10949 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10950 version_type=linux # correct to gnu/linux during the next big refactor 10951 need_lib_prefix=no 10952 need_version=no 10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10954 shlibpath_var=LD_LIBRARY_PATH 10955 shlibpath_overrides_runpath=no 10956 hardcode_into_libs=yes 10957 ;; 10958 10959uts4*) 10960 version_type=linux # correct to gnu/linux during the next big refactor 10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10962 soname_spec='${libname}${release}${shared_ext}$major' 10963 shlibpath_var=LD_LIBRARY_PATH 10964 ;; 10965 10966*) 10967 dynamic_linker=no 10968 ;; 10969esac 10970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10971$as_echo "$dynamic_linker" >&6; } 10972test "$dynamic_linker" = no && can_build_shared=no 10973 10974variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10975if test "$GCC" = yes; then 10976 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10977fi 10978 10979if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10980 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10981fi 10982if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10983 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10984fi 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11078$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11079hardcode_action= 11080if test -n "$hardcode_libdir_flag_spec" || 11081 test -n "$runpath_var" || 11082 test "X$hardcode_automatic" = "Xyes" ; then 11083 11084 # We can hardcode non-existent directories. 11085 if test "$hardcode_direct" != no && 11086 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11087 # have to relink, otherwise we might link with an installed library 11088 # when we should be linking with a yet-to-be-installed one 11089 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11090 test "$hardcode_minus_L" != no; then 11091 # Linking always hardcodes the temporary library directory. 11092 hardcode_action=relink 11093 else 11094 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11095 hardcode_action=immediate 11096 fi 11097else 11098 # We cannot hardcode anything, or else we can only hardcode existing 11099 # directories. 11100 hardcode_action=unsupported 11101fi 11102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11103$as_echo "$hardcode_action" >&6; } 11104 11105if test "$hardcode_action" = relink || 11106 test "$inherit_rpath" = yes; then 11107 # Fast installation is not supported 11108 enable_fast_install=no 11109elif test "$shlibpath_overrides_runpath" = yes || 11110 test "$enable_shared" = no; then 11111 # Fast installation is not necessary 11112 enable_fast_install=needless 11113fi 11114 11115 11116 11117 11118 11119 11120 if test "x$enable_dlopen" != xyes; then 11121 enable_dlopen=unknown 11122 enable_dlopen_self=unknown 11123 enable_dlopen_self_static=unknown 11124else 11125 lt_cv_dlopen=no 11126 lt_cv_dlopen_libs= 11127 11128 case $host_os in 11129 beos*) 11130 lt_cv_dlopen="load_add_on" 11131 lt_cv_dlopen_libs= 11132 lt_cv_dlopen_self=yes 11133 ;; 11134 11135 mingw* | pw32* | cegcc*) 11136 lt_cv_dlopen="LoadLibrary" 11137 lt_cv_dlopen_libs= 11138 ;; 11139 11140 cygwin*) 11141 lt_cv_dlopen="dlopen" 11142 lt_cv_dlopen_libs= 11143 ;; 11144 11145 darwin*) 11146 # if libdl is installed we need to link against it 11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11148$as_echo_n "checking for dlopen in -ldl... " >&6; } 11149if ${ac_cv_lib_dl_dlopen+:} false; then : 11150 $as_echo_n "(cached) " >&6 11151else 11152 ac_check_lib_save_LIBS=$LIBS 11153LIBS="-ldl $LIBS" 11154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11155/* end confdefs.h. */ 11156 11157/* Override any GCC internal prototype to avoid an error. 11158 Use char because int might match the return type of a GCC 11159 builtin and then its argument prototype would still apply. */ 11160#ifdef __cplusplus 11161extern "C" 11162#endif 11163char dlopen (); 11164int 11165main () 11166{ 11167return dlopen (); 11168 ; 11169 return 0; 11170} 11171_ACEOF 11172if ac_fn_c_try_link "$LINENO"; then : 11173 ac_cv_lib_dl_dlopen=yes 11174else 11175 ac_cv_lib_dl_dlopen=no 11176fi 11177rm -f core conftest.err conftest.$ac_objext \ 11178 conftest$ac_exeext conftest.$ac_ext 11179LIBS=$ac_check_lib_save_LIBS 11180fi 11181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11182$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11183if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11184 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11185else 11186 11187 lt_cv_dlopen="dyld" 11188 lt_cv_dlopen_libs= 11189 lt_cv_dlopen_self=yes 11190 11191fi 11192 11193 ;; 11194 11195 *) 11196 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11197if test "x$ac_cv_func_shl_load" = xyes; then : 11198 lt_cv_dlopen="shl_load" 11199else 11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11201$as_echo_n "checking for shl_load in -ldld... " >&6; } 11202if ${ac_cv_lib_dld_shl_load+:} false; then : 11203 $as_echo_n "(cached) " >&6 11204else 11205 ac_check_lib_save_LIBS=$LIBS 11206LIBS="-ldld $LIBS" 11207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11208/* end confdefs.h. */ 11209 11210/* Override any GCC internal prototype to avoid an error. 11211 Use char because int might match the return type of a GCC 11212 builtin and then its argument prototype would still apply. */ 11213#ifdef __cplusplus 11214extern "C" 11215#endif 11216char shl_load (); 11217int 11218main () 11219{ 11220return shl_load (); 11221 ; 11222 return 0; 11223} 11224_ACEOF 11225if ac_fn_c_try_link "$LINENO"; then : 11226 ac_cv_lib_dld_shl_load=yes 11227else 11228 ac_cv_lib_dld_shl_load=no 11229fi 11230rm -f core conftest.err conftest.$ac_objext \ 11231 conftest$ac_exeext conftest.$ac_ext 11232LIBS=$ac_check_lib_save_LIBS 11233fi 11234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11235$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11236if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11237 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11238else 11239 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11240if test "x$ac_cv_func_dlopen" = xyes; then : 11241 lt_cv_dlopen="dlopen" 11242else 11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11244$as_echo_n "checking for dlopen in -ldl... " >&6; } 11245if ${ac_cv_lib_dl_dlopen+:} false; then : 11246 $as_echo_n "(cached) " >&6 11247else 11248 ac_check_lib_save_LIBS=$LIBS 11249LIBS="-ldl $LIBS" 11250cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11251/* end confdefs.h. */ 11252 11253/* Override any GCC internal prototype to avoid an error. 11254 Use char because int might match the return type of a GCC 11255 builtin and then its argument prototype would still apply. */ 11256#ifdef __cplusplus 11257extern "C" 11258#endif 11259char dlopen (); 11260int 11261main () 11262{ 11263return dlopen (); 11264 ; 11265 return 0; 11266} 11267_ACEOF 11268if ac_fn_c_try_link "$LINENO"; then : 11269 ac_cv_lib_dl_dlopen=yes 11270else 11271 ac_cv_lib_dl_dlopen=no 11272fi 11273rm -f core conftest.err conftest.$ac_objext \ 11274 conftest$ac_exeext conftest.$ac_ext 11275LIBS=$ac_check_lib_save_LIBS 11276fi 11277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11278$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11279if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11281else 11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11283$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11284if ${ac_cv_lib_svld_dlopen+:} false; then : 11285 $as_echo_n "(cached) " >&6 11286else 11287 ac_check_lib_save_LIBS=$LIBS 11288LIBS="-lsvld $LIBS" 11289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11290/* end confdefs.h. */ 11291 11292/* Override any GCC internal prototype to avoid an error. 11293 Use char because int might match the return type of a GCC 11294 builtin and then its argument prototype would still apply. */ 11295#ifdef __cplusplus 11296extern "C" 11297#endif 11298char dlopen (); 11299int 11300main () 11301{ 11302return dlopen (); 11303 ; 11304 return 0; 11305} 11306_ACEOF 11307if ac_fn_c_try_link "$LINENO"; then : 11308 ac_cv_lib_svld_dlopen=yes 11309else 11310 ac_cv_lib_svld_dlopen=no 11311fi 11312rm -f core conftest.err conftest.$ac_objext \ 11313 conftest$ac_exeext conftest.$ac_ext 11314LIBS=$ac_check_lib_save_LIBS 11315fi 11316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11317$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11318if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11319 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11320else 11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11322$as_echo_n "checking for dld_link in -ldld... " >&6; } 11323if ${ac_cv_lib_dld_dld_link+:} false; then : 11324 $as_echo_n "(cached) " >&6 11325else 11326 ac_check_lib_save_LIBS=$LIBS 11327LIBS="-ldld $LIBS" 11328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11329/* end confdefs.h. */ 11330 11331/* Override any GCC internal prototype to avoid an error. 11332 Use char because int might match the return type of a GCC 11333 builtin and then its argument prototype would still apply. */ 11334#ifdef __cplusplus 11335extern "C" 11336#endif 11337char dld_link (); 11338int 11339main () 11340{ 11341return dld_link (); 11342 ; 11343 return 0; 11344} 11345_ACEOF 11346if ac_fn_c_try_link "$LINENO"; then : 11347 ac_cv_lib_dld_dld_link=yes 11348else 11349 ac_cv_lib_dld_dld_link=no 11350fi 11351rm -f core conftest.err conftest.$ac_objext \ 11352 conftest$ac_exeext conftest.$ac_ext 11353LIBS=$ac_check_lib_save_LIBS 11354fi 11355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11356$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11357if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11358 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11359fi 11360 11361 11362fi 11363 11364 11365fi 11366 11367 11368fi 11369 11370 11371fi 11372 11373 11374fi 11375 11376 ;; 11377 esac 11378 11379 if test "x$lt_cv_dlopen" != xno; then 11380 enable_dlopen=yes 11381 else 11382 enable_dlopen=no 11383 fi 11384 11385 case $lt_cv_dlopen in 11386 dlopen) 11387 save_CPPFLAGS="$CPPFLAGS" 11388 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11389 11390 save_LDFLAGS="$LDFLAGS" 11391 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11392 11393 save_LIBS="$LIBS" 11394 LIBS="$lt_cv_dlopen_libs $LIBS" 11395 11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11397$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11398if ${lt_cv_dlopen_self+:} false; then : 11399 $as_echo_n "(cached) " >&6 11400else 11401 if test "$cross_compiling" = yes; then : 11402 lt_cv_dlopen_self=cross 11403else 11404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11405 lt_status=$lt_dlunknown 11406 cat > conftest.$ac_ext <<_LT_EOF 11407#line $LINENO "configure" 11408#include "confdefs.h" 11409 11410#if HAVE_DLFCN_H 11411#include <dlfcn.h> 11412#endif 11413 11414#include <stdio.h> 11415 11416#ifdef RTLD_GLOBAL 11417# define LT_DLGLOBAL RTLD_GLOBAL 11418#else 11419# ifdef DL_GLOBAL 11420# define LT_DLGLOBAL DL_GLOBAL 11421# else 11422# define LT_DLGLOBAL 0 11423# endif 11424#endif 11425 11426/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11427 find out it does not work in some platform. */ 11428#ifndef LT_DLLAZY_OR_NOW 11429# ifdef RTLD_LAZY 11430# define LT_DLLAZY_OR_NOW RTLD_LAZY 11431# else 11432# ifdef DL_LAZY 11433# define LT_DLLAZY_OR_NOW DL_LAZY 11434# else 11435# ifdef RTLD_NOW 11436# define LT_DLLAZY_OR_NOW RTLD_NOW 11437# else 11438# ifdef DL_NOW 11439# define LT_DLLAZY_OR_NOW DL_NOW 11440# else 11441# define LT_DLLAZY_OR_NOW 0 11442# endif 11443# endif 11444# endif 11445# endif 11446#endif 11447 11448/* When -fvisbility=hidden is used, assume the code has been annotated 11449 correspondingly for the symbols needed. */ 11450#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11451int fnord () __attribute__((visibility("default"))); 11452#endif 11453 11454int fnord () { return 42; } 11455int main () 11456{ 11457 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11458 int status = $lt_dlunknown; 11459 11460 if (self) 11461 { 11462 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11463 else 11464 { 11465 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11466 else puts (dlerror ()); 11467 } 11468 /* dlclose (self); */ 11469 } 11470 else 11471 puts (dlerror ()); 11472 11473 return status; 11474} 11475_LT_EOF 11476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11477 (eval $ac_link) 2>&5 11478 ac_status=$? 11479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11480 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11481 (./conftest; exit; ) >&5 2>/dev/null 11482 lt_status=$? 11483 case x$lt_status in 11484 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11485 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11486 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11487 esac 11488 else : 11489 # compilation failed 11490 lt_cv_dlopen_self=no 11491 fi 11492fi 11493rm -fr conftest* 11494 11495 11496fi 11497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11498$as_echo "$lt_cv_dlopen_self" >&6; } 11499 11500 if test "x$lt_cv_dlopen_self" = xyes; then 11501 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11503$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11504if ${lt_cv_dlopen_self_static+:} false; then : 11505 $as_echo_n "(cached) " >&6 11506else 11507 if test "$cross_compiling" = yes; then : 11508 lt_cv_dlopen_self_static=cross 11509else 11510 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11511 lt_status=$lt_dlunknown 11512 cat > conftest.$ac_ext <<_LT_EOF 11513#line $LINENO "configure" 11514#include "confdefs.h" 11515 11516#if HAVE_DLFCN_H 11517#include <dlfcn.h> 11518#endif 11519 11520#include <stdio.h> 11521 11522#ifdef RTLD_GLOBAL 11523# define LT_DLGLOBAL RTLD_GLOBAL 11524#else 11525# ifdef DL_GLOBAL 11526# define LT_DLGLOBAL DL_GLOBAL 11527# else 11528# define LT_DLGLOBAL 0 11529# endif 11530#endif 11531 11532/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11533 find out it does not work in some platform. */ 11534#ifndef LT_DLLAZY_OR_NOW 11535# ifdef RTLD_LAZY 11536# define LT_DLLAZY_OR_NOW RTLD_LAZY 11537# else 11538# ifdef DL_LAZY 11539# define LT_DLLAZY_OR_NOW DL_LAZY 11540# else 11541# ifdef RTLD_NOW 11542# define LT_DLLAZY_OR_NOW RTLD_NOW 11543# else 11544# ifdef DL_NOW 11545# define LT_DLLAZY_OR_NOW DL_NOW 11546# else 11547# define LT_DLLAZY_OR_NOW 0 11548# endif 11549# endif 11550# endif 11551# endif 11552#endif 11553 11554/* When -fvisbility=hidden is used, assume the code has been annotated 11555 correspondingly for the symbols needed. */ 11556#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11557int fnord () __attribute__((visibility("default"))); 11558#endif 11559 11560int fnord () { return 42; } 11561int main () 11562{ 11563 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11564 int status = $lt_dlunknown; 11565 11566 if (self) 11567 { 11568 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11569 else 11570 { 11571 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11572 else puts (dlerror ()); 11573 } 11574 /* dlclose (self); */ 11575 } 11576 else 11577 puts (dlerror ()); 11578 11579 return status; 11580} 11581_LT_EOF 11582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11583 (eval $ac_link) 2>&5 11584 ac_status=$? 11585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11586 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11587 (./conftest; exit; ) >&5 2>/dev/null 11588 lt_status=$? 11589 case x$lt_status in 11590 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11591 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11592 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11593 esac 11594 else : 11595 # compilation failed 11596 lt_cv_dlopen_self_static=no 11597 fi 11598fi 11599rm -fr conftest* 11600 11601 11602fi 11603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11604$as_echo "$lt_cv_dlopen_self_static" >&6; } 11605 fi 11606 11607 CPPFLAGS="$save_CPPFLAGS" 11608 LDFLAGS="$save_LDFLAGS" 11609 LIBS="$save_LIBS" 11610 ;; 11611 esac 11612 11613 case $lt_cv_dlopen_self in 11614 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11615 *) enable_dlopen_self=unknown ;; 11616 esac 11617 11618 case $lt_cv_dlopen_self_static in 11619 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11620 *) enable_dlopen_self_static=unknown ;; 11621 esac 11622fi 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640striplib= 11641old_striplib= 11642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11643$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11644if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11645 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11646 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11648$as_echo "yes" >&6; } 11649else 11650# FIXME - insert some real tests, host_os isn't really good enough 11651 case $host_os in 11652 darwin*) 11653 if test -n "$STRIP" ; then 11654 striplib="$STRIP -x" 11655 old_striplib="$STRIP -S" 11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11657$as_echo "yes" >&6; } 11658 else 11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11660$as_echo "no" >&6; } 11661 fi 11662 ;; 11663 *) 11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11665$as_echo "no" >&6; } 11666 ;; 11667 esac 11668fi 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 # Report which library types will actually be built 11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11683$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11685$as_echo "$can_build_shared" >&6; } 11686 11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11688$as_echo_n "checking whether to build shared libraries... " >&6; } 11689 test "$can_build_shared" = "no" && enable_shared=no 11690 11691 # On AIX, shared libraries and static libraries use the same namespace, and 11692 # are all built from PIC. 11693 case $host_os in 11694 aix3*) 11695 test "$enable_shared" = yes && enable_static=no 11696 if test -n "$RANLIB"; then 11697 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11698 postinstall_cmds='$RANLIB $lib' 11699 fi 11700 ;; 11701 11702 aix[4-9]*) 11703 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11704 test "$enable_shared" = yes && enable_static=no 11705 fi 11706 ;; 11707 esac 11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11709$as_echo "$enable_shared" >&6; } 11710 11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11712$as_echo_n "checking whether to build static libraries... " >&6; } 11713 # Make sure either enable_shared or enable_static is yes. 11714 test "$enable_shared" = yes || enable_static=yes 11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11716$as_echo "$enable_static" >&6; } 11717 11718 11719 11720 11721fi 11722ac_ext=c 11723ac_cpp='$CPP $CPPFLAGS' 11724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11726ac_compiler_gnu=$ac_cv_c_compiler_gnu 11727 11728CC="$lt_save_CC" 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 ac_config_commands="$ac_config_commands libtool" 11745 11746 11747 11748 11749# Only expand once: 11750 11751 11752 11753# Options 11754 11755# Check whether --with-docs was given. 11756if test "${with_docs+set}" = set; then : 11757 withval=$with_docs; 11758fi 11759 11760 if test "x$with_docs" != "xno"; then 11761 WITH_DOCS_TRUE= 11762 WITH_DOCS_FALSE='#' 11763else 11764 WITH_DOCS_TRUE='#' 11765 WITH_DOCS_FALSE= 11766fi 11767 11768 11769# Check whether --with-notification was given. 11770if test "${with_notification+set}" = set; then : 11771 withval=$with_notification; 11772fi 11773 11774 if test "x$with_notification" != "xno"; then 11775 WITH_NOTIFICATION_TRUE= 11776 WITH_NOTIFICATION_FALSE='#' 11777else 11778 WITH_NOTIFICATION_TRUE='#' 11779 WITH_NOTIFICATION_FALSE= 11780fi 11781 11782 11783# Check whether --with-xtst was given. 11784if test "${with_xtst+set}" = set; then : 11785 withval=$with_xtst; 11786fi 11787 11788 if test "x$with_xtst" != "xno"; then 11789 WITH_XTST_TRUE= 11790 WITH_XTST_FALSE='#' 11791else 11792 WITH_XTST_TRUE='#' 11793 WITH_XTST_FALSE= 11794fi 11795 11796 11797# Check whether --with-xrecord was given. 11798if test "${with_xrecord+set}" = set; then : 11799 withval=$with_xrecord; 11800fi 11801 11802 if test "x$with_xrecord" != "xno" -a "x$with_xtst" != "xno"; then 11803 WITH_XRECORD_TRUE= 11804 WITH_XRECORD_FALSE='#' 11805else 11806 WITH_XRECORD_TRUE='#' 11807 WITH_XRECORD_FALSE= 11808fi 11809 11810 11811# Check whether --with-at-spi was given. 11812if test "${with_at_spi+set}" = set; then : 11813 withval=$with_at_spi; 11814fi 11815 11816 if test "x$with_at_spi" != "xno"; then 11817 WITH_AT_SPI_TRUE= 11818 WITH_AT_SPI_FALSE='#' 11819else 11820 WITH_AT_SPI_TRUE='#' 11821 WITH_AT_SPI_FALSE= 11822fi 11823 11824 11825# Check whether --with-panelapplet was given. 11826if test "${with_panelapplet+set}" = set; then : 11827 withval=$with_panelapplet; 11828fi 11829 11830if test "x$with_xtst" = "xno" -a "x$with_at_spi" = "xno"; then 11831 as_fn_error $? "You can't disable both xtst and at-spi as there is no way Florence can generate keyboard events." "$LINENO" 5 11832fi 11833 11834# Check whether --with-xkb was given. 11835if test "${with_xkb+set}" = set; then : 11836 withval=$with_xkb; 11837fi 11838 11839 if test "x$with_xkb" != "xno"; then 11840 WITH_XKB_TRUE= 11841 WITH_XKB_FALSE='#' 11842else 11843 WITH_XKB_TRUE='#' 11844 WITH_XKB_FALSE= 11845fi 11846 11847if test "x$with_xkb" != "xno"; then 11848 11849$as_echo "#define ENABLE_XKB \"xkb\"" >>confdefs.h 11850 11851fi 11852 11853# Check whether --with-ramble was given. 11854if test "${with_ramble+set}" = set; then : 11855 withval=$with_ramble; 11856fi 11857 11858 if test "x$with_ramble" != "xno"; then 11859 WITH_RAMBLE_TRUE= 11860 WITH_RAMBLE_FALSE='#' 11861else 11862 WITH_RAMBLE_TRUE='#' 11863 WITH_RAMBLE_FALSE= 11864fi 11865 11866if test "x$with_ramble" != "xno"; then 11867 11868$as_echo "#define ENABLE_RAMBLE \"ramble\"" >>confdefs.h 11869 11870fi 11871 11872# Internationalization 11873 11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 11875$as_echo_n "checking whether NLS is requested... " >&6; } 11876 # Check whether --enable-nls was given. 11877if test "${enable_nls+set}" = set; then : 11878 enableval=$enable_nls; USE_NLS=$enableval 11879else 11880 USE_NLS=yes 11881fi 11882 11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 11884$as_echo "$USE_NLS" >&6; } 11885 11886 11887 11888 11889case "$am__api_version" in 11890 1.01234) 11891 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 11892 ;; 11893 *) 11894 ;; 11895esac 11896 11897INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 11898INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 11899INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 11900if test -n "0.23"; then 11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.23" >&5 11902$as_echo_n "checking for intltool >= 0.23... " >&6; } 11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 11904$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 11905 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 11906 as_fn_error $? "Your intltool is too old. You need intltool 0.23 or later." "$LINENO" 5 11907fi 11908 11909# Extract the first word of "intltool-update", so it can be a program name with args. 11910set dummy intltool-update; ac_word=$2 11911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11912$as_echo_n "checking for $ac_word... " >&6; } 11913if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 11914 $as_echo_n "(cached) " >&6 11915else 11916 case $INTLTOOL_UPDATE in 11917 [\\/]* | ?:[\\/]*) 11918 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 11919 ;; 11920 *) 11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11922for as_dir in $PATH 11923do 11924 IFS=$as_save_IFS 11925 test -z "$as_dir" && as_dir=. 11926 for ac_exec_ext in '' $ac_executable_extensions; do 11927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11928 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 11929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11930 break 2 11931 fi 11932done 11933 done 11934IFS=$as_save_IFS 11935 11936 ;; 11937esac 11938fi 11939INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 11940if test -n "$INTLTOOL_UPDATE"; then 11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 11942$as_echo "$INTLTOOL_UPDATE" >&6; } 11943else 11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11945$as_echo "no" >&6; } 11946fi 11947 11948 11949# Extract the first word of "intltool-merge", so it can be a program name with args. 11950set dummy intltool-merge; ac_word=$2 11951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11952$as_echo_n "checking for $ac_word... " >&6; } 11953if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 11954 $as_echo_n "(cached) " >&6 11955else 11956 case $INTLTOOL_MERGE in 11957 [\\/]* | ?:[\\/]*) 11958 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 11959 ;; 11960 *) 11961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11962for as_dir in $PATH 11963do 11964 IFS=$as_save_IFS 11965 test -z "$as_dir" && as_dir=. 11966 for ac_exec_ext in '' $ac_executable_extensions; do 11967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11968 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 11969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11970 break 2 11971 fi 11972done 11973 done 11974IFS=$as_save_IFS 11975 11976 ;; 11977esac 11978fi 11979INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 11980if test -n "$INTLTOOL_MERGE"; then 11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 11982$as_echo "$INTLTOOL_MERGE" >&6; } 11983else 11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11985$as_echo "no" >&6; } 11986fi 11987 11988 11989# Extract the first word of "intltool-extract", so it can be a program name with args. 11990set dummy intltool-extract; ac_word=$2 11991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11992$as_echo_n "checking for $ac_word... " >&6; } 11993if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 11994 $as_echo_n "(cached) " >&6 11995else 11996 case $INTLTOOL_EXTRACT in 11997 [\\/]* | ?:[\\/]*) 11998 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 11999 ;; 12000 *) 12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12002for as_dir in $PATH 12003do 12004 IFS=$as_save_IFS 12005 test -z "$as_dir" && as_dir=. 12006 for ac_exec_ext in '' $ac_executable_extensions; do 12007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12008 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 12009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12010 break 2 12011 fi 12012done 12013 done 12014IFS=$as_save_IFS 12015 12016 ;; 12017esac 12018fi 12019INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 12020if test -n "$INTLTOOL_EXTRACT"; then 12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 12022$as_echo "$INTLTOOL_EXTRACT" >&6; } 12023else 12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12025$as_echo "no" >&6; } 12026fi 12027 12028 12029if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 12030 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 12031fi 12032 12033if test -z "$AM_DEFAULT_VERBOSITY"; then 12034 AM_DEFAULT_VERBOSITY=1 12035fi 12036 12037 12038INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 12039INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 12040INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 12041 12042 12043 12044 12045INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 12046intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 12047intltool__v_merge_options_0='-q' 12048 12049 12050 12051 12052 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 $< $@' 12053INTLTOOL_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 $< $@' 12054 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 $< $@' 12055 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 $< $@' 12056 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 $< $@' 12057 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 $< $@' 12058 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 $< $@' 12059 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 $< $@' 12060INTLTOOL_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 $< $@' 12061 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 $< $@' 12062 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 $< $@' 12063if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 12064 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 $< $@' 12065else 12066 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' 12067fi 12068 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 $< $@' 12069 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 $< $@' 12070 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 $< $@' 12071 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 $< $@' 12072 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 $< $@' 12073 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 $< $@' 12074 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 $< $@' 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172# Check the gettext tools to make sure they are GNU 12173# Extract the first word of "xgettext", so it can be a program name with args. 12174set dummy xgettext; ac_word=$2 12175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12176$as_echo_n "checking for $ac_word... " >&6; } 12177if ${ac_cv_path_XGETTEXT+:} false; then : 12178 $as_echo_n "(cached) " >&6 12179else 12180 case $XGETTEXT in 12181 [\\/]* | ?:[\\/]*) 12182 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12183 ;; 12184 *) 12185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12186for as_dir in $PATH 12187do 12188 IFS=$as_save_IFS 12189 test -z "$as_dir" && as_dir=. 12190 for ac_exec_ext in '' $ac_executable_extensions; do 12191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12192 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 12193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12194 break 2 12195 fi 12196done 12197 done 12198IFS=$as_save_IFS 12199 12200 ;; 12201esac 12202fi 12203XGETTEXT=$ac_cv_path_XGETTEXT 12204if test -n "$XGETTEXT"; then 12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12206$as_echo "$XGETTEXT" >&6; } 12207else 12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12209$as_echo "no" >&6; } 12210fi 12211 12212 12213# Extract the first word of "msgmerge", so it can be a program name with args. 12214set dummy msgmerge; ac_word=$2 12215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12216$as_echo_n "checking for $ac_word... " >&6; } 12217if ${ac_cv_path_MSGMERGE+:} false; then : 12218 $as_echo_n "(cached) " >&6 12219else 12220 case $MSGMERGE in 12221 [\\/]* | ?:[\\/]*) 12222 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12223 ;; 12224 *) 12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12226for as_dir in $PATH 12227do 12228 IFS=$as_save_IFS 12229 test -z "$as_dir" && as_dir=. 12230 for ac_exec_ext in '' $ac_executable_extensions; do 12231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12232 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12234 break 2 12235 fi 12236done 12237 done 12238IFS=$as_save_IFS 12239 12240 ;; 12241esac 12242fi 12243MSGMERGE=$ac_cv_path_MSGMERGE 12244if test -n "$MSGMERGE"; then 12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12246$as_echo "$MSGMERGE" >&6; } 12247else 12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12249$as_echo "no" >&6; } 12250fi 12251 12252 12253# Extract the first word of "msgfmt", so it can be a program name with args. 12254set dummy msgfmt; ac_word=$2 12255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12256$as_echo_n "checking for $ac_word... " >&6; } 12257if ${ac_cv_path_MSGFMT+:} false; then : 12258 $as_echo_n "(cached) " >&6 12259else 12260 case $MSGFMT in 12261 [\\/]* | ?:[\\/]*) 12262 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12263 ;; 12264 *) 12265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12266for as_dir in $PATH 12267do 12268 IFS=$as_save_IFS 12269 test -z "$as_dir" && as_dir=. 12270 for ac_exec_ext in '' $ac_executable_extensions; do 12271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12272 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 12273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12274 break 2 12275 fi 12276done 12277 done 12278IFS=$as_save_IFS 12279 12280 ;; 12281esac 12282fi 12283MSGFMT=$ac_cv_path_MSGFMT 12284if test -n "$MSGFMT"; then 12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12286$as_echo "$MSGFMT" >&6; } 12287else 12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12289$as_echo "no" >&6; } 12290fi 12291 12292 12293# Extract the first word of "gmsgfmt", so it can be a program name with args. 12294set dummy gmsgfmt; ac_word=$2 12295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12296$as_echo_n "checking for $ac_word... " >&6; } 12297if ${ac_cv_path_GMSGFMT+:} false; then : 12298 $as_echo_n "(cached) " >&6 12299else 12300 case $GMSGFMT in 12301 [\\/]* | ?:[\\/]*) 12302 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12303 ;; 12304 *) 12305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12306for as_dir in $PATH 12307do 12308 IFS=$as_save_IFS 12309 test -z "$as_dir" && as_dir=. 12310 for ac_exec_ext in '' $ac_executable_extensions; do 12311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12312 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12314 break 2 12315 fi 12316done 12317 done 12318IFS=$as_save_IFS 12319 12320 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12321 ;; 12322esac 12323fi 12324GMSGFMT=$ac_cv_path_GMSGFMT 12325if test -n "$GMSGFMT"; then 12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12327$as_echo "$GMSGFMT" >&6; } 12328else 12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12330$as_echo "no" >&6; } 12331fi 12332 12333 12334if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 12335 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12336fi 12337xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 12338mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 12339mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 12340if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 12341 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12342fi 12343 12344# Extract the first word of "perl", so it can be a program name with args. 12345set dummy perl; ac_word=$2 12346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12347$as_echo_n "checking for $ac_word... " >&6; } 12348if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 12349 $as_echo_n "(cached) " >&6 12350else 12351 case $INTLTOOL_PERL in 12352 [\\/]* | ?:[\\/]*) 12353 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 12354 ;; 12355 *) 12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12357for as_dir in $PATH 12358do 12359 IFS=$as_save_IFS 12360 test -z "$as_dir" && as_dir=. 12361 for ac_exec_ext in '' $ac_executable_extensions; do 12362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12363 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 12364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12365 break 2 12366 fi 12367done 12368 done 12369IFS=$as_save_IFS 12370 12371 ;; 12372esac 12373fi 12374INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 12375if test -n "$INTLTOOL_PERL"; then 12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 12377$as_echo "$INTLTOOL_PERL" >&6; } 12378else 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12380$as_echo "no" >&6; } 12381fi 12382 12383 12384if test -z "$INTLTOOL_PERL"; then 12385 as_fn_error $? "perl not found" "$LINENO" 5 12386fi 12387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 12388$as_echo_n "checking for perl >= 5.8.1... " >&6; } 12389$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 12390if test $? -ne 0; then 12391 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 12392else 12393 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 12395$as_echo "$IT_PERL_VERSION" >&6; } 12396fi 12397if test "x" != "xno-xml"; then 12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 12399$as_echo_n "checking for XML::Parser... " >&6; } 12400 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 12402$as_echo "ok" >&6; } 12403 else 12404 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 12405 fi 12406fi 12407 12408# Substitute ALL_LINGUAS so we can use it in po/Makefile 12409 12410 12411# Set DATADIRNAME correctly if it is not set yet 12412# (copied from glib-gettext.m4) 12413if test -z "$DATADIRNAME"; then 12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12415/* end confdefs.h. */ 12416 12417int 12418main () 12419{ 12420extern int _nl_msg_cat_cntr; 12421 return _nl_msg_cat_cntr 12422 ; 12423 return 0; 12424} 12425_ACEOF 12426if ac_fn_c_try_link "$LINENO"; then : 12427 DATADIRNAME=share 12428else 12429 case $host in 12430 *-*-solaris*) 12431 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12432if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12433 DATADIRNAME=share 12434else 12435 DATADIRNAME=share 12436fi 12437 12438 ;; 12439 *) 12440 DATADIRNAME=share 12441 ;; 12442 esac 12443fi 12444rm -f core conftest.err conftest.$ac_objext \ 12445 conftest$ac_exeext conftest.$ac_ext 12446fi 12447 12448 12449 12450 12451 12452GETTEXT_PACKAGE=florence 12453 12454 12455$as_echo "#define GETTEXT_PACKAGE \"florence\"" >>confdefs.h 12456 12457ALL_LINGUAS="fr ru it" 12458 12459 for ac_header in locale.h 12460do : 12461 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12462if test "x$ac_cv_header_locale_h" = xyes; then : 12463 cat >>confdefs.h <<_ACEOF 12464#define HAVE_LOCALE_H 1 12465_ACEOF 12466 12467fi 12468 12469done 12470 12471 if test $ac_cv_header_locale_h = yes; then 12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 12473$as_echo_n "checking for LC_MESSAGES... " >&6; } 12474if ${am_cv_val_LC_MESSAGES+:} false; then : 12475 $as_echo_n "(cached) " >&6 12476else 12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12478/* end confdefs.h. */ 12479#include <locale.h> 12480int 12481main () 12482{ 12483return LC_MESSAGES 12484 ; 12485 return 0; 12486} 12487_ACEOF 12488if ac_fn_c_try_link "$LINENO"; then : 12489 am_cv_val_LC_MESSAGES=yes 12490else 12491 am_cv_val_LC_MESSAGES=no 12492fi 12493rm -f core conftest.err conftest.$ac_objext \ 12494 conftest$ac_exeext conftest.$ac_ext 12495fi 12496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 12497$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 12498 if test $am_cv_val_LC_MESSAGES = yes; then 12499 12500$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 12501 12502 fi 12503 fi 12504 USE_NLS=yes 12505 12506 12507 gt_cv_have_gettext=no 12508 12509 CATOBJEXT=NONE 12510 XGETTEXT=: 12511 INTLLIBS= 12512 12513 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 12514if test "x$ac_cv_header_libintl_h" = xyes; then : 12515 gt_cv_func_dgettext_libintl="no" 12516 libintl_extra_libs="" 12517 12518 # 12519 # First check in libc 12520 # 12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 12522$as_echo_n "checking for ngettext in libc... " >&6; } 12523if ${gt_cv_func_ngettext_libc+:} false; then : 12524 $as_echo_n "(cached) " >&6 12525else 12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12527/* end confdefs.h. */ 12528 12529#include <libintl.h> 12530 12531int 12532main () 12533{ 12534return !ngettext ("","", 1) 12535 ; 12536 return 0; 12537} 12538_ACEOF 12539if ac_fn_c_try_link "$LINENO"; then : 12540 gt_cv_func_ngettext_libc=yes 12541else 12542 gt_cv_func_ngettext_libc=no 12543fi 12544rm -f core conftest.err conftest.$ac_objext \ 12545 conftest$ac_exeext conftest.$ac_ext 12546 12547fi 12548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 12549$as_echo "$gt_cv_func_ngettext_libc" >&6; } 12550 12551 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 12553$as_echo_n "checking for dgettext in libc... " >&6; } 12554if ${gt_cv_func_dgettext_libc+:} false; then : 12555 $as_echo_n "(cached) " >&6 12556else 12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12558/* end confdefs.h. */ 12559 12560#include <libintl.h> 12561 12562int 12563main () 12564{ 12565return !dgettext ("","") 12566 ; 12567 return 0; 12568} 12569_ACEOF 12570if ac_fn_c_try_link "$LINENO"; then : 12571 gt_cv_func_dgettext_libc=yes 12572else 12573 gt_cv_func_dgettext_libc=no 12574fi 12575rm -f core conftest.err conftest.$ac_objext \ 12576 conftest$ac_exeext conftest.$ac_ext 12577 12578fi 12579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 12580$as_echo "$gt_cv_func_dgettext_libc" >&6; } 12581 fi 12582 12583 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12584 for ac_func in bind_textdomain_codeset 12585do : 12586 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12587if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12588 cat >>confdefs.h <<_ACEOF 12589#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12590_ACEOF 12591 12592fi 12593done 12594 12595 fi 12596 12597 # 12598 # If we don't have everything we want, check in libintl 12599 # 12600 if test "$gt_cv_func_dgettext_libc" != "yes" \ 12601 || test "$gt_cv_func_ngettext_libc" != "yes" \ 12602 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 12603 12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 12605$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 12606if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 12607 $as_echo_n "(cached) " >&6 12608else 12609 ac_check_lib_save_LIBS=$LIBS 12610LIBS="-lintl $LIBS" 12611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12612/* end confdefs.h. */ 12613 12614/* Override any GCC internal prototype to avoid an error. 12615 Use char because int might match the return type of a GCC 12616 builtin and then its argument prototype would still apply. */ 12617#ifdef __cplusplus 12618extern "C" 12619#endif 12620char bindtextdomain (); 12621int 12622main () 12623{ 12624return bindtextdomain (); 12625 ; 12626 return 0; 12627} 12628_ACEOF 12629if ac_fn_c_try_link "$LINENO"; then : 12630 ac_cv_lib_intl_bindtextdomain=yes 12631else 12632 ac_cv_lib_intl_bindtextdomain=no 12633fi 12634rm -f core conftest.err conftest.$ac_objext \ 12635 conftest$ac_exeext conftest.$ac_ext 12636LIBS=$ac_check_lib_save_LIBS 12637fi 12638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 12639$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 12640if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12642$as_echo_n "checking for ngettext in -lintl... " >&6; } 12643if ${ac_cv_lib_intl_ngettext+:} false; then : 12644 $as_echo_n "(cached) " >&6 12645else 12646 ac_check_lib_save_LIBS=$LIBS 12647LIBS="-lintl $LIBS" 12648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12649/* end confdefs.h. */ 12650 12651/* Override any GCC internal prototype to avoid an error. 12652 Use char because int might match the return type of a GCC 12653 builtin and then its argument prototype would still apply. */ 12654#ifdef __cplusplus 12655extern "C" 12656#endif 12657char ngettext (); 12658int 12659main () 12660{ 12661return ngettext (); 12662 ; 12663 return 0; 12664} 12665_ACEOF 12666if ac_fn_c_try_link "$LINENO"; then : 12667 ac_cv_lib_intl_ngettext=yes 12668else 12669 ac_cv_lib_intl_ngettext=no 12670fi 12671rm -f core conftest.err conftest.$ac_objext \ 12672 conftest$ac_exeext conftest.$ac_ext 12673LIBS=$ac_check_lib_save_LIBS 12674fi 12675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12676$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12677if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 12679$as_echo_n "checking for dgettext in -lintl... " >&6; } 12680if ${ac_cv_lib_intl_dgettext+:} false; then : 12681 $as_echo_n "(cached) " >&6 12682else 12683 ac_check_lib_save_LIBS=$LIBS 12684LIBS="-lintl $LIBS" 12685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12686/* end confdefs.h. */ 12687 12688/* Override any GCC internal prototype to avoid an error. 12689 Use char because int might match the return type of a GCC 12690 builtin and then its argument prototype would still apply. */ 12691#ifdef __cplusplus 12692extern "C" 12693#endif 12694char dgettext (); 12695int 12696main () 12697{ 12698return dgettext (); 12699 ; 12700 return 0; 12701} 12702_ACEOF 12703if ac_fn_c_try_link "$LINENO"; then : 12704 ac_cv_lib_intl_dgettext=yes 12705else 12706 ac_cv_lib_intl_dgettext=no 12707fi 12708rm -f core conftest.err conftest.$ac_objext \ 12709 conftest$ac_exeext conftest.$ac_ext 12710LIBS=$ac_check_lib_save_LIBS 12711fi 12712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 12713$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 12714if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 12715 gt_cv_func_dgettext_libintl=yes 12716fi 12717 12718fi 12719 12720fi 12721 12722 12723 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 12725$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 12727$as_echo "" >&6; } 12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12729$as_echo_n "checking for ngettext in -lintl... " >&6; } 12730if ${ac_cv_lib_intl_ngettext+:} false; then : 12731 $as_echo_n "(cached) " >&6 12732else 12733 ac_check_lib_save_LIBS=$LIBS 12734LIBS="-lintl -liconv $LIBS" 12735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12736/* end confdefs.h. */ 12737 12738/* Override any GCC internal prototype to avoid an error. 12739 Use char because int might match the return type of a GCC 12740 builtin and then its argument prototype would still apply. */ 12741#ifdef __cplusplus 12742extern "C" 12743#endif 12744char ngettext (); 12745int 12746main () 12747{ 12748return ngettext (); 12749 ; 12750 return 0; 12751} 12752_ACEOF 12753if ac_fn_c_try_link "$LINENO"; then : 12754 ac_cv_lib_intl_ngettext=yes 12755else 12756 ac_cv_lib_intl_ngettext=no 12757fi 12758rm -f core conftest.err conftest.$ac_objext \ 12759 conftest$ac_exeext conftest.$ac_ext 12760LIBS=$ac_check_lib_save_LIBS 12761fi 12762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12763$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12764if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 12766$as_echo_n "checking for dcgettext in -lintl... " >&6; } 12767if ${ac_cv_lib_intl_dcgettext+:} false; then : 12768 $as_echo_n "(cached) " >&6 12769else 12770 ac_check_lib_save_LIBS=$LIBS 12771LIBS="-lintl -liconv $LIBS" 12772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12773/* end confdefs.h. */ 12774 12775/* Override any GCC internal prototype to avoid an error. 12776 Use char because int might match the return type of a GCC 12777 builtin and then its argument prototype would still apply. */ 12778#ifdef __cplusplus 12779extern "C" 12780#endif 12781char dcgettext (); 12782int 12783main () 12784{ 12785return dcgettext (); 12786 ; 12787 return 0; 12788} 12789_ACEOF 12790if ac_fn_c_try_link "$LINENO"; then : 12791 ac_cv_lib_intl_dcgettext=yes 12792else 12793 ac_cv_lib_intl_dcgettext=no 12794fi 12795rm -f core conftest.err conftest.$ac_objext \ 12796 conftest$ac_exeext conftest.$ac_ext 12797LIBS=$ac_check_lib_save_LIBS 12798fi 12799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 12800$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 12801if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 12802 gt_cv_func_dgettext_libintl=yes 12803 libintl_extra_libs=-liconv 12804else 12805 : 12806fi 12807 12808else 12809 : 12810fi 12811 12812 fi 12813 12814 # 12815 # If we found libintl, then check in it for bind_textdomain_codeset(); 12816 # we'll prefer libc if neither have bind_textdomain_codeset(), 12817 # and both have dgettext and ngettext 12818 # 12819 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 12820 glib_save_LIBS="$LIBS" 12821 LIBS="$LIBS -lintl $libintl_extra_libs" 12822 unset ac_cv_func_bind_textdomain_codeset 12823 for ac_func in bind_textdomain_codeset 12824do : 12825 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12826if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12827 cat >>confdefs.h <<_ACEOF 12828#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12829_ACEOF 12830 12831fi 12832done 12833 12834 LIBS="$glib_save_LIBS" 12835 12836 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 12837 gt_cv_func_dgettext_libc=no 12838 else 12839 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12840 && test "$gt_cv_func_ngettext_libc" = "yes"; then 12841 gt_cv_func_dgettext_libintl=no 12842 fi 12843 fi 12844 fi 12845 fi 12846 12847 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12848 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 12849 gt_cv_have_gettext=yes 12850 fi 12851 12852 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 12853 INTLLIBS="-lintl $libintl_extra_libs" 12854 fi 12855 12856 if test "$gt_cv_have_gettext" = "yes"; then 12857 12858$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 12859 12860 # Extract the first word of "msgfmt", so it can be a program name with args. 12861set dummy msgfmt; ac_word=$2 12862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12863$as_echo_n "checking for $ac_word... " >&6; } 12864if ${ac_cv_path_MSGFMT+:} false; then : 12865 $as_echo_n "(cached) " >&6 12866else 12867 case "$MSGFMT" in 12868 /*) 12869 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12870 ;; 12871 *) 12872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12873 for ac_dir in $PATH; do 12874 test -z "$ac_dir" && ac_dir=. 12875 if test -f $ac_dir/$ac_word; then 12876 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 12877 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 12878 break 12879 fi 12880 fi 12881 done 12882 IFS="$ac_save_ifs" 12883 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 12884 ;; 12885esac 12886fi 12887MSGFMT="$ac_cv_path_MSGFMT" 12888if test "$MSGFMT" != "no"; then 12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12890$as_echo "$MSGFMT" >&6; } 12891else 12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12893$as_echo "no" >&6; } 12894fi 12895 if test "$MSGFMT" != "no"; then 12896 glib_save_LIBS="$LIBS" 12897 LIBS="$LIBS $INTLLIBS" 12898 for ac_func in dcgettext 12899do : 12900 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 12901if test "x$ac_cv_func_dcgettext" = xyes; then : 12902 cat >>confdefs.h <<_ACEOF 12903#define HAVE_DCGETTEXT 1 12904_ACEOF 12905 12906fi 12907done 12908 12909 MSGFMT_OPTS= 12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 12911$as_echo_n "checking if msgfmt accepts -c... " >&6; } 12912 cat >conftest.foo <<_ACEOF 12913 12914msgid "" 12915msgstr "" 12916"Content-Type: text/plain; charset=UTF-8\n" 12917"Project-Id-Version: test 1.0\n" 12918"PO-Revision-Date: 2007-02-15 12:01+0100\n" 12919"Last-Translator: test <foo@bar.xx>\n" 12920"Language-Team: C <LL@li.org>\n" 12921"MIME-Version: 1.0\n" 12922"Content-Transfer-Encoding: 8bit\n" 12923 12924_ACEOF 12925if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 12926 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 12927 ac_status=$? 12928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12929 test $ac_status = 0; }; then 12930 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12931$as_echo "yes" >&6; } 12932else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12933$as_echo "no" >&6; } 12934echo "$as_me: failed input was:" >&5 12935sed 's/^/| /' conftest.foo >&5 12936fi 12937 12938 # Extract the first word of "gmsgfmt", so it can be a program name with args. 12939set dummy gmsgfmt; ac_word=$2 12940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12941$as_echo_n "checking for $ac_word... " >&6; } 12942if ${ac_cv_path_GMSGFMT+:} false; then : 12943 $as_echo_n "(cached) " >&6 12944else 12945 case $GMSGFMT in 12946 [\\/]* | ?:[\\/]*) 12947 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12948 ;; 12949 *) 12950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12951for as_dir in $PATH 12952do 12953 IFS=$as_save_IFS 12954 test -z "$as_dir" && as_dir=. 12955 for ac_exec_ext in '' $ac_executable_extensions; do 12956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12957 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12959 break 2 12960 fi 12961done 12962 done 12963IFS=$as_save_IFS 12964 12965 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12966 ;; 12967esac 12968fi 12969GMSGFMT=$ac_cv_path_GMSGFMT 12970if test -n "$GMSGFMT"; then 12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12972$as_echo "$GMSGFMT" >&6; } 12973else 12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12975$as_echo "no" >&6; } 12976fi 12977 12978 12979 # Extract the first word of "xgettext", so it can be a program name with args. 12980set dummy xgettext; ac_word=$2 12981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12982$as_echo_n "checking for $ac_word... " >&6; } 12983if ${ac_cv_path_XGETTEXT+:} false; then : 12984 $as_echo_n "(cached) " >&6 12985else 12986 case "$XGETTEXT" in 12987 /*) 12988 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12989 ;; 12990 *) 12991 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12992 for ac_dir in $PATH; do 12993 test -z "$ac_dir" && ac_dir=. 12994 if test -f $ac_dir/$ac_word; then 12995 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 12996 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 12997 break 12998 fi 12999 fi 13000 done 13001 IFS="$ac_save_ifs" 13002 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 13003 ;; 13004esac 13005fi 13006XGETTEXT="$ac_cv_path_XGETTEXT" 13007if test "$XGETTEXT" != ":"; then 13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 13009$as_echo "$XGETTEXT" >&6; } 13010else 13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13012$as_echo "no" >&6; } 13013fi 13014 13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13016/* end confdefs.h. */ 13017 13018int 13019main () 13020{ 13021extern int _nl_msg_cat_cntr; 13022 return _nl_msg_cat_cntr 13023 ; 13024 return 0; 13025} 13026_ACEOF 13027if ac_fn_c_try_link "$LINENO"; then : 13028 CATOBJEXT=.gmo 13029 DATADIRNAME=share 13030else 13031 case $host in 13032 *-*-solaris*) 13033 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13034if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13035 CATOBJEXT=.gmo 13036 DATADIRNAME=share 13037else 13038 CATOBJEXT=.mo 13039 DATADIRNAME=share 13040fi 13041 13042 ;; 13043 *-*-openbsd*) 13044 CATOBJEXT=.mo 13045 DATADIRNAME=share 13046 ;; 13047 *) 13048 CATOBJEXT=.mo 13049 DATADIRNAME=share 13050 ;; 13051 esac 13052fi 13053rm -f core conftest.err conftest.$ac_objext \ 13054 conftest$ac_exeext conftest.$ac_ext 13055 LIBS="$glib_save_LIBS" 13056 INSTOBJEXT=.mo 13057 else 13058 gt_cv_have_gettext=no 13059 fi 13060 fi 13061 13062fi 13063 13064 13065 13066 if test "$gt_cv_have_gettext" = "yes" ; then 13067 13068$as_echo "#define ENABLE_NLS 1" >>confdefs.h 13069 13070 fi 13071 13072 if test "$XGETTEXT" != ":"; then 13073 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 13074 : ; 13075 else 13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 13077$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 13078 XGETTEXT=":" 13079 fi 13080 fi 13081 13082 # We need to process the po/ directory. 13083 POSUB=po 13084 13085 ac_config_commands="$ac_config_commands default-1" 13086 13087 13088 for lang in $ALL_LINGUAS; do 13089 GMOFILES="$GMOFILES $lang.gmo" 13090 POFILES="$POFILES $lang.po" 13091 done 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 if test "$gt_cv_have_gettext" = "yes"; then 13106 if test "x$ALL_LINGUAS" = "x"; then 13107 LINGUAS= 13108 else 13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 13110$as_echo_n "checking for catalogs to be installed... " >&6; } 13111 NEW_LINGUAS= 13112 for presentlang in $ALL_LINGUAS; do 13113 useit=no 13114 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 13115 desiredlanguages="$LINGUAS" 13116 else 13117 desiredlanguages="$ALL_LINGUAS" 13118 fi 13119 for desiredlang in $desiredlanguages; do 13120 # Use the presentlang catalog if desiredlang is 13121 # a. equal to presentlang, or 13122 # b. a variant of presentlang (because in this case, 13123 # presentlang can be used as a fallback for messages 13124 # which are not translated in the desiredlang catalog). 13125 case "$desiredlang" in 13126 "$presentlang"*) useit=yes;; 13127 esac 13128 done 13129 if test $useit = yes; then 13130 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 13131 fi 13132 done 13133 LINGUAS=$NEW_LINGUAS 13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 13135$as_echo "$LINGUAS" >&6; } 13136 fi 13137 13138 if test -n "$LINGUAS"; then 13139 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 13140 fi 13141 fi 13142 13143 MKINSTALLDIRS= 13144 if test -n "$ac_aux_dir"; then 13145 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 13146 fi 13147 if test -z "$MKINSTALLDIRS"; then 13148 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 13149 fi 13150 13151 13152 test -d po || mkdir po 13153 if test "x$srcdir" != "x."; then 13154 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 13155 posrcprefix="$srcdir/" 13156 else 13157 posrcprefix="../$srcdir/" 13158 fi 13159 else 13160 posrcprefix="../" 13161 fi 13162 rm -f po/POTFILES 13163 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 13164 < $srcdir/po/POTFILES.in > po/POTFILES 13165 13166florencelocaledir='${prefix}/${DATADIRNAME}/locale' 13167 13168 13169# Checks for programs. 13170ac_ext=c 13171ac_cpp='$CPP $CPPFLAGS' 13172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13174ac_compiler_gnu=$ac_cv_c_compiler_gnu 13175if test -n "$ac_tool_prefix"; then 13176 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 13177set dummy ${ac_tool_prefix}gcc; ac_word=$2 13178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13179$as_echo_n "checking for $ac_word... " >&6; } 13180if ${ac_cv_prog_CC+:} false; then : 13181 $as_echo_n "(cached) " >&6 13182else 13183 if test -n "$CC"; then 13184 ac_cv_prog_CC="$CC" # Let the user override the test. 13185else 13186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13187for as_dir in $PATH 13188do 13189 IFS=$as_save_IFS 13190 test -z "$as_dir" && as_dir=. 13191 for ac_exec_ext in '' $ac_executable_extensions; do 13192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13193 ac_cv_prog_CC="${ac_tool_prefix}gcc" 13194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13195 break 2 13196 fi 13197done 13198 done 13199IFS=$as_save_IFS 13200 13201fi 13202fi 13203CC=$ac_cv_prog_CC 13204if test -n "$CC"; then 13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13206$as_echo "$CC" >&6; } 13207else 13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13209$as_echo "no" >&6; } 13210fi 13211 13212 13213fi 13214if test -z "$ac_cv_prog_CC"; then 13215 ac_ct_CC=$CC 13216 # Extract the first word of "gcc", so it can be a program name with args. 13217set dummy gcc; ac_word=$2 13218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13219$as_echo_n "checking for $ac_word... " >&6; } 13220if ${ac_cv_prog_ac_ct_CC+:} false; then : 13221 $as_echo_n "(cached) " >&6 13222else 13223 if test -n "$ac_ct_CC"; then 13224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13225else 13226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13227for as_dir in $PATH 13228do 13229 IFS=$as_save_IFS 13230 test -z "$as_dir" && as_dir=. 13231 for ac_exec_ext in '' $ac_executable_extensions; do 13232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13233 ac_cv_prog_ac_ct_CC="gcc" 13234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13235 break 2 13236 fi 13237done 13238 done 13239IFS=$as_save_IFS 13240 13241fi 13242fi 13243ac_ct_CC=$ac_cv_prog_ac_ct_CC 13244if test -n "$ac_ct_CC"; then 13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13246$as_echo "$ac_ct_CC" >&6; } 13247else 13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13249$as_echo "no" >&6; } 13250fi 13251 13252 if test "x$ac_ct_CC" = x; then 13253 CC="" 13254 else 13255 case $cross_compiling:$ac_tool_warned in 13256yes:) 13257{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13259ac_tool_warned=yes ;; 13260esac 13261 CC=$ac_ct_CC 13262 fi 13263else 13264 CC="$ac_cv_prog_CC" 13265fi 13266 13267if test -z "$CC"; then 13268 if test -n "$ac_tool_prefix"; then 13269 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 13270set dummy ${ac_tool_prefix}cc; ac_word=$2 13271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13272$as_echo_n "checking for $ac_word... " >&6; } 13273if ${ac_cv_prog_CC+:} false; then : 13274 $as_echo_n "(cached) " >&6 13275else 13276 if test -n "$CC"; then 13277 ac_cv_prog_CC="$CC" # Let the user override the test. 13278else 13279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13280for as_dir in $PATH 13281do 13282 IFS=$as_save_IFS 13283 test -z "$as_dir" && as_dir=. 13284 for ac_exec_ext in '' $ac_executable_extensions; do 13285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13286 ac_cv_prog_CC="${ac_tool_prefix}cc" 13287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13288 break 2 13289 fi 13290done 13291 done 13292IFS=$as_save_IFS 13293 13294fi 13295fi 13296CC=$ac_cv_prog_CC 13297if test -n "$CC"; then 13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13299$as_echo "$CC" >&6; } 13300else 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13302$as_echo "no" >&6; } 13303fi 13304 13305 13306 fi 13307fi 13308if test -z "$CC"; then 13309 # Extract the first word of "cc", so it can be a program name with args. 13310set dummy cc; ac_word=$2 13311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13312$as_echo_n "checking for $ac_word... " >&6; } 13313if ${ac_cv_prog_CC+:} false; then : 13314 $as_echo_n "(cached) " >&6 13315else 13316 if test -n "$CC"; then 13317 ac_cv_prog_CC="$CC" # Let the user override the test. 13318else 13319 ac_prog_rejected=no 13320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13321for as_dir in $PATH 13322do 13323 IFS=$as_save_IFS 13324 test -z "$as_dir" && as_dir=. 13325 for ac_exec_ext in '' $ac_executable_extensions; do 13326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13327 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 13328 ac_prog_rejected=yes 13329 continue 13330 fi 13331 ac_cv_prog_CC="cc" 13332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13333 break 2 13334 fi 13335done 13336 done 13337IFS=$as_save_IFS 13338 13339if test $ac_prog_rejected = yes; then 13340 # We found a bogon in the path, so make sure we never use it. 13341 set dummy $ac_cv_prog_CC 13342 shift 13343 if test $# != 0; then 13344 # We chose a different compiler from the bogus one. 13345 # However, it has the same basename, so the bogon will be chosen 13346 # first if we set CC to just the basename; use the full file name. 13347 shift 13348 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 13349 fi 13350fi 13351fi 13352fi 13353CC=$ac_cv_prog_CC 13354if test -n "$CC"; then 13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13356$as_echo "$CC" >&6; } 13357else 13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13359$as_echo "no" >&6; } 13360fi 13361 13362 13363fi 13364if test -z "$CC"; then 13365 if test -n "$ac_tool_prefix"; then 13366 for ac_prog in cl.exe 13367 do 13368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13369set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13371$as_echo_n "checking for $ac_word... " >&6; } 13372if ${ac_cv_prog_CC+:} false; then : 13373 $as_echo_n "(cached) " >&6 13374else 13375 if test -n "$CC"; then 13376 ac_cv_prog_CC="$CC" # Let the user override the test. 13377else 13378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13379for as_dir in $PATH 13380do 13381 IFS=$as_save_IFS 13382 test -z "$as_dir" && as_dir=. 13383 for ac_exec_ext in '' $ac_executable_extensions; do 13384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13385 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 13386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13387 break 2 13388 fi 13389done 13390 done 13391IFS=$as_save_IFS 13392 13393fi 13394fi 13395CC=$ac_cv_prog_CC 13396if test -n "$CC"; then 13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 13398$as_echo "$CC" >&6; } 13399else 13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13401$as_echo "no" >&6; } 13402fi 13403 13404 13405 test -n "$CC" && break 13406 done 13407fi 13408if test -z "$CC"; then 13409 ac_ct_CC=$CC 13410 for ac_prog in cl.exe 13411do 13412 # Extract the first word of "$ac_prog", so it can be a program name with args. 13413set dummy $ac_prog; ac_word=$2 13414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13415$as_echo_n "checking for $ac_word... " >&6; } 13416if ${ac_cv_prog_ac_ct_CC+:} false; then : 13417 $as_echo_n "(cached) " >&6 13418else 13419 if test -n "$ac_ct_CC"; then 13420 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 13421else 13422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13423for as_dir in $PATH 13424do 13425 IFS=$as_save_IFS 13426 test -z "$as_dir" && as_dir=. 13427 for ac_exec_ext in '' $ac_executable_extensions; do 13428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13429 ac_cv_prog_ac_ct_CC="$ac_prog" 13430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13431 break 2 13432 fi 13433done 13434 done 13435IFS=$as_save_IFS 13436 13437fi 13438fi 13439ac_ct_CC=$ac_cv_prog_ac_ct_CC 13440if test -n "$ac_ct_CC"; then 13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 13442$as_echo "$ac_ct_CC" >&6; } 13443else 13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13445$as_echo "no" >&6; } 13446fi 13447 13448 13449 test -n "$ac_ct_CC" && break 13450done 13451 13452 if test "x$ac_ct_CC" = x; then 13453 CC="" 13454 else 13455 case $cross_compiling:$ac_tool_warned in 13456yes:) 13457{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13458$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13459ac_tool_warned=yes ;; 13460esac 13461 CC=$ac_ct_CC 13462 fi 13463fi 13464 13465fi 13466 13467 13468test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13470as_fn_error $? "no acceptable C compiler found in \$PATH 13471See \`config.log' for more details" "$LINENO" 5; } 13472 13473# Provide some information about the compiler. 13474$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 13475set X $ac_compile 13476ac_compiler=$2 13477for ac_option in --version -v -V -qversion; do 13478 { { ac_try="$ac_compiler $ac_option >&5" 13479case "(($ac_try" in 13480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13481 *) ac_try_echo=$ac_try;; 13482esac 13483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 13484$as_echo "$ac_try_echo"; } >&5 13485 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 13486 ac_status=$? 13487 if test -s conftest.err; then 13488 sed '10a\ 13489... rest of stderr output deleted ... 13490 10q' conftest.err >conftest.er1 13491 cat conftest.er1 >&5 13492 fi 13493 rm -f conftest.er1 conftest.err 13494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13495 test $ac_status = 0; } 13496done 13497 13498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 13499$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 13500if ${ac_cv_c_compiler_gnu+:} false; then : 13501 $as_echo_n "(cached) " >&6 13502else 13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13504/* end confdefs.h. */ 13505 13506int 13507main () 13508{ 13509#ifndef __GNUC__ 13510 choke me 13511#endif 13512 13513 ; 13514 return 0; 13515} 13516_ACEOF 13517if ac_fn_c_try_compile "$LINENO"; then : 13518 ac_compiler_gnu=yes 13519else 13520 ac_compiler_gnu=no 13521fi 13522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13523ac_cv_c_compiler_gnu=$ac_compiler_gnu 13524 13525fi 13526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 13527$as_echo "$ac_cv_c_compiler_gnu" >&6; } 13528if test $ac_compiler_gnu = yes; then 13529 GCC=yes 13530else 13531 GCC= 13532fi 13533ac_test_CFLAGS=${CFLAGS+set} 13534ac_save_CFLAGS=$CFLAGS 13535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 13536$as_echo_n "checking whether $CC accepts -g... " >&6; } 13537if ${ac_cv_prog_cc_g+:} false; then : 13538 $as_echo_n "(cached) " >&6 13539else 13540 ac_save_c_werror_flag=$ac_c_werror_flag 13541 ac_c_werror_flag=yes 13542 ac_cv_prog_cc_g=no 13543 CFLAGS="-g" 13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13545/* end confdefs.h. */ 13546 13547int 13548main () 13549{ 13550 13551 ; 13552 return 0; 13553} 13554_ACEOF 13555if ac_fn_c_try_compile "$LINENO"; then : 13556 ac_cv_prog_cc_g=yes 13557else 13558 CFLAGS="" 13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13560/* end confdefs.h. */ 13561 13562int 13563main () 13564{ 13565 13566 ; 13567 return 0; 13568} 13569_ACEOF 13570if ac_fn_c_try_compile "$LINENO"; then : 13571 13572else 13573 ac_c_werror_flag=$ac_save_c_werror_flag 13574 CFLAGS="-g" 13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13576/* end confdefs.h. */ 13577 13578int 13579main () 13580{ 13581 13582 ; 13583 return 0; 13584} 13585_ACEOF 13586if ac_fn_c_try_compile "$LINENO"; then : 13587 ac_cv_prog_cc_g=yes 13588fi 13589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13590fi 13591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13592fi 13593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13594 ac_c_werror_flag=$ac_save_c_werror_flag 13595fi 13596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 13597$as_echo "$ac_cv_prog_cc_g" >&6; } 13598if test "$ac_test_CFLAGS" = set; then 13599 CFLAGS=$ac_save_CFLAGS 13600elif test $ac_cv_prog_cc_g = yes; then 13601 if test "$GCC" = yes; then 13602 CFLAGS="-g -O2" 13603 else 13604 CFLAGS="-g" 13605 fi 13606else 13607 if test "$GCC" = yes; then 13608 CFLAGS="-O2" 13609 else 13610 CFLAGS= 13611 fi 13612fi 13613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 13614$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 13615if ${ac_cv_prog_cc_c89+:} false; then : 13616 $as_echo_n "(cached) " >&6 13617else 13618 ac_cv_prog_cc_c89=no 13619ac_save_CC=$CC 13620cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13621/* end confdefs.h. */ 13622#include <stdarg.h> 13623#include <stdio.h> 13624struct stat; 13625/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 13626struct buf { int x; }; 13627FILE * (*rcsopen) (struct buf *, struct stat *, int); 13628static char *e (p, i) 13629 char **p; 13630 int i; 13631{ 13632 return p[i]; 13633} 13634static char *f (char * (*g) (char **, int), char **p, ...) 13635{ 13636 char *s; 13637 va_list v; 13638 va_start (v,p); 13639 s = g (p, va_arg (v,int)); 13640 va_end (v); 13641 return s; 13642} 13643 13644/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 13645 function prototypes and stuff, but not '\xHH' hex character constants. 13646 These don't provoke an error unfortunately, instead are silently treated 13647 as 'x'. The following induces an error, until -std is added to get 13648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 13649 array size at least. It's necessary to write '\x00'==0 to get something 13650 that's true only with -std. */ 13651int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 13652 13653/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 13654 inside strings and character constants. */ 13655#define FOO(x) 'x' 13656int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 13657 13658int test (int i, double x); 13659struct s1 {int (*f) (int a);}; 13660struct s2 {int (*f) (double a);}; 13661int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 13662int argc; 13663char **argv; 13664int 13665main () 13666{ 13667return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 13668 ; 13669 return 0; 13670} 13671_ACEOF 13672for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 13673 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 13674do 13675 CC="$ac_save_CC $ac_arg" 13676 if ac_fn_c_try_compile "$LINENO"; then : 13677 ac_cv_prog_cc_c89=$ac_arg 13678fi 13679rm -f core conftest.err conftest.$ac_objext 13680 test "x$ac_cv_prog_cc_c89" != "xno" && break 13681done 13682rm -f conftest.$ac_ext 13683CC=$ac_save_CC 13684 13685fi 13686# AC_CACHE_VAL 13687case "x$ac_cv_prog_cc_c89" in 13688 x) 13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 13690$as_echo "none needed" >&6; } ;; 13691 xno) 13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 13693$as_echo "unsupported" >&6; } ;; 13694 *) 13695 CC="$CC $ac_cv_prog_cc_c89" 13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 13697$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 13698esac 13699if test "x$ac_cv_prog_cc_c89" != xno; then : 13700 13701fi 13702 13703ac_ext=c 13704ac_cpp='$CPP $CPPFLAGS' 13705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13707ac_compiler_gnu=$ac_cv_c_compiler_gnu 13708 13709ac_ext=c 13710ac_cpp='$CPP $CPPFLAGS' 13711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13713ac_compiler_gnu=$ac_cv_c_compiler_gnu 13714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 13715$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 13716if ${am_cv_prog_cc_c_o+:} false; then : 13717 $as_echo_n "(cached) " >&6 13718else 13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13720/* end confdefs.h. */ 13721 13722int 13723main () 13724{ 13725 13726 ; 13727 return 0; 13728} 13729_ACEOF 13730 # Make sure it works both with $CC and with simple cc. 13731 # Following AC_PROG_CC_C_O, we do the test twice because some 13732 # compilers refuse to overwrite an existing .o file with -o, 13733 # though they will create one. 13734 am_cv_prog_cc_c_o=yes 13735 for am_i in 1 2; do 13736 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 13737 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 13738 ac_status=$? 13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13740 (exit $ac_status); } \ 13741 && test -f conftest2.$ac_objext; then 13742 : OK 13743 else 13744 am_cv_prog_cc_c_o=no 13745 break 13746 fi 13747 done 13748 rm -f core conftest* 13749 unset am_i 13750fi 13751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 13752$as_echo "$am_cv_prog_cc_c_o" >&6; } 13753if test "$am_cv_prog_cc_c_o" != yes; then 13754 # Losing compiler, so override with the script. 13755 # FIXME: It is wrong to rewrite CC. 13756 # But if we don't then we get into trouble of one sort or another. 13757 # A longer-term fix would be to have automake use am__CC in this case, 13758 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 13759 CC="$am_aux_dir/compile $CC" 13760fi 13761ac_ext=c 13762ac_cpp='$CPP $CPPFLAGS' 13763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13765ac_compiler_gnu=$ac_cv_c_compiler_gnu 13766 13767 13768depcc="$CC" am_compiler_list= 13769 13770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 13771$as_echo_n "checking dependency style of $depcc... " >&6; } 13772if ${am_cv_CC_dependencies_compiler_type+:} false; then : 13773 $as_echo_n "(cached) " >&6 13774else 13775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13776 # We make a subdir and do the tests there. Otherwise we can end up 13777 # making bogus files that we don't know about and never remove. For 13778 # instance it was reported that on HP-UX the gcc test will end up 13779 # making a dummy file named 'D' -- because '-MD' means "put the output 13780 # in D". 13781 rm -rf conftest.dir 13782 mkdir conftest.dir 13783 # Copy depcomp to subdir because otherwise we won't find it if we're 13784 # using a relative directory. 13785 cp "$am_depcomp" conftest.dir 13786 cd conftest.dir 13787 # We will build objects and dependencies in a subdirectory because 13788 # it helps to detect inapplicable dependency modes. For instance 13789 # both Tru64's cc and ICC support -MD to output dependencies as a 13790 # side effect of compilation, but ICC will put the dependencies in 13791 # the current directory while Tru64 will put them in the object 13792 # directory. 13793 mkdir sub 13794 13795 am_cv_CC_dependencies_compiler_type=none 13796 if test "$am_compiler_list" = ""; then 13797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13798 fi 13799 am__universal=false 13800 case " $depcc " in #( 13801 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13802 esac 13803 13804 for depmode in $am_compiler_list; do 13805 # Setup a source with many dependencies, because some compilers 13806 # like to wrap large dependency lists on column 80 (with \), and 13807 # we should not choose a depcomp mode which is confused by this. 13808 # 13809 # We need to recreate these files for each test, as the compiler may 13810 # overwrite some of them when testing with obscure command lines. 13811 # This happens at least with the AIX C compiler. 13812 : > sub/conftest.c 13813 for i in 1 2 3 4 5 6; do 13814 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13815 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 13816 # Solaris 10 /bin/sh. 13817 echo '/* dummy */' > sub/conftst$i.h 13818 done 13819 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13820 13821 # We check with '-c' and '-o' for the sake of the "dashmstdout" 13822 # mode. It turns out that the SunPro C++ compiler does not properly 13823 # handle '-M -o', and we need to detect this. Also, some Intel 13824 # versions had trouble with output in subdirs. 13825 am__obj=sub/conftest.${OBJEXT-o} 13826 am__minus_obj="-o $am__obj" 13827 case $depmode in 13828 gcc) 13829 # This depmode causes a compiler race in universal mode. 13830 test "$am__universal" = false || continue 13831 ;; 13832 nosideeffect) 13833 # After this tag, mechanisms are not by side-effect, so they'll 13834 # only be used when explicitly requested. 13835 if test "x$enable_dependency_tracking" = xyes; then 13836 continue 13837 else 13838 break 13839 fi 13840 ;; 13841 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 13842 # This compiler won't grok '-c -o', but also, the minuso test has 13843 # not run yet. These depmodes are late enough in the game, and 13844 # so weak that their functioning should not be impacted. 13845 am__obj=conftest.${OBJEXT-o} 13846 am__minus_obj= 13847 ;; 13848 none) break ;; 13849 esac 13850 if depmode=$depmode \ 13851 source=sub/conftest.c object=$am__obj \ 13852 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13853 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13854 >/dev/null 2>conftest.err && 13855 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13856 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13857 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13858 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13859 # icc doesn't choke on unknown options, it will just issue warnings 13860 # or remarks (even with -Werror). So we grep stderr for any message 13861 # that says an option was ignored or not supported. 13862 # When given -MP, icc 7.0 and 7.1 complain thusly: 13863 # icc: Command line warning: ignoring option '-M'; no argument required 13864 # The diagnosis changed in icc 8.0: 13865 # icc: Command line remark: option '-MP' not supported 13866 if (grep 'ignoring option' conftest.err || 13867 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13868 am_cv_CC_dependencies_compiler_type=$depmode 13869 break 13870 fi 13871 fi 13872 done 13873 13874 cd .. 13875 rm -rf conftest.dir 13876else 13877 am_cv_CC_dependencies_compiler_type=none 13878fi 13879 13880fi 13881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 13882$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 13883CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 13884 13885 if 13886 test "x$enable_dependency_tracking" != xno \ 13887 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 13888 am__fastdepCC_TRUE= 13889 am__fastdepCC_FALSE='#' 13890else 13891 am__fastdepCC_TRUE='#' 13892 am__fastdepCC_FALSE= 13893fi 13894 13895 13896 13897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 13898$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 13899if ${ac_cv_path_GREP+:} false; then : 13900 $as_echo_n "(cached) " >&6 13901else 13902 if test -z "$GREP"; then 13903 ac_path_GREP_found=false 13904 # Loop through the user's path and test for each of PROGNAME-LIST 13905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13906for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 13907do 13908 IFS=$as_save_IFS 13909 test -z "$as_dir" && as_dir=. 13910 for ac_prog in grep ggrep; do 13911 for ac_exec_ext in '' $ac_executable_extensions; do 13912 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 13913 as_fn_executable_p "$ac_path_GREP" || continue 13914# Check for GNU ac_path_GREP and select it if it is found. 13915 # Check for GNU $ac_path_GREP 13916case `"$ac_path_GREP" --version 2>&1` in 13917*GNU*) 13918 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 13919*) 13920 ac_count=0 13921 $as_echo_n 0123456789 >"conftest.in" 13922 while : 13923 do 13924 cat "conftest.in" "conftest.in" >"conftest.tmp" 13925 mv "conftest.tmp" "conftest.in" 13926 cp "conftest.in" "conftest.nl" 13927 $as_echo 'GREP' >> "conftest.nl" 13928 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 13929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13930 as_fn_arith $ac_count + 1 && ac_count=$as_val 13931 if test $ac_count -gt ${ac_path_GREP_max-0}; then 13932 # Best one so far, save it but keep looking for a better one 13933 ac_cv_path_GREP="$ac_path_GREP" 13934 ac_path_GREP_max=$ac_count 13935 fi 13936 # 10*(2^10) chars as input seems more than enough 13937 test $ac_count -gt 10 && break 13938 done 13939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 13940esac 13941 13942 $ac_path_GREP_found && break 3 13943 done 13944 done 13945 done 13946IFS=$as_save_IFS 13947 if test -z "$ac_cv_path_GREP"; then 13948 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 13949 fi 13950else 13951 ac_cv_path_GREP=$GREP 13952fi 13953 13954fi 13955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 13956$as_echo "$ac_cv_path_GREP" >&6; } 13957 GREP="$ac_cv_path_GREP" 13958 13959 13960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 13961$as_echo_n "checking for a sed that does not truncate output... " >&6; } 13962if ${ac_cv_path_SED+:} false; then : 13963 $as_echo_n "(cached) " >&6 13964else 13965 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 13966 for ac_i in 1 2 3 4 5 6 7; do 13967 ac_script="$ac_script$as_nl$ac_script" 13968 done 13969 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 13970 { ac_script=; unset ac_script;} 13971 if test -z "$SED"; then 13972 ac_path_SED_found=false 13973 # Loop through the user's path and test for each of PROGNAME-LIST 13974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13975for as_dir in $PATH 13976do 13977 IFS=$as_save_IFS 13978 test -z "$as_dir" && as_dir=. 13979 for ac_prog in sed gsed; do 13980 for ac_exec_ext in '' $ac_executable_extensions; do 13981 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 13982 as_fn_executable_p "$ac_path_SED" || continue 13983# Check for GNU ac_path_SED and select it if it is found. 13984 # Check for GNU $ac_path_SED 13985case `"$ac_path_SED" --version 2>&1` in 13986*GNU*) 13987 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 13988*) 13989 ac_count=0 13990 $as_echo_n 0123456789 >"conftest.in" 13991 while : 13992 do 13993 cat "conftest.in" "conftest.in" >"conftest.tmp" 13994 mv "conftest.tmp" "conftest.in" 13995 cp "conftest.in" "conftest.nl" 13996 $as_echo '' >> "conftest.nl" 13997 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 13998 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 13999 as_fn_arith $ac_count + 1 && ac_count=$as_val 14000 if test $ac_count -gt ${ac_path_SED_max-0}; then 14001 # Best one so far, save it but keep looking for a better one 14002 ac_cv_path_SED="$ac_path_SED" 14003 ac_path_SED_max=$ac_count 14004 fi 14005 # 10*(2^10) chars as input seems more than enough 14006 test $ac_count -gt 10 && break 14007 done 14008 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 14009esac 14010 14011 $ac_path_SED_found && break 3 14012 done 14013 done 14014 done 14015IFS=$as_save_IFS 14016 if test -z "$ac_cv_path_SED"; then 14017 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 14018 fi 14019else 14020 ac_cv_path_SED=$SED 14021fi 14022 14023fi 14024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 14025$as_echo "$ac_cv_path_SED" >&6; } 14026 SED="$ac_cv_path_SED" 14027 rm -f conftest.sed 14028 14029 14030 14031 14032 14033 14034 14035 14036if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14037 if test -n "$ac_tool_prefix"; then 14038 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14039set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14041$as_echo_n "checking for $ac_word... " >&6; } 14042if ${ac_cv_path_PKG_CONFIG+:} false; then : 14043 $as_echo_n "(cached) " >&6 14044else 14045 case $PKG_CONFIG in 14046 [\\/]* | ?:[\\/]*) 14047 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14048 ;; 14049 *) 14050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14051for as_dir in $PATH 14052do 14053 IFS=$as_save_IFS 14054 test -z "$as_dir" && as_dir=. 14055 for ac_exec_ext in '' $ac_executable_extensions; do 14056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14057 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14059 break 2 14060 fi 14061done 14062 done 14063IFS=$as_save_IFS 14064 14065 ;; 14066esac 14067fi 14068PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14069if test -n "$PKG_CONFIG"; then 14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14071$as_echo "$PKG_CONFIG" >&6; } 14072else 14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14074$as_echo "no" >&6; } 14075fi 14076 14077 14078fi 14079if test -z "$ac_cv_path_PKG_CONFIG"; then 14080 ac_pt_PKG_CONFIG=$PKG_CONFIG 14081 # Extract the first word of "pkg-config", so it can be a program name with args. 14082set dummy pkg-config; ac_word=$2 14083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14084$as_echo_n "checking for $ac_word... " >&6; } 14085if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 14086 $as_echo_n "(cached) " >&6 14087else 14088 case $ac_pt_PKG_CONFIG in 14089 [\\/]* | ?:[\\/]*) 14090 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14091 ;; 14092 *) 14093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14094for as_dir in $PATH 14095do 14096 IFS=$as_save_IFS 14097 test -z "$as_dir" && as_dir=. 14098 for ac_exec_ext in '' $ac_executable_extensions; do 14099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14100 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14102 break 2 14103 fi 14104done 14105 done 14106IFS=$as_save_IFS 14107 14108 ;; 14109esac 14110fi 14111ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14112if test -n "$ac_pt_PKG_CONFIG"; then 14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 14114$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14115else 14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14117$as_echo "no" >&6; } 14118fi 14119 14120 if test "x$ac_pt_PKG_CONFIG" = x; then 14121 PKG_CONFIG="" 14122 else 14123 case $cross_compiling:$ac_tool_warned in 14124yes:) 14125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14127ac_tool_warned=yes ;; 14128esac 14129 PKG_CONFIG=$ac_pt_PKG_CONFIG 14130 fi 14131else 14132 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 14133fi 14134 14135fi 14136if test -n "$PKG_CONFIG"; then 14137 _pkg_min_version=0.9.0 14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 14139$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 14140 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14142$as_echo "yes" >&6; } 14143 else 14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14145$as_echo "no" >&6; } 14146 PKG_CONFIG="" 14147 fi 14148fi 14149 14150 14151 # Check whether --enable-schemas-compile was given. 14152if test "${enable_schemas_compile+set}" = set; then : 14153 enableval=$enable_schemas_compile; case ${enableval} in 14154 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 14155 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 14156 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 14157 esac 14158fi 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14169 if test -n "$ac_tool_prefix"; then 14170 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14171set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14173$as_echo_n "checking for $ac_word... " >&6; } 14174if ${ac_cv_path_PKG_CONFIG+:} false; then : 14175 $as_echo_n "(cached) " >&6 14176else 14177 case $PKG_CONFIG in 14178 [\\/]* | ?:[\\/]*) 14179 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14180 ;; 14181 *) 14182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14183for as_dir in $PATH 14184do 14185 IFS=$as_save_IFS 14186 test -z "$as_dir" && as_dir=. 14187 for ac_exec_ext in '' $ac_executable_extensions; do 14188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14189 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14191 break 2 14192 fi 14193done 14194 done 14195IFS=$as_save_IFS 14196 14197 ;; 14198esac 14199fi 14200PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14201if test -n "$PKG_CONFIG"; then 14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14203$as_echo "$PKG_CONFIG" >&6; } 14204else 14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14206$as_echo "no" >&6; } 14207fi 14208 14209 14210fi 14211if test -z "$ac_cv_path_PKG_CONFIG"; then 14212 ac_pt_PKG_CONFIG=$PKG_CONFIG 14213 # Extract the first word of "pkg-config", so it can be a program name with args. 14214set dummy pkg-config; ac_word=$2 14215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14216$as_echo_n "checking for $ac_word... " >&6; } 14217if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 14218 $as_echo_n "(cached) " >&6 14219else 14220 case $ac_pt_PKG_CONFIG in 14221 [\\/]* | ?:[\\/]*) 14222 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14223 ;; 14224 *) 14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14226for as_dir in $PATH 14227do 14228 IFS=$as_save_IFS 14229 test -z "$as_dir" && as_dir=. 14230 for ac_exec_ext in '' $ac_executable_extensions; do 14231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14232 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14234 break 2 14235 fi 14236done 14237 done 14238IFS=$as_save_IFS 14239 14240 ;; 14241esac 14242fi 14243ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14244if test -n "$ac_pt_PKG_CONFIG"; then 14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 14246$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14247else 14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14249$as_echo "no" >&6; } 14250fi 14251 14252 if test "x$ac_pt_PKG_CONFIG" = x; then 14253 PKG_CONFIG="" 14254 else 14255 case $cross_compiling:$ac_tool_warned in 14256yes:) 14257{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14259ac_tool_warned=yes ;; 14260esac 14261 PKG_CONFIG=$ac_pt_PKG_CONFIG 14262 fi 14263else 14264 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 14265fi 14266 14267fi 14268if test -n "$PKG_CONFIG"; then 14269 _pkg_min_version=0.16 14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 14271$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 14272 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14274$as_echo "yes" >&6; } 14275 else 14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14277$as_echo "no" >&6; } 14278 PKG_CONFIG="" 14279 fi 14280fi 14281 gsettingsschemadir=${datadir}/glib-2.0/schemas 14282 14283 if test x$cross_compiling != xyes; then 14284 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` 14285 else 14286 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 14287set dummy glib-compile-schemas; ac_word=$2 14288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14289$as_echo_n "checking for $ac_word... " >&6; } 14290if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 14291 $as_echo_n "(cached) " >&6 14292else 14293 case $GLIB_COMPILE_SCHEMAS in 14294 [\\/]* | ?:[\\/]*) 14295 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 14296 ;; 14297 *) 14298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14299for as_dir in $PATH 14300do 14301 IFS=$as_save_IFS 14302 test -z "$as_dir" && as_dir=. 14303 for ac_exec_ext in '' $ac_executable_extensions; do 14304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14305 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 14306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14307 break 2 14308 fi 14309done 14310 done 14311IFS=$as_save_IFS 14312 14313 ;; 14314esac 14315fi 14316GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 14317if test -n "$GLIB_COMPILE_SCHEMAS"; then 14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 14319$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 14320else 14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14322$as_echo "no" >&6; } 14323fi 14324 14325 14326 fi 14327 14328 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 14329 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 14330 else 14331 : 14332 fi 14333 14334 GSETTINGS_RULES=' 14335.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 14336 14337mostlyclean-am: clean-gsettings-schemas 14338 14339gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 14340 14341%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 14342 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@ 14343 14344all-am: $(gsettings_SCHEMAS:.xml=.valid) 14345uninstall-am: uninstall-gsettings-schemas 14346install-data-am: install-gsettings-schemas 14347 14348.SECONDARY: $(gsettings_SCHEMAS) 14349 14350install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 14351 @$(NORMAL_INSTALL) 14352 if test -n "$^"; then \ 14353 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 14354 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 14355 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 14356 fi 14357 14358uninstall-gsettings-schemas: 14359 @$(NORMAL_UNINSTALL) 14360 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 14361 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 14362 test -n "$$files" || exit 0; \ 14363 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 14364 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 14365 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 14366 14367clean-gsettings-schemas: 14368 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 14369 14370ifdef gsettings_ENUM_NAMESPACE 14371$(gsettings__enum_file): $(gsettings_ENUM_FILES) 14372 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 14373endif 14374' 14375 14376 14377 14378 14379 14380 14381 14382 14383if test -z "$AM_DEFAULT_VERBOSITY"; then 14384 AM_DEFAULT_VERBOSITY=1 14385fi 14386 14387 14388gdu_cv_version_required=0.3.2 14389 14390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5 14391$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; } 14392if test -n "$PKG_CONFIG" && \ 14393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5 14394 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5 14395 ac_status=$? 14396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14397 test $ac_status = 0; }; then 14398 gdu_cv_have_gdu=yes 14399else 14400 gdu_cv_have_gdu=no 14401fi 14402 14403if test "$gdu_cv_have_gdu" = "yes"; then 14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14405$as_echo "yes" >&6; } 14406 : 14407else 14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14409$as_echo "no" >&6; } 14410 if test "x$with_docs" != "xno"; then 14411 as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5 14412 fi 14413fi 14414 14415 14416 14417# Check whether --with-help-dir was given. 14418if test "${with_help_dir+set}" = set; then : 14419 withval=$with_help_dir; 14420else 14421 with_help_dir='${datadir}/gnome/help' 14422fi 14423 14424HELP_DIR="$with_help_dir" 14425 14426 14427 14428# Check whether --with-omf-dir was given. 14429if test "${with_omf_dir+set}" = set; then : 14430 withval=$with_omf_dir; 14431else 14432 with_omf_dir='${datadir}/omf' 14433fi 14434 14435OMF_DIR="$with_omf_dir" 14436 14437 14438 14439# Check whether --with-help-formats was given. 14440if test "${with_help_formats+set}" = set; then : 14441 withval=$with_help_formats; 14442else 14443 with_help_formats='' 14444fi 14445 14446DOC_USER_FORMATS="$with_help_formats" 14447 14448 14449# Check whether --enable-scrollkeeper was given. 14450if test "${enable_scrollkeeper+set}" = set; then : 14451 enableval=$enable_scrollkeeper; 14452else 14453 enable_scrollkeeper=yes 14454fi 14455 14456 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then 14457 ENABLE_SK_TRUE= 14458 ENABLE_SK_FALSE='#' 14459else 14460 ENABLE_SK_TRUE='#' 14461 ENABLE_SK_FALSE= 14462fi 14463 14464 14465DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS" 14466 14467 14468 if test "$gdu_cv_have_gdu" = "yes"; then 14469 HAVE_GNOME_DOC_UTILS_TRUE= 14470 HAVE_GNOME_DOC_UTILS_FALSE='#' 14471else 14472 HAVE_GNOME_DOC_UTILS_TRUE='#' 14473 HAVE_GNOME_DOC_UTILS_FALSE= 14474fi 14475 14476 14477 14478if test "x$with_docs" != "xno"; then 14479 # Extract the first word of "scrollkeeper-config", so it can be a program name with args. 14480set dummy scrollkeeper-config; ac_word=$2 14481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14482$as_echo_n "checking for $ac_word... " >&6; } 14483if ${ac_cv_path_SK_CONFIG+:} false; then : 14484 $as_echo_n "(cached) " >&6 14485else 14486 case $SK_CONFIG in 14487 [\\/]* | ?:[\\/]*) 14488 ac_cv_path_SK_CONFIG="$SK_CONFIG" # Let the user override the test with a path. 14489 ;; 14490 *) 14491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14492for as_dir in $PATH 14493do 14494 IFS=$as_save_IFS 14495 test -z "$as_dir" && as_dir=. 14496 for ac_exec_ext in '' $ac_executable_extensions; do 14497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14498 ac_cv_path_SK_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14500 break 2 14501 fi 14502done 14503 done 14504IFS=$as_save_IFS 14505 14506 test -z "$ac_cv_path_SK_CONFIG" && ac_cv_path_SK_CONFIG="no" 14507 ;; 14508esac 14509fi 14510SK_CONFIG=$ac_cv_path_SK_CONFIG 14511if test -n "$SK_CONFIG"; then 14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SK_CONFIG" >&5 14513$as_echo "$SK_CONFIG" >&6; } 14514else 14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14516$as_echo "no" >&6; } 14517fi 14518 14519 14520 if test x$SK_CONFIG = xno; then 14521 as_fn_error $? "Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net" "$LINENO" 5 14522 fi 14523 SCROLLKEEPER_BUILD_REQUIRED=0.3.5 14524 14525fi 14526 14527# Checks for libraries. 14528DEP_MODULES="xext gmodule-2.0 cairo librsvg-2.0 libxml-2.0 gstreamer-1.0" 14529 14530pkg_failed=no 14531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5 14532$as_echo_n "checking for DEPS... " >&6; } 14533 14534if test -n "$DEPS_CFLAGS"; then 14535 pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS" 14536 elif test -n "$PKG_CONFIG"; then 14537 if test -n "$PKG_CONFIG" && \ 14538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DEP_MODULES\""; } >&5 14539 ($PKG_CONFIG --exists --print-errors "$DEP_MODULES") 2>&5 14540 ac_status=$? 14541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14542 test $ac_status = 0; }; then 14543 pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$DEP_MODULES" 2>/dev/null` 14544 test "x$?" != "x0" && pkg_failed=yes 14545else 14546 pkg_failed=yes 14547fi 14548 else 14549 pkg_failed=untried 14550fi 14551if test -n "$DEPS_LIBS"; then 14552 pkg_cv_DEPS_LIBS="$DEPS_LIBS" 14553 elif test -n "$PKG_CONFIG"; then 14554 if test -n "$PKG_CONFIG" && \ 14555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DEP_MODULES\""; } >&5 14556 ($PKG_CONFIG --exists --print-errors "$DEP_MODULES") 2>&5 14557 ac_status=$? 14558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14559 test $ac_status = 0; }; then 14560 pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$DEP_MODULES" 2>/dev/null` 14561 test "x$?" != "x0" && pkg_failed=yes 14562else 14563 pkg_failed=yes 14564fi 14565 else 14566 pkg_failed=untried 14567fi 14568 14569 14570 14571if test $pkg_failed = yes; then 14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14573$as_echo "no" >&6; } 14574 14575if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14576 _pkg_short_errors_supported=yes 14577else 14578 _pkg_short_errors_supported=no 14579fi 14580 if test $_pkg_short_errors_supported = yes; then 14581 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$DEP_MODULES" 2>&1` 14582 else 14583 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$DEP_MODULES" 2>&1` 14584 fi 14585 # Put the nasty error message in config.log where it belongs 14586 echo "$DEPS_PKG_ERRORS" >&5 14587 14588 as_fn_error $? "Package requirements ($DEP_MODULES) were not met: 14589 14590$DEPS_PKG_ERRORS 14591 14592Consider adjusting the PKG_CONFIG_PATH environment variable if you 14593installed software in a non-standard prefix. 14594 14595Alternatively, you may set the environment variables DEPS_CFLAGS 14596and DEPS_LIBS to avoid the need to call pkg-config. 14597See the pkg-config man page for more details." "$LINENO" 5 14598elif test $pkg_failed = untried; then 14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14600$as_echo "no" >&6; } 14601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14603as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 14604is in your PATH or set the PKG_CONFIG environment variable to the full 14605path to pkg-config. 14606 14607Alternatively, you may set the environment variables DEPS_CFLAGS 14608and DEPS_LIBS to avoid the need to call pkg-config. 14609See the pkg-config man page for more details. 14610 14611To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14612See \`config.log' for more details" "$LINENO" 5; } 14613else 14614 DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS 14615 DEPS_LIBS=$pkg_cv_DEPS_LIBS 14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14617$as_echo "yes" >&6; } 14618 14619fi 14620 14621 14622pkg_failed=no 14623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 14624$as_echo_n "checking for GTK3... " >&6; } 14625 14626if test -n "$GTK3_CFLAGS"; then 14627 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" 14628 elif test -n "$PKG_CONFIG"; then 14629 if test -n "$PKG_CONFIG" && \ 14630 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 14631 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5 14632 ac_status=$? 14633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14634 test $ac_status = 0; }; then 14635 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null` 14636 test "x$?" != "x0" && pkg_failed=yes 14637else 14638 pkg_failed=yes 14639fi 14640 else 14641 pkg_failed=untried 14642fi 14643if test -n "$GTK3_LIBS"; then 14644 pkg_cv_GTK3_LIBS="$GTK3_LIBS" 14645 elif test -n "$PKG_CONFIG"; then 14646 if test -n "$PKG_CONFIG" && \ 14647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 14648 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5 14649 ac_status=$? 14650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14651 test $ac_status = 0; }; then 14652 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null` 14653 test "x$?" != "x0" && pkg_failed=yes 14654else 14655 pkg_failed=yes 14656fi 14657 else 14658 pkg_failed=untried 14659fi 14660 14661 14662 14663if test $pkg_failed = yes; then 14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14665$as_echo "no" >&6; } 14666 14667if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14668 _pkg_short_errors_supported=yes 14669else 14670 _pkg_short_errors_supported=no 14671fi 14672 if test $_pkg_short_errors_supported = yes; then 14673 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1` 14674 else 14675 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1` 14676 fi 14677 # Put the nasty error message in config.log where it belongs 14678 echo "$GTK3_PKG_ERRORS" >&5 14679 14680 as_fn_error $? "gtk version 3.0 or superior required. Please install the dev package of gtk" "$LINENO" 5 14681elif test $pkg_failed = untried; then 14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14683$as_echo "no" >&6; } 14684 as_fn_error $? "gtk version 3.0 or superior required. Please install the dev package of gtk" "$LINENO" 5 14685else 14686 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS 14687 GTK3_LIBS=$pkg_cv_GTK3_LIBS 14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14689$as_echo "yes" >&6; } 14690 14691$as_echo "#define ENABLE_GTK3 /**/" >>confdefs.h 14692 14693fi 14694 14695 14696pkg_failed=no 14697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 14698$as_echo_n "checking for GIO... " >&6; } 14699 14700if test -n "$GIO_CFLAGS"; then 14701 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 14702 elif test -n "$PKG_CONFIG"; then 14703 if test -n "$PKG_CONFIG" && \ 14704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 14705 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 14706 ac_status=$? 14707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14708 test $ac_status = 0; }; then 14709 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null` 14710 test "x$?" != "x0" && pkg_failed=yes 14711else 14712 pkg_failed=yes 14713fi 14714 else 14715 pkg_failed=untried 14716fi 14717if test -n "$GIO_LIBS"; then 14718 pkg_cv_GIO_LIBS="$GIO_LIBS" 14719 elif test -n "$PKG_CONFIG"; then 14720 if test -n "$PKG_CONFIG" && \ 14721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 14722 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 14723 ac_status=$? 14724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14725 test $ac_status = 0; }; then 14726 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null` 14727 test "x$?" != "x0" && pkg_failed=yes 14728else 14729 pkg_failed=yes 14730fi 14731 else 14732 pkg_failed=untried 14733fi 14734 14735 14736 14737if test $pkg_failed = yes; then 14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14739$as_echo "no" >&6; } 14740 14741if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14742 _pkg_short_errors_supported=yes 14743else 14744 _pkg_short_errors_supported=no 14745fi 14746 if test $_pkg_short_errors_supported = yes; then 14747 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1` 14748 else 14749 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1` 14750 fi 14751 # Put the nasty error message in config.log where it belongs 14752 echo "$GIO_PKG_ERRORS" >&5 14753 14754 as_fn_error $? "GIO version 2.0 or superior required. Please install the dev package of gtk" "$LINENO" 5 14755elif test $pkg_failed = untried; then 14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14757$as_echo "no" >&6; } 14758 as_fn_error $? "GIO version 2.0 or superior required. Please install the dev package of gtk" "$LINENO" 5 14759else 14760 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 14761 GIO_LIBS=$pkg_cv_GIO_LIBS 14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14763$as_echo "yes" >&6; } 14764 14765$as_echo "#define ENABLE_GIO /**/" >>confdefs.h 14766 14767fi 14768 14769if test "x$with_docs" != "xno"; then 14770 14771pkg_failed=no 14772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_DOC_UTILS" >&5 14773$as_echo_n "checking for GNOME_DOC_UTILS... " >&6; } 14774 14775if test -n "$GNOME_DOC_UTILS_CFLAGS"; then 14776 pkg_cv_GNOME_DOC_UTILS_CFLAGS="$GNOME_DOC_UTILS_CFLAGS" 14777 elif test -n "$PKG_CONFIG"; then 14778 if test -n "$PKG_CONFIG" && \ 14779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils\""; } >&5 14780 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils") 2>&5 14781 ac_status=$? 14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14783 test $ac_status = 0; }; then 14784 pkg_cv_GNOME_DOC_UTILS_CFLAGS=`$PKG_CONFIG --cflags "gnome-doc-utils" 2>/dev/null` 14785 test "x$?" != "x0" && pkg_failed=yes 14786else 14787 pkg_failed=yes 14788fi 14789 else 14790 pkg_failed=untried 14791fi 14792if test -n "$GNOME_DOC_UTILS_LIBS"; then 14793 pkg_cv_GNOME_DOC_UTILS_LIBS="$GNOME_DOC_UTILS_LIBS" 14794 elif test -n "$PKG_CONFIG"; then 14795 if test -n "$PKG_CONFIG" && \ 14796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils\""; } >&5 14797 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils") 2>&5 14798 ac_status=$? 14799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14800 test $ac_status = 0; }; then 14801 pkg_cv_GNOME_DOC_UTILS_LIBS=`$PKG_CONFIG --libs "gnome-doc-utils" 2>/dev/null` 14802 test "x$?" != "x0" && pkg_failed=yes 14803else 14804 pkg_failed=yes 14805fi 14806 else 14807 pkg_failed=untried 14808fi 14809 14810 14811 14812if test $pkg_failed = yes; then 14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14814$as_echo "no" >&6; } 14815 14816if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14817 _pkg_short_errors_supported=yes 14818else 14819 _pkg_short_errors_supported=no 14820fi 14821 if test $_pkg_short_errors_supported = yes; then 14822 GNOME_DOC_UTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-doc-utils" 2>&1` 14823 else 14824 GNOME_DOC_UTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-doc-utils" 2>&1` 14825 fi 14826 # Put the nasty error message in config.log where it belongs 14827 echo "$GNOME_DOC_UTILS_PKG_ERRORS" >&5 14828 14829 as_fn_error $? "Couldn't find gnome-doc-utils. 14830Please either install gnome-doc-utils package or disable docs: --without-docs configure option" "$LINENO" 5 14831elif test $pkg_failed = untried; then 14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14833$as_echo "no" >&6; } 14834 as_fn_error $? "Couldn't find gnome-doc-utils. 14835Please either install gnome-doc-utils package or disable docs: --without-docs configure option" "$LINENO" 5 14836else 14837 GNOME_DOC_UTILS_CFLAGS=$pkg_cv_GNOME_DOC_UTILS_CFLAGS 14838 GNOME_DOC_UTILS_LIBS=$pkg_cv_GNOME_DOC_UTILS_LIBS 14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14840$as_echo "yes" >&6; } 14841 14842$as_echo "#define ENABLE_HELP /**/" >>confdefs.h 14843 14844fi 14845fi 14846if test "x$with_notification" != "xno"; then 14847 14848pkg_failed=no 14849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 14850$as_echo_n "checking for LIBNOTIFY... " >&6; } 14851 14852if test -n "$LIBNOTIFY_CFLAGS"; then 14853 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" 14854 elif test -n "$PKG_CONFIG"; then 14855 if test -n "$PKG_CONFIG" && \ 14856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 14857 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 14858 ac_status=$? 14859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14860 test $ac_status = 0; }; then 14861 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null` 14862 test "x$?" != "x0" && pkg_failed=yes 14863else 14864 pkg_failed=yes 14865fi 14866 else 14867 pkg_failed=untried 14868fi 14869if test -n "$LIBNOTIFY_LIBS"; then 14870 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" 14871 elif test -n "$PKG_CONFIG"; then 14872 if test -n "$PKG_CONFIG" && \ 14873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 14874 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 14875 ac_status=$? 14876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14877 test $ac_status = 0; }; then 14878 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null` 14879 test "x$?" != "x0" && pkg_failed=yes 14880else 14881 pkg_failed=yes 14882fi 14883 else 14884 pkg_failed=untried 14885fi 14886 14887 14888 14889if test $pkg_failed = yes; then 14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14891$as_echo "no" >&6; } 14892 14893if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14894 _pkg_short_errors_supported=yes 14895else 14896 _pkg_short_errors_supported=no 14897fi 14898 if test $_pkg_short_errors_supported = yes; then 14899 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1` 14900 else 14901 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1` 14902 fi 14903 # Put the nasty error message in config.log where it belongs 14904 echo "$LIBNOTIFY_PKG_ERRORS" >&5 14905 14906 as_fn_error $? "Could not configure libnotify. Please either install libnotify or disable notifications: --without-notification configure option" "$LINENO" 5 14907elif test $pkg_failed = untried; then 14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14909$as_echo "no" >&6; } 14910 as_fn_error $? "Could not configure libnotify. Please either install libnotify or disable notifications: --without-notification configure option" "$LINENO" 5 14911else 14912 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS 14913 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS 14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14915$as_echo "yes" >&6; } 14916 14917$as_echo "#define ENABLE_NOTIFICATION /**/" >>confdefs.h 14918 14919fi 14920 14921pkg_failed=no 14922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY_ICON" >&5 14923$as_echo_n "checking for LIBNOTIFY_ICON... " >&6; } 14924 14925if test -n "$LIBNOTIFY_ICON_CFLAGS"; then 14926 pkg_cv_LIBNOTIFY_ICON_CFLAGS="$LIBNOTIFY_ICON_CFLAGS" 14927 elif test -n "$PKG_CONFIG"; then 14928 if test -n "$PKG_CONFIG" && \ 14929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify < 0.7.0\""; } >&5 14930 ($PKG_CONFIG --exists --print-errors "libnotify < 0.7.0") 2>&5 14931 ac_status=$? 14932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14933 test $ac_status = 0; }; then 14934 pkg_cv_LIBNOTIFY_ICON_CFLAGS=`$PKG_CONFIG --cflags "libnotify < 0.7.0" 2>/dev/null` 14935 test "x$?" != "x0" && pkg_failed=yes 14936else 14937 pkg_failed=yes 14938fi 14939 else 14940 pkg_failed=untried 14941fi 14942if test -n "$LIBNOTIFY_ICON_LIBS"; then 14943 pkg_cv_LIBNOTIFY_ICON_LIBS="$LIBNOTIFY_ICON_LIBS" 14944 elif test -n "$PKG_CONFIG"; then 14945 if test -n "$PKG_CONFIG" && \ 14946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify < 0.7.0\""; } >&5 14947 ($PKG_CONFIG --exists --print-errors "libnotify < 0.7.0") 2>&5 14948 ac_status=$? 14949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14950 test $ac_status = 0; }; then 14951 pkg_cv_LIBNOTIFY_ICON_LIBS=`$PKG_CONFIG --libs "libnotify < 0.7.0" 2>/dev/null` 14952 test "x$?" != "x0" && pkg_failed=yes 14953else 14954 pkg_failed=yes 14955fi 14956 else 14957 pkg_failed=untried 14958fi 14959 14960 14961 14962if test $pkg_failed = yes; then 14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14964$as_echo "no" >&6; } 14965 14966if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14967 _pkg_short_errors_supported=yes 14968else 14969 _pkg_short_errors_supported=no 14970fi 14971 if test $_pkg_short_errors_supported = yes; then 14972 LIBNOTIFY_ICON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify < 0.7.0" 2>&1` 14973 else 14974 LIBNOTIFY_ICON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify < 0.7.0" 2>&1` 14975 fi 14976 # Put the nasty error message in config.log where it belongs 14977 echo "$LIBNOTIFY_ICON_PKG_ERRORS" >&5 14978 14979 { $as_echo "$as_me:${as_lineno-$LINENO}: Notification icon disabled." >&5 14980$as_echo "$as_me: Notification icon disabled." >&6;} 14981elif test $pkg_failed = untried; then 14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14983$as_echo "no" >&6; } 14984 { $as_echo "$as_me:${as_lineno-$LINENO}: Notification icon disabled." >&5 14985$as_echo "$as_me: Notification icon disabled." >&6;} 14986else 14987 LIBNOTIFY_ICON_CFLAGS=$pkg_cv_LIBNOTIFY_ICON_CFLAGS 14988 LIBNOTIFY_ICON_LIBS=$pkg_cv_LIBNOTIFY_ICON_LIBS 14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14990$as_echo "yes" >&6; } 14991 14992$as_echo "#define ENABLE_NOTIFICATION_ICON /**/" >>confdefs.h 14993 14994fi 14995fi 14996 14997if test "x$with_xtst" != "xno"; then 14998 14999pkg_failed=no 15000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5 15001$as_echo_n "checking for XTST... " >&6; } 15002 15003if test -n "$XTST_CFLAGS"; then 15004 pkg_cv_XTST_CFLAGS="$XTST_CFLAGS" 15005 elif test -n "$PKG_CONFIG"; then 15006 if test -n "$PKG_CONFIG" && \ 15007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 15008 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 15009 ac_status=$? 15010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15011 test $ac_status = 0; }; then 15012 pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null` 15013 test "x$?" != "x0" && pkg_failed=yes 15014else 15015 pkg_failed=yes 15016fi 15017 else 15018 pkg_failed=untried 15019fi 15020if test -n "$XTST_LIBS"; then 15021 pkg_cv_XTST_LIBS="$XTST_LIBS" 15022 elif test -n "$PKG_CONFIG"; then 15023 if test -n "$PKG_CONFIG" && \ 15024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 15025 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 15026 ac_status=$? 15027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15028 test $ac_status = 0; }; then 15029 pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null` 15030 test "x$?" != "x0" && pkg_failed=yes 15031else 15032 pkg_failed=yes 15033fi 15034 else 15035 pkg_failed=untried 15036fi 15037 15038 15039 15040if test $pkg_failed = yes; then 15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15042$as_echo "no" >&6; } 15043 15044if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15045 _pkg_short_errors_supported=yes 15046else 15047 _pkg_short_errors_supported=no 15048fi 15049 if test $_pkg_short_errors_supported = yes; then 15050 XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xtst" 2>&1` 15051 else 15052 XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xtst" 2>&1` 15053 fi 15054 # Put the nasty error message in config.log where it belongs 15055 echo "$XTST_PKG_ERRORS" >&5 15056 15057 as_fn_error $? "Could not configure xtst. Please either install xtst or disable it: --without-xtst configure option" "$LINENO" 5 15058elif test $pkg_failed = untried; then 15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15060$as_echo "no" >&6; } 15061 as_fn_error $? "Could not configure xtst. Please either install xtst or disable it: --without-xtst configure option" "$LINENO" 5 15062else 15063 XTST_CFLAGS=$pkg_cv_XTST_CFLAGS 15064 XTST_LIBS=$pkg_cv_XTST_LIBS 15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15066$as_echo "yes" >&6; } 15067 15068$as_echo "#define ENABLE_XTST /**/" >>confdefs.h 15069 15070fi 15071 if test "x$with_xrecord" != "xno"; then 15072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xorg RECORD extension is severely broken in version 1.6 of Xorg: see bugs http://bugs.freedesktop.org/show_bug.cgi?id=20500 and http://bugs.freedesktop.org/show_bug.cgi?id=21971 ; Please disable xrecord if you affected by this bug: --without-xrecord option" >&5 15073$as_echo "$as_me: WARNING: Xorg RECORD extension is severely broken in version 1.6 of Xorg: see bugs http://bugs.freedesktop.org/show_bug.cgi?id=20500 and http://bugs.freedesktop.org/show_bug.cgi?id=21971 ; Please disable xrecord if you affected by this bug: --without-xrecord option" >&2;} 15074 15075$as_echo "#define ENABLE_XRECORD \"xrecord\"" >>confdefs.h 15076 15077 fi 15078fi 15079if test "x$with_at_spi" != "xno"; then 15080 15081pkg_failed=no 15082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AT_SPI2" >&5 15083$as_echo_n "checking for AT_SPI2... " >&6; } 15084 15085if test -n "$AT_SPI2_CFLAGS"; then 15086 pkg_cv_AT_SPI2_CFLAGS="$AT_SPI2_CFLAGS" 15087 elif test -n "$PKG_CONFIG"; then 15088 if test -n "$PKG_CONFIG" && \ 15089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5 15090 ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5 15091 ac_status=$? 15092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15093 test $ac_status = 0; }; then 15094 pkg_cv_AT_SPI2_CFLAGS=`$PKG_CONFIG --cflags "atspi-2" 2>/dev/null` 15095 test "x$?" != "x0" && pkg_failed=yes 15096else 15097 pkg_failed=yes 15098fi 15099 else 15100 pkg_failed=untried 15101fi 15102if test -n "$AT_SPI2_LIBS"; then 15103 pkg_cv_AT_SPI2_LIBS="$AT_SPI2_LIBS" 15104 elif test -n "$PKG_CONFIG"; then 15105 if test -n "$PKG_CONFIG" && \ 15106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5 15107 ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5 15108 ac_status=$? 15109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15110 test $ac_status = 0; }; then 15111 pkg_cv_AT_SPI2_LIBS=`$PKG_CONFIG --libs "atspi-2" 2>/dev/null` 15112 test "x$?" != "x0" && pkg_failed=yes 15113else 15114 pkg_failed=yes 15115fi 15116 else 15117 pkg_failed=untried 15118fi 15119 15120 15121 15122if test $pkg_failed = yes; then 15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15124$as_echo "no" >&6; } 15125 15126if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15127 _pkg_short_errors_supported=yes 15128else 15129 _pkg_short_errors_supported=no 15130fi 15131 if test $_pkg_short_errors_supported = yes; then 15132 AT_SPI2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atspi-2" 2>&1` 15133 else 15134 AT_SPI2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atspi-2" 2>&1` 15135 fi 15136 # Put the nasty error message in config.log where it belongs 15137 echo "$AT_SPI2_PKG_ERRORS" >&5 15138 15139 as_fn_error $? "Could not configure at-spi. Please either install at-spi or disable it: --without-at-spi configure option" "$LINENO" 5 15140elif test $pkg_failed = untried; then 15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15142$as_echo "no" >&6; } 15143 as_fn_error $? "Could not configure at-spi. Please either install at-spi or disable it: --without-at-spi configure option" "$LINENO" 5 15144else 15145 AT_SPI2_CFLAGS=$pkg_cv_AT_SPI2_CFLAGS 15146 AT_SPI2_LIBS=$pkg_cv_AT_SPI2_LIBS 15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15148$as_echo "yes" >&6; } 15149 15150$as_echo "#define ENABLE_AT_SPI2 /**/" >>confdefs.h 15151 15152fi 15153fi 15154 15155# Math library 15156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5 15157$as_echo_n "checking for tan in -lm... " >&6; } 15158if ${ac_cv_lib_m_tan+:} false; then : 15159 $as_echo_n "(cached) " >&6 15160else 15161 ac_check_lib_save_LIBS=$LIBS 15162LIBS="-lm $LIBS" 15163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15164/* end confdefs.h. */ 15165 15166/* Override any GCC internal prototype to avoid an error. 15167 Use char because int might match the return type of a GCC 15168 builtin and then its argument prototype would still apply. */ 15169#ifdef __cplusplus 15170extern "C" 15171#endif 15172char tan (); 15173int 15174main () 15175{ 15176return tan (); 15177 ; 15178 return 0; 15179} 15180_ACEOF 15181if ac_fn_c_try_link "$LINENO"; then : 15182 ac_cv_lib_m_tan=yes 15183else 15184 ac_cv_lib_m_tan=no 15185fi 15186rm -f core conftest.err conftest.$ac_objext \ 15187 conftest$ac_exeext conftest.$ac_ext 15188LIBS=$ac_check_lib_save_LIBS 15189fi 15190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5 15191$as_echo "$ac_cv_lib_m_tan" >&6; } 15192if test "x$ac_cv_lib_m_tan" = xyes; then : 15193 15194$as_echo "#define HAVE_LIBM 1" >>confdefs.h 15195 LIBM="-lm" 15196else 15197 as_fn_error $? "Missing working libm math lib" "$LINENO" 5 15198fi 15199 15200 15201# X11 library 15202 15203pkg_failed=no 15204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 15205$as_echo_n "checking for X11... " >&6; } 15206 15207if test -n "$X11_CFLAGS"; then 15208 pkg_cv_X11_CFLAGS="$X11_CFLAGS" 15209 elif test -n "$PKG_CONFIG"; then 15210 if test -n "$PKG_CONFIG" && \ 15211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 15212 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 15213 ac_status=$? 15214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15215 test $ac_status = 0; }; then 15216 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 15217 test "x$?" != "x0" && pkg_failed=yes 15218else 15219 pkg_failed=yes 15220fi 15221 else 15222 pkg_failed=untried 15223fi 15224if test -n "$X11_LIBS"; then 15225 pkg_cv_X11_LIBS="$X11_LIBS" 15226 elif test -n "$PKG_CONFIG"; then 15227 if test -n "$PKG_CONFIG" && \ 15228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 15229 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 15230 ac_status=$? 15231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15232 test $ac_status = 0; }; then 15233 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 15234 test "x$?" != "x0" && pkg_failed=yes 15235else 15236 pkg_failed=yes 15237fi 15238 else 15239 pkg_failed=untried 15240fi 15241 15242 15243 15244if test $pkg_failed = yes; then 15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15246$as_echo "no" >&6; } 15247 15248if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15249 _pkg_short_errors_supported=yes 15250else 15251 _pkg_short_errors_supported=no 15252fi 15253 if test $_pkg_short_errors_supported = yes; then 15254 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1` 15255 else 15256 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1` 15257 fi 15258 # Put the nasty error message in config.log where it belongs 15259 echo "$X11_PKG_ERRORS" >&5 15260 15261 as_fn_error $? "Package requirements (x11) were not met: 15262 15263$X11_PKG_ERRORS 15264 15265Consider adjusting the PKG_CONFIG_PATH environment variable if you 15266installed software in a non-standard prefix. 15267 15268Alternatively, you may set the environment variables X11_CFLAGS 15269and X11_LIBS to avoid the need to call pkg-config. 15270See the pkg-config man page for more details." "$LINENO" 5 15271elif test $pkg_failed = untried; then 15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15273$as_echo "no" >&6; } 15274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15275$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15276as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 15277is in your PATH or set the PKG_CONFIG environment variable to the full 15278path to pkg-config. 15279 15280Alternatively, you may set the environment variables X11_CFLAGS 15281and X11_LIBS to avoid the need to call pkg-config. 15282See the pkg-config man page for more details. 15283 15284To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15285See \`config.log' for more details" "$LINENO" 5; } 15286else 15287 X11_CFLAGS=$pkg_cv_X11_CFLAGS 15288 X11_LIBS=$pkg_cv_X11_LIBS 15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15290$as_echo "yes" >&6; } 15291 15292fi 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310# Checks for header files. 15311ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 15312if test "x$ac_cv_type_size_t" = xyes; then : 15313 15314else 15315 15316cat >>confdefs.h <<_ACEOF 15317#define size_t unsigned int 15318_ACEOF 15319 15320fi 15321 15322# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 15323# for constant arguments. Useless! 15324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 15325$as_echo_n "checking for working alloca.h... " >&6; } 15326if ${ac_cv_working_alloca_h+:} false; then : 15327 $as_echo_n "(cached) " >&6 15328else 15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15330/* end confdefs.h. */ 15331#include <alloca.h> 15332int 15333main () 15334{ 15335char *p = (char *) alloca (2 * sizeof (int)); 15336 if (p) return 0; 15337 ; 15338 return 0; 15339} 15340_ACEOF 15341if ac_fn_c_try_link "$LINENO"; then : 15342 ac_cv_working_alloca_h=yes 15343else 15344 ac_cv_working_alloca_h=no 15345fi 15346rm -f core conftest.err conftest.$ac_objext \ 15347 conftest$ac_exeext conftest.$ac_ext 15348fi 15349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 15350$as_echo "$ac_cv_working_alloca_h" >&6; } 15351if test $ac_cv_working_alloca_h = yes; then 15352 15353$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 15354 15355fi 15356 15357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 15358$as_echo_n "checking for alloca... " >&6; } 15359if ${ac_cv_func_alloca_works+:} false; then : 15360 $as_echo_n "(cached) " >&6 15361else 15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15363/* end confdefs.h. */ 15364#ifdef __GNUC__ 15365# define alloca __builtin_alloca 15366#else 15367# ifdef _MSC_VER 15368# include <malloc.h> 15369# define alloca _alloca 15370# else 15371# ifdef HAVE_ALLOCA_H 15372# include <alloca.h> 15373# else 15374# ifdef _AIX 15375 #pragma alloca 15376# else 15377# ifndef alloca /* predefined by HP cc +Olibcalls */ 15378void *alloca (size_t); 15379# endif 15380# endif 15381# endif 15382# endif 15383#endif 15384 15385int 15386main () 15387{ 15388char *p = (char *) alloca (1); 15389 if (p) return 0; 15390 ; 15391 return 0; 15392} 15393_ACEOF 15394if ac_fn_c_try_link "$LINENO"; then : 15395 ac_cv_func_alloca_works=yes 15396else 15397 ac_cv_func_alloca_works=no 15398fi 15399rm -f core conftest.err conftest.$ac_objext \ 15400 conftest$ac_exeext conftest.$ac_ext 15401fi 15402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 15403$as_echo "$ac_cv_func_alloca_works" >&6; } 15404 15405if test $ac_cv_func_alloca_works = yes; then 15406 15407$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 15408 15409else 15410 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 15411# that cause trouble. Some versions do not even contain alloca or 15412# contain a buggy version. If you still want to use their alloca, 15413# use ar to extract alloca.o from them instead of compiling alloca.c. 15414 15415ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 15416 15417$as_echo "#define C_ALLOCA 1" >>confdefs.h 15418 15419 15420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 15421$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 15422if ${ac_cv_os_cray+:} false; then : 15423 $as_echo_n "(cached) " >&6 15424else 15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15426/* end confdefs.h. */ 15427#if defined CRAY && ! defined CRAY2 15428webecray 15429#else 15430wenotbecray 15431#endif 15432 15433_ACEOF 15434if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15435 $EGREP "webecray" >/dev/null 2>&1; then : 15436 ac_cv_os_cray=yes 15437else 15438 ac_cv_os_cray=no 15439fi 15440rm -f conftest* 15441 15442fi 15443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 15444$as_echo "$ac_cv_os_cray" >&6; } 15445if test $ac_cv_os_cray = yes; then 15446 for ac_func in _getb67 GETB67 getb67; do 15447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15448ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15449if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 15450 15451cat >>confdefs.h <<_ACEOF 15452#define CRAY_STACKSEG_END $ac_func 15453_ACEOF 15454 15455 break 15456fi 15457 15458 done 15459fi 15460 15461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 15462$as_echo_n "checking stack direction for C alloca... " >&6; } 15463if ${ac_cv_c_stack_direction+:} false; then : 15464 $as_echo_n "(cached) " >&6 15465else 15466 if test "$cross_compiling" = yes; then : 15467 ac_cv_c_stack_direction=0 15468else 15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15470/* end confdefs.h. */ 15471$ac_includes_default 15472int 15473find_stack_direction (int *addr, int depth) 15474{ 15475 int dir, dummy = 0; 15476 if (! addr) 15477 addr = &dummy; 15478 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 15479 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 15480 return dir + dummy; 15481} 15482 15483int 15484main (int argc, char **argv) 15485{ 15486 return find_stack_direction (0, argc + !argv + 20) < 0; 15487} 15488_ACEOF 15489if ac_fn_c_try_run "$LINENO"; then : 15490 ac_cv_c_stack_direction=1 15491else 15492 ac_cv_c_stack_direction=-1 15493fi 15494rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15495 conftest.$ac_objext conftest.beam conftest.$ac_ext 15496fi 15497 15498fi 15499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 15500$as_echo "$ac_cv_c_stack_direction" >&6; } 15501cat >>confdefs.h <<_ACEOF 15502#define STACK_DIRECTION $ac_cv_c_stack_direction 15503_ACEOF 15504 15505 15506fi 15507 15508ac_header_dirent=no 15509for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 15510 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 15511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 15512$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 15513if eval \${$as_ac_Header+:} false; then : 15514 $as_echo_n "(cached) " >&6 15515else 15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15517/* end confdefs.h. */ 15518#include <sys/types.h> 15519#include <$ac_hdr> 15520 15521int 15522main () 15523{ 15524if ((DIR *) 0) 15525return 0; 15526 ; 15527 return 0; 15528} 15529_ACEOF 15530if ac_fn_c_try_compile "$LINENO"; then : 15531 eval "$as_ac_Header=yes" 15532else 15533 eval "$as_ac_Header=no" 15534fi 15535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15536fi 15537eval ac_res=\$$as_ac_Header 15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 15539$as_echo "$ac_res" >&6; } 15540if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15541 cat >>confdefs.h <<_ACEOF 15542#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 15543_ACEOF 15544 15545ac_header_dirent=$ac_hdr; break 15546fi 15547 15548done 15549# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 15550if test $ac_header_dirent = dirent.h; then 15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 15552$as_echo_n "checking for library containing opendir... " >&6; } 15553if ${ac_cv_search_opendir+:} false; then : 15554 $as_echo_n "(cached) " >&6 15555else 15556 ac_func_search_save_LIBS=$LIBS 15557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15558/* end confdefs.h. */ 15559 15560/* Override any GCC internal prototype to avoid an error. 15561 Use char because int might match the return type of a GCC 15562 builtin and then its argument prototype would still apply. */ 15563#ifdef __cplusplus 15564extern "C" 15565#endif 15566char opendir (); 15567int 15568main () 15569{ 15570return opendir (); 15571 ; 15572 return 0; 15573} 15574_ACEOF 15575for ac_lib in '' dir; do 15576 if test -z "$ac_lib"; then 15577 ac_res="none required" 15578 else 15579 ac_res=-l$ac_lib 15580 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15581 fi 15582 if ac_fn_c_try_link "$LINENO"; then : 15583 ac_cv_search_opendir=$ac_res 15584fi 15585rm -f core conftest.err conftest.$ac_objext \ 15586 conftest$ac_exeext 15587 if ${ac_cv_search_opendir+:} false; then : 15588 break 15589fi 15590done 15591if ${ac_cv_search_opendir+:} false; then : 15592 15593else 15594 ac_cv_search_opendir=no 15595fi 15596rm conftest.$ac_ext 15597LIBS=$ac_func_search_save_LIBS 15598fi 15599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 15600$as_echo "$ac_cv_search_opendir" >&6; } 15601ac_res=$ac_cv_search_opendir 15602if test "$ac_res" != no; then : 15603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15604 15605fi 15606 15607else 15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 15609$as_echo_n "checking for library containing opendir... " >&6; } 15610if ${ac_cv_search_opendir+:} false; then : 15611 $as_echo_n "(cached) " >&6 15612else 15613 ac_func_search_save_LIBS=$LIBS 15614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15615/* end confdefs.h. */ 15616 15617/* Override any GCC internal prototype to avoid an error. 15618 Use char because int might match the return type of a GCC 15619 builtin and then its argument prototype would still apply. */ 15620#ifdef __cplusplus 15621extern "C" 15622#endif 15623char opendir (); 15624int 15625main () 15626{ 15627return opendir (); 15628 ; 15629 return 0; 15630} 15631_ACEOF 15632for ac_lib in '' x; do 15633 if test -z "$ac_lib"; then 15634 ac_res="none required" 15635 else 15636 ac_res=-l$ac_lib 15637 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 15638 fi 15639 if ac_fn_c_try_link "$LINENO"; then : 15640 ac_cv_search_opendir=$ac_res 15641fi 15642rm -f core conftest.err conftest.$ac_objext \ 15643 conftest$ac_exeext 15644 if ${ac_cv_search_opendir+:} false; then : 15645 break 15646fi 15647done 15648if ${ac_cv_search_opendir+:} false; then : 15649 15650else 15651 ac_cv_search_opendir=no 15652fi 15653rm conftest.$ac_ext 15654LIBS=$ac_func_search_save_LIBS 15655fi 15656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 15657$as_echo "$ac_cv_search_opendir" >&6; } 15658ac_res=$ac_cv_search_opendir 15659if test "$ac_res" != no; then : 15660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 15661 15662fi 15663 15664fi 15665 15666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 15667$as_echo_n "checking for ANSI C header files... " >&6; } 15668if ${ac_cv_header_stdc+:} false; then : 15669 $as_echo_n "(cached) " >&6 15670else 15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15672/* end confdefs.h. */ 15673#include <stdlib.h> 15674#include <stdarg.h> 15675#include <string.h> 15676#include <float.h> 15677 15678int 15679main () 15680{ 15681 15682 ; 15683 return 0; 15684} 15685_ACEOF 15686if ac_fn_c_try_compile "$LINENO"; then : 15687 ac_cv_header_stdc=yes 15688else 15689 ac_cv_header_stdc=no 15690fi 15691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15692 15693if test $ac_cv_header_stdc = yes; then 15694 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15696/* end confdefs.h. */ 15697#include <string.h> 15698 15699_ACEOF 15700if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15701 $EGREP "memchr" >/dev/null 2>&1; then : 15702 15703else 15704 ac_cv_header_stdc=no 15705fi 15706rm -f conftest* 15707 15708fi 15709 15710if test $ac_cv_header_stdc = yes; then 15711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15713/* end confdefs.h. */ 15714#include <stdlib.h> 15715 15716_ACEOF 15717if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15718 $EGREP "free" >/dev/null 2>&1; then : 15719 15720else 15721 ac_cv_header_stdc=no 15722fi 15723rm -f conftest* 15724 15725fi 15726 15727if test $ac_cv_header_stdc = yes; then 15728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 15729 if test "$cross_compiling" = yes; then : 15730 : 15731else 15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15733/* end confdefs.h. */ 15734#include <ctype.h> 15735#include <stdlib.h> 15736#if ((' ' & 0x0FF) == 0x020) 15737# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 15738# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 15739#else 15740# define ISLOWER(c) \ 15741 (('a' <= (c) && (c) <= 'i') \ 15742 || ('j' <= (c) && (c) <= 'r') \ 15743 || ('s' <= (c) && (c) <= 'z')) 15744# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 15745#endif 15746 15747#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 15748int 15749main () 15750{ 15751 int i; 15752 for (i = 0; i < 256; i++) 15753 if (XOR (islower (i), ISLOWER (i)) 15754 || toupper (i) != TOUPPER (i)) 15755 return 2; 15756 return 0; 15757} 15758_ACEOF 15759if ac_fn_c_try_run "$LINENO"; then : 15760 15761else 15762 ac_cv_header_stdc=no 15763fi 15764rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15765 conftest.$ac_objext conftest.beam conftest.$ac_ext 15766fi 15767 15768fi 15769fi 15770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 15771$as_echo "$ac_cv_header_stdc" >&6; } 15772if test $ac_cv_header_stdc = yes; then 15773 15774$as_echo "#define STDC_HEADERS 1" >>confdefs.h 15775 15776fi 15777 15778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5 15779$as_echo_n "checking whether sys/types.h defines makedev... " >&6; } 15780if ${ac_cv_header_sys_types_h_makedev+:} false; then : 15781 $as_echo_n "(cached) " >&6 15782else 15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15784/* end confdefs.h. */ 15785#include <sys/types.h> 15786int 15787main () 15788{ 15789return makedev(0, 0); 15790 ; 15791 return 0; 15792} 15793_ACEOF 15794if ac_fn_c_try_link "$LINENO"; then : 15795 ac_cv_header_sys_types_h_makedev=yes 15796else 15797 ac_cv_header_sys_types_h_makedev=no 15798fi 15799rm -f core conftest.err conftest.$ac_objext \ 15800 conftest$ac_exeext conftest.$ac_ext 15801 15802fi 15803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5 15804$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } 15805 15806if test $ac_cv_header_sys_types_h_makedev = no; then 15807ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 15808if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : 15809 15810$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 15811 15812fi 15813 15814 15815 15816 if test $ac_cv_header_sys_mkdev_h = no; then 15817 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" 15818if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : 15819 15820$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 15821 15822fi 15823 15824 15825 fi 15826fi 15827 15828for ac_header in math.h fcntl.h libintl.h locale.h memory.h stdio.h stdlib.h string.h strings.h sys/param.h sys/stat.h sys/types.h sys/file.h sys/time.h utime.h dirent.h unistd.h 15829do : 15830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15831ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15832if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 15833 cat >>confdefs.h <<_ACEOF 15834#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15835_ACEOF 15836 15837fi 15838 15839done 15840 15841 15842# Checks for typedefs, structures, and compiler characteristics. 15843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 15844$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } 15845if ${ac_cv_header_stat_broken+:} false; then : 15846 $as_echo_n "(cached) " >&6 15847else 15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15849/* end confdefs.h. */ 15850#include <sys/types.h> 15851#include <sys/stat.h> 15852 15853#if defined S_ISBLK && defined S_IFDIR 15854extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; 15855#endif 15856 15857#if defined S_ISBLK && defined S_IFCHR 15858extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; 15859#endif 15860 15861#if defined S_ISLNK && defined S_IFREG 15862extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; 15863#endif 15864 15865#if defined S_ISSOCK && defined S_IFREG 15866extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; 15867#endif 15868 15869_ACEOF 15870if ac_fn_c_try_compile "$LINENO"; then : 15871 ac_cv_header_stat_broken=no 15872else 15873 ac_cv_header_stat_broken=yes 15874fi 15875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15876fi 15877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 15878$as_echo "$ac_cv_header_stat_broken" >&6; } 15879if test $ac_cv_header_stat_broken = yes; then 15880 15881$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h 15882 15883fi 15884 15885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 15886$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 15887if ${ac_cv_c_const+:} false; then : 15888 $as_echo_n "(cached) " >&6 15889else 15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15891/* end confdefs.h. */ 15892 15893int 15894main () 15895{ 15896 15897#ifndef __cplusplus 15898 /* Ultrix mips cc rejects this sort of thing. */ 15899 typedef int charset[2]; 15900 const charset cs = { 0, 0 }; 15901 /* SunOS 4.1.1 cc rejects this. */ 15902 char const *const *pcpcc; 15903 char **ppc; 15904 /* NEC SVR4.0.2 mips cc rejects this. */ 15905 struct point {int x, y;}; 15906 static struct point const zero = {0,0}; 15907 /* AIX XL C 1.02.0.0 rejects this. 15908 It does not let you subtract one const X* pointer from another in 15909 an arm of an if-expression whose if-part is not a constant 15910 expression */ 15911 const char *g = "string"; 15912 pcpcc = &g + (g ? g-g : 0); 15913 /* HPUX 7.0 cc rejects these. */ 15914 ++pcpcc; 15915 ppc = (char**) pcpcc; 15916 pcpcc = (char const *const *) ppc; 15917 { /* SCO 3.2v4 cc rejects this sort of thing. */ 15918 char tx; 15919 char *t = &tx; 15920 char const *s = 0 ? (char *) 0 : (char const *) 0; 15921 15922 *t++ = 0; 15923 if (s) return 0; 15924 } 15925 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 15926 int x[] = {25, 17}; 15927 const int *foo = &x[0]; 15928 ++foo; 15929 } 15930 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 15931 typedef const int *iptr; 15932 iptr p = 0; 15933 ++p; 15934 } 15935 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 15936 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 15937 struct s { int j; const int *ap[3]; } bx; 15938 struct s *b = &bx; b->j = 5; 15939 } 15940 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 15941 const int foo = 10; 15942 if (!foo) return 0; 15943 } 15944 return !cs[0] && !zero.x; 15945#endif 15946 15947 ; 15948 return 0; 15949} 15950_ACEOF 15951if ac_fn_c_try_compile "$LINENO"; then : 15952 ac_cv_c_const=yes 15953else 15954 ac_cv_c_const=no 15955fi 15956rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15957fi 15958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 15959$as_echo "$ac_cv_c_const" >&6; } 15960if test $ac_cv_c_const = no; then 15961 15962$as_echo "#define const /**/" >>confdefs.h 15963 15964fi 15965 15966ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" 15967if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : 15968 15969cat >>confdefs.h <<_ACEOF 15970#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 15971_ACEOF 15972 15973 15974fi 15975 15976 15977# Checks for library functions. 15978ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 15979if test "x$ac_cv_type_size_t" = xyes; then : 15980 15981else 15982 15983cat >>confdefs.h <<_ACEOF 15984#define size_t unsigned int 15985_ACEOF 15986 15987fi 15988 15989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 15990$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 15991if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : 15992 $as_echo_n "(cached) " >&6 15993else 15994 rm -f conftest.sym conftest.file 15995echo >conftest.file 15996if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 15997 if test "$cross_compiling" = yes; then : 15998 ac_cv_func_lstat_dereferences_slashed_symlink=no 15999else 16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16001/* end confdefs.h. */ 16002$ac_includes_default 16003int 16004main () 16005{ 16006struct stat sbuf; 16007 /* Linux will dereference the symlink and fail, as required by POSIX. 16008 That is better in the sense that it means we will not 16009 have to compile and use the lstat wrapper. */ 16010 return lstat ("conftest.sym/", &sbuf) == 0; 16011 ; 16012 return 0; 16013} 16014_ACEOF 16015if ac_fn_c_try_run "$LINENO"; then : 16016 ac_cv_func_lstat_dereferences_slashed_symlink=yes 16017else 16018 ac_cv_func_lstat_dereferences_slashed_symlink=no 16019fi 16020rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16021 conftest.$ac_objext conftest.beam conftest.$ac_ext 16022fi 16023 16024else 16025 # If the `ln -s' command failed, then we probably don't even 16026 # have an lstat function. 16027 ac_cv_func_lstat_dereferences_slashed_symlink=no 16028fi 16029rm -f conftest.sym conftest.file 16030 16031fi 16032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 16033$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 16034 16035test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 16036 16037cat >>confdefs.h <<_ACEOF 16038#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 16039_ACEOF 16040 16041 16042if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 16043 case " $LIBOBJS " in 16044 *" lstat.$ac_objext "* ) ;; 16045 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 16046 ;; 16047esac 16048 16049fi 16050 16051for ac_func in setlocale memset memchr sscanf strcmp strrchr strchr strstr strcpy strncpy strcat atoi putenv fopen fclose fgets fputs lstat opendir readdir closedir 16052do : 16053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16054ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16055if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 16056 cat >>confdefs.h <<_ACEOF 16057#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16058_ACEOF 16059 16060fi 16061done 16062 16063 16064# Files generated 16065ICONDIR=${prefix}/share/pixmaps 16066if test "x$prefix" = "xNONE"; then 16067 ICONDIR=/usr/local/share/pixmaps 16068fi 16069 16070ac_config_files="$ac_config_files Makefile data/Makefile data/layouts/Makefile data/relaxng/Makefile data/styles/Makefile data/styles/bright/Makefile data/styles/default/Makefile data/styles/default/sounds/Makefile data/styles/hard/Makefile data/styles/flat/Makefile data/svg11/Makefile docs/Makefile docs/florence.1 docs/florence_applet.1 src/Makefile src/florence-1.0.pc po/Makefile.in" 16071 16072cat >confcache <<\_ACEOF 16073# This file is a shell script that caches the results of configure 16074# tests run on this system so they can be shared between configure 16075# scripts and configure runs, see configure's option --config-cache. 16076# It is not useful on other systems. If it contains results you don't 16077# want to keep, you may remove or edit it. 16078# 16079# config.status only pays attention to the cache file if you give it 16080# the --recheck option to rerun configure. 16081# 16082# `ac_cv_env_foo' variables (set or unset) will be overridden when 16083# loading this file, other *unset* `ac_cv_foo' will be assigned the 16084# following values. 16085 16086_ACEOF 16087 16088# The following way of writing the cache mishandles newlines in values, 16089# but we know of no workaround that is simple, portable, and efficient. 16090# So, we kill variables containing newlines. 16091# Ultrix sh set writes to stderr and can't be redirected directly, 16092# and sets the high bit in the cache file unless we assign to the vars. 16093( 16094 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16095 eval ac_val=\$$ac_var 16096 case $ac_val in #( 16097 *${as_nl}*) 16098 case $ac_var in #( 16099 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16100$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16101 esac 16102 case $ac_var in #( 16103 _ | IFS | as_nl) ;; #( 16104 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16105 *) { eval $ac_var=; unset $ac_var;} ;; 16106 esac ;; 16107 esac 16108 done 16109 16110 (set) 2>&1 | 16111 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16112 *${as_nl}ac_space=\ *) 16113 # `set' does not quote correctly, so add quotes: double-quote 16114 # substitution turns \\\\ into \\, and sed turns \\ into \. 16115 sed -n \ 16116 "s/'/'\\\\''/g; 16117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16118 ;; #( 16119 *) 16120 # `set' quotes correctly as required by POSIX, so do not add quotes. 16121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16122 ;; 16123 esac | 16124 sort 16125) | 16126 sed ' 16127 /^ac_cv_env_/b end 16128 t clear 16129 :clear 16130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16131 t end 16132 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16133 :end' >>confcache 16134if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16135 if test -w "$cache_file"; then 16136 if test "x$cache_file" != "x/dev/null"; then 16137 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16138$as_echo "$as_me: updating cache $cache_file" >&6;} 16139 if test ! -f "$cache_file" || test -h "$cache_file"; then 16140 cat confcache >"$cache_file" 16141 else 16142 case $cache_file in #( 16143 */* | ?:*) 16144 mv -f confcache "$cache_file"$$ && 16145 mv -f "$cache_file"$$ "$cache_file" ;; #( 16146 *) 16147 mv -f confcache "$cache_file" ;; 16148 esac 16149 fi 16150 fi 16151 else 16152 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16153$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16154 fi 16155fi 16156rm -f confcache 16157 16158test "x$prefix" = xNONE && prefix=$ac_default_prefix 16159# Let make expand exec_prefix. 16160test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16161 16162DEFS=-DHAVE_CONFIG_H 16163 16164ac_libobjs= 16165ac_ltlibobjs= 16166U= 16167for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16168 # 1. Remove the extension, and $U if already installed. 16169 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16170 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16172 # will be set to the directory where LIBOBJS objects are built. 16173 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16174 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16175done 16176LIBOBJS=$ac_libobjs 16177 16178LTLIBOBJS=$ac_ltlibobjs 16179 16180 16181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16182$as_echo_n "checking that generated files are newer than configure... " >&6; } 16183 if test -n "$am_sleep_pid"; then 16184 # Hide warnings about reused PIDs. 16185 wait $am_sleep_pid 2>/dev/null 16186 fi 16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16188$as_echo "done" >&6; } 16189 if test -n "$EXEEXT"; then 16190 am__EXEEXT_TRUE= 16191 am__EXEEXT_FALSE='#' 16192else 16193 am__EXEEXT_TRUE='#' 16194 am__EXEEXT_FALSE= 16195fi 16196 16197if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16198 as_fn_error $? "conditional \"AMDEP\" was never defined. 16199Usually this means the macro was only invoked conditionally." "$LINENO" 5 16200fi 16201if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16202 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16203Usually this means the macro was only invoked conditionally." "$LINENO" 5 16204fi 16205if test -z "${WITH_DOCS_TRUE}" && test -z "${WITH_DOCS_FALSE}"; then 16206 as_fn_error $? "conditional \"WITH_DOCS\" was never defined. 16207Usually this means the macro was only invoked conditionally." "$LINENO" 5 16208fi 16209if test -z "${WITH_NOTIFICATION_TRUE}" && test -z "${WITH_NOTIFICATION_FALSE}"; then 16210 as_fn_error $? "conditional \"WITH_NOTIFICATION\" was never defined. 16211Usually this means the macro was only invoked conditionally." "$LINENO" 5 16212fi 16213if test -z "${WITH_XTST_TRUE}" && test -z "${WITH_XTST_FALSE}"; then 16214 as_fn_error $? "conditional \"WITH_XTST\" was never defined. 16215Usually this means the macro was only invoked conditionally." "$LINENO" 5 16216fi 16217if test -z "${WITH_XRECORD_TRUE}" && test -z "${WITH_XRECORD_FALSE}"; then 16218 as_fn_error $? "conditional \"WITH_XRECORD\" was never defined. 16219Usually this means the macro was only invoked conditionally." "$LINENO" 5 16220fi 16221if test -z "${WITH_AT_SPI_TRUE}" && test -z "${WITH_AT_SPI_FALSE}"; then 16222 as_fn_error $? "conditional \"WITH_AT_SPI\" was never defined. 16223Usually this means the macro was only invoked conditionally." "$LINENO" 5 16224fi 16225if test -z "${WITH_XKB_TRUE}" && test -z "${WITH_XKB_FALSE}"; then 16226 as_fn_error $? "conditional \"WITH_XKB\" was never defined. 16227Usually this means the macro was only invoked conditionally." "$LINENO" 5 16228fi 16229if test -z "${WITH_RAMBLE_TRUE}" && test -z "${WITH_RAMBLE_FALSE}"; then 16230 as_fn_error $? "conditional \"WITH_RAMBLE\" was never defined. 16231Usually this means the macro was only invoked conditionally." "$LINENO" 5 16232fi 16233 16234 ac_config_commands="$ac_config_commands po/stamp-it" 16235 16236 16237if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16238 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16239Usually this means the macro was only invoked conditionally." "$LINENO" 5 16240fi 16241if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then 16242 as_fn_error $? "conditional \"ENABLE_SK\" was never defined. 16243Usually this means the macro was only invoked conditionally." "$LINENO" 5 16244fi 16245if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then 16246 as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined. 16247Usually this means the macro was only invoked conditionally." "$LINENO" 5 16248fi 16249 16250: "${CONFIG_STATUS=./config.status}" 16251ac_write_fail=0 16252ac_clean_files_save=$ac_clean_files 16253ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16254{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16255$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16256as_write_fail=0 16257cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16258#! $SHELL 16259# Generated by $as_me. 16260# Run this file to recreate the current configuration. 16261# Compiler output produced by configure, useful for debugging 16262# configure, is in config.log if it exists. 16263 16264debug=false 16265ac_cs_recheck=false 16266ac_cs_silent=false 16267 16268SHELL=\${CONFIG_SHELL-$SHELL} 16269export SHELL 16270_ASEOF 16271cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16272## -------------------- ## 16273## M4sh Initialization. ## 16274## -------------------- ## 16275 16276# Be more Bourne compatible 16277DUALCASE=1; export DUALCASE # for MKS sh 16278if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16279 emulate sh 16280 NULLCMD=: 16281 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16282 # is contrary to our usage. Disable this feature. 16283 alias -g '${1+"$@"}'='"$@"' 16284 setopt NO_GLOB_SUBST 16285else 16286 case `(set -o) 2>/dev/null` in #( 16287 *posix*) : 16288 set -o posix ;; #( 16289 *) : 16290 ;; 16291esac 16292fi 16293 16294 16295as_nl=' 16296' 16297export as_nl 16298# Printing a long string crashes Solaris 7 /usr/bin/printf. 16299as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16300as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16301as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16302# Prefer a ksh shell builtin over an external printf program on Solaris, 16303# but without wasting forks for bash or zsh. 16304if test -z "$BASH_VERSION$ZSH_VERSION" \ 16305 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16306 as_echo='print -r --' 16307 as_echo_n='print -rn --' 16308elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16309 as_echo='printf %s\n' 16310 as_echo_n='printf %s' 16311else 16312 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16313 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16314 as_echo_n='/usr/ucb/echo -n' 16315 else 16316 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16317 as_echo_n_body='eval 16318 arg=$1; 16319 case $arg in #( 16320 *"$as_nl"*) 16321 expr "X$arg" : "X\\(.*\\)$as_nl"; 16322 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16323 esac; 16324 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16325 ' 16326 export as_echo_n_body 16327 as_echo_n='sh -c $as_echo_n_body as_echo' 16328 fi 16329 export as_echo_body 16330 as_echo='sh -c $as_echo_body as_echo' 16331fi 16332 16333# The user is always right. 16334if test "${PATH_SEPARATOR+set}" != set; then 16335 PATH_SEPARATOR=: 16336 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16337 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16338 PATH_SEPARATOR=';' 16339 } 16340fi 16341 16342 16343# IFS 16344# We need space, tab and new line, in precisely that order. Quoting is 16345# there to prevent editors from complaining about space-tab. 16346# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16347# splitting by setting IFS to empty value.) 16348IFS=" "" $as_nl" 16349 16350# Find who we are. Look in the path if we contain no directory separator. 16351as_myself= 16352case $0 in #(( 16353 *[\\/]* ) as_myself=$0 ;; 16354 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16355for as_dir in $PATH 16356do 16357 IFS=$as_save_IFS 16358 test -z "$as_dir" && as_dir=. 16359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16360 done 16361IFS=$as_save_IFS 16362 16363 ;; 16364esac 16365# We did not find ourselves, most probably we were run as `sh COMMAND' 16366# in which case we are not to be found in the path. 16367if test "x$as_myself" = x; then 16368 as_myself=$0 16369fi 16370if test ! -f "$as_myself"; then 16371 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16372 exit 1 16373fi 16374 16375# Unset variables that we do not need and which cause bugs (e.g. in 16376# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16377# suppresses any "Segmentation fault" message there. '((' could 16378# trigger a bug in pdksh 5.2.14. 16379for as_var in BASH_ENV ENV MAIL MAILPATH 16380do eval test x\${$as_var+set} = xset \ 16381 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16382done 16383PS1='$ ' 16384PS2='> ' 16385PS4='+ ' 16386 16387# NLS nuisances. 16388LC_ALL=C 16389export LC_ALL 16390LANGUAGE=C 16391export LANGUAGE 16392 16393# CDPATH. 16394(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16395 16396 16397# as_fn_error STATUS ERROR [LINENO LOG_FD] 16398# ---------------------------------------- 16399# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16400# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16401# script with STATUS, using 1 if that was 0. 16402as_fn_error () 16403{ 16404 as_status=$1; test $as_status -eq 0 && as_status=1 16405 if test "$4"; then 16406 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16407 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16408 fi 16409 $as_echo "$as_me: error: $2" >&2 16410 as_fn_exit $as_status 16411} # as_fn_error 16412 16413 16414# as_fn_set_status STATUS 16415# ----------------------- 16416# Set $? to STATUS, without forking. 16417as_fn_set_status () 16418{ 16419 return $1 16420} # as_fn_set_status 16421 16422# as_fn_exit STATUS 16423# ----------------- 16424# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16425as_fn_exit () 16426{ 16427 set +e 16428 as_fn_set_status $1 16429 exit $1 16430} # as_fn_exit 16431 16432# as_fn_unset VAR 16433# --------------- 16434# Portably unset VAR. 16435as_fn_unset () 16436{ 16437 { eval $1=; unset $1;} 16438} 16439as_unset=as_fn_unset 16440# as_fn_append VAR VALUE 16441# ---------------------- 16442# Append the text in VALUE to the end of the definition contained in VAR. Take 16443# advantage of any shell optimizations that allow amortized linear growth over 16444# repeated appends, instead of the typical quadratic growth present in naive 16445# implementations. 16446if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16447 eval 'as_fn_append () 16448 { 16449 eval $1+=\$2 16450 }' 16451else 16452 as_fn_append () 16453 { 16454 eval $1=\$$1\$2 16455 } 16456fi # as_fn_append 16457 16458# as_fn_arith ARG... 16459# ------------------ 16460# Perform arithmetic evaluation on the ARGs, and store the result in the 16461# global $as_val. Take advantage of shells that can avoid forks. The arguments 16462# must be portable across $(()) and expr. 16463if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16464 eval 'as_fn_arith () 16465 { 16466 as_val=$(( $* )) 16467 }' 16468else 16469 as_fn_arith () 16470 { 16471 as_val=`expr "$@" || test $? -eq 1` 16472 } 16473fi # as_fn_arith 16474 16475 16476if expr a : '\(a\)' >/dev/null 2>&1 && 16477 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16478 as_expr=expr 16479else 16480 as_expr=false 16481fi 16482 16483if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16484 as_basename=basename 16485else 16486 as_basename=false 16487fi 16488 16489if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16490 as_dirname=dirname 16491else 16492 as_dirname=false 16493fi 16494 16495as_me=`$as_basename -- "$0" || 16496$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16497 X"$0" : 'X\(//\)$' \| \ 16498 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16499$as_echo X/"$0" | 16500 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16501 s//\1/ 16502 q 16503 } 16504 /^X\/\(\/\/\)$/{ 16505 s//\1/ 16506 q 16507 } 16508 /^X\/\(\/\).*/{ 16509 s//\1/ 16510 q 16511 } 16512 s/.*/./; q'` 16513 16514# Avoid depending upon Character Ranges. 16515as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16516as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16517as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16518as_cr_digits='0123456789' 16519as_cr_alnum=$as_cr_Letters$as_cr_digits 16520 16521ECHO_C= ECHO_N= ECHO_T= 16522case `echo -n x` in #((((( 16523-n*) 16524 case `echo 'xy\c'` in 16525 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16526 xy) ECHO_C='\c';; 16527 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16528 ECHO_T=' ';; 16529 esac;; 16530*) 16531 ECHO_N='-n';; 16532esac 16533 16534rm -f conf$$ conf$$.exe conf$$.file 16535if test -d conf$$.dir; then 16536 rm -f conf$$.dir/conf$$.file 16537else 16538 rm -f conf$$.dir 16539 mkdir conf$$.dir 2>/dev/null 16540fi 16541if (echo >conf$$.file) 2>/dev/null; then 16542 if ln -s conf$$.file conf$$ 2>/dev/null; then 16543 as_ln_s='ln -s' 16544 # ... but there are two gotchas: 16545 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16546 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16547 # In both cases, we have to default to `cp -pR'. 16548 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16549 as_ln_s='cp -pR' 16550 elif ln conf$$.file conf$$ 2>/dev/null; then 16551 as_ln_s=ln 16552 else 16553 as_ln_s='cp -pR' 16554 fi 16555else 16556 as_ln_s='cp -pR' 16557fi 16558rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16559rmdir conf$$.dir 2>/dev/null 16560 16561 16562# as_fn_mkdir_p 16563# ------------- 16564# Create "$as_dir" as a directory, including parents if necessary. 16565as_fn_mkdir_p () 16566{ 16567 16568 case $as_dir in #( 16569 -*) as_dir=./$as_dir;; 16570 esac 16571 test -d "$as_dir" || eval $as_mkdir_p || { 16572 as_dirs= 16573 while :; do 16574 case $as_dir in #( 16575 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16576 *) as_qdir=$as_dir;; 16577 esac 16578 as_dirs="'$as_qdir' $as_dirs" 16579 as_dir=`$as_dirname -- "$as_dir" || 16580$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16581 X"$as_dir" : 'X\(//\)[^/]' \| \ 16582 X"$as_dir" : 'X\(//\)$' \| \ 16583 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16584$as_echo X"$as_dir" | 16585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16586 s//\1/ 16587 q 16588 } 16589 /^X\(\/\/\)[^/].*/{ 16590 s//\1/ 16591 q 16592 } 16593 /^X\(\/\/\)$/{ 16594 s//\1/ 16595 q 16596 } 16597 /^X\(\/\).*/{ 16598 s//\1/ 16599 q 16600 } 16601 s/.*/./; q'` 16602 test -d "$as_dir" && break 16603 done 16604 test -z "$as_dirs" || eval "mkdir $as_dirs" 16605 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16606 16607 16608} # as_fn_mkdir_p 16609if mkdir -p . 2>/dev/null; then 16610 as_mkdir_p='mkdir -p "$as_dir"' 16611else 16612 test -d ./-p && rmdir ./-p 16613 as_mkdir_p=false 16614fi 16615 16616 16617# as_fn_executable_p FILE 16618# ----------------------- 16619# Test if FILE is an executable regular file. 16620as_fn_executable_p () 16621{ 16622 test -f "$1" && test -x "$1" 16623} # as_fn_executable_p 16624as_test_x='test -x' 16625as_executable_p=as_fn_executable_p 16626 16627# Sed expression to map a string onto a valid CPP name. 16628as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16629 16630# Sed expression to map a string onto a valid variable name. 16631as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16632 16633 16634exec 6>&1 16635## ----------------------------------- ## 16636## Main body of $CONFIG_STATUS script. ## 16637## ----------------------------------- ## 16638_ASEOF 16639test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16640 16641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16642# Save the log message, to keep $0 and so on meaningful, and to 16643# report actual input values of CONFIG_FILES etc. instead of their 16644# values after options handling. 16645ac_log=" 16646This file was extended by Florence virtual keyboard $as_me 0.6.3, which was 16647generated by GNU Autoconf 2.69. Invocation command line was 16648 16649 CONFIG_FILES = $CONFIG_FILES 16650 CONFIG_HEADERS = $CONFIG_HEADERS 16651 CONFIG_LINKS = $CONFIG_LINKS 16652 CONFIG_COMMANDS = $CONFIG_COMMANDS 16653 $ $0 $@ 16654 16655on `(hostname || uname -n) 2>/dev/null | sed 1q` 16656" 16657 16658_ACEOF 16659 16660case $ac_config_files in *" 16661"*) set x $ac_config_files; shift; ac_config_files=$*;; 16662esac 16663 16664case $ac_config_headers in *" 16665"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 16666esac 16667 16668 16669cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16670# Files that config.status was made for. 16671config_files="`echo $ac_config_files`" 16672config_headers="`echo $ac_config_headers`" 16673config_commands="`echo $ac_config_commands`" 16674 16675_ACEOF 16676 16677cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16678ac_cs_usage="\ 16679\`$as_me' instantiates files and other configuration actions 16680from templates according to the current configuration. Unless the files 16681and actions are specified as TAGs, all are instantiated by default. 16682 16683Usage: $0 [OPTION]... [TAG]... 16684 16685 -h, --help print this help, then exit 16686 -V, --version print version number and configuration settings, then exit 16687 --config print configuration, then exit 16688 -q, --quiet, --silent 16689 do not print progress messages 16690 -d, --debug don't remove temporary files 16691 --recheck update $as_me by reconfiguring in the same conditions 16692 --file=FILE[:TEMPLATE] 16693 instantiate the configuration file FILE 16694 --header=FILE[:TEMPLATE] 16695 instantiate the configuration header FILE 16696 16697Configuration files: 16698$config_files 16699 16700Configuration headers: 16701$config_headers 16702 16703Configuration commands: 16704$config_commands 16705 16706Report bugs to <f.agrech@gmail.com>." 16707 16708_ACEOF 16709cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16710ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16711ac_cs_version="\\ 16712Florence virtual keyboard config.status 0.6.3 16713configured by $0, generated by GNU Autoconf 2.69, 16714 with options \\"\$ac_cs_config\\" 16715 16716Copyright (C) 2012 Free Software Foundation, Inc. 16717This config.status script is free software; the Free Software Foundation 16718gives unlimited permission to copy, distribute and modify it." 16719 16720ac_pwd='$ac_pwd' 16721srcdir='$srcdir' 16722INSTALL='$INSTALL' 16723MKDIR_P='$MKDIR_P' 16724AWK='$AWK' 16725test -n "\$AWK" || AWK=awk 16726_ACEOF 16727 16728cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16729# The default lists apply if the user does not specify any file. 16730ac_need_defaults=: 16731while test $# != 0 16732do 16733 case $1 in 16734 --*=?*) 16735 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16736 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16737 ac_shift=: 16738 ;; 16739 --*=) 16740 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16741 ac_optarg= 16742 ac_shift=: 16743 ;; 16744 *) 16745 ac_option=$1 16746 ac_optarg=$2 16747 ac_shift=shift 16748 ;; 16749 esac 16750 16751 case $ac_option in 16752 # Handling of the options. 16753 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16754 ac_cs_recheck=: ;; 16755 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16756 $as_echo "$ac_cs_version"; exit ;; 16757 --config | --confi | --conf | --con | --co | --c ) 16758 $as_echo "$ac_cs_config"; exit ;; 16759 --debug | --debu | --deb | --de | --d | -d ) 16760 debug=: ;; 16761 --file | --fil | --fi | --f ) 16762 $ac_shift 16763 case $ac_optarg in 16764 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16765 '') as_fn_error $? "missing file argument" ;; 16766 esac 16767 as_fn_append CONFIG_FILES " '$ac_optarg'" 16768 ac_need_defaults=false;; 16769 --header | --heade | --head | --hea ) 16770 $ac_shift 16771 case $ac_optarg in 16772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16773 esac 16774 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 16775 ac_need_defaults=false;; 16776 --he | --h) 16777 # Conflict between --help and --header 16778 as_fn_error $? "ambiguous option: \`$1' 16779Try \`$0 --help' for more information.";; 16780 --help | --hel | -h ) 16781 $as_echo "$ac_cs_usage"; exit ;; 16782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16783 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16784 ac_cs_silent=: ;; 16785 16786 # This is an error. 16787 -*) as_fn_error $? "unrecognized option: \`$1' 16788Try \`$0 --help' for more information." ;; 16789 16790 *) as_fn_append ac_config_targets " $1" 16791 ac_need_defaults=false ;; 16792 16793 esac 16794 shift 16795done 16796 16797ac_configure_extra_args= 16798 16799if $ac_cs_silent; then 16800 exec 6>/dev/null 16801 ac_configure_extra_args="$ac_configure_extra_args --silent" 16802fi 16803 16804_ACEOF 16805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16806if \$ac_cs_recheck; then 16807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16808 shift 16809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16810 CONFIG_SHELL='$SHELL' 16811 export CONFIG_SHELL 16812 exec "\$@" 16813fi 16814 16815_ACEOF 16816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16817exec 5>>config.log 16818{ 16819 echo 16820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 16821## Running $as_me. ## 16822_ASBOX 16823 $as_echo "$ac_log" 16824} >&5 16825 16826_ACEOF 16827cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16828# 16829# INIT-COMMANDS 16830# 16831AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 16832 16833 16834# The HP-UX ksh and POSIX shell print the target directory to stdout 16835# if CDPATH is set. 16836(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16837 16838sed_quote_subst='$sed_quote_subst' 16839double_quote_subst='$double_quote_subst' 16840delay_variable_subst='$delay_variable_subst' 16841macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16842macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16843enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16844enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16845pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16846enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16847SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16848ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16849PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16850host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16851host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16852host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16853build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16854build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16855build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16856SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16857Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16858GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16859EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16860FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16861LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16862NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16863LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16864max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16865ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16866exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16867lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16868lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16869lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16870lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16871lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16872reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16873reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16874OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16875deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16876file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16877file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16878want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16879DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16880sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16881AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16882AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16883archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16884STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16885RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16886old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16887old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16888old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16889lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16890CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16891CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16892compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16893GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16894lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16895lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16896lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16897lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 16898nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16899lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16900objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16901MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16902lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16903lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16904lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16905lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16906lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16907need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16908MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16909DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16910NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16911LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16912OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16913OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16914libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16915shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16916extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16917archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16918enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16919export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16920whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16921compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16922old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16923old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16924archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16925archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16926module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16927module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16928with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16929allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16930no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16931hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16932hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16933hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16934hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16935hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16936hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16937hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16938inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16939link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16940always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16941export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16942exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16943include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16944prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16945postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16946file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16947variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16948need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16949need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16950version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16951runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16952shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16953shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16954libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16955library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16956soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16957install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16958postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16959postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16960finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16961finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16962hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16963sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16964sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 16965hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16966enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16967enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16968enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16969old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16970striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16971 16972LTCC='$LTCC' 16973LTCFLAGS='$LTCFLAGS' 16974compiler='$compiler_DEFAULT' 16975 16976# A function that is used when there is no print builtin or printf. 16977func_fallback_echo () 16978{ 16979 eval 'cat <<_LTECHO_EOF 16980\$1 16981_LTECHO_EOF' 16982} 16983 16984# Quote evaled strings. 16985for var in SHELL \ 16986ECHO \ 16987PATH_SEPARATOR \ 16988SED \ 16989GREP \ 16990EGREP \ 16991FGREP \ 16992LD \ 16993NM \ 16994LN_S \ 16995lt_SP2NL \ 16996lt_NL2SP \ 16997reload_flag \ 16998OBJDUMP \ 16999deplibs_check_method \ 17000file_magic_cmd \ 17001file_magic_glob \ 17002want_nocaseglob \ 17003DLLTOOL \ 17004sharedlib_from_linklib_cmd \ 17005AR \ 17006AR_FLAGS \ 17007archiver_list_spec \ 17008STRIP \ 17009RANLIB \ 17010CC \ 17011CFLAGS \ 17012compiler \ 17013lt_cv_sys_global_symbol_pipe \ 17014lt_cv_sys_global_symbol_to_cdecl \ 17015lt_cv_sys_global_symbol_to_c_name_address \ 17016lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17017nm_file_list_spec \ 17018lt_prog_compiler_no_builtin_flag \ 17019lt_prog_compiler_pic \ 17020lt_prog_compiler_wl \ 17021lt_prog_compiler_static \ 17022lt_cv_prog_compiler_c_o \ 17023need_locks \ 17024MANIFEST_TOOL \ 17025DSYMUTIL \ 17026NMEDIT \ 17027LIPO \ 17028OTOOL \ 17029OTOOL64 \ 17030shrext_cmds \ 17031export_dynamic_flag_spec \ 17032whole_archive_flag_spec \ 17033compiler_needs_object \ 17034with_gnu_ld \ 17035allow_undefined_flag \ 17036no_undefined_flag \ 17037hardcode_libdir_flag_spec \ 17038hardcode_libdir_separator \ 17039exclude_expsyms \ 17040include_expsyms \ 17041file_list_spec \ 17042variables_saved_for_relink \ 17043libname_spec \ 17044library_names_spec \ 17045soname_spec \ 17046install_override_mode \ 17047finish_eval \ 17048old_striplib \ 17049striplib; do 17050 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17051 *[\\\\\\\`\\"\\\$]*) 17052 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 17053 ;; 17054 *) 17055 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17056 ;; 17057 esac 17058done 17059 17060# Double-quote double-evaled strings. 17061for var in reload_cmds \ 17062old_postinstall_cmds \ 17063old_postuninstall_cmds \ 17064old_archive_cmds \ 17065extract_expsyms_cmds \ 17066old_archive_from_new_cmds \ 17067old_archive_from_expsyms_cmds \ 17068archive_cmds \ 17069archive_expsym_cmds \ 17070module_cmds \ 17071module_expsym_cmds \ 17072export_symbols_cmds \ 17073prelink_cmds \ 17074postlink_cmds \ 17075postinstall_cmds \ 17076postuninstall_cmds \ 17077finish_cmds \ 17078sys_lib_search_path_spec \ 17079sys_lib_dlsearch_path_spec; do 17080 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17081 *[\\\\\\\`\\"\\\$]*) 17082 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 17083 ;; 17084 *) 17085 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17086 ;; 17087 esac 17088done 17089 17090ac_aux_dir='$ac_aux_dir' 17091xsi_shell='$xsi_shell' 17092lt_shell_append='$lt_shell_append' 17093 17094# See if we are running on zsh, and set the options which allow our 17095# commands through without removal of \ escapes INIT. 17096if test -n "\${ZSH_VERSION+set}" ; then 17097 setopt NO_GLOB_SUBST 17098fi 17099 17100 17101 PACKAGE='$PACKAGE' 17102 VERSION='$VERSION' 17103 TIMESTAMP='$TIMESTAMP' 17104 RM='$RM' 17105 ofile='$ofile' 17106 17107 17108 17109 17110 17111_ACEOF 17112 17113cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17114 17115# Handling of arguments. 17116for ac_config_target in $ac_config_targets 17117do 17118 case $ac_config_target in 17119 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 17120 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17121 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17122 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 17123 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17124 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 17125 "data/layouts/Makefile") CONFIG_FILES="$CONFIG_FILES data/layouts/Makefile" ;; 17126 "data/relaxng/Makefile") CONFIG_FILES="$CONFIG_FILES data/relaxng/Makefile" ;; 17127 "data/styles/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/Makefile" ;; 17128 "data/styles/bright/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/bright/Makefile" ;; 17129 "data/styles/default/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/default/Makefile" ;; 17130 "data/styles/default/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/default/sounds/Makefile" ;; 17131 "data/styles/hard/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/hard/Makefile" ;; 17132 "data/styles/flat/Makefile") CONFIG_FILES="$CONFIG_FILES data/styles/flat/Makefile" ;; 17133 "data/svg11/Makefile") CONFIG_FILES="$CONFIG_FILES data/svg11/Makefile" ;; 17134 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 17135 "docs/florence.1") CONFIG_FILES="$CONFIG_FILES docs/florence.1" ;; 17136 "docs/florence_applet.1") CONFIG_FILES="$CONFIG_FILES docs/florence_applet.1" ;; 17137 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 17138 "src/florence-1.0.pc") CONFIG_FILES="$CONFIG_FILES src/florence-1.0.pc" ;; 17139 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 17140 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 17141 17142 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17143 esac 17144done 17145 17146 17147# If the user did not use the arguments to specify the items to instantiate, 17148# then the envvar interface is used. Set only those that are not. 17149# We use the long form for the default assignment because of an extremely 17150# bizarre bug on SunOS 4.1.3. 17151if $ac_need_defaults; then 17152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17155fi 17156 17157# Have a temporary directory for convenience. Make it in the build tree 17158# simply because there is no reason against having it here, and in addition, 17159# creating and moving files from /tmp can sometimes cause problems. 17160# Hook for its removal unless debugging. 17161# Note that there is a small window in which the directory will not be cleaned: 17162# after its creation but before its name has been assigned to `$tmp'. 17163$debug || 17164{ 17165 tmp= ac_tmp= 17166 trap 'exit_status=$? 17167 : "${ac_tmp:=$tmp}" 17168 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17169' 0 17170 trap 'as_fn_exit 1' 1 2 13 15 17171} 17172# Create a (secure) tmp directory for tmp files. 17173 17174{ 17175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17176 test -d "$tmp" 17177} || 17178{ 17179 tmp=./conf$$-$RANDOM 17180 (umask 077 && mkdir "$tmp") 17181} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17182ac_tmp=$tmp 17183 17184# Set up the scripts for CONFIG_FILES section. 17185# No need to generate them if there are no CONFIG_FILES. 17186# This happens for instance with `./config.status config.h'. 17187if test -n "$CONFIG_FILES"; then 17188 17189 17190ac_cr=`echo X | tr X '\015'` 17191# On cygwin, bash can eat \r inside `` if the user requested igncr. 17192# But we know of no other shell where ac_cr would be empty at this 17193# point, so we can use a bashism as a fallback. 17194if test "x$ac_cr" = x; then 17195 eval ac_cr=\$\'\\r\' 17196fi 17197ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17198if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17199 ac_cs_awk_cr='\\r' 17200else 17201 ac_cs_awk_cr=$ac_cr 17202fi 17203 17204echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17205_ACEOF 17206 17207 17208{ 17209 echo "cat >conf$$subs.awk <<_ACEOF" && 17210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17211 echo "_ACEOF" 17212} >conf$$subs.sh || 17213 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17214ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17215ac_delim='%!_!# ' 17216for ac_last_try in false false false false false :; do 17217 . ./conf$$subs.sh || 17218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17219 17220 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17221 if test $ac_delim_n = $ac_delim_num; then 17222 break 17223 elif $ac_last_try; then 17224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17225 else 17226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17227 fi 17228done 17229rm -f conf$$subs.sh 17230 17231cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17232cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17233_ACEOF 17234sed -n ' 17235h 17236s/^/S["/; s/!.*/"]=/ 17237p 17238g 17239s/^[^!]*!// 17240:repl 17241t repl 17242s/'"$ac_delim"'$// 17243t delim 17244:nl 17245h 17246s/\(.\{148\}\)..*/\1/ 17247t more1 17248s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17249p 17250n 17251b repl 17252:more1 17253s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17254p 17255g 17256s/.\{148\}// 17257t nl 17258:delim 17259h 17260s/\(.\{148\}\)..*/\1/ 17261t more2 17262s/["\\]/\\&/g; s/^/"/; s/$/"/ 17263p 17264b 17265:more2 17266s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17267p 17268g 17269s/.\{148\}// 17270t delim 17271' <conf$$subs.awk | sed ' 17272/^[^""]/{ 17273 N 17274 s/\n// 17275} 17276' >>$CONFIG_STATUS || ac_write_fail=1 17277rm -f conf$$subs.awk 17278cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17279_ACAWK 17280cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17281 for (key in S) S_is_set[key] = 1 17282 FS = "" 17283 17284} 17285{ 17286 line = $ 0 17287 nfields = split(line, field, "@") 17288 substed = 0 17289 len = length(field[1]) 17290 for (i = 2; i < nfields; i++) { 17291 key = field[i] 17292 keylen = length(key) 17293 if (S_is_set[key]) { 17294 value = S[key] 17295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17296 len += length(value) + length(field[++i]) 17297 substed = 1 17298 } else 17299 len += 1 + keylen 17300 } 17301 17302 print line 17303} 17304 17305_ACAWK 17306_ACEOF 17307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17308if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17309 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17310else 17311 cat 17312fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17313 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17314_ACEOF 17315 17316# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17317# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17318# trailing colons and then remove the whole line if VPATH becomes empty 17319# (actually we leave an empty line to preserve line numbers). 17320if test "x$srcdir" = x.; then 17321 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17322h 17323s/// 17324s/^/:/ 17325s/[ ]*$/:/ 17326s/:\$(srcdir):/:/g 17327s/:\${srcdir}:/:/g 17328s/:@srcdir@:/:/g 17329s/^:*// 17330s/:*$// 17331x 17332s/\(=[ ]*\).*/\1/ 17333G 17334s/\n// 17335s/^[^=]*=[ ]*$// 17336}' 17337fi 17338 17339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17340fi # test -n "$CONFIG_FILES" 17341 17342# Set up the scripts for CONFIG_HEADERS section. 17343# No need to generate them if there are no CONFIG_HEADERS. 17344# This happens for instance with `./config.status Makefile'. 17345if test -n "$CONFIG_HEADERS"; then 17346cat >"$ac_tmp/defines.awk" <<\_ACAWK || 17347BEGIN { 17348_ACEOF 17349 17350# Transform confdefs.h into an awk script `defines.awk', embedded as 17351# here-document in config.status, that substitutes the proper values into 17352# config.h.in to produce config.h. 17353 17354# Create a delimiter string that does not exist in confdefs.h, to ease 17355# handling of long lines. 17356ac_delim='%!_!# ' 17357for ac_last_try in false false :; do 17358 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 17359 if test -z "$ac_tt"; then 17360 break 17361 elif $ac_last_try; then 17362 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 17363 else 17364 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17365 fi 17366done 17367 17368# For the awk script, D is an array of macro values keyed by name, 17369# likewise P contains macro parameters if any. Preserve backslash 17370# newline sequences. 17371 17372ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 17373sed -n ' 17374s/.\{148\}/&'"$ac_delim"'/g 17375t rset 17376:rset 17377s/^[ ]*#[ ]*define[ ][ ]*/ / 17378t def 17379d 17380:def 17381s/\\$// 17382t bsnl 17383s/["\\]/\\&/g 17384s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17385D["\1"]=" \3"/p 17386s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 17387d 17388:bsnl 17389s/["\\]/\\&/g 17390s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 17391D["\1"]=" \3\\\\\\n"\\/p 17392t cont 17393s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 17394t cont 17395d 17396:cont 17397n 17398s/.\{148\}/&'"$ac_delim"'/g 17399t clear 17400:clear 17401s/\\$// 17402t bsnlc 17403s/["\\]/\\&/g; s/^/"/; s/$/"/p 17404d 17405:bsnlc 17406s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 17407b cont 17408' <confdefs.h | sed ' 17409s/'"$ac_delim"'/"\\\ 17410"/g' >>$CONFIG_STATUS || ac_write_fail=1 17411 17412cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17413 for (key in D) D_is_set[key] = 1 17414 FS = "" 17415} 17416/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 17417 line = \$ 0 17418 split(line, arg, " ") 17419 if (arg[1] == "#") { 17420 defundef = arg[2] 17421 mac1 = arg[3] 17422 } else { 17423 defundef = substr(arg[1], 2) 17424 mac1 = arg[2] 17425 } 17426 split(mac1, mac2, "(") #) 17427 macro = mac2[1] 17428 prefix = substr(line, 1, index(line, defundef) - 1) 17429 if (D_is_set[macro]) { 17430 # Preserve the white space surrounding the "#". 17431 print prefix "define", macro P[macro] D[macro] 17432 next 17433 } else { 17434 # Replace #undef with comments. This is necessary, for example, 17435 # in the case of _POSIX_SOURCE, which is predefined and required 17436 # on some systems where configure will not decide to define it. 17437 if (defundef == "undef") { 17438 print "/*", prefix defundef, macro, "*/" 17439 next 17440 } 17441 } 17442} 17443{ print } 17444_ACAWK 17445_ACEOF 17446cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17447 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 17448fi # test -n "$CONFIG_HEADERS" 17449 17450 17451eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 17452shift 17453for ac_tag 17454do 17455 case $ac_tag in 17456 :[FHLC]) ac_mode=$ac_tag; continue;; 17457 esac 17458 case $ac_mode$ac_tag in 17459 :[FHL]*:*);; 17460 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17461 :[FH]-) ac_tag=-:-;; 17462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17463 esac 17464 ac_save_IFS=$IFS 17465 IFS=: 17466 set x $ac_tag 17467 IFS=$ac_save_IFS 17468 shift 17469 ac_file=$1 17470 shift 17471 17472 case $ac_mode in 17473 :L) ac_source=$1;; 17474 :[FH]) 17475 ac_file_inputs= 17476 for ac_f 17477 do 17478 case $ac_f in 17479 -) ac_f="$ac_tmp/stdin";; 17480 *) # Look for the file first in the build tree, then in the source tree 17481 # (if the path is not absolute). The absolute path cannot be DOS-style, 17482 # because $ac_f cannot contain `:'. 17483 test -f "$ac_f" || 17484 case $ac_f in 17485 [\\/$]*) false;; 17486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17487 esac || 17488 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17489 esac 17490 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17491 as_fn_append ac_file_inputs " '$ac_f'" 17492 done 17493 17494 # Let's still pretend it is `configure' which instantiates (i.e., don't 17495 # use $as_me), people would be surprised to read: 17496 # /* config.h. Generated by config.status. */ 17497 configure_input='Generated from '` 17498 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17499 `' by configure.' 17500 if test x"$ac_file" != x-; then 17501 configure_input="$ac_file. $configure_input" 17502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17503$as_echo "$as_me: creating $ac_file" >&6;} 17504 fi 17505 # Neutralize special characters interpreted by sed in replacement strings. 17506 case $configure_input in #( 17507 *\&* | *\|* | *\\* ) 17508 ac_sed_conf_input=`$as_echo "$configure_input" | 17509 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17510 *) ac_sed_conf_input=$configure_input;; 17511 esac 17512 17513 case $ac_tag in 17514 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17516 esac 17517 ;; 17518 esac 17519 17520 ac_dir=`$as_dirname -- "$ac_file" || 17521$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17522 X"$ac_file" : 'X\(//\)[^/]' \| \ 17523 X"$ac_file" : 'X\(//\)$' \| \ 17524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17525$as_echo X"$ac_file" | 17526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17527 s//\1/ 17528 q 17529 } 17530 /^X\(\/\/\)[^/].*/{ 17531 s//\1/ 17532 q 17533 } 17534 /^X\(\/\/\)$/{ 17535 s//\1/ 17536 q 17537 } 17538 /^X\(\/\).*/{ 17539 s//\1/ 17540 q 17541 } 17542 s/.*/./; q'` 17543 as_dir="$ac_dir"; as_fn_mkdir_p 17544 ac_builddir=. 17545 17546case "$ac_dir" in 17547.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17548*) 17549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17550 # A ".." for each directory in $ac_dir_suffix. 17551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17552 case $ac_top_builddir_sub in 17553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17555 esac ;; 17556esac 17557ac_abs_top_builddir=$ac_pwd 17558ac_abs_builddir=$ac_pwd$ac_dir_suffix 17559# for backward compatibility: 17560ac_top_builddir=$ac_top_build_prefix 17561 17562case $srcdir in 17563 .) # We are building in place. 17564 ac_srcdir=. 17565 ac_top_srcdir=$ac_top_builddir_sub 17566 ac_abs_top_srcdir=$ac_pwd ;; 17567 [\\/]* | ?:[\\/]* ) # Absolute name. 17568 ac_srcdir=$srcdir$ac_dir_suffix; 17569 ac_top_srcdir=$srcdir 17570 ac_abs_top_srcdir=$srcdir ;; 17571 *) # Relative name. 17572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17573 ac_top_srcdir=$ac_top_build_prefix$srcdir 17574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17575esac 17576ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17577 17578 17579 case $ac_mode in 17580 :F) 17581 # 17582 # CONFIG_FILE 17583 # 17584 17585 case $INSTALL in 17586 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17587 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17588 esac 17589 ac_MKDIR_P=$MKDIR_P 17590 case $MKDIR_P in 17591 [\\/$]* | ?:[\\/]* ) ;; 17592 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17593 esac 17594_ACEOF 17595 17596cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17597# If the template does not know about datarootdir, expand it. 17598# FIXME: This hack should be removed a few years after 2.60. 17599ac_datarootdir_hack=; ac_datarootdir_seen= 17600ac_sed_dataroot=' 17601/datarootdir/ { 17602 p 17603 q 17604} 17605/@datadir@/p 17606/@docdir@/p 17607/@infodir@/p 17608/@localedir@/p 17609/@mandir@/p' 17610case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17611*datarootdir*) ac_datarootdir_seen=yes;; 17612*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17614$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17615_ACEOF 17616cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17617 ac_datarootdir_hack=' 17618 s&@datadir@&$datadir&g 17619 s&@docdir@&$docdir&g 17620 s&@infodir@&$infodir&g 17621 s&@localedir@&$localedir&g 17622 s&@mandir@&$mandir&g 17623 s&\\\${datarootdir}&$datarootdir&g' ;; 17624esac 17625_ACEOF 17626 17627# Neutralize VPATH when `$srcdir' = `.'. 17628# Shell code in configure.ac might set extrasub. 17629# FIXME: do we really want to maintain this feature? 17630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17631ac_sed_extra="$ac_vpsub 17632$extrasub 17633_ACEOF 17634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17635:t 17636/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17637s|@configure_input@|$ac_sed_conf_input|;t t 17638s&@top_builddir@&$ac_top_builddir_sub&;t t 17639s&@top_build_prefix@&$ac_top_build_prefix&;t t 17640s&@srcdir@&$ac_srcdir&;t t 17641s&@abs_srcdir@&$ac_abs_srcdir&;t t 17642s&@top_srcdir@&$ac_top_srcdir&;t t 17643s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17644s&@builddir@&$ac_builddir&;t t 17645s&@abs_builddir@&$ac_abs_builddir&;t t 17646s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17647s&@INSTALL@&$ac_INSTALL&;t t 17648s&@MKDIR_P@&$ac_MKDIR_P&;t t 17649$ac_datarootdir_hack 17650" 17651eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17652 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17653 17654test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17655 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17656 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17657 "$ac_tmp/out"`; test -z "$ac_out"; } && 17658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17659which seems to be undefined. Please make sure it is defined" >&5 17660$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17661which seems to be undefined. Please make sure it is defined" >&2;} 17662 17663 rm -f "$ac_tmp/stdin" 17664 case $ac_file in 17665 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17666 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17667 esac \ 17668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17669 ;; 17670 :H) 17671 # 17672 # CONFIG_HEADER 17673 # 17674 if test x"$ac_file" != x-; then 17675 { 17676 $as_echo "/* $configure_input */" \ 17677 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 17678 } >"$ac_tmp/config.h" \ 17679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17680 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 17681 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 17682$as_echo "$as_me: $ac_file is unchanged" >&6;} 17683 else 17684 rm -f "$ac_file" 17685 mv "$ac_tmp/config.h" "$ac_file" \ 17686 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17687 fi 17688 else 17689 $as_echo "/* $configure_input */" \ 17690 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 17691 || as_fn_error $? "could not create -" "$LINENO" 5 17692 fi 17693# Compute "$ac_file"'s index in $config_headers. 17694_am_arg="$ac_file" 17695_am_stamp_count=1 17696for _am_header in $config_headers :; do 17697 case $_am_header in 17698 $_am_arg | $_am_arg:* ) 17699 break ;; 17700 * ) 17701 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 17702 esac 17703done 17704echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 17705$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17706 X"$_am_arg" : 'X\(//\)[^/]' \| \ 17707 X"$_am_arg" : 'X\(//\)$' \| \ 17708 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 17709$as_echo X"$_am_arg" | 17710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17711 s//\1/ 17712 q 17713 } 17714 /^X\(\/\/\)[^/].*/{ 17715 s//\1/ 17716 q 17717 } 17718 /^X\(\/\/\)$/{ 17719 s//\1/ 17720 q 17721 } 17722 /^X\(\/\).*/{ 17723 s//\1/ 17724 q 17725 } 17726 s/.*/./; q'`/stamp-h$_am_stamp_count 17727 ;; 17728 17729 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17730$as_echo "$as_me: executing $ac_file commands" >&6;} 17731 ;; 17732 esac 17733 17734 17735 case $ac_file$ac_mode in 17736 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17737 # Older Autoconf quotes --file arguments for eval, but not when files 17738 # are listed without --file. Let's play safe and only enable the eval 17739 # if we detect the quoting. 17740 case $CONFIG_FILES in 17741 *\'*) eval set x "$CONFIG_FILES" ;; 17742 *) set x $CONFIG_FILES ;; 17743 esac 17744 shift 17745 for mf 17746 do 17747 # Strip MF so we end up with the name of the file. 17748 mf=`echo "$mf" | sed -e 's/:.*$//'` 17749 # Check whether this is an Automake generated Makefile or not. 17750 # We used to match only the files named 'Makefile.in', but 17751 # some people rename them; so instead we look at the file content. 17752 # Grep'ing the first line is not enough: some people post-process 17753 # each Makefile.in and add a new line on top of each file to say so. 17754 # Grep'ing the whole file is not good either: AIX grep has a line 17755 # limit of 2048, but all sed's we know have understand at least 4000. 17756 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 17757 dirpart=`$as_dirname -- "$mf" || 17758$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17759 X"$mf" : 'X\(//\)[^/]' \| \ 17760 X"$mf" : 'X\(//\)$' \| \ 17761 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 17762$as_echo X"$mf" | 17763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17764 s//\1/ 17765 q 17766 } 17767 /^X\(\/\/\)[^/].*/{ 17768 s//\1/ 17769 q 17770 } 17771 /^X\(\/\/\)$/{ 17772 s//\1/ 17773 q 17774 } 17775 /^X\(\/\).*/{ 17776 s//\1/ 17777 q 17778 } 17779 s/.*/./; q'` 17780 else 17781 continue 17782 fi 17783 # Extract the definition of DEPDIR, am__include, and am__quote 17784 # from the Makefile without running 'make'. 17785 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 17786 test -z "$DEPDIR" && continue 17787 am__include=`sed -n 's/^am__include = //p' < "$mf"` 17788 test -z "$am__include" && continue 17789 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 17790 # Find all dependency output files, they are included files with 17791 # $(DEPDIR) in their names. We invoke sed twice because it is the 17792 # simplest approach to changing $(DEPDIR) to its actual value in the 17793 # expansion. 17794 for file in `sed -n " 17795 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 17796 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 17797 # Make sure the directory exists. 17798 test -f "$dirpart/$file" && continue 17799 fdir=`$as_dirname -- "$file" || 17800$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17801 X"$file" : 'X\(//\)[^/]' \| \ 17802 X"$file" : 'X\(//\)$' \| \ 17803 X"$file" : 'X\(/\)' \| . 2>/dev/null || 17804$as_echo X"$file" | 17805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17806 s//\1/ 17807 q 17808 } 17809 /^X\(\/\/\)[^/].*/{ 17810 s//\1/ 17811 q 17812 } 17813 /^X\(\/\/\)$/{ 17814 s//\1/ 17815 q 17816 } 17817 /^X\(\/\).*/{ 17818 s//\1/ 17819 q 17820 } 17821 s/.*/./; q'` 17822 as_dir=$dirpart/$fdir; as_fn_mkdir_p 17823 # echo "creating $dirpart/$file" 17824 echo '# dummy' > "$dirpart/$file" 17825 done 17826 done 17827} 17828 ;; 17829 "libtool":C) 17830 17831 # See if we are running on zsh, and set the options which allow our 17832 # commands through without removal of \ escapes. 17833 if test -n "${ZSH_VERSION+set}" ; then 17834 setopt NO_GLOB_SUBST 17835 fi 17836 17837 cfgfile="${ofile}T" 17838 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17839 $RM "$cfgfile" 17840 17841 cat <<_LT_EOF >> "$cfgfile" 17842#! $SHELL 17843 17844# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 17845# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 17846# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 17847# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17848# 17849# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 17850# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 17851# Foundation, Inc. 17852# Written by Gordon Matzigkeit, 1996 17853# 17854# This file is part of GNU Libtool. 17855# 17856# GNU Libtool is free software; you can redistribute it and/or 17857# modify it under the terms of the GNU General Public License as 17858# published by the Free Software Foundation; either version 2 of 17859# the License, or (at your option) any later version. 17860# 17861# As a special exception to the GNU General Public License, 17862# if you distribute this file as part of a program or library that 17863# is built using GNU Libtool, you may include this file under the 17864# same distribution terms that you use for the rest of that program. 17865# 17866# GNU Libtool is distributed in the hope that it will be useful, 17867# but WITHOUT ANY WARRANTY; without even the implied warranty of 17868# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17869# GNU General Public License for more details. 17870# 17871# You should have received a copy of the GNU General Public License 17872# along with GNU Libtool; see the file COPYING. If not, a copy 17873# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 17874# obtained by writing to the Free Software Foundation, Inc., 17875# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17876 17877 17878# The names of the tagged configurations supported by this script. 17879available_tags="" 17880 17881# ### BEGIN LIBTOOL CONFIG 17882 17883# Which release of libtool.m4 was used? 17884macro_version=$macro_version 17885macro_revision=$macro_revision 17886 17887# Whether or not to build shared libraries. 17888build_libtool_libs=$enable_shared 17889 17890# Whether or not to build static libraries. 17891build_old_libs=$enable_static 17892 17893# What type of objects to build. 17894pic_mode=$pic_mode 17895 17896# Whether or not to optimize for fast installation. 17897fast_install=$enable_fast_install 17898 17899# Shell to use when invoking shell scripts. 17900SHELL=$lt_SHELL 17901 17902# An echo program that protects backslashes. 17903ECHO=$lt_ECHO 17904 17905# The PATH separator for the build system. 17906PATH_SEPARATOR=$lt_PATH_SEPARATOR 17907 17908# The host system. 17909host_alias=$host_alias 17910host=$host 17911host_os=$host_os 17912 17913# The build system. 17914build_alias=$build_alias 17915build=$build 17916build_os=$build_os 17917 17918# A sed program that does not truncate output. 17919SED=$lt_SED 17920 17921# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17922Xsed="\$SED -e 1s/^X//" 17923 17924# A grep program that handles long lines. 17925GREP=$lt_GREP 17926 17927# An ERE matcher. 17928EGREP=$lt_EGREP 17929 17930# A literal string matcher. 17931FGREP=$lt_FGREP 17932 17933# A BSD- or MS-compatible name lister. 17934NM=$lt_NM 17935 17936# Whether we need soft or hard links. 17937LN_S=$lt_LN_S 17938 17939# What is the maximum length of a command? 17940max_cmd_len=$max_cmd_len 17941 17942# Object file suffix (normally "o"). 17943objext=$ac_objext 17944 17945# Executable file suffix (normally ""). 17946exeext=$exeext 17947 17948# whether the shell understands "unset". 17949lt_unset=$lt_unset 17950 17951# turn spaces into newlines. 17952SP2NL=$lt_lt_SP2NL 17953 17954# turn newlines into spaces. 17955NL2SP=$lt_lt_NL2SP 17956 17957# convert \$build file names to \$host format. 17958to_host_file_cmd=$lt_cv_to_host_file_cmd 17959 17960# convert \$build files to toolchain format. 17961to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17962 17963# An object symbol dumper. 17964OBJDUMP=$lt_OBJDUMP 17965 17966# Method to check whether dependent libraries are shared objects. 17967deplibs_check_method=$lt_deplibs_check_method 17968 17969# Command to use when deplibs_check_method = "file_magic". 17970file_magic_cmd=$lt_file_magic_cmd 17971 17972# How to find potential files when deplibs_check_method = "file_magic". 17973file_magic_glob=$lt_file_magic_glob 17974 17975# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17976want_nocaseglob=$lt_want_nocaseglob 17977 17978# DLL creation program. 17979DLLTOOL=$lt_DLLTOOL 17980 17981# Command to associate shared and link libraries. 17982sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17983 17984# The archiver. 17985AR=$lt_AR 17986 17987# Flags to create an archive. 17988AR_FLAGS=$lt_AR_FLAGS 17989 17990# How to feed a file listing to the archiver. 17991archiver_list_spec=$lt_archiver_list_spec 17992 17993# A symbol stripping program. 17994STRIP=$lt_STRIP 17995 17996# Commands used to install an old-style archive. 17997RANLIB=$lt_RANLIB 17998old_postinstall_cmds=$lt_old_postinstall_cmds 17999old_postuninstall_cmds=$lt_old_postuninstall_cmds 18000 18001# Whether to use a lock for old archive extraction. 18002lock_old_archive_extraction=$lock_old_archive_extraction 18003 18004# A C compiler. 18005LTCC=$lt_CC 18006 18007# LTCC compiler flags. 18008LTCFLAGS=$lt_CFLAGS 18009 18010# Take the output of nm and produce a listing of raw symbols and C names. 18011global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18012 18013# Transform the output of nm in a proper C declaration. 18014global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18015 18016# Transform the output of nm in a C name address pair. 18017global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18018 18019# Transform the output of nm in a C name address pair when lib prefix is needed. 18020global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18021 18022# Specify filename containing input files for \$NM. 18023nm_file_list_spec=$lt_nm_file_list_spec 18024 18025# The root where to search for dependent libraries,and in which our libraries should be installed. 18026lt_sysroot=$lt_sysroot 18027 18028# The name of the directory that contains temporary libtool files. 18029objdir=$objdir 18030 18031# Used to examine libraries when file_magic_cmd begins with "file". 18032MAGIC_CMD=$MAGIC_CMD 18033 18034# Must we lock files when doing compilation? 18035need_locks=$lt_need_locks 18036 18037# Manifest tool. 18038MANIFEST_TOOL=$lt_MANIFEST_TOOL 18039 18040# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18041DSYMUTIL=$lt_DSYMUTIL 18042 18043# Tool to change global to local symbols on Mac OS X. 18044NMEDIT=$lt_NMEDIT 18045 18046# Tool to manipulate fat objects and archives on Mac OS X. 18047LIPO=$lt_LIPO 18048 18049# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18050OTOOL=$lt_OTOOL 18051 18052# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18053OTOOL64=$lt_OTOOL64 18054 18055# Old archive suffix (normally "a"). 18056libext=$libext 18057 18058# Shared library suffix (normally ".so"). 18059shrext_cmds=$lt_shrext_cmds 18060 18061# The commands to extract the exported symbol list from a shared archive. 18062extract_expsyms_cmds=$lt_extract_expsyms_cmds 18063 18064# Variables whose values should be saved in libtool wrapper scripts and 18065# restored at link time. 18066variables_saved_for_relink=$lt_variables_saved_for_relink 18067 18068# Do we need the "lib" prefix for modules? 18069need_lib_prefix=$need_lib_prefix 18070 18071# Do we need a version for libraries? 18072need_version=$need_version 18073 18074# Library versioning type. 18075version_type=$version_type 18076 18077# Shared library runtime path variable. 18078runpath_var=$runpath_var 18079 18080# Shared library path variable. 18081shlibpath_var=$shlibpath_var 18082 18083# Is shlibpath searched before the hard-coded library search path? 18084shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18085 18086# Format of library name prefix. 18087libname_spec=$lt_libname_spec 18088 18089# List of archive names. First name is the real one, the rest are links. 18090# The last name is the one that the linker finds with -lNAME 18091library_names_spec=$lt_library_names_spec 18092 18093# The coded name of the library, if different from the real name. 18094soname_spec=$lt_soname_spec 18095 18096# Permission mode override for installation of shared libraries. 18097install_override_mode=$lt_install_override_mode 18098 18099# Command to use after installation of a shared archive. 18100postinstall_cmds=$lt_postinstall_cmds 18101 18102# Command to use after uninstallation of a shared archive. 18103postuninstall_cmds=$lt_postuninstall_cmds 18104 18105# Commands used to finish a libtool library installation in a directory. 18106finish_cmds=$lt_finish_cmds 18107 18108# As "finish_cmds", except a single script fragment to be evaled but 18109# not shown. 18110finish_eval=$lt_finish_eval 18111 18112# Whether we should hardcode library paths into libraries. 18113hardcode_into_libs=$hardcode_into_libs 18114 18115# Compile-time system search path for libraries. 18116sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18117 18118# Run-time system search path for libraries. 18119sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 18120 18121# Whether dlopen is supported. 18122dlopen_support=$enable_dlopen 18123 18124# Whether dlopen of programs is supported. 18125dlopen_self=$enable_dlopen_self 18126 18127# Whether dlopen of statically linked programs is supported. 18128dlopen_self_static=$enable_dlopen_self_static 18129 18130# Commands to strip libraries. 18131old_striplib=$lt_old_striplib 18132striplib=$lt_striplib 18133 18134 18135# The linker used to build libraries. 18136LD=$lt_LD 18137 18138# How to create reloadable object files. 18139reload_flag=$lt_reload_flag 18140reload_cmds=$lt_reload_cmds 18141 18142# Commands used to build an old-style archive. 18143old_archive_cmds=$lt_old_archive_cmds 18144 18145# A language specific compiler. 18146CC=$lt_compiler 18147 18148# Is the compiler the GNU compiler? 18149with_gcc=$GCC 18150 18151# Compiler flag to turn off builtin functions. 18152no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18153 18154# Additional compiler flags for building library objects. 18155pic_flag=$lt_lt_prog_compiler_pic 18156 18157# How to pass a linker flag through the compiler. 18158wl=$lt_lt_prog_compiler_wl 18159 18160# Compiler flag to prevent dynamic linking. 18161link_static_flag=$lt_lt_prog_compiler_static 18162 18163# Does compiler simultaneously support -c and -o options? 18164compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18165 18166# Whether or not to add -lc for building shared libraries. 18167build_libtool_need_lc=$archive_cmds_need_lc 18168 18169# Whether or not to disallow shared libs when runtime libs are static. 18170allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18171 18172# Compiler flag to allow reflexive dlopens. 18173export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18174 18175# Compiler flag to generate shared objects directly from archives. 18176whole_archive_flag_spec=$lt_whole_archive_flag_spec 18177 18178# Whether the compiler copes with passing no objects directly. 18179compiler_needs_object=$lt_compiler_needs_object 18180 18181# Create an old-style archive from a shared archive. 18182old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18183 18184# Create a temporary old-style archive to link instead of a shared archive. 18185old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18186 18187# Commands used to build a shared archive. 18188archive_cmds=$lt_archive_cmds 18189archive_expsym_cmds=$lt_archive_expsym_cmds 18190 18191# Commands used to build a loadable module if different from building 18192# a shared archive. 18193module_cmds=$lt_module_cmds 18194module_expsym_cmds=$lt_module_expsym_cmds 18195 18196# Whether we are building with GNU ld or not. 18197with_gnu_ld=$lt_with_gnu_ld 18198 18199# Flag that allows shared libraries with undefined symbols to be built. 18200allow_undefined_flag=$lt_allow_undefined_flag 18201 18202# Flag that enforces no undefined symbols. 18203no_undefined_flag=$lt_no_undefined_flag 18204 18205# Flag to hardcode \$libdir into a binary during linking. 18206# This must work even if \$libdir does not exist 18207hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18208 18209# Whether we need a single "-rpath" flag with a separated argument. 18210hardcode_libdir_separator=$lt_hardcode_libdir_separator 18211 18212# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18213# DIR into the resulting binary. 18214hardcode_direct=$hardcode_direct 18215 18216# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 18217# DIR into the resulting binary and the resulting library dependency is 18218# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 18219# library is relocated. 18220hardcode_direct_absolute=$hardcode_direct_absolute 18221 18222# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18223# into the resulting binary. 18224hardcode_minus_L=$hardcode_minus_L 18225 18226# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18227# into the resulting binary. 18228hardcode_shlibpath_var=$hardcode_shlibpath_var 18229 18230# Set to "yes" if building a shared library automatically hardcodes DIR 18231# into the library and all subsequent libraries and executables linked 18232# against it. 18233hardcode_automatic=$hardcode_automatic 18234 18235# Set to yes if linker adds runtime paths of dependent libraries 18236# to runtime path list. 18237inherit_rpath=$inherit_rpath 18238 18239# Whether libtool must link a program against all its dependency libraries. 18240link_all_deplibs=$link_all_deplibs 18241 18242# Set to "yes" if exported symbols are required. 18243always_export_symbols=$always_export_symbols 18244 18245# The commands to list exported symbols. 18246export_symbols_cmds=$lt_export_symbols_cmds 18247 18248# Symbols that should not be listed in the preloaded symbols. 18249exclude_expsyms=$lt_exclude_expsyms 18250 18251# Symbols that must always be exported. 18252include_expsyms=$lt_include_expsyms 18253 18254# Commands necessary for linking programs (against libraries) with templates. 18255prelink_cmds=$lt_prelink_cmds 18256 18257# Commands necessary for finishing linking programs. 18258postlink_cmds=$lt_postlink_cmds 18259 18260# Specify filename containing input files. 18261file_list_spec=$lt_file_list_spec 18262 18263# How to hardcode a shared library path into an executable. 18264hardcode_action=$hardcode_action 18265 18266# ### END LIBTOOL CONFIG 18267 18268_LT_EOF 18269 18270 case $host_os in 18271 aix3*) 18272 cat <<\_LT_EOF >> "$cfgfile" 18273# AIX sometimes has problems with the GCC collect2 program. For some 18274# reason, if we set the COLLECT_NAMES environment variable, the problems 18275# vanish in a puff of smoke. 18276if test "X${COLLECT_NAMES+set}" != Xset; then 18277 COLLECT_NAMES= 18278 export COLLECT_NAMES 18279fi 18280_LT_EOF 18281 ;; 18282 esac 18283 18284 18285ltmain="$ac_aux_dir/ltmain.sh" 18286 18287 18288 # We use sed instead of cat because bash on DJGPP gets confused if 18289 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18290 # text mode, it properly converts lines to CR/LF. This bash problem 18291 # is reportedly fixed, but why not run on old versions too? 18292 sed '$q' "$ltmain" >> "$cfgfile" \ 18293 || (rm -f "$cfgfile"; exit 1) 18294 18295 if test x"$xsi_shell" = xyes; then 18296 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 18297func_dirname ()\ 18298{\ 18299\ case ${1} in\ 18300\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18301\ * ) func_dirname_result="${3}" ;;\ 18302\ esac\ 18303} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 18304 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18306test 0 -eq $? || _lt_function_replace_fail=: 18307 18308 18309 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 18310func_basename ()\ 18311{\ 18312\ func_basename_result="${1##*/}"\ 18313} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18314 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18315 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18316test 0 -eq $? || _lt_function_replace_fail=: 18317 18318 18319 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 18320func_dirname_and_basename ()\ 18321{\ 18322\ case ${1} in\ 18323\ */*) func_dirname_result="${1%/*}${2}" ;;\ 18324\ * ) func_dirname_result="${3}" ;;\ 18325\ esac\ 18326\ func_basename_result="${1##*/}"\ 18327} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 18328 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18329 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18330test 0 -eq $? || _lt_function_replace_fail=: 18331 18332 18333 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 18334func_stripname ()\ 18335{\ 18336\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 18337\ # positional parameters, so assign one to ordinary parameter first.\ 18338\ func_stripname_result=${3}\ 18339\ func_stripname_result=${func_stripname_result#"${1}"}\ 18340\ func_stripname_result=${func_stripname_result%"${2}"}\ 18341} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 18342 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18343 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18344test 0 -eq $? || _lt_function_replace_fail=: 18345 18346 18347 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 18348func_split_long_opt ()\ 18349{\ 18350\ func_split_long_opt_name=${1%%=*}\ 18351\ func_split_long_opt_arg=${1#*=}\ 18352} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18353 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18354 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18355test 0 -eq $? || _lt_function_replace_fail=: 18356 18357 18358 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 18359func_split_short_opt ()\ 18360{\ 18361\ func_split_short_opt_arg=${1#??}\ 18362\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 18363} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 18364 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18365 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18366test 0 -eq $? || _lt_function_replace_fail=: 18367 18368 18369 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 18370func_lo2o ()\ 18371{\ 18372\ case ${1} in\ 18373\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 18374\ *) func_lo2o_result=${1} ;;\ 18375\ esac\ 18376} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 18377 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18378 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18379test 0 -eq $? || _lt_function_replace_fail=: 18380 18381 18382 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 18383func_xform ()\ 18384{\ 18385 func_xform_result=${1%.*}.lo\ 18386} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 18387 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18389test 0 -eq $? || _lt_function_replace_fail=: 18390 18391 18392 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 18393func_arith ()\ 18394{\ 18395 func_arith_result=$(( $* ))\ 18396} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 18397 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18399test 0 -eq $? || _lt_function_replace_fail=: 18400 18401 18402 sed -e '/^func_len ()$/,/^} # func_len /c\ 18403func_len ()\ 18404{\ 18405 func_len_result=${#1}\ 18406} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 18407 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18408 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18409test 0 -eq $? || _lt_function_replace_fail=: 18410 18411fi 18412 18413if test x"$lt_shell_append" = xyes; then 18414 sed -e '/^func_append ()$/,/^} # func_append /c\ 18415func_append ()\ 18416{\ 18417 eval "${1}+=\\${2}"\ 18418} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 18419 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18420 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18421test 0 -eq $? || _lt_function_replace_fail=: 18422 18423 18424 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 18425func_append_quoted ()\ 18426{\ 18427\ func_quote_for_eval "${2}"\ 18428\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 18429} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 18430 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18431 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18432test 0 -eq $? || _lt_function_replace_fail=: 18433 18434 18435 # Save a `func_append' function call where possible by direct use of '+=' 18436 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 18437 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18438 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18439 test 0 -eq $? || _lt_function_replace_fail=: 18440else 18441 # Save a `func_append' function call even when '+=' is not available 18442 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 18443 && mv -f "$cfgfile.tmp" "$cfgfile" \ 18444 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 18445 test 0 -eq $? || _lt_function_replace_fail=: 18446fi 18447 18448if test x"$_lt_function_replace_fail" = x":"; then 18449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 18450$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 18451fi 18452 18453 18454 mv -f "$cfgfile" "$ofile" || 18455 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18456 chmod +x "$ofile" 18457 18458 ;; 18459 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 18460 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 18461 esac ;; 18462 "po/stamp-it":C) 18463 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 18464 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 18465 fi 18466 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 18467 >"po/stamp-it.tmp" 18468 sed '/^#/d 18469 s/^[[].*] *// 18470 /^[ ]*$/d 18471 '"s|^| $ac_top_srcdir/|" \ 18472 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 18473 18474 sed '/^POTFILES =/,/[^\\]$/ { 18475 /^POTFILES =/!d 18476 r po/POTFILES 18477 } 18478 ' "po/Makefile.in" >"po/Makefile" 18479 rm -f "po/Makefile.tmp" 18480 mv "po/stamp-it.tmp" "po/stamp-it" 18481 ;; 18482 18483 esac 18484done # for ac_tag 18485 18486 18487as_fn_exit 0 18488_ACEOF 18489ac_clean_files=$ac_clean_files_save 18490 18491test $ac_write_fail = 0 || 18492 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18493 18494 18495# configure is writing to config.log, and then calls config.status. 18496# config.status does its own redirection, appending to config.log. 18497# Unfortunately, on DOS this fails, as config.log is still kept open 18498# by configure, so config.status won't be able to write to it; its 18499# output is simply discarded. So we exec the FD to /dev/null, 18500# effectively closing config.log, so it can be properly (re)opened and 18501# appended to by config.status. When coming back to configure, we 18502# need to make the FD available again. 18503if test "$no_create" != yes; then 18504 ac_cs_success=: 18505 ac_config_status_args= 18506 test "$silent" = yes && 18507 ac_config_status_args="$ac_config_status_args --quiet" 18508 exec 5>/dev/null 18509 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18510 exec 5>>config.log 18511 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18512 # would make configure fail if this is the last instruction. 18513 $ac_cs_success || as_fn_exit 1 18514fi 18515if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18517$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18518fi 18519 18520 18521