1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for murrine 0.98.2. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175 176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 PATH=/empty FPATH=/empty; export PATH FPATH 181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 183test \$(( 1 + 1 )) = 2 || exit 1" 184 if (eval "$as_required") 2>/dev/null; then : 185 as_have_required=yes 186else 187 as_have_required=no 188fi 189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 190 191else 192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 193as_found=false 194for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 195do 196 IFS=$as_save_IFS 197 test -z "$as_dir" && as_dir=. 198 as_found=: 199 case $as_dir in #( 200 /*) 201 for as_base in sh bash ksh sh5; do 202 # Try only shells that exist, to save several forks. 203 as_shell=$as_dir/$as_base 204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 206 CONFIG_SHELL=$as_shell as_have_required=yes 207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 208 break 2 209fi 210fi 211 done;; 212 esac 213 as_found=false 214done 215$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 217 CONFIG_SHELL=$SHELL as_have_required=yes 218fi; } 219IFS=$as_save_IFS 220 221 222 if test "x$CONFIG_SHELL" != x; then : 223 # We cannot yet assume a decent shell, so we have to provide a 224 # neutralization value for shells without unset; and this also 225 # works around shells that cannot unset nonexistent variables. 226 # Preserve -v and -x to the replacement shell. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 case $- in # (((( 232 *v*x* | *x*v* ) as_opts=-vx ;; 233 *v* ) as_opts=-v ;; 234 *x* ) as_opts=-x ;; 235 * ) as_opts= ;; 236 esac 237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 238fi 239 240 if test x$as_have_required = xno; then : 241 $as_echo "$0: This script requires a shell more modern than all" 242 $as_echo "$0: the shells that I found on your system." 243 if test x${ZSH_VERSION+set} = xset ; then 244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 245 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 246 else 247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 248$0: including any error possibly output before this 249$0: message. Then install a modern shell, or manually run 250$0: the script under such a shell if you do have one." 251 fi 252 exit 1 253fi 254fi 255fi 256SHELL=${CONFIG_SHELL-/bin/sh} 257export SHELL 258# Unset more variables known to interfere with behavior of common tools. 259CLICOLOR_FORCE= GREP_OPTIONS= 260unset CLICOLOR_FORCE GREP_OPTIONS 261 262## --------------------- ## 263## M4sh Shell Functions. ## 264## --------------------- ## 265# as_fn_unset VAR 266# --------------- 267# Portably unset VAR. 268as_fn_unset () 269{ 270 { eval $1=; unset $1;} 271} 272as_unset=as_fn_unset 273 274# as_fn_set_status STATUS 275# ----------------------- 276# Set $? to STATUS, without forking. 277as_fn_set_status () 278{ 279 return $1 280} # as_fn_set_status 281 282# as_fn_exit STATUS 283# ----------------- 284# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 285as_fn_exit () 286{ 287 set +e 288 as_fn_set_status $1 289 exit $1 290} # as_fn_exit 291 292# as_fn_mkdir_p 293# ------------- 294# Create "$as_dir" as a directory, including parents if necessary. 295as_fn_mkdir_p () 296{ 297 298 case $as_dir in #( 299 -*) as_dir=./$as_dir;; 300 esac 301 test -d "$as_dir" || eval $as_mkdir_p || { 302 as_dirs= 303 while :; do 304 case $as_dir in #( 305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 306 *) as_qdir=$as_dir;; 307 esac 308 as_dirs="'$as_qdir' $as_dirs" 309 as_dir=`$as_dirname -- "$as_dir" || 310$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 311 X"$as_dir" : 'X\(//\)[^/]' \| \ 312 X"$as_dir" : 'X\(//\)$' \| \ 313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 314$as_echo X"$as_dir" | 315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\/\)[^/].*/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\/\)$/{ 324 s//\1/ 325 q 326 } 327 /^X\(\/\).*/{ 328 s//\1/ 329 q 330 } 331 s/.*/./; q'` 332 test -d "$as_dir" && break 333 done 334 test -z "$as_dirs" || eval "mkdir $as_dirs" 335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 336 337 338} # as_fn_mkdir_p 339# as_fn_append VAR VALUE 340# ---------------------- 341# Append the text in VALUE to the end of the definition contained in VAR. Take 342# advantage of any shell optimizations that allow amortized linear growth over 343# repeated appends, instead of the typical quadratic growth present in naive 344# implementations. 345if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 346 eval 'as_fn_append () 347 { 348 eval $1+=\$2 349 }' 350else 351 as_fn_append () 352 { 353 eval $1=\$$1\$2 354 } 355fi # as_fn_append 356 357# as_fn_arith ARG... 358# ------------------ 359# Perform arithmetic evaluation on the ARGs, and store the result in the 360# global $as_val. Take advantage of shells that can avoid forks. The arguments 361# must be portable across $(()) and expr. 362if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 363 eval 'as_fn_arith () 364 { 365 as_val=$(( $* )) 366 }' 367else 368 as_fn_arith () 369 { 370 as_val=`expr "$@" || test $? -eq 1` 371 } 372fi # as_fn_arith 373 374 375# as_fn_error STATUS ERROR [LINENO LOG_FD] 376# ---------------------------------------- 377# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 378# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 379# script with STATUS, using 1 if that was 0. 380as_fn_error () 381{ 382 as_status=$1; test $as_status -eq 0 && as_status=1 383 if test "$4"; then 384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 386 fi 387 $as_echo "$as_me: error: $2" >&2 388 as_fn_exit $as_status 389} # as_fn_error 390 391if expr a : '\(a\)' >/dev/null 2>&1 && 392 test "X`expr 00001 : '.*\(...\)'`" = X001; then 393 as_expr=expr 394else 395 as_expr=false 396fi 397 398if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 399 as_basename=basename 400else 401 as_basename=false 402fi 403 404if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 405 as_dirname=dirname 406else 407 as_dirname=false 408fi 409 410as_me=`$as_basename -- "$0" || 411$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 412 X"$0" : 'X\(//\)$' \| \ 413 X"$0" : 'X\(/\)' \| . 2>/dev/null || 414$as_echo X/"$0" | 415 sed '/^.*\/\([^/][^/]*\)\/*$/{ 416 s//\1/ 417 q 418 } 419 /^X\/\(\/\/\)$/{ 420 s//\1/ 421 q 422 } 423 /^X\/\(\/\).*/{ 424 s//\1/ 425 q 426 } 427 s/.*/./; q'` 428 429# Avoid depending upon Character Ranges. 430as_cr_letters='abcdefghijklmnopqrstuvwxyz' 431as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 432as_cr_Letters=$as_cr_letters$as_cr_LETTERS 433as_cr_digits='0123456789' 434as_cr_alnum=$as_cr_Letters$as_cr_digits 435 436 437 as_lineno_1=$LINENO as_lineno_1a=$LINENO 438 as_lineno_2=$LINENO as_lineno_2a=$LINENO 439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 442 sed -n ' 443 p 444 /[$]LINENO/= 445 ' <$as_myself | 446 sed ' 447 s/[$]LINENO.*/&-/ 448 t lineno 449 b 450 :lineno 451 N 452 :loop 453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 454 t loop 455 s/-\n.*// 456 ' >$as_me.lineno && 457 chmod +x "$as_me.lineno" || 458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466} 467 468ECHO_C= ECHO_N= ECHO_T= 469case `echo -n x` in #((((( 470-n*) 471 case `echo 'xy\c'` in 472 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 473 xy) ECHO_C='\c';; 474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 475 ECHO_T=' ';; 476 esac;; 477*) 478 ECHO_N='-n';; 479esac 480 481rm -f conf$$ conf$$.exe conf$$.file 482if test -d conf$$.dir; then 483 rm -f conf$$.dir/conf$$.file 484else 485 rm -f conf$$.dir 486 mkdir conf$$.dir 2>/dev/null 487fi 488if (echo >conf$$.file) 2>/dev/null; then 489 if ln -s conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s='ln -s' 491 # ... but there are two gotchas: 492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 494 # In both cases, we have to default to `cp -p'. 495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 496 as_ln_s='cp -p' 497 elif ln conf$$.file conf$$ 2>/dev/null; then 498 as_ln_s=ln 499 else 500 as_ln_s='cp -p' 501 fi 502else 503 as_ln_s='cp -p' 504fi 505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506rmdir conf$$.dir 2>/dev/null 507 508if mkdir -p . 2>/dev/null; then 509 as_mkdir_p='mkdir -p "$as_dir"' 510else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513fi 514 515if test -x / >/dev/null 2>&1; then 516 as_test_x='test -x' 517else 518 if ls -dL / >/dev/null 2>&1; then 519 as_ls_L_option=L 520 else 521 as_ls_L_option= 522 fi 523 as_test_x=' 524 eval sh -c '\'' 525 if test -d "$1"; then 526 test -d "$1/."; 527 else 528 case $1 in #( 529 -*)set "./$1";; 530 esac; 531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 532 ???[sx]*):;;*)false;;esac;fi 533 '\'' sh 534 ' 535fi 536as_executable_p=$as_test_x 537 538# Sed expression to map a string onto a valid CPP name. 539as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 540 541# Sed expression to map a string onto a valid variable name. 542as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 543 544SHELL=${CONFIG_SHELL-/bin/sh} 545 546 547test -n "$DJDIR" || exec 7<&0 </dev/null 548exec 6>&1 549 550# Name of the host. 551# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 552# so uname gets run too. 553ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 554 555# 556# Initializations. 557# 558ac_default_prefix=/usr/local 559ac_clean_files= 560ac_config_libobj_dir=. 561LIBOBJS= 562cross_compiling=no 563subdirs= 564MFLAGS= 565MAKEFLAGS= 566 567# Identity of this package. 568PACKAGE_NAME='murrine' 569PACKAGE_TARNAME='murrine' 570PACKAGE_VERSION='0.98.2' 571PACKAGE_STRING='murrine 0.98.2' 572PACKAGE_BUGREPORT='' 573PACKAGE_URL='' 574 575ac_unique_file="README" 576# Factoring default headers for most tests. 577ac_includes_default="\ 578#include <stdio.h> 579#ifdef HAVE_SYS_TYPES_H 580# include <sys/types.h> 581#endif 582#ifdef HAVE_SYS_STAT_H 583# include <sys/stat.h> 584#endif 585#ifdef STDC_HEADERS 586# include <stdlib.h> 587# include <stddef.h> 588#else 589# ifdef HAVE_STDLIB_H 590# include <stdlib.h> 591# endif 592#endif 593#ifdef HAVE_STRING_H 594# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 595# include <memory.h> 596# endif 597# include <string.h> 598#endif 599#ifdef HAVE_STRINGS_H 600# include <strings.h> 601#endif 602#ifdef HAVE_INTTYPES_H 603# include <inttypes.h> 604#endif 605#ifdef HAVE_STDINT_H 606# include <stdint.h> 607#endif 608#ifdef HAVE_UNISTD_H 609# include <unistd.h> 610#endif" 611 612ac_subst_vars='am__EXEEXT_FALSE 613am__EXEEXT_TRUE 614LTLIBOBJS 615LIBOBJS 616BUILD_THEMES 617BUILD_ENGINES 618GTK_VERSION 619pixman_LIBS 620pixman_CFLAGS 621GTK_LIBS 622GTK_CFLAGS 623PKG_CONFIG_LIBDIR 624PKG_CONFIG_PATH 625PKG_CONFIG 626MKINSTALLDIRS 627POSUB 628POFILES 629PO_IN_DATADIR_FALSE 630PO_IN_DATADIR_TRUE 631INTLLIBS 632INSTOBJEXT 633GMOFILES 634CATOBJEXT 635CATALOGS 636MSGFMT_OPTS 637GETTEXT_PACKAGE 638DATADIRNAME 639ALL_LINGUAS 640INTLTOOL_PERL 641GMSGFMT 642MSGFMT 643MSGMERGE 644XGETTEXT 645INTLTOOL_POLICY_RULE 646INTLTOOL_SERVICE_RULE 647INTLTOOL_THEME_RULE 648INTLTOOL_SCHEMAS_RULE 649INTLTOOL_CAVES_RULE 650INTLTOOL_XML_NOMERGE_RULE 651INTLTOOL_XML_RULE 652INTLTOOL_KBD_RULE 653INTLTOOL_XAM_RULE 654INTLTOOL_UI_RULE 655INTLTOOL_SOUNDLIST_RULE 656INTLTOOL_SHEET_RULE 657INTLTOOL_SERVER_RULE 658INTLTOOL_PONG_RULE 659INTLTOOL_OAF_RULE 660INTLTOOL_PROP_RULE 661INTLTOOL_KEYS_RULE 662INTLTOOL_DIRECTORY_RULE 663INTLTOOL_DESKTOP_RULE 664INTLTOOL_EXTRACT 665INTLTOOL_MERGE 666INTLTOOL_UPDATE 667USE_NLS 668CPP 669OTOOL64 670OTOOL 671LIPO 672NMEDIT 673DSYMUTIL 674MANIFEST_TOOL 675RANLIB 676ac_ct_AR 677AR 678LN_S 679NM 680ac_ct_DUMPBIN 681DUMPBIN 682LD 683FGREP 684EGREP 685GREP 686SED 687LIBTOOL 688OBJDUMP 689DLLTOOL 690AS 691host_os 692host_vendor 693host_cpu 694host 695build_os 696build_vendor 697build_cpu 698build 699am__fastdepCC_FALSE 700am__fastdepCC_TRUE 701CCDEPMODE 702AMDEPBACKSLASH 703AMDEP_FALSE 704AMDEP_TRUE 705am__quote 706am__include 707DEPDIR 708OBJEXT 709EXEEXT 710ac_ct_CC 711CPPFLAGS 712LDFLAGS 713CFLAGS 714CC 715MAINT 716MAINTAINER_MODE_FALSE 717MAINTAINER_MODE_TRUE 718AM_BACKSLASH 719AM_DEFAULT_VERBOSITY 720am__untar 721am__tar 722AMTAR 723am__leading_dot 724SET_MAKE 725AWK 726mkdir_p 727MKDIR_P 728INSTALL_STRIP_PROGRAM 729STRIP 730install_sh 731MAKEINFO 732AUTOHEADER 733AUTOMAKE 734AUTOCONF 735ACLOCAL 736VERSION 737PACKAGE 738CYGPATH_W 739am__isrc 740INSTALL_DATA 741INSTALL_SCRIPT 742INSTALL_PROGRAM 743target_alias 744host_alias 745build_alias 746LIBS 747ECHO_T 748ECHO_N 749ECHO_C 750DEFS 751mandir 752localedir 753libdir 754psdir 755pdfdir 756dvidir 757htmldir 758infodir 759docdir 760oldincludedir 761includedir 762localstatedir 763sharedstatedir 764sysconfdir 765datadir 766datarootdir 767libexecdir 768sbindir 769bindir 770program_transform_name 771prefix 772exec_prefix 773PACKAGE_URL 774PACKAGE_BUGREPORT 775PACKAGE_STRING 776PACKAGE_VERSION 777PACKAGE_TARNAME 778PACKAGE_NAME 779PATH_SEPARATOR 780SHELL' 781ac_subst_files='' 782ac_user_opts=' 783enable_option_checking 784enable_silent_rules 785enable_maintainer_mode 786enable_dependency_tracking 787enable_static 788enable_shared 789with_pic 790enable_fast_install 791with_gnu_ld 792with_sysroot 793enable_libtool_lock 794enable_nls 795enable_animation 796enable_animationrtl 797enable_rgba 798' 799 ac_precious_vars='build_alias 800host_alias 801target_alias 802CC 803CFLAGS 804LDFLAGS 805LIBS 806CPPFLAGS 807CPP 808PKG_CONFIG 809PKG_CONFIG_PATH 810PKG_CONFIG_LIBDIR 811GTK_CFLAGS 812GTK_LIBS 813pixman_CFLAGS 814pixman_LIBS' 815 816 817# Initialize some variables set by options. 818ac_init_help= 819ac_init_version=false 820ac_unrecognized_opts= 821ac_unrecognized_sep= 822# The variables have the same names as the options, with 823# dashes changed to underlines. 824cache_file=/dev/null 825exec_prefix=NONE 826no_create= 827no_recursion= 828prefix=NONE 829program_prefix=NONE 830program_suffix=NONE 831program_transform_name=s,x,x, 832silent= 833site= 834srcdir= 835verbose= 836x_includes=NONE 837x_libraries=NONE 838 839# Installation directory options. 840# These are left unexpanded so users can "make install exec_prefix=/foo" 841# and all the variables that are supposed to be based on exec_prefix 842# by default will actually change. 843# Use braces instead of parens because sh, perl, etc. also accept them. 844# (The list follows the same order as the GNU Coding Standards.) 845bindir='${exec_prefix}/bin' 846sbindir='${exec_prefix}/sbin' 847libexecdir='${exec_prefix}/libexec' 848datarootdir='${prefix}/share' 849datadir='${datarootdir}' 850sysconfdir='${prefix}/etc' 851sharedstatedir='${prefix}/com' 852localstatedir='${prefix}/var' 853includedir='${prefix}/include' 854oldincludedir='/usr/include' 855docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 856infodir='${datarootdir}/info' 857htmldir='${docdir}' 858dvidir='${docdir}' 859pdfdir='${docdir}' 860psdir='${docdir}' 861libdir='${exec_prefix}/lib' 862localedir='${datarootdir}/locale' 863mandir='${datarootdir}/man' 864 865ac_prev= 866ac_dashdash= 867for ac_option 868do 869 # If the previous option needs an argument, assign it. 870 if test -n "$ac_prev"; then 871 eval $ac_prev=\$ac_option 872 ac_prev= 873 continue 874 fi 875 876 case $ac_option in 877 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 878 *=) ac_optarg= ;; 879 *) ac_optarg=yes ;; 880 esac 881 882 # Accept the important Cygnus configure options, so we can diagnose typos. 883 884 case $ac_dashdash$ac_option in 885 --) 886 ac_dashdash=yes ;; 887 888 -bindir | --bindir | --bindi | --bind | --bin | --bi) 889 ac_prev=bindir ;; 890 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 891 bindir=$ac_optarg ;; 892 893 -build | --build | --buil | --bui | --bu) 894 ac_prev=build_alias ;; 895 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 896 build_alias=$ac_optarg ;; 897 898 -cache-file | --cache-file | --cache-fil | --cache-fi \ 899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 900 ac_prev=cache_file ;; 901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 903 cache_file=$ac_optarg ;; 904 905 --config-cache | -C) 906 cache_file=config.cache ;; 907 908 -datadir | --datadir | --datadi | --datad) 909 ac_prev=datadir ;; 910 -datadir=* | --datadir=* | --datadi=* | --datad=*) 911 datadir=$ac_optarg ;; 912 913 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 914 | --dataroo | --dataro | --datar) 915 ac_prev=datarootdir ;; 916 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 917 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 918 datarootdir=$ac_optarg ;; 919 920 -disable-* | --disable-*) 921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 922 # Reject names that are not valid shell variable names. 923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 924 as_fn_error $? "invalid feature name: $ac_useropt" 925 ac_useropt_orig=$ac_useropt 926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 927 case $ac_user_opts in 928 *" 929"enable_$ac_useropt" 930"*) ;; 931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 932 ac_unrecognized_sep=', ';; 933 esac 934 eval enable_$ac_useropt=no ;; 935 936 -docdir | --docdir | --docdi | --doc | --do) 937 ac_prev=docdir ;; 938 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 939 docdir=$ac_optarg ;; 940 941 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 942 ac_prev=dvidir ;; 943 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 944 dvidir=$ac_optarg ;; 945 946 -enable-* | --enable-*) 947 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 948 # Reject names that are not valid shell variable names. 949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 950 as_fn_error $? "invalid feature name: $ac_useropt" 951 ac_useropt_orig=$ac_useropt 952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 953 case $ac_user_opts in 954 *" 955"enable_$ac_useropt" 956"*) ;; 957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 958 ac_unrecognized_sep=', ';; 959 esac 960 eval enable_$ac_useropt=\$ac_optarg ;; 961 962 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 963 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 964 | --exec | --exe | --ex) 965 ac_prev=exec_prefix ;; 966 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 967 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 968 | --exec=* | --exe=* | --ex=*) 969 exec_prefix=$ac_optarg ;; 970 971 -gas | --gas | --ga | --g) 972 # Obsolete; use --with-gas. 973 with_gas=yes ;; 974 975 -help | --help | --hel | --he | -h) 976 ac_init_help=long ;; 977 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 978 ac_init_help=recursive ;; 979 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 980 ac_init_help=short ;; 981 982 -host | --host | --hos | --ho) 983 ac_prev=host_alias ;; 984 -host=* | --host=* | --hos=* | --ho=*) 985 host_alias=$ac_optarg ;; 986 987 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 988 ac_prev=htmldir ;; 989 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 990 | --ht=*) 991 htmldir=$ac_optarg ;; 992 993 -includedir | --includedir | --includedi | --included | --include \ 994 | --includ | --inclu | --incl | --inc) 995 ac_prev=includedir ;; 996 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 997 | --includ=* | --inclu=* | --incl=* | --inc=*) 998 includedir=$ac_optarg ;; 999 1000 -infodir | --infodir | --infodi | --infod | --info | --inf) 1001 ac_prev=infodir ;; 1002 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1003 infodir=$ac_optarg ;; 1004 1005 -libdir | --libdir | --libdi | --libd) 1006 ac_prev=libdir ;; 1007 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1008 libdir=$ac_optarg ;; 1009 1010 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1011 | --libexe | --libex | --libe) 1012 ac_prev=libexecdir ;; 1013 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1014 | --libexe=* | --libex=* | --libe=*) 1015 libexecdir=$ac_optarg ;; 1016 1017 -localedir | --localedir | --localedi | --localed | --locale) 1018 ac_prev=localedir ;; 1019 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1020 localedir=$ac_optarg ;; 1021 1022 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1023 | --localstate | --localstat | --localsta | --localst | --locals) 1024 ac_prev=localstatedir ;; 1025 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1026 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1027 localstatedir=$ac_optarg ;; 1028 1029 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1030 ac_prev=mandir ;; 1031 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1032 mandir=$ac_optarg ;; 1033 1034 -nfp | --nfp | --nf) 1035 # Obsolete; use --without-fp. 1036 with_fp=no ;; 1037 1038 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1039 | --no-cr | --no-c | -n) 1040 no_create=yes ;; 1041 1042 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1043 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1044 no_recursion=yes ;; 1045 1046 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1047 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1048 | --oldin | --oldi | --old | --ol | --o) 1049 ac_prev=oldincludedir ;; 1050 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1051 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1052 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1053 oldincludedir=$ac_optarg ;; 1054 1055 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1056 ac_prev=prefix ;; 1057 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1058 prefix=$ac_optarg ;; 1059 1060 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1061 | --program-pre | --program-pr | --program-p) 1062 ac_prev=program_prefix ;; 1063 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1064 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1065 program_prefix=$ac_optarg ;; 1066 1067 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1068 | --program-suf | --program-su | --program-s) 1069 ac_prev=program_suffix ;; 1070 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1071 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1072 program_suffix=$ac_optarg ;; 1073 1074 -program-transform-name | --program-transform-name \ 1075 | --program-transform-nam | --program-transform-na \ 1076 | --program-transform-n | --program-transform- \ 1077 | --program-transform | --program-transfor \ 1078 | --program-transfo | --program-transf \ 1079 | --program-trans | --program-tran \ 1080 | --progr-tra | --program-tr | --program-t) 1081 ac_prev=program_transform_name ;; 1082 -program-transform-name=* | --program-transform-name=* \ 1083 | --program-transform-nam=* | --program-transform-na=* \ 1084 | --program-transform-n=* | --program-transform-=* \ 1085 | --program-transform=* | --program-transfor=* \ 1086 | --program-transfo=* | --program-transf=* \ 1087 | --program-trans=* | --program-tran=* \ 1088 | --progr-tra=* | --program-tr=* | --program-t=*) 1089 program_transform_name=$ac_optarg ;; 1090 1091 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1092 ac_prev=pdfdir ;; 1093 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1094 pdfdir=$ac_optarg ;; 1095 1096 -psdir | --psdir | --psdi | --psd | --ps) 1097 ac_prev=psdir ;; 1098 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1099 psdir=$ac_optarg ;; 1100 1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1102 | -silent | --silent | --silen | --sile | --sil) 1103 silent=yes ;; 1104 1105 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1106 ac_prev=sbindir ;; 1107 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1108 | --sbi=* | --sb=*) 1109 sbindir=$ac_optarg ;; 1110 1111 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1112 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1113 | --sharedst | --shareds | --shared | --share | --shar \ 1114 | --sha | --sh) 1115 ac_prev=sharedstatedir ;; 1116 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1117 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1118 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1119 | --sha=* | --sh=*) 1120 sharedstatedir=$ac_optarg ;; 1121 1122 -site | --site | --sit) 1123 ac_prev=site ;; 1124 -site=* | --site=* | --sit=*) 1125 site=$ac_optarg ;; 1126 1127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1128 ac_prev=srcdir ;; 1129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1130 srcdir=$ac_optarg ;; 1131 1132 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1133 | --syscon | --sysco | --sysc | --sys | --sy) 1134 ac_prev=sysconfdir ;; 1135 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1136 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1137 sysconfdir=$ac_optarg ;; 1138 1139 -target | --target | --targe | --targ | --tar | --ta | --t) 1140 ac_prev=target_alias ;; 1141 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1142 target_alias=$ac_optarg ;; 1143 1144 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1145 verbose=yes ;; 1146 1147 -version | --version | --versio | --versi | --vers | -V) 1148 ac_init_version=: ;; 1149 1150 -with-* | --with-*) 1151 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1152 # Reject names that are not valid shell variable names. 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 as_fn_error $? "invalid package name: $ac_useropt" 1155 ac_useropt_orig=$ac_useropt 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 case $ac_user_opts in 1158 *" 1159"with_$ac_useropt" 1160"*) ;; 1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1162 ac_unrecognized_sep=', ';; 1163 esac 1164 eval with_$ac_useropt=\$ac_optarg ;; 1165 1166 -without-* | --without-*) 1167 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1168 # Reject names that are not valid shell variable names. 1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1170 as_fn_error $? "invalid package name: $ac_useropt" 1171 ac_useropt_orig=$ac_useropt 1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1173 case $ac_user_opts in 1174 *" 1175"with_$ac_useropt" 1176"*) ;; 1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1178 ac_unrecognized_sep=', ';; 1179 esac 1180 eval with_$ac_useropt=no ;; 1181 1182 --x) 1183 # Obsolete; use --with-x. 1184 with_x=yes ;; 1185 1186 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1187 | --x-incl | --x-inc | --x-in | --x-i) 1188 ac_prev=x_includes ;; 1189 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1190 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1191 x_includes=$ac_optarg ;; 1192 1193 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1194 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1195 ac_prev=x_libraries ;; 1196 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1197 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1198 x_libraries=$ac_optarg ;; 1199 1200 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1201Try \`$0 --help' for more information" 1202 ;; 1203 1204 *=*) 1205 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1206 # Reject names that are not valid shell variable names. 1207 case $ac_envvar in #( 1208 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1209 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1210 esac 1211 eval $ac_envvar=\$ac_optarg 1212 export $ac_envvar ;; 1213 1214 *) 1215 # FIXME: should be removed in autoconf 3.0. 1216 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1218 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1219 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1220 ;; 1221 1222 esac 1223done 1224 1225if test -n "$ac_prev"; then 1226 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1227 as_fn_error $? "missing argument to $ac_option" 1228fi 1229 1230if test -n "$ac_unrecognized_opts"; then 1231 case $enable_option_checking in 1232 no) ;; 1233 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1234 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1235 esac 1236fi 1237 1238# Check all directory arguments for consistency. 1239for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1240 datadir sysconfdir sharedstatedir localstatedir includedir \ 1241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1242 libdir localedir mandir 1243do 1244 eval ac_val=\$$ac_var 1245 # Remove trailing slashes. 1246 case $ac_val in 1247 */ ) 1248 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1249 eval $ac_var=\$ac_val;; 1250 esac 1251 # Be sure to have absolute directory names. 1252 case $ac_val in 1253 [\\/$]* | ?:[\\/]* ) continue;; 1254 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1255 esac 1256 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1257done 1258 1259# There might be people who depend on the old broken behavior: `$host' 1260# used to hold the argument of --host etc. 1261# FIXME: To remove some day. 1262build=$build_alias 1263host=$host_alias 1264target=$target_alias 1265 1266# FIXME: To remove some day. 1267if test "x$host_alias" != x; then 1268 if test "x$build_alias" = x; then 1269 cross_compiling=maybe 1270 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1271 If a cross compiler is detected then cross compile mode will be used" >&2 1272 elif test "x$build_alias" != "x$host_alias"; then 1273 cross_compiling=yes 1274 fi 1275fi 1276 1277ac_tool_prefix= 1278test -n "$host_alias" && ac_tool_prefix=$host_alias- 1279 1280test "$silent" = yes && exec 6>/dev/null 1281 1282 1283ac_pwd=`pwd` && test -n "$ac_pwd" && 1284ac_ls_di=`ls -di .` && 1285ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1286 as_fn_error $? "working directory cannot be determined" 1287test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1288 as_fn_error $? "pwd does not report name of working directory" 1289 1290 1291# Find the source files, if location was not specified. 1292if test -z "$srcdir"; then 1293 ac_srcdir_defaulted=yes 1294 # Try the directory containing this script, then the parent directory. 1295 ac_confdir=`$as_dirname -- "$as_myself" || 1296$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1297 X"$as_myself" : 'X\(//\)[^/]' \| \ 1298 X"$as_myself" : 'X\(//\)$' \| \ 1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1300$as_echo X"$as_myself" | 1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\/\)[^/].*/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)$/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\).*/{ 1314 s//\1/ 1315 q 1316 } 1317 s/.*/./; q'` 1318 srcdir=$ac_confdir 1319 if test ! -r "$srcdir/$ac_unique_file"; then 1320 srcdir=.. 1321 fi 1322else 1323 ac_srcdir_defaulted=no 1324fi 1325if test ! -r "$srcdir/$ac_unique_file"; then 1326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1328fi 1329ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1330ac_abs_confdir=`( 1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1332 pwd)` 1333# When building in place, set srcdir=. 1334if test "$ac_abs_confdir" = "$ac_pwd"; then 1335 srcdir=. 1336fi 1337# Remove unnecessary trailing slashes from srcdir. 1338# Double slashes in file names in object file debugging info 1339# mess up M-x gdb in Emacs. 1340case $srcdir in 1341*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1342esac 1343for ac_var in $ac_precious_vars; do 1344 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1345 eval ac_env_${ac_var}_value=\$${ac_var} 1346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1347 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1348done 1349 1350# 1351# Report the --help message. 1352# 1353if test "$ac_init_help" = "long"; then 1354 # Omit some internal or obsolete options to make the list less imposing. 1355 # This message is too long to be a string in the A/UX 3.1 sh. 1356 cat <<_ACEOF 1357\`configure' configures murrine 0.98.2 to adapt to many kinds of systems. 1358 1359Usage: $0 [OPTION]... [VAR=VALUE]... 1360 1361To assign environment variables (e.g., CC, CFLAGS...), specify them as 1362VAR=VALUE. See below for descriptions of some of the useful variables. 1363 1364Defaults for the options are specified in brackets. 1365 1366Configuration: 1367 -h, --help display this help and exit 1368 --help=short display options specific to this package 1369 --help=recursive display the short help of all the included packages 1370 -V, --version display version information and exit 1371 -q, --quiet, --silent do not print \`checking ...' messages 1372 --cache-file=FILE cache test results in FILE [disabled] 1373 -C, --config-cache alias for \`--cache-file=config.cache' 1374 -n, --no-create do not create output files 1375 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1376 1377Installation directories: 1378 --prefix=PREFIX install architecture-independent files in PREFIX 1379 [$ac_default_prefix] 1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1381 [PREFIX] 1382 1383By default, \`make install' will install all the files in 1384\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1385an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1386for instance \`--prefix=\$HOME'. 1387 1388For better control, use the options below. 1389 1390Fine tuning of the installation directories: 1391 --bindir=DIR user executables [EPREFIX/bin] 1392 --sbindir=DIR system admin executables [EPREFIX/sbin] 1393 --libexecdir=DIR program executables [EPREFIX/libexec] 1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1397 --libdir=DIR object code libraries [EPREFIX/lib] 1398 --includedir=DIR C header files [PREFIX/include] 1399 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1402 --infodir=DIR info documentation [DATAROOTDIR/info] 1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1404 --mandir=DIR man documentation [DATAROOTDIR/man] 1405 --docdir=DIR documentation root [DATAROOTDIR/doc/murrine] 1406 --htmldir=DIR html documentation [DOCDIR] 1407 --dvidir=DIR dvi documentation [DOCDIR] 1408 --pdfdir=DIR pdf documentation [DOCDIR] 1409 --psdir=DIR ps documentation [DOCDIR] 1410_ACEOF 1411 1412 cat <<\_ACEOF 1413 1414Program names: 1415 --program-prefix=PREFIX prepend PREFIX to installed program names 1416 --program-suffix=SUFFIX append SUFFIX to installed program names 1417 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1418 1419System types: 1420 --build=BUILD configure for building on BUILD [guessed] 1421 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1422_ACEOF 1423fi 1424 1425if test -n "$ac_init_help"; then 1426 case $ac_init_help in 1427 short | recursive ) echo "Configuration of murrine 0.98.2:";; 1428 esac 1429 cat <<\_ACEOF 1430 1431Optional Features: 1432 --disable-option-checking ignore unrecognized --enable/--with options 1433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1435 --enable-silent-rules less verbose build output (undo: `make V=1') 1436 --disable-silent-rules verbose build output (undo: `make V=0') 1437 --enable-maintainer-mode enable make rules and dependencies not useful 1438 (and sometimes confusing) to the casual installer 1439 --disable-dependency-tracking speeds up one-time build 1440 --enable-dependency-tracking do not reject slow dependency extractors 1441 --enable-static[=PKGS] build static libraries [default=no] 1442 --enable-shared[=PKGS] build shared libraries [default=yes] 1443 --enable-fast-install[=PKGS] 1444 optimize for fast installation [default=yes] 1445 --disable-libtool-lock avoid locking (might break parallel builds) 1446 --disable-nls do not use Native Language Support 1447 --enable-animation compile murrine with animation support 1448 --enable-animationrtl compile murrine with progressbar animation from right to left 1449 --disable-rgba compile murrine without rgba support 1450 1451Optional Packages: 1452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1454 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1455 both] 1456 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1457 --with-sysroot=DIR Search for dependent libraries within DIR 1458 (or the compiler's sysroot if not specified). 1459 1460Some influential environment variables: 1461 CC C compiler command 1462 CFLAGS C compiler flags 1463 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1464 nonstandard directory <lib dir> 1465 LIBS libraries to pass to the linker, e.g. -l<library> 1466 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1467 you have headers in a nonstandard directory <include dir> 1468 CPP C preprocessor 1469 PKG_CONFIG path to pkg-config utility 1470 PKG_CONFIG_PATH 1471 directories to add to pkg-config's search path 1472 PKG_CONFIG_LIBDIR 1473 path overriding pkg-config's built-in search path 1474 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1475 GTK_LIBS linker flags for GTK, overriding pkg-config 1476 pixman_CFLAGS 1477 C compiler flags for pixman, overriding pkg-config 1478 pixman_LIBS linker flags for pixman, overriding pkg-config 1479 1480Use these variables to override the choices made by `configure' or to help 1481it to find libraries and programs with nonstandard names/locations. 1482 1483Report bugs to the package provider. 1484_ACEOF 1485ac_status=$? 1486fi 1487 1488if test "$ac_init_help" = "recursive"; then 1489 # If there are subdirs, report their specific --help. 1490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1491 test -d "$ac_dir" || 1492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1493 continue 1494 ac_builddir=. 1495 1496case "$ac_dir" in 1497.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1498*) 1499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1500 # A ".." for each directory in $ac_dir_suffix. 1501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1502 case $ac_top_builddir_sub in 1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1505 esac ;; 1506esac 1507ac_abs_top_builddir=$ac_pwd 1508ac_abs_builddir=$ac_pwd$ac_dir_suffix 1509# for backward compatibility: 1510ac_top_builddir=$ac_top_build_prefix 1511 1512case $srcdir in 1513 .) # We are building in place. 1514 ac_srcdir=. 1515 ac_top_srcdir=$ac_top_builddir_sub 1516 ac_abs_top_srcdir=$ac_pwd ;; 1517 [\\/]* | ?:[\\/]* ) # Absolute name. 1518 ac_srcdir=$srcdir$ac_dir_suffix; 1519 ac_top_srcdir=$srcdir 1520 ac_abs_top_srcdir=$srcdir ;; 1521 *) # Relative name. 1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1523 ac_top_srcdir=$ac_top_build_prefix$srcdir 1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1525esac 1526ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1527 1528 cd "$ac_dir" || { ac_status=$?; continue; } 1529 # Check for guested configure. 1530 if test -f "$ac_srcdir/configure.gnu"; then 1531 echo && 1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1533 elif test -f "$ac_srcdir/configure"; then 1534 echo && 1535 $SHELL "$ac_srcdir/configure" --help=recursive 1536 else 1537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1538 fi || ac_status=$? 1539 cd "$ac_pwd" || { ac_status=$?; break; } 1540 done 1541fi 1542 1543test -n "$ac_init_help" && exit $ac_status 1544if $ac_init_version; then 1545 cat <<\_ACEOF 1546murrine configure 0.98.2 1547generated by GNU Autoconf 2.68 1548 1549Copyright (C) 2010 Free Software Foundation, Inc. 1550This configure script is free software; the Free Software Foundation 1551gives unlimited permission to copy, distribute and modify it. 1552_ACEOF 1553 exit 1554fi 1555 1556## ------------------------ ## 1557## Autoconf initialization. ## 1558## ------------------------ ## 1559 1560# ac_fn_c_try_compile LINENO 1561# -------------------------- 1562# Try to compile conftest.$ac_ext, and return whether this succeeded. 1563ac_fn_c_try_compile () 1564{ 1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1566 rm -f conftest.$ac_objext 1567 if { { ac_try="$ac_compile" 1568case "(($ac_try" in 1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1570 *) ac_try_echo=$ac_try;; 1571esac 1572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1573$as_echo "$ac_try_echo"; } >&5 1574 (eval "$ac_compile") 2>conftest.err 1575 ac_status=$? 1576 if test -s conftest.err; then 1577 grep -v '^ *+' conftest.err >conftest.er1 1578 cat conftest.er1 >&5 1579 mv -f conftest.er1 conftest.err 1580 fi 1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1582 test $ac_status = 0; } && { 1583 test -z "$ac_c_werror_flag" || 1584 test ! -s conftest.err 1585 } && test -s conftest.$ac_objext; then : 1586 ac_retval=0 1587else 1588 $as_echo "$as_me: failed program was:" >&5 1589sed 's/^/| /' conftest.$ac_ext >&5 1590 1591 ac_retval=1 1592fi 1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1594 as_fn_set_status $ac_retval 1595 1596} # ac_fn_c_try_compile 1597 1598# ac_fn_c_try_link LINENO 1599# ----------------------- 1600# Try to link conftest.$ac_ext, and return whether this succeeded. 1601ac_fn_c_try_link () 1602{ 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 rm -f conftest.$ac_objext conftest$ac_exeext 1605 if { { ac_try="$ac_link" 1606case "(($ac_try" in 1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1608 *) ac_try_echo=$ac_try;; 1609esac 1610eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1611$as_echo "$ac_try_echo"; } >&5 1612 (eval "$ac_link") 2>conftest.err 1613 ac_status=$? 1614 if test -s conftest.err; then 1615 grep -v '^ *+' conftest.err >conftest.er1 1616 cat conftest.er1 >&5 1617 mv -f conftest.er1 conftest.err 1618 fi 1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1620 test $ac_status = 0; } && { 1621 test -z "$ac_c_werror_flag" || 1622 test ! -s conftest.err 1623 } && test -s conftest$ac_exeext && { 1624 test "$cross_compiling" = yes || 1625 $as_test_x conftest$ac_exeext 1626 }; then : 1627 ac_retval=0 1628else 1629 $as_echo "$as_me: failed program was:" >&5 1630sed 's/^/| /' conftest.$ac_ext >&5 1631 1632 ac_retval=1 1633fi 1634 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1635 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1636 # interfere with the next link command; also delete a directory that is 1637 # left behind by Apple's compiler. We do this before executing the actions. 1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1640 as_fn_set_status $ac_retval 1641 1642} # ac_fn_c_try_link 1643 1644# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1645# ------------------------------------------------------- 1646# Tests whether HEADER exists and can be compiled using the include files in 1647# INCLUDES, setting the cache variable VAR accordingly. 1648ac_fn_c_check_header_compile () 1649{ 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1652$as_echo_n "checking for $2... " >&6; } 1653if eval \${$3+:} false; then : 1654 $as_echo_n "(cached) " >&6 1655else 1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1657/* end confdefs.h. */ 1658$4 1659#include <$2> 1660_ACEOF 1661if ac_fn_c_try_compile "$LINENO"; then : 1662 eval "$3=yes" 1663else 1664 eval "$3=no" 1665fi 1666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1667fi 1668eval ac_res=\$$3 1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1670$as_echo "$ac_res" >&6; } 1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 1673} # ac_fn_c_check_header_compile 1674 1675# ac_fn_c_try_cpp LINENO 1676# ---------------------- 1677# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1678ac_fn_c_try_cpp () 1679{ 1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1681 if { { ac_try="$ac_cpp conftest.$ac_ext" 1682case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685esac 1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687$as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1689 ac_status=$? 1690 if test -s conftest.err; then 1691 grep -v '^ *+' conftest.err >conftest.er1 1692 cat conftest.er1 >&5 1693 mv -f conftest.er1 conftest.err 1694 fi 1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1696 test $ac_status = 0; } > conftest.i && { 1697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1698 test ! -s conftest.err 1699 }; then : 1700 ac_retval=0 1701else 1702 $as_echo "$as_me: failed program was:" >&5 1703sed 's/^/| /' conftest.$ac_ext >&5 1704 1705 ac_retval=1 1706fi 1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1708 as_fn_set_status $ac_retval 1709 1710} # ac_fn_c_try_cpp 1711 1712# ac_fn_c_try_run LINENO 1713# ---------------------- 1714# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1715# that executables *can* be run. 1716ac_fn_c_try_run () 1717{ 1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 if { { ac_try="$ac_link" 1720case "(($ac_try" in 1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1722 *) ac_try_echo=$ac_try;; 1723esac 1724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1725$as_echo "$ac_try_echo"; } >&5 1726 (eval "$ac_link") 2>&5 1727 ac_status=$? 1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1730 { { case "(($ac_try" in 1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1732 *) ac_try_echo=$ac_try;; 1733esac 1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1735$as_echo "$ac_try_echo"; } >&5 1736 (eval "$ac_try") 2>&5 1737 ac_status=$? 1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1739 test $ac_status = 0; }; }; then : 1740 ac_retval=0 1741else 1742 $as_echo "$as_me: program exited with status $ac_status" >&5 1743 $as_echo "$as_me: failed program was:" >&5 1744sed 's/^/| /' conftest.$ac_ext >&5 1745 1746 ac_retval=$ac_status 1747fi 1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1750 as_fn_set_status $ac_retval 1751 1752} # ac_fn_c_try_run 1753 1754# ac_fn_c_check_func LINENO FUNC VAR 1755# ---------------------------------- 1756# Tests whether FUNC exists, setting the cache variable VAR accordingly 1757ac_fn_c_check_func () 1758{ 1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1761$as_echo_n "checking for $2... " >&6; } 1762if eval \${$3+:} false; then : 1763 $as_echo_n "(cached) " >&6 1764else 1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1766/* end confdefs.h. */ 1767/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1768 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1769#define $2 innocuous_$2 1770 1771/* System header to define __stub macros and hopefully few prototypes, 1772 which can conflict with char $2 (); below. 1773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1774 <limits.h> exists even on freestanding compilers. */ 1775 1776#ifdef __STDC__ 1777# include <limits.h> 1778#else 1779# include <assert.h> 1780#endif 1781 1782#undef $2 1783 1784/* Override any GCC internal prototype to avoid an error. 1785 Use char because int might match the return type of a GCC 1786 builtin and then its argument prototype would still apply. */ 1787#ifdef __cplusplus 1788extern "C" 1789#endif 1790char $2 (); 1791/* The GNU C library defines this for functions which it implements 1792 to always fail with ENOSYS. Some functions are actually named 1793 something starting with __ and the normal name is an alias. */ 1794#if defined __stub_$2 || defined __stub___$2 1795choke me 1796#endif 1797 1798int 1799main () 1800{ 1801return $2 (); 1802 ; 1803 return 0; 1804} 1805_ACEOF 1806if ac_fn_c_try_link "$LINENO"; then : 1807 eval "$3=yes" 1808else 1809 eval "$3=no" 1810fi 1811rm -f core conftest.err conftest.$ac_objext \ 1812 conftest$ac_exeext conftest.$ac_ext 1813fi 1814eval ac_res=\$$3 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1816$as_echo "$ac_res" >&6; } 1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1818 1819} # ac_fn_c_check_func 1820 1821# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1822# ------------------------------------------------------- 1823# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1824# the include files in INCLUDES and setting the cache variable VAR 1825# accordingly. 1826ac_fn_c_check_header_mongrel () 1827{ 1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1829 if eval \${$3+:} false; then : 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831$as_echo_n "checking for $2... " >&6; } 1832if eval \${$3+:} false; then : 1833 $as_echo_n "(cached) " >&6 1834fi 1835eval ac_res=\$$3 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1837$as_echo "$ac_res" >&6; } 1838else 1839 # Is the header compilable? 1840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1841$as_echo_n "checking $2 usability... " >&6; } 1842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843/* end confdefs.h. */ 1844$4 1845#include <$2> 1846_ACEOF 1847if ac_fn_c_try_compile "$LINENO"; then : 1848 ac_header_compiler=yes 1849else 1850 ac_header_compiler=no 1851fi 1852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1854$as_echo "$ac_header_compiler" >&6; } 1855 1856# Is the header present? 1857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1858$as_echo_n "checking $2 presence... " >&6; } 1859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1860/* end confdefs.h. */ 1861#include <$2> 1862_ACEOF 1863if ac_fn_c_try_cpp "$LINENO"; then : 1864 ac_header_preproc=yes 1865else 1866 ac_header_preproc=no 1867fi 1868rm -f conftest.err conftest.i conftest.$ac_ext 1869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1870$as_echo "$ac_header_preproc" >&6; } 1871 1872# So? What about this header? 1873case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1874 yes:no: ) 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1876$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1878$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1879 ;; 1880 no:yes:* ) 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1882$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1884$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1886$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1888$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1890$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1891 ;; 1892esac 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1894$as_echo_n "checking for $2... " >&6; } 1895if eval \${$3+:} false; then : 1896 $as_echo_n "(cached) " >&6 1897else 1898 eval "$3=\$ac_header_compiler" 1899fi 1900eval ac_res=\$$3 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1902$as_echo "$ac_res" >&6; } 1903fi 1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1905 1906} # ac_fn_c_check_header_mongrel 1907cat >config.log <<_ACEOF 1908This file contains any messages produced by compilers while 1909running configure, to aid debugging if configure makes a mistake. 1910 1911It was created by murrine $as_me 0.98.2, which was 1912generated by GNU Autoconf 2.68. Invocation command line was 1913 1914 $ $0 $@ 1915 1916_ACEOF 1917exec 5>>config.log 1918{ 1919cat <<_ASUNAME 1920## --------- ## 1921## Platform. ## 1922## --------- ## 1923 1924hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1925uname -m = `(uname -m) 2>/dev/null || echo unknown` 1926uname -r = `(uname -r) 2>/dev/null || echo unknown` 1927uname -s = `(uname -s) 2>/dev/null || echo unknown` 1928uname -v = `(uname -v) 2>/dev/null || echo unknown` 1929 1930/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1931/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1932 1933/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1934/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1935/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1936/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1937/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1938/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1939/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1940 1941_ASUNAME 1942 1943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1944for as_dir in $PATH 1945do 1946 IFS=$as_save_IFS 1947 test -z "$as_dir" && as_dir=. 1948 $as_echo "PATH: $as_dir" 1949 done 1950IFS=$as_save_IFS 1951 1952} >&5 1953 1954cat >&5 <<_ACEOF 1955 1956 1957## ----------- ## 1958## Core tests. ## 1959## ----------- ## 1960 1961_ACEOF 1962 1963 1964# Keep a trace of the command line. 1965# Strip out --no-create and --no-recursion so they do not pile up. 1966# Strip out --silent because we don't want to record it for future runs. 1967# Also quote any args containing shell meta-characters. 1968# Make two passes to allow for proper duplicate-argument suppression. 1969ac_configure_args= 1970ac_configure_args0= 1971ac_configure_args1= 1972ac_must_keep_next=false 1973for ac_pass in 1 2 1974do 1975 for ac_arg 1976 do 1977 case $ac_arg in 1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1980 | -silent | --silent | --silen | --sile | --sil) 1981 continue ;; 1982 *\'*) 1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1984 esac 1985 case $ac_pass in 1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1987 2) 1988 as_fn_append ac_configure_args1 " '$ac_arg'" 1989 if test $ac_must_keep_next = true; then 1990 ac_must_keep_next=false # Got value, back to normal. 1991 else 1992 case $ac_arg in 1993 *=* | --config-cache | -C | -disable-* | --disable-* \ 1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1996 | -with-* | --with-* | -without-* | --without-* | --x) 1997 case "$ac_configure_args0 " in 1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1999 esac 2000 ;; 2001 -* ) ac_must_keep_next=true ;; 2002 esac 2003 fi 2004 as_fn_append ac_configure_args " '$ac_arg'" 2005 ;; 2006 esac 2007 done 2008done 2009{ ac_configure_args0=; unset ac_configure_args0;} 2010{ ac_configure_args1=; unset ac_configure_args1;} 2011 2012# When interrupted or exit'd, cleanup temporary files, and complete 2013# config.log. We remove comments because anyway the quotes in there 2014# would cause problems or look ugly. 2015# WARNING: Use '\'' to represent an apostrophe within the trap. 2016# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2017trap 'exit_status=$? 2018 # Save into config.log some information that might help in debugging. 2019 { 2020 echo 2021 2022 $as_echo "## ---------------- ## 2023## Cache variables. ## 2024## ---------------- ##" 2025 echo 2026 # The following way of writing the cache mishandles newlines in values, 2027( 2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2029 eval ac_val=\$$ac_var 2030 case $ac_val in #( 2031 *${as_nl}*) 2032 case $ac_var in #( 2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2034$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2035 esac 2036 case $ac_var in #( 2037 _ | IFS | as_nl) ;; #( 2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2039 *) { eval $ac_var=; unset $ac_var;} ;; 2040 esac ;; 2041 esac 2042 done 2043 (set) 2>&1 | 2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2045 *${as_nl}ac_space=\ *) 2046 sed -n \ 2047 "s/'\''/'\''\\\\'\'''\''/g; 2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2049 ;; #( 2050 *) 2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2052 ;; 2053 esac | 2054 sort 2055) 2056 echo 2057 2058 $as_echo "## ----------------- ## 2059## Output variables. ## 2060## ----------------- ##" 2061 echo 2062 for ac_var in $ac_subst_vars 2063 do 2064 eval ac_val=\$$ac_var 2065 case $ac_val in 2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2067 esac 2068 $as_echo "$ac_var='\''$ac_val'\''" 2069 done | sort 2070 echo 2071 2072 if test -n "$ac_subst_files"; then 2073 $as_echo "## ------------------- ## 2074## File substitutions. ## 2075## ------------------- ##" 2076 echo 2077 for ac_var in $ac_subst_files 2078 do 2079 eval ac_val=\$$ac_var 2080 case $ac_val in 2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2082 esac 2083 $as_echo "$ac_var='\''$ac_val'\''" 2084 done | sort 2085 echo 2086 fi 2087 2088 if test -s confdefs.h; then 2089 $as_echo "## ----------- ## 2090## confdefs.h. ## 2091## ----------- ##" 2092 echo 2093 cat confdefs.h 2094 echo 2095 fi 2096 test "$ac_signal" != 0 && 2097 $as_echo "$as_me: caught signal $ac_signal" 2098 $as_echo "$as_me: exit $exit_status" 2099 } >&5 2100 rm -f core *.core core.conftest.* && 2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2102 exit $exit_status 2103' 0 2104for ac_signal in 1 2 13 15; do 2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2106done 2107ac_signal=0 2108 2109# confdefs.h avoids OS command line length limits that DEFS can exceed. 2110rm -f -r conftest* confdefs.h 2111 2112$as_echo "/* confdefs.h */" > confdefs.h 2113 2114# Predefined preprocessor variables. 2115 2116cat >>confdefs.h <<_ACEOF 2117#define PACKAGE_NAME "$PACKAGE_NAME" 2118_ACEOF 2119 2120cat >>confdefs.h <<_ACEOF 2121#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2122_ACEOF 2123 2124cat >>confdefs.h <<_ACEOF 2125#define PACKAGE_VERSION "$PACKAGE_VERSION" 2126_ACEOF 2127 2128cat >>confdefs.h <<_ACEOF 2129#define PACKAGE_STRING "$PACKAGE_STRING" 2130_ACEOF 2131 2132cat >>confdefs.h <<_ACEOF 2133#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2134_ACEOF 2135 2136cat >>confdefs.h <<_ACEOF 2137#define PACKAGE_URL "$PACKAGE_URL" 2138_ACEOF 2139 2140 2141# Let the site file select an alternate cache file if it wants to. 2142# Prefer an explicitly selected file to automatically selected ones. 2143ac_site_file1=NONE 2144ac_site_file2=NONE 2145if test -n "$CONFIG_SITE"; then 2146 # We do not want a PATH search for config.site. 2147 case $CONFIG_SITE in #(( 2148 -*) ac_site_file1=./$CONFIG_SITE;; 2149 */*) ac_site_file1=$CONFIG_SITE;; 2150 *) ac_site_file1=./$CONFIG_SITE;; 2151 esac 2152elif test "x$prefix" != xNONE; then 2153 ac_site_file1=$prefix/share/config.site 2154 ac_site_file2=$prefix/etc/config.site 2155else 2156 ac_site_file1=$ac_default_prefix/share/config.site 2157 ac_site_file2=$ac_default_prefix/etc/config.site 2158fi 2159for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2160do 2161 test "x$ac_site_file" = xNONE && continue 2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2164$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2165 sed 's/^/| /' "$ac_site_file" >&5 2166 . "$ac_site_file" \ 2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2169as_fn_error $? "failed to load site script $ac_site_file 2170See \`config.log' for more details" "$LINENO" 5; } 2171 fi 2172done 2173 2174if test -r "$cache_file"; then 2175 # Some versions of bash will fail to source /dev/null (special files 2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2179$as_echo "$as_me: loading cache $cache_file" >&6;} 2180 case $cache_file in 2181 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2182 *) . "./$cache_file";; 2183 esac 2184 fi 2185else 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2187$as_echo "$as_me: creating cache $cache_file" >&6;} 2188 >$cache_file 2189fi 2190 2191# Check that the precious variables saved in the cache have kept the same 2192# value. 2193ac_cache_corrupted=false 2194for ac_var in $ac_precious_vars; do 2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2196 eval ac_new_set=\$ac_env_${ac_var}_set 2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2198 eval ac_new_val=\$ac_env_${ac_var}_value 2199 case $ac_old_set,$ac_new_set in 2200 set,) 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2202$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2203 ac_cache_corrupted=: ;; 2204 ,set) 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2206$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2207 ac_cache_corrupted=: ;; 2208 ,);; 2209 *) 2210 if test "x$ac_old_val" != "x$ac_new_val"; then 2211 # differences in whitespace do not lead to failure. 2212 ac_old_val_w=`echo x $ac_old_val` 2213 ac_new_val_w=`echo x $ac_new_val` 2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2216$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2217 ac_cache_corrupted=: 2218 else 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2220$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2221 eval $ac_var=\$ac_old_val 2222 fi 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2224$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2226$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2227 fi;; 2228 esac 2229 # Pass precious variables to config.status. 2230 if test "$ac_new_set" = set; then 2231 case $ac_new_val in 2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2233 *) ac_arg=$ac_var=$ac_new_val ;; 2234 esac 2235 case " $ac_configure_args " in 2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2238 esac 2239 fi 2240done 2241if $ac_cache_corrupted; then 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2245$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2247fi 2248## -------------------- ## 2249## Main body of script. ## 2250## -------------------- ## 2251 2252ac_ext=c 2253ac_cpp='$CPP $CPPFLAGS' 2254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2256ac_compiler_gnu=$ac_cv_c_compiler_gnu 2257 2258 2259 2260 2261am__api_version='1.11' 2262 2263ac_aux_dir= 2264for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2265 if test -f "$ac_dir/install-sh"; then 2266 ac_aux_dir=$ac_dir 2267 ac_install_sh="$ac_aux_dir/install-sh -c" 2268 break 2269 elif test -f "$ac_dir/install.sh"; then 2270 ac_aux_dir=$ac_dir 2271 ac_install_sh="$ac_aux_dir/install.sh -c" 2272 break 2273 elif test -f "$ac_dir/shtool"; then 2274 ac_aux_dir=$ac_dir 2275 ac_install_sh="$ac_aux_dir/shtool install -c" 2276 break 2277 fi 2278done 2279if test -z "$ac_aux_dir"; then 2280 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2281fi 2282 2283# These three variables are undocumented and unsupported, 2284# and are intended to be withdrawn in a future Autoconf release. 2285# They can cause serious problems if a builder's source tree is in a directory 2286# whose full name contains unusual characters. 2287ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2288ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2289ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2290 2291 2292# Find a good install program. We prefer a C program (faster), 2293# so one script is as good as another. But avoid the broken or 2294# incompatible versions: 2295# SysV /etc/install, /usr/sbin/install 2296# SunOS /usr/etc/install 2297# IRIX /sbin/install 2298# AIX /bin/install 2299# AmigaOS /C/install, which installs bootblocks on floppy discs 2300# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2301# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2302# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2303# OS/2's system install, which has a completely different semantic 2304# ./install, which can be erroneously created by make from ./install.sh. 2305# Reject install programs that cannot install multiple files. 2306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2307$as_echo_n "checking for a BSD-compatible install... " >&6; } 2308if test -z "$INSTALL"; then 2309if ${ac_cv_path_install+:} false; then : 2310 $as_echo_n "(cached) " >&6 2311else 2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2313for as_dir in $PATH 2314do 2315 IFS=$as_save_IFS 2316 test -z "$as_dir" && as_dir=. 2317 # Account for people who put trailing slashes in PATH elements. 2318case $as_dir/ in #(( 2319 ./ | .// | /[cC]/* | \ 2320 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2321 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2322 /usr/ucb/* ) ;; 2323 *) 2324 # OSF1 and SCO ODT 3.0 have their own names for install. 2325 # Don't use installbsd from OSF since it installs stuff as root 2326 # by default. 2327 for ac_prog in ginstall scoinst install; do 2328 for ac_exec_ext in '' $ac_executable_extensions; do 2329 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2330 if test $ac_prog = install && 2331 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2332 # AIX install. It has an incompatible calling convention. 2333 : 2334 elif test $ac_prog = install && 2335 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2336 # program-specific install script used by HP pwplus--don't use. 2337 : 2338 else 2339 rm -rf conftest.one conftest.two conftest.dir 2340 echo one > conftest.one 2341 echo two > conftest.two 2342 mkdir conftest.dir 2343 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2344 test -s conftest.one && test -s conftest.two && 2345 test -s conftest.dir/conftest.one && 2346 test -s conftest.dir/conftest.two 2347 then 2348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2349 break 3 2350 fi 2351 fi 2352 fi 2353 done 2354 done 2355 ;; 2356esac 2357 2358 done 2359IFS=$as_save_IFS 2360 2361rm -rf conftest.one conftest.two conftest.dir 2362 2363fi 2364 if test "${ac_cv_path_install+set}" = set; then 2365 INSTALL=$ac_cv_path_install 2366 else 2367 # As a last resort, use the slow shell script. Don't cache a 2368 # value for INSTALL within a source directory, because that will 2369 # break other packages using the cache if that directory is 2370 # removed, or if the value is a relative name. 2371 INSTALL=$ac_install_sh 2372 fi 2373fi 2374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2375$as_echo "$INSTALL" >&6; } 2376 2377# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2378# It thinks the first close brace ends the variable substitution. 2379test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2380 2381test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2382 2383test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2384 2385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2386$as_echo_n "checking whether build environment is sane... " >&6; } 2387# Just in case 2388sleep 1 2389echo timestamp > conftest.file 2390# Reject unsafe characters in $srcdir or the absolute working directory 2391# name. Accept space and tab only in the latter. 2392am_lf=' 2393' 2394case `pwd` in 2395 *[\\\"\#\$\&\'\`$am_lf]*) 2396 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2397esac 2398case $srcdir in 2399 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2400 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2401esac 2402 2403# Do `set' in a subshell so we don't clobber the current shell's 2404# arguments. Must try -L first in case configure is actually a 2405# symlink; some systems play weird games with the mod time of symlinks 2406# (eg FreeBSD returns the mod time of the symlink's containing 2407# directory). 2408if ( 2409 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2410 if test "$*" = "X"; then 2411 # -L didn't work. 2412 set X `ls -t "$srcdir/configure" conftest.file` 2413 fi 2414 rm -f conftest.file 2415 if test "$*" != "X $srcdir/configure conftest.file" \ 2416 && test "$*" != "X conftest.file $srcdir/configure"; then 2417 2418 # If neither matched, then we have a broken ls. This can happen 2419 # if, for instance, CONFIG_SHELL is bash and it inherits a 2420 # broken ls alias from the environment. This has actually 2421 # happened. Such a system could not be considered "sane". 2422 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2423alias in your environment" "$LINENO" 5 2424 fi 2425 2426 test "$2" = conftest.file 2427 ) 2428then 2429 # Ok. 2430 : 2431else 2432 as_fn_error $? "newly created file is older than distributed files! 2433Check your system clock" "$LINENO" 5 2434fi 2435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2436$as_echo "yes" >&6; } 2437test "$program_prefix" != NONE && 2438 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2439# Use a double $ so make ignores it. 2440test "$program_suffix" != NONE && 2441 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2442# Double any \ or $. 2443# By default was `s,x,x', remove it if useless. 2444ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2445program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2446 2447# expand $ac_aux_dir to an absolute path 2448am_aux_dir=`cd $ac_aux_dir && pwd` 2449 2450if test x"${MISSING+set}" != xset; then 2451 case $am_aux_dir in 2452 *\ * | *\ *) 2453 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2454 *) 2455 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2456 esac 2457fi 2458# Use eval to expand $SHELL 2459if eval "$MISSING --run true"; then 2460 am_missing_run="$MISSING --run " 2461else 2462 am_missing_run= 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2464$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2465fi 2466 2467if test x"${install_sh}" != xset; then 2468 case $am_aux_dir in 2469 *\ * | *\ *) 2470 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2471 *) 2472 install_sh="\${SHELL} $am_aux_dir/install-sh" 2473 esac 2474fi 2475 2476# Installed binaries are usually stripped using `strip' when the user 2477# run `make install-strip'. However `strip' might not be the right 2478# tool to use in cross-compilation environments, therefore Automake 2479# will honor the `STRIP' environment variable to overrule this program. 2480if test "$cross_compiling" != no; then 2481 if test -n "$ac_tool_prefix"; then 2482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2483set dummy ${ac_tool_prefix}strip; ac_word=$2 2484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2485$as_echo_n "checking for $ac_word... " >&6; } 2486if ${ac_cv_prog_STRIP+:} false; then : 2487 $as_echo_n "(cached) " >&6 2488else 2489 if test -n "$STRIP"; then 2490 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2491else 2492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2493for as_dir in $PATH 2494do 2495 IFS=$as_save_IFS 2496 test -z "$as_dir" && as_dir=. 2497 for ac_exec_ext in '' $ac_executable_extensions; do 2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2499 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2501 break 2 2502 fi 2503done 2504 done 2505IFS=$as_save_IFS 2506 2507fi 2508fi 2509STRIP=$ac_cv_prog_STRIP 2510if test -n "$STRIP"; then 2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2512$as_echo "$STRIP" >&6; } 2513else 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2515$as_echo "no" >&6; } 2516fi 2517 2518 2519fi 2520if test -z "$ac_cv_prog_STRIP"; then 2521 ac_ct_STRIP=$STRIP 2522 # Extract the first word of "strip", so it can be a program name with args. 2523set dummy strip; ac_word=$2 2524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2525$as_echo_n "checking for $ac_word... " >&6; } 2526if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2527 $as_echo_n "(cached) " >&6 2528else 2529 if test -n "$ac_ct_STRIP"; then 2530 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2531else 2532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2533for as_dir in $PATH 2534do 2535 IFS=$as_save_IFS 2536 test -z "$as_dir" && as_dir=. 2537 for ac_exec_ext in '' $ac_executable_extensions; do 2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2539 ac_cv_prog_ac_ct_STRIP="strip" 2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2541 break 2 2542 fi 2543done 2544 done 2545IFS=$as_save_IFS 2546 2547fi 2548fi 2549ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2550if test -n "$ac_ct_STRIP"; then 2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2552$as_echo "$ac_ct_STRIP" >&6; } 2553else 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2555$as_echo "no" >&6; } 2556fi 2557 2558 if test "x$ac_ct_STRIP" = x; then 2559 STRIP=":" 2560 else 2561 case $cross_compiling:$ac_tool_warned in 2562yes:) 2563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2565ac_tool_warned=yes ;; 2566esac 2567 STRIP=$ac_ct_STRIP 2568 fi 2569else 2570 STRIP="$ac_cv_prog_STRIP" 2571fi 2572 2573fi 2574INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2575 2576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2577$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2578if test -z "$MKDIR_P"; then 2579 if ${ac_cv_path_mkdir+:} false; then : 2580 $as_echo_n "(cached) " >&6 2581else 2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2583for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2584do 2585 IFS=$as_save_IFS 2586 test -z "$as_dir" && as_dir=. 2587 for ac_prog in mkdir gmkdir; do 2588 for ac_exec_ext in '' $ac_executable_extensions; do 2589 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2590 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2591 'mkdir (GNU coreutils) '* | \ 2592 'mkdir (coreutils) '* | \ 2593 'mkdir (fileutils) '4.1*) 2594 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2595 break 3;; 2596 esac 2597 done 2598 done 2599 done 2600IFS=$as_save_IFS 2601 2602fi 2603 2604 test -d ./--version && rmdir ./--version 2605 if test "${ac_cv_path_mkdir+set}" = set; then 2606 MKDIR_P="$ac_cv_path_mkdir -p" 2607 else 2608 # As a last resort, use the slow shell script. Don't cache a 2609 # value for MKDIR_P within a source directory, because that will 2610 # break other packages using the cache if that directory is 2611 # removed, or if the value is a relative name. 2612 MKDIR_P="$ac_install_sh -d" 2613 fi 2614fi 2615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2616$as_echo "$MKDIR_P" >&6; } 2617 2618mkdir_p="$MKDIR_P" 2619case $mkdir_p in 2620 [\\/$]* | ?:[\\/]*) ;; 2621 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2622esac 2623 2624for ac_prog in gawk mawk nawk awk 2625do 2626 # Extract the first word of "$ac_prog", so it can be a program name with args. 2627set dummy $ac_prog; ac_word=$2 2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2629$as_echo_n "checking for $ac_word... " >&6; } 2630if ${ac_cv_prog_AWK+:} false; then : 2631 $as_echo_n "(cached) " >&6 2632else 2633 if test -n "$AWK"; then 2634 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2635else 2636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2637for as_dir in $PATH 2638do 2639 IFS=$as_save_IFS 2640 test -z "$as_dir" && as_dir=. 2641 for ac_exec_ext in '' $ac_executable_extensions; do 2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2643 ac_cv_prog_AWK="$ac_prog" 2644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2645 break 2 2646 fi 2647done 2648 done 2649IFS=$as_save_IFS 2650 2651fi 2652fi 2653AWK=$ac_cv_prog_AWK 2654if test -n "$AWK"; then 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2656$as_echo "$AWK" >&6; } 2657else 2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2659$as_echo "no" >&6; } 2660fi 2661 2662 2663 test -n "$AWK" && break 2664done 2665 2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2667$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2668set x ${MAKE-make} 2669ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2670if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2671 $as_echo_n "(cached) " >&6 2672else 2673 cat >conftest.make <<\_ACEOF 2674SHELL = /bin/sh 2675all: 2676 @echo '@@@%%%=$(MAKE)=@@@%%%' 2677_ACEOF 2678# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2679case `${MAKE-make} -f conftest.make 2>/dev/null` in 2680 *@@@%%%=?*=@@@%%%*) 2681 eval ac_cv_prog_make_${ac_make}_set=yes;; 2682 *) 2683 eval ac_cv_prog_make_${ac_make}_set=no;; 2684esac 2685rm -f conftest.make 2686fi 2687if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2689$as_echo "yes" >&6; } 2690 SET_MAKE= 2691else 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2693$as_echo "no" >&6; } 2694 SET_MAKE="MAKE=${MAKE-make}" 2695fi 2696 2697rm -rf .tst 2>/dev/null 2698mkdir .tst 2>/dev/null 2699if test -d .tst; then 2700 am__leading_dot=. 2701else 2702 am__leading_dot=_ 2703fi 2704rmdir .tst 2>/dev/null 2705 2706if test "`cd $srcdir && pwd`" != "`pwd`"; then 2707 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2708 # is not polluted with repeated "-I." 2709 am__isrc=' -I$(srcdir)' 2710 # test to see if srcdir already configured 2711 if test -f $srcdir/config.status; then 2712 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2713 fi 2714fi 2715 2716# test whether we have cygpath 2717if test -z "$CYGPATH_W"; then 2718 if (cygpath --version) >/dev/null 2>/dev/null; then 2719 CYGPATH_W='cygpath -w' 2720 else 2721 CYGPATH_W=echo 2722 fi 2723fi 2724 2725 2726# Define the identity of the package. 2727 PACKAGE='murrine' 2728 VERSION='0.98.2' 2729 2730 2731cat >>confdefs.h <<_ACEOF 2732#define PACKAGE "$PACKAGE" 2733_ACEOF 2734 2735 2736cat >>confdefs.h <<_ACEOF 2737#define VERSION "$VERSION" 2738_ACEOF 2739 2740# Some tools Automake needs. 2741 2742ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2743 2744 2745AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2746 2747 2748AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2749 2750 2751AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2752 2753 2754MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2755 2756# We need awk for the "check" target. The system "awk" is bad on 2757# some platforms. 2758# Always define AMTAR for backward compatibility. 2759 2760AMTAR=${AMTAR-"${am_missing_run}tar"} 2761 2762am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2763 2764 2765 2766 2767 2768 2769# Use AM_SILENT_RULES if present 2770# Check whether --enable-silent-rules was given. 2771if test "${enable_silent_rules+set}" = set; then : 2772 enableval=$enable_silent_rules; 2773fi 2774 2775case $enable_silent_rules in 2776yes) AM_DEFAULT_VERBOSITY=0;; 2777no) AM_DEFAULT_VERBOSITY=1;; 2778*) AM_DEFAULT_VERBOSITY=0;; 2779esac 2780AM_BACKSLASH='\' 2781 2782 2783 2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2785$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2786 # Check whether --enable-maintainer-mode was given. 2787if test "${enable_maintainer_mode+set}" = set; then : 2788 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2789else 2790 USE_MAINTAINER_MODE=no 2791fi 2792 2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2794$as_echo "$USE_MAINTAINER_MODE" >&6; } 2795 if test $USE_MAINTAINER_MODE = yes; then 2796 MAINTAINER_MODE_TRUE= 2797 MAINTAINER_MODE_FALSE='#' 2798else 2799 MAINTAINER_MODE_TRUE='#' 2800 MAINTAINER_MODE_FALSE= 2801fi 2802 2803 MAINT=$MAINTAINER_MODE_TRUE 2804 2805 2806 2807ac_ext=c 2808ac_cpp='$CPP $CPPFLAGS' 2809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2811ac_compiler_gnu=$ac_cv_c_compiler_gnu 2812if test -n "$ac_tool_prefix"; then 2813 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2814set dummy ${ac_tool_prefix}gcc; ac_word=$2 2815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2816$as_echo_n "checking for $ac_word... " >&6; } 2817if ${ac_cv_prog_CC+:} false; then : 2818 $as_echo_n "(cached) " >&6 2819else 2820 if test -n "$CC"; then 2821 ac_cv_prog_CC="$CC" # Let the user override the test. 2822else 2823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2824for as_dir in $PATH 2825do 2826 IFS=$as_save_IFS 2827 test -z "$as_dir" && as_dir=. 2828 for ac_exec_ext in '' $ac_executable_extensions; do 2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2830 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2832 break 2 2833 fi 2834done 2835 done 2836IFS=$as_save_IFS 2837 2838fi 2839fi 2840CC=$ac_cv_prog_CC 2841if test -n "$CC"; then 2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2843$as_echo "$CC" >&6; } 2844else 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2846$as_echo "no" >&6; } 2847fi 2848 2849 2850fi 2851if test -z "$ac_cv_prog_CC"; then 2852 ac_ct_CC=$CC 2853 # Extract the first word of "gcc", so it can be a program name with args. 2854set dummy gcc; ac_word=$2 2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2856$as_echo_n "checking for $ac_word... " >&6; } 2857if ${ac_cv_prog_ac_ct_CC+:} false; then : 2858 $as_echo_n "(cached) " >&6 2859else 2860 if test -n "$ac_ct_CC"; then 2861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2862else 2863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2864for as_dir in $PATH 2865do 2866 IFS=$as_save_IFS 2867 test -z "$as_dir" && as_dir=. 2868 for ac_exec_ext in '' $ac_executable_extensions; do 2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2870 ac_cv_prog_ac_ct_CC="gcc" 2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2872 break 2 2873 fi 2874done 2875 done 2876IFS=$as_save_IFS 2877 2878fi 2879fi 2880ac_ct_CC=$ac_cv_prog_ac_ct_CC 2881if test -n "$ac_ct_CC"; then 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2883$as_echo "$ac_ct_CC" >&6; } 2884else 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2886$as_echo "no" >&6; } 2887fi 2888 2889 if test "x$ac_ct_CC" = x; then 2890 CC="" 2891 else 2892 case $cross_compiling:$ac_tool_warned in 2893yes:) 2894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2896ac_tool_warned=yes ;; 2897esac 2898 CC=$ac_ct_CC 2899 fi 2900else 2901 CC="$ac_cv_prog_CC" 2902fi 2903 2904if test -z "$CC"; then 2905 if test -n "$ac_tool_prefix"; then 2906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2907set dummy ${ac_tool_prefix}cc; ac_word=$2 2908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2909$as_echo_n "checking for $ac_word... " >&6; } 2910if ${ac_cv_prog_CC+:} false; then : 2911 $as_echo_n "(cached) " >&6 2912else 2913 if test -n "$CC"; then 2914 ac_cv_prog_CC="$CC" # Let the user override the test. 2915else 2916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2917for as_dir in $PATH 2918do 2919 IFS=$as_save_IFS 2920 test -z "$as_dir" && as_dir=. 2921 for ac_exec_ext in '' $ac_executable_extensions; do 2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2923 ac_cv_prog_CC="${ac_tool_prefix}cc" 2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2925 break 2 2926 fi 2927done 2928 done 2929IFS=$as_save_IFS 2930 2931fi 2932fi 2933CC=$ac_cv_prog_CC 2934if test -n "$CC"; then 2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2936$as_echo "$CC" >&6; } 2937else 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2939$as_echo "no" >&6; } 2940fi 2941 2942 2943 fi 2944fi 2945if test -z "$CC"; then 2946 # Extract the first word of "cc", so it can be a program name with args. 2947set dummy cc; ac_word=$2 2948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2949$as_echo_n "checking for $ac_word... " >&6; } 2950if ${ac_cv_prog_CC+:} false; then : 2951 $as_echo_n "(cached) " >&6 2952else 2953 if test -n "$CC"; then 2954 ac_cv_prog_CC="$CC" # Let the user override the test. 2955else 2956 ac_prog_rejected=no 2957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2958for as_dir in $PATH 2959do 2960 IFS=$as_save_IFS 2961 test -z "$as_dir" && as_dir=. 2962 for ac_exec_ext in '' $ac_executable_extensions; do 2963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2965 ac_prog_rejected=yes 2966 continue 2967 fi 2968 ac_cv_prog_CC="cc" 2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 break 2 2971 fi 2972done 2973 done 2974IFS=$as_save_IFS 2975 2976if test $ac_prog_rejected = yes; then 2977 # We found a bogon in the path, so make sure we never use it. 2978 set dummy $ac_cv_prog_CC 2979 shift 2980 if test $# != 0; then 2981 # We chose a different compiler from the bogus one. 2982 # However, it has the same basename, so the bogon will be chosen 2983 # first if we set CC to just the basename; use the full file name. 2984 shift 2985 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2986 fi 2987fi 2988fi 2989fi 2990CC=$ac_cv_prog_CC 2991if test -n "$CC"; then 2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2993$as_echo "$CC" >&6; } 2994else 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2996$as_echo "no" >&6; } 2997fi 2998 2999 3000fi 3001if test -z "$CC"; then 3002 if test -n "$ac_tool_prefix"; then 3003 for ac_prog in cl.exe 3004 do 3005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3006set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3008$as_echo_n "checking for $ac_word... " >&6; } 3009if ${ac_cv_prog_CC+:} false; then : 3010 $as_echo_n "(cached) " >&6 3011else 3012 if test -n "$CC"; then 3013 ac_cv_prog_CC="$CC" # Let the user override the test. 3014else 3015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3016for as_dir in $PATH 3017do 3018 IFS=$as_save_IFS 3019 test -z "$as_dir" && as_dir=. 3020 for ac_exec_ext in '' $ac_executable_extensions; do 3021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3022 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3024 break 2 3025 fi 3026done 3027 done 3028IFS=$as_save_IFS 3029 3030fi 3031fi 3032CC=$ac_cv_prog_CC 3033if test -n "$CC"; then 3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3035$as_echo "$CC" >&6; } 3036else 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3038$as_echo "no" >&6; } 3039fi 3040 3041 3042 test -n "$CC" && break 3043 done 3044fi 3045if test -z "$CC"; then 3046 ac_ct_CC=$CC 3047 for ac_prog in cl.exe 3048do 3049 # Extract the first word of "$ac_prog", so it can be a program name with args. 3050set dummy $ac_prog; ac_word=$2 3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3052$as_echo_n "checking for $ac_word... " >&6; } 3053if ${ac_cv_prog_ac_ct_CC+:} false; then : 3054 $as_echo_n "(cached) " >&6 3055else 3056 if test -n "$ac_ct_CC"; then 3057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3058else 3059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3060for as_dir in $PATH 3061do 3062 IFS=$as_save_IFS 3063 test -z "$as_dir" && as_dir=. 3064 for ac_exec_ext in '' $ac_executable_extensions; do 3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3066 ac_cv_prog_ac_ct_CC="$ac_prog" 3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3068 break 2 3069 fi 3070done 3071 done 3072IFS=$as_save_IFS 3073 3074fi 3075fi 3076ac_ct_CC=$ac_cv_prog_ac_ct_CC 3077if test -n "$ac_ct_CC"; then 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3079$as_echo "$ac_ct_CC" >&6; } 3080else 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3082$as_echo "no" >&6; } 3083fi 3084 3085 3086 test -n "$ac_ct_CC" && break 3087done 3088 3089 if test "x$ac_ct_CC" = x; then 3090 CC="" 3091 else 3092 case $cross_compiling:$ac_tool_warned in 3093yes:) 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3096ac_tool_warned=yes ;; 3097esac 3098 CC=$ac_ct_CC 3099 fi 3100fi 3101 3102fi 3103 3104 3105test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3107as_fn_error $? "no acceptable C compiler found in \$PATH 3108See \`config.log' for more details" "$LINENO" 5; } 3109 3110# Provide some information about the compiler. 3111$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3112set X $ac_compile 3113ac_compiler=$2 3114for ac_option in --version -v -V -qversion; do 3115 { { ac_try="$ac_compiler $ac_option >&5" 3116case "(($ac_try" in 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118 *) ac_try_echo=$ac_try;; 3119esac 3120eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3121$as_echo "$ac_try_echo"; } >&5 3122 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3123 ac_status=$? 3124 if test -s conftest.err; then 3125 sed '10a\ 3126... rest of stderr output deleted ... 3127 10q' conftest.err >conftest.er1 3128 cat conftest.er1 >&5 3129 fi 3130 rm -f conftest.er1 conftest.err 3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3132 test $ac_status = 0; } 3133done 3134 3135cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3136/* end confdefs.h. */ 3137 3138int 3139main () 3140{ 3141 3142 ; 3143 return 0; 3144} 3145_ACEOF 3146ac_clean_files_save=$ac_clean_files 3147ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3148# Try to create an executable without -o first, disregard a.out. 3149# It will help us diagnose broken compilers, and finding out an intuition 3150# of exeext. 3151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3152$as_echo_n "checking whether the C compiler works... " >&6; } 3153ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3154 3155# The possible output files: 3156ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3157 3158ac_rmfiles= 3159for ac_file in $ac_files 3160do 3161 case $ac_file in 3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3163 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3164 esac 3165done 3166rm -f $ac_rmfiles 3167 3168if { { ac_try="$ac_link_default" 3169case "(($ac_try" in 3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171 *) ac_try_echo=$ac_try;; 3172esac 3173eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3174$as_echo "$ac_try_echo"; } >&5 3175 (eval "$ac_link_default") 2>&5 3176 ac_status=$? 3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3178 test $ac_status = 0; }; then : 3179 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3180# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3181# in a Makefile. We should not override ac_cv_exeext if it was cached, 3182# so that the user can short-circuit this test for compilers unknown to 3183# Autoconf. 3184for ac_file in $ac_files '' 3185do 3186 test -f "$ac_file" || continue 3187 case $ac_file in 3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3189 ;; 3190 [ab].out ) 3191 # We found the default executable, but exeext='' is most 3192 # certainly right. 3193 break;; 3194 *.* ) 3195 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3196 then :; else 3197 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3198 fi 3199 # We set ac_cv_exeext here because the later test for it is not 3200 # safe: cross compilers may not add the suffix if given an `-o' 3201 # argument, so we may need to know it at that point already. 3202 # Even if this section looks crufty: it has the advantage of 3203 # actually working. 3204 break;; 3205 * ) 3206 break;; 3207 esac 3208done 3209test "$ac_cv_exeext" = no && ac_cv_exeext= 3210 3211else 3212 ac_file='' 3213fi 3214if test -z "$ac_file"; then : 3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3216$as_echo "no" >&6; } 3217$as_echo "$as_me: failed program was:" >&5 3218sed 's/^/| /' conftest.$ac_ext >&5 3219 3220{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3222as_fn_error 77 "C compiler cannot create executables 3223See \`config.log' for more details" "$LINENO" 5; } 3224else 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3226$as_echo "yes" >&6; } 3227fi 3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3229$as_echo_n "checking for C compiler default output file name... " >&6; } 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3231$as_echo "$ac_file" >&6; } 3232ac_exeext=$ac_cv_exeext 3233 3234rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3235ac_clean_files=$ac_clean_files_save 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3237$as_echo_n "checking for suffix of executables... " >&6; } 3238if { { ac_try="$ac_link" 3239case "(($ac_try" in 3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3241 *) ac_try_echo=$ac_try;; 3242esac 3243eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3244$as_echo "$ac_try_echo"; } >&5 3245 (eval "$ac_link") 2>&5 3246 ac_status=$? 3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3248 test $ac_status = 0; }; then : 3249 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3250# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3251# work properly (i.e., refer to `conftest.exe'), while it won't with 3252# `rm'. 3253for ac_file in conftest.exe conftest conftest.*; do 3254 test -f "$ac_file" || continue 3255 case $ac_file in 3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3257 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3258 break;; 3259 * ) break;; 3260 esac 3261done 3262else 3263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3265as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3266See \`config.log' for more details" "$LINENO" 5; } 3267fi 3268rm -f conftest conftest$ac_cv_exeext 3269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3270$as_echo "$ac_cv_exeext" >&6; } 3271 3272rm -f conftest.$ac_ext 3273EXEEXT=$ac_cv_exeext 3274ac_exeext=$EXEEXT 3275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3276/* end confdefs.h. */ 3277#include <stdio.h> 3278int 3279main () 3280{ 3281FILE *f = fopen ("conftest.out", "w"); 3282 return ferror (f) || fclose (f) != 0; 3283 3284 ; 3285 return 0; 3286} 3287_ACEOF 3288ac_clean_files="$ac_clean_files conftest.out" 3289# Check that the compiler produces executables we can run. If not, either 3290# the compiler is broken, or we cross compile. 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3292$as_echo_n "checking whether we are cross compiling... " >&6; } 3293if test "$cross_compiling" != yes; then 3294 { { ac_try="$ac_link" 3295case "(($ac_try" in 3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3297 *) ac_try_echo=$ac_try;; 3298esac 3299eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3300$as_echo "$ac_try_echo"; } >&5 3301 (eval "$ac_link") 2>&5 3302 ac_status=$? 3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3304 test $ac_status = 0; } 3305 if { ac_try='./conftest$ac_cv_exeext' 3306 { { case "(($ac_try" in 3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3308 *) ac_try_echo=$ac_try;; 3309esac 3310eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3311$as_echo "$ac_try_echo"; } >&5 3312 (eval "$ac_try") 2>&5 3313 ac_status=$? 3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3315 test $ac_status = 0; }; }; then 3316 cross_compiling=no 3317 else 3318 if test "$cross_compiling" = maybe; then 3319 cross_compiling=yes 3320 else 3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3323as_fn_error $? "cannot run C compiled programs. 3324If you meant to cross compile, use \`--host'. 3325See \`config.log' for more details" "$LINENO" 5; } 3326 fi 3327 fi 3328fi 3329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3330$as_echo "$cross_compiling" >&6; } 3331 3332rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3333ac_clean_files=$ac_clean_files_save 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3335$as_echo_n "checking for suffix of object files... " >&6; } 3336if ${ac_cv_objext+:} false; then : 3337 $as_echo_n "(cached) " >&6 3338else 3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3340/* end confdefs.h. */ 3341 3342int 3343main () 3344{ 3345 3346 ; 3347 return 0; 3348} 3349_ACEOF 3350rm -f conftest.o conftest.obj 3351if { { ac_try="$ac_compile" 3352case "(($ac_try" in 3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354 *) ac_try_echo=$ac_try;; 3355esac 3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3357$as_echo "$ac_try_echo"; } >&5 3358 (eval "$ac_compile") 2>&5 3359 ac_status=$? 3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3361 test $ac_status = 0; }; then : 3362 for ac_file in conftest.o conftest.obj conftest.*; do 3363 test -f "$ac_file" || continue; 3364 case $ac_file in 3365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3366 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3367 break;; 3368 esac 3369done 3370else 3371 $as_echo "$as_me: failed program was:" >&5 3372sed 's/^/| /' conftest.$ac_ext >&5 3373 3374{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3376as_fn_error $? "cannot compute suffix of object files: cannot compile 3377See \`config.log' for more details" "$LINENO" 5; } 3378fi 3379rm -f conftest.$ac_cv_objext conftest.$ac_ext 3380fi 3381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3382$as_echo "$ac_cv_objext" >&6; } 3383OBJEXT=$ac_cv_objext 3384ac_objext=$OBJEXT 3385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3386$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3387if ${ac_cv_c_compiler_gnu+:} false; then : 3388 $as_echo_n "(cached) " >&6 3389else 3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3391/* end confdefs.h. */ 3392 3393int 3394main () 3395{ 3396#ifndef __GNUC__ 3397 choke me 3398#endif 3399 3400 ; 3401 return 0; 3402} 3403_ACEOF 3404if ac_fn_c_try_compile "$LINENO"; then : 3405 ac_compiler_gnu=yes 3406else 3407 ac_compiler_gnu=no 3408fi 3409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3410ac_cv_c_compiler_gnu=$ac_compiler_gnu 3411 3412fi 3413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3414$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3415if test $ac_compiler_gnu = yes; then 3416 GCC=yes 3417else 3418 GCC= 3419fi 3420ac_test_CFLAGS=${CFLAGS+set} 3421ac_save_CFLAGS=$CFLAGS 3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3423$as_echo_n "checking whether $CC accepts -g... " >&6; } 3424if ${ac_cv_prog_cc_g+:} false; then : 3425 $as_echo_n "(cached) " >&6 3426else 3427 ac_save_c_werror_flag=$ac_c_werror_flag 3428 ac_c_werror_flag=yes 3429 ac_cv_prog_cc_g=no 3430 CFLAGS="-g" 3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3432/* end confdefs.h. */ 3433 3434int 3435main () 3436{ 3437 3438 ; 3439 return 0; 3440} 3441_ACEOF 3442if ac_fn_c_try_compile "$LINENO"; then : 3443 ac_cv_prog_cc_g=yes 3444else 3445 CFLAGS="" 3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3447/* end confdefs.h. */ 3448 3449int 3450main () 3451{ 3452 3453 ; 3454 return 0; 3455} 3456_ACEOF 3457if ac_fn_c_try_compile "$LINENO"; then : 3458 3459else 3460 ac_c_werror_flag=$ac_save_c_werror_flag 3461 CFLAGS="-g" 3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3463/* end confdefs.h. */ 3464 3465int 3466main () 3467{ 3468 3469 ; 3470 return 0; 3471} 3472_ACEOF 3473if ac_fn_c_try_compile "$LINENO"; then : 3474 ac_cv_prog_cc_g=yes 3475fi 3476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3477fi 3478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3479fi 3480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3481 ac_c_werror_flag=$ac_save_c_werror_flag 3482fi 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3484$as_echo "$ac_cv_prog_cc_g" >&6; } 3485if test "$ac_test_CFLAGS" = set; then 3486 CFLAGS=$ac_save_CFLAGS 3487elif test $ac_cv_prog_cc_g = yes; then 3488 if test "$GCC" = yes; then 3489 CFLAGS="-g -O2" 3490 else 3491 CFLAGS="-g" 3492 fi 3493else 3494 if test "$GCC" = yes; then 3495 CFLAGS="-O2" 3496 else 3497 CFLAGS= 3498 fi 3499fi 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3501$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3502if ${ac_cv_prog_cc_c89+:} false; then : 3503 $as_echo_n "(cached) " >&6 3504else 3505 ac_cv_prog_cc_c89=no 3506ac_save_CC=$CC 3507cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3508/* end confdefs.h. */ 3509#include <stdarg.h> 3510#include <stdio.h> 3511#include <sys/types.h> 3512#include <sys/stat.h> 3513/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3514struct buf { int x; }; 3515FILE * (*rcsopen) (struct buf *, struct stat *, int); 3516static char *e (p, i) 3517 char **p; 3518 int i; 3519{ 3520 return p[i]; 3521} 3522static char *f (char * (*g) (char **, int), char **p, ...) 3523{ 3524 char *s; 3525 va_list v; 3526 va_start (v,p); 3527 s = g (p, va_arg (v,int)); 3528 va_end (v); 3529 return s; 3530} 3531 3532/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3533 function prototypes and stuff, but not '\xHH' hex character constants. 3534 These don't provoke an error unfortunately, instead are silently treated 3535 as 'x'. The following induces an error, until -std is added to get 3536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3537 array size at least. It's necessary to write '\x00'==0 to get something 3538 that's true only with -std. */ 3539int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3540 3541/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3542 inside strings and character constants. */ 3543#define FOO(x) 'x' 3544int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3545 3546int test (int i, double x); 3547struct s1 {int (*f) (int a);}; 3548struct s2 {int (*f) (double a);}; 3549int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3550int argc; 3551char **argv; 3552int 3553main () 3554{ 3555return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3556 ; 3557 return 0; 3558} 3559_ACEOF 3560for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3561 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3562do 3563 CC="$ac_save_CC $ac_arg" 3564 if ac_fn_c_try_compile "$LINENO"; then : 3565 ac_cv_prog_cc_c89=$ac_arg 3566fi 3567rm -f core conftest.err conftest.$ac_objext 3568 test "x$ac_cv_prog_cc_c89" != "xno" && break 3569done 3570rm -f conftest.$ac_ext 3571CC=$ac_save_CC 3572 3573fi 3574# AC_CACHE_VAL 3575case "x$ac_cv_prog_cc_c89" in 3576 x) 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3578$as_echo "none needed" >&6; } ;; 3579 xno) 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3581$as_echo "unsupported" >&6; } ;; 3582 *) 3583 CC="$CC $ac_cv_prog_cc_c89" 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3585$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3586esac 3587if test "x$ac_cv_prog_cc_c89" != xno; then : 3588 3589fi 3590 3591ac_ext=c 3592ac_cpp='$CPP $CPPFLAGS' 3593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3595ac_compiler_gnu=$ac_cv_c_compiler_gnu 3596DEPDIR="${am__leading_dot}deps" 3597 3598ac_config_commands="$ac_config_commands depfiles" 3599 3600 3601am_make=${MAKE-make} 3602cat > confinc << 'END' 3603am__doit: 3604 @echo this is the am__doit target 3605.PHONY: am__doit 3606END 3607# If we don't find an include directive, just comment out the code. 3608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3609$as_echo_n "checking for style of include used by $am_make... " >&6; } 3610am__include="#" 3611am__quote= 3612_am_result=none 3613# First try GNU make style include. 3614echo "include confinc" > confmf 3615# Ignore all kinds of additional output from `make'. 3616case `$am_make -s -f confmf 2> /dev/null` in #( 3617*the\ am__doit\ target*) 3618 am__include=include 3619 am__quote= 3620 _am_result=GNU 3621 ;; 3622esac 3623# Now try BSD make style include. 3624if test "$am__include" = "#"; then 3625 echo '.include "confinc"' > confmf 3626 case `$am_make -s -f confmf 2> /dev/null` in #( 3627 *the\ am__doit\ target*) 3628 am__include=.include 3629 am__quote="\"" 3630 _am_result=BSD 3631 ;; 3632 esac 3633fi 3634 3635 3636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3637$as_echo "$_am_result" >&6; } 3638rm -f confinc confmf 3639 3640# Check whether --enable-dependency-tracking was given. 3641if test "${enable_dependency_tracking+set}" = set; then : 3642 enableval=$enable_dependency_tracking; 3643fi 3644 3645if test "x$enable_dependency_tracking" != xno; then 3646 am_depcomp="$ac_aux_dir/depcomp" 3647 AMDEPBACKSLASH='\' 3648fi 3649 if test "x$enable_dependency_tracking" != xno; then 3650 AMDEP_TRUE= 3651 AMDEP_FALSE='#' 3652else 3653 AMDEP_TRUE='#' 3654 AMDEP_FALSE= 3655fi 3656 3657 3658 3659depcc="$CC" am_compiler_list= 3660 3661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3662$as_echo_n "checking dependency style of $depcc... " >&6; } 3663if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3664 $as_echo_n "(cached) " >&6 3665else 3666 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3667 # We make a subdir and do the tests there. Otherwise we can end up 3668 # making bogus files that we don't know about and never remove. For 3669 # instance it was reported that on HP-UX the gcc test will end up 3670 # making a dummy file named `D' -- because `-MD' means `put the output 3671 # in D'. 3672 mkdir conftest.dir 3673 # Copy depcomp to subdir because otherwise we won't find it if we're 3674 # using a relative directory. 3675 cp "$am_depcomp" conftest.dir 3676 cd conftest.dir 3677 # We will build objects and dependencies in a subdirectory because 3678 # it helps to detect inapplicable dependency modes. For instance 3679 # both Tru64's cc and ICC support -MD to output dependencies as a 3680 # side effect of compilation, but ICC will put the dependencies in 3681 # the current directory while Tru64 will put them in the object 3682 # directory. 3683 mkdir sub 3684 3685 am_cv_CC_dependencies_compiler_type=none 3686 if test "$am_compiler_list" = ""; then 3687 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3688 fi 3689 am__universal=false 3690 case " $depcc " in #( 3691 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3692 esac 3693 3694 for depmode in $am_compiler_list; do 3695 # Setup a source with many dependencies, because some compilers 3696 # like to wrap large dependency lists on column 80 (with \), and 3697 # we should not choose a depcomp mode which is confused by this. 3698 # 3699 # We need to recreate these files for each test, as the compiler may 3700 # overwrite some of them when testing with obscure command lines. 3701 # This happens at least with the AIX C compiler. 3702 : > sub/conftest.c 3703 for i in 1 2 3 4 5 6; do 3704 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3705 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3706 # Solaris 8's {/usr,}/bin/sh. 3707 touch sub/conftst$i.h 3708 done 3709 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3710 3711 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3712 # mode. It turns out that the SunPro C++ compiler does not properly 3713 # handle `-M -o', and we need to detect this. Also, some Intel 3714 # versions had trouble with output in subdirs 3715 am__obj=sub/conftest.${OBJEXT-o} 3716 am__minus_obj="-o $am__obj" 3717 case $depmode in 3718 gcc) 3719 # This depmode causes a compiler race in universal mode. 3720 test "$am__universal" = false || continue 3721 ;; 3722 nosideeffect) 3723 # after this tag, mechanisms are not by side-effect, so they'll 3724 # only be used when explicitly requested 3725 if test "x$enable_dependency_tracking" = xyes; then 3726 continue 3727 else 3728 break 3729 fi 3730 ;; 3731 msvisualcpp | msvcmsys) 3732 # This compiler won't grok `-c -o', but also, the minuso test has 3733 # not run yet. These depmodes are late enough in the game, and 3734 # so weak that their functioning should not be impacted. 3735 am__obj=conftest.${OBJEXT-o} 3736 am__minus_obj= 3737 ;; 3738 none) break ;; 3739 esac 3740 if depmode=$depmode \ 3741 source=sub/conftest.c object=$am__obj \ 3742 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3743 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3744 >/dev/null 2>conftest.err && 3745 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3746 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3747 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3748 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3749 # icc doesn't choke on unknown options, it will just issue warnings 3750 # or remarks (even with -Werror). So we grep stderr for any message 3751 # that says an option was ignored or not supported. 3752 # When given -MP, icc 7.0 and 7.1 complain thusly: 3753 # icc: Command line warning: ignoring option '-M'; no argument required 3754 # The diagnosis changed in icc 8.0: 3755 # icc: Command line remark: option '-MP' not supported 3756 if (grep 'ignoring option' conftest.err || 3757 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3758 am_cv_CC_dependencies_compiler_type=$depmode 3759 break 3760 fi 3761 fi 3762 done 3763 3764 cd .. 3765 rm -rf conftest.dir 3766else 3767 am_cv_CC_dependencies_compiler_type=none 3768fi 3769 3770fi 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3772$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3773CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3774 3775 if 3776 test "x$enable_dependency_tracking" != xno \ 3777 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3778 am__fastdepCC_TRUE= 3779 am__fastdepCC_FALSE='#' 3780else 3781 am__fastdepCC_TRUE='#' 3782 am__fastdepCC_FALSE= 3783fi 3784 3785 3786 3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3788$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3789set x ${MAKE-make} 3790ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3791if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3792 $as_echo_n "(cached) " >&6 3793else 3794 cat >conftest.make <<\_ACEOF 3795SHELL = /bin/sh 3796all: 3797 @echo '@@@%%%=$(MAKE)=@@@%%%' 3798_ACEOF 3799# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3800case `${MAKE-make} -f conftest.make 2>/dev/null` in 3801 *@@@%%%=?*=@@@%%%*) 3802 eval ac_cv_prog_make_${ac_make}_set=yes;; 3803 *) 3804 eval ac_cv_prog_make_${ac_make}_set=no;; 3805esac 3806rm -f conftest.make 3807fi 3808if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3810$as_echo "yes" >&6; } 3811 SET_MAKE= 3812else 3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3814$as_echo "no" >&6; } 3815 SET_MAKE="MAKE=${MAKE-make}" 3816fi 3817 3818 3819# Check whether --enable-static was given. 3820if test "${enable_static+set}" = set; then : 3821 enableval=$enable_static; p=${PACKAGE-default} 3822 case $enableval in 3823 yes) enable_static=yes ;; 3824 no) enable_static=no ;; 3825 *) 3826 enable_static=no 3827 # Look at the argument we got. We use all the common list separators. 3828 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3829 for pkg in $enableval; do 3830 IFS="$lt_save_ifs" 3831 if test "X$pkg" = "X$p"; then 3832 enable_static=yes 3833 fi 3834 done 3835 IFS="$lt_save_ifs" 3836 ;; 3837 esac 3838else 3839 enable_static=no 3840fi 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850# Make sure we can run config.sub. 3851$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3852 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3853 3854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3855$as_echo_n "checking build system type... " >&6; } 3856if ${ac_cv_build+:} false; then : 3857 $as_echo_n "(cached) " >&6 3858else 3859 ac_build_alias=$build_alias 3860test "x$ac_build_alias" = x && 3861 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3862test "x$ac_build_alias" = x && 3863 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3864ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3865 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3866 3867fi 3868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3869$as_echo "$ac_cv_build" >&6; } 3870case $ac_cv_build in 3871*-*-*) ;; 3872*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3873esac 3874build=$ac_cv_build 3875ac_save_IFS=$IFS; IFS='-' 3876set x $ac_cv_build 3877shift 3878build_cpu=$1 3879build_vendor=$2 3880shift; shift 3881# Remember, the first character of IFS is used to create $*, 3882# except with old shells: 3883build_os=$* 3884IFS=$ac_save_IFS 3885case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3886 3887 3888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3889$as_echo_n "checking host system type... " >&6; } 3890if ${ac_cv_host+:} false; then : 3891 $as_echo_n "(cached) " >&6 3892else 3893 if test "x$host_alias" = x; then 3894 ac_cv_host=$ac_cv_build 3895else 3896 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3897 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3898fi 3899 3900fi 3901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3902$as_echo "$ac_cv_host" >&6; } 3903case $ac_cv_host in 3904*-*-*) ;; 3905*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3906esac 3907host=$ac_cv_host 3908ac_save_IFS=$IFS; IFS='-' 3909set x $ac_cv_host 3910shift 3911host_cpu=$1 3912host_vendor=$2 3913shift; shift 3914# Remember, the first character of IFS is used to create $*, 3915# except with old shells: 3916host_os=$* 3917IFS=$ac_save_IFS 3918case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3919 3920 3921enable_win32_dll=yes 3922 3923case $host in 3924*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3925 if test -n "$ac_tool_prefix"; then 3926 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3927set dummy ${ac_tool_prefix}as; ac_word=$2 3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3929$as_echo_n "checking for $ac_word... " >&6; } 3930if ${ac_cv_prog_AS+:} false; then : 3931 $as_echo_n "(cached) " >&6 3932else 3933 if test -n "$AS"; then 3934 ac_cv_prog_AS="$AS" # Let the user override the test. 3935else 3936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3937for as_dir in $PATH 3938do 3939 IFS=$as_save_IFS 3940 test -z "$as_dir" && as_dir=. 3941 for ac_exec_ext in '' $ac_executable_extensions; do 3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3943 ac_cv_prog_AS="${ac_tool_prefix}as" 3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3945 break 2 3946 fi 3947done 3948 done 3949IFS=$as_save_IFS 3950 3951fi 3952fi 3953AS=$ac_cv_prog_AS 3954if test -n "$AS"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3956$as_echo "$AS" >&6; } 3957else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959$as_echo "no" >&6; } 3960fi 3961 3962 3963fi 3964if test -z "$ac_cv_prog_AS"; then 3965 ac_ct_AS=$AS 3966 # Extract the first word of "as", so it can be a program name with args. 3967set dummy as; ac_word=$2 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3969$as_echo_n "checking for $ac_word... " >&6; } 3970if ${ac_cv_prog_ac_ct_AS+:} false; then : 3971 $as_echo_n "(cached) " >&6 3972else 3973 if test -n "$ac_ct_AS"; then 3974 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3975else 3976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977for as_dir in $PATH 3978do 3979 IFS=$as_save_IFS 3980 test -z "$as_dir" && as_dir=. 3981 for ac_exec_ext in '' $ac_executable_extensions; do 3982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3983 ac_cv_prog_ac_ct_AS="as" 3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3985 break 2 3986 fi 3987done 3988 done 3989IFS=$as_save_IFS 3990 3991fi 3992fi 3993ac_ct_AS=$ac_cv_prog_ac_ct_AS 3994if test -n "$ac_ct_AS"; then 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3996$as_echo "$ac_ct_AS" >&6; } 3997else 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3999$as_echo "no" >&6; } 4000fi 4001 4002 if test "x$ac_ct_AS" = x; then 4003 AS="false" 4004 else 4005 case $cross_compiling:$ac_tool_warned in 4006yes:) 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4009ac_tool_warned=yes ;; 4010esac 4011 AS=$ac_ct_AS 4012 fi 4013else 4014 AS="$ac_cv_prog_AS" 4015fi 4016 4017 if test -n "$ac_tool_prefix"; then 4018 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4019set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4021$as_echo_n "checking for $ac_word... " >&6; } 4022if ${ac_cv_prog_DLLTOOL+:} false; then : 4023 $as_echo_n "(cached) " >&6 4024else 4025 if test -n "$DLLTOOL"; then 4026 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4027else 4028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4029for as_dir in $PATH 4030do 4031 IFS=$as_save_IFS 4032 test -z "$as_dir" && as_dir=. 4033 for ac_exec_ext in '' $ac_executable_extensions; do 4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4035 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4037 break 2 4038 fi 4039done 4040 done 4041IFS=$as_save_IFS 4042 4043fi 4044fi 4045DLLTOOL=$ac_cv_prog_DLLTOOL 4046if test -n "$DLLTOOL"; then 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4048$as_echo "$DLLTOOL" >&6; } 4049else 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4051$as_echo "no" >&6; } 4052fi 4053 4054 4055fi 4056if test -z "$ac_cv_prog_DLLTOOL"; then 4057 ac_ct_DLLTOOL=$DLLTOOL 4058 # Extract the first word of "dlltool", so it can be a program name with args. 4059set dummy dlltool; ac_word=$2 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4061$as_echo_n "checking for $ac_word... " >&6; } 4062if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4063 $as_echo_n "(cached) " >&6 4064else 4065 if test -n "$ac_ct_DLLTOOL"; then 4066 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4067else 4068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4069for as_dir in $PATH 4070do 4071 IFS=$as_save_IFS 4072 test -z "$as_dir" && as_dir=. 4073 for ac_exec_ext in '' $ac_executable_extensions; do 4074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4075 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4077 break 2 4078 fi 4079done 4080 done 4081IFS=$as_save_IFS 4082 4083fi 4084fi 4085ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4086if test -n "$ac_ct_DLLTOOL"; then 4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4088$as_echo "$ac_ct_DLLTOOL" >&6; } 4089else 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4091$as_echo "no" >&6; } 4092fi 4093 4094 if test "x$ac_ct_DLLTOOL" = x; then 4095 DLLTOOL="false" 4096 else 4097 case $cross_compiling:$ac_tool_warned in 4098yes:) 4099{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4100$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4101ac_tool_warned=yes ;; 4102esac 4103 DLLTOOL=$ac_ct_DLLTOOL 4104 fi 4105else 4106 DLLTOOL="$ac_cv_prog_DLLTOOL" 4107fi 4108 4109 if test -n "$ac_tool_prefix"; then 4110 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4111set dummy ${ac_tool_prefix}objdump; ac_word=$2 4112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4113$as_echo_n "checking for $ac_word... " >&6; } 4114if ${ac_cv_prog_OBJDUMP+:} false; then : 4115 $as_echo_n "(cached) " >&6 4116else 4117 if test -n "$OBJDUMP"; then 4118 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4119else 4120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4121for as_dir in $PATH 4122do 4123 IFS=$as_save_IFS 4124 test -z "$as_dir" && as_dir=. 4125 for ac_exec_ext in '' $ac_executable_extensions; do 4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4127 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4129 break 2 4130 fi 4131done 4132 done 4133IFS=$as_save_IFS 4134 4135fi 4136fi 4137OBJDUMP=$ac_cv_prog_OBJDUMP 4138if test -n "$OBJDUMP"; then 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4140$as_echo "$OBJDUMP" >&6; } 4141else 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4143$as_echo "no" >&6; } 4144fi 4145 4146 4147fi 4148if test -z "$ac_cv_prog_OBJDUMP"; then 4149 ac_ct_OBJDUMP=$OBJDUMP 4150 # Extract the first word of "objdump", so it can be a program name with args. 4151set dummy objdump; ac_word=$2 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4153$as_echo_n "checking for $ac_word... " >&6; } 4154if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4155 $as_echo_n "(cached) " >&6 4156else 4157 if test -n "$ac_ct_OBJDUMP"; then 4158 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4159else 4160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4161for as_dir in $PATH 4162do 4163 IFS=$as_save_IFS 4164 test -z "$as_dir" && as_dir=. 4165 for ac_exec_ext in '' $ac_executable_extensions; do 4166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4167 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4169 break 2 4170 fi 4171done 4172 done 4173IFS=$as_save_IFS 4174 4175fi 4176fi 4177ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4178if test -n "$ac_ct_OBJDUMP"; then 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4180$as_echo "$ac_ct_OBJDUMP" >&6; } 4181else 4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4183$as_echo "no" >&6; } 4184fi 4185 4186 if test "x$ac_ct_OBJDUMP" = x; then 4187 OBJDUMP="false" 4188 else 4189 case $cross_compiling:$ac_tool_warned in 4190yes:) 4191{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4192$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4193ac_tool_warned=yes ;; 4194esac 4195 OBJDUMP=$ac_ct_OBJDUMP 4196 fi 4197else 4198 OBJDUMP="$ac_cv_prog_OBJDUMP" 4199fi 4200 4201 ;; 4202esac 4203 4204test -z "$AS" && AS=as 4205 4206 4207 4208 4209 4210test -z "$DLLTOOL" && DLLTOOL=dlltool 4211 4212 4213 4214 4215 4216test -z "$OBJDUMP" && OBJDUMP=objdump 4217 4218 4219 4220 4221 4222 4223 4224case `pwd` in 4225 *\ * | *\ *) 4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4227$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4228esac 4229 4230 4231 4232macro_version='2.4.2' 4233macro_revision='1.3337' 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247ltmain="$ac_aux_dir/ltmain.sh" 4248 4249# Backslashify metacharacters that are still active within 4250# double-quoted strings. 4251sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4252 4253# Same as above, but do not quote variable references. 4254double_quote_subst='s/\(["`\\]\)/\\\1/g' 4255 4256# Sed substitution to delay expansion of an escaped shell variable in a 4257# double_quote_subst'ed string. 4258delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4259 4260# Sed substitution to delay expansion of an escaped single quote. 4261delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4262 4263# Sed substitution to avoid accidental globbing in evaled expressions 4264no_glob_subst='s/\*/\\\*/g' 4265 4266ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4267ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4268ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4269 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4271$as_echo_n "checking how to print strings... " >&6; } 4272# Test print first, because it will be a builtin if present. 4273if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4274 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4275 ECHO='print -r --' 4276elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4277 ECHO='printf %s\n' 4278else 4279 # Use this function as a fallback that always works. 4280 func_fallback_echo () 4281 { 4282 eval 'cat <<_LTECHO_EOF 4283$1 4284_LTECHO_EOF' 4285 } 4286 ECHO='func_fallback_echo' 4287fi 4288 4289# func_echo_all arg... 4290# Invoke $ECHO with all args, space-separated. 4291func_echo_all () 4292{ 4293 $ECHO "" 4294} 4295 4296case "$ECHO" in 4297 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4298$as_echo "printf" >&6; } ;; 4299 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4300$as_echo "print -r" >&6; } ;; 4301 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4302$as_echo "cat" >&6; } ;; 4303esac 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4319$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4320if ${ac_cv_path_SED+:} false; then : 4321 $as_echo_n "(cached) " >&6 4322else 4323 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4324 for ac_i in 1 2 3 4 5 6 7; do 4325 ac_script="$ac_script$as_nl$ac_script" 4326 done 4327 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4328 { ac_script=; unset ac_script;} 4329 if test -z "$SED"; then 4330 ac_path_SED_found=false 4331 # Loop through the user's path and test for each of PROGNAME-LIST 4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4333for as_dir in $PATH 4334do 4335 IFS=$as_save_IFS 4336 test -z "$as_dir" && as_dir=. 4337 for ac_prog in sed gsed; do 4338 for ac_exec_ext in '' $ac_executable_extensions; do 4339 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4340 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4341# Check for GNU ac_path_SED and select it if it is found. 4342 # Check for GNU $ac_path_SED 4343case `"$ac_path_SED" --version 2>&1` in 4344*GNU*) 4345 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4346*) 4347 ac_count=0 4348 $as_echo_n 0123456789 >"conftest.in" 4349 while : 4350 do 4351 cat "conftest.in" "conftest.in" >"conftest.tmp" 4352 mv "conftest.tmp" "conftest.in" 4353 cp "conftest.in" "conftest.nl" 4354 $as_echo '' >> "conftest.nl" 4355 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4357 as_fn_arith $ac_count + 1 && ac_count=$as_val 4358 if test $ac_count -gt ${ac_path_SED_max-0}; then 4359 # Best one so far, save it but keep looking for a better one 4360 ac_cv_path_SED="$ac_path_SED" 4361 ac_path_SED_max=$ac_count 4362 fi 4363 # 10*(2^10) chars as input seems more than enough 4364 test $ac_count -gt 10 && break 4365 done 4366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4367esac 4368 4369 $ac_path_SED_found && break 3 4370 done 4371 done 4372 done 4373IFS=$as_save_IFS 4374 if test -z "$ac_cv_path_SED"; then 4375 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4376 fi 4377else 4378 ac_cv_path_SED=$SED 4379fi 4380 4381fi 4382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4383$as_echo "$ac_cv_path_SED" >&6; } 4384 SED="$ac_cv_path_SED" 4385 rm -f conftest.sed 4386 4387test -z "$SED" && SED=sed 4388Xsed="$SED -e 1s/^X//" 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4401$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4402if ${ac_cv_path_GREP+:} false; then : 4403 $as_echo_n "(cached) " >&6 4404else 4405 if test -z "$GREP"; then 4406 ac_path_GREP_found=false 4407 # Loop through the user's path and test for each of PROGNAME-LIST 4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4409for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4410do 4411 IFS=$as_save_IFS 4412 test -z "$as_dir" && as_dir=. 4413 for ac_prog in grep ggrep; do 4414 for ac_exec_ext in '' $ac_executable_extensions; do 4415 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4416 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4417# Check for GNU ac_path_GREP and select it if it is found. 4418 # Check for GNU $ac_path_GREP 4419case `"$ac_path_GREP" --version 2>&1` in 4420*GNU*) 4421 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4422*) 4423 ac_count=0 4424 $as_echo_n 0123456789 >"conftest.in" 4425 while : 4426 do 4427 cat "conftest.in" "conftest.in" >"conftest.tmp" 4428 mv "conftest.tmp" "conftest.in" 4429 cp "conftest.in" "conftest.nl" 4430 $as_echo 'GREP' >> "conftest.nl" 4431 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4432 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4433 as_fn_arith $ac_count + 1 && ac_count=$as_val 4434 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4435 # Best one so far, save it but keep looking for a better one 4436 ac_cv_path_GREP="$ac_path_GREP" 4437 ac_path_GREP_max=$ac_count 4438 fi 4439 # 10*(2^10) chars as input seems more than enough 4440 test $ac_count -gt 10 && break 4441 done 4442 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4443esac 4444 4445 $ac_path_GREP_found && break 3 4446 done 4447 done 4448 done 4449IFS=$as_save_IFS 4450 if test -z "$ac_cv_path_GREP"; then 4451 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4452 fi 4453else 4454 ac_cv_path_GREP=$GREP 4455fi 4456 4457fi 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4459$as_echo "$ac_cv_path_GREP" >&6; } 4460 GREP="$ac_cv_path_GREP" 4461 4462 4463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4464$as_echo_n "checking for egrep... " >&6; } 4465if ${ac_cv_path_EGREP+:} false; then : 4466 $as_echo_n "(cached) " >&6 4467else 4468 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4469 then ac_cv_path_EGREP="$GREP -E" 4470 else 4471 if test -z "$EGREP"; then 4472 ac_path_EGREP_found=false 4473 # Loop through the user's path and test for each of PROGNAME-LIST 4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4475for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4476do 4477 IFS=$as_save_IFS 4478 test -z "$as_dir" && as_dir=. 4479 for ac_prog in egrep; do 4480 for ac_exec_ext in '' $ac_executable_extensions; do 4481 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4482 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4483# Check for GNU ac_path_EGREP and select it if it is found. 4484 # Check for GNU $ac_path_EGREP 4485case `"$ac_path_EGREP" --version 2>&1` in 4486*GNU*) 4487 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4488*) 4489 ac_count=0 4490 $as_echo_n 0123456789 >"conftest.in" 4491 while : 4492 do 4493 cat "conftest.in" "conftest.in" >"conftest.tmp" 4494 mv "conftest.tmp" "conftest.in" 4495 cp "conftest.in" "conftest.nl" 4496 $as_echo 'EGREP' >> "conftest.nl" 4497 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4498 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4499 as_fn_arith $ac_count + 1 && ac_count=$as_val 4500 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4501 # Best one so far, save it but keep looking for a better one 4502 ac_cv_path_EGREP="$ac_path_EGREP" 4503 ac_path_EGREP_max=$ac_count 4504 fi 4505 # 10*(2^10) chars as input seems more than enough 4506 test $ac_count -gt 10 && break 4507 done 4508 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4509esac 4510 4511 $ac_path_EGREP_found && break 3 4512 done 4513 done 4514 done 4515IFS=$as_save_IFS 4516 if test -z "$ac_cv_path_EGREP"; then 4517 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4518 fi 4519else 4520 ac_cv_path_EGREP=$EGREP 4521fi 4522 4523 fi 4524fi 4525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4526$as_echo "$ac_cv_path_EGREP" >&6; } 4527 EGREP="$ac_cv_path_EGREP" 4528 4529 4530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4531$as_echo_n "checking for fgrep... " >&6; } 4532if ${ac_cv_path_FGREP+:} false; then : 4533 $as_echo_n "(cached) " >&6 4534else 4535 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4536 then ac_cv_path_FGREP="$GREP -F" 4537 else 4538 if test -z "$FGREP"; then 4539 ac_path_FGREP_found=false 4540 # Loop through the user's path and test for each of PROGNAME-LIST 4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4542for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4543do 4544 IFS=$as_save_IFS 4545 test -z "$as_dir" && as_dir=. 4546 for ac_prog in fgrep; do 4547 for ac_exec_ext in '' $ac_executable_extensions; do 4548 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4549 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4550# Check for GNU ac_path_FGREP and select it if it is found. 4551 # Check for GNU $ac_path_FGREP 4552case `"$ac_path_FGREP" --version 2>&1` in 4553*GNU*) 4554 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4555*) 4556 ac_count=0 4557 $as_echo_n 0123456789 >"conftest.in" 4558 while : 4559 do 4560 cat "conftest.in" "conftest.in" >"conftest.tmp" 4561 mv "conftest.tmp" "conftest.in" 4562 cp "conftest.in" "conftest.nl" 4563 $as_echo 'FGREP' >> "conftest.nl" 4564 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4565 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4566 as_fn_arith $ac_count + 1 && ac_count=$as_val 4567 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4568 # Best one so far, save it but keep looking for a better one 4569 ac_cv_path_FGREP="$ac_path_FGREP" 4570 ac_path_FGREP_max=$ac_count 4571 fi 4572 # 10*(2^10) chars as input seems more than enough 4573 test $ac_count -gt 10 && break 4574 done 4575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4576esac 4577 4578 $ac_path_FGREP_found && break 3 4579 done 4580 done 4581 done 4582IFS=$as_save_IFS 4583 if test -z "$ac_cv_path_FGREP"; then 4584 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4585 fi 4586else 4587 ac_cv_path_FGREP=$FGREP 4588fi 4589 4590 fi 4591fi 4592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4593$as_echo "$ac_cv_path_FGREP" >&6; } 4594 FGREP="$ac_cv_path_FGREP" 4595 4596 4597test -z "$GREP" && GREP=grep 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617# Check whether --with-gnu-ld was given. 4618if test "${with_gnu_ld+set}" = set; then : 4619 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4620else 4621 with_gnu_ld=no 4622fi 4623 4624ac_prog=ld 4625if test "$GCC" = yes; then 4626 # Check if gcc -print-prog-name=ld gives a path. 4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4628$as_echo_n "checking for ld used by $CC... " >&6; } 4629 case $host in 4630 *-*-mingw*) 4631 # gcc leaves a trailing carriage return which upsets mingw 4632 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4633 *) 4634 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4635 esac 4636 case $ac_prog in 4637 # Accept absolute paths. 4638 [\\/]* | ?:[\\/]*) 4639 re_direlt='/[^/][^/]*/\.\./' 4640 # Canonicalize the pathname of ld 4641 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4642 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4643 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4644 done 4645 test -z "$LD" && LD="$ac_prog" 4646 ;; 4647 "") 4648 # If it fails, then pretend we aren't using GCC. 4649 ac_prog=ld 4650 ;; 4651 *) 4652 # If it is relative, then search for the first ld in PATH. 4653 with_gnu_ld=unknown 4654 ;; 4655 esac 4656elif test "$with_gnu_ld" = yes; then 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4658$as_echo_n "checking for GNU ld... " >&6; } 4659else 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4661$as_echo_n "checking for non-GNU ld... " >&6; } 4662fi 4663if ${lt_cv_path_LD+:} false; then : 4664 $as_echo_n "(cached) " >&6 4665else 4666 if test -z "$LD"; then 4667 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4668 for ac_dir in $PATH; do 4669 IFS="$lt_save_ifs" 4670 test -z "$ac_dir" && ac_dir=. 4671 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4672 lt_cv_path_LD="$ac_dir/$ac_prog" 4673 # Check to see if the program is GNU ld. I'd rather use --version, 4674 # but apparently some variants of GNU ld only accept -v. 4675 # Break only if it was the GNU/non-GNU ld that we prefer. 4676 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4677 *GNU* | *'with BFD'*) 4678 test "$with_gnu_ld" != no && break 4679 ;; 4680 *) 4681 test "$with_gnu_ld" != yes && break 4682 ;; 4683 esac 4684 fi 4685 done 4686 IFS="$lt_save_ifs" 4687else 4688 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4689fi 4690fi 4691 4692LD="$lt_cv_path_LD" 4693if test -n "$LD"; then 4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4695$as_echo "$LD" >&6; } 4696else 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4698$as_echo "no" >&6; } 4699fi 4700test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4702$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4703if ${lt_cv_prog_gnu_ld+:} false; then : 4704 $as_echo_n "(cached) " >&6 4705else 4706 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4707case `$LD -v 2>&1 </dev/null` in 4708*GNU* | *'with BFD'*) 4709 lt_cv_prog_gnu_ld=yes 4710 ;; 4711*) 4712 lt_cv_prog_gnu_ld=no 4713 ;; 4714esac 4715fi 4716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4717$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4718with_gnu_ld=$lt_cv_prog_gnu_ld 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4729$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4730if ${lt_cv_path_NM+:} false; then : 4731 $as_echo_n "(cached) " >&6 4732else 4733 if test -n "$NM"; then 4734 # Let the user override the test. 4735 lt_cv_path_NM="$NM" 4736else 4737 lt_nm_to_check="${ac_tool_prefix}nm" 4738 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4739 lt_nm_to_check="$lt_nm_to_check nm" 4740 fi 4741 for lt_tmp_nm in $lt_nm_to_check; do 4742 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4743 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4744 IFS="$lt_save_ifs" 4745 test -z "$ac_dir" && ac_dir=. 4746 tmp_nm="$ac_dir/$lt_tmp_nm" 4747 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4748 # Check to see if the nm accepts a BSD-compat flag. 4749 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4750 # nm: unknown option "B" ignored 4751 # Tru64's nm complains that /dev/null is an invalid object file 4752 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4753 */dev/null* | *'Invalid file or object type'*) 4754 lt_cv_path_NM="$tmp_nm -B" 4755 break 4756 ;; 4757 *) 4758 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4759 */dev/null*) 4760 lt_cv_path_NM="$tmp_nm -p" 4761 break 4762 ;; 4763 *) 4764 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4765 continue # so that we can try to find one that supports BSD flags 4766 ;; 4767 esac 4768 ;; 4769 esac 4770 fi 4771 done 4772 IFS="$lt_save_ifs" 4773 done 4774 : ${lt_cv_path_NM=no} 4775fi 4776fi 4777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4778$as_echo "$lt_cv_path_NM" >&6; } 4779if test "$lt_cv_path_NM" != "no"; then 4780 NM="$lt_cv_path_NM" 4781else 4782 # Didn't find any BSD compatible name lister, look for dumpbin. 4783 if test -n "$DUMPBIN"; then : 4784 # Let the user override the test. 4785 else 4786 if test -n "$ac_tool_prefix"; then 4787 for ac_prog in dumpbin "link -dump" 4788 do 4789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4790set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4792$as_echo_n "checking for $ac_word... " >&6; } 4793if ${ac_cv_prog_DUMPBIN+:} false; then : 4794 $as_echo_n "(cached) " >&6 4795else 4796 if test -n "$DUMPBIN"; then 4797 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4798else 4799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4800for as_dir in $PATH 4801do 4802 IFS=$as_save_IFS 4803 test -z "$as_dir" && as_dir=. 4804 for ac_exec_ext in '' $ac_executable_extensions; do 4805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4806 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4808 break 2 4809 fi 4810done 4811 done 4812IFS=$as_save_IFS 4813 4814fi 4815fi 4816DUMPBIN=$ac_cv_prog_DUMPBIN 4817if test -n "$DUMPBIN"; then 4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4819$as_echo "$DUMPBIN" >&6; } 4820else 4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4822$as_echo "no" >&6; } 4823fi 4824 4825 4826 test -n "$DUMPBIN" && break 4827 done 4828fi 4829if test -z "$DUMPBIN"; then 4830 ac_ct_DUMPBIN=$DUMPBIN 4831 for ac_prog in dumpbin "link -dump" 4832do 4833 # Extract the first word of "$ac_prog", so it can be a program name with args. 4834set dummy $ac_prog; ac_word=$2 4835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4836$as_echo_n "checking for $ac_word... " >&6; } 4837if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4838 $as_echo_n "(cached) " >&6 4839else 4840 if test -n "$ac_ct_DUMPBIN"; then 4841 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4842else 4843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4844for as_dir in $PATH 4845do 4846 IFS=$as_save_IFS 4847 test -z "$as_dir" && as_dir=. 4848 for ac_exec_ext in '' $ac_executable_extensions; do 4849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4850 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4852 break 2 4853 fi 4854done 4855 done 4856IFS=$as_save_IFS 4857 4858fi 4859fi 4860ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4861if test -n "$ac_ct_DUMPBIN"; then 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4863$as_echo "$ac_ct_DUMPBIN" >&6; } 4864else 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866$as_echo "no" >&6; } 4867fi 4868 4869 4870 test -n "$ac_ct_DUMPBIN" && break 4871done 4872 4873 if test "x$ac_ct_DUMPBIN" = x; then 4874 DUMPBIN=":" 4875 else 4876 case $cross_compiling:$ac_tool_warned in 4877yes:) 4878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4880ac_tool_warned=yes ;; 4881esac 4882 DUMPBIN=$ac_ct_DUMPBIN 4883 fi 4884fi 4885 4886 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4887 *COFF*) 4888 DUMPBIN="$DUMPBIN -symbols" 4889 ;; 4890 *) 4891 DUMPBIN=: 4892 ;; 4893 esac 4894 fi 4895 4896 if test "$DUMPBIN" != ":"; then 4897 NM="$DUMPBIN" 4898 fi 4899fi 4900test -z "$NM" && NM=nm 4901 4902 4903 4904 4905 4906 4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4908$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4909if ${lt_cv_nm_interface+:} false; then : 4910 $as_echo_n "(cached) " >&6 4911else 4912 lt_cv_nm_interface="BSD nm" 4913 echo "int some_variable = 0;" > conftest.$ac_ext 4914 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4915 (eval "$ac_compile" 2>conftest.err) 4916 cat conftest.err >&5 4917 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4918 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4919 cat conftest.err >&5 4920 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4921 cat conftest.out >&5 4922 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4923 lt_cv_nm_interface="MS dumpbin" 4924 fi 4925 rm -f conftest* 4926fi 4927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4928$as_echo "$lt_cv_nm_interface" >&6; } 4929 4930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4931$as_echo_n "checking whether ln -s works... " >&6; } 4932LN_S=$as_ln_s 4933if test "$LN_S" = "ln -s"; then 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4935$as_echo "yes" >&6; } 4936else 4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4938$as_echo "no, using $LN_S" >&6; } 4939fi 4940 4941# find the maximum length of command line arguments 4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4943$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4944if ${lt_cv_sys_max_cmd_len+:} false; then : 4945 $as_echo_n "(cached) " >&6 4946else 4947 i=0 4948 teststring="ABCD" 4949 4950 case $build_os in 4951 msdosdjgpp*) 4952 # On DJGPP, this test can blow up pretty badly due to problems in libc 4953 # (any single argument exceeding 2000 bytes causes a buffer overrun 4954 # during glob expansion). Even if it were fixed, the result of this 4955 # check would be larger than it should be. 4956 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4957 ;; 4958 4959 gnu*) 4960 # Under GNU Hurd, this test is not required because there is 4961 # no limit to the length of command line arguments. 4962 # Libtool will interpret -1 as no limit whatsoever 4963 lt_cv_sys_max_cmd_len=-1; 4964 ;; 4965 4966 cygwin* | mingw* | cegcc*) 4967 # On Win9x/ME, this test blows up -- it succeeds, but takes 4968 # about 5 minutes as the teststring grows exponentially. 4969 # Worse, since 9x/ME are not pre-emptively multitasking, 4970 # you end up with a "frozen" computer, even though with patience 4971 # the test eventually succeeds (with a max line length of 256k). 4972 # Instead, let's just punt: use the minimum linelength reported by 4973 # all of the supported platforms: 8192 (on NT/2K/XP). 4974 lt_cv_sys_max_cmd_len=8192; 4975 ;; 4976 4977 mint*) 4978 # On MiNT this can take a long time and run out of memory. 4979 lt_cv_sys_max_cmd_len=8192; 4980 ;; 4981 4982 amigaos*) 4983 # On AmigaOS with pdksh, this test takes hours, literally. 4984 # So we just punt and use a minimum line length of 8192. 4985 lt_cv_sys_max_cmd_len=8192; 4986 ;; 4987 4988 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4989 # This has been around since 386BSD, at least. Likely further. 4990 if test -x /sbin/sysctl; then 4991 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4992 elif test -x /usr/sbin/sysctl; then 4993 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4994 else 4995 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4996 fi 4997 # And add a safety zone 4998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5000 ;; 5001 5002 interix*) 5003 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5004 lt_cv_sys_max_cmd_len=196608 5005 ;; 5006 5007 os2*) 5008 # The test takes a long time on OS/2. 5009 lt_cv_sys_max_cmd_len=8192 5010 ;; 5011 5012 osf*) 5013 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5014 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5015 # nice to cause kernel panics so lets avoid the loop below. 5016 # First set a reasonable default. 5017 lt_cv_sys_max_cmd_len=16384 5018 # 5019 if test -x /sbin/sysconfig; then 5020 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5021 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5022 esac 5023 fi 5024 ;; 5025 sco3.2v5*) 5026 lt_cv_sys_max_cmd_len=102400 5027 ;; 5028 sysv5* | sco5v6* | sysv4.2uw2*) 5029 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5030 if test -n "$kargmax"; then 5031 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5032 else 5033 lt_cv_sys_max_cmd_len=32768 5034 fi 5035 ;; 5036 *) 5037 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5038 if test -n "$lt_cv_sys_max_cmd_len"; then 5039 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5041 else 5042 # Make teststring a little bigger before we do anything with it. 5043 # a 1K string should be a reasonable start. 5044 for i in 1 2 3 4 5 6 7 8 ; do 5045 teststring=$teststring$teststring 5046 done 5047 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5048 # If test is not a shell built-in, we'll probably end up computing a 5049 # maximum length that is only half of the actual maximum length, but 5050 # we can't tell. 5051 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5052 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5053 test $i != 17 # 1/2 MB should be enough 5054 do 5055 i=`expr $i + 1` 5056 teststring=$teststring$teststring 5057 done 5058 # Only check the string length outside the loop. 5059 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5060 teststring= 5061 # Add a significant safety factor because C++ compilers can tack on 5062 # massive amounts of additional arguments before passing them to the 5063 # linker. It appears as though 1/2 is a usable value. 5064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5065 fi 5066 ;; 5067 esac 5068 5069fi 5070 5071if test -n $lt_cv_sys_max_cmd_len ; then 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5073$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5074else 5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5076$as_echo "none" >&6; } 5077fi 5078max_cmd_len=$lt_cv_sys_max_cmd_len 5079 5080 5081 5082 5083 5084 5085: ${CP="cp -f"} 5086: ${MV="mv -f"} 5087: ${RM="rm -f"} 5088 5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5090$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5091# Try some XSI features 5092xsi_shell=no 5093( _lt_dummy="a/b/c" 5094 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5095 = c,a/b,b/c, \ 5096 && eval 'test $(( 1 + 1 )) -eq 2 \ 5097 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5098 && xsi_shell=yes 5099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5100$as_echo "$xsi_shell" >&6; } 5101 5102 5103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5104$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5105lt_shell_append=no 5106( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5107 >/dev/null 2>&1 \ 5108 && lt_shell_append=yes 5109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5110$as_echo "$lt_shell_append" >&6; } 5111 5112 5113if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5114 lt_unset=unset 5115else 5116 lt_unset=false 5117fi 5118 5119 5120 5121 5122 5123# test EBCDIC or ASCII 5124case `echo X|tr X '\101'` in 5125 A) # ASCII based system 5126 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5127 lt_SP2NL='tr \040 \012' 5128 lt_NL2SP='tr \015\012 \040\040' 5129 ;; 5130 *) # EBCDIC based system 5131 lt_SP2NL='tr \100 \n' 5132 lt_NL2SP='tr \r\n \100\100' 5133 ;; 5134esac 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5145$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5146if ${lt_cv_to_host_file_cmd+:} false; then : 5147 $as_echo_n "(cached) " >&6 5148else 5149 case $host in 5150 *-*-mingw* ) 5151 case $build in 5152 *-*-mingw* ) # actually msys 5153 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5154 ;; 5155 *-*-cygwin* ) 5156 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5157 ;; 5158 * ) # otherwise, assume *nix 5159 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5160 ;; 5161 esac 5162 ;; 5163 *-*-cygwin* ) 5164 case $build in 5165 *-*-mingw* ) # actually msys 5166 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5167 ;; 5168 *-*-cygwin* ) 5169 lt_cv_to_host_file_cmd=func_convert_file_noop 5170 ;; 5171 * ) # otherwise, assume *nix 5172 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5173 ;; 5174 esac 5175 ;; 5176 * ) # unhandled hosts (and "normal" native builds) 5177 lt_cv_to_host_file_cmd=func_convert_file_noop 5178 ;; 5179esac 5180 5181fi 5182 5183to_host_file_cmd=$lt_cv_to_host_file_cmd 5184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5185$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5186 5187 5188 5189 5190 5191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5192$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5193if ${lt_cv_to_tool_file_cmd+:} false; then : 5194 $as_echo_n "(cached) " >&6 5195else 5196 #assume ordinary cross tools, or native build. 5197lt_cv_to_tool_file_cmd=func_convert_file_noop 5198case $host in 5199 *-*-mingw* ) 5200 case $build in 5201 *-*-mingw* ) # actually msys 5202 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5203 ;; 5204 esac 5205 ;; 5206esac 5207 5208fi 5209 5210to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5212$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5213 5214 5215 5216 5217 5218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5219$as_echo_n "checking for $LD option to reload object files... " >&6; } 5220if ${lt_cv_ld_reload_flag+:} false; then : 5221 $as_echo_n "(cached) " >&6 5222else 5223 lt_cv_ld_reload_flag='-r' 5224fi 5225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5226$as_echo "$lt_cv_ld_reload_flag" >&6; } 5227reload_flag=$lt_cv_ld_reload_flag 5228case $reload_flag in 5229"" | " "*) ;; 5230*) reload_flag=" $reload_flag" ;; 5231esac 5232reload_cmds='$LD$reload_flag -o $output$reload_objs' 5233case $host_os in 5234 cygwin* | mingw* | pw32* | cegcc*) 5235 if test "$GCC" != yes; then 5236 reload_cmds=false 5237 fi 5238 ;; 5239 darwin*) 5240 if test "$GCC" = yes; then 5241 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5242 else 5243 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5244 fi 5245 ;; 5246esac 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256if test -n "$ac_tool_prefix"; then 5257 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5258set dummy ${ac_tool_prefix}objdump; ac_word=$2 5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5260$as_echo_n "checking for $ac_word... " >&6; } 5261if ${ac_cv_prog_OBJDUMP+:} false; then : 5262 $as_echo_n "(cached) " >&6 5263else 5264 if test -n "$OBJDUMP"; then 5265 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5266else 5267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5268for as_dir in $PATH 5269do 5270 IFS=$as_save_IFS 5271 test -z "$as_dir" && as_dir=. 5272 for ac_exec_ext in '' $ac_executable_extensions; do 5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5274 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5276 break 2 5277 fi 5278done 5279 done 5280IFS=$as_save_IFS 5281 5282fi 5283fi 5284OBJDUMP=$ac_cv_prog_OBJDUMP 5285if test -n "$OBJDUMP"; then 5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5287$as_echo "$OBJDUMP" >&6; } 5288else 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5290$as_echo "no" >&6; } 5291fi 5292 5293 5294fi 5295if test -z "$ac_cv_prog_OBJDUMP"; then 5296 ac_ct_OBJDUMP=$OBJDUMP 5297 # Extract the first word of "objdump", so it can be a program name with args. 5298set dummy objdump; ac_word=$2 5299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5300$as_echo_n "checking for $ac_word... " >&6; } 5301if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5302 $as_echo_n "(cached) " >&6 5303else 5304 if test -n "$ac_ct_OBJDUMP"; then 5305 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5306else 5307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5308for as_dir in $PATH 5309do 5310 IFS=$as_save_IFS 5311 test -z "$as_dir" && as_dir=. 5312 for ac_exec_ext in '' $ac_executable_extensions; do 5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5314 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5316 break 2 5317 fi 5318done 5319 done 5320IFS=$as_save_IFS 5321 5322fi 5323fi 5324ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5325if test -n "$ac_ct_OBJDUMP"; then 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5327$as_echo "$ac_ct_OBJDUMP" >&6; } 5328else 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5330$as_echo "no" >&6; } 5331fi 5332 5333 if test "x$ac_ct_OBJDUMP" = x; then 5334 OBJDUMP="false" 5335 else 5336 case $cross_compiling:$ac_tool_warned in 5337yes:) 5338{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5339$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5340ac_tool_warned=yes ;; 5341esac 5342 OBJDUMP=$ac_ct_OBJDUMP 5343 fi 5344else 5345 OBJDUMP="$ac_cv_prog_OBJDUMP" 5346fi 5347 5348test -z "$OBJDUMP" && OBJDUMP=objdump 5349 5350 5351 5352 5353 5354 5355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5356$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5357if ${lt_cv_deplibs_check_method+:} false; then : 5358 $as_echo_n "(cached) " >&6 5359else 5360 lt_cv_file_magic_cmd='$MAGIC_CMD' 5361lt_cv_file_magic_test_file= 5362lt_cv_deplibs_check_method='unknown' 5363# Need to set the preceding variable on all platforms that support 5364# interlibrary dependencies. 5365# 'none' -- dependencies not supported. 5366# `unknown' -- same as none, but documents that we really don't know. 5367# 'pass_all' -- all dependencies passed with no checks. 5368# 'test_compile' -- check by making test program. 5369# 'file_magic [[regex]]' -- check by looking for files in library path 5370# which responds to the $file_magic_cmd with a given extended regex. 5371# If you have `file' or equivalent on your system and you're not sure 5372# whether `pass_all' will *always* work, you probably want this one. 5373 5374case $host_os in 5375aix[4-9]*) 5376 lt_cv_deplibs_check_method=pass_all 5377 ;; 5378 5379beos*) 5380 lt_cv_deplibs_check_method=pass_all 5381 ;; 5382 5383bsdi[45]*) 5384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5385 lt_cv_file_magic_cmd='/usr/bin/file -L' 5386 lt_cv_file_magic_test_file=/shlib/libc.so 5387 ;; 5388 5389cygwin*) 5390 # func_win32_libid is a shell function defined in ltmain.sh 5391 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5392 lt_cv_file_magic_cmd='func_win32_libid' 5393 ;; 5394 5395mingw* | pw32*) 5396 # Base MSYS/MinGW do not provide the 'file' command needed by 5397 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5398 # unless we find 'file', for example because we are cross-compiling. 5399 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5400 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5401 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5402 lt_cv_file_magic_cmd='func_win32_libid' 5403 else 5404 # Keep this pattern in sync with the one in func_win32_libid. 5405 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5406 lt_cv_file_magic_cmd='$OBJDUMP -f' 5407 fi 5408 ;; 5409 5410cegcc*) 5411 # use the weaker test based on 'objdump'. See mingw*. 5412 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5413 lt_cv_file_magic_cmd='$OBJDUMP -f' 5414 ;; 5415 5416darwin* | rhapsody*) 5417 lt_cv_deplibs_check_method=pass_all 5418 ;; 5419 5420freebsd* | dragonfly*) 5421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5422 case $host_cpu in 5423 i*86 ) 5424 # Not sure whether the presence of OpenBSD here was a mistake. 5425 # Let's accept both of them until this is cleared up. 5426 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5427 lt_cv_file_magic_cmd=/usr/bin/file 5428 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5429 ;; 5430 esac 5431 else 5432 lt_cv_deplibs_check_method=pass_all 5433 fi 5434 ;; 5435 5436gnu*) 5437 lt_cv_deplibs_check_method=pass_all 5438 ;; 5439 5440haiku*) 5441 lt_cv_deplibs_check_method=pass_all 5442 ;; 5443 5444hpux10.20* | hpux11*) 5445 lt_cv_file_magic_cmd=/usr/bin/file 5446 case $host_cpu in 5447 ia64*) 5448 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5449 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5450 ;; 5451 hppa*64*) 5452 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]' 5453 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5454 ;; 5455 *) 5456 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5457 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5458 ;; 5459 esac 5460 ;; 5461 5462interix[3-9]*) 5463 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5465 ;; 5466 5467irix5* | irix6* | nonstopux*) 5468 case $LD in 5469 *-32|*"-32 ") libmagic=32-bit;; 5470 *-n32|*"-n32 ") libmagic=N32;; 5471 *-64|*"-64 ") libmagic=64-bit;; 5472 *) libmagic=never-match;; 5473 esac 5474 lt_cv_deplibs_check_method=pass_all 5475 ;; 5476 5477# This must be glibc/ELF. 5478linux* | k*bsd*-gnu | kopensolaris*-gnu) 5479 lt_cv_deplibs_check_method=pass_all 5480 ;; 5481 5482netbsd* | netbsdelf*-gnu) 5483 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5485 else 5486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5487 fi 5488 ;; 5489 5490newos6*) 5491 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5492 lt_cv_file_magic_cmd=/usr/bin/file 5493 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5494 ;; 5495 5496*nto* | *qnx*) 5497 lt_cv_deplibs_check_method=pass_all 5498 ;; 5499 5500openbsd*) 5501 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5502 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5503 else 5504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5505 fi 5506 ;; 5507 5508osf3* | osf4* | osf5*) 5509 lt_cv_deplibs_check_method=pass_all 5510 ;; 5511 5512rdos*) 5513 lt_cv_deplibs_check_method=pass_all 5514 ;; 5515 5516solaris*) 5517 lt_cv_deplibs_check_method=pass_all 5518 ;; 5519 5520sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5521 lt_cv_deplibs_check_method=pass_all 5522 ;; 5523 5524sysv4 | sysv4.3*) 5525 case $host_vendor in 5526 motorola) 5527 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]' 5528 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5529 ;; 5530 ncr) 5531 lt_cv_deplibs_check_method=pass_all 5532 ;; 5533 sequent) 5534 lt_cv_file_magic_cmd='/bin/file' 5535 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5536 ;; 5537 sni) 5538 lt_cv_file_magic_cmd='/bin/file' 5539 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5540 lt_cv_file_magic_test_file=/lib/libc.so 5541 ;; 5542 siemens) 5543 lt_cv_deplibs_check_method=pass_all 5544 ;; 5545 pc) 5546 lt_cv_deplibs_check_method=pass_all 5547 ;; 5548 esac 5549 ;; 5550 5551tpf*) 5552 lt_cv_deplibs_check_method=pass_all 5553 ;; 5554esac 5555 5556fi 5557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5558$as_echo "$lt_cv_deplibs_check_method" >&6; } 5559 5560file_magic_glob= 5561want_nocaseglob=no 5562if test "$build" = "$host"; then 5563 case $host_os in 5564 mingw* | pw32*) 5565 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5566 want_nocaseglob=yes 5567 else 5568 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5569 fi 5570 ;; 5571 esac 5572fi 5573 5574file_magic_cmd=$lt_cv_file_magic_cmd 5575deplibs_check_method=$lt_cv_deplibs_check_method 5576test -z "$deplibs_check_method" && deplibs_check_method=unknown 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599if test -n "$ac_tool_prefix"; then 5600 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5601set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5603$as_echo_n "checking for $ac_word... " >&6; } 5604if ${ac_cv_prog_DLLTOOL+:} false; then : 5605 $as_echo_n "(cached) " >&6 5606else 5607 if test -n "$DLLTOOL"; then 5608 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5609else 5610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5611for as_dir in $PATH 5612do 5613 IFS=$as_save_IFS 5614 test -z "$as_dir" && as_dir=. 5615 for ac_exec_ext in '' $ac_executable_extensions; do 5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5617 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5619 break 2 5620 fi 5621done 5622 done 5623IFS=$as_save_IFS 5624 5625fi 5626fi 5627DLLTOOL=$ac_cv_prog_DLLTOOL 5628if test -n "$DLLTOOL"; then 5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5630$as_echo "$DLLTOOL" >&6; } 5631else 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5633$as_echo "no" >&6; } 5634fi 5635 5636 5637fi 5638if test -z "$ac_cv_prog_DLLTOOL"; then 5639 ac_ct_DLLTOOL=$DLLTOOL 5640 # Extract the first word of "dlltool", so it can be a program name with args. 5641set dummy dlltool; ac_word=$2 5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5643$as_echo_n "checking for $ac_word... " >&6; } 5644if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5645 $as_echo_n "(cached) " >&6 5646else 5647 if test -n "$ac_ct_DLLTOOL"; then 5648 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5649else 5650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5651for as_dir in $PATH 5652do 5653 IFS=$as_save_IFS 5654 test -z "$as_dir" && as_dir=. 5655 for ac_exec_ext in '' $ac_executable_extensions; do 5656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5657 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5659 break 2 5660 fi 5661done 5662 done 5663IFS=$as_save_IFS 5664 5665fi 5666fi 5667ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5668if test -n "$ac_ct_DLLTOOL"; then 5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5670$as_echo "$ac_ct_DLLTOOL" >&6; } 5671else 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5673$as_echo "no" >&6; } 5674fi 5675 5676 if test "x$ac_ct_DLLTOOL" = x; then 5677 DLLTOOL="false" 5678 else 5679 case $cross_compiling:$ac_tool_warned in 5680yes:) 5681{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5682$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5683ac_tool_warned=yes ;; 5684esac 5685 DLLTOOL=$ac_ct_DLLTOOL 5686 fi 5687else 5688 DLLTOOL="$ac_cv_prog_DLLTOOL" 5689fi 5690 5691test -z "$DLLTOOL" && DLLTOOL=dlltool 5692 5693 5694 5695 5696 5697 5698 5699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5700$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5701if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5702 $as_echo_n "(cached) " >&6 5703else 5704 lt_cv_sharedlib_from_linklib_cmd='unknown' 5705 5706case $host_os in 5707cygwin* | mingw* | pw32* | cegcc*) 5708 # two different shell functions defined in ltmain.sh 5709 # decide which to use based on capabilities of $DLLTOOL 5710 case `$DLLTOOL --help 2>&1` in 5711 *--identify-strict*) 5712 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5713 ;; 5714 *) 5715 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5716 ;; 5717 esac 5718 ;; 5719*) 5720 # fallback: assume linklib IS sharedlib 5721 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5722 ;; 5723esac 5724 5725fi 5726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5727$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5728sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5729test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5730 5731 5732 5733 5734 5735 5736 5737 5738if test -n "$ac_tool_prefix"; then 5739 for ac_prog in ar 5740 do 5741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5742set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5744$as_echo_n "checking for $ac_word... " >&6; } 5745if ${ac_cv_prog_AR+:} false; then : 5746 $as_echo_n "(cached) " >&6 5747else 5748 if test -n "$AR"; then 5749 ac_cv_prog_AR="$AR" # Let the user override the test. 5750else 5751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5752for as_dir in $PATH 5753do 5754 IFS=$as_save_IFS 5755 test -z "$as_dir" && as_dir=. 5756 for ac_exec_ext in '' $ac_executable_extensions; do 5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5758 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5760 break 2 5761 fi 5762done 5763 done 5764IFS=$as_save_IFS 5765 5766fi 5767fi 5768AR=$ac_cv_prog_AR 5769if test -n "$AR"; then 5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5771$as_echo "$AR" >&6; } 5772else 5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5774$as_echo "no" >&6; } 5775fi 5776 5777 5778 test -n "$AR" && break 5779 done 5780fi 5781if test -z "$AR"; then 5782 ac_ct_AR=$AR 5783 for ac_prog in ar 5784do 5785 # Extract the first word of "$ac_prog", so it can be a program name with args. 5786set dummy $ac_prog; ac_word=$2 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5788$as_echo_n "checking for $ac_word... " >&6; } 5789if ${ac_cv_prog_ac_ct_AR+:} false; then : 5790 $as_echo_n "(cached) " >&6 5791else 5792 if test -n "$ac_ct_AR"; then 5793 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5794else 5795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5796for as_dir in $PATH 5797do 5798 IFS=$as_save_IFS 5799 test -z "$as_dir" && as_dir=. 5800 for ac_exec_ext in '' $ac_executable_extensions; do 5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5802 ac_cv_prog_ac_ct_AR="$ac_prog" 5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5804 break 2 5805 fi 5806done 5807 done 5808IFS=$as_save_IFS 5809 5810fi 5811fi 5812ac_ct_AR=$ac_cv_prog_ac_ct_AR 5813if test -n "$ac_ct_AR"; then 5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5815$as_echo "$ac_ct_AR" >&6; } 5816else 5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5818$as_echo "no" >&6; } 5819fi 5820 5821 5822 test -n "$ac_ct_AR" && break 5823done 5824 5825 if test "x$ac_ct_AR" = x; then 5826 AR="false" 5827 else 5828 case $cross_compiling:$ac_tool_warned in 5829yes:) 5830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5832ac_tool_warned=yes ;; 5833esac 5834 AR=$ac_ct_AR 5835 fi 5836fi 5837 5838: ${AR=ar} 5839: ${AR_FLAGS=cru} 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5852$as_echo_n "checking for archiver @FILE support... " >&6; } 5853if ${lt_cv_ar_at_file+:} false; then : 5854 $as_echo_n "(cached) " >&6 5855else 5856 lt_cv_ar_at_file=no 5857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5858/* end confdefs.h. */ 5859 5860int 5861main () 5862{ 5863 5864 ; 5865 return 0; 5866} 5867_ACEOF 5868if ac_fn_c_try_compile "$LINENO"; then : 5869 echo conftest.$ac_objext > conftest.lst 5870 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5872 (eval $lt_ar_try) 2>&5 5873 ac_status=$? 5874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5875 test $ac_status = 0; } 5876 if test "$ac_status" -eq 0; then 5877 # Ensure the archiver fails upon bogus file names. 5878 rm -f conftest.$ac_objext libconftest.a 5879 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5880 (eval $lt_ar_try) 2>&5 5881 ac_status=$? 5882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5883 test $ac_status = 0; } 5884 if test "$ac_status" -ne 0; then 5885 lt_cv_ar_at_file=@ 5886 fi 5887 fi 5888 rm -f conftest.* libconftest.a 5889 5890fi 5891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5892 5893fi 5894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5895$as_echo "$lt_cv_ar_at_file" >&6; } 5896 5897if test "x$lt_cv_ar_at_file" = xno; then 5898 archiver_list_spec= 5899else 5900 archiver_list_spec=$lt_cv_ar_at_file 5901fi 5902 5903 5904 5905 5906 5907 5908 5909if test -n "$ac_tool_prefix"; then 5910 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5911set dummy ${ac_tool_prefix}strip; ac_word=$2 5912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5913$as_echo_n "checking for $ac_word... " >&6; } 5914if ${ac_cv_prog_STRIP+:} false; then : 5915 $as_echo_n "(cached) " >&6 5916else 5917 if test -n "$STRIP"; then 5918 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5919else 5920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5921for as_dir in $PATH 5922do 5923 IFS=$as_save_IFS 5924 test -z "$as_dir" && as_dir=. 5925 for ac_exec_ext in '' $ac_executable_extensions; do 5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5927 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5929 break 2 5930 fi 5931done 5932 done 5933IFS=$as_save_IFS 5934 5935fi 5936fi 5937STRIP=$ac_cv_prog_STRIP 5938if test -n "$STRIP"; then 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5940$as_echo "$STRIP" >&6; } 5941else 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5943$as_echo "no" >&6; } 5944fi 5945 5946 5947fi 5948if test -z "$ac_cv_prog_STRIP"; then 5949 ac_ct_STRIP=$STRIP 5950 # Extract the first word of "strip", so it can be a program name with args. 5951set dummy strip; ac_word=$2 5952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5953$as_echo_n "checking for $ac_word... " >&6; } 5954if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5955 $as_echo_n "(cached) " >&6 5956else 5957 if test -n "$ac_ct_STRIP"; then 5958 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5959else 5960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5961for as_dir in $PATH 5962do 5963 IFS=$as_save_IFS 5964 test -z "$as_dir" && as_dir=. 5965 for ac_exec_ext in '' $ac_executable_extensions; do 5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5967 ac_cv_prog_ac_ct_STRIP="strip" 5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5969 break 2 5970 fi 5971done 5972 done 5973IFS=$as_save_IFS 5974 5975fi 5976fi 5977ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5978if test -n "$ac_ct_STRIP"; then 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5980$as_echo "$ac_ct_STRIP" >&6; } 5981else 5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5983$as_echo "no" >&6; } 5984fi 5985 5986 if test "x$ac_ct_STRIP" = x; then 5987 STRIP=":" 5988 else 5989 case $cross_compiling:$ac_tool_warned in 5990yes:) 5991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5993ac_tool_warned=yes ;; 5994esac 5995 STRIP=$ac_ct_STRIP 5996 fi 5997else 5998 STRIP="$ac_cv_prog_STRIP" 5999fi 6000 6001test -z "$STRIP" && STRIP=: 6002 6003 6004 6005 6006 6007 6008if test -n "$ac_tool_prefix"; then 6009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6010set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6012$as_echo_n "checking for $ac_word... " >&6; } 6013if ${ac_cv_prog_RANLIB+:} false; then : 6014 $as_echo_n "(cached) " >&6 6015else 6016 if test -n "$RANLIB"; then 6017 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6018else 6019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6020for as_dir in $PATH 6021do 6022 IFS=$as_save_IFS 6023 test -z "$as_dir" && as_dir=. 6024 for ac_exec_ext in '' $ac_executable_extensions; do 6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6026 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6028 break 2 6029 fi 6030done 6031 done 6032IFS=$as_save_IFS 6033 6034fi 6035fi 6036RANLIB=$ac_cv_prog_RANLIB 6037if test -n "$RANLIB"; then 6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6039$as_echo "$RANLIB" >&6; } 6040else 6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6042$as_echo "no" >&6; } 6043fi 6044 6045 6046fi 6047if test -z "$ac_cv_prog_RANLIB"; then 6048 ac_ct_RANLIB=$RANLIB 6049 # Extract the first word of "ranlib", so it can be a program name with args. 6050set dummy ranlib; ac_word=$2 6051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6052$as_echo_n "checking for $ac_word... " >&6; } 6053if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6054 $as_echo_n "(cached) " >&6 6055else 6056 if test -n "$ac_ct_RANLIB"; then 6057 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6058else 6059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6060for as_dir in $PATH 6061do 6062 IFS=$as_save_IFS 6063 test -z "$as_dir" && as_dir=. 6064 for ac_exec_ext in '' $ac_executable_extensions; do 6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6066 ac_cv_prog_ac_ct_RANLIB="ranlib" 6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6068 break 2 6069 fi 6070done 6071 done 6072IFS=$as_save_IFS 6073 6074fi 6075fi 6076ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6077if test -n "$ac_ct_RANLIB"; then 6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6079$as_echo "$ac_ct_RANLIB" >&6; } 6080else 6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6082$as_echo "no" >&6; } 6083fi 6084 6085 if test "x$ac_ct_RANLIB" = x; then 6086 RANLIB=":" 6087 else 6088 case $cross_compiling:$ac_tool_warned in 6089yes:) 6090{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6091$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6092ac_tool_warned=yes ;; 6093esac 6094 RANLIB=$ac_ct_RANLIB 6095 fi 6096else 6097 RANLIB="$ac_cv_prog_RANLIB" 6098fi 6099 6100test -z "$RANLIB" && RANLIB=: 6101 6102 6103 6104 6105 6106 6107# Determine commands to create old-style static archives. 6108old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6109old_postinstall_cmds='chmod 644 $oldlib' 6110old_postuninstall_cmds= 6111 6112if test -n "$RANLIB"; then 6113 case $host_os in 6114 openbsd*) 6115 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6116 ;; 6117 *) 6118 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6119 ;; 6120 esac 6121 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6122fi 6123 6124case $host_os in 6125 darwin*) 6126 lock_old_archive_extraction=yes ;; 6127 *) 6128 lock_old_archive_extraction=no ;; 6129esac 6130 6131 6132 6133 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# If no C compiler was specified, use CC. 6170LTCC=${LTCC-"$CC"} 6171 6172# If no C compiler flags were specified, use CFLAGS. 6173LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6174 6175# Allow CC to be a program name with arguments. 6176compiler=$CC 6177 6178 6179# Check for command to grab the raw symbol name followed by C symbol from nm. 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6181$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6182if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6183 $as_echo_n "(cached) " >&6 6184else 6185 6186# These are sane defaults that work on at least a few old systems. 6187# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6188 6189# Character class describing NM global symbol codes. 6190symcode='[BCDEGRST]' 6191 6192# Regexp to match symbols that can be accessed directly from C. 6193sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6194 6195# Define system-specific variables. 6196case $host_os in 6197aix*) 6198 symcode='[BCDT]' 6199 ;; 6200cygwin* | mingw* | pw32* | cegcc*) 6201 symcode='[ABCDGISTW]' 6202 ;; 6203hpux*) 6204 if test "$host_cpu" = ia64; then 6205 symcode='[ABCDEGRST]' 6206 fi 6207 ;; 6208irix* | nonstopux*) 6209 symcode='[BCDEGRST]' 6210 ;; 6211osf*) 6212 symcode='[BCDEGQRST]' 6213 ;; 6214solaris*) 6215 symcode='[BDRT]' 6216 ;; 6217sco3.2v5*) 6218 symcode='[DT]' 6219 ;; 6220sysv4.2uw2*) 6221 symcode='[DT]' 6222 ;; 6223sysv5* | sco5v6* | unixware* | OpenUNIX*) 6224 symcode='[ABDT]' 6225 ;; 6226sysv4) 6227 symcode='[DFNSTU]' 6228 ;; 6229esac 6230 6231# If we're using GNU nm, then use its standard symbol codes. 6232case `$NM -V 2>&1` in 6233*GNU* | *'with BFD'*) 6234 symcode='[ABCDGIRSTW]' ;; 6235esac 6236 6237# Transform an extracted symbol line into a proper C declaration. 6238# Some systems (esp. on ia64) link data and code symbols differently, 6239# so use this general approach. 6240lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6241 6242# Transform an extracted symbol line into symbol name and symbol address 6243lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6244lt_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'" 6245 6246# Handle CRLF in mingw tool chain 6247opt_cr= 6248case $build_os in 6249mingw*) 6250 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6251 ;; 6252esac 6253 6254# Try without a prefix underscore, then with it. 6255for ac_symprfx in "" "_"; do 6256 6257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6258 symxfrm="\\1 $ac_symprfx\\2 \\2" 6259 6260 # Write the raw and C identifiers. 6261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6262 # Fake it for dumpbin and say T for any non-static function 6263 # and D for any global variable. 6264 # Also find C++ and __fastcall symbols from MSVC++, 6265 # which start with @ or ?. 6266 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6267" {last_section=section; section=\$ 3};"\ 6268" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6269" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6270" \$ 0!~/External *\|/{next};"\ 6271" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6272" {if(hide[section]) next};"\ 6273" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6274" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6275" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6276" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6277" ' prfx=^$ac_symprfx" 6278 else 6279 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6280 fi 6281 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6282 6283 # Check to see that the pipe works correctly. 6284 pipe_works=no 6285 6286 rm -f conftest* 6287 cat > conftest.$ac_ext <<_LT_EOF 6288#ifdef __cplusplus 6289extern "C" { 6290#endif 6291char nm_test_var; 6292void nm_test_func(void); 6293void nm_test_func(void){} 6294#ifdef __cplusplus 6295} 6296#endif 6297int main(){nm_test_var='a';nm_test_func();return(0);} 6298_LT_EOF 6299 6300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6301 (eval $ac_compile) 2>&5 6302 ac_status=$? 6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6304 test $ac_status = 0; }; then 6305 # Now try to grab the symbols. 6306 nlist=conftest.nm 6307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6308 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6309 ac_status=$? 6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6311 test $ac_status = 0; } && test -s "$nlist"; then 6312 # Try sorting and uniquifying the output. 6313 if sort "$nlist" | uniq > "$nlist"T; then 6314 mv -f "$nlist"T "$nlist" 6315 else 6316 rm -f "$nlist"T 6317 fi 6318 6319 # Make sure that we snagged all the symbols we need. 6320 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6321 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6322 cat <<_LT_EOF > conftest.$ac_ext 6323/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6324#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6325/* DATA imports from DLLs on WIN32 con't be const, because runtime 6326 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6327# define LT_DLSYM_CONST 6328#elif defined(__osf__) 6329/* This system does not cope well with relocations in const data. */ 6330# define LT_DLSYM_CONST 6331#else 6332# define LT_DLSYM_CONST const 6333#endif 6334 6335#ifdef __cplusplus 6336extern "C" { 6337#endif 6338 6339_LT_EOF 6340 # Now generate the symbol file. 6341 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6342 6343 cat <<_LT_EOF >> conftest.$ac_ext 6344 6345/* The mapping between symbol names and symbols. */ 6346LT_DLSYM_CONST struct { 6347 const char *name; 6348 void *address; 6349} 6350lt__PROGRAM__LTX_preloaded_symbols[] = 6351{ 6352 { "@PROGRAM@", (void *) 0 }, 6353_LT_EOF 6354 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6355 cat <<\_LT_EOF >> conftest.$ac_ext 6356 {0, (void *) 0} 6357}; 6358 6359/* This works around a problem in FreeBSD linker */ 6360#ifdef FREEBSD_WORKAROUND 6361static const void *lt_preloaded_setup() { 6362 return lt__PROGRAM__LTX_preloaded_symbols; 6363} 6364#endif 6365 6366#ifdef __cplusplus 6367} 6368#endif 6369_LT_EOF 6370 # Now try linking the two files. 6371 mv conftest.$ac_objext conftstm.$ac_objext 6372 lt_globsym_save_LIBS=$LIBS 6373 lt_globsym_save_CFLAGS=$CFLAGS 6374 LIBS="conftstm.$ac_objext" 6375 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6377 (eval $ac_link) 2>&5 6378 ac_status=$? 6379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6380 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6381 pipe_works=yes 6382 fi 6383 LIBS=$lt_globsym_save_LIBS 6384 CFLAGS=$lt_globsym_save_CFLAGS 6385 else 6386 echo "cannot find nm_test_func in $nlist" >&5 6387 fi 6388 else 6389 echo "cannot find nm_test_var in $nlist" >&5 6390 fi 6391 else 6392 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6393 fi 6394 else 6395 echo "$progname: failed program was:" >&5 6396 cat conftest.$ac_ext >&5 6397 fi 6398 rm -rf conftest* conftst* 6399 6400 # Do not use the global_symbol_pipe unless it works. 6401 if test "$pipe_works" = yes; then 6402 break 6403 else 6404 lt_cv_sys_global_symbol_pipe= 6405 fi 6406done 6407 6408fi 6409 6410if test -z "$lt_cv_sys_global_symbol_pipe"; then 6411 lt_cv_sys_global_symbol_to_cdecl= 6412fi 6413if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6415$as_echo "failed" >&6; } 6416else 6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6418$as_echo "ok" >&6; } 6419fi 6420 6421# Response file support. 6422if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6423 nm_file_list_spec='@' 6424elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6425 nm_file_list_spec='@' 6426fi 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6455$as_echo_n "checking for sysroot... " >&6; } 6456 6457# Check whether --with-sysroot was given. 6458if test "${with_sysroot+set}" = set; then : 6459 withval=$with_sysroot; 6460else 6461 with_sysroot=no 6462fi 6463 6464 6465lt_sysroot= 6466case ${with_sysroot} in #( 6467 yes) 6468 if test "$GCC" = yes; then 6469 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6470 fi 6471 ;; #( 6472 /*) 6473 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6474 ;; #( 6475 no|'') 6476 ;; #( 6477 *) 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6479$as_echo "${with_sysroot}" >&6; } 6480 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6481 ;; 6482esac 6483 6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6485$as_echo "${lt_sysroot:-no}" >&6; } 6486 6487 6488 6489 6490 6491# Check whether --enable-libtool-lock was given. 6492if test "${enable_libtool_lock+set}" = set; then : 6493 enableval=$enable_libtool_lock; 6494fi 6495 6496test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6497 6498# Some flags need to be propagated to the compiler or linker for good 6499# libtool support. 6500case $host in 6501ia64-*-hpux*) 6502 # Find out which ABI we are using. 6503 echo 'int i;' > conftest.$ac_ext 6504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6505 (eval $ac_compile) 2>&5 6506 ac_status=$? 6507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6508 test $ac_status = 0; }; then 6509 case `/usr/bin/file conftest.$ac_objext` in 6510 *ELF-32*) 6511 HPUX_IA64_MODE="32" 6512 ;; 6513 *ELF-64*) 6514 HPUX_IA64_MODE="64" 6515 ;; 6516 esac 6517 fi 6518 rm -rf conftest* 6519 ;; 6520*-*-irix6*) 6521 # Find out which ABI we are using. 6522 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6524 (eval $ac_compile) 2>&5 6525 ac_status=$? 6526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6527 test $ac_status = 0; }; then 6528 if test "$lt_cv_prog_gnu_ld" = yes; then 6529 case `/usr/bin/file conftest.$ac_objext` in 6530 *32-bit*) 6531 LD="${LD-ld} -melf32bsmip" 6532 ;; 6533 *N32*) 6534 LD="${LD-ld} -melf32bmipn32" 6535 ;; 6536 *64-bit*) 6537 LD="${LD-ld} -melf64bmip" 6538 ;; 6539 esac 6540 else 6541 case `/usr/bin/file conftest.$ac_objext` in 6542 *32-bit*) 6543 LD="${LD-ld} -32" 6544 ;; 6545 *N32*) 6546 LD="${LD-ld} -n32" 6547 ;; 6548 *64-bit*) 6549 LD="${LD-ld} -64" 6550 ;; 6551 esac 6552 fi 6553 fi 6554 rm -rf conftest* 6555 ;; 6556 6557x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6558s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6559 # Find out which ABI we are using. 6560 echo 'int i;' > conftest.$ac_ext 6561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6562 (eval $ac_compile) 2>&5 6563 ac_status=$? 6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6565 test $ac_status = 0; }; then 6566 case `/usr/bin/file conftest.o` in 6567 *32-bit*) 6568 case $host in 6569 x86_64-*kfreebsd*-gnu) 6570 LD="${LD-ld} -m elf_i386_fbsd" 6571 ;; 6572 x86_64-*linux*) 6573 LD="${LD-ld} -m elf_i386" 6574 ;; 6575 ppc64-*linux*|powerpc64-*linux*) 6576 LD="${LD-ld} -m elf32ppclinux" 6577 ;; 6578 s390x-*linux*) 6579 LD="${LD-ld} -m elf_s390" 6580 ;; 6581 sparc64-*linux*) 6582 LD="${LD-ld} -m elf32_sparc" 6583 ;; 6584 esac 6585 ;; 6586 *64-bit*) 6587 case $host in 6588 x86_64-*kfreebsd*-gnu) 6589 LD="${LD-ld} -m elf_x86_64_fbsd" 6590 ;; 6591 x86_64-*linux*) 6592 LD="${LD-ld} -m elf_x86_64" 6593 ;; 6594 ppc*-*linux*|powerpc*-*linux*) 6595 LD="${LD-ld} -m elf64ppc" 6596 ;; 6597 s390*-*linux*|s390*-*tpf*) 6598 LD="${LD-ld} -m elf64_s390" 6599 ;; 6600 sparc*-*linux*) 6601 LD="${LD-ld} -m elf64_sparc" 6602 ;; 6603 esac 6604 ;; 6605 esac 6606 fi 6607 rm -rf conftest* 6608 ;; 6609 6610*-*-sco3.2v5*) 6611 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6612 SAVE_CFLAGS="$CFLAGS" 6613 CFLAGS="$CFLAGS -belf" 6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6615$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6616if ${lt_cv_cc_needs_belf+:} false; then : 6617 $as_echo_n "(cached) " >&6 6618else 6619 ac_ext=c 6620ac_cpp='$CPP $CPPFLAGS' 6621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6623ac_compiler_gnu=$ac_cv_c_compiler_gnu 6624 6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6626/* end confdefs.h. */ 6627 6628int 6629main () 6630{ 6631 6632 ; 6633 return 0; 6634} 6635_ACEOF 6636if ac_fn_c_try_link "$LINENO"; then : 6637 lt_cv_cc_needs_belf=yes 6638else 6639 lt_cv_cc_needs_belf=no 6640fi 6641rm -f core conftest.err conftest.$ac_objext \ 6642 conftest$ac_exeext conftest.$ac_ext 6643 ac_ext=c 6644ac_cpp='$CPP $CPPFLAGS' 6645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6647ac_compiler_gnu=$ac_cv_c_compiler_gnu 6648 6649fi 6650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6651$as_echo "$lt_cv_cc_needs_belf" >&6; } 6652 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6653 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6654 CFLAGS="$SAVE_CFLAGS" 6655 fi 6656 ;; 6657*-*solaris*) 6658 # Find out which ABI we are using. 6659 echo 'int i;' > conftest.$ac_ext 6660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6661 (eval $ac_compile) 2>&5 6662 ac_status=$? 6663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6664 test $ac_status = 0; }; then 6665 case `/usr/bin/file conftest.o` in 6666 *64-bit*) 6667 case $lt_cv_prog_gnu_ld in 6668 yes*) 6669 case $host in 6670 i?86-*-solaris*) 6671 LD="${LD-ld} -m elf_x86_64" 6672 ;; 6673 sparc*-*-solaris*) 6674 LD="${LD-ld} -m elf64_sparc" 6675 ;; 6676 esac 6677 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6678 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6679 LD="${LD-ld}_sol2" 6680 fi 6681 ;; 6682 *) 6683 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6684 LD="${LD-ld} -64" 6685 fi 6686 ;; 6687 esac 6688 ;; 6689 esac 6690 fi 6691 rm -rf conftest* 6692 ;; 6693esac 6694 6695need_locks="$enable_libtool_lock" 6696 6697if test -n "$ac_tool_prefix"; then 6698 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6699set dummy ${ac_tool_prefix}mt; ac_word=$2 6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6701$as_echo_n "checking for $ac_word... " >&6; } 6702if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6703 $as_echo_n "(cached) " >&6 6704else 6705 if test -n "$MANIFEST_TOOL"; then 6706 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6707else 6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6709for as_dir in $PATH 6710do 6711 IFS=$as_save_IFS 6712 test -z "$as_dir" && as_dir=. 6713 for ac_exec_ext in '' $ac_executable_extensions; do 6714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6715 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6717 break 2 6718 fi 6719done 6720 done 6721IFS=$as_save_IFS 6722 6723fi 6724fi 6725MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6726if test -n "$MANIFEST_TOOL"; then 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6728$as_echo "$MANIFEST_TOOL" >&6; } 6729else 6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6731$as_echo "no" >&6; } 6732fi 6733 6734 6735fi 6736if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6737 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6738 # Extract the first word of "mt", so it can be a program name with args. 6739set dummy mt; ac_word=$2 6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6741$as_echo_n "checking for $ac_word... " >&6; } 6742if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6743 $as_echo_n "(cached) " >&6 6744else 6745 if test -n "$ac_ct_MANIFEST_TOOL"; then 6746 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6747else 6748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6749for as_dir in $PATH 6750do 6751 IFS=$as_save_IFS 6752 test -z "$as_dir" && as_dir=. 6753 for ac_exec_ext in '' $ac_executable_extensions; do 6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6755 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6757 break 2 6758 fi 6759done 6760 done 6761IFS=$as_save_IFS 6762 6763fi 6764fi 6765ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6766if test -n "$ac_ct_MANIFEST_TOOL"; then 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6768$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6769else 6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6771$as_echo "no" >&6; } 6772fi 6773 6774 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6775 MANIFEST_TOOL=":" 6776 else 6777 case $cross_compiling:$ac_tool_warned in 6778yes:) 6779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6781ac_tool_warned=yes ;; 6782esac 6783 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6784 fi 6785else 6786 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6787fi 6788 6789test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6791$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6792if ${lt_cv_path_mainfest_tool+:} false; then : 6793 $as_echo_n "(cached) " >&6 6794else 6795 lt_cv_path_mainfest_tool=no 6796 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6797 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6798 cat conftest.err >&5 6799 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6800 lt_cv_path_mainfest_tool=yes 6801 fi 6802 rm -f conftest* 6803fi 6804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6805$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6806if test "x$lt_cv_path_mainfest_tool" != xyes; then 6807 MANIFEST_TOOL=: 6808fi 6809 6810 6811 6812 6813 6814 6815 case $host_os in 6816 rhapsody* | darwin*) 6817 if test -n "$ac_tool_prefix"; then 6818 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6819set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6821$as_echo_n "checking for $ac_word... " >&6; } 6822if ${ac_cv_prog_DSYMUTIL+:} false; then : 6823 $as_echo_n "(cached) " >&6 6824else 6825 if test -n "$DSYMUTIL"; then 6826 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6827else 6828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6829for as_dir in $PATH 6830do 6831 IFS=$as_save_IFS 6832 test -z "$as_dir" && as_dir=. 6833 for ac_exec_ext in '' $ac_executable_extensions; do 6834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6835 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6837 break 2 6838 fi 6839done 6840 done 6841IFS=$as_save_IFS 6842 6843fi 6844fi 6845DSYMUTIL=$ac_cv_prog_DSYMUTIL 6846if test -n "$DSYMUTIL"; then 6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6848$as_echo "$DSYMUTIL" >&6; } 6849else 6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6851$as_echo "no" >&6; } 6852fi 6853 6854 6855fi 6856if test -z "$ac_cv_prog_DSYMUTIL"; then 6857 ac_ct_DSYMUTIL=$DSYMUTIL 6858 # Extract the first word of "dsymutil", so it can be a program name with args. 6859set dummy dsymutil; ac_word=$2 6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6861$as_echo_n "checking for $ac_word... " >&6; } 6862if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6863 $as_echo_n "(cached) " >&6 6864else 6865 if test -n "$ac_ct_DSYMUTIL"; then 6866 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6867else 6868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6869for as_dir in $PATH 6870do 6871 IFS=$as_save_IFS 6872 test -z "$as_dir" && as_dir=. 6873 for ac_exec_ext in '' $ac_executable_extensions; do 6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6875 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6877 break 2 6878 fi 6879done 6880 done 6881IFS=$as_save_IFS 6882 6883fi 6884fi 6885ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6886if test -n "$ac_ct_DSYMUTIL"; then 6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6888$as_echo "$ac_ct_DSYMUTIL" >&6; } 6889else 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6891$as_echo "no" >&6; } 6892fi 6893 6894 if test "x$ac_ct_DSYMUTIL" = x; then 6895 DSYMUTIL=":" 6896 else 6897 case $cross_compiling:$ac_tool_warned in 6898yes:) 6899{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6900$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6901ac_tool_warned=yes ;; 6902esac 6903 DSYMUTIL=$ac_ct_DSYMUTIL 6904 fi 6905else 6906 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6907fi 6908 6909 if test -n "$ac_tool_prefix"; then 6910 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6911set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6913$as_echo_n "checking for $ac_word... " >&6; } 6914if ${ac_cv_prog_NMEDIT+:} false; then : 6915 $as_echo_n "(cached) " >&6 6916else 6917 if test -n "$NMEDIT"; then 6918 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6919else 6920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6921for as_dir in $PATH 6922do 6923 IFS=$as_save_IFS 6924 test -z "$as_dir" && as_dir=. 6925 for ac_exec_ext in '' $ac_executable_extensions; do 6926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6927 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6929 break 2 6930 fi 6931done 6932 done 6933IFS=$as_save_IFS 6934 6935fi 6936fi 6937NMEDIT=$ac_cv_prog_NMEDIT 6938if test -n "$NMEDIT"; then 6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6940$as_echo "$NMEDIT" >&6; } 6941else 6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6943$as_echo "no" >&6; } 6944fi 6945 6946 6947fi 6948if test -z "$ac_cv_prog_NMEDIT"; then 6949 ac_ct_NMEDIT=$NMEDIT 6950 # Extract the first word of "nmedit", so it can be a program name with args. 6951set dummy nmedit; ac_word=$2 6952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6953$as_echo_n "checking for $ac_word... " >&6; } 6954if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6955 $as_echo_n "(cached) " >&6 6956else 6957 if test -n "$ac_ct_NMEDIT"; then 6958 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6959else 6960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6961for as_dir in $PATH 6962do 6963 IFS=$as_save_IFS 6964 test -z "$as_dir" && as_dir=. 6965 for ac_exec_ext in '' $ac_executable_extensions; do 6966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6967 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6969 break 2 6970 fi 6971done 6972 done 6973IFS=$as_save_IFS 6974 6975fi 6976fi 6977ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6978if test -n "$ac_ct_NMEDIT"; then 6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6980$as_echo "$ac_ct_NMEDIT" >&6; } 6981else 6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6983$as_echo "no" >&6; } 6984fi 6985 6986 if test "x$ac_ct_NMEDIT" = x; then 6987 NMEDIT=":" 6988 else 6989 case $cross_compiling:$ac_tool_warned in 6990yes:) 6991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6993ac_tool_warned=yes ;; 6994esac 6995 NMEDIT=$ac_ct_NMEDIT 6996 fi 6997else 6998 NMEDIT="$ac_cv_prog_NMEDIT" 6999fi 7000 7001 if test -n "$ac_tool_prefix"; then 7002 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7003set dummy ${ac_tool_prefix}lipo; ac_word=$2 7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7005$as_echo_n "checking for $ac_word... " >&6; } 7006if ${ac_cv_prog_LIPO+:} false; then : 7007 $as_echo_n "(cached) " >&6 7008else 7009 if test -n "$LIPO"; then 7010 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7011else 7012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7013for as_dir in $PATH 7014do 7015 IFS=$as_save_IFS 7016 test -z "$as_dir" && as_dir=. 7017 for ac_exec_ext in '' $ac_executable_extensions; do 7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7019 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7021 break 2 7022 fi 7023done 7024 done 7025IFS=$as_save_IFS 7026 7027fi 7028fi 7029LIPO=$ac_cv_prog_LIPO 7030if test -n "$LIPO"; then 7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7032$as_echo "$LIPO" >&6; } 7033else 7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7035$as_echo "no" >&6; } 7036fi 7037 7038 7039fi 7040if test -z "$ac_cv_prog_LIPO"; then 7041 ac_ct_LIPO=$LIPO 7042 # Extract the first word of "lipo", so it can be a program name with args. 7043set dummy lipo; ac_word=$2 7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7045$as_echo_n "checking for $ac_word... " >&6; } 7046if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7047 $as_echo_n "(cached) " >&6 7048else 7049 if test -n "$ac_ct_LIPO"; then 7050 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7051else 7052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7053for as_dir in $PATH 7054do 7055 IFS=$as_save_IFS 7056 test -z "$as_dir" && as_dir=. 7057 for ac_exec_ext in '' $ac_executable_extensions; do 7058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7059 ac_cv_prog_ac_ct_LIPO="lipo" 7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7061 break 2 7062 fi 7063done 7064 done 7065IFS=$as_save_IFS 7066 7067fi 7068fi 7069ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7070if test -n "$ac_ct_LIPO"; then 7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7072$as_echo "$ac_ct_LIPO" >&6; } 7073else 7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7075$as_echo "no" >&6; } 7076fi 7077 7078 if test "x$ac_ct_LIPO" = x; then 7079 LIPO=":" 7080 else 7081 case $cross_compiling:$ac_tool_warned in 7082yes:) 7083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7085ac_tool_warned=yes ;; 7086esac 7087 LIPO=$ac_ct_LIPO 7088 fi 7089else 7090 LIPO="$ac_cv_prog_LIPO" 7091fi 7092 7093 if test -n "$ac_tool_prefix"; then 7094 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7095set dummy ${ac_tool_prefix}otool; ac_word=$2 7096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7097$as_echo_n "checking for $ac_word... " >&6; } 7098if ${ac_cv_prog_OTOOL+:} false; then : 7099 $as_echo_n "(cached) " >&6 7100else 7101 if test -n "$OTOOL"; then 7102 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7103else 7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7105for as_dir in $PATH 7106do 7107 IFS=$as_save_IFS 7108 test -z "$as_dir" && as_dir=. 7109 for ac_exec_ext in '' $ac_executable_extensions; do 7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7111 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7113 break 2 7114 fi 7115done 7116 done 7117IFS=$as_save_IFS 7118 7119fi 7120fi 7121OTOOL=$ac_cv_prog_OTOOL 7122if test -n "$OTOOL"; then 7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7124$as_echo "$OTOOL" >&6; } 7125else 7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7127$as_echo "no" >&6; } 7128fi 7129 7130 7131fi 7132if test -z "$ac_cv_prog_OTOOL"; then 7133 ac_ct_OTOOL=$OTOOL 7134 # Extract the first word of "otool", so it can be a program name with args. 7135set dummy otool; ac_word=$2 7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7137$as_echo_n "checking for $ac_word... " >&6; } 7138if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7139 $as_echo_n "(cached) " >&6 7140else 7141 if test -n "$ac_ct_OTOOL"; then 7142 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7143else 7144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7145for as_dir in $PATH 7146do 7147 IFS=$as_save_IFS 7148 test -z "$as_dir" && as_dir=. 7149 for ac_exec_ext in '' $ac_executable_extensions; do 7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7151 ac_cv_prog_ac_ct_OTOOL="otool" 7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7153 break 2 7154 fi 7155done 7156 done 7157IFS=$as_save_IFS 7158 7159fi 7160fi 7161ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7162if test -n "$ac_ct_OTOOL"; then 7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7164$as_echo "$ac_ct_OTOOL" >&6; } 7165else 7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7167$as_echo "no" >&6; } 7168fi 7169 7170 if test "x$ac_ct_OTOOL" = x; then 7171 OTOOL=":" 7172 else 7173 case $cross_compiling:$ac_tool_warned in 7174yes:) 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7177ac_tool_warned=yes ;; 7178esac 7179 OTOOL=$ac_ct_OTOOL 7180 fi 7181else 7182 OTOOL="$ac_cv_prog_OTOOL" 7183fi 7184 7185 if test -n "$ac_tool_prefix"; then 7186 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7187set dummy ${ac_tool_prefix}otool64; ac_word=$2 7188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7189$as_echo_n "checking for $ac_word... " >&6; } 7190if ${ac_cv_prog_OTOOL64+:} false; then : 7191 $as_echo_n "(cached) " >&6 7192else 7193 if test -n "$OTOOL64"; then 7194 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7195else 7196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7197for as_dir in $PATH 7198do 7199 IFS=$as_save_IFS 7200 test -z "$as_dir" && as_dir=. 7201 for ac_exec_ext in '' $ac_executable_extensions; do 7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7203 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7205 break 2 7206 fi 7207done 7208 done 7209IFS=$as_save_IFS 7210 7211fi 7212fi 7213OTOOL64=$ac_cv_prog_OTOOL64 7214if test -n "$OTOOL64"; then 7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7216$as_echo "$OTOOL64" >&6; } 7217else 7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7219$as_echo "no" >&6; } 7220fi 7221 7222 7223fi 7224if test -z "$ac_cv_prog_OTOOL64"; then 7225 ac_ct_OTOOL64=$OTOOL64 7226 # Extract the first word of "otool64", so it can be a program name with args. 7227set dummy otool64; ac_word=$2 7228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7229$as_echo_n "checking for $ac_word... " >&6; } 7230if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7231 $as_echo_n "(cached) " >&6 7232else 7233 if test -n "$ac_ct_OTOOL64"; then 7234 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7235else 7236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7237for as_dir in $PATH 7238do 7239 IFS=$as_save_IFS 7240 test -z "$as_dir" && as_dir=. 7241 for ac_exec_ext in '' $ac_executable_extensions; do 7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7243 ac_cv_prog_ac_ct_OTOOL64="otool64" 7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7245 break 2 7246 fi 7247done 7248 done 7249IFS=$as_save_IFS 7250 7251fi 7252fi 7253ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7254if test -n "$ac_ct_OTOOL64"; then 7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7256$as_echo "$ac_ct_OTOOL64" >&6; } 7257else 7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7259$as_echo "no" >&6; } 7260fi 7261 7262 if test "x$ac_ct_OTOOL64" = x; then 7263 OTOOL64=":" 7264 else 7265 case $cross_compiling:$ac_tool_warned in 7266yes:) 7267{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7268$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7269ac_tool_warned=yes ;; 7270esac 7271 OTOOL64=$ac_ct_OTOOL64 7272 fi 7273else 7274 OTOOL64="$ac_cv_prog_OTOOL64" 7275fi 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7304$as_echo_n "checking for -single_module linker flag... " >&6; } 7305if ${lt_cv_apple_cc_single_mod+:} false; then : 7306 $as_echo_n "(cached) " >&6 7307else 7308 lt_cv_apple_cc_single_mod=no 7309 if test -z "${LT_MULTI_MODULE}"; then 7310 # By default we will add the -single_module flag. You can override 7311 # by either setting the environment variable LT_MULTI_MODULE 7312 # non-empty at configure time, or by adding -multi_module to the 7313 # link flags. 7314 rm -rf libconftest.dylib* 7315 echo "int foo(void){return 1;}" > conftest.c 7316 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7317-dynamiclib -Wl,-single_module conftest.c" >&5 7318 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7319 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7320 _lt_result=$? 7321 # If there is a non-empty error log, and "single_module" 7322 # appears in it, assume the flag caused a linker warning 7323 if test -s conftest.err && $GREP single_module conftest.err; then 7324 cat conftest.err >&5 7325 # Otherwise, if the output was created with a 0 exit code from 7326 # the compiler, it worked. 7327 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7328 lt_cv_apple_cc_single_mod=yes 7329 else 7330 cat conftest.err >&5 7331 fi 7332 rm -rf libconftest.dylib* 7333 rm -f conftest.* 7334 fi 7335fi 7336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7337$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7338 7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7340$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7341if ${lt_cv_ld_exported_symbols_list+:} false; then : 7342 $as_echo_n "(cached) " >&6 7343else 7344 lt_cv_ld_exported_symbols_list=no 7345 save_LDFLAGS=$LDFLAGS 7346 echo "_main" > conftest.sym 7347 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7349/* end confdefs.h. */ 7350 7351int 7352main () 7353{ 7354 7355 ; 7356 return 0; 7357} 7358_ACEOF 7359if ac_fn_c_try_link "$LINENO"; then : 7360 lt_cv_ld_exported_symbols_list=yes 7361else 7362 lt_cv_ld_exported_symbols_list=no 7363fi 7364rm -f core conftest.err conftest.$ac_objext \ 7365 conftest$ac_exeext conftest.$ac_ext 7366 LDFLAGS="$save_LDFLAGS" 7367 7368fi 7369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7370$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7371 7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7373$as_echo_n "checking for -force_load linker flag... " >&6; } 7374if ${lt_cv_ld_force_load+:} false; then : 7375 $as_echo_n "(cached) " >&6 7376else 7377 lt_cv_ld_force_load=no 7378 cat > conftest.c << _LT_EOF 7379int forced_loaded() { return 2;} 7380_LT_EOF 7381 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7382 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7383 echo "$AR cru libconftest.a conftest.o" >&5 7384 $AR cru libconftest.a conftest.o 2>&5 7385 echo "$RANLIB libconftest.a" >&5 7386 $RANLIB libconftest.a 2>&5 7387 cat > conftest.c << _LT_EOF 7388int main() { return 0;} 7389_LT_EOF 7390 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7391 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7392 _lt_result=$? 7393 if test -s conftest.err && $GREP force_load conftest.err; then 7394 cat conftest.err >&5 7395 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7396 lt_cv_ld_force_load=yes 7397 else 7398 cat conftest.err >&5 7399 fi 7400 rm -f conftest.err libconftest.a conftest conftest.c 7401 rm -rf conftest.dSYM 7402 7403fi 7404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7405$as_echo "$lt_cv_ld_force_load" >&6; } 7406 case $host_os in 7407 rhapsody* | darwin1.[012]) 7408 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7409 darwin1.*) 7410 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7411 darwin*) # darwin 5.x on 7412 # if running on 10.5 or later, the deployment target defaults 7413 # to the OS version, if on x86, and 10.4, the deployment 7414 # target defaults to 10.4. Don't you love it? 7415 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7416 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7417 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7418 10.[012]*) 7419 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7420 10.*) 7421 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7422 esac 7423 ;; 7424 esac 7425 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7426 _lt_dar_single_mod='$single_module' 7427 fi 7428 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7429 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7430 else 7431 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7432 fi 7433 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7434 _lt_dsymutil='~$DSYMUTIL $lib || :' 7435 else 7436 _lt_dsymutil= 7437 fi 7438 ;; 7439 esac 7440 7441ac_ext=c 7442ac_cpp='$CPP $CPPFLAGS' 7443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7445ac_compiler_gnu=$ac_cv_c_compiler_gnu 7446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7447$as_echo_n "checking how to run the C preprocessor... " >&6; } 7448# On Suns, sometimes $CPP names a directory. 7449if test -n "$CPP" && test -d "$CPP"; then 7450 CPP= 7451fi 7452if test -z "$CPP"; then 7453 if ${ac_cv_prog_CPP+:} false; then : 7454 $as_echo_n "(cached) " >&6 7455else 7456 # Double quotes because CPP needs to be expanded 7457 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7458 do 7459 ac_preproc_ok=false 7460for ac_c_preproc_warn_flag in '' yes 7461do 7462 # Use a header file that comes with gcc, so configuring glibc 7463 # with a fresh cross-compiler works. 7464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7465 # <limits.h> exists even on freestanding compilers. 7466 # On the NeXT, cc -E runs the code through the compiler's parser, 7467 # not just through cpp. "Syntax error" is here to catch this case. 7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7469/* end confdefs.h. */ 7470#ifdef __STDC__ 7471# include <limits.h> 7472#else 7473# include <assert.h> 7474#endif 7475 Syntax error 7476_ACEOF 7477if ac_fn_c_try_cpp "$LINENO"; then : 7478 7479else 7480 # Broken: fails on valid input. 7481continue 7482fi 7483rm -f conftest.err conftest.i conftest.$ac_ext 7484 7485 # OK, works on sane cases. Now check whether nonexistent headers 7486 # can be detected and how. 7487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7488/* end confdefs.h. */ 7489#include <ac_nonexistent.h> 7490_ACEOF 7491if ac_fn_c_try_cpp "$LINENO"; then : 7492 # Broken: success on invalid input. 7493continue 7494else 7495 # Passes both tests. 7496ac_preproc_ok=: 7497break 7498fi 7499rm -f conftest.err conftest.i conftest.$ac_ext 7500 7501done 7502# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7503rm -f conftest.i conftest.err conftest.$ac_ext 7504if $ac_preproc_ok; then : 7505 break 7506fi 7507 7508 done 7509 ac_cv_prog_CPP=$CPP 7510 7511fi 7512 CPP=$ac_cv_prog_CPP 7513else 7514 ac_cv_prog_CPP=$CPP 7515fi 7516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7517$as_echo "$CPP" >&6; } 7518ac_preproc_ok=false 7519for ac_c_preproc_warn_flag in '' yes 7520do 7521 # Use a header file that comes with gcc, so configuring glibc 7522 # with a fresh cross-compiler works. 7523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7524 # <limits.h> exists even on freestanding compilers. 7525 # On the NeXT, cc -E runs the code through the compiler's parser, 7526 # not just through cpp. "Syntax error" is here to catch this case. 7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7528/* end confdefs.h. */ 7529#ifdef __STDC__ 7530# include <limits.h> 7531#else 7532# include <assert.h> 7533#endif 7534 Syntax error 7535_ACEOF 7536if ac_fn_c_try_cpp "$LINENO"; then : 7537 7538else 7539 # Broken: fails on valid input. 7540continue 7541fi 7542rm -f conftest.err conftest.i conftest.$ac_ext 7543 7544 # OK, works on sane cases. Now check whether nonexistent headers 7545 # can be detected and how. 7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7547/* end confdefs.h. */ 7548#include <ac_nonexistent.h> 7549_ACEOF 7550if ac_fn_c_try_cpp "$LINENO"; then : 7551 # Broken: success on invalid input. 7552continue 7553else 7554 # Passes both tests. 7555ac_preproc_ok=: 7556break 7557fi 7558rm -f conftest.err conftest.i conftest.$ac_ext 7559 7560done 7561# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7562rm -f conftest.i conftest.err conftest.$ac_ext 7563if $ac_preproc_ok; then : 7564 7565else 7566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7567$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7568as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7569See \`config.log' for more details" "$LINENO" 5; } 7570fi 7571 7572ac_ext=c 7573ac_cpp='$CPP $CPPFLAGS' 7574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7576ac_compiler_gnu=$ac_cv_c_compiler_gnu 7577 7578 7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7580$as_echo_n "checking for ANSI C header files... " >&6; } 7581if ${ac_cv_header_stdc+:} false; then : 7582 $as_echo_n "(cached) " >&6 7583else 7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7585/* end confdefs.h. */ 7586#include <stdlib.h> 7587#include <stdarg.h> 7588#include <string.h> 7589#include <float.h> 7590 7591int 7592main () 7593{ 7594 7595 ; 7596 return 0; 7597} 7598_ACEOF 7599if ac_fn_c_try_compile "$LINENO"; then : 7600 ac_cv_header_stdc=yes 7601else 7602 ac_cv_header_stdc=no 7603fi 7604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7605 7606if test $ac_cv_header_stdc = yes; then 7607 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7609/* end confdefs.h. */ 7610#include <string.h> 7611 7612_ACEOF 7613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7614 $EGREP "memchr" >/dev/null 2>&1; then : 7615 7616else 7617 ac_cv_header_stdc=no 7618fi 7619rm -f conftest* 7620 7621fi 7622 7623if test $ac_cv_header_stdc = yes; then 7624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7626/* end confdefs.h. */ 7627#include <stdlib.h> 7628 7629_ACEOF 7630if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7631 $EGREP "free" >/dev/null 2>&1; then : 7632 7633else 7634 ac_cv_header_stdc=no 7635fi 7636rm -f conftest* 7637 7638fi 7639 7640if test $ac_cv_header_stdc = yes; then 7641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7642 if test "$cross_compiling" = yes; then : 7643 : 7644else 7645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7646/* end confdefs.h. */ 7647#include <ctype.h> 7648#include <stdlib.h> 7649#if ((' ' & 0x0FF) == 0x020) 7650# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7651# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7652#else 7653# define ISLOWER(c) \ 7654 (('a' <= (c) && (c) <= 'i') \ 7655 || ('j' <= (c) && (c) <= 'r') \ 7656 || ('s' <= (c) && (c) <= 'z')) 7657# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7658#endif 7659 7660#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7661int 7662main () 7663{ 7664 int i; 7665 for (i = 0; i < 256; i++) 7666 if (XOR (islower (i), ISLOWER (i)) 7667 || toupper (i) != TOUPPER (i)) 7668 return 2; 7669 return 0; 7670} 7671_ACEOF 7672if ac_fn_c_try_run "$LINENO"; then : 7673 7674else 7675 ac_cv_header_stdc=no 7676fi 7677rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7678 conftest.$ac_objext conftest.beam conftest.$ac_ext 7679fi 7680 7681fi 7682fi 7683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7684$as_echo "$ac_cv_header_stdc" >&6; } 7685if test $ac_cv_header_stdc = yes; then 7686 7687$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7688 7689fi 7690 7691# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7692for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7693 inttypes.h stdint.h unistd.h 7694do : 7695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7696ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7697" 7698if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7699 cat >>confdefs.h <<_ACEOF 7700#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7701_ACEOF 7702 7703fi 7704 7705done 7706 7707 7708for ac_header in dlfcn.h 7709do : 7710 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7711" 7712if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7713 cat >>confdefs.h <<_ACEOF 7714#define HAVE_DLFCN_H 1 7715_ACEOF 7716 7717fi 7718 7719done 7720 7721 7722 7723 7724 7725# Set options 7726 7727 7728 7729 enable_dlopen=no 7730 7731 7732 7733 # Check whether --enable-shared was given. 7734if test "${enable_shared+set}" = set; then : 7735 enableval=$enable_shared; p=${PACKAGE-default} 7736 case $enableval in 7737 yes) enable_shared=yes ;; 7738 no) enable_shared=no ;; 7739 *) 7740 enable_shared=no 7741 # Look at the argument we got. We use all the common list separators. 7742 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7743 for pkg in $enableval; do 7744 IFS="$lt_save_ifs" 7745 if test "X$pkg" = "X$p"; then 7746 enable_shared=yes 7747 fi 7748 done 7749 IFS="$lt_save_ifs" 7750 ;; 7751 esac 7752else 7753 enable_shared=yes 7754fi 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766# Check whether --with-pic was given. 7767if test "${with_pic+set}" = set; then : 7768 withval=$with_pic; lt_p=${PACKAGE-default} 7769 case $withval in 7770 yes|no) pic_mode=$withval ;; 7771 *) 7772 pic_mode=default 7773 # Look at the argument we got. We use all the common list separators. 7774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7775 for lt_pkg in $withval; do 7776 IFS="$lt_save_ifs" 7777 if test "X$lt_pkg" = "X$lt_p"; then 7778 pic_mode=yes 7779 fi 7780 done 7781 IFS="$lt_save_ifs" 7782 ;; 7783 esac 7784else 7785 pic_mode=default 7786fi 7787 7788 7789test -z "$pic_mode" && pic_mode=default 7790 7791 7792 7793 7794 7795 7796 7797 # Check whether --enable-fast-install was given. 7798if test "${enable_fast_install+set}" = set; then : 7799 enableval=$enable_fast_install; p=${PACKAGE-default} 7800 case $enableval in 7801 yes) enable_fast_install=yes ;; 7802 no) enable_fast_install=no ;; 7803 *) 7804 enable_fast_install=no 7805 # Look at the argument we got. We use all the common list separators. 7806 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7807 for pkg in $enableval; do 7808 IFS="$lt_save_ifs" 7809 if test "X$pkg" = "X$p"; then 7810 enable_fast_install=yes 7811 fi 7812 done 7813 IFS="$lt_save_ifs" 7814 ;; 7815 esac 7816else 7817 enable_fast_install=yes 7818fi 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830# This can be used to rebuild libtool when needed 7831LIBTOOL_DEPS="$ltmain" 7832 7833# Always use our own libtool. 7834LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865test -z "$LN_S" && LN_S="ln -s" 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880if test -n "${ZSH_VERSION+set}" ; then 7881 setopt NO_GLOB_SUBST 7882fi 7883 7884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7885$as_echo_n "checking for objdir... " >&6; } 7886if ${lt_cv_objdir+:} false; then : 7887 $as_echo_n "(cached) " >&6 7888else 7889 rm -f .libs 2>/dev/null 7890mkdir .libs 2>/dev/null 7891if test -d .libs; then 7892 lt_cv_objdir=.libs 7893else 7894 # MS-DOS does not allow filenames that begin with a dot. 7895 lt_cv_objdir=_libs 7896fi 7897rmdir .libs 2>/dev/null 7898fi 7899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7900$as_echo "$lt_cv_objdir" >&6; } 7901objdir=$lt_cv_objdir 7902 7903 7904 7905 7906 7907cat >>confdefs.h <<_ACEOF 7908#define LT_OBJDIR "$lt_cv_objdir/" 7909_ACEOF 7910 7911 7912 7913 7914case $host_os in 7915aix3*) 7916 # AIX sometimes has problems with the GCC collect2 program. For some 7917 # reason, if we set the COLLECT_NAMES environment variable, the problems 7918 # vanish in a puff of smoke. 7919 if test "X${COLLECT_NAMES+set}" != Xset; then 7920 COLLECT_NAMES= 7921 export COLLECT_NAMES 7922 fi 7923 ;; 7924esac 7925 7926# Global variables: 7927ofile=libtool 7928can_build_shared=yes 7929 7930# All known linkers require a `.a' archive for static linking (except MSVC, 7931# which needs '.lib'). 7932libext=a 7933 7934with_gnu_ld="$lt_cv_prog_gnu_ld" 7935 7936old_CC="$CC" 7937old_CFLAGS="$CFLAGS" 7938 7939# Set sane defaults for various variables 7940test -z "$CC" && CC=cc 7941test -z "$LTCC" && LTCC=$CC 7942test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7943test -z "$LD" && LD=ld 7944test -z "$ac_objext" && ac_objext=o 7945 7946for cc_temp in $compiler""; do 7947 case $cc_temp in 7948 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7949 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7950 \-*) ;; 7951 *) break;; 7952 esac 7953done 7954cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7955 7956 7957# Only perform the check for file, if the check method requires it 7958test -z "$MAGIC_CMD" && MAGIC_CMD=file 7959case $deplibs_check_method in 7960file_magic*) 7961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7963$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7964if ${lt_cv_path_MAGIC_CMD+:} false; then : 7965 $as_echo_n "(cached) " >&6 7966else 7967 case $MAGIC_CMD in 7968[\\/*] | ?:[\\/]*) 7969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7970 ;; 7971*) 7972 lt_save_MAGIC_CMD="$MAGIC_CMD" 7973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7975 for ac_dir in $ac_dummy; do 7976 IFS="$lt_save_ifs" 7977 test -z "$ac_dir" && ac_dir=. 7978 if test -f $ac_dir/${ac_tool_prefix}file; then 7979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7980 if test -n "$file_magic_test_file"; then 7981 case $deplibs_check_method in 7982 "file_magic "*) 7983 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7986 $EGREP "$file_magic_regex" > /dev/null; then 7987 : 7988 else 7989 cat <<_LT_EOF 1>&2 7990 7991*** Warning: the command libtool uses to detect shared libraries, 7992*** $file_magic_cmd, produces output that libtool cannot recognize. 7993*** The result is that libtool may fail to recognize shared libraries 7994*** as such. This will affect the creation of libtool libraries that 7995*** depend on shared libraries, but programs linked with such libtool 7996*** libraries will work regardless of this problem. Nevertheless, you 7997*** may want to report the problem to your system manager and/or to 7998*** bug-libtool@gnu.org 7999 8000_LT_EOF 8001 fi ;; 8002 esac 8003 fi 8004 break 8005 fi 8006 done 8007 IFS="$lt_save_ifs" 8008 MAGIC_CMD="$lt_save_MAGIC_CMD" 8009 ;; 8010esac 8011fi 8012 8013MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8014if test -n "$MAGIC_CMD"; then 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8016$as_echo "$MAGIC_CMD" >&6; } 8017else 8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8019$as_echo "no" >&6; } 8020fi 8021 8022 8023 8024 8025 8026if test -z "$lt_cv_path_MAGIC_CMD"; then 8027 if test -n "$ac_tool_prefix"; then 8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8029$as_echo_n "checking for file... " >&6; } 8030if ${lt_cv_path_MAGIC_CMD+:} false; then : 8031 $as_echo_n "(cached) " >&6 8032else 8033 case $MAGIC_CMD in 8034[\\/*] | ?:[\\/]*) 8035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8036 ;; 8037*) 8038 lt_save_MAGIC_CMD="$MAGIC_CMD" 8039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8040 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8041 for ac_dir in $ac_dummy; do 8042 IFS="$lt_save_ifs" 8043 test -z "$ac_dir" && ac_dir=. 8044 if test -f $ac_dir/file; then 8045 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8046 if test -n "$file_magic_test_file"; then 8047 case $deplibs_check_method in 8048 "file_magic "*) 8049 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8052 $EGREP "$file_magic_regex" > /dev/null; then 8053 : 8054 else 8055 cat <<_LT_EOF 1>&2 8056 8057*** Warning: the command libtool uses to detect shared libraries, 8058*** $file_magic_cmd, produces output that libtool cannot recognize. 8059*** The result is that libtool may fail to recognize shared libraries 8060*** as such. This will affect the creation of libtool libraries that 8061*** depend on shared libraries, but programs linked with such libtool 8062*** libraries will work regardless of this problem. Nevertheless, you 8063*** may want to report the problem to your system manager and/or to 8064*** bug-libtool@gnu.org 8065 8066_LT_EOF 8067 fi ;; 8068 esac 8069 fi 8070 break 8071 fi 8072 done 8073 IFS="$lt_save_ifs" 8074 MAGIC_CMD="$lt_save_MAGIC_CMD" 8075 ;; 8076esac 8077fi 8078 8079MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8080if test -n "$MAGIC_CMD"; then 8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8082$as_echo "$MAGIC_CMD" >&6; } 8083else 8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8085$as_echo "no" >&6; } 8086fi 8087 8088 8089 else 8090 MAGIC_CMD=: 8091 fi 8092fi 8093 8094 fi 8095 ;; 8096esac 8097 8098# Use C for the default configuration in the libtool script 8099 8100lt_save_CC="$CC" 8101ac_ext=c 8102ac_cpp='$CPP $CPPFLAGS' 8103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8105ac_compiler_gnu=$ac_cv_c_compiler_gnu 8106 8107 8108# Source file extension for C test sources. 8109ac_ext=c 8110 8111# Object file extension for compiled C test sources. 8112objext=o 8113objext=$objext 8114 8115# Code to be used in simple compile tests 8116lt_simple_compile_test_code="int some_variable = 0;" 8117 8118# Code to be used in simple link tests 8119lt_simple_link_test_code='int main(){return(0);}' 8120 8121 8122 8123 8124 8125 8126 8127# If no C compiler was specified, use CC. 8128LTCC=${LTCC-"$CC"} 8129 8130# If no C compiler flags were specified, use CFLAGS. 8131LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8132 8133# Allow CC to be a program name with arguments. 8134compiler=$CC 8135 8136# Save the default compiler, since it gets overwritten when the other 8137# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8138compiler_DEFAULT=$CC 8139 8140# save warnings/boilerplate of simple test code 8141ac_outfile=conftest.$ac_objext 8142echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8143eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8144_lt_compiler_boilerplate=`cat conftest.err` 8145$RM conftest* 8146 8147ac_outfile=conftest.$ac_objext 8148echo "$lt_simple_link_test_code" >conftest.$ac_ext 8149eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8150_lt_linker_boilerplate=`cat conftest.err` 8151$RM -r conftest* 8152 8153 8154if test -n "$compiler"; then 8155 8156lt_prog_compiler_no_builtin_flag= 8157 8158if test "$GCC" = yes; then 8159 case $cc_basename in 8160 nvcc*) 8161 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8162 *) 8163 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8164 esac 8165 8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8167$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8168if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8169 $as_echo_n "(cached) " >&6 8170else 8171 lt_cv_prog_compiler_rtti_exceptions=no 8172 ac_outfile=conftest.$ac_objext 8173 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8174 lt_compiler_flag="-fno-rtti -fno-exceptions" 8175 # Insert the option either (1) after the last *FLAGS variable, or 8176 # (2) before a word containing "conftest.", or (3) at the end. 8177 # Note that $ac_compile itself does not contain backslashes and begins 8178 # with a dollar sign (not a hyphen), so the echo should work correctly. 8179 # The option is referenced via a variable to avoid confusing sed. 8180 lt_compile=`echo "$ac_compile" | $SED \ 8181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8183 -e 's:$: $lt_compiler_flag:'` 8184 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8185 (eval "$lt_compile" 2>conftest.err) 8186 ac_status=$? 8187 cat conftest.err >&5 8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 if (exit $ac_status) && test -s "$ac_outfile"; then 8190 # The compiler can only warn and ignore the option if not recognized 8191 # So say no if there are warnings other than the usual output. 8192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8193 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8194 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8195 lt_cv_prog_compiler_rtti_exceptions=yes 8196 fi 8197 fi 8198 $RM conftest* 8199 8200fi 8201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8202$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8203 8204if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8205 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8206else 8207 : 8208fi 8209 8210fi 8211 8212 8213 8214 8215 8216 8217 lt_prog_compiler_wl= 8218lt_prog_compiler_pic= 8219lt_prog_compiler_static= 8220 8221 8222 if test "$GCC" = yes; then 8223 lt_prog_compiler_wl='-Wl,' 8224 lt_prog_compiler_static='-static' 8225 8226 case $host_os in 8227 aix*) 8228 # All AIX code is PIC. 8229 if test "$host_cpu" = ia64; then 8230 # AIX 5 now supports IA64 processor 8231 lt_prog_compiler_static='-Bstatic' 8232 fi 8233 ;; 8234 8235 amigaos*) 8236 case $host_cpu in 8237 powerpc) 8238 # see comment about AmigaOS4 .so support 8239 lt_prog_compiler_pic='-fPIC' 8240 ;; 8241 m68k) 8242 # FIXME: we need at least 68020 code to build shared libraries, but 8243 # adding the `-m68020' flag to GCC prevents building anything better, 8244 # like `-m68040'. 8245 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8246 ;; 8247 esac 8248 ;; 8249 8250 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8251 # PIC is the default for these OSes. 8252 ;; 8253 8254 mingw* | cygwin* | pw32* | os2* | cegcc*) 8255 # This hack is so that the source file can tell whether it is being 8256 # built for inclusion in a dll (and should export symbols for example). 8257 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8258 # (--disable-auto-import) libraries 8259 lt_prog_compiler_pic='-DDLL_EXPORT' 8260 ;; 8261 8262 darwin* | rhapsody*) 8263 # PIC is the default on this platform 8264 # Common symbols not allowed in MH_DYLIB files 8265 lt_prog_compiler_pic='-fno-common' 8266 ;; 8267 8268 haiku*) 8269 # PIC is the default for Haiku. 8270 # The "-static" flag exists, but is broken. 8271 lt_prog_compiler_static= 8272 ;; 8273 8274 hpux*) 8275 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8276 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8277 # sets the default TLS model and affects inlining. 8278 case $host_cpu in 8279 hppa*64*) 8280 # +Z the default 8281 ;; 8282 *) 8283 lt_prog_compiler_pic='-fPIC' 8284 ;; 8285 esac 8286 ;; 8287 8288 interix[3-9]*) 8289 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8290 # Instead, we relocate shared libraries at runtime. 8291 ;; 8292 8293 msdosdjgpp*) 8294 # Just because we use GCC doesn't mean we suddenly get shared libraries 8295 # on systems that don't support them. 8296 lt_prog_compiler_can_build_shared=no 8297 enable_shared=no 8298 ;; 8299 8300 *nto* | *qnx*) 8301 # QNX uses GNU C++, but need to define -shared option too, otherwise 8302 # it will coredump. 8303 lt_prog_compiler_pic='-fPIC -shared' 8304 ;; 8305 8306 sysv4*MP*) 8307 if test -d /usr/nec; then 8308 lt_prog_compiler_pic=-Kconform_pic 8309 fi 8310 ;; 8311 8312 *) 8313 lt_prog_compiler_pic='-fPIC' 8314 ;; 8315 esac 8316 8317 case $cc_basename in 8318 nvcc*) # Cuda Compiler Driver 2.2 8319 lt_prog_compiler_wl='-Xlinker ' 8320 if test -n "$lt_prog_compiler_pic"; then 8321 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8322 fi 8323 ;; 8324 esac 8325 else 8326 # PORTME Check for flag to pass linker flags through the system compiler. 8327 case $host_os in 8328 aix*) 8329 lt_prog_compiler_wl='-Wl,' 8330 if test "$host_cpu" = ia64; then 8331 # AIX 5 now supports IA64 processor 8332 lt_prog_compiler_static='-Bstatic' 8333 else 8334 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8335 fi 8336 ;; 8337 8338 mingw* | cygwin* | pw32* | os2* | cegcc*) 8339 # This hack is so that the source file can tell whether it is being 8340 # built for inclusion in a dll (and should export symbols for example). 8341 lt_prog_compiler_pic='-DDLL_EXPORT' 8342 ;; 8343 8344 hpux9* | hpux10* | hpux11*) 8345 lt_prog_compiler_wl='-Wl,' 8346 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8347 # not for PA HP-UX. 8348 case $host_cpu in 8349 hppa*64*|ia64*) 8350 # +Z the default 8351 ;; 8352 *) 8353 lt_prog_compiler_pic='+Z' 8354 ;; 8355 esac 8356 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8357 lt_prog_compiler_static='${wl}-a ${wl}archive' 8358 ;; 8359 8360 irix5* | irix6* | nonstopux*) 8361 lt_prog_compiler_wl='-Wl,' 8362 # PIC (with -KPIC) is the default. 8363 lt_prog_compiler_static='-non_shared' 8364 ;; 8365 8366 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8367 case $cc_basename in 8368 # old Intel for x86_64 which still supported -KPIC. 8369 ecc*) 8370 lt_prog_compiler_wl='-Wl,' 8371 lt_prog_compiler_pic='-KPIC' 8372 lt_prog_compiler_static='-static' 8373 ;; 8374 # icc used to be incompatible with GCC. 8375 # ICC 10 doesn't accept -KPIC any more. 8376 icc* | ifort*) 8377 lt_prog_compiler_wl='-Wl,' 8378 lt_prog_compiler_pic='-fPIC' 8379 lt_prog_compiler_static='-static' 8380 ;; 8381 # Lahey Fortran 8.1. 8382 lf95*) 8383 lt_prog_compiler_wl='-Wl,' 8384 lt_prog_compiler_pic='--shared' 8385 lt_prog_compiler_static='--static' 8386 ;; 8387 nagfor*) 8388 # NAG Fortran compiler 8389 lt_prog_compiler_wl='-Wl,-Wl,,' 8390 lt_prog_compiler_pic='-PIC' 8391 lt_prog_compiler_static='-Bstatic' 8392 ;; 8393 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8394 # Portland Group compilers (*not* the Pentium gcc compiler, 8395 # which looks to be a dead project) 8396 lt_prog_compiler_wl='-Wl,' 8397 lt_prog_compiler_pic='-fpic' 8398 lt_prog_compiler_static='-Bstatic' 8399 ;; 8400 ccc*) 8401 lt_prog_compiler_wl='-Wl,' 8402 # All Alpha code is PIC. 8403 lt_prog_compiler_static='-non_shared' 8404 ;; 8405 xl* | bgxl* | bgf* | mpixl*) 8406 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8407 lt_prog_compiler_wl='-Wl,' 8408 lt_prog_compiler_pic='-qpic' 8409 lt_prog_compiler_static='-qstaticlink' 8410 ;; 8411 *) 8412 case `$CC -V 2>&1 | sed 5q` in 8413 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8414 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8415 lt_prog_compiler_pic='-KPIC' 8416 lt_prog_compiler_static='-Bstatic' 8417 lt_prog_compiler_wl='' 8418 ;; 8419 *Sun\ F* | *Sun*Fortran*) 8420 lt_prog_compiler_pic='-KPIC' 8421 lt_prog_compiler_static='-Bstatic' 8422 lt_prog_compiler_wl='-Qoption ld ' 8423 ;; 8424 *Sun\ C*) 8425 # Sun C 5.9 8426 lt_prog_compiler_pic='-KPIC' 8427 lt_prog_compiler_static='-Bstatic' 8428 lt_prog_compiler_wl='-Wl,' 8429 ;; 8430 *Intel*\ [CF]*Compiler*) 8431 lt_prog_compiler_wl='-Wl,' 8432 lt_prog_compiler_pic='-fPIC' 8433 lt_prog_compiler_static='-static' 8434 ;; 8435 *Portland\ Group*) 8436 lt_prog_compiler_wl='-Wl,' 8437 lt_prog_compiler_pic='-fpic' 8438 lt_prog_compiler_static='-Bstatic' 8439 ;; 8440 esac 8441 ;; 8442 esac 8443 ;; 8444 8445 newsos6) 8446 lt_prog_compiler_pic='-KPIC' 8447 lt_prog_compiler_static='-Bstatic' 8448 ;; 8449 8450 *nto* | *qnx*) 8451 # QNX uses GNU C++, but need to define -shared option too, otherwise 8452 # it will coredump. 8453 lt_prog_compiler_pic='-fPIC -shared' 8454 ;; 8455 8456 osf3* | osf4* | osf5*) 8457 lt_prog_compiler_wl='-Wl,' 8458 # All OSF/1 code is PIC. 8459 lt_prog_compiler_static='-non_shared' 8460 ;; 8461 8462 rdos*) 8463 lt_prog_compiler_static='-non_shared' 8464 ;; 8465 8466 solaris*) 8467 lt_prog_compiler_pic='-KPIC' 8468 lt_prog_compiler_static='-Bstatic' 8469 case $cc_basename in 8470 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8471 lt_prog_compiler_wl='-Qoption ld ';; 8472 *) 8473 lt_prog_compiler_wl='-Wl,';; 8474 esac 8475 ;; 8476 8477 sunos4*) 8478 lt_prog_compiler_wl='-Qoption ld ' 8479 lt_prog_compiler_pic='-PIC' 8480 lt_prog_compiler_static='-Bstatic' 8481 ;; 8482 8483 sysv4 | sysv4.2uw2* | sysv4.3*) 8484 lt_prog_compiler_wl='-Wl,' 8485 lt_prog_compiler_pic='-KPIC' 8486 lt_prog_compiler_static='-Bstatic' 8487 ;; 8488 8489 sysv4*MP*) 8490 if test -d /usr/nec ;then 8491 lt_prog_compiler_pic='-Kconform_pic' 8492 lt_prog_compiler_static='-Bstatic' 8493 fi 8494 ;; 8495 8496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8497 lt_prog_compiler_wl='-Wl,' 8498 lt_prog_compiler_pic='-KPIC' 8499 lt_prog_compiler_static='-Bstatic' 8500 ;; 8501 8502 unicos*) 8503 lt_prog_compiler_wl='-Wl,' 8504 lt_prog_compiler_can_build_shared=no 8505 ;; 8506 8507 uts4*) 8508 lt_prog_compiler_pic='-pic' 8509 lt_prog_compiler_static='-Bstatic' 8510 ;; 8511 8512 *) 8513 lt_prog_compiler_can_build_shared=no 8514 ;; 8515 esac 8516 fi 8517 8518case $host_os in 8519 # For platforms which do not support PIC, -DPIC is meaningless: 8520 *djgpp*) 8521 lt_prog_compiler_pic= 8522 ;; 8523 *) 8524 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8525 ;; 8526esac 8527 8528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8529$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8530if ${lt_cv_prog_compiler_pic+:} false; then : 8531 $as_echo_n "(cached) " >&6 8532else 8533 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8534fi 8535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8536$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8537lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8538 8539# 8540# Check to make sure the PIC flag actually works. 8541# 8542if test -n "$lt_prog_compiler_pic"; then 8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8544$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8545if ${lt_cv_prog_compiler_pic_works+:} false; then : 8546 $as_echo_n "(cached) " >&6 8547else 8548 lt_cv_prog_compiler_pic_works=no 8549 ac_outfile=conftest.$ac_objext 8550 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8551 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8552 # Insert the option either (1) after the last *FLAGS variable, or 8553 # (2) before a word containing "conftest.", or (3) at the end. 8554 # Note that $ac_compile itself does not contain backslashes and begins 8555 # with a dollar sign (not a hyphen), so the echo should work correctly. 8556 # The option is referenced via a variable to avoid confusing sed. 8557 lt_compile=`echo "$ac_compile" | $SED \ 8558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8560 -e 's:$: $lt_compiler_flag:'` 8561 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8562 (eval "$lt_compile" 2>conftest.err) 8563 ac_status=$? 8564 cat conftest.err >&5 8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8566 if (exit $ac_status) && test -s "$ac_outfile"; then 8567 # The compiler can only warn and ignore the option if not recognized 8568 # So say no if there are warnings other than the usual output. 8569 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8571 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8572 lt_cv_prog_compiler_pic_works=yes 8573 fi 8574 fi 8575 $RM conftest* 8576 8577fi 8578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8579$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8580 8581if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8582 case $lt_prog_compiler_pic in 8583 "" | " "*) ;; 8584 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8585 esac 8586else 8587 lt_prog_compiler_pic= 8588 lt_prog_compiler_can_build_shared=no 8589fi 8590 8591fi 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603# 8604# Check to make sure the static flag actually works. 8605# 8606wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8608$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8609if ${lt_cv_prog_compiler_static_works+:} false; then : 8610 $as_echo_n "(cached) " >&6 8611else 8612 lt_cv_prog_compiler_static_works=no 8613 save_LDFLAGS="$LDFLAGS" 8614 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8615 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8616 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8617 # The linker can only warn and ignore the option if not recognized 8618 # So say no if there are warnings 8619 if test -s conftest.err; then 8620 # Append any errors to the config.log. 8621 cat conftest.err 1>&5 8622 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8623 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8624 if diff conftest.exp conftest.er2 >/dev/null; then 8625 lt_cv_prog_compiler_static_works=yes 8626 fi 8627 else 8628 lt_cv_prog_compiler_static_works=yes 8629 fi 8630 fi 8631 $RM -r conftest* 8632 LDFLAGS="$save_LDFLAGS" 8633 8634fi 8635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8636$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8637 8638if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8639 : 8640else 8641 lt_prog_compiler_static= 8642fi 8643 8644 8645 8646 8647 8648 8649 8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8651$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8652if ${lt_cv_prog_compiler_c_o+:} false; then : 8653 $as_echo_n "(cached) " >&6 8654else 8655 lt_cv_prog_compiler_c_o=no 8656 $RM -r conftest 2>/dev/null 8657 mkdir conftest 8658 cd conftest 8659 mkdir out 8660 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8661 8662 lt_compiler_flag="-o out/conftest2.$ac_objext" 8663 # Insert the option either (1) after the last *FLAGS variable, or 8664 # (2) before a word containing "conftest.", or (3) at the end. 8665 # Note that $ac_compile itself does not contain backslashes and begins 8666 # with a dollar sign (not a hyphen), so the echo should work correctly. 8667 lt_compile=`echo "$ac_compile" | $SED \ 8668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8670 -e 's:$: $lt_compiler_flag:'` 8671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8672 (eval "$lt_compile" 2>out/conftest.err) 8673 ac_status=$? 8674 cat out/conftest.err >&5 8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8676 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8677 then 8678 # The compiler can only warn and ignore the option if not recognized 8679 # So say no if there are warnings 8680 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8681 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8682 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8683 lt_cv_prog_compiler_c_o=yes 8684 fi 8685 fi 8686 chmod u+w . 2>&5 8687 $RM conftest* 8688 # SGI C++ compiler will create directory out/ii_files/ for 8689 # template instantiation 8690 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8691 $RM out/* && rmdir out 8692 cd .. 8693 $RM -r conftest 8694 $RM conftest* 8695 8696fi 8697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8698$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8699 8700 8701 8702 8703 8704 8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8706$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8707if ${lt_cv_prog_compiler_c_o+:} false; then : 8708 $as_echo_n "(cached) " >&6 8709else 8710 lt_cv_prog_compiler_c_o=no 8711 $RM -r conftest 2>/dev/null 8712 mkdir conftest 8713 cd conftest 8714 mkdir out 8715 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8716 8717 lt_compiler_flag="-o out/conftest2.$ac_objext" 8718 # Insert the option either (1) after the last *FLAGS variable, or 8719 # (2) before a word containing "conftest.", or (3) at the end. 8720 # Note that $ac_compile itself does not contain backslashes and begins 8721 # with a dollar sign (not a hyphen), so the echo should work correctly. 8722 lt_compile=`echo "$ac_compile" | $SED \ 8723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8725 -e 's:$: $lt_compiler_flag:'` 8726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8727 (eval "$lt_compile" 2>out/conftest.err) 8728 ac_status=$? 8729 cat out/conftest.err >&5 8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8731 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8732 then 8733 # The compiler can only warn and ignore the option if not recognized 8734 # So say no if there are warnings 8735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8736 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8737 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8738 lt_cv_prog_compiler_c_o=yes 8739 fi 8740 fi 8741 chmod u+w . 2>&5 8742 $RM conftest* 8743 # SGI C++ compiler will create directory out/ii_files/ for 8744 # template instantiation 8745 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8746 $RM out/* && rmdir out 8747 cd .. 8748 $RM -r conftest 8749 $RM conftest* 8750 8751fi 8752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8753$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8754 8755 8756 8757 8758hard_links="nottested" 8759if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8760 # do not overwrite the value of need_locks provided by the user 8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8762$as_echo_n "checking if we can lock with hard links... " >&6; } 8763 hard_links=yes 8764 $RM conftest* 8765 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8766 touch conftest.a 8767 ln conftest.a conftest.b 2>&5 || hard_links=no 8768 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8770$as_echo "$hard_links" >&6; } 8771 if test "$hard_links" = no; then 8772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8773$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8774 need_locks=warn 8775 fi 8776else 8777 need_locks=no 8778fi 8779 8780 8781 8782 8783 8784 8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8786$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8787 8788 runpath_var= 8789 allow_undefined_flag= 8790 always_export_symbols=no 8791 archive_cmds= 8792 archive_expsym_cmds= 8793 compiler_needs_object=no 8794 enable_shared_with_static_runtimes=no 8795 export_dynamic_flag_spec= 8796 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8797 hardcode_automatic=no 8798 hardcode_direct=no 8799 hardcode_direct_absolute=no 8800 hardcode_libdir_flag_spec= 8801 hardcode_libdir_separator= 8802 hardcode_minus_L=no 8803 hardcode_shlibpath_var=unsupported 8804 inherit_rpath=no 8805 link_all_deplibs=unknown 8806 module_cmds= 8807 module_expsym_cmds= 8808 old_archive_from_new_cmds= 8809 old_archive_from_expsyms_cmds= 8810 thread_safe_flag_spec= 8811 whole_archive_flag_spec= 8812 # include_expsyms should be a list of space-separated symbols to be *always* 8813 # included in the symbol list 8814 include_expsyms= 8815 # exclude_expsyms can be an extended regexp of symbols to exclude 8816 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8817 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8818 # as well as any symbol that contains `d'. 8819 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8820 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8821 # platforms (ab)use it in PIC code, but their linkers get confused if 8822 # the symbol is explicitly referenced. Since portable code cannot 8823 # rely on this symbol name, it's probably fine to never include it in 8824 # preloaded symbol tables. 8825 # Exclude shared library initialization/finalization symbols. 8826 extract_expsyms_cmds= 8827 8828 case $host_os in 8829 cygwin* | mingw* | pw32* | cegcc*) 8830 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8831 # When not using gcc, we currently assume that we are using 8832 # Microsoft Visual C++. 8833 if test "$GCC" != yes; then 8834 with_gnu_ld=no 8835 fi 8836 ;; 8837 interix*) 8838 # we just hope/assume this is gcc and not c89 (= MSVC++) 8839 with_gnu_ld=yes 8840 ;; 8841 openbsd*) 8842 with_gnu_ld=no 8843 ;; 8844 linux* | k*bsd*-gnu | gnu*) 8845 link_all_deplibs=no 8846 ;; 8847 esac 8848 8849 ld_shlibs=yes 8850 8851 # On some targets, GNU ld is compatible enough with the native linker 8852 # that we're better off using the native interface for both. 8853 lt_use_gnu_ld_interface=no 8854 if test "$with_gnu_ld" = yes; then 8855 case $host_os in 8856 aix*) 8857 # The AIX port of GNU ld has always aspired to compatibility 8858 # with the native linker. However, as the warning in the GNU ld 8859 # block says, versions before 2.19.5* couldn't really create working 8860 # shared libraries, regardless of the interface used. 8861 case `$LD -v 2>&1` in 8862 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8863 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8864 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8865 *) 8866 lt_use_gnu_ld_interface=yes 8867 ;; 8868 esac 8869 ;; 8870 *) 8871 lt_use_gnu_ld_interface=yes 8872 ;; 8873 esac 8874 fi 8875 8876 if test "$lt_use_gnu_ld_interface" = yes; then 8877 # If archive_cmds runs LD, not CC, wlarc should be empty 8878 wlarc='${wl}' 8879 8880 # Set some defaults for GNU ld with shared library support. These 8881 # are reset later if shared libraries are not supported. Putting them 8882 # here allows them to be overridden if necessary. 8883 runpath_var=LD_RUN_PATH 8884 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8885 export_dynamic_flag_spec='${wl}--export-dynamic' 8886 # ancient GNU ld didn't support --whole-archive et. al. 8887 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8888 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8889 else 8890 whole_archive_flag_spec= 8891 fi 8892 supports_anon_versioning=no 8893 case `$LD -v 2>&1` in 8894 *GNU\ gold*) supports_anon_versioning=yes ;; 8895 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8896 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8897 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8898 *\ 2.11.*) ;; # other 2.11 versions 8899 *) supports_anon_versioning=yes ;; 8900 esac 8901 8902 # See if GNU ld supports shared libraries. 8903 case $host_os in 8904 aix[3-9]*) 8905 # On AIX/PPC, the GNU linker is very broken 8906 if test "$host_cpu" != ia64; then 8907 ld_shlibs=no 8908 cat <<_LT_EOF 1>&2 8909 8910*** Warning: the GNU linker, at least up to release 2.19, is reported 8911*** to be unable to reliably create shared libraries on AIX. 8912*** Therefore, libtool is disabling shared libraries support. If you 8913*** really care for shared libraries, you may want to install binutils 8914*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8915*** You will then need to restart the configuration process. 8916 8917_LT_EOF 8918 fi 8919 ;; 8920 8921 amigaos*) 8922 case $host_cpu in 8923 powerpc) 8924 # see comment about AmigaOS4 .so support 8925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8926 archive_expsym_cmds='' 8927 ;; 8928 m68k) 8929 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)' 8930 hardcode_libdir_flag_spec='-L$libdir' 8931 hardcode_minus_L=yes 8932 ;; 8933 esac 8934 ;; 8935 8936 beos*) 8937 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8938 allow_undefined_flag=unsupported 8939 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8940 # support --undefined. This deserves some investigation. FIXME 8941 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8942 else 8943 ld_shlibs=no 8944 fi 8945 ;; 8946 8947 cygwin* | mingw* | pw32* | cegcc*) 8948 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8949 # as there is no search path for DLLs. 8950 hardcode_libdir_flag_spec='-L$libdir' 8951 export_dynamic_flag_spec='${wl}--export-all-symbols' 8952 allow_undefined_flag=unsupported 8953 always_export_symbols=no 8954 enable_shared_with_static_runtimes=yes 8955 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' 8956 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8957 8958 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8959 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8960 # If the export-symbols file already is a .def file (1st line 8961 # is EXPORTS), use it as is; otherwise, prepend... 8962 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8963 cp $export_symbols $output_objdir/$soname.def; 8964 else 8965 echo EXPORTS > $output_objdir/$soname.def; 8966 cat $export_symbols >> $output_objdir/$soname.def; 8967 fi~ 8968 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8969 else 8970 ld_shlibs=no 8971 fi 8972 ;; 8973 8974 haiku*) 8975 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8976 link_all_deplibs=yes 8977 ;; 8978 8979 interix[3-9]*) 8980 hardcode_direct=no 8981 hardcode_shlibpath_var=no 8982 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8983 export_dynamic_flag_spec='${wl}-E' 8984 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8985 # Instead, shared libraries are loaded at an image base (0x10000000 by 8986 # default) and relocated if they conflict, which is a slow very memory 8987 # consuming and fragmenting process. To avoid this, we pick a random, 8988 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8989 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8990 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8991 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' 8992 ;; 8993 8994 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8995 tmp_diet=no 8996 if test "$host_os" = linux-dietlibc; then 8997 case $cc_basename in 8998 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8999 esac 9000 fi 9001 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9002 && test "$tmp_diet" = no 9003 then 9004 tmp_addflag=' $pic_flag' 9005 tmp_sharedflag='-shared' 9006 case $cc_basename,$host_cpu in 9007 pgcc*) # Portland Group C compiler 9008 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' 9009 tmp_addflag=' $pic_flag' 9010 ;; 9011 pgf77* | pgf90* | pgf95* | pgfortran*) 9012 # Portland Group f77 and f90 compilers 9013 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' 9014 tmp_addflag=' $pic_flag -Mnomain' ;; 9015 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9016 tmp_addflag=' -i_dynamic' ;; 9017 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9018 tmp_addflag=' -i_dynamic -nofor_main' ;; 9019 ifc* | ifort*) # Intel Fortran compiler 9020 tmp_addflag=' -nofor_main' ;; 9021 lf95*) # Lahey Fortran 8.1 9022 whole_archive_flag_spec= 9023 tmp_sharedflag='--shared' ;; 9024 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9025 tmp_sharedflag='-qmkshrobj' 9026 tmp_addflag= ;; 9027 nvcc*) # Cuda Compiler Driver 2.2 9028 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' 9029 compiler_needs_object=yes 9030 ;; 9031 esac 9032 case `$CC -V 2>&1 | sed 5q` in 9033 *Sun\ C*) # Sun C 5.9 9034 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' 9035 compiler_needs_object=yes 9036 tmp_sharedflag='-G' ;; 9037 *Sun\ F*) # Sun Fortran 8.3 9038 tmp_sharedflag='-G' ;; 9039 esac 9040 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9041 9042 if test "x$supports_anon_versioning" = xyes; then 9043 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9044 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9045 echo "local: *; };" >> $output_objdir/$libname.ver~ 9046 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9047 fi 9048 9049 case $cc_basename in 9050 xlf* | bgf* | bgxlf* | mpixlf*) 9051 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9052 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9053 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9054 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9055 if test "x$supports_anon_versioning" = xyes; then 9056 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9057 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9058 echo "local: *; };" >> $output_objdir/$libname.ver~ 9059 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9060 fi 9061 ;; 9062 esac 9063 else 9064 ld_shlibs=no 9065 fi 9066 ;; 9067 9068 netbsd* | netbsdelf*-gnu) 9069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9070 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9071 wlarc= 9072 else 9073 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9074 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9075 fi 9076 ;; 9077 9078 solaris*) 9079 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9080 ld_shlibs=no 9081 cat <<_LT_EOF 1>&2 9082 9083*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9084*** create shared libraries on Solaris systems. Therefore, libtool 9085*** is disabling shared libraries support. We urge you to upgrade GNU 9086*** binutils to release 2.9.1 or newer. Another option is to modify 9087*** your PATH or compiler configuration so that the native linker is 9088*** used, and then restart. 9089 9090_LT_EOF 9091 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9092 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9093 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9094 else 9095 ld_shlibs=no 9096 fi 9097 ;; 9098 9099 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9100 case `$LD -v 2>&1` in 9101 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9102 ld_shlibs=no 9103 cat <<_LT_EOF 1>&2 9104 9105*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9106*** reliably create shared libraries on SCO systems. Therefore, libtool 9107*** is disabling shared libraries support. We urge you to upgrade GNU 9108*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9109*** your PATH or compiler configuration so that the native linker is 9110*** used, and then restart. 9111 9112_LT_EOF 9113 ;; 9114 *) 9115 # For security reasons, it is highly recommended that you always 9116 # use absolute paths for naming shared libraries, and exclude the 9117 # DT_RUNPATH tag from executables and libraries. But doing so 9118 # requires that you compile everything twice, which is a pain. 9119 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9120 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9122 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9123 else 9124 ld_shlibs=no 9125 fi 9126 ;; 9127 esac 9128 ;; 9129 9130 sunos4*) 9131 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9132 wlarc= 9133 hardcode_direct=yes 9134 hardcode_shlibpath_var=no 9135 ;; 9136 9137 *) 9138 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9139 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9140 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9141 else 9142 ld_shlibs=no 9143 fi 9144 ;; 9145 esac 9146 9147 if test "$ld_shlibs" = no; then 9148 runpath_var= 9149 hardcode_libdir_flag_spec= 9150 export_dynamic_flag_spec= 9151 whole_archive_flag_spec= 9152 fi 9153 else 9154 # PORTME fill in a description of your system's linker (not GNU ld) 9155 case $host_os in 9156 aix3*) 9157 allow_undefined_flag=unsupported 9158 always_export_symbols=yes 9159 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' 9160 # Note: this linker hardcodes the directories in LIBPATH if there 9161 # are no directories specified by -L. 9162 hardcode_minus_L=yes 9163 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9164 # Neither direct hardcoding nor static linking is supported with a 9165 # broken collect2. 9166 hardcode_direct=unsupported 9167 fi 9168 ;; 9169 9170 aix[4-9]*) 9171 if test "$host_cpu" = ia64; then 9172 # On IA64, the linker does run time linking by default, so we don't 9173 # have to do anything special. 9174 aix_use_runtimelinking=no 9175 exp_sym_flag='-Bexport' 9176 no_entry_flag="" 9177 else 9178 # If we're using GNU nm, then we don't want the "-C" option. 9179 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9180 # Also, AIX nm treats weak defined symbols like other global 9181 # defined symbols, whereas GNU nm marks them as "W". 9182 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9183 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' 9184 else 9185 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' 9186 fi 9187 aix_use_runtimelinking=no 9188 9189 # Test if we are trying to use run time linking or normal 9190 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9191 # need to do runtime linking. 9192 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9193 for ld_flag in $LDFLAGS; do 9194 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9195 aix_use_runtimelinking=yes 9196 break 9197 fi 9198 done 9199 ;; 9200 esac 9201 9202 exp_sym_flag='-bexport' 9203 no_entry_flag='-bnoentry' 9204 fi 9205 9206 # When large executables or shared objects are built, AIX ld can 9207 # have problems creating the table of contents. If linking a library 9208 # or program results in "error TOC overflow" add -mminimal-toc to 9209 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9210 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9211 9212 archive_cmds='' 9213 hardcode_direct=yes 9214 hardcode_direct_absolute=yes 9215 hardcode_libdir_separator=':' 9216 link_all_deplibs=yes 9217 file_list_spec='${wl}-f,' 9218 9219 if test "$GCC" = yes; then 9220 case $host_os in aix4.[012]|aix4.[012].*) 9221 # We only want to do this on AIX 4.2 and lower, the check 9222 # below for broken collect2 doesn't work under 4.3+ 9223 collect2name=`${CC} -print-prog-name=collect2` 9224 if test -f "$collect2name" && 9225 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9226 then 9227 # We have reworked collect2 9228 : 9229 else 9230 # We have old collect2 9231 hardcode_direct=unsupported 9232 # It fails to find uninstalled libraries when the uninstalled 9233 # path is not listed in the libpath. Setting hardcode_minus_L 9234 # to unsupported forces relinking 9235 hardcode_minus_L=yes 9236 hardcode_libdir_flag_spec='-L$libdir' 9237 hardcode_libdir_separator= 9238 fi 9239 ;; 9240 esac 9241 shared_flag='-shared' 9242 if test "$aix_use_runtimelinking" = yes; then 9243 shared_flag="$shared_flag "'${wl}-G' 9244 fi 9245 link_all_deplibs=no 9246 else 9247 # not using gcc 9248 if test "$host_cpu" = ia64; then 9249 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9250 # chokes on -Wl,-G. The following line is correct: 9251 shared_flag='-G' 9252 else 9253 if test "$aix_use_runtimelinking" = yes; then 9254 shared_flag='${wl}-G' 9255 else 9256 shared_flag='${wl}-bM:SRE' 9257 fi 9258 fi 9259 fi 9260 9261 export_dynamic_flag_spec='${wl}-bexpall' 9262 # It seems that -bexpall does not export symbols beginning with 9263 # underscore (_), so it is better to generate a list of symbols to export. 9264 always_export_symbols=yes 9265 if test "$aix_use_runtimelinking" = yes; then 9266 # Warning - without using the other runtime loading flags (-brtl), 9267 # -berok will link without error, but may produce a broken library. 9268 allow_undefined_flag='-berok' 9269 # Determine the default libpath from the value encoded in an 9270 # empty executable. 9271 if test "${lt_cv_aix_libpath+set}" = set; then 9272 aix_libpath=$lt_cv_aix_libpath 9273else 9274 if ${lt_cv_aix_libpath_+:} false; then : 9275 $as_echo_n "(cached) " >&6 9276else 9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9278/* end confdefs.h. */ 9279 9280int 9281main () 9282{ 9283 9284 ; 9285 return 0; 9286} 9287_ACEOF 9288if ac_fn_c_try_link "$LINENO"; then : 9289 9290 lt_aix_libpath_sed=' 9291 /Import File Strings/,/^$/ { 9292 /^0/ { 9293 s/^0 *\([^ ]*\) *$/\1/ 9294 p 9295 } 9296 }' 9297 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9298 # Check for a 64-bit object if we didn't find anything. 9299 if test -z "$lt_cv_aix_libpath_"; then 9300 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9301 fi 9302fi 9303rm -f core conftest.err conftest.$ac_objext \ 9304 conftest$ac_exeext conftest.$ac_ext 9305 if test -z "$lt_cv_aix_libpath_"; then 9306 lt_cv_aix_libpath_="/usr/lib:/lib" 9307 fi 9308 9309fi 9310 9311 aix_libpath=$lt_cv_aix_libpath_ 9312fi 9313 9314 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9315 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" 9316 else 9317 if test "$host_cpu" = ia64; then 9318 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9319 allow_undefined_flag="-z nodefs" 9320 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" 9321 else 9322 # Determine the default libpath from the value encoded in an 9323 # empty executable. 9324 if test "${lt_cv_aix_libpath+set}" = set; then 9325 aix_libpath=$lt_cv_aix_libpath 9326else 9327 if ${lt_cv_aix_libpath_+:} false; then : 9328 $as_echo_n "(cached) " >&6 9329else 9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9331/* end confdefs.h. */ 9332 9333int 9334main () 9335{ 9336 9337 ; 9338 return 0; 9339} 9340_ACEOF 9341if ac_fn_c_try_link "$LINENO"; then : 9342 9343 lt_aix_libpath_sed=' 9344 /Import File Strings/,/^$/ { 9345 /^0/ { 9346 s/^0 *\([^ ]*\) *$/\1/ 9347 p 9348 } 9349 }' 9350 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9351 # Check for a 64-bit object if we didn't find anything. 9352 if test -z "$lt_cv_aix_libpath_"; then 9353 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9354 fi 9355fi 9356rm -f core conftest.err conftest.$ac_objext \ 9357 conftest$ac_exeext conftest.$ac_ext 9358 if test -z "$lt_cv_aix_libpath_"; then 9359 lt_cv_aix_libpath_="/usr/lib:/lib" 9360 fi 9361 9362fi 9363 9364 aix_libpath=$lt_cv_aix_libpath_ 9365fi 9366 9367 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9368 # Warning - without using the other run time loading flags, 9369 # -berok will link without error, but may produce a broken library. 9370 no_undefined_flag=' ${wl}-bernotok' 9371 allow_undefined_flag=' ${wl}-berok' 9372 if test "$with_gnu_ld" = yes; then 9373 # We only use this code for GNU lds that support --whole-archive. 9374 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9375 else 9376 # Exported symbols can be pulled into shared objects from archives 9377 whole_archive_flag_spec='$convenience' 9378 fi 9379 archive_cmds_need_lc=yes 9380 # This is similar to how AIX traditionally builds its shared libraries. 9381 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' 9382 fi 9383 fi 9384 ;; 9385 9386 amigaos*) 9387 case $host_cpu in 9388 powerpc) 9389 # see comment about AmigaOS4 .so support 9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9391 archive_expsym_cmds='' 9392 ;; 9393 m68k) 9394 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)' 9395 hardcode_libdir_flag_spec='-L$libdir' 9396 hardcode_minus_L=yes 9397 ;; 9398 esac 9399 ;; 9400 9401 bsdi[45]*) 9402 export_dynamic_flag_spec=-rdynamic 9403 ;; 9404 9405 cygwin* | mingw* | pw32* | cegcc*) 9406 # When not using gcc, we currently assume that we are using 9407 # Microsoft Visual C++. 9408 # hardcode_libdir_flag_spec is actually meaningless, as there is 9409 # no search path for DLLs. 9410 case $cc_basename in 9411 cl*) 9412 # Native MSVC 9413 hardcode_libdir_flag_spec=' ' 9414 allow_undefined_flag=unsupported 9415 always_export_symbols=yes 9416 file_list_spec='@' 9417 # Tell ltmain to make .lib files, not .a files. 9418 libext=lib 9419 # Tell ltmain to make .dll files, not .so files. 9420 shrext_cmds=".dll" 9421 # FIXME: Setting linknames here is a bad hack. 9422 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9423 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9424 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9425 else 9426 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9427 fi~ 9428 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9429 linknames=' 9430 # The linker will not automatically build a static lib if we build a DLL. 9431 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9432 enable_shared_with_static_runtimes=yes 9433 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9434 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9435 # Don't use ranlib 9436 old_postinstall_cmds='chmod 644 $oldlib' 9437 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9438 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9439 case $lt_outputfile in 9440 *.exe|*.EXE) ;; 9441 *) 9442 lt_outputfile="$lt_outputfile.exe" 9443 lt_tool_outputfile="$lt_tool_outputfile.exe" 9444 ;; 9445 esac~ 9446 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9447 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9448 $RM "$lt_outputfile.manifest"; 9449 fi' 9450 ;; 9451 *) 9452 # Assume MSVC wrapper 9453 hardcode_libdir_flag_spec=' ' 9454 allow_undefined_flag=unsupported 9455 # Tell ltmain to make .lib files, not .a files. 9456 libext=lib 9457 # Tell ltmain to make .dll files, not .so files. 9458 shrext_cmds=".dll" 9459 # FIXME: Setting linknames here is a bad hack. 9460 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9461 # The linker will automatically build a .lib file if we build a DLL. 9462 old_archive_from_new_cmds='true' 9463 # FIXME: Should let the user specify the lib program. 9464 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9465 enable_shared_with_static_runtimes=yes 9466 ;; 9467 esac 9468 ;; 9469 9470 darwin* | rhapsody*) 9471 9472 9473 archive_cmds_need_lc=no 9474 hardcode_direct=no 9475 hardcode_automatic=yes 9476 hardcode_shlibpath_var=unsupported 9477 if test "$lt_cv_ld_force_load" = "yes"; then 9478 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\"`' 9479 9480 else 9481 whole_archive_flag_spec='' 9482 fi 9483 link_all_deplibs=yes 9484 allow_undefined_flag="$_lt_dar_allow_undefined" 9485 case $cc_basename in 9486 ifort*) _lt_dar_can_shared=yes ;; 9487 *) _lt_dar_can_shared=$GCC ;; 9488 esac 9489 if test "$_lt_dar_can_shared" = "yes"; then 9490 output_verbose_link_cmd=func_echo_all 9491 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9492 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9493 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}" 9494 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}" 9495 9496 else 9497 ld_shlibs=no 9498 fi 9499 9500 ;; 9501 9502 dgux*) 9503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9504 hardcode_libdir_flag_spec='-L$libdir' 9505 hardcode_shlibpath_var=no 9506 ;; 9507 9508 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9509 # support. Future versions do this automatically, but an explicit c++rt0.o 9510 # does not break anything, and helps significantly (at the cost of a little 9511 # extra space). 9512 freebsd2.2*) 9513 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9514 hardcode_libdir_flag_spec='-R$libdir' 9515 hardcode_direct=yes 9516 hardcode_shlibpath_var=no 9517 ;; 9518 9519 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9520 freebsd2.*) 9521 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9522 hardcode_direct=yes 9523 hardcode_minus_L=yes 9524 hardcode_shlibpath_var=no 9525 ;; 9526 9527 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9528 freebsd* | dragonfly*) 9529 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9530 hardcode_libdir_flag_spec='-R$libdir' 9531 hardcode_direct=yes 9532 hardcode_shlibpath_var=no 9533 ;; 9534 9535 hpux9*) 9536 if test "$GCC" = yes; then 9537 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' 9538 else 9539 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' 9540 fi 9541 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9542 hardcode_libdir_separator=: 9543 hardcode_direct=yes 9544 9545 # hardcode_minus_L: Not really in the search PATH, 9546 # but as the default location of the library. 9547 hardcode_minus_L=yes 9548 export_dynamic_flag_spec='${wl}-E' 9549 ;; 9550 9551 hpux10*) 9552 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9553 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9554 else 9555 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9556 fi 9557 if test "$with_gnu_ld" = no; then 9558 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9559 hardcode_libdir_separator=: 9560 hardcode_direct=yes 9561 hardcode_direct_absolute=yes 9562 export_dynamic_flag_spec='${wl}-E' 9563 # hardcode_minus_L: Not really in the search PATH, 9564 # but as the default location of the library. 9565 hardcode_minus_L=yes 9566 fi 9567 ;; 9568 9569 hpux11*) 9570 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9571 case $host_cpu in 9572 hppa*64*) 9573 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9574 ;; 9575 ia64*) 9576 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9577 ;; 9578 *) 9579 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9580 ;; 9581 esac 9582 else 9583 case $host_cpu in 9584 hppa*64*) 9585 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9586 ;; 9587 ia64*) 9588 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9589 ;; 9590 *) 9591 9592 # Older versions of the 11.00 compiler do not understand -b yet 9593 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9595$as_echo_n "checking if $CC understands -b... " >&6; } 9596if ${lt_cv_prog_compiler__b+:} false; then : 9597 $as_echo_n "(cached) " >&6 9598else 9599 lt_cv_prog_compiler__b=no 9600 save_LDFLAGS="$LDFLAGS" 9601 LDFLAGS="$LDFLAGS -b" 9602 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9603 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9604 # The linker can only warn and ignore the option if not recognized 9605 # So say no if there are warnings 9606 if test -s conftest.err; then 9607 # Append any errors to the config.log. 9608 cat conftest.err 1>&5 9609 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9610 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9611 if diff conftest.exp conftest.er2 >/dev/null; then 9612 lt_cv_prog_compiler__b=yes 9613 fi 9614 else 9615 lt_cv_prog_compiler__b=yes 9616 fi 9617 fi 9618 $RM -r conftest* 9619 LDFLAGS="$save_LDFLAGS" 9620 9621fi 9622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9623$as_echo "$lt_cv_prog_compiler__b" >&6; } 9624 9625if test x"$lt_cv_prog_compiler__b" = xyes; then 9626 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9627else 9628 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9629fi 9630 9631 ;; 9632 esac 9633 fi 9634 if test "$with_gnu_ld" = no; then 9635 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9636 hardcode_libdir_separator=: 9637 9638 case $host_cpu in 9639 hppa*64*|ia64*) 9640 hardcode_direct=no 9641 hardcode_shlibpath_var=no 9642 ;; 9643 *) 9644 hardcode_direct=yes 9645 hardcode_direct_absolute=yes 9646 export_dynamic_flag_spec='${wl}-E' 9647 9648 # hardcode_minus_L: Not really in the search PATH, 9649 # but as the default location of the library. 9650 hardcode_minus_L=yes 9651 ;; 9652 esac 9653 fi 9654 ;; 9655 9656 irix5* | irix6* | nonstopux*) 9657 if test "$GCC" = yes; then 9658 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' 9659 # Try to use the -exported_symbol ld option, if it does not 9660 # work, assume that -exports_file does not work either and 9661 # implicitly export all symbols. 9662 # This should be the same for all languages, so no per-tag cache variable. 9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9664$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9665if ${lt_cv_irix_exported_symbol+:} false; then : 9666 $as_echo_n "(cached) " >&6 9667else 9668 save_LDFLAGS="$LDFLAGS" 9669 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9671/* end confdefs.h. */ 9672int foo (void) { return 0; } 9673_ACEOF 9674if ac_fn_c_try_link "$LINENO"; then : 9675 lt_cv_irix_exported_symbol=yes 9676else 9677 lt_cv_irix_exported_symbol=no 9678fi 9679rm -f core conftest.err conftest.$ac_objext \ 9680 conftest$ac_exeext conftest.$ac_ext 9681 LDFLAGS="$save_LDFLAGS" 9682fi 9683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9684$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9685 if test "$lt_cv_irix_exported_symbol" = yes; then 9686 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' 9687 fi 9688 else 9689 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' 9690 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' 9691 fi 9692 archive_cmds_need_lc='no' 9693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9694 hardcode_libdir_separator=: 9695 inherit_rpath=yes 9696 link_all_deplibs=yes 9697 ;; 9698 9699 netbsd* | netbsdelf*-gnu) 9700 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9701 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9702 else 9703 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9704 fi 9705 hardcode_libdir_flag_spec='-R$libdir' 9706 hardcode_direct=yes 9707 hardcode_shlibpath_var=no 9708 ;; 9709 9710 newsos6) 9711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9712 hardcode_direct=yes 9713 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9714 hardcode_libdir_separator=: 9715 hardcode_shlibpath_var=no 9716 ;; 9717 9718 *nto* | *qnx*) 9719 ;; 9720 9721 openbsd*) 9722 if test -f /usr/libexec/ld.so; then 9723 hardcode_direct=yes 9724 hardcode_shlibpath_var=no 9725 hardcode_direct_absolute=yes 9726 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9727 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9728 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9729 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9730 export_dynamic_flag_spec='${wl}-E' 9731 else 9732 case $host_os in 9733 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9734 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9735 hardcode_libdir_flag_spec='-R$libdir' 9736 ;; 9737 *) 9738 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9739 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9740 ;; 9741 esac 9742 fi 9743 else 9744 ld_shlibs=no 9745 fi 9746 ;; 9747 9748 os2*) 9749 hardcode_libdir_flag_spec='-L$libdir' 9750 hardcode_minus_L=yes 9751 allow_undefined_flag=unsupported 9752 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' 9753 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9754 ;; 9755 9756 osf3*) 9757 if test "$GCC" = yes; then 9758 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9759 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' 9760 else 9761 allow_undefined_flag=' -expect_unresolved \*' 9762 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' 9763 fi 9764 archive_cmds_need_lc='no' 9765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9766 hardcode_libdir_separator=: 9767 ;; 9768 9769 osf4* | osf5*) # as osf3* with the addition of -msym flag 9770 if test "$GCC" = yes; then 9771 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9772 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' 9773 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9774 else 9775 allow_undefined_flag=' -expect_unresolved \*' 9776 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' 9777 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~ 9778 $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' 9779 9780 # Both c and cxx compiler support -rpath directly 9781 hardcode_libdir_flag_spec='-rpath $libdir' 9782 fi 9783 archive_cmds_need_lc='no' 9784 hardcode_libdir_separator=: 9785 ;; 9786 9787 solaris*) 9788 no_undefined_flag=' -z defs' 9789 if test "$GCC" = yes; then 9790 wlarc='${wl}' 9791 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9792 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9793 $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' 9794 else 9795 case `$CC -V 2>&1` in 9796 *"Compilers 5.0"*) 9797 wlarc='' 9798 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9799 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9800 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9801 ;; 9802 *) 9803 wlarc='${wl}' 9804 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9805 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9806 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9807 ;; 9808 esac 9809 fi 9810 hardcode_libdir_flag_spec='-R$libdir' 9811 hardcode_shlibpath_var=no 9812 case $host_os in 9813 solaris2.[0-5] | solaris2.[0-5].*) ;; 9814 *) 9815 # The compiler driver will combine and reorder linker options, 9816 # but understands `-z linker_flag'. GCC discards it without `$wl', 9817 # but is careful enough not to reorder. 9818 # Supported since Solaris 2.6 (maybe 2.5.1?) 9819 if test "$GCC" = yes; then 9820 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9821 else 9822 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9823 fi 9824 ;; 9825 esac 9826 link_all_deplibs=yes 9827 ;; 9828 9829 sunos4*) 9830 if test "x$host_vendor" = xsequent; then 9831 # Use $CC to link under sequent, because it throws in some extra .o 9832 # files that make .init and .fini sections work. 9833 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9834 else 9835 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9836 fi 9837 hardcode_libdir_flag_spec='-L$libdir' 9838 hardcode_direct=yes 9839 hardcode_minus_L=yes 9840 hardcode_shlibpath_var=no 9841 ;; 9842 9843 sysv4) 9844 case $host_vendor in 9845 sni) 9846 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9847 hardcode_direct=yes # is this really true??? 9848 ;; 9849 siemens) 9850 ## LD is ld it makes a PLAMLIB 9851 ## CC just makes a GrossModule. 9852 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9853 reload_cmds='$CC -r -o $output$reload_objs' 9854 hardcode_direct=no 9855 ;; 9856 motorola) 9857 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9858 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9859 ;; 9860 esac 9861 runpath_var='LD_RUN_PATH' 9862 hardcode_shlibpath_var=no 9863 ;; 9864 9865 sysv4.3*) 9866 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9867 hardcode_shlibpath_var=no 9868 export_dynamic_flag_spec='-Bexport' 9869 ;; 9870 9871 sysv4*MP*) 9872 if test -d /usr/nec; then 9873 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9874 hardcode_shlibpath_var=no 9875 runpath_var=LD_RUN_PATH 9876 hardcode_runpath_var=yes 9877 ld_shlibs=yes 9878 fi 9879 ;; 9880 9881 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9882 no_undefined_flag='${wl}-z,text' 9883 archive_cmds_need_lc=no 9884 hardcode_shlibpath_var=no 9885 runpath_var='LD_RUN_PATH' 9886 9887 if test "$GCC" = yes; then 9888 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9889 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9890 else 9891 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9892 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9893 fi 9894 ;; 9895 9896 sysv5* | sco3.2v5* | sco5v6*) 9897 # Note: We can NOT use -z defs as we might desire, because we do not 9898 # link with -lc, and that would cause any symbols used from libc to 9899 # always be unresolved, which means just about no library would 9900 # ever link correctly. If we're not using GNU ld we use -z text 9901 # though, which does catch some bad symbols but isn't as heavy-handed 9902 # as -z defs. 9903 no_undefined_flag='${wl}-z,text' 9904 allow_undefined_flag='${wl}-z,nodefs' 9905 archive_cmds_need_lc=no 9906 hardcode_shlibpath_var=no 9907 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9908 hardcode_libdir_separator=':' 9909 link_all_deplibs=yes 9910 export_dynamic_flag_spec='${wl}-Bexport' 9911 runpath_var='LD_RUN_PATH' 9912 9913 if test "$GCC" = yes; then 9914 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9915 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9916 else 9917 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9918 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9919 fi 9920 ;; 9921 9922 uts4*) 9923 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9924 hardcode_libdir_flag_spec='-L$libdir' 9925 hardcode_shlibpath_var=no 9926 ;; 9927 9928 *) 9929 ld_shlibs=no 9930 ;; 9931 esac 9932 9933 if test x$host_vendor = xsni; then 9934 case $host in 9935 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9936 export_dynamic_flag_spec='${wl}-Blargedynsym' 9937 ;; 9938 esac 9939 fi 9940 fi 9941 9942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9943$as_echo "$ld_shlibs" >&6; } 9944test "$ld_shlibs" = no && can_build_shared=no 9945 9946with_gnu_ld=$with_gnu_ld 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962# 9963# Do we need to explicitly link libc? 9964# 9965case "x$archive_cmds_need_lc" in 9966x|xyes) 9967 # Assume -lc should be added 9968 archive_cmds_need_lc=yes 9969 9970 if test "$enable_shared" = yes && test "$GCC" = yes; then 9971 case $archive_cmds in 9972 *'~'*) 9973 # FIXME: we may have to deal with multi-command sequences. 9974 ;; 9975 '$CC '*) 9976 # Test whether the compiler implicitly links with -lc since on some 9977 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9978 # to ld, don't add -lc before -lgcc. 9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9980$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9981if ${lt_cv_archive_cmds_need_lc+:} false; then : 9982 $as_echo_n "(cached) " >&6 9983else 9984 $RM conftest* 9985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9986 9987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9988 (eval $ac_compile) 2>&5 9989 ac_status=$? 9990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9991 test $ac_status = 0; } 2>conftest.err; then 9992 soname=conftest 9993 lib=conftest 9994 libobjs=conftest.$ac_objext 9995 deplibs= 9996 wl=$lt_prog_compiler_wl 9997 pic_flag=$lt_prog_compiler_pic 9998 compiler_flags=-v 9999 linker_flags=-v 10000 verstring= 10001 output_objdir=. 10002 libname=conftest 10003 lt_save_allow_undefined_flag=$allow_undefined_flag 10004 allow_undefined_flag= 10005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10006 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10007 ac_status=$? 10008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10009 test $ac_status = 0; } 10010 then 10011 lt_cv_archive_cmds_need_lc=no 10012 else 10013 lt_cv_archive_cmds_need_lc=yes 10014 fi 10015 allow_undefined_flag=$lt_save_allow_undefined_flag 10016 else 10017 cat conftest.err 1>&5 10018 fi 10019 $RM conftest* 10020 10021fi 10022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10023$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10024 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10025 ;; 10026 esac 10027 fi 10028 ;; 10029esac 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10183$as_echo_n "checking dynamic linker characteristics... " >&6; } 10184 10185if test "$GCC" = yes; then 10186 case $host_os in 10187 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10188 *) lt_awk_arg="/^libraries:/" ;; 10189 esac 10190 case $host_os in 10191 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10192 *) lt_sed_strip_eq="s,=/,/,g" ;; 10193 esac 10194 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10195 case $lt_search_path_spec in 10196 *\;*) 10197 # if the path contains ";" then we assume it to be the separator 10198 # otherwise default to the standard path separator (i.e. ":") - it is 10199 # assumed that no part of a normal pathname contains ";" but that should 10200 # okay in the real world where ";" in dirpaths is itself problematic. 10201 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10202 ;; 10203 *) 10204 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10205 ;; 10206 esac 10207 # Ok, now we have the path, separated by spaces, we can step through it 10208 # and add multilib dir if necessary. 10209 lt_tmp_lt_search_path_spec= 10210 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10211 for lt_sys_path in $lt_search_path_spec; do 10212 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10213 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10214 else 10215 test -d "$lt_sys_path" && \ 10216 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10217 fi 10218 done 10219 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10220BEGIN {RS=" "; FS="/|\n";} { 10221 lt_foo=""; 10222 lt_count=0; 10223 for (lt_i = NF; lt_i > 0; lt_i--) { 10224 if ($lt_i != "" && $lt_i != ".") { 10225 if ($lt_i == "..") { 10226 lt_count++; 10227 } else { 10228 if (lt_count == 0) { 10229 lt_foo="/" $lt_i lt_foo; 10230 } else { 10231 lt_count--; 10232 } 10233 } 10234 } 10235 } 10236 if (lt_foo != "") { lt_freq[lt_foo]++; } 10237 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10238}'` 10239 # AWK program above erroneously prepends '/' to C:/dos/paths 10240 # for these hosts. 10241 case $host_os in 10242 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10243 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10244 esac 10245 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10246else 10247 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10248fi 10249library_names_spec= 10250libname_spec='lib$name' 10251soname_spec= 10252shrext_cmds=".so" 10253postinstall_cmds= 10254postuninstall_cmds= 10255finish_cmds= 10256finish_eval= 10257shlibpath_var= 10258shlibpath_overrides_runpath=unknown 10259version_type=none 10260dynamic_linker="$host_os ld.so" 10261sys_lib_dlsearch_path_spec="/lib /usr/lib" 10262need_lib_prefix=unknown 10263hardcode_into_libs=no 10264 10265# when you set need_version to no, make sure it does not cause -set_version 10266# flags to be left without arguments 10267need_version=unknown 10268 10269case $host_os in 10270aix3*) 10271 version_type=linux # correct to gnu/linux during the next big refactor 10272 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10273 shlibpath_var=LIBPATH 10274 10275 # AIX 3 has no versioning support, so we append a major version to the name. 10276 soname_spec='${libname}${release}${shared_ext}$major' 10277 ;; 10278 10279aix[4-9]*) 10280 version_type=linux # correct to gnu/linux during the next big refactor 10281 need_lib_prefix=no 10282 need_version=no 10283 hardcode_into_libs=yes 10284 if test "$host_cpu" = ia64; then 10285 # AIX 5 supports IA64 10286 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10287 shlibpath_var=LD_LIBRARY_PATH 10288 else 10289 # With GCC up to 2.95.x, collect2 would create an import file 10290 # for dependence libraries. The import file would start with 10291 # the line `#! .'. This would cause the generated library to 10292 # depend on `.', always an invalid library. This was fixed in 10293 # development snapshots of GCC prior to 3.0. 10294 case $host_os in 10295 aix4 | aix4.[01] | aix4.[01].*) 10296 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10297 echo ' yes ' 10298 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10299 : 10300 else 10301 can_build_shared=no 10302 fi 10303 ;; 10304 esac 10305 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10306 # soname into executable. Probably we can add versioning support to 10307 # collect2, so additional links can be useful in future. 10308 if test "$aix_use_runtimelinking" = yes; then 10309 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10310 # instead of lib<name>.a to let people know that these are not 10311 # typical AIX shared libraries. 10312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10313 else 10314 # We preserve .a as extension for shared libraries through AIX4.2 10315 # and later when we are not doing run time linking. 10316 library_names_spec='${libname}${release}.a $libname.a' 10317 soname_spec='${libname}${release}${shared_ext}$major' 10318 fi 10319 shlibpath_var=LIBPATH 10320 fi 10321 ;; 10322 10323amigaos*) 10324 case $host_cpu in 10325 powerpc) 10326 # Since July 2007 AmigaOS4 officially supports .so libraries. 10327 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10329 ;; 10330 m68k) 10331 library_names_spec='$libname.ixlibrary $libname.a' 10332 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10333 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' 10334 ;; 10335 esac 10336 ;; 10337 10338beos*) 10339 library_names_spec='${libname}${shared_ext}' 10340 dynamic_linker="$host_os ld.so" 10341 shlibpath_var=LIBRARY_PATH 10342 ;; 10343 10344bsdi[45]*) 10345 version_type=linux # correct to gnu/linux during the next big refactor 10346 need_version=no 10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10348 soname_spec='${libname}${release}${shared_ext}$major' 10349 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10350 shlibpath_var=LD_LIBRARY_PATH 10351 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10352 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10353 # the default ld.so.conf also contains /usr/contrib/lib and 10354 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10355 # libtool to hard-code these into programs 10356 ;; 10357 10358cygwin* | mingw* | pw32* | cegcc*) 10359 version_type=windows 10360 shrext_cmds=".dll" 10361 need_version=no 10362 need_lib_prefix=no 10363 10364 case $GCC,$cc_basename in 10365 yes,*) 10366 # gcc 10367 library_names_spec='$libname.dll.a' 10368 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10369 postinstall_cmds='base_file=`basename \${file}`~ 10370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10371 dldir=$destdir/`dirname \$dlpath`~ 10372 test -d \$dldir || mkdir -p \$dldir~ 10373 $install_prog $dir/$dlname \$dldir/$dlname~ 10374 chmod a+x \$dldir/$dlname~ 10375 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10376 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10377 fi' 10378 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10379 dlpath=$dir/\$dldll~ 10380 $RM \$dlpath' 10381 shlibpath_overrides_runpath=yes 10382 10383 case $host_os in 10384 cygwin*) 10385 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10386 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10387 10388 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10389 ;; 10390 mingw* | cegcc*) 10391 # MinGW DLLs use traditional 'lib' prefix 10392 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10393 ;; 10394 pw32*) 10395 # pw32 DLLs use 'pw' prefix rather than 'lib' 10396 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10397 ;; 10398 esac 10399 dynamic_linker='Win32 ld.exe' 10400 ;; 10401 10402 *,cl*) 10403 # Native MSVC 10404 libname_spec='$name' 10405 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10406 library_names_spec='${libname}.dll.lib' 10407 10408 case $build_os in 10409 mingw*) 10410 sys_lib_search_path_spec= 10411 lt_save_ifs=$IFS 10412 IFS=';' 10413 for lt_path in $LIB 10414 do 10415 IFS=$lt_save_ifs 10416 # Let DOS variable expansion print the short 8.3 style file name. 10417 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10418 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10419 done 10420 IFS=$lt_save_ifs 10421 # Convert to MSYS style. 10422 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10423 ;; 10424 cygwin*) 10425 # Convert to unix form, then to dos form, then back to unix form 10426 # but this time dos style (no spaces!) so that the unix form looks 10427 # like /cygdrive/c/PROGRA~1:/cygdr... 10428 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10429 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10430 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10431 ;; 10432 *) 10433 sys_lib_search_path_spec="$LIB" 10434 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10435 # It is most probably a Windows format PATH. 10436 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10437 else 10438 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10439 fi 10440 # FIXME: find the short name or the path components, as spaces are 10441 # common. (e.g. "Program Files" -> "PROGRA~1") 10442 ;; 10443 esac 10444 10445 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10446 postinstall_cmds='base_file=`basename \${file}`~ 10447 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10448 dldir=$destdir/`dirname \$dlpath`~ 10449 test -d \$dldir || mkdir -p \$dldir~ 10450 $install_prog $dir/$dlname \$dldir/$dlname' 10451 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10452 dlpath=$dir/\$dldll~ 10453 $RM \$dlpath' 10454 shlibpath_overrides_runpath=yes 10455 dynamic_linker='Win32 link.exe' 10456 ;; 10457 10458 *) 10459 # Assume MSVC wrapper 10460 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10461 dynamic_linker='Win32 ld.exe' 10462 ;; 10463 esac 10464 # FIXME: first we should search . and the directory the executable is in 10465 shlibpath_var=PATH 10466 ;; 10467 10468darwin* | rhapsody*) 10469 dynamic_linker="$host_os dyld" 10470 version_type=darwin 10471 need_lib_prefix=no 10472 need_version=no 10473 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10474 soname_spec='${libname}${release}${major}$shared_ext' 10475 shlibpath_overrides_runpath=yes 10476 shlibpath_var=DYLD_LIBRARY_PATH 10477 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10478 10479 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10480 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10481 ;; 10482 10483dgux*) 10484 version_type=linux # correct to gnu/linux during the next big refactor 10485 need_lib_prefix=no 10486 need_version=no 10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10488 soname_spec='${libname}${release}${shared_ext}$major' 10489 shlibpath_var=LD_LIBRARY_PATH 10490 ;; 10491 10492freebsd* | dragonfly*) 10493 # DragonFly does not have aout. When/if they implement a new 10494 # versioning mechanism, adjust this. 10495 if test -x /usr/bin/objformat; then 10496 objformat=`/usr/bin/objformat` 10497 else 10498 case $host_os in 10499 freebsd[23].*) objformat=aout ;; 10500 *) objformat=elf ;; 10501 esac 10502 fi 10503 version_type=freebsd-$objformat 10504 case $version_type in 10505 freebsd-elf*) 10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10507 need_version=no 10508 need_lib_prefix=no 10509 ;; 10510 freebsd-*) 10511 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10512 need_version=yes 10513 ;; 10514 esac 10515 shlibpath_var=LD_LIBRARY_PATH 10516 case $host_os in 10517 freebsd2.*) 10518 shlibpath_overrides_runpath=yes 10519 ;; 10520 freebsd3.[01]* | freebsdelf3.[01]*) 10521 shlibpath_overrides_runpath=yes 10522 hardcode_into_libs=yes 10523 ;; 10524 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10525 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10526 shlibpath_overrides_runpath=no 10527 hardcode_into_libs=yes 10528 ;; 10529 *) # from 4.6 on, and DragonFly 10530 shlibpath_overrides_runpath=yes 10531 hardcode_into_libs=yes 10532 ;; 10533 esac 10534 ;; 10535 10536gnu*) 10537 version_type=linux # correct to gnu/linux during the next big refactor 10538 need_lib_prefix=no 10539 need_version=no 10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10541 soname_spec='${libname}${release}${shared_ext}$major' 10542 shlibpath_var=LD_LIBRARY_PATH 10543 shlibpath_overrides_runpath=no 10544 hardcode_into_libs=yes 10545 ;; 10546 10547haiku*) 10548 version_type=linux # correct to gnu/linux during the next big refactor 10549 need_lib_prefix=no 10550 need_version=no 10551 dynamic_linker="$host_os runtime_loader" 10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10553 soname_spec='${libname}${release}${shared_ext}$major' 10554 shlibpath_var=LIBRARY_PATH 10555 shlibpath_overrides_runpath=yes 10556 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10557 hardcode_into_libs=yes 10558 ;; 10559 10560hpux9* | hpux10* | hpux11*) 10561 # Give a soname corresponding to the major version so that dld.sl refuses to 10562 # link against other versions. 10563 version_type=sunos 10564 need_lib_prefix=no 10565 need_version=no 10566 case $host_cpu in 10567 ia64*) 10568 shrext_cmds='.so' 10569 hardcode_into_libs=yes 10570 dynamic_linker="$host_os dld.so" 10571 shlibpath_var=LD_LIBRARY_PATH 10572 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 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 if test "X$HPUX_IA64_MODE" = X32; then 10576 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10577 else 10578 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10579 fi 10580 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10581 ;; 10582 hppa*64*) 10583 shrext_cmds='.sl' 10584 hardcode_into_libs=yes 10585 dynamic_linker="$host_os dld.sl" 10586 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10587 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10589 soname_spec='${libname}${release}${shared_ext}$major' 10590 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10591 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10592 ;; 10593 *) 10594 shrext_cmds='.sl' 10595 dynamic_linker="$host_os dld.sl" 10596 shlibpath_var=SHLIB_PATH 10597 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10599 soname_spec='${libname}${release}${shared_ext}$major' 10600 ;; 10601 esac 10602 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10603 postinstall_cmds='chmod 555 $lib' 10604 # or fails outright, so override atomically: 10605 install_override_mode=555 10606 ;; 10607 10608interix[3-9]*) 10609 version_type=linux # correct to gnu/linux during the next big refactor 10610 need_lib_prefix=no 10611 need_version=no 10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10613 soname_spec='${libname}${release}${shared_ext}$major' 10614 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10615 shlibpath_var=LD_LIBRARY_PATH 10616 shlibpath_overrides_runpath=no 10617 hardcode_into_libs=yes 10618 ;; 10619 10620irix5* | irix6* | nonstopux*) 10621 case $host_os in 10622 nonstopux*) version_type=nonstopux ;; 10623 *) 10624 if test "$lt_cv_prog_gnu_ld" = yes; then 10625 version_type=linux # correct to gnu/linux during the next big refactor 10626 else 10627 version_type=irix 10628 fi ;; 10629 esac 10630 need_lib_prefix=no 10631 need_version=no 10632 soname_spec='${libname}${release}${shared_ext}$major' 10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10634 case $host_os in 10635 irix5* | nonstopux*) 10636 libsuff= shlibsuff= 10637 ;; 10638 *) 10639 case $LD in # libtool.m4 will add one of these switches to LD 10640 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10641 libsuff= shlibsuff= libmagic=32-bit;; 10642 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10643 libsuff=32 shlibsuff=N32 libmagic=N32;; 10644 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10645 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10646 *) libsuff= shlibsuff= libmagic=never-match;; 10647 esac 10648 ;; 10649 esac 10650 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10651 shlibpath_overrides_runpath=no 10652 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10653 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10654 hardcode_into_libs=yes 10655 ;; 10656 10657# No shared lib support for Linux oldld, aout, or coff. 10658linux*oldld* | linux*aout* | linux*coff*) 10659 dynamic_linker=no 10660 ;; 10661 10662# This must be glibc/ELF. 10663linux* | k*bsd*-gnu | kopensolaris*-gnu) 10664 version_type=linux # correct to gnu/linux during the next big refactor 10665 need_lib_prefix=no 10666 need_version=no 10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10668 soname_spec='${libname}${release}${shared_ext}$major' 10669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10670 shlibpath_var=LD_LIBRARY_PATH 10671 shlibpath_overrides_runpath=no 10672 10673 # Some binutils ld are patched to set DT_RUNPATH 10674 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10675 $as_echo_n "(cached) " >&6 10676else 10677 lt_cv_shlibpath_overrides_runpath=no 10678 save_LDFLAGS=$LDFLAGS 10679 save_libdir=$libdir 10680 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10681 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10683/* end confdefs.h. */ 10684 10685int 10686main () 10687{ 10688 10689 ; 10690 return 0; 10691} 10692_ACEOF 10693if ac_fn_c_try_link "$LINENO"; then : 10694 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10695 lt_cv_shlibpath_overrides_runpath=yes 10696fi 10697fi 10698rm -f core conftest.err conftest.$ac_objext \ 10699 conftest$ac_exeext conftest.$ac_ext 10700 LDFLAGS=$save_LDFLAGS 10701 libdir=$save_libdir 10702 10703fi 10704 10705 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10706 10707 # This implies no fast_install, which is unacceptable. 10708 # Some rework will be needed to allow for fast_install 10709 # before this can be enabled. 10710 hardcode_into_libs=yes 10711 10712 # Append ld.so.conf contents to the search path 10713 if test -f /etc/ld.so.conf; then 10714 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' ' '` 10715 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10716 fi 10717 10718 # We used to test for /lib/ld.so.1 and disable shared libraries on 10719 # powerpc, because MkLinux only supported shared libraries with the 10720 # GNU dynamic linker. Since this was broken with cross compilers, 10721 # most powerpc-linux boxes support dynamic linking these days and 10722 # people can always --disable-shared, the test was removed, and we 10723 # assume the GNU/Linux dynamic linker is in use. 10724 dynamic_linker='GNU/Linux ld.so' 10725 ;; 10726 10727netbsdelf*-gnu) 10728 version_type=linux 10729 need_lib_prefix=no 10730 need_version=no 10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10732 soname_spec='${libname}${release}${shared_ext}$major' 10733 shlibpath_var=LD_LIBRARY_PATH 10734 shlibpath_overrides_runpath=no 10735 hardcode_into_libs=yes 10736 dynamic_linker='NetBSD ld.elf_so' 10737 ;; 10738 10739netbsd*) 10740 version_type=sunos 10741 need_lib_prefix=no 10742 need_version=no 10743 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10745 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10746 dynamic_linker='NetBSD (a.out) ld.so' 10747 else 10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10749 soname_spec='${libname}${release}${shared_ext}$major' 10750 dynamic_linker='NetBSD ld.elf_so' 10751 fi 10752 shlibpath_var=LD_LIBRARY_PATH 10753 shlibpath_overrides_runpath=yes 10754 hardcode_into_libs=yes 10755 ;; 10756 10757newsos6) 10758 version_type=linux # correct to gnu/linux during the next big refactor 10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10760 shlibpath_var=LD_LIBRARY_PATH 10761 shlibpath_overrides_runpath=yes 10762 ;; 10763 10764*nto* | *qnx*) 10765 version_type=qnx 10766 need_lib_prefix=no 10767 need_version=no 10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10769 soname_spec='${libname}${release}${shared_ext}$major' 10770 shlibpath_var=LD_LIBRARY_PATH 10771 shlibpath_overrides_runpath=no 10772 hardcode_into_libs=yes 10773 dynamic_linker='ldqnx.so' 10774 ;; 10775 10776openbsd*) 10777 version_type=sunos 10778 sys_lib_dlsearch_path_spec="/usr/lib" 10779 need_lib_prefix=no 10780 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10781 case $host_os in 10782 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10783 *) need_version=no ;; 10784 esac 10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10786 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10787 shlibpath_var=LD_LIBRARY_PATH 10788 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10789 case $host_os in 10790 openbsd2.[89] | openbsd2.[89].*) 10791 shlibpath_overrides_runpath=no 10792 ;; 10793 *) 10794 shlibpath_overrides_runpath=yes 10795 ;; 10796 esac 10797 else 10798 shlibpath_overrides_runpath=yes 10799 fi 10800 ;; 10801 10802os2*) 10803 libname_spec='$name' 10804 shrext_cmds=".dll" 10805 need_lib_prefix=no 10806 library_names_spec='$libname${shared_ext} $libname.a' 10807 dynamic_linker='OS/2 ld.exe' 10808 shlibpath_var=LIBPATH 10809 ;; 10810 10811osf3* | osf4* | osf5*) 10812 version_type=osf 10813 need_lib_prefix=no 10814 need_version=no 10815 soname_spec='${libname}${release}${shared_ext}$major' 10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10817 shlibpath_var=LD_LIBRARY_PATH 10818 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10819 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10820 ;; 10821 10822rdos*) 10823 dynamic_linker=no 10824 ;; 10825 10826solaris*) 10827 version_type=linux # correct to gnu/linux during the next big refactor 10828 need_lib_prefix=no 10829 need_version=no 10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10831 soname_spec='${libname}${release}${shared_ext}$major' 10832 shlibpath_var=LD_LIBRARY_PATH 10833 shlibpath_overrides_runpath=yes 10834 hardcode_into_libs=yes 10835 # ldd complains unless libraries are executable 10836 postinstall_cmds='chmod +x $lib' 10837 ;; 10838 10839sunos4*) 10840 version_type=sunos 10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10842 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10843 shlibpath_var=LD_LIBRARY_PATH 10844 shlibpath_overrides_runpath=yes 10845 if test "$with_gnu_ld" = yes; then 10846 need_lib_prefix=no 10847 fi 10848 need_version=yes 10849 ;; 10850 10851sysv4 | sysv4.3*) 10852 version_type=linux # correct to gnu/linux during the next big refactor 10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10854 soname_spec='${libname}${release}${shared_ext}$major' 10855 shlibpath_var=LD_LIBRARY_PATH 10856 case $host_vendor in 10857 sni) 10858 shlibpath_overrides_runpath=no 10859 need_lib_prefix=no 10860 runpath_var=LD_RUN_PATH 10861 ;; 10862 siemens) 10863 need_lib_prefix=no 10864 ;; 10865 motorola) 10866 need_lib_prefix=no 10867 need_version=no 10868 shlibpath_overrides_runpath=no 10869 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10870 ;; 10871 esac 10872 ;; 10873 10874sysv4*MP*) 10875 if test -d /usr/nec ;then 10876 version_type=linux # correct to gnu/linux during the next big refactor 10877 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10878 soname_spec='$libname${shared_ext}.$major' 10879 shlibpath_var=LD_LIBRARY_PATH 10880 fi 10881 ;; 10882 10883sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10884 version_type=freebsd-elf 10885 need_lib_prefix=no 10886 need_version=no 10887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10888 soname_spec='${libname}${release}${shared_ext}$major' 10889 shlibpath_var=LD_LIBRARY_PATH 10890 shlibpath_overrides_runpath=yes 10891 hardcode_into_libs=yes 10892 if test "$with_gnu_ld" = yes; then 10893 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10894 else 10895 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10896 case $host_os in 10897 sco3.2v5*) 10898 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10899 ;; 10900 esac 10901 fi 10902 sys_lib_dlsearch_path_spec='/usr/lib' 10903 ;; 10904 10905tpf*) 10906 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10907 version_type=linux # correct to gnu/linux during the next big refactor 10908 need_lib_prefix=no 10909 need_version=no 10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10911 shlibpath_var=LD_LIBRARY_PATH 10912 shlibpath_overrides_runpath=no 10913 hardcode_into_libs=yes 10914 ;; 10915 10916uts4*) 10917 version_type=linux # correct to gnu/linux during the next big refactor 10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10919 soname_spec='${libname}${release}${shared_ext}$major' 10920 shlibpath_var=LD_LIBRARY_PATH 10921 ;; 10922 10923*) 10924 dynamic_linker=no 10925 ;; 10926esac 10927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10928$as_echo "$dynamic_linker" >&6; } 10929test "$dynamic_linker" = no && can_build_shared=no 10930 10931variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10932if test "$GCC" = yes; then 10933 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10934fi 10935 10936if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10937 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10938fi 10939if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10940 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10941fi 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11035$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11036hardcode_action= 11037if test -n "$hardcode_libdir_flag_spec" || 11038 test -n "$runpath_var" || 11039 test "X$hardcode_automatic" = "Xyes" ; then 11040 11041 # We can hardcode non-existent directories. 11042 if test "$hardcode_direct" != no && 11043 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11044 # have to relink, otherwise we might link with an installed library 11045 # when we should be linking with a yet-to-be-installed one 11046 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11047 test "$hardcode_minus_L" != no; then 11048 # Linking always hardcodes the temporary library directory. 11049 hardcode_action=relink 11050 else 11051 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11052 hardcode_action=immediate 11053 fi 11054else 11055 # We cannot hardcode anything, or else we can only hardcode existing 11056 # directories. 11057 hardcode_action=unsupported 11058fi 11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11060$as_echo "$hardcode_action" >&6; } 11061 11062if test "$hardcode_action" = relink || 11063 test "$inherit_rpath" = yes; then 11064 # Fast installation is not supported 11065 enable_fast_install=no 11066elif test "$shlibpath_overrides_runpath" = yes || 11067 test "$enable_shared" = no; then 11068 # Fast installation is not necessary 11069 enable_fast_install=needless 11070fi 11071 11072 11073 11074 11075 11076 11077 if test "x$enable_dlopen" != xyes; then 11078 enable_dlopen=unknown 11079 enable_dlopen_self=unknown 11080 enable_dlopen_self_static=unknown 11081else 11082 lt_cv_dlopen=no 11083 lt_cv_dlopen_libs= 11084 11085 case $host_os in 11086 beos*) 11087 lt_cv_dlopen="load_add_on" 11088 lt_cv_dlopen_libs= 11089 lt_cv_dlopen_self=yes 11090 ;; 11091 11092 mingw* | pw32* | cegcc*) 11093 lt_cv_dlopen="LoadLibrary" 11094 lt_cv_dlopen_libs= 11095 ;; 11096 11097 cygwin*) 11098 lt_cv_dlopen="dlopen" 11099 lt_cv_dlopen_libs= 11100 ;; 11101 11102 darwin*) 11103 # if libdl is installed we need to link against it 11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11105$as_echo_n "checking for dlopen in -ldl... " >&6; } 11106if ${ac_cv_lib_dl_dlopen+:} false; then : 11107 $as_echo_n "(cached) " >&6 11108else 11109 ac_check_lib_save_LIBS=$LIBS 11110LIBS="-ldl $LIBS" 11111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11112/* end confdefs.h. */ 11113 11114/* Override any GCC internal prototype to avoid an error. 11115 Use char because int might match the return type of a GCC 11116 builtin and then its argument prototype would still apply. */ 11117#ifdef __cplusplus 11118extern "C" 11119#endif 11120char dlopen (); 11121int 11122main () 11123{ 11124return dlopen (); 11125 ; 11126 return 0; 11127} 11128_ACEOF 11129if ac_fn_c_try_link "$LINENO"; then : 11130 ac_cv_lib_dl_dlopen=yes 11131else 11132 ac_cv_lib_dl_dlopen=no 11133fi 11134rm -f core conftest.err conftest.$ac_objext \ 11135 conftest$ac_exeext conftest.$ac_ext 11136LIBS=$ac_check_lib_save_LIBS 11137fi 11138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11139$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11140if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11142else 11143 11144 lt_cv_dlopen="dyld" 11145 lt_cv_dlopen_libs= 11146 lt_cv_dlopen_self=yes 11147 11148fi 11149 11150 ;; 11151 11152 *) 11153 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11154if test "x$ac_cv_func_shl_load" = xyes; then : 11155 lt_cv_dlopen="shl_load" 11156else 11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11158$as_echo_n "checking for shl_load in -ldld... " >&6; } 11159if ${ac_cv_lib_dld_shl_load+:} false; then : 11160 $as_echo_n "(cached) " >&6 11161else 11162 ac_check_lib_save_LIBS=$LIBS 11163LIBS="-ldld $LIBS" 11164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11165/* end confdefs.h. */ 11166 11167/* Override any GCC internal prototype to avoid an error. 11168 Use char because int might match the return type of a GCC 11169 builtin and then its argument prototype would still apply. */ 11170#ifdef __cplusplus 11171extern "C" 11172#endif 11173char shl_load (); 11174int 11175main () 11176{ 11177return shl_load (); 11178 ; 11179 return 0; 11180} 11181_ACEOF 11182if ac_fn_c_try_link "$LINENO"; then : 11183 ac_cv_lib_dld_shl_load=yes 11184else 11185 ac_cv_lib_dld_shl_load=no 11186fi 11187rm -f core conftest.err conftest.$ac_objext \ 11188 conftest$ac_exeext conftest.$ac_ext 11189LIBS=$ac_check_lib_save_LIBS 11190fi 11191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11192$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11193if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11194 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11195else 11196 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11197if test "x$ac_cv_func_dlopen" = xyes; then : 11198 lt_cv_dlopen="dlopen" 11199else 11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11201$as_echo_n "checking for dlopen in -ldl... " >&6; } 11202if ${ac_cv_lib_dl_dlopen+:} false; then : 11203 $as_echo_n "(cached) " >&6 11204else 11205 ac_check_lib_save_LIBS=$LIBS 11206LIBS="-ldl $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 dlopen (); 11217int 11218main () 11219{ 11220return dlopen (); 11221 ; 11222 return 0; 11223} 11224_ACEOF 11225if ac_fn_c_try_link "$LINENO"; then : 11226 ac_cv_lib_dl_dlopen=yes 11227else 11228 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 11235$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11236if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11238else 11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11240$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11241if ${ac_cv_lib_svld_dlopen+:} false; then : 11242 $as_echo_n "(cached) " >&6 11243else 11244 ac_check_lib_save_LIBS=$LIBS 11245LIBS="-lsvld $LIBS" 11246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11247/* end confdefs.h. */ 11248 11249/* Override any GCC internal prototype to avoid an error. 11250 Use char because int might match the return type of a GCC 11251 builtin and then its argument prototype would still apply. */ 11252#ifdef __cplusplus 11253extern "C" 11254#endif 11255char dlopen (); 11256int 11257main () 11258{ 11259return dlopen (); 11260 ; 11261 return 0; 11262} 11263_ACEOF 11264if ac_fn_c_try_link "$LINENO"; then : 11265 ac_cv_lib_svld_dlopen=yes 11266else 11267 ac_cv_lib_svld_dlopen=no 11268fi 11269rm -f core conftest.err conftest.$ac_objext \ 11270 conftest$ac_exeext conftest.$ac_ext 11271LIBS=$ac_check_lib_save_LIBS 11272fi 11273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11274$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11275if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11276 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11277else 11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11279$as_echo_n "checking for dld_link in -ldld... " >&6; } 11280if ${ac_cv_lib_dld_dld_link+:} false; then : 11281 $as_echo_n "(cached) " >&6 11282else 11283 ac_check_lib_save_LIBS=$LIBS 11284LIBS="-ldld $LIBS" 11285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11286/* end confdefs.h. */ 11287 11288/* Override any GCC internal prototype to avoid an error. 11289 Use char because int might match the return type of a GCC 11290 builtin and then its argument prototype would still apply. */ 11291#ifdef __cplusplus 11292extern "C" 11293#endif 11294char dld_link (); 11295int 11296main () 11297{ 11298return dld_link (); 11299 ; 11300 return 0; 11301} 11302_ACEOF 11303if ac_fn_c_try_link "$LINENO"; then : 11304 ac_cv_lib_dld_dld_link=yes 11305else 11306 ac_cv_lib_dld_dld_link=no 11307fi 11308rm -f core conftest.err conftest.$ac_objext \ 11309 conftest$ac_exeext conftest.$ac_ext 11310LIBS=$ac_check_lib_save_LIBS 11311fi 11312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11313$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11314if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11315 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11316fi 11317 11318 11319fi 11320 11321 11322fi 11323 11324 11325fi 11326 11327 11328fi 11329 11330 11331fi 11332 11333 ;; 11334 esac 11335 11336 if test "x$lt_cv_dlopen" != xno; then 11337 enable_dlopen=yes 11338 else 11339 enable_dlopen=no 11340 fi 11341 11342 case $lt_cv_dlopen in 11343 dlopen) 11344 save_CPPFLAGS="$CPPFLAGS" 11345 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11346 11347 save_LDFLAGS="$LDFLAGS" 11348 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11349 11350 save_LIBS="$LIBS" 11351 LIBS="$lt_cv_dlopen_libs $LIBS" 11352 11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11354$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11355if ${lt_cv_dlopen_self+:} false; then : 11356 $as_echo_n "(cached) " >&6 11357else 11358 if test "$cross_compiling" = yes; then : 11359 lt_cv_dlopen_self=cross 11360else 11361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11362 lt_status=$lt_dlunknown 11363 cat > conftest.$ac_ext <<_LT_EOF 11364#line $LINENO "configure" 11365#include "confdefs.h" 11366 11367#if HAVE_DLFCN_H 11368#include <dlfcn.h> 11369#endif 11370 11371#include <stdio.h> 11372 11373#ifdef RTLD_GLOBAL 11374# define LT_DLGLOBAL RTLD_GLOBAL 11375#else 11376# ifdef DL_GLOBAL 11377# define LT_DLGLOBAL DL_GLOBAL 11378# else 11379# define LT_DLGLOBAL 0 11380# endif 11381#endif 11382 11383/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11384 find out it does not work in some platform. */ 11385#ifndef LT_DLLAZY_OR_NOW 11386# ifdef RTLD_LAZY 11387# define LT_DLLAZY_OR_NOW RTLD_LAZY 11388# else 11389# ifdef DL_LAZY 11390# define LT_DLLAZY_OR_NOW DL_LAZY 11391# else 11392# ifdef RTLD_NOW 11393# define LT_DLLAZY_OR_NOW RTLD_NOW 11394# else 11395# ifdef DL_NOW 11396# define LT_DLLAZY_OR_NOW DL_NOW 11397# else 11398# define LT_DLLAZY_OR_NOW 0 11399# endif 11400# endif 11401# endif 11402# endif 11403#endif 11404 11405/* When -fvisbility=hidden is used, assume the code has been annotated 11406 correspondingly for the symbols needed. */ 11407#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11408int fnord () __attribute__((visibility("default"))); 11409#endif 11410 11411int fnord () { return 42; } 11412int main () 11413{ 11414 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11415 int status = $lt_dlunknown; 11416 11417 if (self) 11418 { 11419 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11420 else 11421 { 11422 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11423 else puts (dlerror ()); 11424 } 11425 /* dlclose (self); */ 11426 } 11427 else 11428 puts (dlerror ()); 11429 11430 return status; 11431} 11432_LT_EOF 11433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11434 (eval $ac_link) 2>&5 11435 ac_status=$? 11436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11437 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11438 (./conftest; exit; ) >&5 2>/dev/null 11439 lt_status=$? 11440 case x$lt_status in 11441 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11442 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11443 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11444 esac 11445 else : 11446 # compilation failed 11447 lt_cv_dlopen_self=no 11448 fi 11449fi 11450rm -fr conftest* 11451 11452 11453fi 11454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11455$as_echo "$lt_cv_dlopen_self" >&6; } 11456 11457 if test "x$lt_cv_dlopen_self" = xyes; then 11458 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11460$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11461if ${lt_cv_dlopen_self_static+:} false; then : 11462 $as_echo_n "(cached) " >&6 11463else 11464 if test "$cross_compiling" = yes; then : 11465 lt_cv_dlopen_self_static=cross 11466else 11467 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11468 lt_status=$lt_dlunknown 11469 cat > conftest.$ac_ext <<_LT_EOF 11470#line $LINENO "configure" 11471#include "confdefs.h" 11472 11473#if HAVE_DLFCN_H 11474#include <dlfcn.h> 11475#endif 11476 11477#include <stdio.h> 11478 11479#ifdef RTLD_GLOBAL 11480# define LT_DLGLOBAL RTLD_GLOBAL 11481#else 11482# ifdef DL_GLOBAL 11483# define LT_DLGLOBAL DL_GLOBAL 11484# else 11485# define LT_DLGLOBAL 0 11486# endif 11487#endif 11488 11489/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11490 find out it does not work in some platform. */ 11491#ifndef LT_DLLAZY_OR_NOW 11492# ifdef RTLD_LAZY 11493# define LT_DLLAZY_OR_NOW RTLD_LAZY 11494# else 11495# ifdef DL_LAZY 11496# define LT_DLLAZY_OR_NOW DL_LAZY 11497# else 11498# ifdef RTLD_NOW 11499# define LT_DLLAZY_OR_NOW RTLD_NOW 11500# else 11501# ifdef DL_NOW 11502# define LT_DLLAZY_OR_NOW DL_NOW 11503# else 11504# define LT_DLLAZY_OR_NOW 0 11505# endif 11506# endif 11507# endif 11508# endif 11509#endif 11510 11511/* When -fvisbility=hidden is used, assume the code has been annotated 11512 correspondingly for the symbols needed. */ 11513#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11514int fnord () __attribute__((visibility("default"))); 11515#endif 11516 11517int fnord () { return 42; } 11518int main () 11519{ 11520 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11521 int status = $lt_dlunknown; 11522 11523 if (self) 11524 { 11525 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11526 else 11527 { 11528 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11529 else puts (dlerror ()); 11530 } 11531 /* dlclose (self); */ 11532 } 11533 else 11534 puts (dlerror ()); 11535 11536 return status; 11537} 11538_LT_EOF 11539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11540 (eval $ac_link) 2>&5 11541 ac_status=$? 11542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11543 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11544 (./conftest; exit; ) >&5 2>/dev/null 11545 lt_status=$? 11546 case x$lt_status in 11547 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11548 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11549 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11550 esac 11551 else : 11552 # compilation failed 11553 lt_cv_dlopen_self_static=no 11554 fi 11555fi 11556rm -fr conftest* 11557 11558 11559fi 11560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11561$as_echo "$lt_cv_dlopen_self_static" >&6; } 11562 fi 11563 11564 CPPFLAGS="$save_CPPFLAGS" 11565 LDFLAGS="$save_LDFLAGS" 11566 LIBS="$save_LIBS" 11567 ;; 11568 esac 11569 11570 case $lt_cv_dlopen_self in 11571 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11572 *) enable_dlopen_self=unknown ;; 11573 esac 11574 11575 case $lt_cv_dlopen_self_static in 11576 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11577 *) enable_dlopen_self_static=unknown ;; 11578 esac 11579fi 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597striplib= 11598old_striplib= 11599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11600$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11601if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11602 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11603 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11605$as_echo "yes" >&6; } 11606else 11607# FIXME - insert some real tests, host_os isn't really good enough 11608 case $host_os in 11609 darwin*) 11610 if test -n "$STRIP" ; then 11611 striplib="$STRIP -x" 11612 old_striplib="$STRIP -S" 11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11614$as_echo "yes" >&6; } 11615 else 11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11617$as_echo "no" >&6; } 11618 fi 11619 ;; 11620 *) 11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11622$as_echo "no" >&6; } 11623 ;; 11624 esac 11625fi 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 # Report which library types will actually be built 11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11640$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11642$as_echo "$can_build_shared" >&6; } 11643 11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11645$as_echo_n "checking whether to build shared libraries... " >&6; } 11646 test "$can_build_shared" = "no" && enable_shared=no 11647 11648 # On AIX, shared libraries and static libraries use the same namespace, and 11649 # are all built from PIC. 11650 case $host_os in 11651 aix3*) 11652 test "$enable_shared" = yes && enable_static=no 11653 if test -n "$RANLIB"; then 11654 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11655 postinstall_cmds='$RANLIB $lib' 11656 fi 11657 ;; 11658 11659 aix[4-9]*) 11660 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11661 test "$enable_shared" = yes && enable_static=no 11662 fi 11663 ;; 11664 esac 11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11666$as_echo "$enable_shared" >&6; } 11667 11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11669$as_echo_n "checking whether to build static libraries... " >&6; } 11670 # Make sure either enable_shared or enable_static is yes. 11671 test "$enable_shared" = yes || enable_static=yes 11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11673$as_echo "$enable_static" >&6; } 11674 11675 11676 11677 11678fi 11679ac_ext=c 11680ac_cpp='$CPP $CPPFLAGS' 11681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11683ac_compiler_gnu=$ac_cv_c_compiler_gnu 11684 11685CC="$lt_save_CC" 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 ac_config_commands="$ac_config_commands libtool" 11702 11703 11704 11705 11706# Only expand once: 11707 11708 11709 11710 11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 11712$as_echo_n "checking whether NLS is requested... " >&6; } 11713 # Check whether --enable-nls was given. 11714if test "${enable_nls+set}" = set; then : 11715 enableval=$enable_nls; USE_NLS=$enableval 11716else 11717 USE_NLS=yes 11718fi 11719 11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 11721$as_echo "$USE_NLS" >&6; } 11722 11723 11724 11725 11726case "$am__api_version" in 11727 1.01234) 11728 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 11729 ;; 11730 *) 11731 ;; 11732esac 11733 11734if test -n "0.37.1"; then 11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.37.1" >&5 11736$as_echo_n "checking for intltool >= 0.37.1... " >&6; } 11737 11738 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 11739 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 11740 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 11741 11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 11743$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 11744 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 11745 as_fn_error $? "Your intltool is too old. You need intltool 0.37.1 or later." "$LINENO" 5 11746fi 11747 11748# Extract the first word of "intltool-update", so it can be a program name with args. 11749set dummy intltool-update; ac_word=$2 11750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11751$as_echo_n "checking for $ac_word... " >&6; } 11752if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 11753 $as_echo_n "(cached) " >&6 11754else 11755 case $INTLTOOL_UPDATE in 11756 [\\/]* | ?:[\\/]*) 11757 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 11758 ;; 11759 *) 11760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11761for as_dir in $PATH 11762do 11763 IFS=$as_save_IFS 11764 test -z "$as_dir" && as_dir=. 11765 for ac_exec_ext in '' $ac_executable_extensions; do 11766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11767 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 11768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11769 break 2 11770 fi 11771done 11772 done 11773IFS=$as_save_IFS 11774 11775 ;; 11776esac 11777fi 11778INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 11779if test -n "$INTLTOOL_UPDATE"; then 11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 11781$as_echo "$INTLTOOL_UPDATE" >&6; } 11782else 11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11784$as_echo "no" >&6; } 11785fi 11786 11787 11788# Extract the first word of "intltool-merge", so it can be a program name with args. 11789set dummy intltool-merge; ac_word=$2 11790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11791$as_echo_n "checking for $ac_word... " >&6; } 11792if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 11793 $as_echo_n "(cached) " >&6 11794else 11795 case $INTLTOOL_MERGE in 11796 [\\/]* | ?:[\\/]*) 11797 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 11798 ;; 11799 *) 11800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11801for as_dir in $PATH 11802do 11803 IFS=$as_save_IFS 11804 test -z "$as_dir" && as_dir=. 11805 for ac_exec_ext in '' $ac_executable_extensions; do 11806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11807 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 11808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11809 break 2 11810 fi 11811done 11812 done 11813IFS=$as_save_IFS 11814 11815 ;; 11816esac 11817fi 11818INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 11819if test -n "$INTLTOOL_MERGE"; then 11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 11821$as_echo "$INTLTOOL_MERGE" >&6; } 11822else 11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11824$as_echo "no" >&6; } 11825fi 11826 11827 11828# Extract the first word of "intltool-extract", so it can be a program name with args. 11829set dummy intltool-extract; ac_word=$2 11830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11831$as_echo_n "checking for $ac_word... " >&6; } 11832if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 11833 $as_echo_n "(cached) " >&6 11834else 11835 case $INTLTOOL_EXTRACT in 11836 [\\/]* | ?:[\\/]*) 11837 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 11838 ;; 11839 *) 11840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11841for as_dir in $PATH 11842do 11843 IFS=$as_save_IFS 11844 test -z "$as_dir" && as_dir=. 11845 for ac_exec_ext in '' $ac_executable_extensions; do 11846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11847 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 11848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11849 break 2 11850 fi 11851done 11852 done 11853IFS=$as_save_IFS 11854 11855 ;; 11856esac 11857fi 11858INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 11859if test -n "$INTLTOOL_EXTRACT"; then 11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 11861$as_echo "$INTLTOOL_EXTRACT" >&6; } 11862else 11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11864$as_echo "no" >&6; } 11865fi 11866 11867 11868if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 11869 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 11870fi 11871 11872 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11873INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11874 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11875 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11876 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' 11877 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11878 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11879 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11880INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11881 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11882 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11883 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@' 11884 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11885 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11886 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11887 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11888 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11889 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11890 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988# Check the gettext tools to make sure they are GNU 11989# Extract the first word of "xgettext", so it can be a program name with args. 11990set dummy xgettext; 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_XGETTEXT+:} false; then : 11994 $as_echo_n "(cached) " >&6 11995else 11996 case $XGETTEXT in 11997 [\\/]* | ?:[\\/]*) 11998 ac_cv_path_XGETTEXT="$XGETTEXT" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12008 ac_cv_path_XGETTEXT="$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 12019XGETTEXT=$ac_cv_path_XGETTEXT 12020if test -n "$XGETTEXT"; then 12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12022$as_echo "$XGETTEXT" >&6; } 12023else 12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12025$as_echo "no" >&6; } 12026fi 12027 12028 12029# Extract the first word of "msgmerge", so it can be a program name with args. 12030set dummy msgmerge; ac_word=$2 12031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12032$as_echo_n "checking for $ac_word... " >&6; } 12033if ${ac_cv_path_MSGMERGE+:} false; then : 12034 $as_echo_n "(cached) " >&6 12035else 12036 case $MSGMERGE in 12037 [\\/]* | ?:[\\/]*) 12038 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12039 ;; 12040 *) 12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12042for as_dir in $PATH 12043do 12044 IFS=$as_save_IFS 12045 test -z "$as_dir" && as_dir=. 12046 for ac_exec_ext in '' $ac_executable_extensions; do 12047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12048 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 12049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12050 break 2 12051 fi 12052done 12053 done 12054IFS=$as_save_IFS 12055 12056 ;; 12057esac 12058fi 12059MSGMERGE=$ac_cv_path_MSGMERGE 12060if test -n "$MSGMERGE"; then 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12062$as_echo "$MSGMERGE" >&6; } 12063else 12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12065$as_echo "no" >&6; } 12066fi 12067 12068 12069# Extract the first word of "msgfmt", so it can be a program name with args. 12070set dummy msgfmt; ac_word=$2 12071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12072$as_echo_n "checking for $ac_word... " >&6; } 12073if ${ac_cv_path_MSGFMT+:} false; then : 12074 $as_echo_n "(cached) " >&6 12075else 12076 case $MSGFMT in 12077 [\\/]* | ?:[\\/]*) 12078 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12079 ;; 12080 *) 12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12082for as_dir in $PATH 12083do 12084 IFS=$as_save_IFS 12085 test -z "$as_dir" && as_dir=. 12086 for ac_exec_ext in '' $ac_executable_extensions; do 12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12088 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 12089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12090 break 2 12091 fi 12092done 12093 done 12094IFS=$as_save_IFS 12095 12096 ;; 12097esac 12098fi 12099MSGFMT=$ac_cv_path_MSGFMT 12100if test -n "$MSGFMT"; then 12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12102$as_echo "$MSGFMT" >&6; } 12103else 12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12105$as_echo "no" >&6; } 12106fi 12107 12108 12109# Extract the first word of "gmsgfmt", so it can be a program name with args. 12110set dummy gmsgfmt; ac_word=$2 12111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12112$as_echo_n "checking for $ac_word... " >&6; } 12113if ${ac_cv_path_GMSGFMT+:} false; then : 12114 $as_echo_n "(cached) " >&6 12115else 12116 case $GMSGFMT in 12117 [\\/]* | ?:[\\/]*) 12118 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12119 ;; 12120 *) 12121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12122for as_dir in $PATH 12123do 12124 IFS=$as_save_IFS 12125 test -z "$as_dir" && as_dir=. 12126 for ac_exec_ext in '' $ac_executable_extensions; do 12127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12128 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12130 break 2 12131 fi 12132done 12133 done 12134IFS=$as_save_IFS 12135 12136 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12137 ;; 12138esac 12139fi 12140GMSGFMT=$ac_cv_path_GMSGFMT 12141if test -n "$GMSGFMT"; then 12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12143$as_echo "$GMSGFMT" >&6; } 12144else 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12146$as_echo "no" >&6; } 12147fi 12148 12149 12150if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 12151 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12152fi 12153xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 12154mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 12155mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 12156if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 12157 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 12158fi 12159 12160# Extract the first word of "perl", so it can be a program name with args. 12161set dummy perl; ac_word=$2 12162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12163$as_echo_n "checking for $ac_word... " >&6; } 12164if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 12165 $as_echo_n "(cached) " >&6 12166else 12167 case $INTLTOOL_PERL in 12168 [\\/]* | ?:[\\/]*) 12169 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 12170 ;; 12171 *) 12172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12173for as_dir in $PATH 12174do 12175 IFS=$as_save_IFS 12176 test -z "$as_dir" && as_dir=. 12177 for ac_exec_ext in '' $ac_executable_extensions; do 12178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12179 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 12180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12181 break 2 12182 fi 12183done 12184 done 12185IFS=$as_save_IFS 12186 12187 ;; 12188esac 12189fi 12190INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 12191if test -n "$INTLTOOL_PERL"; then 12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 12193$as_echo "$INTLTOOL_PERL" >&6; } 12194else 12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12196$as_echo "no" >&6; } 12197fi 12198 12199 12200if test -z "$INTLTOOL_PERL"; then 12201 as_fn_error $? "perl not found" "$LINENO" 5 12202fi 12203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 12204$as_echo_n "checking for perl >= 5.8.1... " >&6; } 12205$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 12206if test $? -ne 0; then 12207 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 12208else 12209 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 12211$as_echo "$IT_PERL_VERSION" >&6; } 12212fi 12213if test "x" != "xno-xml"; then 12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 12215$as_echo_n "checking for XML::Parser... " >&6; } 12216 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 12218$as_echo "ok" >&6; } 12219 else 12220 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 12221 fi 12222fi 12223 12224# Substitute ALL_LINGUAS so we can use it in po/Makefile 12225 12226 12227# Set DATADIRNAME correctly if it is not set yet 12228# (copied from glib-gettext.m4) 12229if test -z "$DATADIRNAME"; then 12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12231/* end confdefs.h. */ 12232 12233int 12234main () 12235{ 12236extern int _nl_msg_cat_cntr; 12237 return _nl_msg_cat_cntr 12238 ; 12239 return 0; 12240} 12241_ACEOF 12242if ac_fn_c_try_link "$LINENO"; then : 12243 DATADIRNAME=share 12244else 12245 case $host in 12246 *-*-solaris*) 12247 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12248if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12249 DATADIRNAME=share 12250else 12251 DATADIRNAME=share 12252fi 12253 12254 ;; 12255 *) 12256 DATADIRNAME=share 12257 ;; 12258 esac 12259fi 12260rm -f core conftest.err conftest.$ac_objext \ 12261 conftest$ac_exeext conftest.$ac_ext 12262fi 12263 12264 12265 12266 12267 12268GETTEXT_PACKAGE=murrine 12269 12270 12271cat >>confdefs.h <<_ACEOF 12272#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 12273_ACEOF 12274 12275 12276 for ac_header in locale.h 12277do : 12278 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 12279if test "x$ac_cv_header_locale_h" = xyes; then : 12280 cat >>confdefs.h <<_ACEOF 12281#define HAVE_LOCALE_H 1 12282_ACEOF 12283 12284fi 12285 12286done 12287 12288 if test $ac_cv_header_locale_h = yes; then 12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 12290$as_echo_n "checking for LC_MESSAGES... " >&6; } 12291if ${am_cv_val_LC_MESSAGES+:} false; then : 12292 $as_echo_n "(cached) " >&6 12293else 12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12295/* end confdefs.h. */ 12296#include <locale.h> 12297int 12298main () 12299{ 12300return LC_MESSAGES 12301 ; 12302 return 0; 12303} 12304_ACEOF 12305if ac_fn_c_try_link "$LINENO"; then : 12306 am_cv_val_LC_MESSAGES=yes 12307else 12308 am_cv_val_LC_MESSAGES=no 12309fi 12310rm -f core conftest.err conftest.$ac_objext \ 12311 conftest$ac_exeext conftest.$ac_ext 12312fi 12313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 12314$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 12315 if test $am_cv_val_LC_MESSAGES = yes; then 12316 12317$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 12318 12319 fi 12320 fi 12321 USE_NLS=yes 12322 12323 12324 gt_cv_have_gettext=no 12325 12326 CATOBJEXT=NONE 12327 XGETTEXT=: 12328 INTLLIBS= 12329 12330 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 12331if test "x$ac_cv_header_libintl_h" = xyes; then : 12332 gt_cv_func_dgettext_libintl="no" 12333 libintl_extra_libs="" 12334 12335 # 12336 # First check in libc 12337 # 12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 12339$as_echo_n "checking for ngettext in libc... " >&6; } 12340if ${gt_cv_func_ngettext_libc+:} false; then : 12341 $as_echo_n "(cached) " >&6 12342else 12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12344/* end confdefs.h. */ 12345 12346#include <libintl.h> 12347 12348int 12349main () 12350{ 12351return !ngettext ("","", 1) 12352 ; 12353 return 0; 12354} 12355_ACEOF 12356if ac_fn_c_try_link "$LINENO"; then : 12357 gt_cv_func_ngettext_libc=yes 12358else 12359 gt_cv_func_ngettext_libc=no 12360fi 12361rm -f core conftest.err conftest.$ac_objext \ 12362 conftest$ac_exeext conftest.$ac_ext 12363 12364fi 12365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 12366$as_echo "$gt_cv_func_ngettext_libc" >&6; } 12367 12368 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 12370$as_echo_n "checking for dgettext in libc... " >&6; } 12371if ${gt_cv_func_dgettext_libc+:} false; then : 12372 $as_echo_n "(cached) " >&6 12373else 12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12375/* end confdefs.h. */ 12376 12377#include <libintl.h> 12378 12379int 12380main () 12381{ 12382return !dgettext ("","") 12383 ; 12384 return 0; 12385} 12386_ACEOF 12387if ac_fn_c_try_link "$LINENO"; then : 12388 gt_cv_func_dgettext_libc=yes 12389else 12390 gt_cv_func_dgettext_libc=no 12391fi 12392rm -f core conftest.err conftest.$ac_objext \ 12393 conftest$ac_exeext conftest.$ac_ext 12394 12395fi 12396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 12397$as_echo "$gt_cv_func_dgettext_libc" >&6; } 12398 fi 12399 12400 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 12401 for ac_func in bind_textdomain_codeset 12402do : 12403 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12404if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12405 cat >>confdefs.h <<_ACEOF 12406#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12407_ACEOF 12408 12409fi 12410done 12411 12412 fi 12413 12414 # 12415 # If we don't have everything we want, check in libintl 12416 # 12417 if test "$gt_cv_func_dgettext_libc" != "yes" \ 12418 || test "$gt_cv_func_ngettext_libc" != "yes" \ 12419 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 12420 12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 12422$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 12423if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 12424 $as_echo_n "(cached) " >&6 12425else 12426 ac_check_lib_save_LIBS=$LIBS 12427LIBS="-lintl $LIBS" 12428cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12429/* end confdefs.h. */ 12430 12431/* Override any GCC internal prototype to avoid an error. 12432 Use char because int might match the return type of a GCC 12433 builtin and then its argument prototype would still apply. */ 12434#ifdef __cplusplus 12435extern "C" 12436#endif 12437char bindtextdomain (); 12438int 12439main () 12440{ 12441return bindtextdomain (); 12442 ; 12443 return 0; 12444} 12445_ACEOF 12446if ac_fn_c_try_link "$LINENO"; then : 12447 ac_cv_lib_intl_bindtextdomain=yes 12448else 12449 ac_cv_lib_intl_bindtextdomain=no 12450fi 12451rm -f core conftest.err conftest.$ac_objext \ 12452 conftest$ac_exeext conftest.$ac_ext 12453LIBS=$ac_check_lib_save_LIBS 12454fi 12455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 12456$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 12457if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12459$as_echo_n "checking for ngettext in -lintl... " >&6; } 12460if ${ac_cv_lib_intl_ngettext+:} false; then : 12461 $as_echo_n "(cached) " >&6 12462else 12463 ac_check_lib_save_LIBS=$LIBS 12464LIBS="-lintl $LIBS" 12465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12466/* end confdefs.h. */ 12467 12468/* Override any GCC internal prototype to avoid an error. 12469 Use char because int might match the return type of a GCC 12470 builtin and then its argument prototype would still apply. */ 12471#ifdef __cplusplus 12472extern "C" 12473#endif 12474char ngettext (); 12475int 12476main () 12477{ 12478return ngettext (); 12479 ; 12480 return 0; 12481} 12482_ACEOF 12483if ac_fn_c_try_link "$LINENO"; then : 12484 ac_cv_lib_intl_ngettext=yes 12485else 12486 ac_cv_lib_intl_ngettext=no 12487fi 12488rm -f core conftest.err conftest.$ac_objext \ 12489 conftest$ac_exeext conftest.$ac_ext 12490LIBS=$ac_check_lib_save_LIBS 12491fi 12492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12493$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12494if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 12496$as_echo_n "checking for dgettext in -lintl... " >&6; } 12497if ${ac_cv_lib_intl_dgettext+:} false; then : 12498 $as_echo_n "(cached) " >&6 12499else 12500 ac_check_lib_save_LIBS=$LIBS 12501LIBS="-lintl $LIBS" 12502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12503/* end confdefs.h. */ 12504 12505/* Override any GCC internal prototype to avoid an error. 12506 Use char because int might match the return type of a GCC 12507 builtin and then its argument prototype would still apply. */ 12508#ifdef __cplusplus 12509extern "C" 12510#endif 12511char dgettext (); 12512int 12513main () 12514{ 12515return dgettext (); 12516 ; 12517 return 0; 12518} 12519_ACEOF 12520if ac_fn_c_try_link "$LINENO"; then : 12521 ac_cv_lib_intl_dgettext=yes 12522else 12523 ac_cv_lib_intl_dgettext=no 12524fi 12525rm -f core conftest.err conftest.$ac_objext \ 12526 conftest$ac_exeext conftest.$ac_ext 12527LIBS=$ac_check_lib_save_LIBS 12528fi 12529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 12530$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 12531if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 12532 gt_cv_func_dgettext_libintl=yes 12533fi 12534 12535fi 12536 12537fi 12538 12539 12540 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 12542$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 12544$as_echo "" >&6; } 12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 12546$as_echo_n "checking for ngettext in -lintl... " >&6; } 12547if ${ac_cv_lib_intl_ngettext+:} false; then : 12548 $as_echo_n "(cached) " >&6 12549else 12550 ac_check_lib_save_LIBS=$LIBS 12551LIBS="-lintl -liconv $LIBS" 12552cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12553/* end confdefs.h. */ 12554 12555/* Override any GCC internal prototype to avoid an error. 12556 Use char because int might match the return type of a GCC 12557 builtin and then its argument prototype would still apply. */ 12558#ifdef __cplusplus 12559extern "C" 12560#endif 12561char ngettext (); 12562int 12563main () 12564{ 12565return ngettext (); 12566 ; 12567 return 0; 12568} 12569_ACEOF 12570if ac_fn_c_try_link "$LINENO"; then : 12571 ac_cv_lib_intl_ngettext=yes 12572else 12573 ac_cv_lib_intl_ngettext=no 12574fi 12575rm -f core conftest.err conftest.$ac_objext \ 12576 conftest$ac_exeext conftest.$ac_ext 12577LIBS=$ac_check_lib_save_LIBS 12578fi 12579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 12580$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 12581if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 12583$as_echo_n "checking for dcgettext in -lintl... " >&6; } 12584if ${ac_cv_lib_intl_dcgettext+:} false; then : 12585 $as_echo_n "(cached) " >&6 12586else 12587 ac_check_lib_save_LIBS=$LIBS 12588LIBS="-lintl -liconv $LIBS" 12589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12590/* end confdefs.h. */ 12591 12592/* Override any GCC internal prototype to avoid an error. 12593 Use char because int might match the return type of a GCC 12594 builtin and then its argument prototype would still apply. */ 12595#ifdef __cplusplus 12596extern "C" 12597#endif 12598char dcgettext (); 12599int 12600main () 12601{ 12602return dcgettext (); 12603 ; 12604 return 0; 12605} 12606_ACEOF 12607if ac_fn_c_try_link "$LINENO"; then : 12608 ac_cv_lib_intl_dcgettext=yes 12609else 12610 ac_cv_lib_intl_dcgettext=no 12611fi 12612rm -f core conftest.err conftest.$ac_objext \ 12613 conftest$ac_exeext conftest.$ac_ext 12614LIBS=$ac_check_lib_save_LIBS 12615fi 12616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 12617$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 12618if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 12619 gt_cv_func_dgettext_libintl=yes 12620 libintl_extra_libs=-liconv 12621else 12622 : 12623fi 12624 12625else 12626 : 12627fi 12628 12629 fi 12630 12631 # 12632 # If we found libintl, then check in it for bind_textdomain_codeset(); 12633 # we'll prefer libc if neither have bind_textdomain_codeset(), 12634 # and both have dgettext and ngettext 12635 # 12636 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 12637 glib_save_LIBS="$LIBS" 12638 LIBS="$LIBS -lintl $libintl_extra_libs" 12639 unset ac_cv_func_bind_textdomain_codeset 12640 for ac_func in bind_textdomain_codeset 12641do : 12642 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12643if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12644 cat >>confdefs.h <<_ACEOF 12645#define HAVE_BIND_TEXTDOMAIN_CODESET 1 12646_ACEOF 12647 12648fi 12649done 12650 12651 LIBS="$glib_save_LIBS" 12652 12653 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 12654 gt_cv_func_dgettext_libc=no 12655 else 12656 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12657 && test "$gt_cv_func_ngettext_libc" = "yes"; then 12658 gt_cv_func_dgettext_libintl=no 12659 fi 12660 fi 12661 fi 12662 fi 12663 12664 if test "$gt_cv_func_dgettext_libc" = "yes" \ 12665 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 12666 gt_cv_have_gettext=yes 12667 fi 12668 12669 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 12670 INTLLIBS="-lintl $libintl_extra_libs" 12671 fi 12672 12673 if test "$gt_cv_have_gettext" = "yes"; then 12674 12675$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 12676 12677 # Extract the first word of "msgfmt", so it can be a program name with args. 12678set dummy msgfmt; ac_word=$2 12679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12680$as_echo_n "checking for $ac_word... " >&6; } 12681if ${ac_cv_path_MSGFMT+:} false; then : 12682 $as_echo_n "(cached) " >&6 12683else 12684 case "$MSGFMT" in 12685 /*) 12686 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 12687 ;; 12688 *) 12689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12690 for ac_dir in $PATH; do 12691 test -z "$ac_dir" && ac_dir=. 12692 if test -f $ac_dir/$ac_word; then 12693 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 12694 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 12695 break 12696 fi 12697 fi 12698 done 12699 IFS="$ac_save_ifs" 12700 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 12701 ;; 12702esac 12703fi 12704MSGFMT="$ac_cv_path_MSGFMT" 12705if test "$MSGFMT" != "no"; then 12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12707$as_echo "$MSGFMT" >&6; } 12708else 12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12710$as_echo "no" >&6; } 12711fi 12712 if test "$MSGFMT" != "no"; then 12713 glib_save_LIBS="$LIBS" 12714 LIBS="$LIBS $INTLLIBS" 12715 for ac_func in dcgettext 12716do : 12717 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 12718if test "x$ac_cv_func_dcgettext" = xyes; then : 12719 cat >>confdefs.h <<_ACEOF 12720#define HAVE_DCGETTEXT 1 12721_ACEOF 12722 12723fi 12724done 12725 12726 MSGFMT_OPTS= 12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 12728$as_echo_n "checking if msgfmt accepts -c... " >&6; } 12729 cat >conftest.foo <<_ACEOF 12730 12731msgid "" 12732msgstr "" 12733"Content-Type: text/plain; charset=UTF-8\n" 12734"Project-Id-Version: test 1.0\n" 12735"PO-Revision-Date: 2007-02-15 12:01+0100\n" 12736"Last-Translator: test <foo@bar.xx>\n" 12737"Language-Team: C <LL@li.org>\n" 12738"MIME-Version: 1.0\n" 12739"Content-Transfer-Encoding: 8bit\n" 12740 12741_ACEOF 12742if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 12743 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 12744 ac_status=$? 12745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12746 test $ac_status = 0; }; then 12747 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12748$as_echo "yes" >&6; } 12749else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12750$as_echo "no" >&6; } 12751echo "$as_me: failed input was:" >&5 12752sed 's/^/| /' conftest.foo >&5 12753fi 12754 12755 # Extract the first word of "gmsgfmt", so it can be a program name with args. 12756set dummy gmsgfmt; ac_word=$2 12757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12758$as_echo_n "checking for $ac_word... " >&6; } 12759if ${ac_cv_path_GMSGFMT+:} false; then : 12760 $as_echo_n "(cached) " >&6 12761else 12762 case $GMSGFMT in 12763 [\\/]* | ?:[\\/]*) 12764 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12765 ;; 12766 *) 12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12768for as_dir in $PATH 12769do 12770 IFS=$as_save_IFS 12771 test -z "$as_dir" && as_dir=. 12772 for ac_exec_ext in '' $ac_executable_extensions; do 12773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12774 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12776 break 2 12777 fi 12778done 12779 done 12780IFS=$as_save_IFS 12781 12782 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12783 ;; 12784esac 12785fi 12786GMSGFMT=$ac_cv_path_GMSGFMT 12787if test -n "$GMSGFMT"; then 12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12789$as_echo "$GMSGFMT" >&6; } 12790else 12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12792$as_echo "no" >&6; } 12793fi 12794 12795 12796 # Extract the first word of "xgettext", so it can be a program name with args. 12797set dummy xgettext; ac_word=$2 12798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12799$as_echo_n "checking for $ac_word... " >&6; } 12800if ${ac_cv_path_XGETTEXT+:} false; then : 12801 $as_echo_n "(cached) " >&6 12802else 12803 case "$XGETTEXT" in 12804 /*) 12805 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12806 ;; 12807 *) 12808 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 12809 for ac_dir in $PATH; do 12810 test -z "$ac_dir" && ac_dir=. 12811 if test -f $ac_dir/$ac_word; then 12812 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 12813 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 12814 break 12815 fi 12816 fi 12817 done 12818 IFS="$ac_save_ifs" 12819 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 12820 ;; 12821esac 12822fi 12823XGETTEXT="$ac_cv_path_XGETTEXT" 12824if test "$XGETTEXT" != ":"; then 12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12826$as_echo "$XGETTEXT" >&6; } 12827else 12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12829$as_echo "no" >&6; } 12830fi 12831 12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12833/* end confdefs.h. */ 12834 12835int 12836main () 12837{ 12838extern int _nl_msg_cat_cntr; 12839 return _nl_msg_cat_cntr 12840 ; 12841 return 0; 12842} 12843_ACEOF 12844if ac_fn_c_try_link "$LINENO"; then : 12845 CATOBJEXT=.gmo 12846 DATADIRNAME=share 12847else 12848 case $host in 12849 *-*-solaris*) 12850 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 12851if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 12852 CATOBJEXT=.gmo 12853 DATADIRNAME=share 12854else 12855 CATOBJEXT=.mo 12856 DATADIRNAME=share 12857fi 12858 12859 ;; 12860 *-*-openbsd*) 12861 CATOBJEXT=.mo 12862 DATADIRNAME=share 12863 ;; 12864 *) 12865 CATOBJEXT=.mo 12866 DATADIRNAME=share 12867 ;; 12868 esac 12869fi 12870rm -f core conftest.err conftest.$ac_objext \ 12871 conftest$ac_exeext conftest.$ac_ext 12872 LIBS="$glib_save_LIBS" 12873 INSTOBJEXT=.mo 12874 else 12875 gt_cv_have_gettext=no 12876 fi 12877 fi 12878 12879fi 12880 12881 12882 12883 if test "$gt_cv_have_gettext" = "yes" ; then 12884 12885$as_echo "#define ENABLE_NLS 1" >>confdefs.h 12886 12887 fi 12888 12889 if test "$XGETTEXT" != ":"; then 12890 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 12891 : ; 12892 else 12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 12894$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 12895 XGETTEXT=":" 12896 fi 12897 fi 12898 12899 # We need to process the po/ directory. 12900 POSUB=po 12901 12902 ac_config_commands="$ac_config_commands default-1" 12903 12904 12905 for lang in $ALL_LINGUAS; do 12906 GMOFILES="$GMOFILES $lang.gmo" 12907 POFILES="$POFILES $lang.po" 12908 done 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 if test "$gt_cv_have_gettext" = "yes"; then 12923 if test "x$ALL_LINGUAS" = "x"; then 12924 LINGUAS= 12925 else 12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 12927$as_echo_n "checking for catalogs to be installed... " >&6; } 12928 NEW_LINGUAS= 12929 for presentlang in $ALL_LINGUAS; do 12930 useit=no 12931 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 12932 desiredlanguages="$LINGUAS" 12933 else 12934 desiredlanguages="$ALL_LINGUAS" 12935 fi 12936 for desiredlang in $desiredlanguages; do 12937 # Use the presentlang catalog if desiredlang is 12938 # a. equal to presentlang, or 12939 # b. a variant of presentlang (because in this case, 12940 # presentlang can be used as a fallback for messages 12941 # which are not translated in the desiredlang catalog). 12942 case "$desiredlang" in 12943 "$presentlang"*) useit=yes;; 12944 esac 12945 done 12946 if test $useit = yes; then 12947 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 12948 fi 12949 done 12950 LINGUAS=$NEW_LINGUAS 12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 12952$as_echo "$LINGUAS" >&6; } 12953 fi 12954 12955 if test -n "$LINGUAS"; then 12956 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 12957 fi 12958 fi 12959 12960 MKINSTALLDIRS= 12961 if test -n "$ac_aux_dir"; then 12962 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 12963 fi 12964 if test -z "$MKINSTALLDIRS"; then 12965 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 12966 fi 12967 12968 12969 test -d po || mkdir po 12970 if test "x$srcdir" != "x."; then 12971 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 12972 posrcprefix="$srcdir/" 12973 else 12974 posrcprefix="../$srcdir/" 12975 fi 12976 else 12977 posrcprefix="../" 12978 fi 12979 rm -f po/POTFILES 12980 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 12981 < $srcdir/po/POTFILES.in > po/POTFILES 12982 12983 12984 12985# Check whether --enable-animation was given. 12986if test "${enable_animation+set}" = set; then : 12987 enableval=$enable_animation; animation=$enableval 12988else 12989 animation="no" 12990fi 12991 12992# Check whether --enable-animationrtl was given. 12993if test "${enable_animationrtl+set}" = set; then : 12994 enableval=$enable_animationrtl; animationrtl=$enableval 12995else 12996 animationrtl="no" 12997fi 12998 12999# Check whether --enable-rgba was given. 13000if test "${enable_rgba+set}" = set; then : 13001 enableval=$enable_rgba; rgba=$enableval 13002else 13003 rgba="yes" 13004fi 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13015 if test -n "$ac_tool_prefix"; then 13016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13017set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13019$as_echo_n "checking for $ac_word... " >&6; } 13020if ${ac_cv_path_PKG_CONFIG+:} false; then : 13021 $as_echo_n "(cached) " >&6 13022else 13023 case $PKG_CONFIG in 13024 [\\/]* | ?:[\\/]*) 13025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13026 ;; 13027 *) 13028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13029for as_dir in $PATH 13030do 13031 IFS=$as_save_IFS 13032 test -z "$as_dir" && as_dir=. 13033 for ac_exec_ext in '' $ac_executable_extensions; do 13034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13037 break 2 13038 fi 13039done 13040 done 13041IFS=$as_save_IFS 13042 13043 ;; 13044esac 13045fi 13046PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13047if test -n "$PKG_CONFIG"; then 13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13049$as_echo "$PKG_CONFIG" >&6; } 13050else 13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13052$as_echo "no" >&6; } 13053fi 13054 13055 13056fi 13057if test -z "$ac_cv_path_PKG_CONFIG"; then 13058 ac_pt_PKG_CONFIG=$PKG_CONFIG 13059 # Extract the first word of "pkg-config", so it can be a program name with args. 13060set dummy pkg-config; ac_word=$2 13061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13062$as_echo_n "checking for $ac_word... " >&6; } 13063if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13064 $as_echo_n "(cached) " >&6 13065else 13066 case $ac_pt_PKG_CONFIG in 13067 [\\/]* | ?:[\\/]*) 13068 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13069 ;; 13070 *) 13071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13072for as_dir in $PATH 13073do 13074 IFS=$as_save_IFS 13075 test -z "$as_dir" && as_dir=. 13076 for ac_exec_ext in '' $ac_executable_extensions; do 13077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13078 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13080 break 2 13081 fi 13082done 13083 done 13084IFS=$as_save_IFS 13085 13086 ;; 13087esac 13088fi 13089ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13090if test -n "$ac_pt_PKG_CONFIG"; then 13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13092$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13093else 13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13095$as_echo "no" >&6; } 13096fi 13097 13098 if test "x$ac_pt_PKG_CONFIG" = x; then 13099 PKG_CONFIG="" 13100 else 13101 case $cross_compiling:$ac_tool_warned in 13102yes:) 13103{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13105ac_tool_warned=yes ;; 13106esac 13107 PKG_CONFIG=$ac_pt_PKG_CONFIG 13108 fi 13109else 13110 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13111fi 13112 13113fi 13114if test -n "$PKG_CONFIG"; then 13115 _pkg_min_version=0.9.0 13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13117$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13120$as_echo "yes" >&6; } 13121 else 13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13123$as_echo "no" >&6; } 13124 PKG_CONFIG="" 13125 fi 13126fi 13127 13128pkg_failed=no 13129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 13130$as_echo_n "checking for GTK... " >&6; } 13131 13132if test -n "$GTK_CFLAGS"; then 13133 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 13134 elif test -n "$PKG_CONFIG"; then 13135 if test -n "$PKG_CONFIG" && \ 13136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18.0\""; } >&5 13137 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18.0") 2>&5 13138 ac_status=$? 13139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13140 test $ac_status = 0; }; then 13141 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18.0" 2>/dev/null` 13142 test "x$?" != "x0" && pkg_failed=yes 13143else 13144 pkg_failed=yes 13145fi 13146 else 13147 pkg_failed=untried 13148fi 13149if test -n "$GTK_LIBS"; then 13150 pkg_cv_GTK_LIBS="$GTK_LIBS" 13151 elif test -n "$PKG_CONFIG"; then 13152 if test -n "$PKG_CONFIG" && \ 13153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18.0\""; } >&5 13154 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18.0") 2>&5 13155 ac_status=$? 13156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13157 test $ac_status = 0; }; then 13158 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18.0" 2>/dev/null` 13159 test "x$?" != "x0" && pkg_failed=yes 13160else 13161 pkg_failed=yes 13162fi 13163 else 13164 pkg_failed=untried 13165fi 13166 13167 13168 13169if test $pkg_failed = yes; then 13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13171$as_echo "no" >&6; } 13172 13173if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13174 _pkg_short_errors_supported=yes 13175else 13176 _pkg_short_errors_supported=no 13177fi 13178 if test $_pkg_short_errors_supported = yes; then 13179 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18.0" 2>&1` 13180 else 13181 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18.0" 2>&1` 13182 fi 13183 # Put the nasty error message in config.log where it belongs 13184 echo "$GTK_PKG_ERRORS" >&5 13185 13186 as_fn_error $? "GTK+-2.18 is required to compile murrine" "$LINENO" 5 13187elif test $pkg_failed = untried; then 13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13189$as_echo "no" >&6; } 13190 as_fn_error $? "GTK+-2.18 is required to compile murrine" "$LINENO" 5 13191else 13192 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 13193 GTK_LIBS=$pkg_cv_GTK_LIBS 13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13195$as_echo "yes" >&6; } 13196 13197fi 13198 13199 13200pkg_failed=no 13201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman" >&5 13202$as_echo_n "checking for pixman... " >&6; } 13203 13204if test -n "$pixman_CFLAGS"; then 13205 pkg_cv_pixman_CFLAGS="$pixman_CFLAGS" 13206 elif test -n "$PKG_CONFIG"; then 13207 if test -n "$PKG_CONFIG" && \ 13208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 13209 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 13210 ac_status=$? 13211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13212 test $ac_status = 0; }; then 13213 pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null` 13214 test "x$?" != "x0" && pkg_failed=yes 13215else 13216 pkg_failed=yes 13217fi 13218 else 13219 pkg_failed=untried 13220fi 13221if test -n "$pixman_LIBS"; then 13222 pkg_cv_pixman_LIBS="$pixman_LIBS" 13223 elif test -n "$PKG_CONFIG"; then 13224 if test -n "$PKG_CONFIG" && \ 13225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 13226 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 13227 ac_status=$? 13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13229 test $ac_status = 0; }; then 13230 pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null` 13231 test "x$?" != "x0" && pkg_failed=yes 13232else 13233 pkg_failed=yes 13234fi 13235 else 13236 pkg_failed=untried 13237fi 13238 13239 13240 13241if test $pkg_failed = yes; then 13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13243$as_echo "no" >&6; } 13244 13245if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13246 _pkg_short_errors_supported=yes 13247else 13248 _pkg_short_errors_supported=no 13249fi 13250 if test $_pkg_short_errors_supported = yes; then 13251 pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1` 13252 else 13253 pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1` 13254 fi 13255 # Put the nasty error message in config.log where it belongs 13256 echo "$pixman_PKG_ERRORS" >&5 13257 13258 as_fn_error $? "Pixman is required to compile murrine" "$LINENO" 5 13259elif test $pkg_failed = untried; then 13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13261$as_echo "no" >&6; } 13262 as_fn_error $? "Pixman is required to compile murrine" "$LINENO" 5 13263else 13264 pixman_CFLAGS=$pkg_cv_pixman_CFLAGS 13265 pixman_LIBS=$pkg_cv_pixman_LIBS 13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13267$as_echo "yes" >&6; } 13268 13269fi 13270 13271 13272 13273 13274 13275 13276 13277GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` 13278 13279 13280 13281 13282 13283if test $animation = "yes"; then 13284 13285cat >>confdefs.h <<_ACEOF 13286#define HAVE_ANIMATION 1 13287_ACEOF 13288 13289fi 13290 13291if test $animationrtl = "yes"; then 13292 13293cat >>confdefs.h <<_ACEOF 13294#define HAVE_ANIMATIONRTL 1 13295_ACEOF 13296 13297fi 13298 13299if test $rgba = "yes"; then 13300 13301cat >>confdefs.h <<_ACEOF 13302#define HAVE_RGBA 1 13303_ACEOF 13304 13305fi 13306 13307ac_config_headers="$ac_config_headers src/config.h" 13308 13309 13310ac_config_files="$ac_config_files Makefile po/Makefile.in schema/Makefile schema/murrine.xml.in murrine.pc" 13311 13312 13313cat >confcache <<\_ACEOF 13314# This file is a shell script that caches the results of configure 13315# tests run on this system so they can be shared between configure 13316# scripts and configure runs, see configure's option --config-cache. 13317# It is not useful on other systems. If it contains results you don't 13318# want to keep, you may remove or edit it. 13319# 13320# config.status only pays attention to the cache file if you give it 13321# the --recheck option to rerun configure. 13322# 13323# `ac_cv_env_foo' variables (set or unset) will be overridden when 13324# loading this file, other *unset* `ac_cv_foo' will be assigned the 13325# following values. 13326 13327_ACEOF 13328 13329# The following way of writing the cache mishandles newlines in values, 13330# but we know of no workaround that is simple, portable, and efficient. 13331# So, we kill variables containing newlines. 13332# Ultrix sh set writes to stderr and can't be redirected directly, 13333# and sets the high bit in the cache file unless we assign to the vars. 13334( 13335 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13336 eval ac_val=\$$ac_var 13337 case $ac_val in #( 13338 *${as_nl}*) 13339 case $ac_var in #( 13340 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13341$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13342 esac 13343 case $ac_var in #( 13344 _ | IFS | as_nl) ;; #( 13345 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13346 *) { eval $ac_var=; unset $ac_var;} ;; 13347 esac ;; 13348 esac 13349 done 13350 13351 (set) 2>&1 | 13352 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13353 *${as_nl}ac_space=\ *) 13354 # `set' does not quote correctly, so add quotes: double-quote 13355 # substitution turns \\\\ into \\, and sed turns \\ into \. 13356 sed -n \ 13357 "s/'/'\\\\''/g; 13358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13359 ;; #( 13360 *) 13361 # `set' quotes correctly as required by POSIX, so do not add quotes. 13362 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13363 ;; 13364 esac | 13365 sort 13366) | 13367 sed ' 13368 /^ac_cv_env_/b end 13369 t clear 13370 :clear 13371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13372 t end 13373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13374 :end' >>confcache 13375if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13376 if test -w "$cache_file"; then 13377 if test "x$cache_file" != "x/dev/null"; then 13378 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13379$as_echo "$as_me: updating cache $cache_file" >&6;} 13380 if test ! -f "$cache_file" || test -h "$cache_file"; then 13381 cat confcache >"$cache_file" 13382 else 13383 case $cache_file in #( 13384 */* | ?:*) 13385 mv -f confcache "$cache_file"$$ && 13386 mv -f "$cache_file"$$ "$cache_file" ;; #( 13387 *) 13388 mv -f confcache "$cache_file" ;; 13389 esac 13390 fi 13391 fi 13392 else 13393 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13394$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13395 fi 13396fi 13397rm -f confcache 13398 13399test "x$prefix" = xNONE && prefix=$ac_default_prefix 13400# Let make expand exec_prefix. 13401test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13402 13403DEFS=-DHAVE_CONFIG_H 13404 13405ac_libobjs= 13406ac_ltlibobjs= 13407U= 13408for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13409 # 1. Remove the extension, and $U if already installed. 13410 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13411 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13412 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13413 # will be set to the directory where LIBOBJS objects are built. 13414 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13415 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13416done 13417LIBOBJS=$ac_libobjs 13418 13419LTLIBOBJS=$ac_ltlibobjs 13420 13421 13422 if test -n "$EXEEXT"; then 13423 am__EXEEXT_TRUE= 13424 am__EXEEXT_FALSE='#' 13425else 13426 am__EXEEXT_TRUE='#' 13427 am__EXEEXT_FALSE= 13428fi 13429 13430if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13431 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13432Usually this means the macro was only invoked conditionally." "$LINENO" 5 13433fi 13434if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13435 as_fn_error $? "conditional \"AMDEP\" was never defined. 13436Usually this means the macro was only invoked conditionally." "$LINENO" 5 13437fi 13438if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13439 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13440Usually this means the macro was only invoked conditionally." "$LINENO" 5 13441fi 13442 13443 ac_config_commands="$ac_config_commands po/stamp-it" 13444 13445 13446 13447: "${CONFIG_STATUS=./config.status}" 13448ac_write_fail=0 13449ac_clean_files_save=$ac_clean_files 13450ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13451{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13452$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13453as_write_fail=0 13454cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13455#! $SHELL 13456# Generated by $as_me. 13457# Run this file to recreate the current configuration. 13458# Compiler output produced by configure, useful for debugging 13459# configure, is in config.log if it exists. 13460 13461debug=false 13462ac_cs_recheck=false 13463ac_cs_silent=false 13464 13465SHELL=\${CONFIG_SHELL-$SHELL} 13466export SHELL 13467_ASEOF 13468cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13469## -------------------- ## 13470## M4sh Initialization. ## 13471## -------------------- ## 13472 13473# Be more Bourne compatible 13474DUALCASE=1; export DUALCASE # for MKS sh 13475if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13476 emulate sh 13477 NULLCMD=: 13478 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13479 # is contrary to our usage. Disable this feature. 13480 alias -g '${1+"$@"}'='"$@"' 13481 setopt NO_GLOB_SUBST 13482else 13483 case `(set -o) 2>/dev/null` in #( 13484 *posix*) : 13485 set -o posix ;; #( 13486 *) : 13487 ;; 13488esac 13489fi 13490 13491 13492as_nl=' 13493' 13494export as_nl 13495# Printing a long string crashes Solaris 7 /usr/bin/printf. 13496as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13497as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13498as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13499# Prefer a ksh shell builtin over an external printf program on Solaris, 13500# but without wasting forks for bash or zsh. 13501if test -z "$BASH_VERSION$ZSH_VERSION" \ 13502 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13503 as_echo='print -r --' 13504 as_echo_n='print -rn --' 13505elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13506 as_echo='printf %s\n' 13507 as_echo_n='printf %s' 13508else 13509 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13510 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13511 as_echo_n='/usr/ucb/echo -n' 13512 else 13513 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13514 as_echo_n_body='eval 13515 arg=$1; 13516 case $arg in #( 13517 *"$as_nl"*) 13518 expr "X$arg" : "X\\(.*\\)$as_nl"; 13519 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13520 esac; 13521 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13522 ' 13523 export as_echo_n_body 13524 as_echo_n='sh -c $as_echo_n_body as_echo' 13525 fi 13526 export as_echo_body 13527 as_echo='sh -c $as_echo_body as_echo' 13528fi 13529 13530# The user is always right. 13531if test "${PATH_SEPARATOR+set}" != set; then 13532 PATH_SEPARATOR=: 13533 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13534 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13535 PATH_SEPARATOR=';' 13536 } 13537fi 13538 13539 13540# IFS 13541# We need space, tab and new line, in precisely that order. Quoting is 13542# there to prevent editors from complaining about space-tab. 13543# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13544# splitting by setting IFS to empty value.) 13545IFS=" "" $as_nl" 13546 13547# Find who we are. Look in the path if we contain no directory separator. 13548as_myself= 13549case $0 in #(( 13550 *[\\/]* ) as_myself=$0 ;; 13551 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13552for as_dir in $PATH 13553do 13554 IFS=$as_save_IFS 13555 test -z "$as_dir" && as_dir=. 13556 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13557 done 13558IFS=$as_save_IFS 13559 13560 ;; 13561esac 13562# We did not find ourselves, most probably we were run as `sh COMMAND' 13563# in which case we are not to be found in the path. 13564if test "x$as_myself" = x; then 13565 as_myself=$0 13566fi 13567if test ! -f "$as_myself"; then 13568 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13569 exit 1 13570fi 13571 13572# Unset variables that we do not need and which cause bugs (e.g. in 13573# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13574# suppresses any "Segmentation fault" message there. '((' could 13575# trigger a bug in pdksh 5.2.14. 13576for as_var in BASH_ENV ENV MAIL MAILPATH 13577do eval test x\${$as_var+set} = xset \ 13578 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13579done 13580PS1='$ ' 13581PS2='> ' 13582PS4='+ ' 13583 13584# NLS nuisances. 13585LC_ALL=C 13586export LC_ALL 13587LANGUAGE=C 13588export LANGUAGE 13589 13590# CDPATH. 13591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13592 13593 13594# as_fn_error STATUS ERROR [LINENO LOG_FD] 13595# ---------------------------------------- 13596# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13597# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13598# script with STATUS, using 1 if that was 0. 13599as_fn_error () 13600{ 13601 as_status=$1; test $as_status -eq 0 && as_status=1 13602 if test "$4"; then 13603 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13604 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13605 fi 13606 $as_echo "$as_me: error: $2" >&2 13607 as_fn_exit $as_status 13608} # as_fn_error 13609 13610 13611# as_fn_set_status STATUS 13612# ----------------------- 13613# Set $? to STATUS, without forking. 13614as_fn_set_status () 13615{ 13616 return $1 13617} # as_fn_set_status 13618 13619# as_fn_exit STATUS 13620# ----------------- 13621# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13622as_fn_exit () 13623{ 13624 set +e 13625 as_fn_set_status $1 13626 exit $1 13627} # as_fn_exit 13628 13629# as_fn_unset VAR 13630# --------------- 13631# Portably unset VAR. 13632as_fn_unset () 13633{ 13634 { eval $1=; unset $1;} 13635} 13636as_unset=as_fn_unset 13637# as_fn_append VAR VALUE 13638# ---------------------- 13639# Append the text in VALUE to the end of the definition contained in VAR. Take 13640# advantage of any shell optimizations that allow amortized linear growth over 13641# repeated appends, instead of the typical quadratic growth present in naive 13642# implementations. 13643if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13644 eval 'as_fn_append () 13645 { 13646 eval $1+=\$2 13647 }' 13648else 13649 as_fn_append () 13650 { 13651 eval $1=\$$1\$2 13652 } 13653fi # as_fn_append 13654 13655# as_fn_arith ARG... 13656# ------------------ 13657# Perform arithmetic evaluation on the ARGs, and store the result in the 13658# global $as_val. Take advantage of shells that can avoid forks. The arguments 13659# must be portable across $(()) and expr. 13660if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13661 eval 'as_fn_arith () 13662 { 13663 as_val=$(( $* )) 13664 }' 13665else 13666 as_fn_arith () 13667 { 13668 as_val=`expr "$@" || test $? -eq 1` 13669 } 13670fi # as_fn_arith 13671 13672 13673if expr a : '\(a\)' >/dev/null 2>&1 && 13674 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13675 as_expr=expr 13676else 13677 as_expr=false 13678fi 13679 13680if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13681 as_basename=basename 13682else 13683 as_basename=false 13684fi 13685 13686if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13687 as_dirname=dirname 13688else 13689 as_dirname=false 13690fi 13691 13692as_me=`$as_basename -- "$0" || 13693$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13694 X"$0" : 'X\(//\)$' \| \ 13695 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13696$as_echo X/"$0" | 13697 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13698 s//\1/ 13699 q 13700 } 13701 /^X\/\(\/\/\)$/{ 13702 s//\1/ 13703 q 13704 } 13705 /^X\/\(\/\).*/{ 13706 s//\1/ 13707 q 13708 } 13709 s/.*/./; q'` 13710 13711# Avoid depending upon Character Ranges. 13712as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13713as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13714as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13715as_cr_digits='0123456789' 13716as_cr_alnum=$as_cr_Letters$as_cr_digits 13717 13718ECHO_C= ECHO_N= ECHO_T= 13719case `echo -n x` in #((((( 13720-n*) 13721 case `echo 'xy\c'` in 13722 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13723 xy) ECHO_C='\c';; 13724 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13725 ECHO_T=' ';; 13726 esac;; 13727*) 13728 ECHO_N='-n';; 13729esac 13730 13731rm -f conf$$ conf$$.exe conf$$.file 13732if test -d conf$$.dir; then 13733 rm -f conf$$.dir/conf$$.file 13734else 13735 rm -f conf$$.dir 13736 mkdir conf$$.dir 2>/dev/null 13737fi 13738if (echo >conf$$.file) 2>/dev/null; then 13739 if ln -s conf$$.file conf$$ 2>/dev/null; then 13740 as_ln_s='ln -s' 13741 # ... but there are two gotchas: 13742 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13743 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13744 # In both cases, we have to default to `cp -p'. 13745 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13746 as_ln_s='cp -p' 13747 elif ln conf$$.file conf$$ 2>/dev/null; then 13748 as_ln_s=ln 13749 else 13750 as_ln_s='cp -p' 13751 fi 13752else 13753 as_ln_s='cp -p' 13754fi 13755rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13756rmdir conf$$.dir 2>/dev/null 13757 13758 13759# as_fn_mkdir_p 13760# ------------- 13761# Create "$as_dir" as a directory, including parents if necessary. 13762as_fn_mkdir_p () 13763{ 13764 13765 case $as_dir in #( 13766 -*) as_dir=./$as_dir;; 13767 esac 13768 test -d "$as_dir" || eval $as_mkdir_p || { 13769 as_dirs= 13770 while :; do 13771 case $as_dir in #( 13772 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13773 *) as_qdir=$as_dir;; 13774 esac 13775 as_dirs="'$as_qdir' $as_dirs" 13776 as_dir=`$as_dirname -- "$as_dir" || 13777$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13778 X"$as_dir" : 'X\(//\)[^/]' \| \ 13779 X"$as_dir" : 'X\(//\)$' \| \ 13780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13781$as_echo X"$as_dir" | 13782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13783 s//\1/ 13784 q 13785 } 13786 /^X\(\/\/\)[^/].*/{ 13787 s//\1/ 13788 q 13789 } 13790 /^X\(\/\/\)$/{ 13791 s//\1/ 13792 q 13793 } 13794 /^X\(\/\).*/{ 13795 s//\1/ 13796 q 13797 } 13798 s/.*/./; q'` 13799 test -d "$as_dir" && break 13800 done 13801 test -z "$as_dirs" || eval "mkdir $as_dirs" 13802 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13803 13804 13805} # as_fn_mkdir_p 13806if mkdir -p . 2>/dev/null; then 13807 as_mkdir_p='mkdir -p "$as_dir"' 13808else 13809 test -d ./-p && rmdir ./-p 13810 as_mkdir_p=false 13811fi 13812 13813if test -x / >/dev/null 2>&1; then 13814 as_test_x='test -x' 13815else 13816 if ls -dL / >/dev/null 2>&1; then 13817 as_ls_L_option=L 13818 else 13819 as_ls_L_option= 13820 fi 13821 as_test_x=' 13822 eval sh -c '\'' 13823 if test -d "$1"; then 13824 test -d "$1/."; 13825 else 13826 case $1 in #( 13827 -*)set "./$1";; 13828 esac; 13829 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 13830 ???[sx]*):;;*)false;;esac;fi 13831 '\'' sh 13832 ' 13833fi 13834as_executable_p=$as_test_x 13835 13836# Sed expression to map a string onto a valid CPP name. 13837as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13838 13839# Sed expression to map a string onto a valid variable name. 13840as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13841 13842 13843exec 6>&1 13844## ----------------------------------- ## 13845## Main body of $CONFIG_STATUS script. ## 13846## ----------------------------------- ## 13847_ASEOF 13848test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13849 13850cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13851# Save the log message, to keep $0 and so on meaningful, and to 13852# report actual input values of CONFIG_FILES etc. instead of their 13853# values after options handling. 13854ac_log=" 13855This file was extended by murrine $as_me 0.98.2, which was 13856generated by GNU Autoconf 2.68. Invocation command line was 13857 13858 CONFIG_FILES = $CONFIG_FILES 13859 CONFIG_HEADERS = $CONFIG_HEADERS 13860 CONFIG_LINKS = $CONFIG_LINKS 13861 CONFIG_COMMANDS = $CONFIG_COMMANDS 13862 $ $0 $@ 13863 13864on `(hostname || uname -n) 2>/dev/null | sed 1q` 13865" 13866 13867_ACEOF 13868 13869case $ac_config_files in *" 13870"*) set x $ac_config_files; shift; ac_config_files=$*;; 13871esac 13872 13873case $ac_config_headers in *" 13874"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13875esac 13876 13877 13878cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13879# Files that config.status was made for. 13880config_files="$ac_config_files" 13881config_headers="$ac_config_headers" 13882config_commands="$ac_config_commands" 13883 13884_ACEOF 13885 13886cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13887ac_cs_usage="\ 13888\`$as_me' instantiates files and other configuration actions 13889from templates according to the current configuration. Unless the files 13890and actions are specified as TAGs, all are instantiated by default. 13891 13892Usage: $0 [OPTION]... [TAG]... 13893 13894 -h, --help print this help, then exit 13895 -V, --version print version number and configuration settings, then exit 13896 --config print configuration, then exit 13897 -q, --quiet, --silent 13898 do not print progress messages 13899 -d, --debug don't remove temporary files 13900 --recheck update $as_me by reconfiguring in the same conditions 13901 --file=FILE[:TEMPLATE] 13902 instantiate the configuration file FILE 13903 --header=FILE[:TEMPLATE] 13904 instantiate the configuration header FILE 13905 13906Configuration files: 13907$config_files 13908 13909Configuration headers: 13910$config_headers 13911 13912Configuration commands: 13913$config_commands 13914 13915Report bugs to the package provider." 13916 13917_ACEOF 13918cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13919ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13920ac_cs_version="\\ 13921murrine config.status 0.98.2 13922configured by $0, generated by GNU Autoconf 2.68, 13923 with options \\"\$ac_cs_config\\" 13924 13925Copyright (C) 2010 Free Software Foundation, Inc. 13926This config.status script is free software; the Free Software Foundation 13927gives unlimited permission to copy, distribute and modify it." 13928 13929ac_pwd='$ac_pwd' 13930srcdir='$srcdir' 13931INSTALL='$INSTALL' 13932MKDIR_P='$MKDIR_P' 13933AWK='$AWK' 13934test -n "\$AWK" || AWK=awk 13935_ACEOF 13936 13937cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13938# The default lists apply if the user does not specify any file. 13939ac_need_defaults=: 13940while test $# != 0 13941do 13942 case $1 in 13943 --*=?*) 13944 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13945 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13946 ac_shift=: 13947 ;; 13948 --*=) 13949 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13950 ac_optarg= 13951 ac_shift=: 13952 ;; 13953 *) 13954 ac_option=$1 13955 ac_optarg=$2 13956 ac_shift=shift 13957 ;; 13958 esac 13959 13960 case $ac_option in 13961 # Handling of the options. 13962 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13963 ac_cs_recheck=: ;; 13964 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13965 $as_echo "$ac_cs_version"; exit ;; 13966 --config | --confi | --conf | --con | --co | --c ) 13967 $as_echo "$ac_cs_config"; exit ;; 13968 --debug | --debu | --deb | --de | --d | -d ) 13969 debug=: ;; 13970 --file | --fil | --fi | --f ) 13971 $ac_shift 13972 case $ac_optarg in 13973 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13974 '') as_fn_error $? "missing file argument" ;; 13975 esac 13976 as_fn_append CONFIG_FILES " '$ac_optarg'" 13977 ac_need_defaults=false;; 13978 --header | --heade | --head | --hea ) 13979 $ac_shift 13980 case $ac_optarg in 13981 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13982 esac 13983 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13984 ac_need_defaults=false;; 13985 --he | --h) 13986 # Conflict between --help and --header 13987 as_fn_error $? "ambiguous option: \`$1' 13988Try \`$0 --help' for more information.";; 13989 --help | --hel | -h ) 13990 $as_echo "$ac_cs_usage"; exit ;; 13991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13992 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13993 ac_cs_silent=: ;; 13994 13995 # This is an error. 13996 -*) as_fn_error $? "unrecognized option: \`$1' 13997Try \`$0 --help' for more information." ;; 13998 13999 *) as_fn_append ac_config_targets " $1" 14000 ac_need_defaults=false ;; 14001 14002 esac 14003 shift 14004done 14005 14006ac_configure_extra_args= 14007 14008if $ac_cs_silent; then 14009 exec 6>/dev/null 14010 ac_configure_extra_args="$ac_configure_extra_args --silent" 14011fi 14012 14013_ACEOF 14014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14015if \$ac_cs_recheck; then 14016 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14017 shift 14018 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14019 CONFIG_SHELL='$SHELL' 14020 export CONFIG_SHELL 14021 exec "\$@" 14022fi 14023 14024_ACEOF 14025cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14026exec 5>>config.log 14027{ 14028 echo 14029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14030## Running $as_me. ## 14031_ASBOX 14032 $as_echo "$ac_log" 14033} >&5 14034 14035_ACEOF 14036cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14037# 14038# INIT-COMMANDS 14039# 14040AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14041 14042 14043# The HP-UX ksh and POSIX shell print the target directory to stdout 14044# if CDPATH is set. 14045(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14046 14047sed_quote_subst='$sed_quote_subst' 14048double_quote_subst='$double_quote_subst' 14049delay_variable_subst='$delay_variable_subst' 14050enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14051AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14052DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14053OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14054macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14055macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14056enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14057pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14058enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14059SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14060ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14061PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14062host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14063host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14064host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14065build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14066build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14067build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14068SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14069Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14070GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14071EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14072FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14073LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14074NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14075LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14076max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14077ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14078exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14079lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14080lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14081lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14082lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14083lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14084reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14085reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14086deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14087file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14088file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14089want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14090sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14091AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14092AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14093archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14094STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14095RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14096old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14097old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14098old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14099lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14100CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14101CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14102compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14103GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14104lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14105lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14106lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14107lt_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"`' 14108nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14109lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14110objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14111MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14112lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14113lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14114lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14115lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14116lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14117need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14118MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14119DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14120NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14121LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14122OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14123OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14124libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14125shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14126extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14127archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14128enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14129export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14130whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14131compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14132old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14133old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14134archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14135archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14136module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14137module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14138with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14139allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14140no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14141hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14142hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14143hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14144hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14145hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14146hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14147hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14148inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14149link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14150always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14151export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14152exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14153include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14154prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14155postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14156file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14157variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14158need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14159need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14160version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14161runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14162shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14163shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14164libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14165library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14166soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14167install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14168postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14169postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14170finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14171finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14172hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14173sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14174sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14175hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14176enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14177enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14178enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14179old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14180striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14181 14182LTCC='$LTCC' 14183LTCFLAGS='$LTCFLAGS' 14184compiler='$compiler_DEFAULT' 14185 14186# A function that is used when there is no print builtin or printf. 14187func_fallback_echo () 14188{ 14189 eval 'cat <<_LTECHO_EOF 14190\$1 14191_LTECHO_EOF' 14192} 14193 14194# Quote evaled strings. 14195for var in AS \ 14196DLLTOOL \ 14197OBJDUMP \ 14198SHELL \ 14199ECHO \ 14200PATH_SEPARATOR \ 14201SED \ 14202GREP \ 14203EGREP \ 14204FGREP \ 14205LD \ 14206NM \ 14207LN_S \ 14208lt_SP2NL \ 14209lt_NL2SP \ 14210reload_flag \ 14211deplibs_check_method \ 14212file_magic_cmd \ 14213file_magic_glob \ 14214want_nocaseglob \ 14215sharedlib_from_linklib_cmd \ 14216AR \ 14217AR_FLAGS \ 14218archiver_list_spec \ 14219STRIP \ 14220RANLIB \ 14221CC \ 14222CFLAGS \ 14223compiler \ 14224lt_cv_sys_global_symbol_pipe \ 14225lt_cv_sys_global_symbol_to_cdecl \ 14226lt_cv_sys_global_symbol_to_c_name_address \ 14227lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14228nm_file_list_spec \ 14229lt_prog_compiler_no_builtin_flag \ 14230lt_prog_compiler_pic \ 14231lt_prog_compiler_wl \ 14232lt_prog_compiler_static \ 14233lt_cv_prog_compiler_c_o \ 14234need_locks \ 14235MANIFEST_TOOL \ 14236DSYMUTIL \ 14237NMEDIT \ 14238LIPO \ 14239OTOOL \ 14240OTOOL64 \ 14241shrext_cmds \ 14242export_dynamic_flag_spec \ 14243whole_archive_flag_spec \ 14244compiler_needs_object \ 14245with_gnu_ld \ 14246allow_undefined_flag \ 14247no_undefined_flag \ 14248hardcode_libdir_flag_spec \ 14249hardcode_libdir_separator \ 14250exclude_expsyms \ 14251include_expsyms \ 14252file_list_spec \ 14253variables_saved_for_relink \ 14254libname_spec \ 14255library_names_spec \ 14256soname_spec \ 14257install_override_mode \ 14258finish_eval \ 14259old_striplib \ 14260striplib; do 14261 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14262 *[\\\\\\\`\\"\\\$]*) 14263 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14264 ;; 14265 *) 14266 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14267 ;; 14268 esac 14269done 14270 14271# Double-quote double-evaled strings. 14272for var in reload_cmds \ 14273old_postinstall_cmds \ 14274old_postuninstall_cmds \ 14275old_archive_cmds \ 14276extract_expsyms_cmds \ 14277old_archive_from_new_cmds \ 14278old_archive_from_expsyms_cmds \ 14279archive_cmds \ 14280archive_expsym_cmds \ 14281module_cmds \ 14282module_expsym_cmds \ 14283export_symbols_cmds \ 14284prelink_cmds \ 14285postlink_cmds \ 14286postinstall_cmds \ 14287postuninstall_cmds \ 14288finish_cmds \ 14289sys_lib_search_path_spec \ 14290sys_lib_dlsearch_path_spec; do 14291 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14292 *[\\\\\\\`\\"\\\$]*) 14293 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14294 ;; 14295 *) 14296 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14297 ;; 14298 esac 14299done 14300 14301ac_aux_dir='$ac_aux_dir' 14302xsi_shell='$xsi_shell' 14303lt_shell_append='$lt_shell_append' 14304 14305# See if we are running on zsh, and set the options which allow our 14306# commands through without removal of \ escapes INIT. 14307if test -n "\${ZSH_VERSION+set}" ; then 14308 setopt NO_GLOB_SUBST 14309fi 14310 14311 14312 PACKAGE='$PACKAGE' 14313 VERSION='$VERSION' 14314 TIMESTAMP='$TIMESTAMP' 14315 RM='$RM' 14316 ofile='$ofile' 14317 14318 14319 14320 14321 14322_ACEOF 14323 14324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14325 14326# Handling of arguments. 14327for ac_config_target in $ac_config_targets 14328do 14329 case $ac_config_target in 14330 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14331 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14332 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 14333 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 14334 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14335 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 14336 "schema/Makefile") CONFIG_FILES="$CONFIG_FILES schema/Makefile" ;; 14337 "schema/murrine.xml.in") CONFIG_FILES="$CONFIG_FILES schema/murrine.xml.in" ;; 14338 "murrine.pc") CONFIG_FILES="$CONFIG_FILES murrine.pc" ;; 14339 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 14340 14341 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14342 esac 14343done 14344 14345 14346# If the user did not use the arguments to specify the items to instantiate, 14347# then the envvar interface is used. Set only those that are not. 14348# We use the long form for the default assignment because of an extremely 14349# bizarre bug on SunOS 4.1.3. 14350if $ac_need_defaults; then 14351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14353 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14354fi 14355 14356# Have a temporary directory for convenience. Make it in the build tree 14357# simply because there is no reason against having it here, and in addition, 14358# creating and moving files from /tmp can sometimes cause problems. 14359# Hook for its removal unless debugging. 14360# Note that there is a small window in which the directory will not be cleaned: 14361# after its creation but before its name has been assigned to `$tmp'. 14362$debug || 14363{ 14364 tmp= ac_tmp= 14365 trap 'exit_status=$? 14366 : "${ac_tmp:=$tmp}" 14367 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14368' 0 14369 trap 'as_fn_exit 1' 1 2 13 15 14370} 14371# Create a (secure) tmp directory for tmp files. 14372 14373{ 14374 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14375 test -d "$tmp" 14376} || 14377{ 14378 tmp=./conf$$-$RANDOM 14379 (umask 077 && mkdir "$tmp") 14380} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14381ac_tmp=$tmp 14382 14383# Set up the scripts for CONFIG_FILES section. 14384# No need to generate them if there are no CONFIG_FILES. 14385# This happens for instance with `./config.status config.h'. 14386if test -n "$CONFIG_FILES"; then 14387 14388 14389ac_cr=`echo X | tr X '\015'` 14390# On cygwin, bash can eat \r inside `` if the user requested igncr. 14391# But we know of no other shell where ac_cr would be empty at this 14392# point, so we can use a bashism as a fallback. 14393if test "x$ac_cr" = x; then 14394 eval ac_cr=\$\'\\r\' 14395fi 14396ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14397if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14398 ac_cs_awk_cr='\\r' 14399else 14400 ac_cs_awk_cr=$ac_cr 14401fi 14402 14403echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14404_ACEOF 14405 14406 14407{ 14408 echo "cat >conf$$subs.awk <<_ACEOF" && 14409 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14410 echo "_ACEOF" 14411} >conf$$subs.sh || 14412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14413ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14414ac_delim='%!_!# ' 14415for ac_last_try in false false false false false :; do 14416 . ./conf$$subs.sh || 14417 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14418 14419 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14420 if test $ac_delim_n = $ac_delim_num; then 14421 break 14422 elif $ac_last_try; then 14423 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14424 else 14425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14426 fi 14427done 14428rm -f conf$$subs.sh 14429 14430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14431cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14432_ACEOF 14433sed -n ' 14434h 14435s/^/S["/; s/!.*/"]=/ 14436p 14437g 14438s/^[^!]*!// 14439:repl 14440t repl 14441s/'"$ac_delim"'$// 14442t delim 14443:nl 14444h 14445s/\(.\{148\}\)..*/\1/ 14446t more1 14447s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14448p 14449n 14450b repl 14451:more1 14452s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14453p 14454g 14455s/.\{148\}// 14456t nl 14457:delim 14458h 14459s/\(.\{148\}\)..*/\1/ 14460t more2 14461s/["\\]/\\&/g; s/^/"/; s/$/"/ 14462p 14463b 14464:more2 14465s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14466p 14467g 14468s/.\{148\}// 14469t delim 14470' <conf$$subs.awk | sed ' 14471/^[^""]/{ 14472 N 14473 s/\n// 14474} 14475' >>$CONFIG_STATUS || ac_write_fail=1 14476rm -f conf$$subs.awk 14477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14478_ACAWK 14479cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14480 for (key in S) S_is_set[key] = 1 14481 FS = "" 14482 14483} 14484{ 14485 line = $ 0 14486 nfields = split(line, field, "@") 14487 substed = 0 14488 len = length(field[1]) 14489 for (i = 2; i < nfields; i++) { 14490 key = field[i] 14491 keylen = length(key) 14492 if (S_is_set[key]) { 14493 value = S[key] 14494 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14495 len += length(value) + length(field[++i]) 14496 substed = 1 14497 } else 14498 len += 1 + keylen 14499 } 14500 14501 print line 14502} 14503 14504_ACAWK 14505_ACEOF 14506cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14507if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14508 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14509else 14510 cat 14511fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14512 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14513_ACEOF 14514 14515# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14516# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14517# trailing colons and then remove the whole line if VPATH becomes empty 14518# (actually we leave an empty line to preserve line numbers). 14519if test "x$srcdir" = x.; then 14520 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14521h 14522s/// 14523s/^/:/ 14524s/[ ]*$/:/ 14525s/:\$(srcdir):/:/g 14526s/:\${srcdir}:/:/g 14527s/:@srcdir@:/:/g 14528s/^:*// 14529s/:*$// 14530x 14531s/\(=[ ]*\).*/\1/ 14532G 14533s/\n// 14534s/^[^=]*=[ ]*$// 14535}' 14536fi 14537 14538cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14539fi # test -n "$CONFIG_FILES" 14540 14541# Set up the scripts for CONFIG_HEADERS section. 14542# No need to generate them if there are no CONFIG_HEADERS. 14543# This happens for instance with `./config.status Makefile'. 14544if test -n "$CONFIG_HEADERS"; then 14545cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14546BEGIN { 14547_ACEOF 14548 14549# Transform confdefs.h into an awk script `defines.awk', embedded as 14550# here-document in config.status, that substitutes the proper values into 14551# config.h.in to produce config.h. 14552 14553# Create a delimiter string that does not exist in confdefs.h, to ease 14554# handling of long lines. 14555ac_delim='%!_!# ' 14556for ac_last_try in false false :; do 14557 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14558 if test -z "$ac_tt"; then 14559 break 14560 elif $ac_last_try; then 14561 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14562 else 14563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14564 fi 14565done 14566 14567# For the awk script, D is an array of macro values keyed by name, 14568# likewise P contains macro parameters if any. Preserve backslash 14569# newline sequences. 14570 14571ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14572sed -n ' 14573s/.\{148\}/&'"$ac_delim"'/g 14574t rset 14575:rset 14576s/^[ ]*#[ ]*define[ ][ ]*/ / 14577t def 14578d 14579:def 14580s/\\$// 14581t bsnl 14582s/["\\]/\\&/g 14583s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14584D["\1"]=" \3"/p 14585s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14586d 14587:bsnl 14588s/["\\]/\\&/g 14589s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14590D["\1"]=" \3\\\\\\n"\\/p 14591t cont 14592s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14593t cont 14594d 14595:cont 14596n 14597s/.\{148\}/&'"$ac_delim"'/g 14598t clear 14599:clear 14600s/\\$// 14601t bsnlc 14602s/["\\]/\\&/g; s/^/"/; s/$/"/p 14603d 14604:bsnlc 14605s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14606b cont 14607' <confdefs.h | sed ' 14608s/'"$ac_delim"'/"\\\ 14609"/g' >>$CONFIG_STATUS || ac_write_fail=1 14610 14611cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14612 for (key in D) D_is_set[key] = 1 14613 FS = "" 14614} 14615/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14616 line = \$ 0 14617 split(line, arg, " ") 14618 if (arg[1] == "#") { 14619 defundef = arg[2] 14620 mac1 = arg[3] 14621 } else { 14622 defundef = substr(arg[1], 2) 14623 mac1 = arg[2] 14624 } 14625 split(mac1, mac2, "(") #) 14626 macro = mac2[1] 14627 prefix = substr(line, 1, index(line, defundef) - 1) 14628 if (D_is_set[macro]) { 14629 # Preserve the white space surrounding the "#". 14630 print prefix "define", macro P[macro] D[macro] 14631 next 14632 } else { 14633 # Replace #undef with comments. This is necessary, for example, 14634 # in the case of _POSIX_SOURCE, which is predefined and required 14635 # on some systems where configure will not decide to define it. 14636 if (defundef == "undef") { 14637 print "/*", prefix defundef, macro, "*/" 14638 next 14639 } 14640 } 14641} 14642{ print } 14643_ACAWK 14644_ACEOF 14645cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14646 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14647fi # test -n "$CONFIG_HEADERS" 14648 14649 14650eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14651shift 14652for ac_tag 14653do 14654 case $ac_tag in 14655 :[FHLC]) ac_mode=$ac_tag; continue;; 14656 esac 14657 case $ac_mode$ac_tag in 14658 :[FHL]*:*);; 14659 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14660 :[FH]-) ac_tag=-:-;; 14661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14662 esac 14663 ac_save_IFS=$IFS 14664 IFS=: 14665 set x $ac_tag 14666 IFS=$ac_save_IFS 14667 shift 14668 ac_file=$1 14669 shift 14670 14671 case $ac_mode in 14672 :L) ac_source=$1;; 14673 :[FH]) 14674 ac_file_inputs= 14675 for ac_f 14676 do 14677 case $ac_f in 14678 -) ac_f="$ac_tmp/stdin";; 14679 *) # Look for the file first in the build tree, then in the source tree 14680 # (if the path is not absolute). The absolute path cannot be DOS-style, 14681 # because $ac_f cannot contain `:'. 14682 test -f "$ac_f" || 14683 case $ac_f in 14684 [\\/$]*) false;; 14685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14686 esac || 14687 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14688 esac 14689 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14690 as_fn_append ac_file_inputs " '$ac_f'" 14691 done 14692 14693 # Let's still pretend it is `configure' which instantiates (i.e., don't 14694 # use $as_me), people would be surprised to read: 14695 # /* config.h. Generated by config.status. */ 14696 configure_input='Generated from '` 14697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14698 `' by configure.' 14699 if test x"$ac_file" != x-; then 14700 configure_input="$ac_file. $configure_input" 14701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14702$as_echo "$as_me: creating $ac_file" >&6;} 14703 fi 14704 # Neutralize special characters interpreted by sed in replacement strings. 14705 case $configure_input in #( 14706 *\&* | *\|* | *\\* ) 14707 ac_sed_conf_input=`$as_echo "$configure_input" | 14708 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14709 *) ac_sed_conf_input=$configure_input;; 14710 esac 14711 14712 case $ac_tag in 14713 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14715 esac 14716 ;; 14717 esac 14718 14719 ac_dir=`$as_dirname -- "$ac_file" || 14720$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14721 X"$ac_file" : 'X\(//\)[^/]' \| \ 14722 X"$ac_file" : 'X\(//\)$' \| \ 14723 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14724$as_echo X"$ac_file" | 14725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14726 s//\1/ 14727 q 14728 } 14729 /^X\(\/\/\)[^/].*/{ 14730 s//\1/ 14731 q 14732 } 14733 /^X\(\/\/\)$/{ 14734 s//\1/ 14735 q 14736 } 14737 /^X\(\/\).*/{ 14738 s//\1/ 14739 q 14740 } 14741 s/.*/./; q'` 14742 as_dir="$ac_dir"; as_fn_mkdir_p 14743 ac_builddir=. 14744 14745case "$ac_dir" in 14746.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14747*) 14748 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14749 # A ".." for each directory in $ac_dir_suffix. 14750 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14751 case $ac_top_builddir_sub in 14752 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14753 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14754 esac ;; 14755esac 14756ac_abs_top_builddir=$ac_pwd 14757ac_abs_builddir=$ac_pwd$ac_dir_suffix 14758# for backward compatibility: 14759ac_top_builddir=$ac_top_build_prefix 14760 14761case $srcdir in 14762 .) # We are building in place. 14763 ac_srcdir=. 14764 ac_top_srcdir=$ac_top_builddir_sub 14765 ac_abs_top_srcdir=$ac_pwd ;; 14766 [\\/]* | ?:[\\/]* ) # Absolute name. 14767 ac_srcdir=$srcdir$ac_dir_suffix; 14768 ac_top_srcdir=$srcdir 14769 ac_abs_top_srcdir=$srcdir ;; 14770 *) # Relative name. 14771 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14772 ac_top_srcdir=$ac_top_build_prefix$srcdir 14773 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14774esac 14775ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14776 14777 14778 case $ac_mode in 14779 :F) 14780 # 14781 # CONFIG_FILE 14782 # 14783 14784 case $INSTALL in 14785 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14786 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14787 esac 14788 ac_MKDIR_P=$MKDIR_P 14789 case $MKDIR_P in 14790 [\\/$]* | ?:[\\/]* ) ;; 14791 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14792 esac 14793_ACEOF 14794 14795cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14796# If the template does not know about datarootdir, expand it. 14797# FIXME: This hack should be removed a few years after 2.60. 14798ac_datarootdir_hack=; ac_datarootdir_seen= 14799ac_sed_dataroot=' 14800/datarootdir/ { 14801 p 14802 q 14803} 14804/@datadir@/p 14805/@docdir@/p 14806/@infodir@/p 14807/@localedir@/p 14808/@mandir@/p' 14809case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14810*datarootdir*) ac_datarootdir_seen=yes;; 14811*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14813$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14814_ACEOF 14815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14816 ac_datarootdir_hack=' 14817 s&@datadir@&$datadir&g 14818 s&@docdir@&$docdir&g 14819 s&@infodir@&$infodir&g 14820 s&@localedir@&$localedir&g 14821 s&@mandir@&$mandir&g 14822 s&\\\${datarootdir}&$datarootdir&g' ;; 14823esac 14824_ACEOF 14825 14826# Neutralize VPATH when `$srcdir' = `.'. 14827# Shell code in configure.ac might set extrasub. 14828# FIXME: do we really want to maintain this feature? 14829cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14830ac_sed_extra="$ac_vpsub 14831$extrasub 14832_ACEOF 14833cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14834:t 14835/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14836s|@configure_input@|$ac_sed_conf_input|;t t 14837s&@top_builddir@&$ac_top_builddir_sub&;t t 14838s&@top_build_prefix@&$ac_top_build_prefix&;t t 14839s&@srcdir@&$ac_srcdir&;t t 14840s&@abs_srcdir@&$ac_abs_srcdir&;t t 14841s&@top_srcdir@&$ac_top_srcdir&;t t 14842s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14843s&@builddir@&$ac_builddir&;t t 14844s&@abs_builddir@&$ac_abs_builddir&;t t 14845s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14846s&@INSTALL@&$ac_INSTALL&;t t 14847s&@MKDIR_P@&$ac_MKDIR_P&;t t 14848$ac_datarootdir_hack 14849" 14850eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14851 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14852 14853test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14856 "$ac_tmp/out"`; test -z "$ac_out"; } && 14857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14858which seems to be undefined. Please make sure it is defined" >&5 14859$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14860which seems to be undefined. Please make sure it is defined" >&2;} 14861 14862 rm -f "$ac_tmp/stdin" 14863 case $ac_file in 14864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14866 esac \ 14867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14868 ;; 14869 :H) 14870 # 14871 # CONFIG_HEADER 14872 # 14873 if test x"$ac_file" != x-; then 14874 { 14875 $as_echo "/* $configure_input */" \ 14876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14877 } >"$ac_tmp/config.h" \ 14878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14879 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14881$as_echo "$as_me: $ac_file is unchanged" >&6;} 14882 else 14883 rm -f "$ac_file" 14884 mv "$ac_tmp/config.h" "$ac_file" \ 14885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14886 fi 14887 else 14888 $as_echo "/* $configure_input */" \ 14889 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14890 || as_fn_error $? "could not create -" "$LINENO" 5 14891 fi 14892# Compute "$ac_file"'s index in $config_headers. 14893_am_arg="$ac_file" 14894_am_stamp_count=1 14895for _am_header in $config_headers :; do 14896 case $_am_header in 14897 $_am_arg | $_am_arg:* ) 14898 break ;; 14899 * ) 14900 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14901 esac 14902done 14903echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14904$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14905 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14906 X"$_am_arg" : 'X\(//\)$' \| \ 14907 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14908$as_echo X"$_am_arg" | 14909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14910 s//\1/ 14911 q 14912 } 14913 /^X\(\/\/\)[^/].*/{ 14914 s//\1/ 14915 q 14916 } 14917 /^X\(\/\/\)$/{ 14918 s//\1/ 14919 q 14920 } 14921 /^X\(\/\).*/{ 14922 s//\1/ 14923 q 14924 } 14925 s/.*/./; q'`/stamp-h$_am_stamp_count 14926 ;; 14927 14928 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14929$as_echo "$as_me: executing $ac_file commands" >&6;} 14930 ;; 14931 esac 14932 14933 14934 case $ac_file$ac_mode in 14935 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14936 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14937 # are listed without --file. Let's play safe and only enable the eval 14938 # if we detect the quoting. 14939 case $CONFIG_FILES in 14940 *\'*) eval set x "$CONFIG_FILES" ;; 14941 *) set x $CONFIG_FILES ;; 14942 esac 14943 shift 14944 for mf 14945 do 14946 # Strip MF so we end up with the name of the file. 14947 mf=`echo "$mf" | sed -e 's/:.*$//'` 14948 # Check whether this is an Automake generated Makefile or not. 14949 # We used to match only the files named `Makefile.in', but 14950 # some people rename them; so instead we look at the file content. 14951 # Grep'ing the first line is not enough: some people post-process 14952 # each Makefile.in and add a new line on top of each file to say so. 14953 # Grep'ing the whole file is not good either: AIX grep has a line 14954 # limit of 2048, but all sed's we know have understand at least 4000. 14955 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14956 dirpart=`$as_dirname -- "$mf" || 14957$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14958 X"$mf" : 'X\(//\)[^/]' \| \ 14959 X"$mf" : 'X\(//\)$' \| \ 14960 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14961$as_echo X"$mf" | 14962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14963 s//\1/ 14964 q 14965 } 14966 /^X\(\/\/\)[^/].*/{ 14967 s//\1/ 14968 q 14969 } 14970 /^X\(\/\/\)$/{ 14971 s//\1/ 14972 q 14973 } 14974 /^X\(\/\).*/{ 14975 s//\1/ 14976 q 14977 } 14978 s/.*/./; q'` 14979 else 14980 continue 14981 fi 14982 # Extract the definition of DEPDIR, am__include, and am__quote 14983 # from the Makefile without running `make'. 14984 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14985 test -z "$DEPDIR" && continue 14986 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14987 test -z "am__include" && continue 14988 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14989 # When using ansi2knr, U may be empty or an underscore; expand it 14990 U=`sed -n 's/^U = //p' < "$mf"` 14991 # Find all dependency output files, they are included files with 14992 # $(DEPDIR) in their names. We invoke sed twice because it is the 14993 # simplest approach to changing $(DEPDIR) to its actual value in the 14994 # expansion. 14995 for file in `sed -n " 14996 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14997 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14998 # Make sure the directory exists. 14999 test -f "$dirpart/$file" && continue 15000 fdir=`$as_dirname -- "$file" || 15001$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15002 X"$file" : 'X\(//\)[^/]' \| \ 15003 X"$file" : 'X\(//\)$' \| \ 15004 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15005$as_echo X"$file" | 15006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15007 s//\1/ 15008 q 15009 } 15010 /^X\(\/\/\)[^/].*/{ 15011 s//\1/ 15012 q 15013 } 15014 /^X\(\/\/\)$/{ 15015 s//\1/ 15016 q 15017 } 15018 /^X\(\/\).*/{ 15019 s//\1/ 15020 q 15021 } 15022 s/.*/./; q'` 15023 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15024 # echo "creating $dirpart/$file" 15025 echo '# dummy' > "$dirpart/$file" 15026 done 15027 done 15028} 15029 ;; 15030 "libtool":C) 15031 15032 # See if we are running on zsh, and set the options which allow our 15033 # commands through without removal of \ escapes. 15034 if test -n "${ZSH_VERSION+set}" ; then 15035 setopt NO_GLOB_SUBST 15036 fi 15037 15038 cfgfile="${ofile}T" 15039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15040 $RM "$cfgfile" 15041 15042 cat <<_LT_EOF >> "$cfgfile" 15043#! $SHELL 15044 15045# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15046# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15047# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15048# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15049# 15050# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15051# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15052# Foundation, Inc. 15053# Written by Gordon Matzigkeit, 1996 15054# 15055# This file is part of GNU Libtool. 15056# 15057# GNU Libtool is free software; you can redistribute it and/or 15058# modify it under the terms of the GNU General Public License as 15059# published by the Free Software Foundation; either version 2 of 15060# the License, or (at your option) any later version. 15061# 15062# As a special exception to the GNU General Public License, 15063# if you distribute this file as part of a program or library that 15064# is built using GNU Libtool, you may include this file under the 15065# same distribution terms that you use for the rest of that program. 15066# 15067# GNU Libtool is distributed in the hope that it will be useful, 15068# but WITHOUT ANY WARRANTY; without even the implied warranty of 15069# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15070# GNU General Public License for more details. 15071# 15072# You should have received a copy of the GNU General Public License 15073# along with GNU Libtool; see the file COPYING. If not, a copy 15074# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15075# obtained by writing to the Free Software Foundation, Inc., 15076# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15077 15078 15079# The names of the tagged configurations supported by this script. 15080available_tags="" 15081 15082# ### BEGIN LIBTOOL CONFIG 15083 15084# Whether or not to build static libraries. 15085build_old_libs=$enable_static 15086 15087# Assembler program. 15088AS=$lt_AS 15089 15090# DLL creation program. 15091DLLTOOL=$lt_DLLTOOL 15092 15093# Object dumper program. 15094OBJDUMP=$lt_OBJDUMP 15095 15096# Which release of libtool.m4 was used? 15097macro_version=$macro_version 15098macro_revision=$macro_revision 15099 15100# Whether or not to build shared libraries. 15101build_libtool_libs=$enable_shared 15102 15103# What type of objects to build. 15104pic_mode=$pic_mode 15105 15106# Whether or not to optimize for fast installation. 15107fast_install=$enable_fast_install 15108 15109# Shell to use when invoking shell scripts. 15110SHELL=$lt_SHELL 15111 15112# An echo program that protects backslashes. 15113ECHO=$lt_ECHO 15114 15115# The PATH separator for the build system. 15116PATH_SEPARATOR=$lt_PATH_SEPARATOR 15117 15118# The host system. 15119host_alias=$host_alias 15120host=$host 15121host_os=$host_os 15122 15123# The build system. 15124build_alias=$build_alias 15125build=$build 15126build_os=$build_os 15127 15128# A sed program that does not truncate output. 15129SED=$lt_SED 15130 15131# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15132Xsed="\$SED -e 1s/^X//" 15133 15134# A grep program that handles long lines. 15135GREP=$lt_GREP 15136 15137# An ERE matcher. 15138EGREP=$lt_EGREP 15139 15140# A literal string matcher. 15141FGREP=$lt_FGREP 15142 15143# A BSD- or MS-compatible name lister. 15144NM=$lt_NM 15145 15146# Whether we need soft or hard links. 15147LN_S=$lt_LN_S 15148 15149# What is the maximum length of a command? 15150max_cmd_len=$max_cmd_len 15151 15152# Object file suffix (normally "o"). 15153objext=$ac_objext 15154 15155# Executable file suffix (normally ""). 15156exeext=$exeext 15157 15158# whether the shell understands "unset". 15159lt_unset=$lt_unset 15160 15161# turn spaces into newlines. 15162SP2NL=$lt_lt_SP2NL 15163 15164# turn newlines into spaces. 15165NL2SP=$lt_lt_NL2SP 15166 15167# convert \$build file names to \$host format. 15168to_host_file_cmd=$lt_cv_to_host_file_cmd 15169 15170# convert \$build files to toolchain format. 15171to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15172 15173# Method to check whether dependent libraries are shared objects. 15174deplibs_check_method=$lt_deplibs_check_method 15175 15176# Command to use when deplibs_check_method = "file_magic". 15177file_magic_cmd=$lt_file_magic_cmd 15178 15179# How to find potential files when deplibs_check_method = "file_magic". 15180file_magic_glob=$lt_file_magic_glob 15181 15182# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15183want_nocaseglob=$lt_want_nocaseglob 15184 15185# Command to associate shared and link libraries. 15186sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15187 15188# The archiver. 15189AR=$lt_AR 15190 15191# Flags to create an archive. 15192AR_FLAGS=$lt_AR_FLAGS 15193 15194# How to feed a file listing to the archiver. 15195archiver_list_spec=$lt_archiver_list_spec 15196 15197# A symbol stripping program. 15198STRIP=$lt_STRIP 15199 15200# Commands used to install an old-style archive. 15201RANLIB=$lt_RANLIB 15202old_postinstall_cmds=$lt_old_postinstall_cmds 15203old_postuninstall_cmds=$lt_old_postuninstall_cmds 15204 15205# Whether to use a lock for old archive extraction. 15206lock_old_archive_extraction=$lock_old_archive_extraction 15207 15208# A C compiler. 15209LTCC=$lt_CC 15210 15211# LTCC compiler flags. 15212LTCFLAGS=$lt_CFLAGS 15213 15214# Take the output of nm and produce a listing of raw symbols and C names. 15215global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15216 15217# Transform the output of nm in a proper C declaration. 15218global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15219 15220# Transform the output of nm in a C name address pair. 15221global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15222 15223# Transform the output of nm in a C name address pair when lib prefix is needed. 15224global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15225 15226# Specify filename containing input files for \$NM. 15227nm_file_list_spec=$lt_nm_file_list_spec 15228 15229# The root where to search for dependent libraries,and in which our libraries should be installed. 15230lt_sysroot=$lt_sysroot 15231 15232# The name of the directory that contains temporary libtool files. 15233objdir=$objdir 15234 15235# Used to examine libraries when file_magic_cmd begins with "file". 15236MAGIC_CMD=$MAGIC_CMD 15237 15238# Must we lock files when doing compilation? 15239need_locks=$lt_need_locks 15240 15241# Manifest tool. 15242MANIFEST_TOOL=$lt_MANIFEST_TOOL 15243 15244# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15245DSYMUTIL=$lt_DSYMUTIL 15246 15247# Tool to change global to local symbols on Mac OS X. 15248NMEDIT=$lt_NMEDIT 15249 15250# Tool to manipulate fat objects and archives on Mac OS X. 15251LIPO=$lt_LIPO 15252 15253# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15254OTOOL=$lt_OTOOL 15255 15256# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15257OTOOL64=$lt_OTOOL64 15258 15259# Old archive suffix (normally "a"). 15260libext=$libext 15261 15262# Shared library suffix (normally ".so"). 15263shrext_cmds=$lt_shrext_cmds 15264 15265# The commands to extract the exported symbol list from a shared archive. 15266extract_expsyms_cmds=$lt_extract_expsyms_cmds 15267 15268# Variables whose values should be saved in libtool wrapper scripts and 15269# restored at link time. 15270variables_saved_for_relink=$lt_variables_saved_for_relink 15271 15272# Do we need the "lib" prefix for modules? 15273need_lib_prefix=$need_lib_prefix 15274 15275# Do we need a version for libraries? 15276need_version=$need_version 15277 15278# Library versioning type. 15279version_type=$version_type 15280 15281# Shared library runtime path variable. 15282runpath_var=$runpath_var 15283 15284# Shared library path variable. 15285shlibpath_var=$shlibpath_var 15286 15287# Is shlibpath searched before the hard-coded library search path? 15288shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15289 15290# Format of library name prefix. 15291libname_spec=$lt_libname_spec 15292 15293# List of archive names. First name is the real one, the rest are links. 15294# The last name is the one that the linker finds with -lNAME 15295library_names_spec=$lt_library_names_spec 15296 15297# The coded name of the library, if different from the real name. 15298soname_spec=$lt_soname_spec 15299 15300# Permission mode override for installation of shared libraries. 15301install_override_mode=$lt_install_override_mode 15302 15303# Command to use after installation of a shared archive. 15304postinstall_cmds=$lt_postinstall_cmds 15305 15306# Command to use after uninstallation of a shared archive. 15307postuninstall_cmds=$lt_postuninstall_cmds 15308 15309# Commands used to finish a libtool library installation in a directory. 15310finish_cmds=$lt_finish_cmds 15311 15312# As "finish_cmds", except a single script fragment to be evaled but 15313# not shown. 15314finish_eval=$lt_finish_eval 15315 15316# Whether we should hardcode library paths into libraries. 15317hardcode_into_libs=$hardcode_into_libs 15318 15319# Compile-time system search path for libraries. 15320sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15321 15322# Run-time system search path for libraries. 15323sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15324 15325# Whether dlopen is supported. 15326dlopen_support=$enable_dlopen 15327 15328# Whether dlopen of programs is supported. 15329dlopen_self=$enable_dlopen_self 15330 15331# Whether dlopen of statically linked programs is supported. 15332dlopen_self_static=$enable_dlopen_self_static 15333 15334# Commands to strip libraries. 15335old_striplib=$lt_old_striplib 15336striplib=$lt_striplib 15337 15338 15339# The linker used to build libraries. 15340LD=$lt_LD 15341 15342# How to create reloadable object files. 15343reload_flag=$lt_reload_flag 15344reload_cmds=$lt_reload_cmds 15345 15346# Commands used to build an old-style archive. 15347old_archive_cmds=$lt_old_archive_cmds 15348 15349# A language specific compiler. 15350CC=$lt_compiler 15351 15352# Is the compiler the GNU compiler? 15353with_gcc=$GCC 15354 15355# Compiler flag to turn off builtin functions. 15356no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15357 15358# Additional compiler flags for building library objects. 15359pic_flag=$lt_lt_prog_compiler_pic 15360 15361# How to pass a linker flag through the compiler. 15362wl=$lt_lt_prog_compiler_wl 15363 15364# Compiler flag to prevent dynamic linking. 15365link_static_flag=$lt_lt_prog_compiler_static 15366 15367# Does compiler simultaneously support -c and -o options? 15368compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15369 15370# Whether or not to add -lc for building shared libraries. 15371build_libtool_need_lc=$archive_cmds_need_lc 15372 15373# Whether or not to disallow shared libs when runtime libs are static. 15374allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15375 15376# Compiler flag to allow reflexive dlopens. 15377export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15378 15379# Compiler flag to generate shared objects directly from archives. 15380whole_archive_flag_spec=$lt_whole_archive_flag_spec 15381 15382# Whether the compiler copes with passing no objects directly. 15383compiler_needs_object=$lt_compiler_needs_object 15384 15385# Create an old-style archive from a shared archive. 15386old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15387 15388# Create a temporary old-style archive to link instead of a shared archive. 15389old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15390 15391# Commands used to build a shared archive. 15392archive_cmds=$lt_archive_cmds 15393archive_expsym_cmds=$lt_archive_expsym_cmds 15394 15395# Commands used to build a loadable module if different from building 15396# a shared archive. 15397module_cmds=$lt_module_cmds 15398module_expsym_cmds=$lt_module_expsym_cmds 15399 15400# Whether we are building with GNU ld or not. 15401with_gnu_ld=$lt_with_gnu_ld 15402 15403# Flag that allows shared libraries with undefined symbols to be built. 15404allow_undefined_flag=$lt_allow_undefined_flag 15405 15406# Flag that enforces no undefined symbols. 15407no_undefined_flag=$lt_no_undefined_flag 15408 15409# Flag to hardcode \$libdir into a binary during linking. 15410# This must work even if \$libdir does not exist 15411hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15412 15413# Whether we need a single "-rpath" flag with a separated argument. 15414hardcode_libdir_separator=$lt_hardcode_libdir_separator 15415 15416# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15417# DIR into the resulting binary. 15418hardcode_direct=$hardcode_direct 15419 15420# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15421# DIR into the resulting binary and the resulting library dependency is 15422# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15423# library is relocated. 15424hardcode_direct_absolute=$hardcode_direct_absolute 15425 15426# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15427# into the resulting binary. 15428hardcode_minus_L=$hardcode_minus_L 15429 15430# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15431# into the resulting binary. 15432hardcode_shlibpath_var=$hardcode_shlibpath_var 15433 15434# Set to "yes" if building a shared library automatically hardcodes DIR 15435# into the library and all subsequent libraries and executables linked 15436# against it. 15437hardcode_automatic=$hardcode_automatic 15438 15439# Set to yes if linker adds runtime paths of dependent libraries 15440# to runtime path list. 15441inherit_rpath=$inherit_rpath 15442 15443# Whether libtool must link a program against all its dependency libraries. 15444link_all_deplibs=$link_all_deplibs 15445 15446# Set to "yes" if exported symbols are required. 15447always_export_symbols=$always_export_symbols 15448 15449# The commands to list exported symbols. 15450export_symbols_cmds=$lt_export_symbols_cmds 15451 15452# Symbols that should not be listed in the preloaded symbols. 15453exclude_expsyms=$lt_exclude_expsyms 15454 15455# Symbols that must always be exported. 15456include_expsyms=$lt_include_expsyms 15457 15458# Commands necessary for linking programs (against libraries) with templates. 15459prelink_cmds=$lt_prelink_cmds 15460 15461# Commands necessary for finishing linking programs. 15462postlink_cmds=$lt_postlink_cmds 15463 15464# Specify filename containing input files. 15465file_list_spec=$lt_file_list_spec 15466 15467# How to hardcode a shared library path into an executable. 15468hardcode_action=$hardcode_action 15469 15470# ### END LIBTOOL CONFIG 15471 15472_LT_EOF 15473 15474 case $host_os in 15475 aix3*) 15476 cat <<\_LT_EOF >> "$cfgfile" 15477# AIX sometimes has problems with the GCC collect2 program. For some 15478# reason, if we set the COLLECT_NAMES environment variable, the problems 15479# vanish in a puff of smoke. 15480if test "X${COLLECT_NAMES+set}" != Xset; then 15481 COLLECT_NAMES= 15482 export COLLECT_NAMES 15483fi 15484_LT_EOF 15485 ;; 15486 esac 15487 15488 15489ltmain="$ac_aux_dir/ltmain.sh" 15490 15491 15492 # We use sed instead of cat because bash on DJGPP gets confused if 15493 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15494 # text mode, it properly converts lines to CR/LF. This bash problem 15495 # is reportedly fixed, but why not run on old versions too? 15496 sed '$q' "$ltmain" >> "$cfgfile" \ 15497 || (rm -f "$cfgfile"; exit 1) 15498 15499 if test x"$xsi_shell" = xyes; then 15500 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15501func_dirname ()\ 15502{\ 15503\ case ${1} in\ 15504\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15505\ * ) func_dirname_result="${3}" ;;\ 15506\ esac\ 15507} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15508 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15509 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15510test 0 -eq $? || _lt_function_replace_fail=: 15511 15512 15513 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15514func_basename ()\ 15515{\ 15516\ func_basename_result="${1##*/}"\ 15517} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15518 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15520test 0 -eq $? || _lt_function_replace_fail=: 15521 15522 15523 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15524func_dirname_and_basename ()\ 15525{\ 15526\ case ${1} in\ 15527\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15528\ * ) func_dirname_result="${3}" ;;\ 15529\ esac\ 15530\ func_basename_result="${1##*/}"\ 15531} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15532 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15534test 0 -eq $? || _lt_function_replace_fail=: 15535 15536 15537 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15538func_stripname ()\ 15539{\ 15540\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15541\ # positional parameters, so assign one to ordinary parameter first.\ 15542\ func_stripname_result=${3}\ 15543\ func_stripname_result=${func_stripname_result#"${1}"}\ 15544\ func_stripname_result=${func_stripname_result%"${2}"}\ 15545} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15546 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15547 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15548test 0 -eq $? || _lt_function_replace_fail=: 15549 15550 15551 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15552func_split_long_opt ()\ 15553{\ 15554\ func_split_long_opt_name=${1%%=*}\ 15555\ func_split_long_opt_arg=${1#*=}\ 15556} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15557 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15559test 0 -eq $? || _lt_function_replace_fail=: 15560 15561 15562 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15563func_split_short_opt ()\ 15564{\ 15565\ func_split_short_opt_arg=${1#??}\ 15566\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15567} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15568 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15569 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15570test 0 -eq $? || _lt_function_replace_fail=: 15571 15572 15573 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15574func_lo2o ()\ 15575{\ 15576\ case ${1} in\ 15577\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15578\ *) func_lo2o_result=${1} ;;\ 15579\ esac\ 15580} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15581 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15583test 0 -eq $? || _lt_function_replace_fail=: 15584 15585 15586 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15587func_xform ()\ 15588{\ 15589 func_xform_result=${1%.*}.lo\ 15590} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15591 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15593test 0 -eq $? || _lt_function_replace_fail=: 15594 15595 15596 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15597func_arith ()\ 15598{\ 15599 func_arith_result=$(( $* ))\ 15600} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15601 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15602 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15603test 0 -eq $? || _lt_function_replace_fail=: 15604 15605 15606 sed -e '/^func_len ()$/,/^} # func_len /c\ 15607func_len ()\ 15608{\ 15609 func_len_result=${#1}\ 15610} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15611 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15613test 0 -eq $? || _lt_function_replace_fail=: 15614 15615fi 15616 15617if test x"$lt_shell_append" = xyes; then 15618 sed -e '/^func_append ()$/,/^} # func_append /c\ 15619func_append ()\ 15620{\ 15621 eval "${1}+=\\${2}"\ 15622} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15623 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15625test 0 -eq $? || _lt_function_replace_fail=: 15626 15627 15628 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15629func_append_quoted ()\ 15630{\ 15631\ func_quote_for_eval "${2}"\ 15632\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15633} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15634 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15636test 0 -eq $? || _lt_function_replace_fail=: 15637 15638 15639 # Save a `func_append' function call where possible by direct use of '+=' 15640 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15641 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15643 test 0 -eq $? || _lt_function_replace_fail=: 15644else 15645 # Save a `func_append' function call even when '+=' is not available 15646 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15647 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15648 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15649 test 0 -eq $? || _lt_function_replace_fail=: 15650fi 15651 15652if test x"$_lt_function_replace_fail" = x":"; then 15653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15654$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15655fi 15656 15657 15658 mv -f "$cfgfile" "$ofile" || 15659 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15660 chmod +x "$ofile" 15661 15662 ;; 15663 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 15664 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 15665 esac ;; 15666 "po/stamp-it":C) 15667 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 15668 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 15669 fi 15670 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 15671 >"po/stamp-it.tmp" 15672 sed '/^#/d 15673 s/^[[].*] *// 15674 /^[ ]*$/d 15675 '"s|^| $ac_top_srcdir/|" \ 15676 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 15677 15678 sed '/^POTFILES =/,/[^\\]$/ { 15679 /^POTFILES =/!d 15680 r po/POTFILES 15681 } 15682 ' "po/Makefile.in" >"po/Makefile" 15683 rm -f "po/Makefile.tmp" 15684 mv "po/stamp-it.tmp" "po/stamp-it" 15685 ;; 15686 15687 esac 15688done # for ac_tag 15689 15690 15691as_fn_exit 0 15692_ACEOF 15693ac_clean_files=$ac_clean_files_save 15694 15695test $ac_write_fail = 0 || 15696 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15697 15698 15699# configure is writing to config.log, and then calls config.status. 15700# config.status does its own redirection, appending to config.log. 15701# Unfortunately, on DOS this fails, as config.log is still kept open 15702# by configure, so config.status won't be able to write to it; its 15703# output is simply discarded. So we exec the FD to /dev/null, 15704# effectively closing config.log, so it can be properly (re)opened and 15705# appended to by config.status. When coming back to configure, we 15706# need to make the FD available again. 15707if test "$no_create" != yes; then 15708 ac_cs_success=: 15709 ac_config_status_args= 15710 test "$silent" = yes && 15711 ac_config_status_args="$ac_config_status_args --quiet" 15712 exec 5>/dev/null 15713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15714 exec 5>>config.log 15715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15716 # would make configure fail if this is the last instruction. 15717 $ac_cs_success || as_fn_exit 1 15718fi 15719if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15721$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15722fi 15723 15724 15725echo 15726echo "Now type 'make' to compile murrine." 15727