1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for EXIF library 0.6.21. 4# 5# Report bugs to <libexif-devel@lists.sourceforge.net>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 182 PATH=/empty FPATH=/empty; export PATH FPATH 183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 185test \$(( 1 + 1 )) = 2 || exit 1" 186 if (eval "$as_required") 2>/dev/null; then : 187 as_have_required=yes 188else 189 as_have_required=no 190fi 191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 192 193else 194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195as_found=false 196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 197do 198 IFS=$as_save_IFS 199 test -z "$as_dir" && as_dir=. 200 as_found=: 201 case $as_dir in #( 202 /*) 203 for as_base in sh bash ksh sh5; do 204 # Try only shells that exist, to save several forks. 205 as_shell=$as_dir/$as_base 206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 208 CONFIG_SHELL=$as_shell as_have_required=yes 209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 210 break 2 211fi 212fi 213 done;; 214 esac 215 as_found=false 216done 217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 219 CONFIG_SHELL=$SHELL as_have_required=yes 220fi; } 221IFS=$as_save_IFS 222 223 224 if test "x$CONFIG_SHELL" != x; then : 225 # We cannot yet assume a decent shell, so we have to provide a 226 # neutralization value for shells without unset; and this also 227 # works around shells that cannot unset nonexistent variables. 228 # Preserve -v and -x to the replacement shell. 229 BASH_ENV=/dev/null 230 ENV=/dev/null 231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 232 export CONFIG_SHELL 233 case $- in # (((( 234 *v*x* | *x*v* ) as_opts=-vx ;; 235 *v* ) as_opts=-v ;; 236 *x* ) as_opts=-x ;; 237 * ) as_opts= ;; 238 esac 239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 240fi 241 242 if test x$as_have_required = xno; then : 243 $as_echo "$0: This script requires a shell more modern than all" 244 $as_echo "$0: the shells that I found on your system." 245 if test x${ZSH_VERSION+set} = xset ; then 246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 247 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 248 else 249 $as_echo "$0: Please tell bug-autoconf@gnu.org and 250$0: libexif-devel@lists.sourceforge.net about your system, 251$0: including any error possibly output before this 252$0: message. Then install a modern shell, or manually run 253$0: the script under such a shell if you do have one." 254 fi 255 exit 1 256fi 257fi 258fi 259SHELL=${CONFIG_SHELL-/bin/sh} 260export SHELL 261# Unset more variables known to interfere with behavior of common tools. 262CLICOLOR_FORCE= GREP_OPTIONS= 263unset CLICOLOR_FORCE GREP_OPTIONS 264 265## --------------------- ## 266## M4sh Shell Functions. ## 267## --------------------- ## 268# as_fn_unset VAR 269# --------------- 270# Portably unset VAR. 271as_fn_unset () 272{ 273 { eval $1=; unset $1;} 274} 275as_unset=as_fn_unset 276 277# as_fn_set_status STATUS 278# ----------------------- 279# Set $? to STATUS, without forking. 280as_fn_set_status () 281{ 282 return $1 283} # as_fn_set_status 284 285# as_fn_exit STATUS 286# ----------------- 287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 288as_fn_exit () 289{ 290 set +e 291 as_fn_set_status $1 292 exit $1 293} # as_fn_exit 294 295# as_fn_mkdir_p 296# ------------- 297# Create "$as_dir" as a directory, including parents if necessary. 298as_fn_mkdir_p () 299{ 300 301 case $as_dir in #( 302 -*) as_dir=./$as_dir;; 303 esac 304 test -d "$as_dir" || eval $as_mkdir_p || { 305 as_dirs= 306 while :; do 307 case $as_dir in #( 308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 309 *) as_qdir=$as_dir;; 310 esac 311 as_dirs="'$as_qdir' $as_dirs" 312 as_dir=`$as_dirname -- "$as_dir" || 313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 314 X"$as_dir" : 'X\(//\)[^/]' \| \ 315 X"$as_dir" : 'X\(//\)$' \| \ 316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 317$as_echo X"$as_dir" | 318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\/\)[^/].*/{ 323 s//\1/ 324 q 325 } 326 /^X\(\/\/\)$/{ 327 s//\1/ 328 q 329 } 330 /^X\(\/\).*/{ 331 s//\1/ 332 q 333 } 334 s/.*/./; q'` 335 test -d "$as_dir" && break 336 done 337 test -z "$as_dirs" || eval "mkdir $as_dirs" 338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 339 340 341} # as_fn_mkdir_p 342# as_fn_append VAR VALUE 343# ---------------------- 344# Append the text in VALUE to the end of the definition contained in VAR. Take 345# advantage of any shell optimizations that allow amortized linear growth over 346# repeated appends, instead of the typical quadratic growth present in naive 347# implementations. 348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 349 eval 'as_fn_append () 350 { 351 eval $1+=\$2 352 }' 353else 354 as_fn_append () 355 { 356 eval $1=\$$1\$2 357 } 358fi # as_fn_append 359 360# as_fn_arith ARG... 361# ------------------ 362# Perform arithmetic evaluation on the ARGs, and store the result in the 363# global $as_val. Take advantage of shells that can avoid forks. The arguments 364# must be portable across $(()) and expr. 365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 366 eval 'as_fn_arith () 367 { 368 as_val=$(( $* )) 369 }' 370else 371 as_fn_arith () 372 { 373 as_val=`expr "$@" || test $? -eq 1` 374 } 375fi # as_fn_arith 376 377 378# as_fn_error STATUS ERROR [LINENO LOG_FD] 379# ---------------------------------------- 380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 382# script with STATUS, using 1 if that was 0. 383as_fn_error () 384{ 385 as_status=$1; test $as_status -eq 0 && as_status=1 386 if test "$4"; then 387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 389 fi 390 $as_echo "$as_me: error: $2" >&2 391 as_fn_exit $as_status 392} # as_fn_error 393 394if expr a : '\(a\)' >/dev/null 2>&1 && 395 test "X`expr 00001 : '.*\(...\)'`" = X001; then 396 as_expr=expr 397else 398 as_expr=false 399fi 400 401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 402 as_basename=basename 403else 404 as_basename=false 405fi 406 407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 408 as_dirname=dirname 409else 410 as_dirname=false 411fi 412 413as_me=`$as_basename -- "$0" || 414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 415 X"$0" : 'X\(//\)$' \| \ 416 X"$0" : 'X\(/\)' \| . 2>/dev/null || 417$as_echo X/"$0" | 418 sed '/^.*\/\([^/][^/]*\)\/*$/{ 419 s//\1/ 420 q 421 } 422 /^X\/\(\/\/\)$/{ 423 s//\1/ 424 q 425 } 426 /^X\/\(\/\).*/{ 427 s//\1/ 428 q 429 } 430 s/.*/./; q'` 431 432# Avoid depending upon Character Ranges. 433as_cr_letters='abcdefghijklmnopqrstuvwxyz' 434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 435as_cr_Letters=$as_cr_letters$as_cr_LETTERS 436as_cr_digits='0123456789' 437as_cr_alnum=$as_cr_Letters$as_cr_digits 438 439 440 as_lineno_1=$LINENO as_lineno_1a=$LINENO 441 as_lineno_2=$LINENO as_lineno_2a=$LINENO 442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 445 sed -n ' 446 p 447 /[$]LINENO/= 448 ' <$as_myself | 449 sed ' 450 s/[$]LINENO.*/&-/ 451 t lineno 452 b 453 :lineno 454 N 455 :loop 456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 457 t loop 458 s/-\n.*// 459 ' >$as_me.lineno && 460 chmod +x "$as_me.lineno" || 461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 462 463 # Don't try to exec as it changes $[0], causing all sort of problems 464 # (the dirname of $[0] is not the place where we might find the 465 # original and so on. Autoconf is especially sensitive to this). 466 . "./$as_me.lineno" 467 # Exit status is that of the last command. 468 exit 469} 470 471ECHO_C= ECHO_N= ECHO_T= 472case `echo -n x` in #((((( 473-n*) 474 case `echo 'xy\c'` in 475 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 476 xy) ECHO_C='\c';; 477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 478 ECHO_T=' ';; 479 esac;; 480*) 481 ECHO_N='-n';; 482esac 483 484rm -f conf$$ conf$$.exe conf$$.file 485if test -d conf$$.dir; then 486 rm -f conf$$.dir/conf$$.file 487else 488 rm -f conf$$.dir 489 mkdir conf$$.dir 2>/dev/null 490fi 491if (echo >conf$$.file) 2>/dev/null; then 492 if ln -s conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s='ln -s' 494 # ... but there are two gotchas: 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p'. 498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p' 500 elif ln conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s=ln 502 else 503 as_ln_s='cp -p' 504 fi 505else 506 as_ln_s='cp -p' 507fi 508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 509rmdir conf$$.dir 2>/dev/null 510 511if mkdir -p . 2>/dev/null; then 512 as_mkdir_p='mkdir -p "$as_dir"' 513else 514 test -d ./-p && rmdir ./-p 515 as_mkdir_p=false 516fi 517 518if test -x / >/dev/null 2>&1; then 519 as_test_x='test -x' 520else 521 if ls -dL / >/dev/null 2>&1; then 522 as_ls_L_option=L 523 else 524 as_ls_L_option= 525 fi 526 as_test_x=' 527 eval sh -c '\'' 528 if test -d "$1"; then 529 test -d "$1/."; 530 else 531 case $1 in #( 532 -*)set "./$1";; 533 esac; 534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 535 ???[sx]*):;;*)false;;esac;fi 536 '\'' sh 537 ' 538fi 539as_executable_p=$as_test_x 540 541# Sed expression to map a string onto a valid CPP name. 542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 543 544# Sed expression to map a string onto a valid variable name. 545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 546 547SHELL=${CONFIG_SHELL-/bin/sh} 548 549 550test -n "$DJDIR" || exec 7<&0 </dev/null 551exec 6>&1 552 553# Name of the host. 554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 555# so uname gets run too. 556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 557 558# 559# Initializations. 560# 561ac_default_prefix=/usr/local 562ac_clean_files= 563ac_config_libobj_dir=. 564LIBOBJS= 565cross_compiling=no 566subdirs= 567MFLAGS= 568MAKEFLAGS= 569 570# Identity of this package. 571PACKAGE_NAME='EXIF library' 572PACKAGE_TARNAME='libexif' 573PACKAGE_VERSION='0.6.21' 574PACKAGE_STRING='EXIF library 0.6.21' 575PACKAGE_BUGREPORT='libexif-devel@lists.sourceforge.net' 576PACKAGE_URL='' 577 578ac_unique_file="libexif/exif-data.h" 579# Factoring default headers for most tests. 580ac_includes_default="\ 581#include <stdio.h> 582#ifdef HAVE_SYS_TYPES_H 583# include <sys/types.h> 584#endif 585#ifdef HAVE_SYS_STAT_H 586# include <sys/stat.h> 587#endif 588#ifdef STDC_HEADERS 589# include <stdlib.h> 590# include <stddef.h> 591#else 592# ifdef HAVE_STDLIB_H 593# include <stdlib.h> 594# endif 595#endif 596#ifdef HAVE_STRING_H 597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 598# include <memory.h> 599# endif 600# include <string.h> 601#endif 602#ifdef HAVE_STRINGS_H 603# include <strings.h> 604#endif 605#ifdef HAVE_INTTYPES_H 606# include <inttypes.h> 607#endif 608#ifdef HAVE_STDINT_H 609# include <stdint.h> 610#endif 611#ifdef HAVE_UNISTD_H 612# include <unistd.h> 613#endif" 614 615ac_subst_vars='am__EXEEXT_FALSE 616am__EXEEXT_TRUE 617LTLIBOBJS 618LIBOBJS 619AM_LDFLAGS 620AM_CPPFLAGS 621POSUB 622LTLIBINTL 623LIBINTL 624INTLLIBS 625LTLIBICONV 626LIBICONV 627GETTEXT_PACKAGE 628MSGMERGE 629XGETTEXT 630GMSGFMT 631MSGFMT 632USE_NLS 633MKINSTALLDIRS 634ENABLE_INTERNAL_DOCS_FALSE 635ENABLE_INTERNAL_DOCS_TRUE 636HTML_APIDOC_INTERNALS_DIR 637DOXYGEN_OUTPUT_DIR 638HTML_APIDOC_DIR 639HAVE_DOT 640HAVE_DOT_FALSE 641HAVE_DOT_TRUE 642HAVE_DOXYGEN_FALSE 643HAVE_DOXYGEN_TRUE 644DOXYGEN 645DOT 646BUILD_DOCS_FALSE 647BUILD_DOCS_TRUE 648SHIP_BINARIES_FALSE 649SHIP_BINARIES_TRUE 650CPP 651OTOOL64 652OTOOL 653LIPO 654NMEDIT 655DSYMUTIL 656MANIFEST_TOOL 657RANLIB 658ac_ct_AR 659AR 660DLLTOOL 661OBJDUMP 662LN_S 663NM 664ac_ct_DUMPBIN 665DUMPBIN 666LD 667FGREP 668EGREP 669GREP 670SED 671host_os 672host_vendor 673host_cpu 674host 675build_os 676build_vendor 677build_cpu 678build 679LIBTOOL 680am__fastdepCC_FALSE 681am__fastdepCC_TRUE 682CCDEPMODE 683AMDEPBACKSLASH 684AMDEP_FALSE 685AMDEP_TRUE 686am__quote 687am__include 688DEPDIR 689OBJEXT 690EXEEXT 691ac_ct_CC 692CPPFLAGS 693LDFLAGS 694CFLAGS 695CC 696LIBEXIF_VERSION_INFO 697LIBEXIF_CURRENT_MIN 698LIBEXIF_CURRENT 699LIBEXIF_REVISION 700LIBEXIF_AGE 701AM_BACKSLASH 702AM_DEFAULT_VERBOSITY 703MAINT 704MAINTAINER_MODE_FALSE 705MAINTAINER_MODE_TRUE 706am__untar 707am__tar 708AMTAR 709am__leading_dot 710SET_MAKE 711AWK 712mkdir_p 713MKDIR_P 714INSTALL_STRIP_PROGRAM 715STRIP 716install_sh 717MAKEINFO 718AUTOHEADER 719AUTOMAKE 720AUTOCONF 721ACLOCAL 722VERSION 723PACKAGE 724CYGPATH_W 725am__isrc 726INSTALL_DATA 727INSTALL_SCRIPT 728INSTALL_PROGRAM 729target_alias 730host_alias 731build_alias 732LIBS 733ECHO_T 734ECHO_N 735ECHO_C 736DEFS 737mandir 738localedir 739libdir 740psdir 741pdfdir 742dvidir 743htmldir 744infodir 745docdir 746oldincludedir 747includedir 748localstatedir 749sharedstatedir 750sysconfdir 751datadir 752datarootdir 753libexecdir 754sbindir 755bindir 756program_transform_name 757prefix 758exec_prefix 759PACKAGE_URL 760PACKAGE_BUGREPORT 761PACKAGE_STRING 762PACKAGE_VERSION 763PACKAGE_TARNAME 764PACKAGE_NAME 765PATH_SEPARATOR 766SHELL' 767ac_subst_files='' 768ac_user_opts=' 769enable_option_checking 770enable_maintainer_mode 771enable_silent_rules 772enable_dependency_tracking 773enable_shared 774enable_static 775with_pic 776enable_fast_install 777with_gnu_ld 778with_sysroot 779enable_libtool_lock 780enable_ship_binaries 781enable_docs 782with_doc_dir 783enable_internal_docs 784enable_nls 785enable_rpath 786with_libiconv_prefix 787with_libintl_prefix 788' 789 ac_precious_vars='build_alias 790host_alias 791target_alias 792CC 793CFLAGS 794LDFLAGS 795LIBS 796CPPFLAGS 797CPP' 798 799 800# Initialize some variables set by options. 801ac_init_help= 802ac_init_version=false 803ac_unrecognized_opts= 804ac_unrecognized_sep= 805# The variables have the same names as the options, with 806# dashes changed to underlines. 807cache_file=/dev/null 808exec_prefix=NONE 809no_create= 810no_recursion= 811prefix=NONE 812program_prefix=NONE 813program_suffix=NONE 814program_transform_name=s,x,x, 815silent= 816site= 817srcdir= 818verbose= 819x_includes=NONE 820x_libraries=NONE 821 822# Installation directory options. 823# These are left unexpanded so users can "make install exec_prefix=/foo" 824# and all the variables that are supposed to be based on exec_prefix 825# by default will actually change. 826# Use braces instead of parens because sh, perl, etc. also accept them. 827# (The list follows the same order as the GNU Coding Standards.) 828bindir='${exec_prefix}/bin' 829sbindir='${exec_prefix}/sbin' 830libexecdir='${exec_prefix}/libexec' 831datarootdir='${prefix}/share' 832datadir='${datarootdir}' 833sysconfdir='${prefix}/etc' 834sharedstatedir='${prefix}/com' 835localstatedir='${prefix}/var' 836includedir='${prefix}/include' 837oldincludedir='/usr/include' 838docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 839infodir='${datarootdir}/info' 840htmldir='${docdir}' 841dvidir='${docdir}' 842pdfdir='${docdir}' 843psdir='${docdir}' 844libdir='${exec_prefix}/lib' 845localedir='${datarootdir}/locale' 846mandir='${datarootdir}/man' 847 848ac_prev= 849ac_dashdash= 850for ac_option 851do 852 # If the previous option needs an argument, assign it. 853 if test -n "$ac_prev"; then 854 eval $ac_prev=\$ac_option 855 ac_prev= 856 continue 857 fi 858 859 case $ac_option in 860 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 861 *=) ac_optarg= ;; 862 *) ac_optarg=yes ;; 863 esac 864 865 # Accept the important Cygnus configure options, so we can diagnose typos. 866 867 case $ac_dashdash$ac_option in 868 --) 869 ac_dashdash=yes ;; 870 871 -bindir | --bindir | --bindi | --bind | --bin | --bi) 872 ac_prev=bindir ;; 873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 874 bindir=$ac_optarg ;; 875 876 -build | --build | --buil | --bui | --bu) 877 ac_prev=build_alias ;; 878 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 879 build_alias=$ac_optarg ;; 880 881 -cache-file | --cache-file | --cache-fil | --cache-fi \ 882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 883 ac_prev=cache_file ;; 884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 886 cache_file=$ac_optarg ;; 887 888 --config-cache | -C) 889 cache_file=config.cache ;; 890 891 -datadir | --datadir | --datadi | --datad) 892 ac_prev=datadir ;; 893 -datadir=* | --datadir=* | --datadi=* | --datad=*) 894 datadir=$ac_optarg ;; 895 896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 897 | --dataroo | --dataro | --datar) 898 ac_prev=datarootdir ;; 899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 901 datarootdir=$ac_optarg ;; 902 903 -disable-* | --disable-*) 904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 905 # Reject names that are not valid shell variable names. 906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 907 as_fn_error $? "invalid feature name: $ac_useropt" 908 ac_useropt_orig=$ac_useropt 909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 910 case $ac_user_opts in 911 *" 912"enable_$ac_useropt" 913"*) ;; 914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 915 ac_unrecognized_sep=', ';; 916 esac 917 eval enable_$ac_useropt=no ;; 918 919 -docdir | --docdir | --docdi | --doc | --do) 920 ac_prev=docdir ;; 921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 922 docdir=$ac_optarg ;; 923 924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 925 ac_prev=dvidir ;; 926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 927 dvidir=$ac_optarg ;; 928 929 -enable-* | --enable-*) 930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 931 # Reject names that are not valid shell variable names. 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 933 as_fn_error $? "invalid feature name: $ac_useropt" 934 ac_useropt_orig=$ac_useropt 935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 936 case $ac_user_opts in 937 *" 938"enable_$ac_useropt" 939"*) ;; 940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 941 ac_unrecognized_sep=', ';; 942 esac 943 eval enable_$ac_useropt=\$ac_optarg ;; 944 945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 947 | --exec | --exe | --ex) 948 ac_prev=exec_prefix ;; 949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 951 | --exec=* | --exe=* | --ex=*) 952 exec_prefix=$ac_optarg ;; 953 954 -gas | --gas | --ga | --g) 955 # Obsolete; use --with-gas. 956 with_gas=yes ;; 957 958 -help | --help | --hel | --he | -h) 959 ac_init_help=long ;; 960 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 961 ac_init_help=recursive ;; 962 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 963 ac_init_help=short ;; 964 965 -host | --host | --hos | --ho) 966 ac_prev=host_alias ;; 967 -host=* | --host=* | --hos=* | --ho=*) 968 host_alias=$ac_optarg ;; 969 970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 971 ac_prev=htmldir ;; 972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 973 | --ht=*) 974 htmldir=$ac_optarg ;; 975 976 -includedir | --includedir | --includedi | --included | --include \ 977 | --includ | --inclu | --incl | --inc) 978 ac_prev=includedir ;; 979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 980 | --includ=* | --inclu=* | --incl=* | --inc=*) 981 includedir=$ac_optarg ;; 982 983 -infodir | --infodir | --infodi | --infod | --info | --inf) 984 ac_prev=infodir ;; 985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 986 infodir=$ac_optarg ;; 987 988 -libdir | --libdir | --libdi | --libd) 989 ac_prev=libdir ;; 990 -libdir=* | --libdir=* | --libdi=* | --libd=*) 991 libdir=$ac_optarg ;; 992 993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 994 | --libexe | --libex | --libe) 995 ac_prev=libexecdir ;; 996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 997 | --libexe=* | --libex=* | --libe=*) 998 libexecdir=$ac_optarg ;; 999 1000 -localedir | --localedir | --localedi | --localed | --locale) 1001 ac_prev=localedir ;; 1002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1003 localedir=$ac_optarg ;; 1004 1005 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1006 | --localstate | --localstat | --localsta | --localst | --locals) 1007 ac_prev=localstatedir ;; 1008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1010 localstatedir=$ac_optarg ;; 1011 1012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1013 ac_prev=mandir ;; 1014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1015 mandir=$ac_optarg ;; 1016 1017 -nfp | --nfp | --nf) 1018 # Obsolete; use --without-fp. 1019 with_fp=no ;; 1020 1021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1022 | --no-cr | --no-c | -n) 1023 no_create=yes ;; 1024 1025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1027 no_recursion=yes ;; 1028 1029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1031 | --oldin | --oldi | --old | --ol | --o) 1032 ac_prev=oldincludedir ;; 1033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1036 oldincludedir=$ac_optarg ;; 1037 1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1039 ac_prev=prefix ;; 1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1041 prefix=$ac_optarg ;; 1042 1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1044 | --program-pre | --program-pr | --program-p) 1045 ac_prev=program_prefix ;; 1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1048 program_prefix=$ac_optarg ;; 1049 1050 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1051 | --program-suf | --program-su | --program-s) 1052 ac_prev=program_suffix ;; 1053 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1055 program_suffix=$ac_optarg ;; 1056 1057 -program-transform-name | --program-transform-name \ 1058 | --program-transform-nam | --program-transform-na \ 1059 | --program-transform-n | --program-transform- \ 1060 | --program-transform | --program-transfor \ 1061 | --program-transfo | --program-transf \ 1062 | --program-trans | --program-tran \ 1063 | --progr-tra | --program-tr | --program-t) 1064 ac_prev=program_transform_name ;; 1065 -program-transform-name=* | --program-transform-name=* \ 1066 | --program-transform-nam=* | --program-transform-na=* \ 1067 | --program-transform-n=* | --program-transform-=* \ 1068 | --program-transform=* | --program-transfor=* \ 1069 | --program-transfo=* | --program-transf=* \ 1070 | --program-trans=* | --program-tran=* \ 1071 | --progr-tra=* | --program-tr=* | --program-t=*) 1072 program_transform_name=$ac_optarg ;; 1073 1074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1075 ac_prev=pdfdir ;; 1076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1077 pdfdir=$ac_optarg ;; 1078 1079 -psdir | --psdir | --psdi | --psd | --ps) 1080 ac_prev=psdir ;; 1081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1082 psdir=$ac_optarg ;; 1083 1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1085 | -silent | --silent | --silen | --sile | --sil) 1086 silent=yes ;; 1087 1088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1089 ac_prev=sbindir ;; 1090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1091 | --sbi=* | --sb=*) 1092 sbindir=$ac_optarg ;; 1093 1094 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1095 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1096 | --sharedst | --shareds | --shared | --share | --shar \ 1097 | --sha | --sh) 1098 ac_prev=sharedstatedir ;; 1099 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1100 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1101 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1102 | --sha=* | --sh=*) 1103 sharedstatedir=$ac_optarg ;; 1104 1105 -site | --site | --sit) 1106 ac_prev=site ;; 1107 -site=* | --site=* | --sit=*) 1108 site=$ac_optarg ;; 1109 1110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1111 ac_prev=srcdir ;; 1112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1113 srcdir=$ac_optarg ;; 1114 1115 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1116 | --syscon | --sysco | --sysc | --sys | --sy) 1117 ac_prev=sysconfdir ;; 1118 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1119 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1120 sysconfdir=$ac_optarg ;; 1121 1122 -target | --target | --targe | --targ | --tar | --ta | --t) 1123 ac_prev=target_alias ;; 1124 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1125 target_alias=$ac_optarg ;; 1126 1127 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1128 verbose=yes ;; 1129 1130 -version | --version | --versio | --versi | --vers | -V) 1131 ac_init_version=: ;; 1132 1133 -with-* | --with-*) 1134 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1135 # Reject names that are not valid shell variable names. 1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1137 as_fn_error $? "invalid package name: $ac_useropt" 1138 ac_useropt_orig=$ac_useropt 1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1140 case $ac_user_opts in 1141 *" 1142"with_$ac_useropt" 1143"*) ;; 1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1145 ac_unrecognized_sep=', ';; 1146 esac 1147 eval with_$ac_useropt=\$ac_optarg ;; 1148 1149 -without-* | --without-*) 1150 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1151 # Reject names that are not valid shell variable names. 1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1153 as_fn_error $? "invalid package name: $ac_useropt" 1154 ac_useropt_orig=$ac_useropt 1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1156 case $ac_user_opts in 1157 *" 1158"with_$ac_useropt" 1159"*) ;; 1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1161 ac_unrecognized_sep=', ';; 1162 esac 1163 eval with_$ac_useropt=no ;; 1164 1165 --x) 1166 # Obsolete; use --with-x. 1167 with_x=yes ;; 1168 1169 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1170 | --x-incl | --x-inc | --x-in | --x-i) 1171 ac_prev=x_includes ;; 1172 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1173 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1174 x_includes=$ac_optarg ;; 1175 1176 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1177 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1178 ac_prev=x_libraries ;; 1179 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1180 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1181 x_libraries=$ac_optarg ;; 1182 1183 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1184Try \`$0 --help' for more information" 1185 ;; 1186 1187 *=*) 1188 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1189 # Reject names that are not valid shell variable names. 1190 case $ac_envvar in #( 1191 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1192 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1193 esac 1194 eval $ac_envvar=\$ac_optarg 1195 export $ac_envvar ;; 1196 1197 *) 1198 # FIXME: should be removed in autoconf 3.0. 1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1203 ;; 1204 1205 esac 1206done 1207 1208if test -n "$ac_prev"; then 1209 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1210 as_fn_error $? "missing argument to $ac_option" 1211fi 1212 1213if test -n "$ac_unrecognized_opts"; then 1214 case $enable_option_checking in 1215 no) ;; 1216 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1218 esac 1219fi 1220 1221# Check all directory arguments for consistency. 1222for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1223 datadir sysconfdir sharedstatedir localstatedir includedir \ 1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1225 libdir localedir mandir 1226do 1227 eval ac_val=\$$ac_var 1228 # Remove trailing slashes. 1229 case $ac_val in 1230 */ ) 1231 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1232 eval $ac_var=\$ac_val;; 1233 esac 1234 # Be sure to have absolute directory names. 1235 case $ac_val in 1236 [\\/$]* | ?:[\\/]* ) continue;; 1237 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1238 esac 1239 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1240done 1241 1242# There might be people who depend on the old broken behavior: `$host' 1243# used to hold the argument of --host etc. 1244# FIXME: To remove some day. 1245build=$build_alias 1246host=$host_alias 1247target=$target_alias 1248 1249# FIXME: To remove some day. 1250if test "x$host_alias" != x; then 1251 if test "x$build_alias" = x; then 1252 cross_compiling=maybe 1253 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1254 If a cross compiler is detected then cross compile mode will be used" >&2 1255 elif test "x$build_alias" != "x$host_alias"; then 1256 cross_compiling=yes 1257 fi 1258fi 1259 1260ac_tool_prefix= 1261test -n "$host_alias" && ac_tool_prefix=$host_alias- 1262 1263test "$silent" = yes && exec 6>/dev/null 1264 1265 1266ac_pwd=`pwd` && test -n "$ac_pwd" && 1267ac_ls_di=`ls -di .` && 1268ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1269 as_fn_error $? "working directory cannot be determined" 1270test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1271 as_fn_error $? "pwd does not report name of working directory" 1272 1273 1274# Find the source files, if location was not specified. 1275if test -z "$srcdir"; then 1276 ac_srcdir_defaulted=yes 1277 # Try the directory containing this script, then the parent directory. 1278 ac_confdir=`$as_dirname -- "$as_myself" || 1279$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1280 X"$as_myself" : 'X\(//\)[^/]' \| \ 1281 X"$as_myself" : 'X\(//\)$' \| \ 1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1283$as_echo X"$as_myself" | 1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1285 s//\1/ 1286 q 1287 } 1288 /^X\(\/\/\)[^/].*/{ 1289 s//\1/ 1290 q 1291 } 1292 /^X\(\/\/\)$/{ 1293 s//\1/ 1294 q 1295 } 1296 /^X\(\/\).*/{ 1297 s//\1/ 1298 q 1299 } 1300 s/.*/./; q'` 1301 srcdir=$ac_confdir 1302 if test ! -r "$srcdir/$ac_unique_file"; then 1303 srcdir=.. 1304 fi 1305else 1306 ac_srcdir_defaulted=no 1307fi 1308if test ! -r "$srcdir/$ac_unique_file"; then 1309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1310 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1311fi 1312ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1313ac_abs_confdir=`( 1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1315 pwd)` 1316# When building in place, set srcdir=. 1317if test "$ac_abs_confdir" = "$ac_pwd"; then 1318 srcdir=. 1319fi 1320# Remove unnecessary trailing slashes from srcdir. 1321# Double slashes in file names in object file debugging info 1322# mess up M-x gdb in Emacs. 1323case $srcdir in 1324*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1325esac 1326for ac_var in $ac_precious_vars; do 1327 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1328 eval ac_env_${ac_var}_value=\$${ac_var} 1329 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1330 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1331done 1332 1333# 1334# Report the --help message. 1335# 1336if test "$ac_init_help" = "long"; then 1337 # Omit some internal or obsolete options to make the list less imposing. 1338 # This message is too long to be a string in the A/UX 3.1 sh. 1339 cat <<_ACEOF 1340\`configure' configures EXIF library 0.6.21 to adapt to many kinds of systems. 1341 1342Usage: $0 [OPTION]... [VAR=VALUE]... 1343 1344To assign environment variables (e.g., CC, CFLAGS...), specify them as 1345VAR=VALUE. See below for descriptions of some of the useful variables. 1346 1347Defaults for the options are specified in brackets. 1348 1349Configuration: 1350 -h, --help display this help and exit 1351 --help=short display options specific to this package 1352 --help=recursive display the short help of all the included packages 1353 -V, --version display version information and exit 1354 -q, --quiet, --silent do not print \`checking ...' messages 1355 --cache-file=FILE cache test results in FILE [disabled] 1356 -C, --config-cache alias for \`--cache-file=config.cache' 1357 -n, --no-create do not create output files 1358 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1359 1360Installation directories: 1361 --prefix=PREFIX install architecture-independent files in PREFIX 1362 [$ac_default_prefix] 1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1364 [PREFIX] 1365 1366By default, \`make install' will install all the files in 1367\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1368an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1369for instance \`--prefix=\$HOME'. 1370 1371For better control, use the options below. 1372 1373Fine tuning of the installation directories: 1374 --bindir=DIR user executables [EPREFIX/bin] 1375 --sbindir=DIR system admin executables [EPREFIX/sbin] 1376 --libexecdir=DIR program executables [EPREFIX/libexec] 1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1380 --libdir=DIR object code libraries [EPREFIX/lib] 1381 --includedir=DIR C header files [PREFIX/include] 1382 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1385 --infodir=DIR info documentation [DATAROOTDIR/info] 1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1387 --mandir=DIR man documentation [DATAROOTDIR/man] 1388 --docdir=DIR documentation root [DATAROOTDIR/doc/libexif] 1389 --htmldir=DIR html documentation [DOCDIR] 1390 --dvidir=DIR dvi documentation [DOCDIR] 1391 --pdfdir=DIR pdf documentation [DOCDIR] 1392 --psdir=DIR ps documentation [DOCDIR] 1393_ACEOF 1394 1395 cat <<\_ACEOF 1396 1397Program names: 1398 --program-prefix=PREFIX prepend PREFIX to installed program names 1399 --program-suffix=SUFFIX append SUFFIX to installed program names 1400 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1401 1402System types: 1403 --build=BUILD configure for building on BUILD [guessed] 1404 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1405_ACEOF 1406fi 1407 1408if test -n "$ac_init_help"; then 1409 case $ac_init_help in 1410 short | recursive ) echo "Configuration of EXIF library 0.6.21:";; 1411 esac 1412 cat <<\_ACEOF 1413 1414Optional Features: 1415 --disable-option-checking ignore unrecognized --enable/--with options 1416 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1417 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1418 --enable-maintainer-mode enable make rules and dependencies not useful 1419 (and sometimes confusing) to the casual installer 1420 --enable-silent-rules less verbose build output (undo: `make V=1') 1421 --disable-silent-rules verbose build output (undo: `make V=0') 1422 --disable-dependency-tracking speeds up one-time build 1423 --enable-dependency-tracking do not reject slow dependency extractors 1424 --enable-shared[=PKGS] build shared libraries [default=yes] 1425 --enable-static[=PKGS] build static libraries [default=yes] 1426 --enable-fast-install[=PKGS] 1427 optimize for fast installation [default=yes] 1428 --disable-libtool-lock avoid locking (might break parallel builds) 1429 --enable-ship-binaries Whether to ship binaries in the tarball [default=no] 1430 --disable-docs whether to create any documentation 1431 --enable-internal-docs Build internal code docs if doxygen available 1432 --disable-nls do not use Native Language Support 1433 --disable-rpath do not hardcode runtime library paths 1434 1435Optional Packages: 1436 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1437 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1438 --with-pic try to use only PIC/non-PIC objects [default=use 1439 both] 1440 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1441 --with-sysroot=DIR Search for dependent libraries within DIR 1442 (or the compiler's sysroot if not specified). 1443 --with-doc-dir=PATH Where to install docs [default=autodetect] 1444 --with-gnu-ld assume the C compiler uses GNU ld default=no 1445 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1446 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1447 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1448 --without-libintl-prefix don't search for libintl in includedir and libdir 1449 1450Some influential environment variables: 1451 CC C compiler command 1452 CFLAGS C compiler flags 1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1454 nonstandard directory <lib dir> 1455 LIBS libraries to pass to the linker, e.g. -l<library> 1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1457 you have headers in a nonstandard directory <include dir> 1458 CPP C preprocessor 1459 1460Use these variables to override the choices made by `configure' or to help 1461it to find libraries and programs with nonstandard names/locations. 1462 1463Report bugs to <libexif-devel@lists.sourceforge.net>. 1464_ACEOF 1465ac_status=$? 1466fi 1467 1468if test "$ac_init_help" = "recursive"; then 1469 # If there are subdirs, report their specific --help. 1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1471 test -d "$ac_dir" || 1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1473 continue 1474 ac_builddir=. 1475 1476case "$ac_dir" in 1477.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1478*) 1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1480 # A ".." for each directory in $ac_dir_suffix. 1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1482 case $ac_top_builddir_sub in 1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1485 esac ;; 1486esac 1487ac_abs_top_builddir=$ac_pwd 1488ac_abs_builddir=$ac_pwd$ac_dir_suffix 1489# for backward compatibility: 1490ac_top_builddir=$ac_top_build_prefix 1491 1492case $srcdir in 1493 .) # We are building in place. 1494 ac_srcdir=. 1495 ac_top_srcdir=$ac_top_builddir_sub 1496 ac_abs_top_srcdir=$ac_pwd ;; 1497 [\\/]* | ?:[\\/]* ) # Absolute name. 1498 ac_srcdir=$srcdir$ac_dir_suffix; 1499 ac_top_srcdir=$srcdir 1500 ac_abs_top_srcdir=$srcdir ;; 1501 *) # Relative name. 1502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1503 ac_top_srcdir=$ac_top_build_prefix$srcdir 1504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1505esac 1506ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1507 1508 cd "$ac_dir" || { ac_status=$?; continue; } 1509 # Check for guested configure. 1510 if test -f "$ac_srcdir/configure.gnu"; then 1511 echo && 1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1513 elif test -f "$ac_srcdir/configure"; then 1514 echo && 1515 $SHELL "$ac_srcdir/configure" --help=recursive 1516 else 1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1518 fi || ac_status=$? 1519 cd "$ac_pwd" || { ac_status=$?; break; } 1520 done 1521fi 1522 1523test -n "$ac_init_help" && exit $ac_status 1524if $ac_init_version; then 1525 cat <<\_ACEOF 1526EXIF library configure 0.6.21 1527generated by GNU Autoconf 2.68 1528 1529Copyright (C) 2010 Free Software Foundation, Inc. 1530This configure script is free software; the Free Software Foundation 1531gives unlimited permission to copy, distribute and modify it. 1532_ACEOF 1533 exit 1534fi 1535 1536## ------------------------ ## 1537## Autoconf initialization. ## 1538## ------------------------ ## 1539 1540# ac_fn_c_try_compile LINENO 1541# -------------------------- 1542# Try to compile conftest.$ac_ext, and return whether this succeeded. 1543ac_fn_c_try_compile () 1544{ 1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1546 rm -f conftest.$ac_objext 1547 if { { ac_try="$ac_compile" 1548case "(($ac_try" in 1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1550 *) ac_try_echo=$ac_try;; 1551esac 1552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1553$as_echo "$ac_try_echo"; } >&5 1554 (eval "$ac_compile") 2>conftest.err 1555 ac_status=$? 1556 if test -s conftest.err; then 1557 grep -v '^ *+' conftest.err >conftest.er1 1558 cat conftest.er1 >&5 1559 mv -f conftest.er1 conftest.err 1560 fi 1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1562 test $ac_status = 0; } && { 1563 test -z "$ac_c_werror_flag" || 1564 test ! -s conftest.err 1565 } && test -s conftest.$ac_objext; then : 1566 ac_retval=0 1567else 1568 $as_echo "$as_me: failed program was:" >&5 1569sed 's/^/| /' conftest.$ac_ext >&5 1570 1571 ac_retval=1 1572fi 1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1574 as_fn_set_status $ac_retval 1575 1576} # ac_fn_c_try_compile 1577 1578# ac_fn_c_try_link LINENO 1579# ----------------------- 1580# Try to link conftest.$ac_ext, and return whether this succeeded. 1581ac_fn_c_try_link () 1582{ 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 rm -f conftest.$ac_objext conftest$ac_exeext 1585 if { { ac_try="$ac_link" 1586case "(($ac_try" in 1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1588 *) ac_try_echo=$ac_try;; 1589esac 1590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1591$as_echo "$ac_try_echo"; } >&5 1592 (eval "$ac_link") 2>conftest.err 1593 ac_status=$? 1594 if test -s conftest.err; then 1595 grep -v '^ *+' conftest.err >conftest.er1 1596 cat conftest.er1 >&5 1597 mv -f conftest.er1 conftest.err 1598 fi 1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1600 test $ac_status = 0; } && { 1601 test -z "$ac_c_werror_flag" || 1602 test ! -s conftest.err 1603 } && test -s conftest$ac_exeext && { 1604 test "$cross_compiling" = yes || 1605 $as_test_x conftest$ac_exeext 1606 }; then : 1607 ac_retval=0 1608else 1609 $as_echo "$as_me: failed program was:" >&5 1610sed 's/^/| /' conftest.$ac_ext >&5 1611 1612 ac_retval=1 1613fi 1614 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1615 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1616 # interfere with the next link command; also delete a directory that is 1617 # left behind by Apple's compiler. We do this before executing the actions. 1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622} # ac_fn_c_try_link 1623 1624# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1625# ------------------------------------------------------- 1626# Tests whether HEADER exists and can be compiled using the include files in 1627# INCLUDES, setting the cache variable VAR accordingly. 1628ac_fn_c_check_header_compile () 1629{ 1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1632$as_echo_n "checking for $2... " >&6; } 1633if eval \${$3+:} false; then : 1634 $as_echo_n "(cached) " >&6 1635else 1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1637/* end confdefs.h. */ 1638$4 1639#include <$2> 1640_ACEOF 1641if ac_fn_c_try_compile "$LINENO"; then : 1642 eval "$3=yes" 1643else 1644 eval "$3=no" 1645fi 1646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1647fi 1648eval ac_res=\$$3 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1650$as_echo "$ac_res" >&6; } 1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1652 1653} # ac_fn_c_check_header_compile 1654 1655# ac_fn_c_try_cpp LINENO 1656# ---------------------- 1657# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1658ac_fn_c_try_cpp () 1659{ 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 if { { ac_try="$ac_cpp conftest.$ac_ext" 1662case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665esac 1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667$as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1669 ac_status=$? 1670 if test -s conftest.err; then 1671 grep -v '^ *+' conftest.err >conftest.er1 1672 cat conftest.er1 >&5 1673 mv -f conftest.er1 conftest.err 1674 fi 1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1676 test $ac_status = 0; } > conftest.i && { 1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1678 test ! -s conftest.err 1679 }; then : 1680 ac_retval=0 1681else 1682 $as_echo "$as_me: failed program was:" >&5 1683sed 's/^/| /' conftest.$ac_ext >&5 1684 1685 ac_retval=1 1686fi 1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1688 as_fn_set_status $ac_retval 1689 1690} # ac_fn_c_try_cpp 1691 1692# ac_fn_c_try_run LINENO 1693# ---------------------- 1694# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1695# that executables *can* be run. 1696ac_fn_c_try_run () 1697{ 1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1699 if { { ac_try="$ac_link" 1700case "(($ac_try" in 1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1702 *) ac_try_echo=$ac_try;; 1703esac 1704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1705$as_echo "$ac_try_echo"; } >&5 1706 (eval "$ac_link") 2>&5 1707 ac_status=$? 1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1710 { { case "(($ac_try" in 1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1712 *) ac_try_echo=$ac_try;; 1713esac 1714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1715$as_echo "$ac_try_echo"; } >&5 1716 (eval "$ac_try") 2>&5 1717 ac_status=$? 1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1719 test $ac_status = 0; }; }; then : 1720 ac_retval=0 1721else 1722 $as_echo "$as_me: program exited with status $ac_status" >&5 1723 $as_echo "$as_me: failed program was:" >&5 1724sed 's/^/| /' conftest.$ac_ext >&5 1725 1726 ac_retval=$ac_status 1727fi 1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1730 as_fn_set_status $ac_retval 1731 1732} # ac_fn_c_try_run 1733 1734# ac_fn_c_check_func LINENO FUNC VAR 1735# ---------------------------------- 1736# Tests whether FUNC exists, setting the cache variable VAR accordingly 1737ac_fn_c_check_func () 1738{ 1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1741$as_echo_n "checking for $2... " >&6; } 1742if eval \${$3+:} false; then : 1743 $as_echo_n "(cached) " >&6 1744else 1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1746/* end confdefs.h. */ 1747/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1748 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1749#define $2 innocuous_$2 1750 1751/* System header to define __stub macros and hopefully few prototypes, 1752 which can conflict with char $2 (); below. 1753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1754 <limits.h> exists even on freestanding compilers. */ 1755 1756#ifdef __STDC__ 1757# include <limits.h> 1758#else 1759# include <assert.h> 1760#endif 1761 1762#undef $2 1763 1764/* Override any GCC internal prototype to avoid an error. 1765 Use char because int might match the return type of a GCC 1766 builtin and then its argument prototype would still apply. */ 1767#ifdef __cplusplus 1768extern "C" 1769#endif 1770char $2 (); 1771/* The GNU C library defines this for functions which it implements 1772 to always fail with ENOSYS. Some functions are actually named 1773 something starting with __ and the normal name is an alias. */ 1774#if defined __stub_$2 || defined __stub___$2 1775choke me 1776#endif 1777 1778int 1779main () 1780{ 1781return $2 (); 1782 ; 1783 return 0; 1784} 1785_ACEOF 1786if ac_fn_c_try_link "$LINENO"; then : 1787 eval "$3=yes" 1788else 1789 eval "$3=no" 1790fi 1791rm -f core conftest.err conftest.$ac_objext \ 1792 conftest$ac_exeext conftest.$ac_ext 1793fi 1794eval ac_res=\$$3 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1796$as_echo "$ac_res" >&6; } 1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1798 1799} # ac_fn_c_check_func 1800cat >config.log <<_ACEOF 1801This file contains any messages produced by compilers while 1802running configure, to aid debugging if configure makes a mistake. 1803 1804It was created by EXIF library $as_me 0.6.21, which was 1805generated by GNU Autoconf 2.68. Invocation command line was 1806 1807 $ $0 $@ 1808 1809_ACEOF 1810exec 5>>config.log 1811{ 1812cat <<_ASUNAME 1813## --------- ## 1814## Platform. ## 1815## --------- ## 1816 1817hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1818uname -m = `(uname -m) 2>/dev/null || echo unknown` 1819uname -r = `(uname -r) 2>/dev/null || echo unknown` 1820uname -s = `(uname -s) 2>/dev/null || echo unknown` 1821uname -v = `(uname -v) 2>/dev/null || echo unknown` 1822 1823/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1824/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1825 1826/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1827/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1828/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1829/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1830/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1831/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1832/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1833 1834_ASUNAME 1835 1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1837for as_dir in $PATH 1838do 1839 IFS=$as_save_IFS 1840 test -z "$as_dir" && as_dir=. 1841 $as_echo "PATH: $as_dir" 1842 done 1843IFS=$as_save_IFS 1844 1845} >&5 1846 1847cat >&5 <<_ACEOF 1848 1849 1850## ----------- ## 1851## Core tests. ## 1852## ----------- ## 1853 1854_ACEOF 1855 1856 1857# Keep a trace of the command line. 1858# Strip out --no-create and --no-recursion so they do not pile up. 1859# Strip out --silent because we don't want to record it for future runs. 1860# Also quote any args containing shell meta-characters. 1861# Make two passes to allow for proper duplicate-argument suppression. 1862ac_configure_args= 1863ac_configure_args0= 1864ac_configure_args1= 1865ac_must_keep_next=false 1866for ac_pass in 1 2 1867do 1868 for ac_arg 1869 do 1870 case $ac_arg in 1871 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1873 | -silent | --silent | --silen | --sile | --sil) 1874 continue ;; 1875 *\'*) 1876 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1877 esac 1878 case $ac_pass in 1879 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1880 2) 1881 as_fn_append ac_configure_args1 " '$ac_arg'" 1882 if test $ac_must_keep_next = true; then 1883 ac_must_keep_next=false # Got value, back to normal. 1884 else 1885 case $ac_arg in 1886 *=* | --config-cache | -C | -disable-* | --disable-* \ 1887 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1888 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1889 | -with-* | --with-* | -without-* | --without-* | --x) 1890 case "$ac_configure_args0 " in 1891 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1892 esac 1893 ;; 1894 -* ) ac_must_keep_next=true ;; 1895 esac 1896 fi 1897 as_fn_append ac_configure_args " '$ac_arg'" 1898 ;; 1899 esac 1900 done 1901done 1902{ ac_configure_args0=; unset ac_configure_args0;} 1903{ ac_configure_args1=; unset ac_configure_args1;} 1904 1905# When interrupted or exit'd, cleanup temporary files, and complete 1906# config.log. We remove comments because anyway the quotes in there 1907# would cause problems or look ugly. 1908# WARNING: Use '\'' to represent an apostrophe within the trap. 1909# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1910trap 'exit_status=$? 1911 # Save into config.log some information that might help in debugging. 1912 { 1913 echo 1914 1915 $as_echo "## ---------------- ## 1916## Cache variables. ## 1917## ---------------- ##" 1918 echo 1919 # The following way of writing the cache mishandles newlines in values, 1920( 1921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1922 eval ac_val=\$$ac_var 1923 case $ac_val in #( 1924 *${as_nl}*) 1925 case $ac_var in #( 1926 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1927$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1928 esac 1929 case $ac_var in #( 1930 _ | IFS | as_nl) ;; #( 1931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1932 *) { eval $ac_var=; unset $ac_var;} ;; 1933 esac ;; 1934 esac 1935 done 1936 (set) 2>&1 | 1937 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1938 *${as_nl}ac_space=\ *) 1939 sed -n \ 1940 "s/'\''/'\''\\\\'\'''\''/g; 1941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1942 ;; #( 1943 *) 1944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1945 ;; 1946 esac | 1947 sort 1948) 1949 echo 1950 1951 $as_echo "## ----------------- ## 1952## Output variables. ## 1953## ----------------- ##" 1954 echo 1955 for ac_var in $ac_subst_vars 1956 do 1957 eval ac_val=\$$ac_var 1958 case $ac_val in 1959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1960 esac 1961 $as_echo "$ac_var='\''$ac_val'\''" 1962 done | sort 1963 echo 1964 1965 if test -n "$ac_subst_files"; then 1966 $as_echo "## ------------------- ## 1967## File substitutions. ## 1968## ------------------- ##" 1969 echo 1970 for ac_var in $ac_subst_files 1971 do 1972 eval ac_val=\$$ac_var 1973 case $ac_val in 1974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1975 esac 1976 $as_echo "$ac_var='\''$ac_val'\''" 1977 done | sort 1978 echo 1979 fi 1980 1981 if test -s confdefs.h; then 1982 $as_echo "## ----------- ## 1983## confdefs.h. ## 1984## ----------- ##" 1985 echo 1986 cat confdefs.h 1987 echo 1988 fi 1989 test "$ac_signal" != 0 && 1990 $as_echo "$as_me: caught signal $ac_signal" 1991 $as_echo "$as_me: exit $exit_status" 1992 } >&5 1993 rm -f core *.core core.conftest.* && 1994 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1995 exit $exit_status 1996' 0 1997for ac_signal in 1 2 13 15; do 1998 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1999done 2000ac_signal=0 2001 2002# confdefs.h avoids OS command line length limits that DEFS can exceed. 2003rm -f -r conftest* confdefs.h 2004 2005$as_echo "/* confdefs.h */" > confdefs.h 2006 2007# Predefined preprocessor variables. 2008 2009cat >>confdefs.h <<_ACEOF 2010#define PACKAGE_NAME "$PACKAGE_NAME" 2011_ACEOF 2012 2013cat >>confdefs.h <<_ACEOF 2014#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2015_ACEOF 2016 2017cat >>confdefs.h <<_ACEOF 2018#define PACKAGE_VERSION "$PACKAGE_VERSION" 2019_ACEOF 2020 2021cat >>confdefs.h <<_ACEOF 2022#define PACKAGE_STRING "$PACKAGE_STRING" 2023_ACEOF 2024 2025cat >>confdefs.h <<_ACEOF 2026#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2027_ACEOF 2028 2029cat >>confdefs.h <<_ACEOF 2030#define PACKAGE_URL "$PACKAGE_URL" 2031_ACEOF 2032 2033 2034# Let the site file select an alternate cache file if it wants to. 2035# Prefer an explicitly selected file to automatically selected ones. 2036ac_site_file1=NONE 2037ac_site_file2=NONE 2038if test -n "$CONFIG_SITE"; then 2039 # We do not want a PATH search for config.site. 2040 case $CONFIG_SITE in #(( 2041 -*) ac_site_file1=./$CONFIG_SITE;; 2042 */*) ac_site_file1=$CONFIG_SITE;; 2043 *) ac_site_file1=./$CONFIG_SITE;; 2044 esac 2045elif test "x$prefix" != xNONE; then 2046 ac_site_file1=$prefix/share/config.site 2047 ac_site_file2=$prefix/etc/config.site 2048else 2049 ac_site_file1=$ac_default_prefix/share/config.site 2050 ac_site_file2=$ac_default_prefix/etc/config.site 2051fi 2052for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2053do 2054 test "x$ac_site_file" = xNONE && continue 2055 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2057$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2058 sed 's/^/| /' "$ac_site_file" >&5 2059 . "$ac_site_file" \ 2060 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2062as_fn_error $? "failed to load site script $ac_site_file 2063See \`config.log' for more details" "$LINENO" 5; } 2064 fi 2065done 2066 2067if test -r "$cache_file"; then 2068 # Some versions of bash will fail to source /dev/null (special files 2069 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2070 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2072$as_echo "$as_me: loading cache $cache_file" >&6;} 2073 case $cache_file in 2074 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2075 *) . "./$cache_file";; 2076 esac 2077 fi 2078else 2079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2080$as_echo "$as_me: creating cache $cache_file" >&6;} 2081 >$cache_file 2082fi 2083 2084# Check that the precious variables saved in the cache have kept the same 2085# value. 2086ac_cache_corrupted=false 2087for ac_var in $ac_precious_vars; do 2088 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2089 eval ac_new_set=\$ac_env_${ac_var}_set 2090 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2091 eval ac_new_val=\$ac_env_${ac_var}_value 2092 case $ac_old_set,$ac_new_set in 2093 set,) 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2095$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2096 ac_cache_corrupted=: ;; 2097 ,set) 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2099$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2100 ac_cache_corrupted=: ;; 2101 ,);; 2102 *) 2103 if test "x$ac_old_val" != "x$ac_new_val"; then 2104 # differences in whitespace do not lead to failure. 2105 ac_old_val_w=`echo x $ac_old_val` 2106 ac_new_val_w=`echo x $ac_new_val` 2107 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2109$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2110 ac_cache_corrupted=: 2111 else 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2113$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2114 eval $ac_var=\$ac_old_val 2115 fi 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2117$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2119$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2120 fi;; 2121 esac 2122 # Pass precious variables to config.status. 2123 if test "$ac_new_set" = set; then 2124 case $ac_new_val in 2125 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2126 *) ac_arg=$ac_var=$ac_new_val ;; 2127 esac 2128 case " $ac_configure_args " in 2129 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2130 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2131 esac 2132 fi 2133done 2134if $ac_cache_corrupted; then 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2136$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2138$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2139 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2140fi 2141## -------------------- ## 2142## Main body of script. ## 2143## -------------------- ## 2144 2145ac_ext=c 2146ac_cpp='$CPP $CPPFLAGS' 2147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2149ac_compiler_gnu=$ac_cv_c_compiler_gnu 2150 2151 2152 2153ac_config_headers="$ac_config_headers config.h" 2154 2155 2156am__api_version='1.11' 2157 2158ac_aux_dir= 2159for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2160 if test -f "$ac_dir/install-sh"; then 2161 ac_aux_dir=$ac_dir 2162 ac_install_sh="$ac_aux_dir/install-sh -c" 2163 break 2164 elif test -f "$ac_dir/install.sh"; then 2165 ac_aux_dir=$ac_dir 2166 ac_install_sh="$ac_aux_dir/install.sh -c" 2167 break 2168 elif test -f "$ac_dir/shtool"; then 2169 ac_aux_dir=$ac_dir 2170 ac_install_sh="$ac_aux_dir/shtool install -c" 2171 break 2172 fi 2173done 2174if test -z "$ac_aux_dir"; then 2175 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2176fi 2177 2178# These three variables are undocumented and unsupported, 2179# and are intended to be withdrawn in a future Autoconf release. 2180# They can cause serious problems if a builder's source tree is in a directory 2181# whose full name contains unusual characters. 2182ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2183ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2184ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2185 2186 2187# Find a good install program. We prefer a C program (faster), 2188# so one script is as good as another. But avoid the broken or 2189# incompatible versions: 2190# SysV /etc/install, /usr/sbin/install 2191# SunOS /usr/etc/install 2192# IRIX /sbin/install 2193# AIX /bin/install 2194# AmigaOS /C/install, which installs bootblocks on floppy discs 2195# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2196# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2197# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2198# OS/2's system install, which has a completely different semantic 2199# ./install, which can be erroneously created by make from ./install.sh. 2200# Reject install programs that cannot install multiple files. 2201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2202$as_echo_n "checking for a BSD-compatible install... " >&6; } 2203if test -z "$INSTALL"; then 2204if ${ac_cv_path_install+:} false; then : 2205 $as_echo_n "(cached) " >&6 2206else 2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2208for as_dir in $PATH 2209do 2210 IFS=$as_save_IFS 2211 test -z "$as_dir" && as_dir=. 2212 # Account for people who put trailing slashes in PATH elements. 2213case $as_dir/ in #(( 2214 ./ | .// | /[cC]/* | \ 2215 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2216 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2217 /usr/ucb/* ) ;; 2218 *) 2219 # OSF1 and SCO ODT 3.0 have their own names for install. 2220 # Don't use installbsd from OSF since it installs stuff as root 2221 # by default. 2222 for ac_prog in ginstall scoinst install; do 2223 for ac_exec_ext in '' $ac_executable_extensions; do 2224 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2225 if test $ac_prog = install && 2226 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2227 # AIX install. It has an incompatible calling convention. 2228 : 2229 elif test $ac_prog = install && 2230 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2231 # program-specific install script used by HP pwplus--don't use. 2232 : 2233 else 2234 rm -rf conftest.one conftest.two conftest.dir 2235 echo one > conftest.one 2236 echo two > conftest.two 2237 mkdir conftest.dir 2238 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2239 test -s conftest.one && test -s conftest.two && 2240 test -s conftest.dir/conftest.one && 2241 test -s conftest.dir/conftest.two 2242 then 2243 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2244 break 3 2245 fi 2246 fi 2247 fi 2248 done 2249 done 2250 ;; 2251esac 2252 2253 done 2254IFS=$as_save_IFS 2255 2256rm -rf conftest.one conftest.two conftest.dir 2257 2258fi 2259 if test "${ac_cv_path_install+set}" = set; then 2260 INSTALL=$ac_cv_path_install 2261 else 2262 # As a last resort, use the slow shell script. Don't cache a 2263 # value for INSTALL within a source directory, because that will 2264 # break other packages using the cache if that directory is 2265 # removed, or if the value is a relative name. 2266 INSTALL=$ac_install_sh 2267 fi 2268fi 2269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2270$as_echo "$INSTALL" >&6; } 2271 2272# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2273# It thinks the first close brace ends the variable substitution. 2274test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2275 2276test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2277 2278test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2279 2280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2281$as_echo_n "checking whether build environment is sane... " >&6; } 2282# Just in case 2283sleep 1 2284echo timestamp > conftest.file 2285# Reject unsafe characters in $srcdir or the absolute working directory 2286# name. Accept space and tab only in the latter. 2287am_lf=' 2288' 2289case `pwd` in 2290 *[\\\"\#\$\&\'\`$am_lf]*) 2291 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2292esac 2293case $srcdir in 2294 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2295 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2296esac 2297 2298# Do `set' in a subshell so we don't clobber the current shell's 2299# arguments. Must try -L first in case configure is actually a 2300# symlink; some systems play weird games with the mod time of symlinks 2301# (eg FreeBSD returns the mod time of the symlink's containing 2302# directory). 2303if ( 2304 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2305 if test "$*" = "X"; then 2306 # -L didn't work. 2307 set X `ls -t "$srcdir/configure" conftest.file` 2308 fi 2309 rm -f conftest.file 2310 if test "$*" != "X $srcdir/configure conftest.file" \ 2311 && test "$*" != "X conftest.file $srcdir/configure"; then 2312 2313 # If neither matched, then we have a broken ls. This can happen 2314 # if, for instance, CONFIG_SHELL is bash and it inherits a 2315 # broken ls alias from the environment. This has actually 2316 # happened. Such a system could not be considered "sane". 2317 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2318alias in your environment" "$LINENO" 5 2319 fi 2320 2321 test "$2" = conftest.file 2322 ) 2323then 2324 # Ok. 2325 : 2326else 2327 as_fn_error $? "newly created file is older than distributed files! 2328Check your system clock" "$LINENO" 5 2329fi 2330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2331$as_echo "yes" >&6; } 2332test "$program_prefix" != NONE && 2333 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2334# Use a double $ so make ignores it. 2335test "$program_suffix" != NONE && 2336 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2337# Double any \ or $. 2338# By default was `s,x,x', remove it if useless. 2339ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2340program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2341 2342# expand $ac_aux_dir to an absolute path 2343am_aux_dir=`cd $ac_aux_dir && pwd` 2344 2345if test x"${MISSING+set}" != xset; then 2346 case $am_aux_dir in 2347 *\ * | *\ *) 2348 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2349 *) 2350 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2351 esac 2352fi 2353# Use eval to expand $SHELL 2354if eval "$MISSING --run true"; then 2355 am_missing_run="$MISSING --run " 2356else 2357 am_missing_run= 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2359$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2360fi 2361 2362if test x"${install_sh}" != xset; then 2363 case $am_aux_dir in 2364 *\ * | *\ *) 2365 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2366 *) 2367 install_sh="\${SHELL} $am_aux_dir/install-sh" 2368 esac 2369fi 2370 2371# Installed binaries are usually stripped using `strip' when the user 2372# run `make install-strip'. However `strip' might not be the right 2373# tool to use in cross-compilation environments, therefore Automake 2374# will honor the `STRIP' environment variable to overrule this program. 2375if test "$cross_compiling" != no; then 2376 if test -n "$ac_tool_prefix"; then 2377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2378set dummy ${ac_tool_prefix}strip; ac_word=$2 2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2380$as_echo_n "checking for $ac_word... " >&6; } 2381if ${ac_cv_prog_STRIP+:} false; then : 2382 $as_echo_n "(cached) " >&6 2383else 2384 if test -n "$STRIP"; then 2385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2386else 2387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2388for as_dir in $PATH 2389do 2390 IFS=$as_save_IFS 2391 test -z "$as_dir" && as_dir=. 2392 for ac_exec_ext in '' $ac_executable_extensions; do 2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2394 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2396 break 2 2397 fi 2398done 2399 done 2400IFS=$as_save_IFS 2401 2402fi 2403fi 2404STRIP=$ac_cv_prog_STRIP 2405if test -n "$STRIP"; then 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2407$as_echo "$STRIP" >&6; } 2408else 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2410$as_echo "no" >&6; } 2411fi 2412 2413 2414fi 2415if test -z "$ac_cv_prog_STRIP"; then 2416 ac_ct_STRIP=$STRIP 2417 # Extract the first word of "strip", so it can be a program name with args. 2418set dummy strip; ac_word=$2 2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2420$as_echo_n "checking for $ac_word... " >&6; } 2421if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2422 $as_echo_n "(cached) " >&6 2423else 2424 if test -n "$ac_ct_STRIP"; then 2425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2426else 2427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2428for as_dir in $PATH 2429do 2430 IFS=$as_save_IFS 2431 test -z "$as_dir" && as_dir=. 2432 for ac_exec_ext in '' $ac_executable_extensions; do 2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2434 ac_cv_prog_ac_ct_STRIP="strip" 2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2436 break 2 2437 fi 2438done 2439 done 2440IFS=$as_save_IFS 2441 2442fi 2443fi 2444ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2445if test -n "$ac_ct_STRIP"; then 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2447$as_echo "$ac_ct_STRIP" >&6; } 2448else 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2450$as_echo "no" >&6; } 2451fi 2452 2453 if test "x$ac_ct_STRIP" = x; then 2454 STRIP=":" 2455 else 2456 case $cross_compiling:$ac_tool_warned in 2457yes:) 2458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2460ac_tool_warned=yes ;; 2461esac 2462 STRIP=$ac_ct_STRIP 2463 fi 2464else 2465 STRIP="$ac_cv_prog_STRIP" 2466fi 2467 2468fi 2469INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2470 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2472$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2473if test -z "$MKDIR_P"; then 2474 if ${ac_cv_path_mkdir+:} false; then : 2475 $as_echo_n "(cached) " >&6 2476else 2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2478for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2479do 2480 IFS=$as_save_IFS 2481 test -z "$as_dir" && as_dir=. 2482 for ac_prog in mkdir gmkdir; do 2483 for ac_exec_ext in '' $ac_executable_extensions; do 2484 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2485 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2486 'mkdir (GNU coreutils) '* | \ 2487 'mkdir (coreutils) '* | \ 2488 'mkdir (fileutils) '4.1*) 2489 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2490 break 3;; 2491 esac 2492 done 2493 done 2494 done 2495IFS=$as_save_IFS 2496 2497fi 2498 2499 test -d ./--version && rmdir ./--version 2500 if test "${ac_cv_path_mkdir+set}" = set; then 2501 MKDIR_P="$ac_cv_path_mkdir -p" 2502 else 2503 # As a last resort, use the slow shell script. Don't cache a 2504 # value for MKDIR_P within a source directory, because that will 2505 # break other packages using the cache if that directory is 2506 # removed, or if the value is a relative name. 2507 MKDIR_P="$ac_install_sh -d" 2508 fi 2509fi 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2511$as_echo "$MKDIR_P" >&6; } 2512 2513mkdir_p="$MKDIR_P" 2514case $mkdir_p in 2515 [\\/$]* | ?:[\\/]*) ;; 2516 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2517esac 2518 2519for ac_prog in gawk mawk nawk awk 2520do 2521 # Extract the first word of "$ac_prog", so it can be a program name with args. 2522set dummy $ac_prog; ac_word=$2 2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2524$as_echo_n "checking for $ac_word... " >&6; } 2525if ${ac_cv_prog_AWK+:} false; then : 2526 $as_echo_n "(cached) " >&6 2527else 2528 if test -n "$AWK"; then 2529 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2530else 2531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2532for as_dir in $PATH 2533do 2534 IFS=$as_save_IFS 2535 test -z "$as_dir" && as_dir=. 2536 for ac_exec_ext in '' $ac_executable_extensions; do 2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2538 ac_cv_prog_AWK="$ac_prog" 2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2540 break 2 2541 fi 2542done 2543 done 2544IFS=$as_save_IFS 2545 2546fi 2547fi 2548AWK=$ac_cv_prog_AWK 2549if test -n "$AWK"; then 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2551$as_echo "$AWK" >&6; } 2552else 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2554$as_echo "no" >&6; } 2555fi 2556 2557 2558 test -n "$AWK" && break 2559done 2560 2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2562$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2563set x ${MAKE-make} 2564ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2565if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2566 $as_echo_n "(cached) " >&6 2567else 2568 cat >conftest.make <<\_ACEOF 2569SHELL = /bin/sh 2570all: 2571 @echo '@@@%%%=$(MAKE)=@@@%%%' 2572_ACEOF 2573# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2574case `${MAKE-make} -f conftest.make 2>/dev/null` in 2575 *@@@%%%=?*=@@@%%%*) 2576 eval ac_cv_prog_make_${ac_make}_set=yes;; 2577 *) 2578 eval ac_cv_prog_make_${ac_make}_set=no;; 2579esac 2580rm -f conftest.make 2581fi 2582if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2584$as_echo "yes" >&6; } 2585 SET_MAKE= 2586else 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2588$as_echo "no" >&6; } 2589 SET_MAKE="MAKE=${MAKE-make}" 2590fi 2591 2592rm -rf .tst 2>/dev/null 2593mkdir .tst 2>/dev/null 2594if test -d .tst; then 2595 am__leading_dot=. 2596else 2597 am__leading_dot=_ 2598fi 2599rmdir .tst 2>/dev/null 2600 2601if test "`cd $srcdir && pwd`" != "`pwd`"; then 2602 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2603 # is not polluted with repeated "-I." 2604 am__isrc=' -I$(srcdir)' 2605 # test to see if srcdir already configured 2606 if test -f $srcdir/config.status; then 2607 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2608 fi 2609fi 2610 2611# test whether we have cygpath 2612if test -z "$CYGPATH_W"; then 2613 if (cygpath --version) >/dev/null 2>/dev/null; then 2614 CYGPATH_W='cygpath -w' 2615 else 2616 CYGPATH_W=echo 2617 fi 2618fi 2619 2620 2621# Define the identity of the package. 2622 PACKAGE='libexif' 2623 VERSION='0.6.21' 2624 2625 2626cat >>confdefs.h <<_ACEOF 2627#define PACKAGE "$PACKAGE" 2628_ACEOF 2629 2630 2631cat >>confdefs.h <<_ACEOF 2632#define VERSION "$VERSION" 2633_ACEOF 2634 2635# Some tools Automake needs. 2636 2637ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2638 2639 2640AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2641 2642 2643AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2644 2645 2646AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2647 2648 2649MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2650 2651# We need awk for the "check" target. The system "awk" is bad on 2652# some platforms. 2653# Always define AMTAR for backward compatibility. 2654 2655AMTAR=${AMTAR-"${am_missing_run}tar"} 2656 2657am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2658 2659 2660 2661 2662 2663 2664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2665$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2666 # Check whether --enable-maintainer-mode was given. 2667if test "${enable_maintainer_mode+set}" = set; then : 2668 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2669else 2670 USE_MAINTAINER_MODE=no 2671fi 2672 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2674$as_echo "$USE_MAINTAINER_MODE" >&6; } 2675 if test $USE_MAINTAINER_MODE = yes; then 2676 MAINTAINER_MODE_TRUE= 2677 MAINTAINER_MODE_FALSE='#' 2678else 2679 MAINTAINER_MODE_TRUE='#' 2680 MAINTAINER_MODE_FALSE= 2681fi 2682 2683 MAINT=$MAINTAINER_MODE_TRUE 2684 2685 2686 2687# Use the silent-rules feature when possible. 2688 2689# Check whether --enable-silent-rules was given. 2690if test "${enable_silent_rules+set}" = set; then : 2691 enableval=$enable_silent_rules; 2692fi 2693 2694case $enable_silent_rules in 2695yes) AM_DEFAULT_VERBOSITY=0;; 2696no) AM_DEFAULT_VERBOSITY=1;; 2697*) AM_DEFAULT_VERBOSITY=1;; 2698esac 2699AM_BACKSLASH='\' 2700 2701 2702if test ! -d "$srcdir/m4m"; then 2703as_fn_error $? " 2704You are missing the m4m/ directory in your top 2705$PACKAGE_TARNAME source directory. 2706 2707You are probably using an ill-maintained CVS tree. 2708Running 2709 2710 cd $srcdir 2711 cvs co m4m 2712 2713and re-running autogen.sh might help. 2714" "$LINENO" 5 2715fi 2716 2717 2718# make sure "cd" doesn't print anything on stdout 2719if test x"${CDPATH+set}" = xset 2720then 2721 CDPATH=: 2722 export CDPATH 2723fi 2724 2725# make sure $() command substitution works 2726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX sh \$() command substitution" >&5 2727$as_echo_n "checking for POSIX sh \$() command substitution... " >&6; } 2728if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # '''' 2729then 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2731$as_echo "yes" >&6; } 2732else 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2734$as_echo "no" >&6; } 2735 uname=`uname 2>&1` # '' 2736 uname_a=`uname -a 2>&1` # '' 2737 as_fn_error $? " 2738 2739* POSIX sh \$() command substition does not work with this shell. 2740* 2741* You are running a very rare species of shell. Please report this 2742* sighting to <${PACKAGE_BUGREPORT}>: 2743* SHELL=${SHELL} 2744* uname=${uname} 2745* uname-a=${uname_a} 2746* Please also include your OS and version. 2747* 2748* Run this configure script using a better (i.e. POSIX compliant) shell. 2749" "$LINENO" 5 2750fi 2751 2752 2753 2754gp_config_len="30" 2755gp_config_empty="" 2756gp_config_len3="$(expr "$gp_config_len" - 3)" 2757n="$gp_config_len" 2758while test "$n" -gt 0; do 2759 gp_config_empty="${gp_config_empty} " 2760 n="$(expr "$n" - 1)" 2761done 2762gp_config_msg=" 2763Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}): 2764" 2765 2766 2767gp_config_msg="${gp_config_msg} 2768 Build 2769" 2770 2771 2772gp_config_msg_len="$(expr "Source code location" : '.*')" 2773if test "$gp_config_msg_len" -ge "$gp_config_len"; then 2774 gp_config_msg_lhs="$(expr "Source code location" : "\(.\{0,${gp_config_len3}\}\)")..:" 2775else 2776 gp_config_msg_lhs="$(expr "Source code location:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 2777fi 2778gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${srcdir} 2779" 2780 2781 2782LIBEXIF_CURRENT=15 2783LIBEXIF_AGE=3 2784LIBEXIF_REVISION=3 2785 2786 2787 2788LIBEXIF_CURRENT_MIN=`expr $LIBEXIF_CURRENT - $LIBEXIF_AGE` 2789 2790LIBEXIF_VERSION_INFO="$LIBEXIF_CURRENT:$LIBEXIF_REVISION:$LIBEXIF_AGE" 2791 2792 2793ac_ext=c 2794ac_cpp='$CPP $CPPFLAGS' 2795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2797ac_compiler_gnu=$ac_cv_c_compiler_gnu 2798if test -n "$ac_tool_prefix"; then 2799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2800set dummy ${ac_tool_prefix}gcc; ac_word=$2 2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2802$as_echo_n "checking for $ac_word... " >&6; } 2803if ${ac_cv_prog_CC+:} false; then : 2804 $as_echo_n "(cached) " >&6 2805else 2806 if test -n "$CC"; then 2807 ac_cv_prog_CC="$CC" # Let the user override the test. 2808else 2809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2810for as_dir in $PATH 2811do 2812 IFS=$as_save_IFS 2813 test -z "$as_dir" && as_dir=. 2814 for ac_exec_ext in '' $ac_executable_extensions; do 2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2816 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2818 break 2 2819 fi 2820done 2821 done 2822IFS=$as_save_IFS 2823 2824fi 2825fi 2826CC=$ac_cv_prog_CC 2827if test -n "$CC"; then 2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2829$as_echo "$CC" >&6; } 2830else 2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2832$as_echo "no" >&6; } 2833fi 2834 2835 2836fi 2837if test -z "$ac_cv_prog_CC"; then 2838 ac_ct_CC=$CC 2839 # Extract the first word of "gcc", so it can be a program name with args. 2840set dummy gcc; ac_word=$2 2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2842$as_echo_n "checking for $ac_word... " >&6; } 2843if ${ac_cv_prog_ac_ct_CC+:} false; then : 2844 $as_echo_n "(cached) " >&6 2845else 2846 if test -n "$ac_ct_CC"; then 2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2848else 2849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2850for as_dir in $PATH 2851do 2852 IFS=$as_save_IFS 2853 test -z "$as_dir" && as_dir=. 2854 for ac_exec_ext in '' $ac_executable_extensions; do 2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2856 ac_cv_prog_ac_ct_CC="gcc" 2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2858 break 2 2859 fi 2860done 2861 done 2862IFS=$as_save_IFS 2863 2864fi 2865fi 2866ac_ct_CC=$ac_cv_prog_ac_ct_CC 2867if test -n "$ac_ct_CC"; then 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2869$as_echo "$ac_ct_CC" >&6; } 2870else 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2872$as_echo "no" >&6; } 2873fi 2874 2875 if test "x$ac_ct_CC" = x; then 2876 CC="" 2877 else 2878 case $cross_compiling:$ac_tool_warned in 2879yes:) 2880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2882ac_tool_warned=yes ;; 2883esac 2884 CC=$ac_ct_CC 2885 fi 2886else 2887 CC="$ac_cv_prog_CC" 2888fi 2889 2890if test -z "$CC"; then 2891 if test -n "$ac_tool_prefix"; then 2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2893set dummy ${ac_tool_prefix}cc; ac_word=$2 2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2895$as_echo_n "checking for $ac_word... " >&6; } 2896if ${ac_cv_prog_CC+:} false; then : 2897 $as_echo_n "(cached) " >&6 2898else 2899 if test -n "$CC"; then 2900 ac_cv_prog_CC="$CC" # Let the user override the test. 2901else 2902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2903for as_dir in $PATH 2904do 2905 IFS=$as_save_IFS 2906 test -z "$as_dir" && as_dir=. 2907 for ac_exec_ext in '' $ac_executable_extensions; do 2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2909 ac_cv_prog_CC="${ac_tool_prefix}cc" 2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2911 break 2 2912 fi 2913done 2914 done 2915IFS=$as_save_IFS 2916 2917fi 2918fi 2919CC=$ac_cv_prog_CC 2920if test -n "$CC"; then 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2922$as_echo "$CC" >&6; } 2923else 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2925$as_echo "no" >&6; } 2926fi 2927 2928 2929 fi 2930fi 2931if test -z "$CC"; then 2932 # Extract the first word of "cc", so it can be a program name with args. 2933set dummy cc; ac_word=$2 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2935$as_echo_n "checking for $ac_word... " >&6; } 2936if ${ac_cv_prog_CC+:} false; then : 2937 $as_echo_n "(cached) " >&6 2938else 2939 if test -n "$CC"; then 2940 ac_cv_prog_CC="$CC" # Let the user override the test. 2941else 2942 ac_prog_rejected=no 2943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2944for as_dir in $PATH 2945do 2946 IFS=$as_save_IFS 2947 test -z "$as_dir" && as_dir=. 2948 for ac_exec_ext in '' $ac_executable_extensions; do 2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2951 ac_prog_rejected=yes 2952 continue 2953 fi 2954 ac_cv_prog_CC="cc" 2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2956 break 2 2957 fi 2958done 2959 done 2960IFS=$as_save_IFS 2961 2962if test $ac_prog_rejected = yes; then 2963 # We found a bogon in the path, so make sure we never use it. 2964 set dummy $ac_cv_prog_CC 2965 shift 2966 if test $# != 0; then 2967 # We chose a different compiler from the bogus one. 2968 # However, it has the same basename, so the bogon will be chosen 2969 # first if we set CC to just the basename; use the full file name. 2970 shift 2971 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2972 fi 2973fi 2974fi 2975fi 2976CC=$ac_cv_prog_CC 2977if test -n "$CC"; then 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2979$as_echo "$CC" >&6; } 2980else 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2982$as_echo "no" >&6; } 2983fi 2984 2985 2986fi 2987if test -z "$CC"; then 2988 if test -n "$ac_tool_prefix"; then 2989 for ac_prog in cl.exe 2990 do 2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2992set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2994$as_echo_n "checking for $ac_word... " >&6; } 2995if ${ac_cv_prog_CC+:} false; then : 2996 $as_echo_n "(cached) " >&6 2997else 2998 if test -n "$CC"; then 2999 ac_cv_prog_CC="$CC" # Let the user override the test. 3000else 3001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3002for as_dir in $PATH 3003do 3004 IFS=$as_save_IFS 3005 test -z "$as_dir" && as_dir=. 3006 for ac_exec_ext in '' $ac_executable_extensions; do 3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3010 break 2 3011 fi 3012done 3013 done 3014IFS=$as_save_IFS 3015 3016fi 3017fi 3018CC=$ac_cv_prog_CC 3019if test -n "$CC"; then 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3021$as_echo "$CC" >&6; } 3022else 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3024$as_echo "no" >&6; } 3025fi 3026 3027 3028 test -n "$CC" && break 3029 done 3030fi 3031if test -z "$CC"; then 3032 ac_ct_CC=$CC 3033 for ac_prog in cl.exe 3034do 3035 # Extract the first word of "$ac_prog", so it can be a program name with args. 3036set dummy $ac_prog; ac_word=$2 3037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3038$as_echo_n "checking for $ac_word... " >&6; } 3039if ${ac_cv_prog_ac_ct_CC+:} false; then : 3040 $as_echo_n "(cached) " >&6 3041else 3042 if test -n "$ac_ct_CC"; then 3043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3044else 3045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3046for as_dir in $PATH 3047do 3048 IFS=$as_save_IFS 3049 test -z "$as_dir" && as_dir=. 3050 for ac_exec_ext in '' $ac_executable_extensions; do 3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3052 ac_cv_prog_ac_ct_CC="$ac_prog" 3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3054 break 2 3055 fi 3056done 3057 done 3058IFS=$as_save_IFS 3059 3060fi 3061fi 3062ac_ct_CC=$ac_cv_prog_ac_ct_CC 3063if test -n "$ac_ct_CC"; then 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3065$as_echo "$ac_ct_CC" >&6; } 3066else 3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3068$as_echo "no" >&6; } 3069fi 3070 3071 3072 test -n "$ac_ct_CC" && break 3073done 3074 3075 if test "x$ac_ct_CC" = x; then 3076 CC="" 3077 else 3078 case $cross_compiling:$ac_tool_warned in 3079yes:) 3080{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3081$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3082ac_tool_warned=yes ;; 3083esac 3084 CC=$ac_ct_CC 3085 fi 3086fi 3087 3088fi 3089 3090 3091test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3093as_fn_error $? "no acceptable C compiler found in \$PATH 3094See \`config.log' for more details" "$LINENO" 5; } 3095 3096# Provide some information about the compiler. 3097$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3098set X $ac_compile 3099ac_compiler=$2 3100for ac_option in --version -v -V -qversion; do 3101 { { ac_try="$ac_compiler $ac_option >&5" 3102case "(($ac_try" in 3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3104 *) ac_try_echo=$ac_try;; 3105esac 3106eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3107$as_echo "$ac_try_echo"; } >&5 3108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3109 ac_status=$? 3110 if test -s conftest.err; then 3111 sed '10a\ 3112... rest of stderr output deleted ... 3113 10q' conftest.err >conftest.er1 3114 cat conftest.er1 >&5 3115 fi 3116 rm -f conftest.er1 conftest.err 3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3118 test $ac_status = 0; } 3119done 3120 3121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3122/* end confdefs.h. */ 3123 3124int 3125main () 3126{ 3127 3128 ; 3129 return 0; 3130} 3131_ACEOF 3132ac_clean_files_save=$ac_clean_files 3133ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3134# Try to create an executable without -o first, disregard a.out. 3135# It will help us diagnose broken compilers, and finding out an intuition 3136# of exeext. 3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3138$as_echo_n "checking whether the C compiler works... " >&6; } 3139ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3140 3141# The possible output files: 3142ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3143 3144ac_rmfiles= 3145for ac_file in $ac_files 3146do 3147 case $ac_file in 3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3149 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3150 esac 3151done 3152rm -f $ac_rmfiles 3153 3154if { { ac_try="$ac_link_default" 3155case "(($ac_try" in 3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3157 *) ac_try_echo=$ac_try;; 3158esac 3159eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3160$as_echo "$ac_try_echo"; } >&5 3161 (eval "$ac_link_default") 2>&5 3162 ac_status=$? 3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3164 test $ac_status = 0; }; then : 3165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3166# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3167# in a Makefile. We should not override ac_cv_exeext if it was cached, 3168# so that the user can short-circuit this test for compilers unknown to 3169# Autoconf. 3170for ac_file in $ac_files '' 3171do 3172 test -f "$ac_file" || continue 3173 case $ac_file in 3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3175 ;; 3176 [ab].out ) 3177 # We found the default executable, but exeext='' is most 3178 # certainly right. 3179 break;; 3180 *.* ) 3181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3182 then :; else 3183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3184 fi 3185 # We set ac_cv_exeext here because the later test for it is not 3186 # safe: cross compilers may not add the suffix if given an `-o' 3187 # argument, so we may need to know it at that point already. 3188 # Even if this section looks crufty: it has the advantage of 3189 # actually working. 3190 break;; 3191 * ) 3192 break;; 3193 esac 3194done 3195test "$ac_cv_exeext" = no && ac_cv_exeext= 3196 3197else 3198 ac_file='' 3199fi 3200if test -z "$ac_file"; then : 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3202$as_echo "no" >&6; } 3203$as_echo "$as_me: failed program was:" >&5 3204sed 's/^/| /' conftest.$ac_ext >&5 3205 3206{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3208as_fn_error 77 "C compiler cannot create executables 3209See \`config.log' for more details" "$LINENO" 5; } 3210else 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3212$as_echo "yes" >&6; } 3213fi 3214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3215$as_echo_n "checking for C compiler default output file name... " >&6; } 3216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3217$as_echo "$ac_file" >&6; } 3218ac_exeext=$ac_cv_exeext 3219 3220rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3221ac_clean_files=$ac_clean_files_save 3222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3223$as_echo_n "checking for suffix of executables... " >&6; } 3224if { { ac_try="$ac_link" 3225case "(($ac_try" in 3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3227 *) ac_try_echo=$ac_try;; 3228esac 3229eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3230$as_echo "$ac_try_echo"; } >&5 3231 (eval "$ac_link") 2>&5 3232 ac_status=$? 3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3234 test $ac_status = 0; }; then : 3235 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3236# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3237# work properly (i.e., refer to `conftest.exe'), while it won't with 3238# `rm'. 3239for ac_file in conftest.exe conftest conftest.*; do 3240 test -f "$ac_file" || continue 3241 case $ac_file in 3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3244 break;; 3245 * ) break;; 3246 esac 3247done 3248else 3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3251as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3252See \`config.log' for more details" "$LINENO" 5; } 3253fi 3254rm -f conftest conftest$ac_cv_exeext 3255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3256$as_echo "$ac_cv_exeext" >&6; } 3257 3258rm -f conftest.$ac_ext 3259EXEEXT=$ac_cv_exeext 3260ac_exeext=$EXEEXT 3261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3262/* end confdefs.h. */ 3263#include <stdio.h> 3264int 3265main () 3266{ 3267FILE *f = fopen ("conftest.out", "w"); 3268 return ferror (f) || fclose (f) != 0; 3269 3270 ; 3271 return 0; 3272} 3273_ACEOF 3274ac_clean_files="$ac_clean_files conftest.out" 3275# Check that the compiler produces executables we can run. If not, either 3276# the compiler is broken, or we cross compile. 3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3278$as_echo_n "checking whether we are cross compiling... " >&6; } 3279if test "$cross_compiling" != yes; then 3280 { { ac_try="$ac_link" 3281case "(($ac_try" in 3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *) ac_try_echo=$ac_try;; 3284esac 3285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286$as_echo "$ac_try_echo"; } >&5 3287 (eval "$ac_link") 2>&5 3288 ac_status=$? 3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3290 test $ac_status = 0; } 3291 if { ac_try='./conftest$ac_cv_exeext' 3292 { { case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295esac 3296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3297$as_echo "$ac_try_echo"; } >&5 3298 (eval "$ac_try") 2>&5 3299 ac_status=$? 3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3301 test $ac_status = 0; }; }; then 3302 cross_compiling=no 3303 else 3304 if test "$cross_compiling" = maybe; then 3305 cross_compiling=yes 3306 else 3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3309as_fn_error $? "cannot run C compiled programs. 3310If you meant to cross compile, use \`--host'. 3311See \`config.log' for more details" "$LINENO" 5; } 3312 fi 3313 fi 3314fi 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3316$as_echo "$cross_compiling" >&6; } 3317 3318rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3319ac_clean_files=$ac_clean_files_save 3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3321$as_echo_n "checking for suffix of object files... " >&6; } 3322if ${ac_cv_objext+:} false; then : 3323 $as_echo_n "(cached) " >&6 3324else 3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3326/* end confdefs.h. */ 3327 3328int 3329main () 3330{ 3331 3332 ; 3333 return 0; 3334} 3335_ACEOF 3336rm -f conftest.o conftest.obj 3337if { { ac_try="$ac_compile" 3338case "(($ac_try" in 3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3340 *) ac_try_echo=$ac_try;; 3341esac 3342eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3343$as_echo "$ac_try_echo"; } >&5 3344 (eval "$ac_compile") 2>&5 3345 ac_status=$? 3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3347 test $ac_status = 0; }; then : 3348 for ac_file in conftest.o conftest.obj conftest.*; do 3349 test -f "$ac_file" || continue; 3350 case $ac_file in 3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3353 break;; 3354 esac 3355done 3356else 3357 $as_echo "$as_me: failed program was:" >&5 3358sed 's/^/| /' conftest.$ac_ext >&5 3359 3360{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3362as_fn_error $? "cannot compute suffix of object files: cannot compile 3363See \`config.log' for more details" "$LINENO" 5; } 3364fi 3365rm -f conftest.$ac_cv_objext conftest.$ac_ext 3366fi 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3368$as_echo "$ac_cv_objext" >&6; } 3369OBJEXT=$ac_cv_objext 3370ac_objext=$OBJEXT 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3372$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3373if ${ac_cv_c_compiler_gnu+:} false; then : 3374 $as_echo_n "(cached) " >&6 3375else 3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3377/* end confdefs.h. */ 3378 3379int 3380main () 3381{ 3382#ifndef __GNUC__ 3383 choke me 3384#endif 3385 3386 ; 3387 return 0; 3388} 3389_ACEOF 3390if ac_fn_c_try_compile "$LINENO"; then : 3391 ac_compiler_gnu=yes 3392else 3393 ac_compiler_gnu=no 3394fi 3395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3396ac_cv_c_compiler_gnu=$ac_compiler_gnu 3397 3398fi 3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3400$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3401if test $ac_compiler_gnu = yes; then 3402 GCC=yes 3403else 3404 GCC= 3405fi 3406ac_test_CFLAGS=${CFLAGS+set} 3407ac_save_CFLAGS=$CFLAGS 3408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3409$as_echo_n "checking whether $CC accepts -g... " >&6; } 3410if ${ac_cv_prog_cc_g+:} false; then : 3411 $as_echo_n "(cached) " >&6 3412else 3413 ac_save_c_werror_flag=$ac_c_werror_flag 3414 ac_c_werror_flag=yes 3415 ac_cv_prog_cc_g=no 3416 CFLAGS="-g" 3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3418/* end confdefs.h. */ 3419 3420int 3421main () 3422{ 3423 3424 ; 3425 return 0; 3426} 3427_ACEOF 3428if ac_fn_c_try_compile "$LINENO"; then : 3429 ac_cv_prog_cc_g=yes 3430else 3431 CFLAGS="" 3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3433/* end confdefs.h. */ 3434 3435int 3436main () 3437{ 3438 3439 ; 3440 return 0; 3441} 3442_ACEOF 3443if ac_fn_c_try_compile "$LINENO"; then : 3444 3445else 3446 ac_c_werror_flag=$ac_save_c_werror_flag 3447 CFLAGS="-g" 3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3449/* end confdefs.h. */ 3450 3451int 3452main () 3453{ 3454 3455 ; 3456 return 0; 3457} 3458_ACEOF 3459if ac_fn_c_try_compile "$LINENO"; then : 3460 ac_cv_prog_cc_g=yes 3461fi 3462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3463fi 3464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3465fi 3466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3467 ac_c_werror_flag=$ac_save_c_werror_flag 3468fi 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3470$as_echo "$ac_cv_prog_cc_g" >&6; } 3471if test "$ac_test_CFLAGS" = set; then 3472 CFLAGS=$ac_save_CFLAGS 3473elif test $ac_cv_prog_cc_g = yes; then 3474 if test "$GCC" = yes; then 3475 CFLAGS="-g -O2" 3476 else 3477 CFLAGS="-g" 3478 fi 3479else 3480 if test "$GCC" = yes; then 3481 CFLAGS="-O2" 3482 else 3483 CFLAGS= 3484 fi 3485fi 3486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3487$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3488if ${ac_cv_prog_cc_c89+:} false; then : 3489 $as_echo_n "(cached) " >&6 3490else 3491 ac_cv_prog_cc_c89=no 3492ac_save_CC=$CC 3493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3494/* end confdefs.h. */ 3495#include <stdarg.h> 3496#include <stdio.h> 3497#include <sys/types.h> 3498#include <sys/stat.h> 3499/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3500struct buf { int x; }; 3501FILE * (*rcsopen) (struct buf *, struct stat *, int); 3502static char *e (p, i) 3503 char **p; 3504 int i; 3505{ 3506 return p[i]; 3507} 3508static char *f (char * (*g) (char **, int), char **p, ...) 3509{ 3510 char *s; 3511 va_list v; 3512 va_start (v,p); 3513 s = g (p, va_arg (v,int)); 3514 va_end (v); 3515 return s; 3516} 3517 3518/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3519 function prototypes and stuff, but not '\xHH' hex character constants. 3520 These don't provoke an error unfortunately, instead are silently treated 3521 as 'x'. The following induces an error, until -std is added to get 3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3523 array size at least. It's necessary to write '\x00'==0 to get something 3524 that's true only with -std. */ 3525int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3526 3527/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3528 inside strings and character constants. */ 3529#define FOO(x) 'x' 3530int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3531 3532int test (int i, double x); 3533struct s1 {int (*f) (int a);}; 3534struct s2 {int (*f) (double a);}; 3535int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3536int argc; 3537char **argv; 3538int 3539main () 3540{ 3541return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3542 ; 3543 return 0; 3544} 3545_ACEOF 3546for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3548do 3549 CC="$ac_save_CC $ac_arg" 3550 if ac_fn_c_try_compile "$LINENO"; then : 3551 ac_cv_prog_cc_c89=$ac_arg 3552fi 3553rm -f core conftest.err conftest.$ac_objext 3554 test "x$ac_cv_prog_cc_c89" != "xno" && break 3555done 3556rm -f conftest.$ac_ext 3557CC=$ac_save_CC 3558 3559fi 3560# AC_CACHE_VAL 3561case "x$ac_cv_prog_cc_c89" in 3562 x) 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3564$as_echo "none needed" >&6; } ;; 3565 xno) 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3567$as_echo "unsupported" >&6; } ;; 3568 *) 3569 CC="$CC $ac_cv_prog_cc_c89" 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3571$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3572esac 3573if test "x$ac_cv_prog_cc_c89" != xno; then : 3574 3575fi 3576 3577ac_ext=c 3578ac_cpp='$CPP $CPPFLAGS' 3579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3581ac_compiler_gnu=$ac_cv_c_compiler_gnu 3582DEPDIR="${am__leading_dot}deps" 3583 3584ac_config_commands="$ac_config_commands depfiles" 3585 3586 3587am_make=${MAKE-make} 3588cat > confinc << 'END' 3589am__doit: 3590 @echo this is the am__doit target 3591.PHONY: am__doit 3592END 3593# If we don't find an include directive, just comment out the code. 3594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3595$as_echo_n "checking for style of include used by $am_make... " >&6; } 3596am__include="#" 3597am__quote= 3598_am_result=none 3599# First try GNU make style include. 3600echo "include confinc" > confmf 3601# Ignore all kinds of additional output from `make'. 3602case `$am_make -s -f confmf 2> /dev/null` in #( 3603*the\ am__doit\ target*) 3604 am__include=include 3605 am__quote= 3606 _am_result=GNU 3607 ;; 3608esac 3609# Now try BSD make style include. 3610if test "$am__include" = "#"; then 3611 echo '.include "confinc"' > confmf 3612 case `$am_make -s -f confmf 2> /dev/null` in #( 3613 *the\ am__doit\ target*) 3614 am__include=.include 3615 am__quote="\"" 3616 _am_result=BSD 3617 ;; 3618 esac 3619fi 3620 3621 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3623$as_echo "$_am_result" >&6; } 3624rm -f confinc confmf 3625 3626# Check whether --enable-dependency-tracking was given. 3627if test "${enable_dependency_tracking+set}" = set; then : 3628 enableval=$enable_dependency_tracking; 3629fi 3630 3631if test "x$enable_dependency_tracking" != xno; then 3632 am_depcomp="$ac_aux_dir/depcomp" 3633 AMDEPBACKSLASH='\' 3634fi 3635 if test "x$enable_dependency_tracking" != xno; then 3636 AMDEP_TRUE= 3637 AMDEP_FALSE='#' 3638else 3639 AMDEP_TRUE='#' 3640 AMDEP_FALSE= 3641fi 3642 3643 3644 3645depcc="$CC" am_compiler_list= 3646 3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3648$as_echo_n "checking dependency style of $depcc... " >&6; } 3649if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3650 $as_echo_n "(cached) " >&6 3651else 3652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3653 # We make a subdir and do the tests there. Otherwise we can end up 3654 # making bogus files that we don't know about and never remove. For 3655 # instance it was reported that on HP-UX the gcc test will end up 3656 # making a dummy file named `D' -- because `-MD' means `put the output 3657 # in D'. 3658 mkdir conftest.dir 3659 # Copy depcomp to subdir because otherwise we won't find it if we're 3660 # using a relative directory. 3661 cp "$am_depcomp" conftest.dir 3662 cd conftest.dir 3663 # We will build objects and dependencies in a subdirectory because 3664 # it helps to detect inapplicable dependency modes. For instance 3665 # both Tru64's cc and ICC support -MD to output dependencies as a 3666 # side effect of compilation, but ICC will put the dependencies in 3667 # the current directory while Tru64 will put them in the object 3668 # directory. 3669 mkdir sub 3670 3671 am_cv_CC_dependencies_compiler_type=none 3672 if test "$am_compiler_list" = ""; then 3673 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3674 fi 3675 am__universal=false 3676 case " $depcc " in #( 3677 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3678 esac 3679 3680 for depmode in $am_compiler_list; do 3681 # Setup a source with many dependencies, because some compilers 3682 # like to wrap large dependency lists on column 80 (with \), and 3683 # we should not choose a depcomp mode which is confused by this. 3684 # 3685 # We need to recreate these files for each test, as the compiler may 3686 # overwrite some of them when testing with obscure command lines. 3687 # This happens at least with the AIX C compiler. 3688 : > sub/conftest.c 3689 for i in 1 2 3 4 5 6; do 3690 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3691 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3692 # Solaris 8's {/usr,}/bin/sh. 3693 touch sub/conftst$i.h 3694 done 3695 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3696 3697 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3698 # mode. It turns out that the SunPro C++ compiler does not properly 3699 # handle `-M -o', and we need to detect this. Also, some Intel 3700 # versions had trouble with output in subdirs 3701 am__obj=sub/conftest.${OBJEXT-o} 3702 am__minus_obj="-o $am__obj" 3703 case $depmode in 3704 gcc) 3705 # This depmode causes a compiler race in universal mode. 3706 test "$am__universal" = false || continue 3707 ;; 3708 nosideeffect) 3709 # after this tag, mechanisms are not by side-effect, so they'll 3710 # only be used when explicitly requested 3711 if test "x$enable_dependency_tracking" = xyes; then 3712 continue 3713 else 3714 break 3715 fi 3716 ;; 3717 msvisualcpp | msvcmsys) 3718 # This compiler won't grok `-c -o', but also, the minuso test has 3719 # not run yet. These depmodes are late enough in the game, and 3720 # so weak that their functioning should not be impacted. 3721 am__obj=conftest.${OBJEXT-o} 3722 am__minus_obj= 3723 ;; 3724 none) break ;; 3725 esac 3726 if depmode=$depmode \ 3727 source=sub/conftest.c object=$am__obj \ 3728 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3729 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3730 >/dev/null 2>conftest.err && 3731 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3732 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3733 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3734 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3735 # icc doesn't choke on unknown options, it will just issue warnings 3736 # or remarks (even with -Werror). So we grep stderr for any message 3737 # that says an option was ignored or not supported. 3738 # When given -MP, icc 7.0 and 7.1 complain thusly: 3739 # icc: Command line warning: ignoring option '-M'; no argument required 3740 # The diagnosis changed in icc 8.0: 3741 # icc: Command line remark: option '-MP' not supported 3742 if (grep 'ignoring option' conftest.err || 3743 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3744 am_cv_CC_dependencies_compiler_type=$depmode 3745 break 3746 fi 3747 fi 3748 done 3749 3750 cd .. 3751 rm -rf conftest.dir 3752else 3753 am_cv_CC_dependencies_compiler_type=none 3754fi 3755 3756fi 3757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3758$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3759CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3760 3761 if 3762 test "x$enable_dependency_tracking" != xno \ 3763 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3764 am__fastdepCC_TRUE= 3765 am__fastdepCC_FALSE='#' 3766else 3767 am__fastdepCC_TRUE='#' 3768 am__fastdepCC_FALSE= 3769fi 3770 3771 3772 3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 3774$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 3775if ${ac_cv_c_const+:} false; then : 3776 $as_echo_n "(cached) " >&6 3777else 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3779/* end confdefs.h. */ 3780 3781int 3782main () 3783{ 3784/* FIXME: Include the comments suggested by Paul. */ 3785#ifndef __cplusplus 3786 /* Ultrix mips cc rejects this. */ 3787 typedef int charset[2]; 3788 const charset cs; 3789 /* SunOS 4.1.1 cc rejects this. */ 3790 char const *const *pcpcc; 3791 char **ppc; 3792 /* NEC SVR4.0.2 mips cc rejects this. */ 3793 struct point {int x, y;}; 3794 static struct point const zero = {0,0}; 3795 /* AIX XL C 1.02.0.0 rejects this. 3796 It does not let you subtract one const X* pointer from another in 3797 an arm of an if-expression whose if-part is not a constant 3798 expression */ 3799 const char *g = "string"; 3800 pcpcc = &g + (g ? g-g : 0); 3801 /* HPUX 7.0 cc rejects these. */ 3802 ++pcpcc; 3803 ppc = (char**) pcpcc; 3804 pcpcc = (char const *const *) ppc; 3805 { /* SCO 3.2v4 cc rejects this. */ 3806 char *t; 3807 char const *s = 0 ? (char *) 0 : (char const *) 0; 3808 3809 *t++ = 0; 3810 if (s) return 0; 3811 } 3812 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3813 int x[] = {25, 17}; 3814 const int *foo = &x[0]; 3815 ++foo; 3816 } 3817 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3818 typedef const int *iptr; 3819 iptr p = 0; 3820 ++p; 3821 } 3822 { /* AIX XL C 1.02.0.0 rejects this saying 3823 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3824 struct s { int j; const int *ap[3]; }; 3825 struct s *b; b->j = 5; 3826 } 3827 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3828 const int foo = 10; 3829 if (!foo) return 0; 3830 } 3831 return !cs[0] && !zero.x; 3832#endif 3833 3834 ; 3835 return 0; 3836} 3837_ACEOF 3838if ac_fn_c_try_compile "$LINENO"; then : 3839 ac_cv_c_const=yes 3840else 3841 ac_cv_c_const=no 3842fi 3843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3844fi 3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 3846$as_echo "$ac_cv_c_const" >&6; } 3847if test $ac_cv_c_const = no; then 3848 3849$as_echo "#define const /**/" >>confdefs.h 3850 3851fi 3852 3853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 3854$as_echo_n "checking for inline... " >&6; } 3855if ${ac_cv_c_inline+:} false; then : 3856 $as_echo_n "(cached) " >&6 3857else 3858 ac_cv_c_inline=no 3859for ac_kw in inline __inline__ __inline; do 3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3861/* end confdefs.h. */ 3862#ifndef __cplusplus 3863typedef int foo_t; 3864static $ac_kw foo_t static_foo () {return 0; } 3865$ac_kw foo_t foo () {return 0; } 3866#endif 3867 3868_ACEOF 3869if ac_fn_c_try_compile "$LINENO"; then : 3870 ac_cv_c_inline=$ac_kw 3871fi 3872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3873 test "$ac_cv_c_inline" != no && break 3874done 3875 3876fi 3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 3878$as_echo "$ac_cv_c_inline" >&6; } 3879 3880case $ac_cv_c_inline in 3881 inline | yes) ;; 3882 *) 3883 case $ac_cv_c_inline in 3884 no) ac_val=;; 3885 *) ac_val=$ac_cv_c_inline;; 3886 esac 3887 cat >>confdefs.h <<_ACEOF 3888#ifndef __cplusplus 3889#define inline $ac_val 3890#endif 3891_ACEOF 3892 ;; 3893esac 3894 3895case `pwd` in 3896 *\ * | *\ *) 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3898$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3899esac 3900 3901 3902 3903macro_version='2.4' 3904macro_revision='1.3293' 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918ltmain="$ac_aux_dir/ltmain.sh" 3919 3920# Make sure we can run config.sub. 3921$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3922 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3923 3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3925$as_echo_n "checking build system type... " >&6; } 3926if ${ac_cv_build+:} false; then : 3927 $as_echo_n "(cached) " >&6 3928else 3929 ac_build_alias=$build_alias 3930test "x$ac_build_alias" = x && 3931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3932test "x$ac_build_alias" = x && 3933 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3934ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3936 3937fi 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3939$as_echo "$ac_cv_build" >&6; } 3940case $ac_cv_build in 3941*-*-*) ;; 3942*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3943esac 3944build=$ac_cv_build 3945ac_save_IFS=$IFS; IFS='-' 3946set x $ac_cv_build 3947shift 3948build_cpu=$1 3949build_vendor=$2 3950shift; shift 3951# Remember, the first character of IFS is used to create $*, 3952# except with old shells: 3953build_os=$* 3954IFS=$ac_save_IFS 3955case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3956 3957 3958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3959$as_echo_n "checking host system type... " >&6; } 3960if ${ac_cv_host+:} false; then : 3961 $as_echo_n "(cached) " >&6 3962else 3963 if test "x$host_alias" = x; then 3964 ac_cv_host=$ac_cv_build 3965else 3966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3967 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3968fi 3969 3970fi 3971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3972$as_echo "$ac_cv_host" >&6; } 3973case $ac_cv_host in 3974*-*-*) ;; 3975*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3976esac 3977host=$ac_cv_host 3978ac_save_IFS=$IFS; IFS='-' 3979set x $ac_cv_host 3980shift 3981host_cpu=$1 3982host_vendor=$2 3983shift; shift 3984# Remember, the first character of IFS is used to create $*, 3985# except with old shells: 3986host_os=$* 3987IFS=$ac_save_IFS 3988case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3989 3990 3991# Backslashify metacharacters that are still active within 3992# double-quoted strings. 3993sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3994 3995# Same as above, but do not quote variable references. 3996double_quote_subst='s/\(["`\\]\)/\\\1/g' 3997 3998# Sed substitution to delay expansion of an escaped shell variable in a 3999# double_quote_subst'ed string. 4000delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4001 4002# Sed substitution to delay expansion of an escaped single quote. 4003delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4004 4005# Sed substitution to avoid accidental globbing in evaled expressions 4006no_glob_subst='s/\*/\\\*/g' 4007 4008ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4009ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4010ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4011 4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4013$as_echo_n "checking how to print strings... " >&6; } 4014# Test print first, because it will be a builtin if present. 4015if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4016 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4017 ECHO='print -r --' 4018elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4019 ECHO='printf %s\n' 4020else 4021 # Use this function as a fallback that always works. 4022 func_fallback_echo () 4023 { 4024 eval 'cat <<_LTECHO_EOF 4025$1 4026_LTECHO_EOF' 4027 } 4028 ECHO='func_fallback_echo' 4029fi 4030 4031# func_echo_all arg... 4032# Invoke $ECHO with all args, space-separated. 4033func_echo_all () 4034{ 4035 $ECHO "" 4036} 4037 4038case "$ECHO" in 4039 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4040$as_echo "printf" >&6; } ;; 4041 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4042$as_echo "print -r" >&6; } ;; 4043 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4044$as_echo "cat" >&6; } ;; 4045esac 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4061$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4062if ${ac_cv_path_SED+:} false; then : 4063 $as_echo_n "(cached) " >&6 4064else 4065 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4066 for ac_i in 1 2 3 4 5 6 7; do 4067 ac_script="$ac_script$as_nl$ac_script" 4068 done 4069 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4070 { ac_script=; unset ac_script;} 4071 if test -z "$SED"; then 4072 ac_path_SED_found=false 4073 # Loop through the user's path and test for each of PROGNAME-LIST 4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4075for as_dir in $PATH 4076do 4077 IFS=$as_save_IFS 4078 test -z "$as_dir" && as_dir=. 4079 for ac_prog in sed gsed; do 4080 for ac_exec_ext in '' $ac_executable_extensions; do 4081 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4082 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4083# Check for GNU ac_path_SED and select it if it is found. 4084 # Check for GNU $ac_path_SED 4085case `"$ac_path_SED" --version 2>&1` in 4086*GNU*) 4087 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4088*) 4089 ac_count=0 4090 $as_echo_n 0123456789 >"conftest.in" 4091 while : 4092 do 4093 cat "conftest.in" "conftest.in" >"conftest.tmp" 4094 mv "conftest.tmp" "conftest.in" 4095 cp "conftest.in" "conftest.nl" 4096 $as_echo '' >> "conftest.nl" 4097 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4099 as_fn_arith $ac_count + 1 && ac_count=$as_val 4100 if test $ac_count -gt ${ac_path_SED_max-0}; then 4101 # Best one so far, save it but keep looking for a better one 4102 ac_cv_path_SED="$ac_path_SED" 4103 ac_path_SED_max=$ac_count 4104 fi 4105 # 10*(2^10) chars as input seems more than enough 4106 test $ac_count -gt 10 && break 4107 done 4108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4109esac 4110 4111 $ac_path_SED_found && break 3 4112 done 4113 done 4114 done 4115IFS=$as_save_IFS 4116 if test -z "$ac_cv_path_SED"; then 4117 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4118 fi 4119else 4120 ac_cv_path_SED=$SED 4121fi 4122 4123fi 4124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4125$as_echo "$ac_cv_path_SED" >&6; } 4126 SED="$ac_cv_path_SED" 4127 rm -f conftest.sed 4128 4129test -z "$SED" && SED=sed 4130Xsed="$SED -e 1s/^X//" 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4143$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4144if ${ac_cv_path_GREP+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146else 4147 if test -z "$GREP"; then 4148 ac_path_GREP_found=false 4149 # Loop through the user's path and test for each of PROGNAME-LIST 4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4151for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4152do 4153 IFS=$as_save_IFS 4154 test -z "$as_dir" && as_dir=. 4155 for ac_prog in grep ggrep; do 4156 for ac_exec_ext in '' $ac_executable_extensions; do 4157 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4159# Check for GNU ac_path_GREP and select it if it is found. 4160 # Check for GNU $ac_path_GREP 4161case `"$ac_path_GREP" --version 2>&1` in 4162*GNU*) 4163 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4164*) 4165 ac_count=0 4166 $as_echo_n 0123456789 >"conftest.in" 4167 while : 4168 do 4169 cat "conftest.in" "conftest.in" >"conftest.tmp" 4170 mv "conftest.tmp" "conftest.in" 4171 cp "conftest.in" "conftest.nl" 4172 $as_echo 'GREP' >> "conftest.nl" 4173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4175 as_fn_arith $ac_count + 1 && ac_count=$as_val 4176 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4177 # Best one so far, save it but keep looking for a better one 4178 ac_cv_path_GREP="$ac_path_GREP" 4179 ac_path_GREP_max=$ac_count 4180 fi 4181 # 10*(2^10) chars as input seems more than enough 4182 test $ac_count -gt 10 && break 4183 done 4184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4185esac 4186 4187 $ac_path_GREP_found && break 3 4188 done 4189 done 4190 done 4191IFS=$as_save_IFS 4192 if test -z "$ac_cv_path_GREP"; then 4193 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4194 fi 4195else 4196 ac_cv_path_GREP=$GREP 4197fi 4198 4199fi 4200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4201$as_echo "$ac_cv_path_GREP" >&6; } 4202 GREP="$ac_cv_path_GREP" 4203 4204 4205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4206$as_echo_n "checking for egrep... " >&6; } 4207if ${ac_cv_path_EGREP+:} false; then : 4208 $as_echo_n "(cached) " >&6 4209else 4210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4211 then ac_cv_path_EGREP="$GREP -E" 4212 else 4213 if test -z "$EGREP"; then 4214 ac_path_EGREP_found=false 4215 # Loop through the user's path and test for each of PROGNAME-LIST 4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4217for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4218do 4219 IFS=$as_save_IFS 4220 test -z "$as_dir" && as_dir=. 4221 for ac_prog in egrep; do 4222 for ac_exec_ext in '' $ac_executable_extensions; do 4223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4225# Check for GNU ac_path_EGREP and select it if it is found. 4226 # Check for GNU $ac_path_EGREP 4227case `"$ac_path_EGREP" --version 2>&1` in 4228*GNU*) 4229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4230*) 4231 ac_count=0 4232 $as_echo_n 0123456789 >"conftest.in" 4233 while : 4234 do 4235 cat "conftest.in" "conftest.in" >"conftest.tmp" 4236 mv "conftest.tmp" "conftest.in" 4237 cp "conftest.in" "conftest.nl" 4238 $as_echo 'EGREP' >> "conftest.nl" 4239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4241 as_fn_arith $ac_count + 1 && ac_count=$as_val 4242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4243 # Best one so far, save it but keep looking for a better one 4244 ac_cv_path_EGREP="$ac_path_EGREP" 4245 ac_path_EGREP_max=$ac_count 4246 fi 4247 # 10*(2^10) chars as input seems more than enough 4248 test $ac_count -gt 10 && break 4249 done 4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4251esac 4252 4253 $ac_path_EGREP_found && break 3 4254 done 4255 done 4256 done 4257IFS=$as_save_IFS 4258 if test -z "$ac_cv_path_EGREP"; then 4259 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4260 fi 4261else 4262 ac_cv_path_EGREP=$EGREP 4263fi 4264 4265 fi 4266fi 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4268$as_echo "$ac_cv_path_EGREP" >&6; } 4269 EGREP="$ac_cv_path_EGREP" 4270 4271 4272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4273$as_echo_n "checking for fgrep... " >&6; } 4274if ${ac_cv_path_FGREP+:} false; then : 4275 $as_echo_n "(cached) " >&6 4276else 4277 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4278 then ac_cv_path_FGREP="$GREP -F" 4279 else 4280 if test -z "$FGREP"; then 4281 ac_path_FGREP_found=false 4282 # Loop through the user's path and test for each of PROGNAME-LIST 4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4284for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4285do 4286 IFS=$as_save_IFS 4287 test -z "$as_dir" && as_dir=. 4288 for ac_prog in fgrep; do 4289 for ac_exec_ext in '' $ac_executable_extensions; do 4290 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4291 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4292# Check for GNU ac_path_FGREP and select it if it is found. 4293 # Check for GNU $ac_path_FGREP 4294case `"$ac_path_FGREP" --version 2>&1` in 4295*GNU*) 4296 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4297*) 4298 ac_count=0 4299 $as_echo_n 0123456789 >"conftest.in" 4300 while : 4301 do 4302 cat "conftest.in" "conftest.in" >"conftest.tmp" 4303 mv "conftest.tmp" "conftest.in" 4304 cp "conftest.in" "conftest.nl" 4305 $as_echo 'FGREP' >> "conftest.nl" 4306 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4308 as_fn_arith $ac_count + 1 && ac_count=$as_val 4309 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4310 # Best one so far, save it but keep looking for a better one 4311 ac_cv_path_FGREP="$ac_path_FGREP" 4312 ac_path_FGREP_max=$ac_count 4313 fi 4314 # 10*(2^10) chars as input seems more than enough 4315 test $ac_count -gt 10 && break 4316 done 4317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4318esac 4319 4320 $ac_path_FGREP_found && break 3 4321 done 4322 done 4323 done 4324IFS=$as_save_IFS 4325 if test -z "$ac_cv_path_FGREP"; then 4326 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4327 fi 4328else 4329 ac_cv_path_FGREP=$FGREP 4330fi 4331 4332 fi 4333fi 4334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4335$as_echo "$ac_cv_path_FGREP" >&6; } 4336 FGREP="$ac_cv_path_FGREP" 4337 4338 4339test -z "$GREP" && GREP=grep 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359# Check whether --with-gnu-ld was given. 4360if test "${with_gnu_ld+set}" = set; then : 4361 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4362else 4363 with_gnu_ld=no 4364fi 4365 4366ac_prog=ld 4367if test "$GCC" = yes; then 4368 # Check if gcc -print-prog-name=ld gives a path. 4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4370$as_echo_n "checking for ld used by $CC... " >&6; } 4371 case $host in 4372 *-*-mingw*) 4373 # gcc leaves a trailing carriage return which upsets mingw 4374 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4375 *) 4376 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4377 esac 4378 case $ac_prog in 4379 # Accept absolute paths. 4380 [\\/]* | ?:[\\/]*) 4381 re_direlt='/[^/][^/]*/\.\./' 4382 # Canonicalize the pathname of ld 4383 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4384 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4385 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4386 done 4387 test -z "$LD" && LD="$ac_prog" 4388 ;; 4389 "") 4390 # If it fails, then pretend we aren't using GCC. 4391 ac_prog=ld 4392 ;; 4393 *) 4394 # If it is relative, then search for the first ld in PATH. 4395 with_gnu_ld=unknown 4396 ;; 4397 esac 4398elif test "$with_gnu_ld" = yes; then 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4400$as_echo_n "checking for GNU ld... " >&6; } 4401else 4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4403$as_echo_n "checking for non-GNU ld... " >&6; } 4404fi 4405if ${lt_cv_path_LD+:} false; then : 4406 $as_echo_n "(cached) " >&6 4407else 4408 if test -z "$LD"; then 4409 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4410 for ac_dir in $PATH; do 4411 IFS="$lt_save_ifs" 4412 test -z "$ac_dir" && ac_dir=. 4413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4414 lt_cv_path_LD="$ac_dir/$ac_prog" 4415 # Check to see if the program is GNU ld. I'd rather use --version, 4416 # but apparently some variants of GNU ld only accept -v. 4417 # Break only if it was the GNU/non-GNU ld that we prefer. 4418 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4419 *GNU* | *'with BFD'*) 4420 test "$with_gnu_ld" != no && break 4421 ;; 4422 *) 4423 test "$with_gnu_ld" != yes && break 4424 ;; 4425 esac 4426 fi 4427 done 4428 IFS="$lt_save_ifs" 4429else 4430 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4431fi 4432fi 4433 4434LD="$lt_cv_path_LD" 4435if test -n "$LD"; then 4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4437$as_echo "$LD" >&6; } 4438else 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4440$as_echo "no" >&6; } 4441fi 4442test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4444$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4445if ${lt_cv_prog_gnu_ld+:} false; then : 4446 $as_echo_n "(cached) " >&6 4447else 4448 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4449case `$LD -v 2>&1 </dev/null` in 4450*GNU* | *'with BFD'*) 4451 lt_cv_prog_gnu_ld=yes 4452 ;; 4453*) 4454 lt_cv_prog_gnu_ld=no 4455 ;; 4456esac 4457fi 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4459$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4460with_gnu_ld=$lt_cv_prog_gnu_ld 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4471$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4472if ${lt_cv_path_NM+:} false; then : 4473 $as_echo_n "(cached) " >&6 4474else 4475 if test -n "$NM"; then 4476 # Let the user override the test. 4477 lt_cv_path_NM="$NM" 4478else 4479 lt_nm_to_check="${ac_tool_prefix}nm" 4480 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4481 lt_nm_to_check="$lt_nm_to_check nm" 4482 fi 4483 for lt_tmp_nm in $lt_nm_to_check; do 4484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4485 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4486 IFS="$lt_save_ifs" 4487 test -z "$ac_dir" && ac_dir=. 4488 tmp_nm="$ac_dir/$lt_tmp_nm" 4489 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4490 # Check to see if the nm accepts a BSD-compat flag. 4491 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4492 # nm: unknown option "B" ignored 4493 # Tru64's nm complains that /dev/null is an invalid object file 4494 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4495 */dev/null* | *'Invalid file or object type'*) 4496 lt_cv_path_NM="$tmp_nm -B" 4497 break 4498 ;; 4499 *) 4500 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4501 */dev/null*) 4502 lt_cv_path_NM="$tmp_nm -p" 4503 break 4504 ;; 4505 *) 4506 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4507 continue # so that we can try to find one that supports BSD flags 4508 ;; 4509 esac 4510 ;; 4511 esac 4512 fi 4513 done 4514 IFS="$lt_save_ifs" 4515 done 4516 : ${lt_cv_path_NM=no} 4517fi 4518fi 4519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4520$as_echo "$lt_cv_path_NM" >&6; } 4521if test "$lt_cv_path_NM" != "no"; then 4522 NM="$lt_cv_path_NM" 4523else 4524 # Didn't find any BSD compatible name lister, look for dumpbin. 4525 if test -n "$DUMPBIN"; then : 4526 # Let the user override the test. 4527 else 4528 if test -n "$ac_tool_prefix"; then 4529 for ac_prog in dumpbin "link -dump" 4530 do 4531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4532set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4534$as_echo_n "checking for $ac_word... " >&6; } 4535if ${ac_cv_prog_DUMPBIN+:} false; then : 4536 $as_echo_n "(cached) " >&6 4537else 4538 if test -n "$DUMPBIN"; then 4539 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4540else 4541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4542for as_dir in $PATH 4543do 4544 IFS=$as_save_IFS 4545 test -z "$as_dir" && as_dir=. 4546 for ac_exec_ext in '' $ac_executable_extensions; do 4547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4548 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4550 break 2 4551 fi 4552done 4553 done 4554IFS=$as_save_IFS 4555 4556fi 4557fi 4558DUMPBIN=$ac_cv_prog_DUMPBIN 4559if test -n "$DUMPBIN"; then 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4561$as_echo "$DUMPBIN" >&6; } 4562else 4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4564$as_echo "no" >&6; } 4565fi 4566 4567 4568 test -n "$DUMPBIN" && break 4569 done 4570fi 4571if test -z "$DUMPBIN"; then 4572 ac_ct_DUMPBIN=$DUMPBIN 4573 for ac_prog in dumpbin "link -dump" 4574do 4575 # Extract the first word of "$ac_prog", so it can be a program name with args. 4576set dummy $ac_prog; ac_word=$2 4577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4578$as_echo_n "checking for $ac_word... " >&6; } 4579if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4580 $as_echo_n "(cached) " >&6 4581else 4582 if test -n "$ac_ct_DUMPBIN"; then 4583 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4584else 4585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4586for as_dir in $PATH 4587do 4588 IFS=$as_save_IFS 4589 test -z "$as_dir" && as_dir=. 4590 for ac_exec_ext in '' $ac_executable_extensions; do 4591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4592 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4594 break 2 4595 fi 4596done 4597 done 4598IFS=$as_save_IFS 4599 4600fi 4601fi 4602ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4603if test -n "$ac_ct_DUMPBIN"; then 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4605$as_echo "$ac_ct_DUMPBIN" >&6; } 4606else 4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4608$as_echo "no" >&6; } 4609fi 4610 4611 4612 test -n "$ac_ct_DUMPBIN" && break 4613done 4614 4615 if test "x$ac_ct_DUMPBIN" = x; then 4616 DUMPBIN=":" 4617 else 4618 case $cross_compiling:$ac_tool_warned in 4619yes:) 4620{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4621$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4622ac_tool_warned=yes ;; 4623esac 4624 DUMPBIN=$ac_ct_DUMPBIN 4625 fi 4626fi 4627 4628 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4629 *COFF*) 4630 DUMPBIN="$DUMPBIN -symbols" 4631 ;; 4632 *) 4633 DUMPBIN=: 4634 ;; 4635 esac 4636 fi 4637 4638 if test "$DUMPBIN" != ":"; then 4639 NM="$DUMPBIN" 4640 fi 4641fi 4642test -z "$NM" && NM=nm 4643 4644 4645 4646 4647 4648 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4650$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4651if ${lt_cv_nm_interface+:} false; then : 4652 $as_echo_n "(cached) " >&6 4653else 4654 lt_cv_nm_interface="BSD nm" 4655 echo "int some_variable = 0;" > conftest.$ac_ext 4656 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4657 (eval "$ac_compile" 2>conftest.err) 4658 cat conftest.err >&5 4659 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4660 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4661 cat conftest.err >&5 4662 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4663 cat conftest.out >&5 4664 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4665 lt_cv_nm_interface="MS dumpbin" 4666 fi 4667 rm -f conftest* 4668fi 4669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4670$as_echo "$lt_cv_nm_interface" >&6; } 4671 4672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4673$as_echo_n "checking whether ln -s works... " >&6; } 4674LN_S=$as_ln_s 4675if test "$LN_S" = "ln -s"; then 4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4677$as_echo "yes" >&6; } 4678else 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4680$as_echo "no, using $LN_S" >&6; } 4681fi 4682 4683# find the maximum length of command line arguments 4684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4685$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4686if ${lt_cv_sys_max_cmd_len+:} false; then : 4687 $as_echo_n "(cached) " >&6 4688else 4689 i=0 4690 teststring="ABCD" 4691 4692 case $build_os in 4693 msdosdjgpp*) 4694 # On DJGPP, this test can blow up pretty badly due to problems in libc 4695 # (any single argument exceeding 2000 bytes causes a buffer overrun 4696 # during glob expansion). Even if it were fixed, the result of this 4697 # check would be larger than it should be. 4698 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4699 ;; 4700 4701 gnu*) 4702 # Under GNU Hurd, this test is not required because there is 4703 # no limit to the length of command line arguments. 4704 # Libtool will interpret -1 as no limit whatsoever 4705 lt_cv_sys_max_cmd_len=-1; 4706 ;; 4707 4708 cygwin* | mingw* | cegcc*) 4709 # On Win9x/ME, this test blows up -- it succeeds, but takes 4710 # about 5 minutes as the teststring grows exponentially. 4711 # Worse, since 9x/ME are not pre-emptively multitasking, 4712 # you end up with a "frozen" computer, even though with patience 4713 # the test eventually succeeds (with a max line length of 256k). 4714 # Instead, let's just punt: use the minimum linelength reported by 4715 # all of the supported platforms: 8192 (on NT/2K/XP). 4716 lt_cv_sys_max_cmd_len=8192; 4717 ;; 4718 4719 mint*) 4720 # On MiNT this can take a long time and run out of memory. 4721 lt_cv_sys_max_cmd_len=8192; 4722 ;; 4723 4724 amigaos*) 4725 # On AmigaOS with pdksh, this test takes hours, literally. 4726 # So we just punt and use a minimum line length of 8192. 4727 lt_cv_sys_max_cmd_len=8192; 4728 ;; 4729 4730 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4731 # This has been around since 386BSD, at least. Likely further. 4732 if test -x /sbin/sysctl; then 4733 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4734 elif test -x /usr/sbin/sysctl; then 4735 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4736 else 4737 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4738 fi 4739 # And add a safety zone 4740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4742 ;; 4743 4744 interix*) 4745 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4746 lt_cv_sys_max_cmd_len=196608 4747 ;; 4748 4749 osf*) 4750 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4751 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4752 # nice to cause kernel panics so lets avoid the loop below. 4753 # First set a reasonable default. 4754 lt_cv_sys_max_cmd_len=16384 4755 # 4756 if test -x /sbin/sysconfig; then 4757 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4758 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4759 esac 4760 fi 4761 ;; 4762 sco3.2v5*) 4763 lt_cv_sys_max_cmd_len=102400 4764 ;; 4765 sysv5* | sco5v6* | sysv4.2uw2*) 4766 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4767 if test -n "$kargmax"; then 4768 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4769 else 4770 lt_cv_sys_max_cmd_len=32768 4771 fi 4772 ;; 4773 *) 4774 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4775 if test -n "$lt_cv_sys_max_cmd_len"; then 4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4778 else 4779 # Make teststring a little bigger before we do anything with it. 4780 # a 1K string should be a reasonable start. 4781 for i in 1 2 3 4 5 6 7 8 ; do 4782 teststring=$teststring$teststring 4783 done 4784 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4785 # If test is not a shell built-in, we'll probably end up computing a 4786 # maximum length that is only half of the actual maximum length, but 4787 # we can't tell. 4788 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 4789 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4790 test $i != 17 # 1/2 MB should be enough 4791 do 4792 i=`expr $i + 1` 4793 teststring=$teststring$teststring 4794 done 4795 # Only check the string length outside the loop. 4796 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4797 teststring= 4798 # Add a significant safety factor because C++ compilers can tack on 4799 # massive amounts of additional arguments before passing them to the 4800 # linker. It appears as though 1/2 is a usable value. 4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4802 fi 4803 ;; 4804 esac 4805 4806fi 4807 4808if test -n $lt_cv_sys_max_cmd_len ; then 4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4810$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4811else 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4813$as_echo "none" >&6; } 4814fi 4815max_cmd_len=$lt_cv_sys_max_cmd_len 4816 4817 4818 4819 4820 4821 4822: ${CP="cp -f"} 4823: ${MV="mv -f"} 4824: ${RM="rm -f"} 4825 4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4827$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4828# Try some XSI features 4829xsi_shell=no 4830( _lt_dummy="a/b/c" 4831 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4832 = c,a/b,b/c, \ 4833 && eval 'test $(( 1 + 1 )) -eq 2 \ 4834 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4835 && xsi_shell=yes 4836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4837$as_echo "$xsi_shell" >&6; } 4838 4839 4840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4841$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4842lt_shell_append=no 4843( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4844 >/dev/null 2>&1 \ 4845 && lt_shell_append=yes 4846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4847$as_echo "$lt_shell_append" >&6; } 4848 4849 4850if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4851 lt_unset=unset 4852else 4853 lt_unset=false 4854fi 4855 4856 4857 4858 4859 4860# test EBCDIC or ASCII 4861case `echo X|tr X '\101'` in 4862 A) # ASCII based system 4863 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4864 lt_SP2NL='tr \040 \012' 4865 lt_NL2SP='tr \015\012 \040\040' 4866 ;; 4867 *) # EBCDIC based system 4868 lt_SP2NL='tr \100 \n' 4869 lt_NL2SP='tr \r\n \100\100' 4870 ;; 4871esac 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4882$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4883if ${lt_cv_to_host_file_cmd+:} false; then : 4884 $as_echo_n "(cached) " >&6 4885else 4886 case $host in 4887 *-*-mingw* ) 4888 case $build in 4889 *-*-mingw* ) # actually msys 4890 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4891 ;; 4892 *-*-cygwin* ) 4893 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4894 ;; 4895 * ) # otherwise, assume *nix 4896 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4897 ;; 4898 esac 4899 ;; 4900 *-*-cygwin* ) 4901 case $build in 4902 *-*-mingw* ) # actually msys 4903 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4904 ;; 4905 *-*-cygwin* ) 4906 lt_cv_to_host_file_cmd=func_convert_file_noop 4907 ;; 4908 * ) # otherwise, assume *nix 4909 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4910 ;; 4911 esac 4912 ;; 4913 * ) # unhandled hosts (and "normal" native builds) 4914 lt_cv_to_host_file_cmd=func_convert_file_noop 4915 ;; 4916esac 4917 4918fi 4919 4920to_host_file_cmd=$lt_cv_to_host_file_cmd 4921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4922$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4923 4924 4925 4926 4927 4928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4929$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4930if ${lt_cv_to_tool_file_cmd+:} false; then : 4931 $as_echo_n "(cached) " >&6 4932else 4933 #assume ordinary cross tools, or native build. 4934lt_cv_to_tool_file_cmd=func_convert_file_noop 4935case $host in 4936 *-*-mingw* ) 4937 case $build in 4938 *-*-mingw* ) # actually msys 4939 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4940 ;; 4941 esac 4942 ;; 4943esac 4944 4945fi 4946 4947to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4949$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4950 4951 4952 4953 4954 4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4956$as_echo_n "checking for $LD option to reload object files... " >&6; } 4957if ${lt_cv_ld_reload_flag+:} false; then : 4958 $as_echo_n "(cached) " >&6 4959else 4960 lt_cv_ld_reload_flag='-r' 4961fi 4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4963$as_echo "$lt_cv_ld_reload_flag" >&6; } 4964reload_flag=$lt_cv_ld_reload_flag 4965case $reload_flag in 4966"" | " "*) ;; 4967*) reload_flag=" $reload_flag" ;; 4968esac 4969reload_cmds='$LD$reload_flag -o $output$reload_objs' 4970case $host_os in 4971 cygwin* | mingw* | pw32* | cegcc*) 4972 if test "$GCC" != yes; then 4973 reload_cmds=false 4974 fi 4975 ;; 4976 darwin*) 4977 if test "$GCC" = yes; then 4978 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4979 else 4980 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4981 fi 4982 ;; 4983esac 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993if test -n "$ac_tool_prefix"; then 4994 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4995set dummy ${ac_tool_prefix}objdump; ac_word=$2 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4997$as_echo_n "checking for $ac_word... " >&6; } 4998if ${ac_cv_prog_OBJDUMP+:} false; then : 4999 $as_echo_n "(cached) " >&6 5000else 5001 if test -n "$OBJDUMP"; then 5002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5003else 5004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5005for as_dir in $PATH 5006do 5007 IFS=$as_save_IFS 5008 test -z "$as_dir" && as_dir=. 5009 for ac_exec_ext in '' $ac_executable_extensions; do 5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5011 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5013 break 2 5014 fi 5015done 5016 done 5017IFS=$as_save_IFS 5018 5019fi 5020fi 5021OBJDUMP=$ac_cv_prog_OBJDUMP 5022if test -n "$OBJDUMP"; then 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5024$as_echo "$OBJDUMP" >&6; } 5025else 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5027$as_echo "no" >&6; } 5028fi 5029 5030 5031fi 5032if test -z "$ac_cv_prog_OBJDUMP"; then 5033 ac_ct_OBJDUMP=$OBJDUMP 5034 # Extract the first word of "objdump", so it can be a program name with args. 5035set dummy objdump; ac_word=$2 5036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5037$as_echo_n "checking for $ac_word... " >&6; } 5038if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5039 $as_echo_n "(cached) " >&6 5040else 5041 if test -n "$ac_ct_OBJDUMP"; then 5042 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5043else 5044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5045for as_dir in $PATH 5046do 5047 IFS=$as_save_IFS 5048 test -z "$as_dir" && as_dir=. 5049 for ac_exec_ext in '' $ac_executable_extensions; do 5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5051 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5053 break 2 5054 fi 5055done 5056 done 5057IFS=$as_save_IFS 5058 5059fi 5060fi 5061ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5062if test -n "$ac_ct_OBJDUMP"; then 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5064$as_echo "$ac_ct_OBJDUMP" >&6; } 5065else 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5067$as_echo "no" >&6; } 5068fi 5069 5070 if test "x$ac_ct_OBJDUMP" = x; then 5071 OBJDUMP="false" 5072 else 5073 case $cross_compiling:$ac_tool_warned in 5074yes:) 5075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5077ac_tool_warned=yes ;; 5078esac 5079 OBJDUMP=$ac_ct_OBJDUMP 5080 fi 5081else 5082 OBJDUMP="$ac_cv_prog_OBJDUMP" 5083fi 5084 5085test -z "$OBJDUMP" && OBJDUMP=objdump 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5096$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5097if ${lt_cv_deplibs_check_method+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 lt_cv_file_magic_cmd='$MAGIC_CMD' 5101lt_cv_file_magic_test_file= 5102lt_cv_deplibs_check_method='unknown' 5103# Need to set the preceding variable on all platforms that support 5104# interlibrary dependencies. 5105# 'none' -- dependencies not supported. 5106# `unknown' -- same as none, but documents that we really don't know. 5107# 'pass_all' -- all dependencies passed with no checks. 5108# 'test_compile' -- check by making test program. 5109# 'file_magic [[regex]]' -- check by looking for files in library path 5110# which responds to the $file_magic_cmd with a given extended regex. 5111# If you have `file' or equivalent on your system and you're not sure 5112# whether `pass_all' will *always* work, you probably want this one. 5113 5114case $host_os in 5115aix[4-9]*) 5116 lt_cv_deplibs_check_method=pass_all 5117 ;; 5118 5119beos*) 5120 lt_cv_deplibs_check_method=pass_all 5121 ;; 5122 5123bsdi[45]*) 5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5125 lt_cv_file_magic_cmd='/usr/bin/file -L' 5126 lt_cv_file_magic_test_file=/shlib/libc.so 5127 ;; 5128 5129cygwin*) 5130 # func_win32_libid is a shell function defined in ltmain.sh 5131 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5132 lt_cv_file_magic_cmd='func_win32_libid' 5133 ;; 5134 5135mingw* | pw32*) 5136 # Base MSYS/MinGW do not provide the 'file' command needed by 5137 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5138 # unless we find 'file', for example because we are cross-compiling. 5139 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5140 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5141 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5142 lt_cv_file_magic_cmd='func_win32_libid' 5143 else 5144 # Keep this pattern in sync with the one in func_win32_libid. 5145 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5146 lt_cv_file_magic_cmd='$OBJDUMP -f' 5147 fi 5148 ;; 5149 5150cegcc*) 5151 # use the weaker test based on 'objdump'. See mingw*. 5152 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5153 lt_cv_file_magic_cmd='$OBJDUMP -f' 5154 ;; 5155 5156darwin* | rhapsody*) 5157 lt_cv_deplibs_check_method=pass_all 5158 ;; 5159 5160freebsd* | dragonfly*) 5161 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5162 case $host_cpu in 5163 i*86 ) 5164 # Not sure whether the presence of OpenBSD here was a mistake. 5165 # Let's accept both of them until this is cleared up. 5166 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5167 lt_cv_file_magic_cmd=/usr/bin/file 5168 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5169 ;; 5170 esac 5171 else 5172 lt_cv_deplibs_check_method=pass_all 5173 fi 5174 ;; 5175 5176gnu*) 5177 lt_cv_deplibs_check_method=pass_all 5178 ;; 5179 5180haiku*) 5181 lt_cv_deplibs_check_method=pass_all 5182 ;; 5183 5184hpux10.20* | hpux11*) 5185 lt_cv_file_magic_cmd=/usr/bin/file 5186 case $host_cpu in 5187 ia64*) 5188 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5189 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5190 ;; 5191 hppa*64*) 5192 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]' 5193 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5194 ;; 5195 *) 5196 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5197 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5198 ;; 5199 esac 5200 ;; 5201 5202interix[3-9]*) 5203 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5204 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5205 ;; 5206 5207irix5* | irix6* | nonstopux*) 5208 case $LD in 5209 *-32|*"-32 ") libmagic=32-bit;; 5210 *-n32|*"-n32 ") libmagic=N32;; 5211 *-64|*"-64 ") libmagic=64-bit;; 5212 *) libmagic=never-match;; 5213 esac 5214 lt_cv_deplibs_check_method=pass_all 5215 ;; 5216 5217# This must be Linux ELF. 5218linux* | k*bsd*-gnu | kopensolaris*-gnu) 5219 lt_cv_deplibs_check_method=pass_all 5220 ;; 5221 5222netbsd*) 5223 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5225 else 5226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5227 fi 5228 ;; 5229 5230newos6*) 5231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5232 lt_cv_file_magic_cmd=/usr/bin/file 5233 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5234 ;; 5235 5236*nto* | *qnx*) 5237 lt_cv_deplibs_check_method=pass_all 5238 ;; 5239 5240openbsd*) 5241 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5242 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5243 else 5244 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5245 fi 5246 ;; 5247 5248osf3* | osf4* | osf5*) 5249 lt_cv_deplibs_check_method=pass_all 5250 ;; 5251 5252rdos*) 5253 lt_cv_deplibs_check_method=pass_all 5254 ;; 5255 5256solaris*) 5257 lt_cv_deplibs_check_method=pass_all 5258 ;; 5259 5260sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5261 lt_cv_deplibs_check_method=pass_all 5262 ;; 5263 5264sysv4 | sysv4.3*) 5265 case $host_vendor in 5266 motorola) 5267 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]' 5268 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5269 ;; 5270 ncr) 5271 lt_cv_deplibs_check_method=pass_all 5272 ;; 5273 sequent) 5274 lt_cv_file_magic_cmd='/bin/file' 5275 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5276 ;; 5277 sni) 5278 lt_cv_file_magic_cmd='/bin/file' 5279 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5280 lt_cv_file_magic_test_file=/lib/libc.so 5281 ;; 5282 siemens) 5283 lt_cv_deplibs_check_method=pass_all 5284 ;; 5285 pc) 5286 lt_cv_deplibs_check_method=pass_all 5287 ;; 5288 esac 5289 ;; 5290 5291tpf*) 5292 lt_cv_deplibs_check_method=pass_all 5293 ;; 5294esac 5295 5296fi 5297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5298$as_echo "$lt_cv_deplibs_check_method" >&6; } 5299 5300file_magic_glob= 5301want_nocaseglob=no 5302if test "$build" = "$host"; then 5303 case $host_os in 5304 mingw* | pw32*) 5305 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5306 want_nocaseglob=yes 5307 else 5308 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5309 fi 5310 ;; 5311 esac 5312fi 5313 5314file_magic_cmd=$lt_cv_file_magic_cmd 5315deplibs_check_method=$lt_cv_deplibs_check_method 5316test -z "$deplibs_check_method" && deplibs_check_method=unknown 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339if test -n "$ac_tool_prefix"; then 5340 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5341set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5343$as_echo_n "checking for $ac_word... " >&6; } 5344if ${ac_cv_prog_DLLTOOL+:} false; then : 5345 $as_echo_n "(cached) " >&6 5346else 5347 if test -n "$DLLTOOL"; then 5348 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5349else 5350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5351for as_dir in $PATH 5352do 5353 IFS=$as_save_IFS 5354 test -z "$as_dir" && as_dir=. 5355 for ac_exec_ext in '' $ac_executable_extensions; do 5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5357 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5359 break 2 5360 fi 5361done 5362 done 5363IFS=$as_save_IFS 5364 5365fi 5366fi 5367DLLTOOL=$ac_cv_prog_DLLTOOL 5368if test -n "$DLLTOOL"; then 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5370$as_echo "$DLLTOOL" >&6; } 5371else 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5373$as_echo "no" >&6; } 5374fi 5375 5376 5377fi 5378if test -z "$ac_cv_prog_DLLTOOL"; then 5379 ac_ct_DLLTOOL=$DLLTOOL 5380 # Extract the first word of "dlltool", so it can be a program name with args. 5381set dummy dlltool; ac_word=$2 5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5383$as_echo_n "checking for $ac_word... " >&6; } 5384if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5385 $as_echo_n "(cached) " >&6 5386else 5387 if test -n "$ac_ct_DLLTOOL"; then 5388 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5389else 5390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5391for as_dir in $PATH 5392do 5393 IFS=$as_save_IFS 5394 test -z "$as_dir" && as_dir=. 5395 for ac_exec_ext in '' $ac_executable_extensions; do 5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5397 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5399 break 2 5400 fi 5401done 5402 done 5403IFS=$as_save_IFS 5404 5405fi 5406fi 5407ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5408if test -n "$ac_ct_DLLTOOL"; then 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5410$as_echo "$ac_ct_DLLTOOL" >&6; } 5411else 5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5413$as_echo "no" >&6; } 5414fi 5415 5416 if test "x$ac_ct_DLLTOOL" = x; then 5417 DLLTOOL="false" 5418 else 5419 case $cross_compiling:$ac_tool_warned in 5420yes:) 5421{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5422$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5423ac_tool_warned=yes ;; 5424esac 5425 DLLTOOL=$ac_ct_DLLTOOL 5426 fi 5427else 5428 DLLTOOL="$ac_cv_prog_DLLTOOL" 5429fi 5430 5431test -z "$DLLTOOL" && DLLTOOL=dlltool 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5443$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5444if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5445 $as_echo_n "(cached) " >&6 5446else 5447 lt_cv_sharedlib_from_linklib_cmd='unknown' 5448 5449case $host_os in 5450cygwin* | mingw* | pw32* | cegcc*) 5451 # two different shell functions defined in ltmain.sh 5452 # decide which to use based on capabilities of $DLLTOOL 5453 case `$DLLTOOL --help 2>&1` in 5454 *--identify-strict*) 5455 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5456 ;; 5457 *) 5458 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5459 ;; 5460 esac 5461 ;; 5462*) 5463 # fallback: assume linklib IS sharedlib 5464 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5465 ;; 5466esac 5467 5468fi 5469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5470$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5471sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5472test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5473 5474 5475 5476 5477 5478 5479 5480if test -n "$ac_tool_prefix"; then 5481 for ac_prog in ar 5482 do 5483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5484set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5486$as_echo_n "checking for $ac_word... " >&6; } 5487if ${ac_cv_prog_AR+:} false; then : 5488 $as_echo_n "(cached) " >&6 5489else 5490 if test -n "$AR"; then 5491 ac_cv_prog_AR="$AR" # Let the user override the test. 5492else 5493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5494for as_dir in $PATH 5495do 5496 IFS=$as_save_IFS 5497 test -z "$as_dir" && as_dir=. 5498 for ac_exec_ext in '' $ac_executable_extensions; do 5499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5500 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5502 break 2 5503 fi 5504done 5505 done 5506IFS=$as_save_IFS 5507 5508fi 5509fi 5510AR=$ac_cv_prog_AR 5511if test -n "$AR"; then 5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5513$as_echo "$AR" >&6; } 5514else 5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5516$as_echo "no" >&6; } 5517fi 5518 5519 5520 test -n "$AR" && break 5521 done 5522fi 5523if test -z "$AR"; then 5524 ac_ct_AR=$AR 5525 for ac_prog in ar 5526do 5527 # Extract the first word of "$ac_prog", so it can be a program name with args. 5528set dummy $ac_prog; ac_word=$2 5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5530$as_echo_n "checking for $ac_word... " >&6; } 5531if ${ac_cv_prog_ac_ct_AR+:} false; then : 5532 $as_echo_n "(cached) " >&6 5533else 5534 if test -n "$ac_ct_AR"; then 5535 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5536else 5537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5538for as_dir in $PATH 5539do 5540 IFS=$as_save_IFS 5541 test -z "$as_dir" && as_dir=. 5542 for ac_exec_ext in '' $ac_executable_extensions; do 5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5544 ac_cv_prog_ac_ct_AR="$ac_prog" 5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5546 break 2 5547 fi 5548done 5549 done 5550IFS=$as_save_IFS 5551 5552fi 5553fi 5554ac_ct_AR=$ac_cv_prog_ac_ct_AR 5555if test -n "$ac_ct_AR"; then 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5557$as_echo "$ac_ct_AR" >&6; } 5558else 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5560$as_echo "no" >&6; } 5561fi 5562 5563 5564 test -n "$ac_ct_AR" && break 5565done 5566 5567 if test "x$ac_ct_AR" = x; then 5568 AR="false" 5569 else 5570 case $cross_compiling:$ac_tool_warned in 5571yes:) 5572{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5573$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5574ac_tool_warned=yes ;; 5575esac 5576 AR=$ac_ct_AR 5577 fi 5578fi 5579 5580: ${AR=ar} 5581: ${AR_FLAGS=cru} 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5594$as_echo_n "checking for archiver @FILE support... " >&6; } 5595if ${lt_cv_ar_at_file+:} false; then : 5596 $as_echo_n "(cached) " >&6 5597else 5598 lt_cv_ar_at_file=no 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5600/* end confdefs.h. */ 5601 5602int 5603main () 5604{ 5605 5606 ; 5607 return 0; 5608} 5609_ACEOF 5610if ac_fn_c_try_compile "$LINENO"; then : 5611 echo conftest.$ac_objext > conftest.lst 5612 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5614 (eval $lt_ar_try) 2>&5 5615 ac_status=$? 5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5617 test $ac_status = 0; } 5618 if test "$ac_status" -eq 0; then 5619 # Ensure the archiver fails upon bogus file names. 5620 rm -f conftest.$ac_objext libconftest.a 5621 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5622 (eval $lt_ar_try) 2>&5 5623 ac_status=$? 5624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5625 test $ac_status = 0; } 5626 if test "$ac_status" -ne 0; then 5627 lt_cv_ar_at_file=@ 5628 fi 5629 fi 5630 rm -f conftest.* libconftest.a 5631 5632fi 5633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5634 5635fi 5636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5637$as_echo "$lt_cv_ar_at_file" >&6; } 5638 5639if test "x$lt_cv_ar_at_file" = xno; then 5640 archiver_list_spec= 5641else 5642 archiver_list_spec=$lt_cv_ar_at_file 5643fi 5644 5645 5646 5647 5648 5649 5650 5651if test -n "$ac_tool_prefix"; then 5652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5653set dummy ${ac_tool_prefix}strip; ac_word=$2 5654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5655$as_echo_n "checking for $ac_word... " >&6; } 5656if ${ac_cv_prog_STRIP+:} false; then : 5657 $as_echo_n "(cached) " >&6 5658else 5659 if test -n "$STRIP"; then 5660 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5661else 5662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5663for as_dir in $PATH 5664do 5665 IFS=$as_save_IFS 5666 test -z "$as_dir" && as_dir=. 5667 for ac_exec_ext in '' $ac_executable_extensions; do 5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5669 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5671 break 2 5672 fi 5673done 5674 done 5675IFS=$as_save_IFS 5676 5677fi 5678fi 5679STRIP=$ac_cv_prog_STRIP 5680if test -n "$STRIP"; then 5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5682$as_echo "$STRIP" >&6; } 5683else 5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5685$as_echo "no" >&6; } 5686fi 5687 5688 5689fi 5690if test -z "$ac_cv_prog_STRIP"; then 5691 ac_ct_STRIP=$STRIP 5692 # Extract the first word of "strip", so it can be a program name with args. 5693set dummy strip; ac_word=$2 5694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5695$as_echo_n "checking for $ac_word... " >&6; } 5696if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5697 $as_echo_n "(cached) " >&6 5698else 5699 if test -n "$ac_ct_STRIP"; then 5700 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5701else 5702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5703for as_dir in $PATH 5704do 5705 IFS=$as_save_IFS 5706 test -z "$as_dir" && as_dir=. 5707 for ac_exec_ext in '' $ac_executable_extensions; do 5708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5709 ac_cv_prog_ac_ct_STRIP="strip" 5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5711 break 2 5712 fi 5713done 5714 done 5715IFS=$as_save_IFS 5716 5717fi 5718fi 5719ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5720if test -n "$ac_ct_STRIP"; then 5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5722$as_echo "$ac_ct_STRIP" >&6; } 5723else 5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5725$as_echo "no" >&6; } 5726fi 5727 5728 if test "x$ac_ct_STRIP" = x; then 5729 STRIP=":" 5730 else 5731 case $cross_compiling:$ac_tool_warned in 5732yes:) 5733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5735ac_tool_warned=yes ;; 5736esac 5737 STRIP=$ac_ct_STRIP 5738 fi 5739else 5740 STRIP="$ac_cv_prog_STRIP" 5741fi 5742 5743test -z "$STRIP" && STRIP=: 5744 5745 5746 5747 5748 5749 5750if test -n "$ac_tool_prefix"; then 5751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5752set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5754$as_echo_n "checking for $ac_word... " >&6; } 5755if ${ac_cv_prog_RANLIB+:} false; then : 5756 $as_echo_n "(cached) " >&6 5757else 5758 if test -n "$RANLIB"; then 5759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5760else 5761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5762for as_dir in $PATH 5763do 5764 IFS=$as_save_IFS 5765 test -z "$as_dir" && as_dir=. 5766 for ac_exec_ext in '' $ac_executable_extensions; do 5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5768 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5770 break 2 5771 fi 5772done 5773 done 5774IFS=$as_save_IFS 5775 5776fi 5777fi 5778RANLIB=$ac_cv_prog_RANLIB 5779if test -n "$RANLIB"; then 5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5781$as_echo "$RANLIB" >&6; } 5782else 5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5784$as_echo "no" >&6; } 5785fi 5786 5787 5788fi 5789if test -z "$ac_cv_prog_RANLIB"; then 5790 ac_ct_RANLIB=$RANLIB 5791 # Extract the first word of "ranlib", so it can be a program name with args. 5792set dummy ranlib; ac_word=$2 5793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5794$as_echo_n "checking for $ac_word... " >&6; } 5795if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5796 $as_echo_n "(cached) " >&6 5797else 5798 if test -n "$ac_ct_RANLIB"; then 5799 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5800else 5801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802for as_dir in $PATH 5803do 5804 IFS=$as_save_IFS 5805 test -z "$as_dir" && as_dir=. 5806 for ac_exec_ext in '' $ac_executable_extensions; do 5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5808 ac_cv_prog_ac_ct_RANLIB="ranlib" 5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5810 break 2 5811 fi 5812done 5813 done 5814IFS=$as_save_IFS 5815 5816fi 5817fi 5818ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5819if test -n "$ac_ct_RANLIB"; then 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5821$as_echo "$ac_ct_RANLIB" >&6; } 5822else 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5824$as_echo "no" >&6; } 5825fi 5826 5827 if test "x$ac_ct_RANLIB" = x; then 5828 RANLIB=":" 5829 else 5830 case $cross_compiling:$ac_tool_warned in 5831yes:) 5832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5834ac_tool_warned=yes ;; 5835esac 5836 RANLIB=$ac_ct_RANLIB 5837 fi 5838else 5839 RANLIB="$ac_cv_prog_RANLIB" 5840fi 5841 5842test -z "$RANLIB" && RANLIB=: 5843 5844 5845 5846 5847 5848 5849# Determine commands to create old-style static archives. 5850old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5851old_postinstall_cmds='chmod 644 $oldlib' 5852old_postuninstall_cmds= 5853 5854if test -n "$RANLIB"; then 5855 case $host_os in 5856 openbsd*) 5857 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5858 ;; 5859 *) 5860 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5861 ;; 5862 esac 5863 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5864fi 5865 5866case $host_os in 5867 darwin*) 5868 lock_old_archive_extraction=yes ;; 5869 *) 5870 lock_old_archive_extraction=no ;; 5871esac 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911# If no C compiler was specified, use CC. 5912LTCC=${LTCC-"$CC"} 5913 5914# If no C compiler flags were specified, use CFLAGS. 5915LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5916 5917# Allow CC to be a program name with arguments. 5918compiler=$CC 5919 5920 5921# Check for command to grab the raw symbol name followed by C symbol from nm. 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5923$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5924if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5925 $as_echo_n "(cached) " >&6 5926else 5927 5928# These are sane defaults that work on at least a few old systems. 5929# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5930 5931# Character class describing NM global symbol codes. 5932symcode='[BCDEGRST]' 5933 5934# Regexp to match symbols that can be accessed directly from C. 5935sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5936 5937# Define system-specific variables. 5938case $host_os in 5939aix*) 5940 symcode='[BCDT]' 5941 ;; 5942cygwin* | mingw* | pw32* | cegcc*) 5943 symcode='[ABCDGISTW]' 5944 ;; 5945hpux*) 5946 if test "$host_cpu" = ia64; then 5947 symcode='[ABCDEGRST]' 5948 fi 5949 ;; 5950irix* | nonstopux*) 5951 symcode='[BCDEGRST]' 5952 ;; 5953osf*) 5954 symcode='[BCDEGQRST]' 5955 ;; 5956solaris*) 5957 symcode='[BDRT]' 5958 ;; 5959sco3.2v5*) 5960 symcode='[DT]' 5961 ;; 5962sysv4.2uw2*) 5963 symcode='[DT]' 5964 ;; 5965sysv5* | sco5v6* | unixware* | OpenUNIX*) 5966 symcode='[ABDT]' 5967 ;; 5968sysv4) 5969 symcode='[DFNSTU]' 5970 ;; 5971esac 5972 5973# If we're using GNU nm, then use its standard symbol codes. 5974case `$NM -V 2>&1` in 5975*GNU* | *'with BFD'*) 5976 symcode='[ABCDGIRSTW]' ;; 5977esac 5978 5979# Transform an extracted symbol line into a proper C declaration. 5980# Some systems (esp. on ia64) link data and code symbols differently, 5981# so use this general approach. 5982lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5983 5984# Transform an extracted symbol line into symbol name and symbol address 5985lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5986lt_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'" 5987 5988# Handle CRLF in mingw tool chain 5989opt_cr= 5990case $build_os in 5991mingw*) 5992 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5993 ;; 5994esac 5995 5996# Try without a prefix underscore, then with it. 5997for ac_symprfx in "" "_"; do 5998 5999 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6000 symxfrm="\\1 $ac_symprfx\\2 \\2" 6001 6002 # Write the raw and C identifiers. 6003 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6004 # Fake it for dumpbin and say T for any non-static function 6005 # and D for any global variable. 6006 # Also find C++ and __fastcall symbols from MSVC++, 6007 # which start with @ or ?. 6008 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6009" {last_section=section; section=\$ 3};"\ 6010" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6011" \$ 0!~/External *\|/{next};"\ 6012" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6013" {if(hide[section]) next};"\ 6014" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6015" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6016" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6017" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6018" ' prfx=^$ac_symprfx" 6019 else 6020 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6021 fi 6022 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6023 6024 # Check to see that the pipe works correctly. 6025 pipe_works=no 6026 6027 rm -f conftest* 6028 cat > conftest.$ac_ext <<_LT_EOF 6029#ifdef __cplusplus 6030extern "C" { 6031#endif 6032char nm_test_var; 6033void nm_test_func(void); 6034void nm_test_func(void){} 6035#ifdef __cplusplus 6036} 6037#endif 6038int main(){nm_test_var='a';nm_test_func();return(0);} 6039_LT_EOF 6040 6041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6042 (eval $ac_compile) 2>&5 6043 ac_status=$? 6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6045 test $ac_status = 0; }; then 6046 # Now try to grab the symbols. 6047 nlist=conftest.nm 6048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6049 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6050 ac_status=$? 6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6052 test $ac_status = 0; } && test -s "$nlist"; then 6053 # Try sorting and uniquifying the output. 6054 if sort "$nlist" | uniq > "$nlist"T; then 6055 mv -f "$nlist"T "$nlist" 6056 else 6057 rm -f "$nlist"T 6058 fi 6059 6060 # Make sure that we snagged all the symbols we need. 6061 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6062 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6063 cat <<_LT_EOF > conftest.$ac_ext 6064/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6065#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6066/* DATA imports from DLLs on WIN32 con't be const, because runtime 6067 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6068# define LT_DLSYM_CONST 6069#elif defined(__osf__) 6070/* This system does not cope well with relocations in const data. */ 6071# define LT_DLSYM_CONST 6072#else 6073# define LT_DLSYM_CONST const 6074#endif 6075 6076#ifdef __cplusplus 6077extern "C" { 6078#endif 6079 6080_LT_EOF 6081 # Now generate the symbol file. 6082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6083 6084 cat <<_LT_EOF >> conftest.$ac_ext 6085 6086/* The mapping between symbol names and symbols. */ 6087LT_DLSYM_CONST struct { 6088 const char *name; 6089 void *address; 6090} 6091lt__PROGRAM__LTX_preloaded_symbols[] = 6092{ 6093 { "@PROGRAM@", (void *) 0 }, 6094_LT_EOF 6095 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6096 cat <<\_LT_EOF >> conftest.$ac_ext 6097 {0, (void *) 0} 6098}; 6099 6100/* This works around a problem in FreeBSD linker */ 6101#ifdef FREEBSD_WORKAROUND 6102static const void *lt_preloaded_setup() { 6103 return lt__PROGRAM__LTX_preloaded_symbols; 6104} 6105#endif 6106 6107#ifdef __cplusplus 6108} 6109#endif 6110_LT_EOF 6111 # Now try linking the two files. 6112 mv conftest.$ac_objext conftstm.$ac_objext 6113 lt_globsym_save_LIBS=$LIBS 6114 lt_globsym_save_CFLAGS=$CFLAGS 6115 LIBS="conftstm.$ac_objext" 6116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6118 (eval $ac_link) 2>&5 6119 ac_status=$? 6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6121 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6122 pipe_works=yes 6123 fi 6124 LIBS=$lt_globsym_save_LIBS 6125 CFLAGS=$lt_globsym_save_CFLAGS 6126 else 6127 echo "cannot find nm_test_func in $nlist" >&5 6128 fi 6129 else 6130 echo "cannot find nm_test_var in $nlist" >&5 6131 fi 6132 else 6133 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6134 fi 6135 else 6136 echo "$progname: failed program was:" >&5 6137 cat conftest.$ac_ext >&5 6138 fi 6139 rm -rf conftest* conftst* 6140 6141 # Do not use the global_symbol_pipe unless it works. 6142 if test "$pipe_works" = yes; then 6143 break 6144 else 6145 lt_cv_sys_global_symbol_pipe= 6146 fi 6147done 6148 6149fi 6150 6151if test -z "$lt_cv_sys_global_symbol_pipe"; then 6152 lt_cv_sys_global_symbol_to_cdecl= 6153fi 6154if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6156$as_echo "failed" >&6; } 6157else 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6159$as_echo "ok" >&6; } 6160fi 6161 6162# Response file support. 6163if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6164 nm_file_list_spec='@' 6165elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6166 nm_file_list_spec='@' 6167fi 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6196$as_echo_n "checking for sysroot... " >&6; } 6197 6198# Check whether --with-sysroot was given. 6199if test "${with_sysroot+set}" = set; then : 6200 withval=$with_sysroot; 6201else 6202 with_sysroot=no 6203fi 6204 6205 6206lt_sysroot= 6207case ${with_sysroot} in #( 6208 yes) 6209 if test "$GCC" = yes; then 6210 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6211 fi 6212 ;; #( 6213 /*) 6214 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6215 ;; #( 6216 no|'') 6217 ;; #( 6218 *) 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6220$as_echo "${with_sysroot}" >&6; } 6221 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6222 ;; 6223esac 6224 6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6226$as_echo "${lt_sysroot:-no}" >&6; } 6227 6228 6229 6230 6231 6232# Check whether --enable-libtool-lock was given. 6233if test "${enable_libtool_lock+set}" = set; then : 6234 enableval=$enable_libtool_lock; 6235fi 6236 6237test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6238 6239# Some flags need to be propagated to the compiler or linker for good 6240# libtool support. 6241case $host in 6242ia64-*-hpux*) 6243 # Find out which ABI we are using. 6244 echo 'int i;' > conftest.$ac_ext 6245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6246 (eval $ac_compile) 2>&5 6247 ac_status=$? 6248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6249 test $ac_status = 0; }; then 6250 case `/usr/bin/file conftest.$ac_objext` in 6251 *ELF-32*) 6252 HPUX_IA64_MODE="32" 6253 ;; 6254 *ELF-64*) 6255 HPUX_IA64_MODE="64" 6256 ;; 6257 esac 6258 fi 6259 rm -rf conftest* 6260 ;; 6261*-*-irix6*) 6262 # Find out which ABI we are using. 6263 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6265 (eval $ac_compile) 2>&5 6266 ac_status=$? 6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6268 test $ac_status = 0; }; then 6269 if test "$lt_cv_prog_gnu_ld" = yes; then 6270 case `/usr/bin/file conftest.$ac_objext` in 6271 *32-bit*) 6272 LD="${LD-ld} -melf32bsmip" 6273 ;; 6274 *N32*) 6275 LD="${LD-ld} -melf32bmipn32" 6276 ;; 6277 *64-bit*) 6278 LD="${LD-ld} -melf64bmip" 6279 ;; 6280 esac 6281 else 6282 case `/usr/bin/file conftest.$ac_objext` in 6283 *32-bit*) 6284 LD="${LD-ld} -32" 6285 ;; 6286 *N32*) 6287 LD="${LD-ld} -n32" 6288 ;; 6289 *64-bit*) 6290 LD="${LD-ld} -64" 6291 ;; 6292 esac 6293 fi 6294 fi 6295 rm -rf conftest* 6296 ;; 6297 6298x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6299s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6300 # Find out which ABI we are using. 6301 echo 'int i;' > conftest.$ac_ext 6302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6303 (eval $ac_compile) 2>&5 6304 ac_status=$? 6305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6306 test $ac_status = 0; }; then 6307 case `/usr/bin/file conftest.o` in 6308 *32-bit*) 6309 case $host in 6310 x86_64-*kfreebsd*-gnu) 6311 LD="${LD-ld} -m elf_i386_fbsd" 6312 ;; 6313 x86_64-*linux*) 6314 LD="${LD-ld} -m elf_i386" 6315 ;; 6316 ppc64-*linux*|powerpc64-*linux*) 6317 LD="${LD-ld} -m elf32ppclinux" 6318 ;; 6319 s390x-*linux*) 6320 LD="${LD-ld} -m elf_s390" 6321 ;; 6322 sparc64-*linux*) 6323 LD="${LD-ld} -m elf32_sparc" 6324 ;; 6325 esac 6326 ;; 6327 *64-bit*) 6328 case $host in 6329 x86_64-*kfreebsd*-gnu) 6330 LD="${LD-ld} -m elf_x86_64_fbsd" 6331 ;; 6332 x86_64-*linux*) 6333 LD="${LD-ld} -m elf_x86_64" 6334 ;; 6335 ppc*-*linux*|powerpc*-*linux*) 6336 LD="${LD-ld} -m elf64ppc" 6337 ;; 6338 s390*-*linux*|s390*-*tpf*) 6339 LD="${LD-ld} -m elf64_s390" 6340 ;; 6341 sparc*-*linux*) 6342 LD="${LD-ld} -m elf64_sparc" 6343 ;; 6344 esac 6345 ;; 6346 esac 6347 fi 6348 rm -rf conftest* 6349 ;; 6350 6351*-*-sco3.2v5*) 6352 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6353 SAVE_CFLAGS="$CFLAGS" 6354 CFLAGS="$CFLAGS -belf" 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6356$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6357if ${lt_cv_cc_needs_belf+:} false; then : 6358 $as_echo_n "(cached) " >&6 6359else 6360 ac_ext=c 6361ac_cpp='$CPP $CPPFLAGS' 6362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6364ac_compiler_gnu=$ac_cv_c_compiler_gnu 6365 6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6367/* end confdefs.h. */ 6368 6369int 6370main () 6371{ 6372 6373 ; 6374 return 0; 6375} 6376_ACEOF 6377if ac_fn_c_try_link "$LINENO"; then : 6378 lt_cv_cc_needs_belf=yes 6379else 6380 lt_cv_cc_needs_belf=no 6381fi 6382rm -f core conftest.err conftest.$ac_objext \ 6383 conftest$ac_exeext conftest.$ac_ext 6384 ac_ext=c 6385ac_cpp='$CPP $CPPFLAGS' 6386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6388ac_compiler_gnu=$ac_cv_c_compiler_gnu 6389 6390fi 6391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6392$as_echo "$lt_cv_cc_needs_belf" >&6; } 6393 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6394 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6395 CFLAGS="$SAVE_CFLAGS" 6396 fi 6397 ;; 6398sparc*-*solaris*) 6399 # Find out which ABI we are using. 6400 echo 'int i;' > conftest.$ac_ext 6401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6402 (eval $ac_compile) 2>&5 6403 ac_status=$? 6404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6405 test $ac_status = 0; }; then 6406 case `/usr/bin/file conftest.o` in 6407 *64-bit*) 6408 case $lt_cv_prog_gnu_ld in 6409 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6410 *) 6411 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6412 LD="${LD-ld} -64" 6413 fi 6414 ;; 6415 esac 6416 ;; 6417 esac 6418 fi 6419 rm -rf conftest* 6420 ;; 6421esac 6422 6423need_locks="$enable_libtool_lock" 6424 6425if test -n "$ac_tool_prefix"; then 6426 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6427set dummy ${ac_tool_prefix}mt; ac_word=$2 6428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6429$as_echo_n "checking for $ac_word... " >&6; } 6430if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6431 $as_echo_n "(cached) " >&6 6432else 6433 if test -n "$MANIFEST_TOOL"; then 6434 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6435else 6436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6437for as_dir in $PATH 6438do 6439 IFS=$as_save_IFS 6440 test -z "$as_dir" && as_dir=. 6441 for ac_exec_ext in '' $ac_executable_extensions; do 6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6443 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6445 break 2 6446 fi 6447done 6448 done 6449IFS=$as_save_IFS 6450 6451fi 6452fi 6453MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6454if test -n "$MANIFEST_TOOL"; then 6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6456$as_echo "$MANIFEST_TOOL" >&6; } 6457else 6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6459$as_echo "no" >&6; } 6460fi 6461 6462 6463fi 6464if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6465 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6466 # Extract the first word of "mt", so it can be a program name with args. 6467set dummy mt; ac_word=$2 6468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6469$as_echo_n "checking for $ac_word... " >&6; } 6470if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6471 $as_echo_n "(cached) " >&6 6472else 6473 if test -n "$ac_ct_MANIFEST_TOOL"; then 6474 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6475else 6476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6477for as_dir in $PATH 6478do 6479 IFS=$as_save_IFS 6480 test -z "$as_dir" && as_dir=. 6481 for ac_exec_ext in '' $ac_executable_extensions; do 6482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6483 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6485 break 2 6486 fi 6487done 6488 done 6489IFS=$as_save_IFS 6490 6491fi 6492fi 6493ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6494if test -n "$ac_ct_MANIFEST_TOOL"; then 6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6496$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6497else 6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6499$as_echo "no" >&6; } 6500fi 6501 6502 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6503 MANIFEST_TOOL=":" 6504 else 6505 case $cross_compiling:$ac_tool_warned in 6506yes:) 6507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6509ac_tool_warned=yes ;; 6510esac 6511 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6512 fi 6513else 6514 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6515fi 6516 6517test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6519$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6520if ${lt_cv_path_mainfest_tool+:} false; then : 6521 $as_echo_n "(cached) " >&6 6522else 6523 lt_cv_path_mainfest_tool=no 6524 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6525 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6526 cat conftest.err >&5 6527 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6528 lt_cv_path_mainfest_tool=yes 6529 fi 6530 rm -f conftest* 6531fi 6532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6533$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6534if test "x$lt_cv_path_mainfest_tool" != xyes; then 6535 MANIFEST_TOOL=: 6536fi 6537 6538 6539 6540 6541 6542 6543 case $host_os in 6544 rhapsody* | darwin*) 6545 if test -n "$ac_tool_prefix"; then 6546 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6547set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6549$as_echo_n "checking for $ac_word... " >&6; } 6550if ${ac_cv_prog_DSYMUTIL+:} false; then : 6551 $as_echo_n "(cached) " >&6 6552else 6553 if test -n "$DSYMUTIL"; then 6554 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6555else 6556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6557for as_dir in $PATH 6558do 6559 IFS=$as_save_IFS 6560 test -z "$as_dir" && as_dir=. 6561 for ac_exec_ext in '' $ac_executable_extensions; do 6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6563 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6565 break 2 6566 fi 6567done 6568 done 6569IFS=$as_save_IFS 6570 6571fi 6572fi 6573DSYMUTIL=$ac_cv_prog_DSYMUTIL 6574if test -n "$DSYMUTIL"; then 6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6576$as_echo "$DSYMUTIL" >&6; } 6577else 6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6579$as_echo "no" >&6; } 6580fi 6581 6582 6583fi 6584if test -z "$ac_cv_prog_DSYMUTIL"; then 6585 ac_ct_DSYMUTIL=$DSYMUTIL 6586 # Extract the first word of "dsymutil", so it can be a program name with args. 6587set dummy dsymutil; ac_word=$2 6588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6589$as_echo_n "checking for $ac_word... " >&6; } 6590if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6591 $as_echo_n "(cached) " >&6 6592else 6593 if test -n "$ac_ct_DSYMUTIL"; then 6594 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6595else 6596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6597for as_dir in $PATH 6598do 6599 IFS=$as_save_IFS 6600 test -z "$as_dir" && as_dir=. 6601 for ac_exec_ext in '' $ac_executable_extensions; do 6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6603 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6605 break 2 6606 fi 6607done 6608 done 6609IFS=$as_save_IFS 6610 6611fi 6612fi 6613ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6614if test -n "$ac_ct_DSYMUTIL"; then 6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6616$as_echo "$ac_ct_DSYMUTIL" >&6; } 6617else 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6619$as_echo "no" >&6; } 6620fi 6621 6622 if test "x$ac_ct_DSYMUTIL" = x; then 6623 DSYMUTIL=":" 6624 else 6625 case $cross_compiling:$ac_tool_warned in 6626yes:) 6627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6629ac_tool_warned=yes ;; 6630esac 6631 DSYMUTIL=$ac_ct_DSYMUTIL 6632 fi 6633else 6634 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6635fi 6636 6637 if test -n "$ac_tool_prefix"; then 6638 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6639set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6641$as_echo_n "checking for $ac_word... " >&6; } 6642if ${ac_cv_prog_NMEDIT+:} false; then : 6643 $as_echo_n "(cached) " >&6 6644else 6645 if test -n "$NMEDIT"; then 6646 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6647else 6648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6649for as_dir in $PATH 6650do 6651 IFS=$as_save_IFS 6652 test -z "$as_dir" && as_dir=. 6653 for ac_exec_ext in '' $ac_executable_extensions; do 6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6655 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6657 break 2 6658 fi 6659done 6660 done 6661IFS=$as_save_IFS 6662 6663fi 6664fi 6665NMEDIT=$ac_cv_prog_NMEDIT 6666if test -n "$NMEDIT"; then 6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6668$as_echo "$NMEDIT" >&6; } 6669else 6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6671$as_echo "no" >&6; } 6672fi 6673 6674 6675fi 6676if test -z "$ac_cv_prog_NMEDIT"; then 6677 ac_ct_NMEDIT=$NMEDIT 6678 # Extract the first word of "nmedit", so it can be a program name with args. 6679set dummy nmedit; ac_word=$2 6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6681$as_echo_n "checking for $ac_word... " >&6; } 6682if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6683 $as_echo_n "(cached) " >&6 6684else 6685 if test -n "$ac_ct_NMEDIT"; then 6686 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6687else 6688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6689for as_dir in $PATH 6690do 6691 IFS=$as_save_IFS 6692 test -z "$as_dir" && as_dir=. 6693 for ac_exec_ext in '' $ac_executable_extensions; do 6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6695 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6697 break 2 6698 fi 6699done 6700 done 6701IFS=$as_save_IFS 6702 6703fi 6704fi 6705ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6706if test -n "$ac_ct_NMEDIT"; then 6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6708$as_echo "$ac_ct_NMEDIT" >&6; } 6709else 6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6711$as_echo "no" >&6; } 6712fi 6713 6714 if test "x$ac_ct_NMEDIT" = x; then 6715 NMEDIT=":" 6716 else 6717 case $cross_compiling:$ac_tool_warned in 6718yes:) 6719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6721ac_tool_warned=yes ;; 6722esac 6723 NMEDIT=$ac_ct_NMEDIT 6724 fi 6725else 6726 NMEDIT="$ac_cv_prog_NMEDIT" 6727fi 6728 6729 if test -n "$ac_tool_prefix"; then 6730 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6731set dummy ${ac_tool_prefix}lipo; ac_word=$2 6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6733$as_echo_n "checking for $ac_word... " >&6; } 6734if ${ac_cv_prog_LIPO+:} false; then : 6735 $as_echo_n "(cached) " >&6 6736else 6737 if test -n "$LIPO"; then 6738 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6739else 6740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6741for as_dir in $PATH 6742do 6743 IFS=$as_save_IFS 6744 test -z "$as_dir" && as_dir=. 6745 for ac_exec_ext in '' $ac_executable_extensions; do 6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6747 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6749 break 2 6750 fi 6751done 6752 done 6753IFS=$as_save_IFS 6754 6755fi 6756fi 6757LIPO=$ac_cv_prog_LIPO 6758if test -n "$LIPO"; then 6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6760$as_echo "$LIPO" >&6; } 6761else 6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6763$as_echo "no" >&6; } 6764fi 6765 6766 6767fi 6768if test -z "$ac_cv_prog_LIPO"; then 6769 ac_ct_LIPO=$LIPO 6770 # Extract the first word of "lipo", so it can be a program name with args. 6771set dummy lipo; ac_word=$2 6772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6773$as_echo_n "checking for $ac_word... " >&6; } 6774if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6775 $as_echo_n "(cached) " >&6 6776else 6777 if test -n "$ac_ct_LIPO"; then 6778 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6779else 6780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6781for as_dir in $PATH 6782do 6783 IFS=$as_save_IFS 6784 test -z "$as_dir" && as_dir=. 6785 for ac_exec_ext in '' $ac_executable_extensions; do 6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6787 ac_cv_prog_ac_ct_LIPO="lipo" 6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6789 break 2 6790 fi 6791done 6792 done 6793IFS=$as_save_IFS 6794 6795fi 6796fi 6797ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6798if test -n "$ac_ct_LIPO"; then 6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6800$as_echo "$ac_ct_LIPO" >&6; } 6801else 6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6803$as_echo "no" >&6; } 6804fi 6805 6806 if test "x$ac_ct_LIPO" = x; then 6807 LIPO=":" 6808 else 6809 case $cross_compiling:$ac_tool_warned in 6810yes:) 6811{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6812$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6813ac_tool_warned=yes ;; 6814esac 6815 LIPO=$ac_ct_LIPO 6816 fi 6817else 6818 LIPO="$ac_cv_prog_LIPO" 6819fi 6820 6821 if test -n "$ac_tool_prefix"; then 6822 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6823set dummy ${ac_tool_prefix}otool; ac_word=$2 6824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6825$as_echo_n "checking for $ac_word... " >&6; } 6826if ${ac_cv_prog_OTOOL+:} false; then : 6827 $as_echo_n "(cached) " >&6 6828else 6829 if test -n "$OTOOL"; then 6830 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6831else 6832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6833for as_dir in $PATH 6834do 6835 IFS=$as_save_IFS 6836 test -z "$as_dir" && as_dir=. 6837 for ac_exec_ext in '' $ac_executable_extensions; do 6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6839 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6841 break 2 6842 fi 6843done 6844 done 6845IFS=$as_save_IFS 6846 6847fi 6848fi 6849OTOOL=$ac_cv_prog_OTOOL 6850if test -n "$OTOOL"; then 6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6852$as_echo "$OTOOL" >&6; } 6853else 6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6855$as_echo "no" >&6; } 6856fi 6857 6858 6859fi 6860if test -z "$ac_cv_prog_OTOOL"; then 6861 ac_ct_OTOOL=$OTOOL 6862 # Extract the first word of "otool", so it can be a program name with args. 6863set dummy otool; ac_word=$2 6864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6865$as_echo_n "checking for $ac_word... " >&6; } 6866if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6867 $as_echo_n "(cached) " >&6 6868else 6869 if test -n "$ac_ct_OTOOL"; then 6870 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6871else 6872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6873for as_dir in $PATH 6874do 6875 IFS=$as_save_IFS 6876 test -z "$as_dir" && as_dir=. 6877 for ac_exec_ext in '' $ac_executable_extensions; do 6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6879 ac_cv_prog_ac_ct_OTOOL="otool" 6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6881 break 2 6882 fi 6883done 6884 done 6885IFS=$as_save_IFS 6886 6887fi 6888fi 6889ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6890if test -n "$ac_ct_OTOOL"; then 6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6892$as_echo "$ac_ct_OTOOL" >&6; } 6893else 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6895$as_echo "no" >&6; } 6896fi 6897 6898 if test "x$ac_ct_OTOOL" = x; then 6899 OTOOL=":" 6900 else 6901 case $cross_compiling:$ac_tool_warned in 6902yes:) 6903{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6904$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6905ac_tool_warned=yes ;; 6906esac 6907 OTOOL=$ac_ct_OTOOL 6908 fi 6909else 6910 OTOOL="$ac_cv_prog_OTOOL" 6911fi 6912 6913 if test -n "$ac_tool_prefix"; then 6914 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6915set dummy ${ac_tool_prefix}otool64; ac_word=$2 6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6917$as_echo_n "checking for $ac_word... " >&6; } 6918if ${ac_cv_prog_OTOOL64+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 if test -n "$OTOOL64"; then 6922 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6923else 6924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6925for as_dir in $PATH 6926do 6927 IFS=$as_save_IFS 6928 test -z "$as_dir" && as_dir=. 6929 for ac_exec_ext in '' $ac_executable_extensions; do 6930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6931 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6933 break 2 6934 fi 6935done 6936 done 6937IFS=$as_save_IFS 6938 6939fi 6940fi 6941OTOOL64=$ac_cv_prog_OTOOL64 6942if test -n "$OTOOL64"; then 6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6944$as_echo "$OTOOL64" >&6; } 6945else 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6947$as_echo "no" >&6; } 6948fi 6949 6950 6951fi 6952if test -z "$ac_cv_prog_OTOOL64"; then 6953 ac_ct_OTOOL64=$OTOOL64 6954 # Extract the first word of "otool64", so it can be a program name with args. 6955set dummy otool64; ac_word=$2 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6957$as_echo_n "checking for $ac_word... " >&6; } 6958if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6959 $as_echo_n "(cached) " >&6 6960else 6961 if test -n "$ac_ct_OTOOL64"; then 6962 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6963else 6964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6965for as_dir in $PATH 6966do 6967 IFS=$as_save_IFS 6968 test -z "$as_dir" && as_dir=. 6969 for ac_exec_ext in '' $ac_executable_extensions; do 6970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6971 ac_cv_prog_ac_ct_OTOOL64="otool64" 6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6973 break 2 6974 fi 6975done 6976 done 6977IFS=$as_save_IFS 6978 6979fi 6980fi 6981ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6982if test -n "$ac_ct_OTOOL64"; then 6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6984$as_echo "$ac_ct_OTOOL64" >&6; } 6985else 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6987$as_echo "no" >&6; } 6988fi 6989 6990 if test "x$ac_ct_OTOOL64" = x; then 6991 OTOOL64=":" 6992 else 6993 case $cross_compiling:$ac_tool_warned in 6994yes:) 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6997ac_tool_warned=yes ;; 6998esac 6999 OTOOL64=$ac_ct_OTOOL64 7000 fi 7001else 7002 OTOOL64="$ac_cv_prog_OTOOL64" 7003fi 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7032$as_echo_n "checking for -single_module linker flag... " >&6; } 7033if ${lt_cv_apple_cc_single_mod+:} false; then : 7034 $as_echo_n "(cached) " >&6 7035else 7036 lt_cv_apple_cc_single_mod=no 7037 if test -z "${LT_MULTI_MODULE}"; then 7038 # By default we will add the -single_module flag. You can override 7039 # by either setting the environment variable LT_MULTI_MODULE 7040 # non-empty at configure time, or by adding -multi_module to the 7041 # link flags. 7042 rm -rf libconftest.dylib* 7043 echo "int foo(void){return 1;}" > conftest.c 7044 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7045-dynamiclib -Wl,-single_module conftest.c" >&5 7046 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7047 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7048 _lt_result=$? 7049 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7050 lt_cv_apple_cc_single_mod=yes 7051 else 7052 cat conftest.err >&5 7053 fi 7054 rm -rf libconftest.dylib* 7055 rm -f conftest.* 7056 fi 7057fi 7058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7059$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7061$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7062if ${lt_cv_ld_exported_symbols_list+:} false; then : 7063 $as_echo_n "(cached) " >&6 7064else 7065 lt_cv_ld_exported_symbols_list=no 7066 save_LDFLAGS=$LDFLAGS 7067 echo "_main" > conftest.sym 7068 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7070/* end confdefs.h. */ 7071 7072int 7073main () 7074{ 7075 7076 ; 7077 return 0; 7078} 7079_ACEOF 7080if ac_fn_c_try_link "$LINENO"; then : 7081 lt_cv_ld_exported_symbols_list=yes 7082else 7083 lt_cv_ld_exported_symbols_list=no 7084fi 7085rm -f core conftest.err conftest.$ac_objext \ 7086 conftest$ac_exeext conftest.$ac_ext 7087 LDFLAGS="$save_LDFLAGS" 7088 7089fi 7090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7091$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7093$as_echo_n "checking for -force_load linker flag... " >&6; } 7094if ${lt_cv_ld_force_load+:} false; then : 7095 $as_echo_n "(cached) " >&6 7096else 7097 lt_cv_ld_force_load=no 7098 cat > conftest.c << _LT_EOF 7099int forced_loaded() { return 2;} 7100_LT_EOF 7101 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7102 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7103 echo "$AR cru libconftest.a conftest.o" >&5 7104 $AR cru libconftest.a conftest.o 2>&5 7105 echo "$RANLIB libconftest.a" >&5 7106 $RANLIB libconftest.a 2>&5 7107 cat > conftest.c << _LT_EOF 7108int main() { return 0;} 7109_LT_EOF 7110 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7111 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7112 _lt_result=$? 7113 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 7114 lt_cv_ld_force_load=yes 7115 else 7116 cat conftest.err >&5 7117 fi 7118 rm -f conftest.err libconftest.a conftest conftest.c 7119 rm -rf conftest.dSYM 7120 7121fi 7122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7123$as_echo "$lt_cv_ld_force_load" >&6; } 7124 case $host_os in 7125 rhapsody* | darwin1.[012]) 7126 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7127 darwin1.*) 7128 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7129 darwin*) # darwin 5.x on 7130 # if running on 10.5 or later, the deployment target defaults 7131 # to the OS version, if on x86, and 10.4, the deployment 7132 # target defaults to 10.4. Don't you love it? 7133 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7134 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7135 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7136 10.[012]*) 7137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7138 10.*) 7139 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7140 esac 7141 ;; 7142 esac 7143 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7144 _lt_dar_single_mod='$single_module' 7145 fi 7146 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7147 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7148 else 7149 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7150 fi 7151 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7152 _lt_dsymutil='~$DSYMUTIL $lib || :' 7153 else 7154 _lt_dsymutil= 7155 fi 7156 ;; 7157 esac 7158 7159ac_ext=c 7160ac_cpp='$CPP $CPPFLAGS' 7161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7163ac_compiler_gnu=$ac_cv_c_compiler_gnu 7164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7165$as_echo_n "checking how to run the C preprocessor... " >&6; } 7166# On Suns, sometimes $CPP names a directory. 7167if test -n "$CPP" && test -d "$CPP"; then 7168 CPP= 7169fi 7170if test -z "$CPP"; then 7171 if ${ac_cv_prog_CPP+:} false; then : 7172 $as_echo_n "(cached) " >&6 7173else 7174 # Double quotes because CPP needs to be expanded 7175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7176 do 7177 ac_preproc_ok=false 7178for ac_c_preproc_warn_flag in '' yes 7179do 7180 # Use a header file that comes with gcc, so configuring glibc 7181 # with a fresh cross-compiler works. 7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7183 # <limits.h> exists even on freestanding compilers. 7184 # On the NeXT, cc -E runs the code through the compiler's parser, 7185 # not just through cpp. "Syntax error" is here to catch this case. 7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7187/* end confdefs.h. */ 7188#ifdef __STDC__ 7189# include <limits.h> 7190#else 7191# include <assert.h> 7192#endif 7193 Syntax error 7194_ACEOF 7195if ac_fn_c_try_cpp "$LINENO"; then : 7196 7197else 7198 # Broken: fails on valid input. 7199continue 7200fi 7201rm -f conftest.err conftest.i conftest.$ac_ext 7202 7203 # OK, works on sane cases. Now check whether nonexistent headers 7204 # can be detected and how. 7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7206/* end confdefs.h. */ 7207#include <ac_nonexistent.h> 7208_ACEOF 7209if ac_fn_c_try_cpp "$LINENO"; then : 7210 # Broken: success on invalid input. 7211continue 7212else 7213 # Passes both tests. 7214ac_preproc_ok=: 7215break 7216fi 7217rm -f conftest.err conftest.i conftest.$ac_ext 7218 7219done 7220# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7221rm -f conftest.i conftest.err conftest.$ac_ext 7222if $ac_preproc_ok; then : 7223 break 7224fi 7225 7226 done 7227 ac_cv_prog_CPP=$CPP 7228 7229fi 7230 CPP=$ac_cv_prog_CPP 7231else 7232 ac_cv_prog_CPP=$CPP 7233fi 7234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7235$as_echo "$CPP" >&6; } 7236ac_preproc_ok=false 7237for ac_c_preproc_warn_flag in '' yes 7238do 7239 # Use a header file that comes with gcc, so configuring glibc 7240 # with a fresh cross-compiler works. 7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7242 # <limits.h> exists even on freestanding compilers. 7243 # On the NeXT, cc -E runs the code through the compiler's parser, 7244 # not just through cpp. "Syntax error" is here to catch this case. 7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7246/* end confdefs.h. */ 7247#ifdef __STDC__ 7248# include <limits.h> 7249#else 7250# include <assert.h> 7251#endif 7252 Syntax error 7253_ACEOF 7254if ac_fn_c_try_cpp "$LINENO"; then : 7255 7256else 7257 # Broken: fails on valid input. 7258continue 7259fi 7260rm -f conftest.err conftest.i conftest.$ac_ext 7261 7262 # OK, works on sane cases. Now check whether nonexistent headers 7263 # can be detected and how. 7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7265/* end confdefs.h. */ 7266#include <ac_nonexistent.h> 7267_ACEOF 7268if ac_fn_c_try_cpp "$LINENO"; then : 7269 # Broken: success on invalid input. 7270continue 7271else 7272 # Passes both tests. 7273ac_preproc_ok=: 7274break 7275fi 7276rm -f conftest.err conftest.i conftest.$ac_ext 7277 7278done 7279# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7280rm -f conftest.i conftest.err conftest.$ac_ext 7281if $ac_preproc_ok; then : 7282 7283else 7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7286as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7287See \`config.log' for more details" "$LINENO" 5; } 7288fi 7289 7290ac_ext=c 7291ac_cpp='$CPP $CPPFLAGS' 7292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7294ac_compiler_gnu=$ac_cv_c_compiler_gnu 7295 7296 7297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7298$as_echo_n "checking for ANSI C header files... " >&6; } 7299if ${ac_cv_header_stdc+:} false; then : 7300 $as_echo_n "(cached) " >&6 7301else 7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7303/* end confdefs.h. */ 7304#include <stdlib.h> 7305#include <stdarg.h> 7306#include <string.h> 7307#include <float.h> 7308 7309int 7310main () 7311{ 7312 7313 ; 7314 return 0; 7315} 7316_ACEOF 7317if ac_fn_c_try_compile "$LINENO"; then : 7318 ac_cv_header_stdc=yes 7319else 7320 ac_cv_header_stdc=no 7321fi 7322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7323 7324if test $ac_cv_header_stdc = yes; then 7325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7327/* end confdefs.h. */ 7328#include <string.h> 7329 7330_ACEOF 7331if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7332 $EGREP "memchr" >/dev/null 2>&1; then : 7333 7334else 7335 ac_cv_header_stdc=no 7336fi 7337rm -f conftest* 7338 7339fi 7340 7341if test $ac_cv_header_stdc = yes; then 7342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7344/* end confdefs.h. */ 7345#include <stdlib.h> 7346 7347_ACEOF 7348if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7349 $EGREP "free" >/dev/null 2>&1; then : 7350 7351else 7352 ac_cv_header_stdc=no 7353fi 7354rm -f conftest* 7355 7356fi 7357 7358if test $ac_cv_header_stdc = yes; then 7359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7360 if test "$cross_compiling" = yes; then : 7361 : 7362else 7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7364/* end confdefs.h. */ 7365#include <ctype.h> 7366#include <stdlib.h> 7367#if ((' ' & 0x0FF) == 0x020) 7368# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7369# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7370#else 7371# define ISLOWER(c) \ 7372 (('a' <= (c) && (c) <= 'i') \ 7373 || ('j' <= (c) && (c) <= 'r') \ 7374 || ('s' <= (c) && (c) <= 'z')) 7375# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7376#endif 7377 7378#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7379int 7380main () 7381{ 7382 int i; 7383 for (i = 0; i < 256; i++) 7384 if (XOR (islower (i), ISLOWER (i)) 7385 || toupper (i) != TOUPPER (i)) 7386 return 2; 7387 return 0; 7388} 7389_ACEOF 7390if ac_fn_c_try_run "$LINENO"; then : 7391 7392else 7393 ac_cv_header_stdc=no 7394fi 7395rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7396 conftest.$ac_objext conftest.beam conftest.$ac_ext 7397fi 7398 7399fi 7400fi 7401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7402$as_echo "$ac_cv_header_stdc" >&6; } 7403if test $ac_cv_header_stdc = yes; then 7404 7405$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7406 7407fi 7408 7409# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7410for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7411 inttypes.h stdint.h unistd.h 7412do : 7413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7414ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7415" 7416if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7417 cat >>confdefs.h <<_ACEOF 7418#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7419_ACEOF 7420 7421fi 7422 7423done 7424 7425 7426for ac_header in dlfcn.h 7427do : 7428 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7429" 7430if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7431 cat >>confdefs.h <<_ACEOF 7432#define HAVE_DLFCN_H 1 7433_ACEOF 7434 7435fi 7436 7437done 7438 7439 7440 7441 7442 7443# Set options 7444 7445 7446 7447 enable_dlopen=no 7448 7449 7450 enable_win32_dll=no 7451 7452 7453 # Check whether --enable-shared was given. 7454if test "${enable_shared+set}" = set; then : 7455 enableval=$enable_shared; p=${PACKAGE-default} 7456 case $enableval in 7457 yes) enable_shared=yes ;; 7458 no) enable_shared=no ;; 7459 *) 7460 enable_shared=no 7461 # Look at the argument we got. We use all the common list separators. 7462 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7463 for pkg in $enableval; do 7464 IFS="$lt_save_ifs" 7465 if test "X$pkg" = "X$p"; then 7466 enable_shared=yes 7467 fi 7468 done 7469 IFS="$lt_save_ifs" 7470 ;; 7471 esac 7472else 7473 enable_shared=yes 7474fi 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 # Check whether --enable-static was given. 7485if test "${enable_static+set}" = set; then : 7486 enableval=$enable_static; p=${PACKAGE-default} 7487 case $enableval in 7488 yes) enable_static=yes ;; 7489 no) enable_static=no ;; 7490 *) 7491 enable_static=no 7492 # Look at the argument we got. We use all the common list separators. 7493 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7494 for pkg in $enableval; do 7495 IFS="$lt_save_ifs" 7496 if test "X$pkg" = "X$p"; then 7497 enable_static=yes 7498 fi 7499 done 7500 IFS="$lt_save_ifs" 7501 ;; 7502 esac 7503else 7504 enable_static=yes 7505fi 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516# Check whether --with-pic was given. 7517if test "${with_pic+set}" = set; then : 7518 withval=$with_pic; pic_mode="$withval" 7519else 7520 pic_mode=default 7521fi 7522 7523 7524test -z "$pic_mode" && pic_mode=default 7525 7526 7527 7528 7529 7530 7531 7532 # Check whether --enable-fast-install was given. 7533if test "${enable_fast_install+set}" = set; then : 7534 enableval=$enable_fast_install; p=${PACKAGE-default} 7535 case $enableval in 7536 yes) enable_fast_install=yes ;; 7537 no) enable_fast_install=no ;; 7538 *) 7539 enable_fast_install=no 7540 # Look at the argument we got. We use all the common list separators. 7541 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7542 for pkg in $enableval; do 7543 IFS="$lt_save_ifs" 7544 if test "X$pkg" = "X$p"; then 7545 enable_fast_install=yes 7546 fi 7547 done 7548 IFS="$lt_save_ifs" 7549 ;; 7550 esac 7551else 7552 enable_fast_install=yes 7553fi 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565# This can be used to rebuild libtool when needed 7566LIBTOOL_DEPS="$ltmain" 7567 7568# Always use our own libtool. 7569LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596test -z "$LN_S" && LN_S="ln -s" 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611if test -n "${ZSH_VERSION+set}" ; then 7612 setopt NO_GLOB_SUBST 7613fi 7614 7615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7616$as_echo_n "checking for objdir... " >&6; } 7617if ${lt_cv_objdir+:} false; then : 7618 $as_echo_n "(cached) " >&6 7619else 7620 rm -f .libs 2>/dev/null 7621mkdir .libs 2>/dev/null 7622if test -d .libs; then 7623 lt_cv_objdir=.libs 7624else 7625 # MS-DOS does not allow filenames that begin with a dot. 7626 lt_cv_objdir=_libs 7627fi 7628rmdir .libs 2>/dev/null 7629fi 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7631$as_echo "$lt_cv_objdir" >&6; } 7632objdir=$lt_cv_objdir 7633 7634 7635 7636 7637 7638cat >>confdefs.h <<_ACEOF 7639#define LT_OBJDIR "$lt_cv_objdir/" 7640_ACEOF 7641 7642 7643 7644 7645case $host_os in 7646aix3*) 7647 # AIX sometimes has problems with the GCC collect2 program. For some 7648 # reason, if we set the COLLECT_NAMES environment variable, the problems 7649 # vanish in a puff of smoke. 7650 if test "X${COLLECT_NAMES+set}" != Xset; then 7651 COLLECT_NAMES= 7652 export COLLECT_NAMES 7653 fi 7654 ;; 7655esac 7656 7657# Global variables: 7658ofile=libtool 7659can_build_shared=yes 7660 7661# All known linkers require a `.a' archive for static linking (except MSVC, 7662# which needs '.lib'). 7663libext=a 7664 7665with_gnu_ld="$lt_cv_prog_gnu_ld" 7666 7667old_CC="$CC" 7668old_CFLAGS="$CFLAGS" 7669 7670# Set sane defaults for various variables 7671test -z "$CC" && CC=cc 7672test -z "$LTCC" && LTCC=$CC 7673test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7674test -z "$LD" && LD=ld 7675test -z "$ac_objext" && ac_objext=o 7676 7677for cc_temp in $compiler""; do 7678 case $cc_temp in 7679 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7680 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7681 \-*) ;; 7682 *) break;; 7683 esac 7684done 7685cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7686 7687 7688# Only perform the check for file, if the check method requires it 7689test -z "$MAGIC_CMD" && MAGIC_CMD=file 7690case $deplibs_check_method in 7691file_magic*) 7692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7694$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7695if ${lt_cv_path_MAGIC_CMD+:} false; then : 7696 $as_echo_n "(cached) " >&6 7697else 7698 case $MAGIC_CMD in 7699[\\/*] | ?:[\\/]*) 7700 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7701 ;; 7702*) 7703 lt_save_MAGIC_CMD="$MAGIC_CMD" 7704 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7705 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7706 for ac_dir in $ac_dummy; do 7707 IFS="$lt_save_ifs" 7708 test -z "$ac_dir" && ac_dir=. 7709 if test -f $ac_dir/${ac_tool_prefix}file; then 7710 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7711 if test -n "$file_magic_test_file"; then 7712 case $deplibs_check_method in 7713 "file_magic "*) 7714 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7715 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7716 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7717 $EGREP "$file_magic_regex" > /dev/null; then 7718 : 7719 else 7720 cat <<_LT_EOF 1>&2 7721 7722*** Warning: the command libtool uses to detect shared libraries, 7723*** $file_magic_cmd, produces output that libtool cannot recognize. 7724*** The result is that libtool may fail to recognize shared libraries 7725*** as such. This will affect the creation of libtool libraries that 7726*** depend on shared libraries, but programs linked with such libtool 7727*** libraries will work regardless of this problem. Nevertheless, you 7728*** may want to report the problem to your system manager and/or to 7729*** bug-libtool@gnu.org 7730 7731_LT_EOF 7732 fi ;; 7733 esac 7734 fi 7735 break 7736 fi 7737 done 7738 IFS="$lt_save_ifs" 7739 MAGIC_CMD="$lt_save_MAGIC_CMD" 7740 ;; 7741esac 7742fi 7743 7744MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7745if test -n "$MAGIC_CMD"; then 7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7747$as_echo "$MAGIC_CMD" >&6; } 7748else 7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7750$as_echo "no" >&6; } 7751fi 7752 7753 7754 7755 7756 7757if test -z "$lt_cv_path_MAGIC_CMD"; then 7758 if test -n "$ac_tool_prefix"; then 7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7760$as_echo_n "checking for file... " >&6; } 7761if ${lt_cv_path_MAGIC_CMD+:} false; then : 7762 $as_echo_n "(cached) " >&6 7763else 7764 case $MAGIC_CMD in 7765[\\/*] | ?:[\\/]*) 7766 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7767 ;; 7768*) 7769 lt_save_MAGIC_CMD="$MAGIC_CMD" 7770 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7771 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7772 for ac_dir in $ac_dummy; do 7773 IFS="$lt_save_ifs" 7774 test -z "$ac_dir" && ac_dir=. 7775 if test -f $ac_dir/file; then 7776 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7777 if test -n "$file_magic_test_file"; then 7778 case $deplibs_check_method in 7779 "file_magic "*) 7780 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7782 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7783 $EGREP "$file_magic_regex" > /dev/null; then 7784 : 7785 else 7786 cat <<_LT_EOF 1>&2 7787 7788*** Warning: the command libtool uses to detect shared libraries, 7789*** $file_magic_cmd, produces output that libtool cannot recognize. 7790*** The result is that libtool may fail to recognize shared libraries 7791*** as such. This will affect the creation of libtool libraries that 7792*** depend on shared libraries, but programs linked with such libtool 7793*** libraries will work regardless of this problem. Nevertheless, you 7794*** may want to report the problem to your system manager and/or to 7795*** bug-libtool@gnu.org 7796 7797_LT_EOF 7798 fi ;; 7799 esac 7800 fi 7801 break 7802 fi 7803 done 7804 IFS="$lt_save_ifs" 7805 MAGIC_CMD="$lt_save_MAGIC_CMD" 7806 ;; 7807esac 7808fi 7809 7810MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7811if test -n "$MAGIC_CMD"; then 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7813$as_echo "$MAGIC_CMD" >&6; } 7814else 7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7816$as_echo "no" >&6; } 7817fi 7818 7819 7820 else 7821 MAGIC_CMD=: 7822 fi 7823fi 7824 7825 fi 7826 ;; 7827esac 7828 7829# Use C for the default configuration in the libtool script 7830 7831lt_save_CC="$CC" 7832ac_ext=c 7833ac_cpp='$CPP $CPPFLAGS' 7834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7836ac_compiler_gnu=$ac_cv_c_compiler_gnu 7837 7838 7839# Source file extension for C test sources. 7840ac_ext=c 7841 7842# Object file extension for compiled C test sources. 7843objext=o 7844objext=$objext 7845 7846# Code to be used in simple compile tests 7847lt_simple_compile_test_code="int some_variable = 0;" 7848 7849# Code to be used in simple link tests 7850lt_simple_link_test_code='int main(){return(0);}' 7851 7852 7853 7854 7855 7856 7857 7858# If no C compiler was specified, use CC. 7859LTCC=${LTCC-"$CC"} 7860 7861# If no C compiler flags were specified, use CFLAGS. 7862LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7863 7864# Allow CC to be a program name with arguments. 7865compiler=$CC 7866 7867# Save the default compiler, since it gets overwritten when the other 7868# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7869compiler_DEFAULT=$CC 7870 7871# save warnings/boilerplate of simple test code 7872ac_outfile=conftest.$ac_objext 7873echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7874eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7875_lt_compiler_boilerplate=`cat conftest.err` 7876$RM conftest* 7877 7878ac_outfile=conftest.$ac_objext 7879echo "$lt_simple_link_test_code" >conftest.$ac_ext 7880eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7881_lt_linker_boilerplate=`cat conftest.err` 7882$RM -r conftest* 7883 7884 7885## CAVEAT EMPTOR: 7886## There is no encapsulation within the following macros, do not change 7887## the running order or otherwise move them around unless you know exactly 7888## what you are doing... 7889if test -n "$compiler"; then 7890 7891lt_prog_compiler_no_builtin_flag= 7892 7893if test "$GCC" = yes; then 7894 case $cc_basename in 7895 nvcc*) 7896 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7897 *) 7898 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7899 esac 7900 7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7902$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7903if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7904 $as_echo_n "(cached) " >&6 7905else 7906 lt_cv_prog_compiler_rtti_exceptions=no 7907 ac_outfile=conftest.$ac_objext 7908 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7909 lt_compiler_flag="-fno-rtti -fno-exceptions" 7910 # Insert the option either (1) after the last *FLAGS variable, or 7911 # (2) before a word containing "conftest.", or (3) at the end. 7912 # Note that $ac_compile itself does not contain backslashes and begins 7913 # with a dollar sign (not a hyphen), so the echo should work correctly. 7914 # The option is referenced via a variable to avoid confusing sed. 7915 lt_compile=`echo "$ac_compile" | $SED \ 7916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7918 -e 's:$: $lt_compiler_flag:'` 7919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7920 (eval "$lt_compile" 2>conftest.err) 7921 ac_status=$? 7922 cat conftest.err >&5 7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7924 if (exit $ac_status) && test -s "$ac_outfile"; then 7925 # The compiler can only warn and ignore the option if not recognized 7926 # So say no if there are warnings other than the usual output. 7927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7928 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7929 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7930 lt_cv_prog_compiler_rtti_exceptions=yes 7931 fi 7932 fi 7933 $RM conftest* 7934 7935fi 7936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7937$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7938 7939if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7940 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7941else 7942 : 7943fi 7944 7945fi 7946 7947 7948 7949 7950 7951 7952 lt_prog_compiler_wl= 7953lt_prog_compiler_pic= 7954lt_prog_compiler_static= 7955 7956 7957 if test "$GCC" = yes; then 7958 lt_prog_compiler_wl='-Wl,' 7959 lt_prog_compiler_static='-static' 7960 7961 case $host_os in 7962 aix*) 7963 # All AIX code is PIC. 7964 if test "$host_cpu" = ia64; then 7965 # AIX 5 now supports IA64 processor 7966 lt_prog_compiler_static='-Bstatic' 7967 fi 7968 ;; 7969 7970 amigaos*) 7971 case $host_cpu in 7972 powerpc) 7973 # see comment about AmigaOS4 .so support 7974 lt_prog_compiler_pic='-fPIC' 7975 ;; 7976 m68k) 7977 # FIXME: we need at least 68020 code to build shared libraries, but 7978 # adding the `-m68020' flag to GCC prevents building anything better, 7979 # like `-m68040'. 7980 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7981 ;; 7982 esac 7983 ;; 7984 7985 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7986 # PIC is the default for these OSes. 7987 ;; 7988 7989 mingw* | cygwin* | pw32* | os2* | cegcc*) 7990 # This hack is so that the source file can tell whether it is being 7991 # built for inclusion in a dll (and should export symbols for example). 7992 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7993 # (--disable-auto-import) libraries 7994 lt_prog_compiler_pic='-DDLL_EXPORT' 7995 ;; 7996 7997 darwin* | rhapsody*) 7998 # PIC is the default on this platform 7999 # Common symbols not allowed in MH_DYLIB files 8000 lt_prog_compiler_pic='-fno-common' 8001 ;; 8002 8003 haiku*) 8004 # PIC is the default for Haiku. 8005 # The "-static" flag exists, but is broken. 8006 lt_prog_compiler_static= 8007 ;; 8008 8009 hpux*) 8010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8012 # sets the default TLS model and affects inlining. 8013 case $host_cpu in 8014 hppa*64*) 8015 # +Z the default 8016 ;; 8017 *) 8018 lt_prog_compiler_pic='-fPIC' 8019 ;; 8020 esac 8021 ;; 8022 8023 interix[3-9]*) 8024 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8025 # Instead, we relocate shared libraries at runtime. 8026 ;; 8027 8028 msdosdjgpp*) 8029 # Just because we use GCC doesn't mean we suddenly get shared libraries 8030 # on systems that don't support them. 8031 lt_prog_compiler_can_build_shared=no 8032 enable_shared=no 8033 ;; 8034 8035 *nto* | *qnx*) 8036 # QNX uses GNU C++, but need to define -shared option too, otherwise 8037 # it will coredump. 8038 lt_prog_compiler_pic='-fPIC -shared' 8039 ;; 8040 8041 sysv4*MP*) 8042 if test -d /usr/nec; then 8043 lt_prog_compiler_pic=-Kconform_pic 8044 fi 8045 ;; 8046 8047 *) 8048 lt_prog_compiler_pic='-fPIC' 8049 ;; 8050 esac 8051 8052 case $cc_basename in 8053 nvcc*) # Cuda Compiler Driver 2.2 8054 lt_prog_compiler_wl='-Xlinker ' 8055 lt_prog_compiler_pic='-Xcompiler -fPIC' 8056 ;; 8057 esac 8058 else 8059 # PORTME Check for flag to pass linker flags through the system compiler. 8060 case $host_os in 8061 aix*) 8062 lt_prog_compiler_wl='-Wl,' 8063 if test "$host_cpu" = ia64; then 8064 # AIX 5 now supports IA64 processor 8065 lt_prog_compiler_static='-Bstatic' 8066 else 8067 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8068 fi 8069 ;; 8070 8071 mingw* | cygwin* | pw32* | os2* | cegcc*) 8072 # This hack is so that the source file can tell whether it is being 8073 # built for inclusion in a dll (and should export symbols for example). 8074 lt_prog_compiler_pic='-DDLL_EXPORT' 8075 ;; 8076 8077 hpux9* | hpux10* | hpux11*) 8078 lt_prog_compiler_wl='-Wl,' 8079 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8080 # not for PA HP-UX. 8081 case $host_cpu in 8082 hppa*64*|ia64*) 8083 # +Z the default 8084 ;; 8085 *) 8086 lt_prog_compiler_pic='+Z' 8087 ;; 8088 esac 8089 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8090 lt_prog_compiler_static='${wl}-a ${wl}archive' 8091 ;; 8092 8093 irix5* | irix6* | nonstopux*) 8094 lt_prog_compiler_wl='-Wl,' 8095 # PIC (with -KPIC) is the default. 8096 lt_prog_compiler_static='-non_shared' 8097 ;; 8098 8099 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8100 case $cc_basename in 8101 # old Intel for x86_64 which still supported -KPIC. 8102 ecc*) 8103 lt_prog_compiler_wl='-Wl,' 8104 lt_prog_compiler_pic='-KPIC' 8105 lt_prog_compiler_static='-static' 8106 ;; 8107 # icc used to be incompatible with GCC. 8108 # ICC 10 doesn't accept -KPIC any more. 8109 icc* | ifort*) 8110 lt_prog_compiler_wl='-Wl,' 8111 lt_prog_compiler_pic='-fPIC' 8112 lt_prog_compiler_static='-static' 8113 ;; 8114 # Lahey Fortran 8.1. 8115 lf95*) 8116 lt_prog_compiler_wl='-Wl,' 8117 lt_prog_compiler_pic='--shared' 8118 lt_prog_compiler_static='--static' 8119 ;; 8120 nagfor*) 8121 # NAG Fortran compiler 8122 lt_prog_compiler_wl='-Wl,-Wl,,' 8123 lt_prog_compiler_pic='-PIC' 8124 lt_prog_compiler_static='-Bstatic' 8125 ;; 8126 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8127 # Portland Group compilers (*not* the Pentium gcc compiler, 8128 # which looks to be a dead project) 8129 lt_prog_compiler_wl='-Wl,' 8130 lt_prog_compiler_pic='-fpic' 8131 lt_prog_compiler_static='-Bstatic' 8132 ;; 8133 ccc*) 8134 lt_prog_compiler_wl='-Wl,' 8135 # All Alpha code is PIC. 8136 lt_prog_compiler_static='-non_shared' 8137 ;; 8138 xl* | bgxl* | bgf* | mpixl*) 8139 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8140 lt_prog_compiler_wl='-Wl,' 8141 lt_prog_compiler_pic='-qpic' 8142 lt_prog_compiler_static='-qstaticlink' 8143 ;; 8144 *) 8145 case `$CC -V 2>&1 | sed 5q` in 8146 *Sun\ F* | *Sun*Fortran*) 8147 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8148 lt_prog_compiler_pic='-KPIC' 8149 lt_prog_compiler_static='-Bstatic' 8150 lt_prog_compiler_wl='' 8151 ;; 8152 *Sun\ C*) 8153 # Sun C 5.9 8154 lt_prog_compiler_pic='-KPIC' 8155 lt_prog_compiler_static='-Bstatic' 8156 lt_prog_compiler_wl='-Wl,' 8157 ;; 8158 esac 8159 ;; 8160 esac 8161 ;; 8162 8163 newsos6) 8164 lt_prog_compiler_pic='-KPIC' 8165 lt_prog_compiler_static='-Bstatic' 8166 ;; 8167 8168 *nto* | *qnx*) 8169 # QNX uses GNU C++, but need to define -shared option too, otherwise 8170 # it will coredump. 8171 lt_prog_compiler_pic='-fPIC -shared' 8172 ;; 8173 8174 osf3* | osf4* | osf5*) 8175 lt_prog_compiler_wl='-Wl,' 8176 # All OSF/1 code is PIC. 8177 lt_prog_compiler_static='-non_shared' 8178 ;; 8179 8180 rdos*) 8181 lt_prog_compiler_static='-non_shared' 8182 ;; 8183 8184 solaris*) 8185 lt_prog_compiler_pic='-KPIC' 8186 lt_prog_compiler_static='-Bstatic' 8187 case $cc_basename in 8188 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8189 lt_prog_compiler_wl='-Qoption ld ';; 8190 *) 8191 lt_prog_compiler_wl='-Wl,';; 8192 esac 8193 ;; 8194 8195 sunos4*) 8196 lt_prog_compiler_wl='-Qoption ld ' 8197 lt_prog_compiler_pic='-PIC' 8198 lt_prog_compiler_static='-Bstatic' 8199 ;; 8200 8201 sysv4 | sysv4.2uw2* | sysv4.3*) 8202 lt_prog_compiler_wl='-Wl,' 8203 lt_prog_compiler_pic='-KPIC' 8204 lt_prog_compiler_static='-Bstatic' 8205 ;; 8206 8207 sysv4*MP*) 8208 if test -d /usr/nec ;then 8209 lt_prog_compiler_pic='-Kconform_pic' 8210 lt_prog_compiler_static='-Bstatic' 8211 fi 8212 ;; 8213 8214 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8215 lt_prog_compiler_wl='-Wl,' 8216 lt_prog_compiler_pic='-KPIC' 8217 lt_prog_compiler_static='-Bstatic' 8218 ;; 8219 8220 unicos*) 8221 lt_prog_compiler_wl='-Wl,' 8222 lt_prog_compiler_can_build_shared=no 8223 ;; 8224 8225 uts4*) 8226 lt_prog_compiler_pic='-pic' 8227 lt_prog_compiler_static='-Bstatic' 8228 ;; 8229 8230 *) 8231 lt_prog_compiler_can_build_shared=no 8232 ;; 8233 esac 8234 fi 8235 8236case $host_os in 8237 # For platforms which do not support PIC, -DPIC is meaningless: 8238 *djgpp*) 8239 lt_prog_compiler_pic= 8240 ;; 8241 *) 8242 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8243 ;; 8244esac 8245 8246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8247$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8248if ${lt_cv_prog_compiler_pic+:} false; then : 8249 $as_echo_n "(cached) " >&6 8250else 8251 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8252fi 8253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8254$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8255lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8256 8257# 8258# Check to make sure the PIC flag actually works. 8259# 8260if test -n "$lt_prog_compiler_pic"; then 8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8262$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8263if ${lt_cv_prog_compiler_pic_works+:} false; then : 8264 $as_echo_n "(cached) " >&6 8265else 8266 lt_cv_prog_compiler_pic_works=no 8267 ac_outfile=conftest.$ac_objext 8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8269 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8270 # Insert the option either (1) after the last *FLAGS variable, or 8271 # (2) before a word containing "conftest.", or (3) at the end. 8272 # Note that $ac_compile itself does not contain backslashes and begins 8273 # with a dollar sign (not a hyphen), so the echo should work correctly. 8274 # The option is referenced via a variable to avoid confusing sed. 8275 lt_compile=`echo "$ac_compile" | $SED \ 8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8278 -e 's:$: $lt_compiler_flag:'` 8279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8280 (eval "$lt_compile" 2>conftest.err) 8281 ac_status=$? 8282 cat conftest.err >&5 8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8284 if (exit $ac_status) && test -s "$ac_outfile"; then 8285 # The compiler can only warn and ignore the option if not recognized 8286 # So say no if there are warnings other than the usual output. 8287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8289 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8290 lt_cv_prog_compiler_pic_works=yes 8291 fi 8292 fi 8293 $RM conftest* 8294 8295fi 8296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8297$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8298 8299if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8300 case $lt_prog_compiler_pic in 8301 "" | " "*) ;; 8302 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8303 esac 8304else 8305 lt_prog_compiler_pic= 8306 lt_prog_compiler_can_build_shared=no 8307fi 8308 8309fi 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321# 8322# Check to make sure the static flag actually works. 8323# 8324wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8326$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8327if ${lt_cv_prog_compiler_static_works+:} false; then : 8328 $as_echo_n "(cached) " >&6 8329else 8330 lt_cv_prog_compiler_static_works=no 8331 save_LDFLAGS="$LDFLAGS" 8332 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8333 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8334 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8335 # The linker can only warn and ignore the option if not recognized 8336 # So say no if there are warnings 8337 if test -s conftest.err; then 8338 # Append any errors to the config.log. 8339 cat conftest.err 1>&5 8340 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8341 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8342 if diff conftest.exp conftest.er2 >/dev/null; then 8343 lt_cv_prog_compiler_static_works=yes 8344 fi 8345 else 8346 lt_cv_prog_compiler_static_works=yes 8347 fi 8348 fi 8349 $RM -r conftest* 8350 LDFLAGS="$save_LDFLAGS" 8351 8352fi 8353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8354$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8355 8356if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8357 : 8358else 8359 lt_prog_compiler_static= 8360fi 8361 8362 8363 8364 8365 8366 8367 8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8369$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8370if ${lt_cv_prog_compiler_c_o+:} false; then : 8371 $as_echo_n "(cached) " >&6 8372else 8373 lt_cv_prog_compiler_c_o=no 8374 $RM -r conftest 2>/dev/null 8375 mkdir conftest 8376 cd conftest 8377 mkdir out 8378 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8379 8380 lt_compiler_flag="-o out/conftest2.$ac_objext" 8381 # Insert the option either (1) after the last *FLAGS variable, or 8382 # (2) before a word containing "conftest.", or (3) at the end. 8383 # Note that $ac_compile itself does not contain backslashes and begins 8384 # with a dollar sign (not a hyphen), so the echo should work correctly. 8385 lt_compile=`echo "$ac_compile" | $SED \ 8386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8388 -e 's:$: $lt_compiler_flag:'` 8389 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8390 (eval "$lt_compile" 2>out/conftest.err) 8391 ac_status=$? 8392 cat out/conftest.err >&5 8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8394 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8395 then 8396 # The compiler can only warn and ignore the option if not recognized 8397 # So say no if there are warnings 8398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8399 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8400 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8401 lt_cv_prog_compiler_c_o=yes 8402 fi 8403 fi 8404 chmod u+w . 2>&5 8405 $RM conftest* 8406 # SGI C++ compiler will create directory out/ii_files/ for 8407 # template instantiation 8408 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8409 $RM out/* && rmdir out 8410 cd .. 8411 $RM -r conftest 8412 $RM conftest* 8413 8414fi 8415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8416$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8417 8418 8419 8420 8421 8422 8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8424$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8425if ${lt_cv_prog_compiler_c_o+:} false; then : 8426 $as_echo_n "(cached) " >&6 8427else 8428 lt_cv_prog_compiler_c_o=no 8429 $RM -r conftest 2>/dev/null 8430 mkdir conftest 8431 cd conftest 8432 mkdir out 8433 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8434 8435 lt_compiler_flag="-o out/conftest2.$ac_objext" 8436 # Insert the option either (1) after the last *FLAGS variable, or 8437 # (2) before a word containing "conftest.", or (3) at the end. 8438 # Note that $ac_compile itself does not contain backslashes and begins 8439 # with a dollar sign (not a hyphen), so the echo should work correctly. 8440 lt_compile=`echo "$ac_compile" | $SED \ 8441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8443 -e 's:$: $lt_compiler_flag:'` 8444 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8445 (eval "$lt_compile" 2>out/conftest.err) 8446 ac_status=$? 8447 cat out/conftest.err >&5 8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8449 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8450 then 8451 # The compiler can only warn and ignore the option if not recognized 8452 # So say no if there are warnings 8453 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8454 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8455 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8456 lt_cv_prog_compiler_c_o=yes 8457 fi 8458 fi 8459 chmod u+w . 2>&5 8460 $RM conftest* 8461 # SGI C++ compiler will create directory out/ii_files/ for 8462 # template instantiation 8463 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8464 $RM out/* && rmdir out 8465 cd .. 8466 $RM -r conftest 8467 $RM conftest* 8468 8469fi 8470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8471$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8472 8473 8474 8475 8476hard_links="nottested" 8477if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8478 # do not overwrite the value of need_locks provided by the user 8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8480$as_echo_n "checking if we can lock with hard links... " >&6; } 8481 hard_links=yes 8482 $RM conftest* 8483 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8484 touch conftest.a 8485 ln conftest.a conftest.b 2>&5 || hard_links=no 8486 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8488$as_echo "$hard_links" >&6; } 8489 if test "$hard_links" = no; then 8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8491$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8492 need_locks=warn 8493 fi 8494else 8495 need_locks=no 8496fi 8497 8498 8499 8500 8501 8502 8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8504$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8505 8506 runpath_var= 8507 allow_undefined_flag= 8508 always_export_symbols=no 8509 archive_cmds= 8510 archive_expsym_cmds= 8511 compiler_needs_object=no 8512 enable_shared_with_static_runtimes=no 8513 export_dynamic_flag_spec= 8514 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8515 hardcode_automatic=no 8516 hardcode_direct=no 8517 hardcode_direct_absolute=no 8518 hardcode_libdir_flag_spec= 8519 hardcode_libdir_flag_spec_ld= 8520 hardcode_libdir_separator= 8521 hardcode_minus_L=no 8522 hardcode_shlibpath_var=unsupported 8523 inherit_rpath=no 8524 link_all_deplibs=unknown 8525 module_cmds= 8526 module_expsym_cmds= 8527 old_archive_from_new_cmds= 8528 old_archive_from_expsyms_cmds= 8529 thread_safe_flag_spec= 8530 whole_archive_flag_spec= 8531 # include_expsyms should be a list of space-separated symbols to be *always* 8532 # included in the symbol list 8533 include_expsyms= 8534 # exclude_expsyms can be an extended regexp of symbols to exclude 8535 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8536 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8537 # as well as any symbol that contains `d'. 8538 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8539 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8540 # platforms (ab)use it in PIC code, but their linkers get confused if 8541 # the symbol is explicitly referenced. Since portable code cannot 8542 # rely on this symbol name, it's probably fine to never include it in 8543 # preloaded symbol tables. 8544 # Exclude shared library initialization/finalization symbols. 8545 extract_expsyms_cmds= 8546 8547 case $host_os in 8548 cygwin* | mingw* | pw32* | cegcc*) 8549 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8550 # When not using gcc, we currently assume that we are using 8551 # Microsoft Visual C++. 8552 if test "$GCC" != yes; then 8553 with_gnu_ld=no 8554 fi 8555 ;; 8556 interix*) 8557 # we just hope/assume this is gcc and not c89 (= MSVC++) 8558 with_gnu_ld=yes 8559 ;; 8560 openbsd*) 8561 with_gnu_ld=no 8562 ;; 8563 esac 8564 8565 ld_shlibs=yes 8566 8567 # On some targets, GNU ld is compatible enough with the native linker 8568 # that we're better off using the native interface for both. 8569 lt_use_gnu_ld_interface=no 8570 if test "$with_gnu_ld" = yes; then 8571 case $host_os in 8572 aix*) 8573 # The AIX port of GNU ld has always aspired to compatibility 8574 # with the native linker. However, as the warning in the GNU ld 8575 # block says, versions before 2.19.5* couldn't really create working 8576 # shared libraries, regardless of the interface used. 8577 case `$LD -v 2>&1` in 8578 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8579 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8580 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8581 *) 8582 lt_use_gnu_ld_interface=yes 8583 ;; 8584 esac 8585 ;; 8586 *) 8587 lt_use_gnu_ld_interface=yes 8588 ;; 8589 esac 8590 fi 8591 8592 if test "$lt_use_gnu_ld_interface" = yes; then 8593 # If archive_cmds runs LD, not CC, wlarc should be empty 8594 wlarc='${wl}' 8595 8596 # Set some defaults for GNU ld with shared library support. These 8597 # are reset later if shared libraries are not supported. Putting them 8598 # here allows them to be overridden if necessary. 8599 runpath_var=LD_RUN_PATH 8600 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8601 export_dynamic_flag_spec='${wl}--export-dynamic' 8602 # ancient GNU ld didn't support --whole-archive et. al. 8603 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8604 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8605 else 8606 whole_archive_flag_spec= 8607 fi 8608 supports_anon_versioning=no 8609 case `$LD -v 2>&1` in 8610 *GNU\ gold*) supports_anon_versioning=yes ;; 8611 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8612 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8613 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8614 *\ 2.11.*) ;; # other 2.11 versions 8615 *) supports_anon_versioning=yes ;; 8616 esac 8617 8618 # See if GNU ld supports shared libraries. 8619 case $host_os in 8620 aix[3-9]*) 8621 # On AIX/PPC, the GNU linker is very broken 8622 if test "$host_cpu" != ia64; then 8623 ld_shlibs=no 8624 cat <<_LT_EOF 1>&2 8625 8626*** Warning: the GNU linker, at least up to release 2.19, is reported 8627*** to be unable to reliably create shared libraries on AIX. 8628*** Therefore, libtool is disabling shared libraries support. If you 8629*** really care for shared libraries, you may want to install binutils 8630*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8631*** You will then need to restart the configuration process. 8632 8633_LT_EOF 8634 fi 8635 ;; 8636 8637 amigaos*) 8638 case $host_cpu in 8639 powerpc) 8640 # see comment about AmigaOS4 .so support 8641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8642 archive_expsym_cmds='' 8643 ;; 8644 m68k) 8645 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)' 8646 hardcode_libdir_flag_spec='-L$libdir' 8647 hardcode_minus_L=yes 8648 ;; 8649 esac 8650 ;; 8651 8652 beos*) 8653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8654 allow_undefined_flag=unsupported 8655 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8656 # support --undefined. This deserves some investigation. FIXME 8657 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8658 else 8659 ld_shlibs=no 8660 fi 8661 ;; 8662 8663 cygwin* | mingw* | pw32* | cegcc*) 8664 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8665 # as there is no search path for DLLs. 8666 hardcode_libdir_flag_spec='-L$libdir' 8667 export_dynamic_flag_spec='${wl}--export-all-symbols' 8668 allow_undefined_flag=unsupported 8669 always_export_symbols=no 8670 enable_shared_with_static_runtimes=yes 8671 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' 8672 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8673 8674 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8676 # If the export-symbols file already is a .def file (1st line 8677 # is EXPORTS), use it as is; otherwise, prepend... 8678 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8679 cp $export_symbols $output_objdir/$soname.def; 8680 else 8681 echo EXPORTS > $output_objdir/$soname.def; 8682 cat $export_symbols >> $output_objdir/$soname.def; 8683 fi~ 8684 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8685 else 8686 ld_shlibs=no 8687 fi 8688 ;; 8689 8690 haiku*) 8691 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8692 link_all_deplibs=yes 8693 ;; 8694 8695 interix[3-9]*) 8696 hardcode_direct=no 8697 hardcode_shlibpath_var=no 8698 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8699 export_dynamic_flag_spec='${wl}-E' 8700 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8701 # Instead, shared libraries are loaded at an image base (0x10000000 by 8702 # default) and relocated if they conflict, which is a slow very memory 8703 # consuming and fragmenting process. To avoid this, we pick a random, 8704 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8705 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8706 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8707 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' 8708 ;; 8709 8710 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8711 tmp_diet=no 8712 if test "$host_os" = linux-dietlibc; then 8713 case $cc_basename in 8714 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8715 esac 8716 fi 8717 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8718 && test "$tmp_diet" = no 8719 then 8720 tmp_addflag=' $pic_flag' 8721 tmp_sharedflag='-shared' 8722 case $cc_basename,$host_cpu in 8723 pgcc*) # Portland Group C compiler 8724 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' 8725 tmp_addflag=' $pic_flag' 8726 ;; 8727 pgf77* | pgf90* | pgf95* | pgfortran*) 8728 # Portland Group f77 and f90 compilers 8729 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' 8730 tmp_addflag=' $pic_flag -Mnomain' ;; 8731 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8732 tmp_addflag=' -i_dynamic' ;; 8733 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8734 tmp_addflag=' -i_dynamic -nofor_main' ;; 8735 ifc* | ifort*) # Intel Fortran compiler 8736 tmp_addflag=' -nofor_main' ;; 8737 lf95*) # Lahey Fortran 8.1 8738 whole_archive_flag_spec= 8739 tmp_sharedflag='--shared' ;; 8740 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8741 tmp_sharedflag='-qmkshrobj' 8742 tmp_addflag= ;; 8743 nvcc*) # Cuda Compiler Driver 2.2 8744 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' 8745 compiler_needs_object=yes 8746 ;; 8747 esac 8748 case `$CC -V 2>&1 | sed 5q` in 8749 *Sun\ C*) # Sun C 5.9 8750 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' 8751 compiler_needs_object=yes 8752 tmp_sharedflag='-G' ;; 8753 *Sun\ F*) # Sun Fortran 8.3 8754 tmp_sharedflag='-G' ;; 8755 esac 8756 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8757 8758 if test "x$supports_anon_versioning" = xyes; then 8759 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8761 echo "local: *; };" >> $output_objdir/$libname.ver~ 8762 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8763 fi 8764 8765 case $cc_basename in 8766 xlf* | bgf* | bgxlf* | mpixlf*) 8767 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8768 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8769 hardcode_libdir_flag_spec= 8770 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8771 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8772 if test "x$supports_anon_versioning" = xyes; then 8773 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8774 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8775 echo "local: *; };" >> $output_objdir/$libname.ver~ 8776 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8777 fi 8778 ;; 8779 esac 8780 else 8781 ld_shlibs=no 8782 fi 8783 ;; 8784 8785 netbsd*) 8786 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8787 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8788 wlarc= 8789 else 8790 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8791 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8792 fi 8793 ;; 8794 8795 solaris*) 8796 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8797 ld_shlibs=no 8798 cat <<_LT_EOF 1>&2 8799 8800*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8801*** create shared libraries on Solaris systems. Therefore, libtool 8802*** is disabling shared libraries support. We urge you to upgrade GNU 8803*** binutils to release 2.9.1 or newer. Another option is to modify 8804*** your PATH or compiler configuration so that the native linker is 8805*** used, and then restart. 8806 8807_LT_EOF 8808 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8809 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8810 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8811 else 8812 ld_shlibs=no 8813 fi 8814 ;; 8815 8816 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8817 case `$LD -v 2>&1` in 8818 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8819 ld_shlibs=no 8820 cat <<_LT_EOF 1>&2 8821 8822*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8823*** reliably create shared libraries on SCO systems. Therefore, libtool 8824*** is disabling shared libraries support. We urge you to upgrade GNU 8825*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8826*** your PATH or compiler configuration so that the native linker is 8827*** used, and then restart. 8828 8829_LT_EOF 8830 ;; 8831 *) 8832 # For security reasons, it is highly recommended that you always 8833 # use absolute paths for naming shared libraries, and exclude the 8834 # DT_RUNPATH tag from executables and libraries. But doing so 8835 # requires that you compile everything twice, which is a pain. 8836 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8839 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8840 else 8841 ld_shlibs=no 8842 fi 8843 ;; 8844 esac 8845 ;; 8846 8847 sunos4*) 8848 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8849 wlarc= 8850 hardcode_direct=yes 8851 hardcode_shlibpath_var=no 8852 ;; 8853 8854 *) 8855 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8856 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8857 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8858 else 8859 ld_shlibs=no 8860 fi 8861 ;; 8862 esac 8863 8864 if test "$ld_shlibs" = no; then 8865 runpath_var= 8866 hardcode_libdir_flag_spec= 8867 export_dynamic_flag_spec= 8868 whole_archive_flag_spec= 8869 fi 8870 else 8871 # PORTME fill in a description of your system's linker (not GNU ld) 8872 case $host_os in 8873 aix3*) 8874 allow_undefined_flag=unsupported 8875 always_export_symbols=yes 8876 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' 8877 # Note: this linker hardcodes the directories in LIBPATH if there 8878 # are no directories specified by -L. 8879 hardcode_minus_L=yes 8880 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8881 # Neither direct hardcoding nor static linking is supported with a 8882 # broken collect2. 8883 hardcode_direct=unsupported 8884 fi 8885 ;; 8886 8887 aix[4-9]*) 8888 if test "$host_cpu" = ia64; then 8889 # On IA64, the linker does run time linking by default, so we don't 8890 # have to do anything special. 8891 aix_use_runtimelinking=no 8892 exp_sym_flag='-Bexport' 8893 no_entry_flag="" 8894 else 8895 # If we're using GNU nm, then we don't want the "-C" option. 8896 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8897 # Also, AIX nm treats weak defined symbols like other global 8898 # defined symbols, whereas GNU nm marks them as "W". 8899 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8900 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' 8901 else 8902 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' 8903 fi 8904 aix_use_runtimelinking=no 8905 8906 # Test if we are trying to use run time linking or normal 8907 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8908 # need to do runtime linking. 8909 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8910 for ld_flag in $LDFLAGS; do 8911 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8912 aix_use_runtimelinking=yes 8913 break 8914 fi 8915 done 8916 ;; 8917 esac 8918 8919 exp_sym_flag='-bexport' 8920 no_entry_flag='-bnoentry' 8921 fi 8922 8923 # When large executables or shared objects are built, AIX ld can 8924 # have problems creating the table of contents. If linking a library 8925 # or program results in "error TOC overflow" add -mminimal-toc to 8926 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8927 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8928 8929 archive_cmds='' 8930 hardcode_direct=yes 8931 hardcode_direct_absolute=yes 8932 hardcode_libdir_separator=':' 8933 link_all_deplibs=yes 8934 file_list_spec='${wl}-f,' 8935 8936 if test "$GCC" = yes; then 8937 case $host_os in aix4.[012]|aix4.[012].*) 8938 # We only want to do this on AIX 4.2 and lower, the check 8939 # below for broken collect2 doesn't work under 4.3+ 8940 collect2name=`${CC} -print-prog-name=collect2` 8941 if test -f "$collect2name" && 8942 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8943 then 8944 # We have reworked collect2 8945 : 8946 else 8947 # We have old collect2 8948 hardcode_direct=unsupported 8949 # It fails to find uninstalled libraries when the uninstalled 8950 # path is not listed in the libpath. Setting hardcode_minus_L 8951 # to unsupported forces relinking 8952 hardcode_minus_L=yes 8953 hardcode_libdir_flag_spec='-L$libdir' 8954 hardcode_libdir_separator= 8955 fi 8956 ;; 8957 esac 8958 shared_flag='-shared' 8959 if test "$aix_use_runtimelinking" = yes; then 8960 shared_flag="$shared_flag "'${wl}-G' 8961 fi 8962 link_all_deplibs=no 8963 else 8964 # not using gcc 8965 if test "$host_cpu" = ia64; then 8966 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8967 # chokes on -Wl,-G. The following line is correct: 8968 shared_flag='-G' 8969 else 8970 if test "$aix_use_runtimelinking" = yes; then 8971 shared_flag='${wl}-G' 8972 else 8973 shared_flag='${wl}-bM:SRE' 8974 fi 8975 fi 8976 fi 8977 8978 export_dynamic_flag_spec='${wl}-bexpall' 8979 # It seems that -bexpall does not export symbols beginning with 8980 # underscore (_), so it is better to generate a list of symbols to export. 8981 always_export_symbols=yes 8982 if test "$aix_use_runtimelinking" = yes; then 8983 # Warning - without using the other runtime loading flags (-brtl), 8984 # -berok will link without error, but may produce a broken library. 8985 allow_undefined_flag='-berok' 8986 # Determine the default libpath from the value encoded in an 8987 # empty executable. 8988 if test "${lt_cv_aix_libpath+set}" = set; then 8989 aix_libpath=$lt_cv_aix_libpath 8990else 8991 if ${lt_cv_aix_libpath_+:} false; then : 8992 $as_echo_n "(cached) " >&6 8993else 8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8995/* end confdefs.h. */ 8996 8997int 8998main () 8999{ 9000 9001 ; 9002 return 0; 9003} 9004_ACEOF 9005if ac_fn_c_try_link "$LINENO"; then : 9006 9007 lt_aix_libpath_sed=' 9008 /Import File Strings/,/^$/ { 9009 /^0/ { 9010 s/^0 *\([^ ]*\) *$/\1/ 9011 p 9012 } 9013 }' 9014 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9015 # Check for a 64-bit object if we didn't find anything. 9016 if test -z "$lt_cv_aix_libpath_"; then 9017 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9018 fi 9019fi 9020rm -f core conftest.err conftest.$ac_objext \ 9021 conftest$ac_exeext conftest.$ac_ext 9022 if test -z "$lt_cv_aix_libpath_"; then 9023 lt_cv_aix_libpath_="/usr/lib:/lib" 9024 fi 9025 9026fi 9027 9028 aix_libpath=$lt_cv_aix_libpath_ 9029fi 9030 9031 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9032 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" 9033 else 9034 if test "$host_cpu" = ia64; then 9035 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9036 allow_undefined_flag="-z nodefs" 9037 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" 9038 else 9039 # Determine the default libpath from the value encoded in an 9040 # empty executable. 9041 if test "${lt_cv_aix_libpath+set}" = set; then 9042 aix_libpath=$lt_cv_aix_libpath 9043else 9044 if ${lt_cv_aix_libpath_+:} false; then : 9045 $as_echo_n "(cached) " >&6 9046else 9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9048/* end confdefs.h. */ 9049 9050int 9051main () 9052{ 9053 9054 ; 9055 return 0; 9056} 9057_ACEOF 9058if ac_fn_c_try_link "$LINENO"; then : 9059 9060 lt_aix_libpath_sed=' 9061 /Import File Strings/,/^$/ { 9062 /^0/ { 9063 s/^0 *\([^ ]*\) *$/\1/ 9064 p 9065 } 9066 }' 9067 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9068 # Check for a 64-bit object if we didn't find anything. 9069 if test -z "$lt_cv_aix_libpath_"; then 9070 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9071 fi 9072fi 9073rm -f core conftest.err conftest.$ac_objext \ 9074 conftest$ac_exeext conftest.$ac_ext 9075 if test -z "$lt_cv_aix_libpath_"; then 9076 lt_cv_aix_libpath_="/usr/lib:/lib" 9077 fi 9078 9079fi 9080 9081 aix_libpath=$lt_cv_aix_libpath_ 9082fi 9083 9084 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9085 # Warning - without using the other run time loading flags, 9086 # -berok will link without error, but may produce a broken library. 9087 no_undefined_flag=' ${wl}-bernotok' 9088 allow_undefined_flag=' ${wl}-berok' 9089 if test "$with_gnu_ld" = yes; then 9090 # We only use this code for GNU lds that support --whole-archive. 9091 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9092 else 9093 # Exported symbols can be pulled into shared objects from archives 9094 whole_archive_flag_spec='$convenience' 9095 fi 9096 archive_cmds_need_lc=yes 9097 # This is similar to how AIX traditionally builds its shared libraries. 9098 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' 9099 fi 9100 fi 9101 ;; 9102 9103 amigaos*) 9104 case $host_cpu in 9105 powerpc) 9106 # see comment about AmigaOS4 .so support 9107 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9108 archive_expsym_cmds='' 9109 ;; 9110 m68k) 9111 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)' 9112 hardcode_libdir_flag_spec='-L$libdir' 9113 hardcode_minus_L=yes 9114 ;; 9115 esac 9116 ;; 9117 9118 bsdi[45]*) 9119 export_dynamic_flag_spec=-rdynamic 9120 ;; 9121 9122 cygwin* | mingw* | pw32* | cegcc*) 9123 # When not using gcc, we currently assume that we are using 9124 # Microsoft Visual C++. 9125 # hardcode_libdir_flag_spec is actually meaningless, as there is 9126 # no search path for DLLs. 9127 case $cc_basename in 9128 cl*) 9129 # Native MSVC 9130 hardcode_libdir_flag_spec=' ' 9131 allow_undefined_flag=unsupported 9132 always_export_symbols=yes 9133 file_list_spec='@' 9134 # Tell ltmain to make .lib files, not .a files. 9135 libext=lib 9136 # Tell ltmain to make .dll files, not .so files. 9137 shrext_cmds=".dll" 9138 # FIXME: Setting linknames here is a bad hack. 9139 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9140 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9141 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9142 else 9143 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9144 fi~ 9145 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9146 linknames=' 9147 # The linker will not automatically build a static lib if we build a DLL. 9148 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9149 enable_shared_with_static_runtimes=yes 9150 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9151 # Don't use ranlib 9152 old_postinstall_cmds='chmod 644 $oldlib' 9153 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9154 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9155 case $lt_outputfile in 9156 *.exe|*.EXE) ;; 9157 *) 9158 lt_outputfile="$lt_outputfile.exe" 9159 lt_tool_outputfile="$lt_tool_outputfile.exe" 9160 ;; 9161 esac~ 9162 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9163 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9164 $RM "$lt_outputfile.manifest"; 9165 fi' 9166 ;; 9167 *) 9168 # Assume MSVC wrapper 9169 hardcode_libdir_flag_spec=' ' 9170 allow_undefined_flag=unsupported 9171 # Tell ltmain to make .lib files, not .a files. 9172 libext=lib 9173 # Tell ltmain to make .dll files, not .so files. 9174 shrext_cmds=".dll" 9175 # FIXME: Setting linknames here is a bad hack. 9176 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9177 # The linker will automatically build a .lib file if we build a DLL. 9178 old_archive_from_new_cmds='true' 9179 # FIXME: Should let the user specify the lib program. 9180 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9181 enable_shared_with_static_runtimes=yes 9182 ;; 9183 esac 9184 ;; 9185 9186 darwin* | rhapsody*) 9187 9188 9189 archive_cmds_need_lc=no 9190 hardcode_direct=no 9191 hardcode_automatic=yes 9192 hardcode_shlibpath_var=unsupported 9193 if test "$lt_cv_ld_force_load" = "yes"; then 9194 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\"`' 9195 else 9196 whole_archive_flag_spec='' 9197 fi 9198 link_all_deplibs=yes 9199 allow_undefined_flag="$_lt_dar_allow_undefined" 9200 case $cc_basename in 9201 ifort*) _lt_dar_can_shared=yes ;; 9202 *) _lt_dar_can_shared=$GCC ;; 9203 esac 9204 if test "$_lt_dar_can_shared" = "yes"; then 9205 output_verbose_link_cmd=func_echo_all 9206 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9207 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9208 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}" 9209 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}" 9210 9211 else 9212 ld_shlibs=no 9213 fi 9214 9215 ;; 9216 9217 dgux*) 9218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9219 hardcode_libdir_flag_spec='-L$libdir' 9220 hardcode_shlibpath_var=no 9221 ;; 9222 9223 freebsd1*) 9224 ld_shlibs=no 9225 ;; 9226 9227 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9228 # support. Future versions do this automatically, but an explicit c++rt0.o 9229 # does not break anything, and helps significantly (at the cost of a little 9230 # extra space). 9231 freebsd2.2*) 9232 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9233 hardcode_libdir_flag_spec='-R$libdir' 9234 hardcode_direct=yes 9235 hardcode_shlibpath_var=no 9236 ;; 9237 9238 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9239 freebsd2*) 9240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9241 hardcode_direct=yes 9242 hardcode_minus_L=yes 9243 hardcode_shlibpath_var=no 9244 ;; 9245 9246 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9247 freebsd* | dragonfly*) 9248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9249 hardcode_libdir_flag_spec='-R$libdir' 9250 hardcode_direct=yes 9251 hardcode_shlibpath_var=no 9252 ;; 9253 9254 hpux9*) 9255 if test "$GCC" = yes; then 9256 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' 9257 else 9258 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' 9259 fi 9260 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9261 hardcode_libdir_separator=: 9262 hardcode_direct=yes 9263 9264 # hardcode_minus_L: Not really in the search PATH, 9265 # but as the default location of the library. 9266 hardcode_minus_L=yes 9267 export_dynamic_flag_spec='${wl}-E' 9268 ;; 9269 9270 hpux10*) 9271 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9272 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9273 else 9274 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9275 fi 9276 if test "$with_gnu_ld" = no; then 9277 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9278 hardcode_libdir_flag_spec_ld='+b $libdir' 9279 hardcode_libdir_separator=: 9280 hardcode_direct=yes 9281 hardcode_direct_absolute=yes 9282 export_dynamic_flag_spec='${wl}-E' 9283 # hardcode_minus_L: Not really in the search PATH, 9284 # but as the default location of the library. 9285 hardcode_minus_L=yes 9286 fi 9287 ;; 9288 9289 hpux11*) 9290 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9291 case $host_cpu in 9292 hppa*64*) 9293 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9294 ;; 9295 ia64*) 9296 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9297 ;; 9298 *) 9299 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9300 ;; 9301 esac 9302 else 9303 case $host_cpu in 9304 hppa*64*) 9305 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9306 ;; 9307 ia64*) 9308 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9309 ;; 9310 *) 9311 9312 # Older versions of the 11.00 compiler do not understand -b yet 9313 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9315$as_echo_n "checking if $CC understands -b... " >&6; } 9316if ${lt_cv_prog_compiler__b+:} false; then : 9317 $as_echo_n "(cached) " >&6 9318else 9319 lt_cv_prog_compiler__b=no 9320 save_LDFLAGS="$LDFLAGS" 9321 LDFLAGS="$LDFLAGS -b" 9322 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9323 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9324 # The linker can only warn and ignore the option if not recognized 9325 # So say no if there are warnings 9326 if test -s conftest.err; then 9327 # Append any errors to the config.log. 9328 cat conftest.err 1>&5 9329 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9331 if diff conftest.exp conftest.er2 >/dev/null; then 9332 lt_cv_prog_compiler__b=yes 9333 fi 9334 else 9335 lt_cv_prog_compiler__b=yes 9336 fi 9337 fi 9338 $RM -r conftest* 9339 LDFLAGS="$save_LDFLAGS" 9340 9341fi 9342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9343$as_echo "$lt_cv_prog_compiler__b" >&6; } 9344 9345if test x"$lt_cv_prog_compiler__b" = xyes; then 9346 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9347else 9348 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9349fi 9350 9351 ;; 9352 esac 9353 fi 9354 if test "$with_gnu_ld" = no; then 9355 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9356 hardcode_libdir_separator=: 9357 9358 case $host_cpu in 9359 hppa*64*|ia64*) 9360 hardcode_direct=no 9361 hardcode_shlibpath_var=no 9362 ;; 9363 *) 9364 hardcode_direct=yes 9365 hardcode_direct_absolute=yes 9366 export_dynamic_flag_spec='${wl}-E' 9367 9368 # hardcode_minus_L: Not really in the search PATH, 9369 # but as the default location of the library. 9370 hardcode_minus_L=yes 9371 ;; 9372 esac 9373 fi 9374 ;; 9375 9376 irix5* | irix6* | nonstopux*) 9377 if test "$GCC" = yes; then 9378 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' 9379 # Try to use the -exported_symbol ld option, if it does not 9380 # work, assume that -exports_file does not work either and 9381 # implicitly export all symbols. 9382 # This should be the same for all languages, so no per-tag cache variable. 9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9384$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9385if ${lt_cv_irix_exported_symbol+:} false; then : 9386 $as_echo_n "(cached) " >&6 9387else 9388 save_LDFLAGS="$LDFLAGS" 9389 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9391/* end confdefs.h. */ 9392int foo (void) { return 0; } 9393_ACEOF 9394if ac_fn_c_try_link "$LINENO"; then : 9395 lt_cv_irix_exported_symbol=yes 9396else 9397 lt_cv_irix_exported_symbol=no 9398fi 9399rm -f core conftest.err conftest.$ac_objext \ 9400 conftest$ac_exeext conftest.$ac_ext 9401 LDFLAGS="$save_LDFLAGS" 9402fi 9403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9404$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9405 if test "$lt_cv_irix_exported_symbol" = yes; then 9406 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' 9407 fi 9408 else 9409 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' 9410 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' 9411 fi 9412 archive_cmds_need_lc='no' 9413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9414 hardcode_libdir_separator=: 9415 inherit_rpath=yes 9416 link_all_deplibs=yes 9417 ;; 9418 9419 netbsd*) 9420 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9421 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9422 else 9423 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9424 fi 9425 hardcode_libdir_flag_spec='-R$libdir' 9426 hardcode_direct=yes 9427 hardcode_shlibpath_var=no 9428 ;; 9429 9430 newsos6) 9431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9432 hardcode_direct=yes 9433 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9434 hardcode_libdir_separator=: 9435 hardcode_shlibpath_var=no 9436 ;; 9437 9438 *nto* | *qnx*) 9439 ;; 9440 9441 openbsd*) 9442 if test -f /usr/libexec/ld.so; then 9443 hardcode_direct=yes 9444 hardcode_shlibpath_var=no 9445 hardcode_direct_absolute=yes 9446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9447 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9448 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9449 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9450 export_dynamic_flag_spec='${wl}-E' 9451 else 9452 case $host_os in 9453 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9454 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9455 hardcode_libdir_flag_spec='-R$libdir' 9456 ;; 9457 *) 9458 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9459 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9460 ;; 9461 esac 9462 fi 9463 else 9464 ld_shlibs=no 9465 fi 9466 ;; 9467 9468 os2*) 9469 hardcode_libdir_flag_spec='-L$libdir' 9470 hardcode_minus_L=yes 9471 allow_undefined_flag=unsupported 9472 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' 9473 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9474 ;; 9475 9476 osf3*) 9477 if test "$GCC" = yes; then 9478 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9479 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' 9480 else 9481 allow_undefined_flag=' -expect_unresolved \*' 9482 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' 9483 fi 9484 archive_cmds_need_lc='no' 9485 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9486 hardcode_libdir_separator=: 9487 ;; 9488 9489 osf4* | osf5*) # as osf3* with the addition of -msym flag 9490 if test "$GCC" = yes; then 9491 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9492 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' 9493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9494 else 9495 allow_undefined_flag=' -expect_unresolved \*' 9496 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' 9497 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~ 9498 $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' 9499 9500 # Both c and cxx compiler support -rpath directly 9501 hardcode_libdir_flag_spec='-rpath $libdir' 9502 fi 9503 archive_cmds_need_lc='no' 9504 hardcode_libdir_separator=: 9505 ;; 9506 9507 solaris*) 9508 no_undefined_flag=' -z defs' 9509 if test "$GCC" = yes; then 9510 wlarc='${wl}' 9511 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9512 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9513 $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' 9514 else 9515 case `$CC -V 2>&1` in 9516 *"Compilers 5.0"*) 9517 wlarc='' 9518 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9519 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9520 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9521 ;; 9522 *) 9523 wlarc='${wl}' 9524 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9525 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9526 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9527 ;; 9528 esac 9529 fi 9530 hardcode_libdir_flag_spec='-R$libdir' 9531 hardcode_shlibpath_var=no 9532 case $host_os in 9533 solaris2.[0-5] | solaris2.[0-5].*) ;; 9534 *) 9535 # The compiler driver will combine and reorder linker options, 9536 # but understands `-z linker_flag'. GCC discards it without `$wl', 9537 # but is careful enough not to reorder. 9538 # Supported since Solaris 2.6 (maybe 2.5.1?) 9539 if test "$GCC" = yes; then 9540 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9541 else 9542 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9543 fi 9544 ;; 9545 esac 9546 link_all_deplibs=yes 9547 ;; 9548 9549 sunos4*) 9550 if test "x$host_vendor" = xsequent; then 9551 # Use $CC to link under sequent, because it throws in some extra .o 9552 # files that make .init and .fini sections work. 9553 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9554 else 9555 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9556 fi 9557 hardcode_libdir_flag_spec='-L$libdir' 9558 hardcode_direct=yes 9559 hardcode_minus_L=yes 9560 hardcode_shlibpath_var=no 9561 ;; 9562 9563 sysv4) 9564 case $host_vendor in 9565 sni) 9566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9567 hardcode_direct=yes # is this really true??? 9568 ;; 9569 siemens) 9570 ## LD is ld it makes a PLAMLIB 9571 ## CC just makes a GrossModule. 9572 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9573 reload_cmds='$CC -r -o $output$reload_objs' 9574 hardcode_direct=no 9575 ;; 9576 motorola) 9577 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9578 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9579 ;; 9580 esac 9581 runpath_var='LD_RUN_PATH' 9582 hardcode_shlibpath_var=no 9583 ;; 9584 9585 sysv4.3*) 9586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9587 hardcode_shlibpath_var=no 9588 export_dynamic_flag_spec='-Bexport' 9589 ;; 9590 9591 sysv4*MP*) 9592 if test -d /usr/nec; then 9593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9594 hardcode_shlibpath_var=no 9595 runpath_var=LD_RUN_PATH 9596 hardcode_runpath_var=yes 9597 ld_shlibs=yes 9598 fi 9599 ;; 9600 9601 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9602 no_undefined_flag='${wl}-z,text' 9603 archive_cmds_need_lc=no 9604 hardcode_shlibpath_var=no 9605 runpath_var='LD_RUN_PATH' 9606 9607 if test "$GCC" = yes; then 9608 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9609 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9610 else 9611 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9612 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9613 fi 9614 ;; 9615 9616 sysv5* | sco3.2v5* | sco5v6*) 9617 # Note: We can NOT use -z defs as we might desire, because we do not 9618 # link with -lc, and that would cause any symbols used from libc to 9619 # always be unresolved, which means just about no library would 9620 # ever link correctly. If we're not using GNU ld we use -z text 9621 # though, which does catch some bad symbols but isn't as heavy-handed 9622 # as -z defs. 9623 no_undefined_flag='${wl}-z,text' 9624 allow_undefined_flag='${wl}-z,nodefs' 9625 archive_cmds_need_lc=no 9626 hardcode_shlibpath_var=no 9627 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9628 hardcode_libdir_separator=':' 9629 link_all_deplibs=yes 9630 export_dynamic_flag_spec='${wl}-Bexport' 9631 runpath_var='LD_RUN_PATH' 9632 9633 if test "$GCC" = yes; then 9634 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9635 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9636 else 9637 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9638 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9639 fi 9640 ;; 9641 9642 uts4*) 9643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9644 hardcode_libdir_flag_spec='-L$libdir' 9645 hardcode_shlibpath_var=no 9646 ;; 9647 9648 *) 9649 ld_shlibs=no 9650 ;; 9651 esac 9652 9653 if test x$host_vendor = xsni; then 9654 case $host in 9655 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9656 export_dynamic_flag_spec='${wl}-Blargedynsym' 9657 ;; 9658 esac 9659 fi 9660 fi 9661 9662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9663$as_echo "$ld_shlibs" >&6; } 9664test "$ld_shlibs" = no && can_build_shared=no 9665 9666with_gnu_ld=$with_gnu_ld 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682# 9683# Do we need to explicitly link libc? 9684# 9685case "x$archive_cmds_need_lc" in 9686x|xyes) 9687 # Assume -lc should be added 9688 archive_cmds_need_lc=yes 9689 9690 if test "$enable_shared" = yes && test "$GCC" = yes; then 9691 case $archive_cmds in 9692 *'~'*) 9693 # FIXME: we may have to deal with multi-command sequences. 9694 ;; 9695 '$CC '*) 9696 # Test whether the compiler implicitly links with -lc since on some 9697 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9698 # to ld, don't add -lc before -lgcc. 9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9700$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9701if ${lt_cv_archive_cmds_need_lc+:} false; then : 9702 $as_echo_n "(cached) " >&6 9703else 9704 $RM conftest* 9705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9706 9707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9708 (eval $ac_compile) 2>&5 9709 ac_status=$? 9710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9711 test $ac_status = 0; } 2>conftest.err; then 9712 soname=conftest 9713 lib=conftest 9714 libobjs=conftest.$ac_objext 9715 deplibs= 9716 wl=$lt_prog_compiler_wl 9717 pic_flag=$lt_prog_compiler_pic 9718 compiler_flags=-v 9719 linker_flags=-v 9720 verstring= 9721 output_objdir=. 9722 libname=conftest 9723 lt_save_allow_undefined_flag=$allow_undefined_flag 9724 allow_undefined_flag= 9725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9726 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9727 ac_status=$? 9728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9729 test $ac_status = 0; } 9730 then 9731 lt_cv_archive_cmds_need_lc=no 9732 else 9733 lt_cv_archive_cmds_need_lc=yes 9734 fi 9735 allow_undefined_flag=$lt_save_allow_undefined_flag 9736 else 9737 cat conftest.err 1>&5 9738 fi 9739 $RM conftest* 9740 9741fi 9742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9743$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9744 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9745 ;; 9746 esac 9747 fi 9748 ;; 9749esac 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9908$as_echo_n "checking dynamic linker characteristics... " >&6; } 9909 9910if test "$GCC" = yes; then 9911 case $host_os in 9912 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9913 *) lt_awk_arg="/^libraries:/" ;; 9914 esac 9915 case $host_os in 9916 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9917 *) lt_sed_strip_eq="s,=/,/,g" ;; 9918 esac 9919 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9920 case $lt_search_path_spec in 9921 *\;*) 9922 # if the path contains ";" then we assume it to be the separator 9923 # otherwise default to the standard path separator (i.e. ":") - it is 9924 # assumed that no part of a normal pathname contains ";" but that should 9925 # okay in the real world where ";" in dirpaths is itself problematic. 9926 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9927 ;; 9928 *) 9929 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9930 ;; 9931 esac 9932 # Ok, now we have the path, separated by spaces, we can step through it 9933 # and add multilib dir if necessary. 9934 lt_tmp_lt_search_path_spec= 9935 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9936 for lt_sys_path in $lt_search_path_spec; do 9937 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9938 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9939 else 9940 test -d "$lt_sys_path" && \ 9941 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9942 fi 9943 done 9944 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9945BEGIN {RS=" "; FS="/|\n";} { 9946 lt_foo=""; 9947 lt_count=0; 9948 for (lt_i = NF; lt_i > 0; lt_i--) { 9949 if ($lt_i != "" && $lt_i != ".") { 9950 if ($lt_i == "..") { 9951 lt_count++; 9952 } else { 9953 if (lt_count == 0) { 9954 lt_foo="/" $lt_i lt_foo; 9955 } else { 9956 lt_count--; 9957 } 9958 } 9959 } 9960 } 9961 if (lt_foo != "") { lt_freq[lt_foo]++; } 9962 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9963}'` 9964 # AWK program above erroneously prepends '/' to C:/dos/paths 9965 # for these hosts. 9966 case $host_os in 9967 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9968 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9969 esac 9970 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9971else 9972 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9973fi 9974library_names_spec= 9975libname_spec='lib$name' 9976soname_spec= 9977shrext_cmds=".so" 9978postinstall_cmds= 9979postuninstall_cmds= 9980finish_cmds= 9981finish_eval= 9982shlibpath_var= 9983shlibpath_overrides_runpath=unknown 9984version_type=none 9985dynamic_linker="$host_os ld.so" 9986sys_lib_dlsearch_path_spec="/lib /usr/lib" 9987need_lib_prefix=unknown 9988hardcode_into_libs=no 9989 9990# when you set need_version to no, make sure it does not cause -set_version 9991# flags to be left without arguments 9992need_version=unknown 9993 9994case $host_os in 9995aix3*) 9996 version_type=linux 9997 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9998 shlibpath_var=LIBPATH 9999 10000 # AIX 3 has no versioning support, so we append a major version to the name. 10001 soname_spec='${libname}${release}${shared_ext}$major' 10002 ;; 10003 10004aix[4-9]*) 10005 version_type=linux 10006 need_lib_prefix=no 10007 need_version=no 10008 hardcode_into_libs=yes 10009 if test "$host_cpu" = ia64; then 10010 # AIX 5 supports IA64 10011 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10012 shlibpath_var=LD_LIBRARY_PATH 10013 else 10014 # With GCC up to 2.95.x, collect2 would create an import file 10015 # for dependence libraries. The import file would start with 10016 # the line `#! .'. This would cause the generated library to 10017 # depend on `.', always an invalid library. This was fixed in 10018 # development snapshots of GCC prior to 3.0. 10019 case $host_os in 10020 aix4 | aix4.[01] | aix4.[01].*) 10021 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10022 echo ' yes ' 10023 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10024 : 10025 else 10026 can_build_shared=no 10027 fi 10028 ;; 10029 esac 10030 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10031 # soname into executable. Probably we can add versioning support to 10032 # collect2, so additional links can be useful in future. 10033 if test "$aix_use_runtimelinking" = yes; then 10034 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10035 # instead of lib<name>.a to let people know that these are not 10036 # typical AIX shared libraries. 10037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10038 else 10039 # We preserve .a as extension for shared libraries through AIX4.2 10040 # and later when we are not doing run time linking. 10041 library_names_spec='${libname}${release}.a $libname.a' 10042 soname_spec='${libname}${release}${shared_ext}$major' 10043 fi 10044 shlibpath_var=LIBPATH 10045 fi 10046 ;; 10047 10048amigaos*) 10049 case $host_cpu in 10050 powerpc) 10051 # Since July 2007 AmigaOS4 officially supports .so libraries. 10052 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10054 ;; 10055 m68k) 10056 library_names_spec='$libname.ixlibrary $libname.a' 10057 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10058 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' 10059 ;; 10060 esac 10061 ;; 10062 10063beos*) 10064 library_names_spec='${libname}${shared_ext}' 10065 dynamic_linker="$host_os ld.so" 10066 shlibpath_var=LIBRARY_PATH 10067 ;; 10068 10069bsdi[45]*) 10070 version_type=linux 10071 need_version=no 10072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10073 soname_spec='${libname}${release}${shared_ext}$major' 10074 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10075 shlibpath_var=LD_LIBRARY_PATH 10076 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10077 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10078 # the default ld.so.conf also contains /usr/contrib/lib and 10079 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10080 # libtool to hard-code these into programs 10081 ;; 10082 10083cygwin* | mingw* | pw32* | cegcc*) 10084 version_type=windows 10085 shrext_cmds=".dll" 10086 need_version=no 10087 need_lib_prefix=no 10088 10089 case $GCC,$cc_basename in 10090 yes,*) 10091 # gcc 10092 library_names_spec='$libname.dll.a' 10093 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10094 postinstall_cmds='base_file=`basename \${file}`~ 10095 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10096 dldir=$destdir/`dirname \$dlpath`~ 10097 test -d \$dldir || mkdir -p \$dldir~ 10098 $install_prog $dir/$dlname \$dldir/$dlname~ 10099 chmod a+x \$dldir/$dlname~ 10100 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10101 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10102 fi' 10103 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10104 dlpath=$dir/\$dldll~ 10105 $RM \$dlpath' 10106 shlibpath_overrides_runpath=yes 10107 10108 case $host_os in 10109 cygwin*) 10110 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10111 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10112 10113 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10114 ;; 10115 mingw* | cegcc*) 10116 # MinGW DLLs use traditional 'lib' prefix 10117 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10118 ;; 10119 pw32*) 10120 # pw32 DLLs use 'pw' prefix rather than 'lib' 10121 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10122 ;; 10123 esac 10124 dynamic_linker='Win32 ld.exe' 10125 ;; 10126 10127 *,cl*) 10128 # Native MSVC 10129 libname_spec='$name' 10130 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10131 library_names_spec='${libname}.dll.lib' 10132 10133 case $build_os in 10134 mingw*) 10135 sys_lib_search_path_spec= 10136 lt_save_ifs=$IFS 10137 IFS=';' 10138 for lt_path in $LIB 10139 do 10140 IFS=$lt_save_ifs 10141 # Let DOS variable expansion print the short 8.3 style file name. 10142 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10143 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10144 done 10145 IFS=$lt_save_ifs 10146 # Convert to MSYS style. 10147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10148 ;; 10149 cygwin*) 10150 # Convert to unix form, then to dos form, then back to unix form 10151 # but this time dos style (no spaces!) so that the unix form looks 10152 # like /cygdrive/c/PROGRA~1:/cygdr... 10153 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10154 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10155 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10156 ;; 10157 *) 10158 sys_lib_search_path_spec="$LIB" 10159 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10160 # It is most probably a Windows format PATH. 10161 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10162 else 10163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10164 fi 10165 # FIXME: find the short name or the path components, as spaces are 10166 # common. (e.g. "Program Files" -> "PROGRA~1") 10167 ;; 10168 esac 10169 10170 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10171 postinstall_cmds='base_file=`basename \${file}`~ 10172 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10173 dldir=$destdir/`dirname \$dlpath`~ 10174 test -d \$dldir || mkdir -p \$dldir~ 10175 $install_prog $dir/$dlname \$dldir/$dlname' 10176 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10177 dlpath=$dir/\$dldll~ 10178 $RM \$dlpath' 10179 shlibpath_overrides_runpath=yes 10180 dynamic_linker='Win32 link.exe' 10181 ;; 10182 10183 *) 10184 # Assume MSVC wrapper 10185 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10186 dynamic_linker='Win32 ld.exe' 10187 ;; 10188 esac 10189 # FIXME: first we should search . and the directory the executable is in 10190 shlibpath_var=PATH 10191 ;; 10192 10193darwin* | rhapsody*) 10194 dynamic_linker="$host_os dyld" 10195 version_type=darwin 10196 need_lib_prefix=no 10197 need_version=no 10198 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10199 soname_spec='${libname}${release}${major}$shared_ext' 10200 shlibpath_overrides_runpath=yes 10201 shlibpath_var=DYLD_LIBRARY_PATH 10202 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10203 10204 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10205 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10206 ;; 10207 10208dgux*) 10209 version_type=linux 10210 need_lib_prefix=no 10211 need_version=no 10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10213 soname_spec='${libname}${release}${shared_ext}$major' 10214 shlibpath_var=LD_LIBRARY_PATH 10215 ;; 10216 10217freebsd1*) 10218 dynamic_linker=no 10219 ;; 10220 10221freebsd* | dragonfly*) 10222 # DragonFly does not have aout. When/if they implement a new 10223 # versioning mechanism, adjust this. 10224 if test -x /usr/bin/objformat; then 10225 objformat=`/usr/bin/objformat` 10226 else 10227 case $host_os in 10228 freebsd[123]*) objformat=aout ;; 10229 *) objformat=elf ;; 10230 esac 10231 fi 10232 version_type=freebsd-$objformat 10233 case $version_type in 10234 freebsd-elf*) 10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10236 need_version=no 10237 need_lib_prefix=no 10238 ;; 10239 freebsd-*) 10240 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10241 need_version=yes 10242 ;; 10243 esac 10244 shlibpath_var=LD_LIBRARY_PATH 10245 case $host_os in 10246 freebsd2*) 10247 shlibpath_overrides_runpath=yes 10248 ;; 10249 freebsd3.[01]* | freebsdelf3.[01]*) 10250 shlibpath_overrides_runpath=yes 10251 hardcode_into_libs=yes 10252 ;; 10253 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10254 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10255 shlibpath_overrides_runpath=no 10256 hardcode_into_libs=yes 10257 ;; 10258 *) # from 4.6 on, and DragonFly 10259 shlibpath_overrides_runpath=yes 10260 hardcode_into_libs=yes 10261 ;; 10262 esac 10263 ;; 10264 10265gnu*) 10266 version_type=linux 10267 need_lib_prefix=no 10268 need_version=no 10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10270 soname_spec='${libname}${release}${shared_ext}$major' 10271 shlibpath_var=LD_LIBRARY_PATH 10272 hardcode_into_libs=yes 10273 ;; 10274 10275haiku*) 10276 version_type=linux 10277 need_lib_prefix=no 10278 need_version=no 10279 dynamic_linker="$host_os runtime_loader" 10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10281 soname_spec='${libname}${release}${shared_ext}$major' 10282 shlibpath_var=LIBRARY_PATH 10283 shlibpath_overrides_runpath=yes 10284 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10285 hardcode_into_libs=yes 10286 ;; 10287 10288hpux9* | hpux10* | hpux11*) 10289 # Give a soname corresponding to the major version so that dld.sl refuses to 10290 # link against other versions. 10291 version_type=sunos 10292 need_lib_prefix=no 10293 need_version=no 10294 case $host_cpu in 10295 ia64*) 10296 shrext_cmds='.so' 10297 hardcode_into_libs=yes 10298 dynamic_linker="$host_os dld.so" 10299 shlibpath_var=LD_LIBRARY_PATH 10300 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10302 soname_spec='${libname}${release}${shared_ext}$major' 10303 if test "X$HPUX_IA64_MODE" = X32; then 10304 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10305 else 10306 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10307 fi 10308 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10309 ;; 10310 hppa*64*) 10311 shrext_cmds='.sl' 10312 hardcode_into_libs=yes 10313 dynamic_linker="$host_os dld.sl" 10314 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10317 soname_spec='${libname}${release}${shared_ext}$major' 10318 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10320 ;; 10321 *) 10322 shrext_cmds='.sl' 10323 dynamic_linker="$host_os dld.sl" 10324 shlibpath_var=SHLIB_PATH 10325 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10327 soname_spec='${libname}${release}${shared_ext}$major' 10328 ;; 10329 esac 10330 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10331 postinstall_cmds='chmod 555 $lib' 10332 # or fails outright, so override atomically: 10333 install_override_mode=555 10334 ;; 10335 10336interix[3-9]*) 10337 version_type=linux 10338 need_lib_prefix=no 10339 need_version=no 10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10341 soname_spec='${libname}${release}${shared_ext}$major' 10342 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10343 shlibpath_var=LD_LIBRARY_PATH 10344 shlibpath_overrides_runpath=no 10345 hardcode_into_libs=yes 10346 ;; 10347 10348irix5* | irix6* | nonstopux*) 10349 case $host_os in 10350 nonstopux*) version_type=nonstopux ;; 10351 *) 10352 if test "$lt_cv_prog_gnu_ld" = yes; then 10353 version_type=linux 10354 else 10355 version_type=irix 10356 fi ;; 10357 esac 10358 need_lib_prefix=no 10359 need_version=no 10360 soname_spec='${libname}${release}${shared_ext}$major' 10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10362 case $host_os in 10363 irix5* | nonstopux*) 10364 libsuff= shlibsuff= 10365 ;; 10366 *) 10367 case $LD in # libtool.m4 will add one of these switches to LD 10368 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10369 libsuff= shlibsuff= libmagic=32-bit;; 10370 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10371 libsuff=32 shlibsuff=N32 libmagic=N32;; 10372 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10373 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10374 *) libsuff= shlibsuff= libmagic=never-match;; 10375 esac 10376 ;; 10377 esac 10378 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10379 shlibpath_overrides_runpath=no 10380 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10381 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10382 hardcode_into_libs=yes 10383 ;; 10384 10385# No shared lib support for Linux oldld, aout, or coff. 10386linux*oldld* | linux*aout* | linux*coff*) 10387 dynamic_linker=no 10388 ;; 10389 10390# This must be Linux ELF. 10391linux* | k*bsd*-gnu | kopensolaris*-gnu) 10392 version_type=linux 10393 need_lib_prefix=no 10394 need_version=no 10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10396 soname_spec='${libname}${release}${shared_ext}$major' 10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10398 shlibpath_var=LD_LIBRARY_PATH 10399 shlibpath_overrides_runpath=no 10400 10401 # Some binutils ld are patched to set DT_RUNPATH 10402 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10403 $as_echo_n "(cached) " >&6 10404else 10405 lt_cv_shlibpath_overrides_runpath=no 10406 save_LDFLAGS=$LDFLAGS 10407 save_libdir=$libdir 10408 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10409 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10411/* end confdefs.h. */ 10412 10413int 10414main () 10415{ 10416 10417 ; 10418 return 0; 10419} 10420_ACEOF 10421if ac_fn_c_try_link "$LINENO"; then : 10422 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10423 lt_cv_shlibpath_overrides_runpath=yes 10424fi 10425fi 10426rm -f core conftest.err conftest.$ac_objext \ 10427 conftest$ac_exeext conftest.$ac_ext 10428 LDFLAGS=$save_LDFLAGS 10429 libdir=$save_libdir 10430 10431fi 10432 10433 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10434 10435 # This implies no fast_install, which is unacceptable. 10436 # Some rework will be needed to allow for fast_install 10437 # before this can be enabled. 10438 hardcode_into_libs=yes 10439 10440 # find out which ABI we are using 10441 libsuff= 10442 case "$host_cpu" in 10443 x86_64*|s390x*|powerpc64*) 10444 echo '#line 10444 "configure"' > conftest.$ac_ext 10445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10446 (eval $ac_compile) 2>&5 10447 ac_status=$? 10448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10449 test $ac_status = 0; }; then 10450 case `/usr/bin/file conftest.$ac_objext` in 10451 *64-bit*) 10452 libsuff=64 10453 ;; 10454 esac 10455 fi 10456 rm -rf conftest* 10457 ;; 10458 esac 10459 10460 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 10461 10462 # Append ld.so.conf contents to the search path 10463 if test -f /etc/ld.so.conf; then 10464 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' ' '` 10465 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10466 fi 10467 10468 # We used to test for /lib/ld.so.1 and disable shared libraries on 10469 # powerpc, because MkLinux only supported shared libraries with the 10470 # GNU dynamic linker. Since this was broken with cross compilers, 10471 # most powerpc-linux boxes support dynamic linking these days and 10472 # people can always --disable-shared, the test was removed, and we 10473 # assume the GNU/Linux dynamic linker is in use. 10474 dynamic_linker='GNU/Linux ld.so' 10475 ;; 10476 10477netbsd*) 10478 version_type=sunos 10479 need_lib_prefix=no 10480 need_version=no 10481 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10483 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10484 dynamic_linker='NetBSD (a.out) ld.so' 10485 else 10486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10487 soname_spec='${libname}${release}${shared_ext}$major' 10488 dynamic_linker='NetBSD ld.elf_so' 10489 fi 10490 shlibpath_var=LD_LIBRARY_PATH 10491 shlibpath_overrides_runpath=yes 10492 hardcode_into_libs=yes 10493 ;; 10494 10495newsos6) 10496 version_type=linux 10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10498 shlibpath_var=LD_LIBRARY_PATH 10499 shlibpath_overrides_runpath=yes 10500 ;; 10501 10502*nto* | *qnx*) 10503 version_type=qnx 10504 need_lib_prefix=no 10505 need_version=no 10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10507 soname_spec='${libname}${release}${shared_ext}$major' 10508 shlibpath_var=LD_LIBRARY_PATH 10509 shlibpath_overrides_runpath=no 10510 hardcode_into_libs=yes 10511 dynamic_linker='ldqnx.so' 10512 ;; 10513 10514openbsd*) 10515 version_type=sunos 10516 sys_lib_dlsearch_path_spec="/usr/lib" 10517 need_lib_prefix=no 10518 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10519 case $host_os in 10520 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10521 *) need_version=no ;; 10522 esac 10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10524 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10525 shlibpath_var=LD_LIBRARY_PATH 10526 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10527 case $host_os in 10528 openbsd2.[89] | openbsd2.[89].*) 10529 shlibpath_overrides_runpath=no 10530 ;; 10531 *) 10532 shlibpath_overrides_runpath=yes 10533 ;; 10534 esac 10535 else 10536 shlibpath_overrides_runpath=yes 10537 fi 10538 ;; 10539 10540os2*) 10541 libname_spec='$name' 10542 shrext_cmds=".dll" 10543 need_lib_prefix=no 10544 library_names_spec='$libname${shared_ext} $libname.a' 10545 dynamic_linker='OS/2 ld.exe' 10546 shlibpath_var=LIBPATH 10547 ;; 10548 10549osf3* | osf4* | osf5*) 10550 version_type=osf 10551 need_lib_prefix=no 10552 need_version=no 10553 soname_spec='${libname}${release}${shared_ext}$major' 10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10555 shlibpath_var=LD_LIBRARY_PATH 10556 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10557 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10558 ;; 10559 10560rdos*) 10561 dynamic_linker=no 10562 ;; 10563 10564solaris*) 10565 version_type=linux 10566 need_lib_prefix=no 10567 need_version=no 10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10569 soname_spec='${libname}${release}${shared_ext}$major' 10570 shlibpath_var=LD_LIBRARY_PATH 10571 shlibpath_overrides_runpath=yes 10572 hardcode_into_libs=yes 10573 # ldd complains unless libraries are executable 10574 postinstall_cmds='chmod +x $lib' 10575 ;; 10576 10577sunos4*) 10578 version_type=sunos 10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10580 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10581 shlibpath_var=LD_LIBRARY_PATH 10582 shlibpath_overrides_runpath=yes 10583 if test "$with_gnu_ld" = yes; then 10584 need_lib_prefix=no 10585 fi 10586 need_version=yes 10587 ;; 10588 10589sysv4 | sysv4.3*) 10590 version_type=linux 10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10592 soname_spec='${libname}${release}${shared_ext}$major' 10593 shlibpath_var=LD_LIBRARY_PATH 10594 case $host_vendor in 10595 sni) 10596 shlibpath_overrides_runpath=no 10597 need_lib_prefix=no 10598 runpath_var=LD_RUN_PATH 10599 ;; 10600 siemens) 10601 need_lib_prefix=no 10602 ;; 10603 motorola) 10604 need_lib_prefix=no 10605 need_version=no 10606 shlibpath_overrides_runpath=no 10607 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10608 ;; 10609 esac 10610 ;; 10611 10612sysv4*MP*) 10613 if test -d /usr/nec ;then 10614 version_type=linux 10615 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10616 soname_spec='$libname${shared_ext}.$major' 10617 shlibpath_var=LD_LIBRARY_PATH 10618 fi 10619 ;; 10620 10621sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10622 version_type=freebsd-elf 10623 need_lib_prefix=no 10624 need_version=no 10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10626 soname_spec='${libname}${release}${shared_ext}$major' 10627 shlibpath_var=LD_LIBRARY_PATH 10628 shlibpath_overrides_runpath=yes 10629 hardcode_into_libs=yes 10630 if test "$with_gnu_ld" = yes; then 10631 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10632 else 10633 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10634 case $host_os in 10635 sco3.2v5*) 10636 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10637 ;; 10638 esac 10639 fi 10640 sys_lib_dlsearch_path_spec='/usr/lib' 10641 ;; 10642 10643tpf*) 10644 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10645 version_type=linux 10646 need_lib_prefix=no 10647 need_version=no 10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10649 shlibpath_var=LD_LIBRARY_PATH 10650 shlibpath_overrides_runpath=no 10651 hardcode_into_libs=yes 10652 ;; 10653 10654uts4*) 10655 version_type=linux 10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10657 soname_spec='${libname}${release}${shared_ext}$major' 10658 shlibpath_var=LD_LIBRARY_PATH 10659 ;; 10660 10661*) 10662 dynamic_linker=no 10663 ;; 10664esac 10665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10666$as_echo "$dynamic_linker" >&6; } 10667test "$dynamic_linker" = no && can_build_shared=no 10668 10669variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10670if test "$GCC" = yes; then 10671 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10672fi 10673 10674if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10675 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10676fi 10677if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10678 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10679fi 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10773$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10774hardcode_action= 10775if test -n "$hardcode_libdir_flag_spec" || 10776 test -n "$runpath_var" || 10777 test "X$hardcode_automatic" = "Xyes" ; then 10778 10779 # We can hardcode non-existent directories. 10780 if test "$hardcode_direct" != no && 10781 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10782 # have to relink, otherwise we might link with an installed library 10783 # when we should be linking with a yet-to-be-installed one 10784 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10785 test "$hardcode_minus_L" != no; then 10786 # Linking always hardcodes the temporary library directory. 10787 hardcode_action=relink 10788 else 10789 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10790 hardcode_action=immediate 10791 fi 10792else 10793 # We cannot hardcode anything, or else we can only hardcode existing 10794 # directories. 10795 hardcode_action=unsupported 10796fi 10797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10798$as_echo "$hardcode_action" >&6; } 10799 10800if test "$hardcode_action" = relink || 10801 test "$inherit_rpath" = yes; then 10802 # Fast installation is not supported 10803 enable_fast_install=no 10804elif test "$shlibpath_overrides_runpath" = yes || 10805 test "$enable_shared" = no; then 10806 # Fast installation is not necessary 10807 enable_fast_install=needless 10808fi 10809 10810 10811 10812 10813 10814 10815 if test "x$enable_dlopen" != xyes; then 10816 enable_dlopen=unknown 10817 enable_dlopen_self=unknown 10818 enable_dlopen_self_static=unknown 10819else 10820 lt_cv_dlopen=no 10821 lt_cv_dlopen_libs= 10822 10823 case $host_os in 10824 beos*) 10825 lt_cv_dlopen="load_add_on" 10826 lt_cv_dlopen_libs= 10827 lt_cv_dlopen_self=yes 10828 ;; 10829 10830 mingw* | pw32* | cegcc*) 10831 lt_cv_dlopen="LoadLibrary" 10832 lt_cv_dlopen_libs= 10833 ;; 10834 10835 cygwin*) 10836 lt_cv_dlopen="dlopen" 10837 lt_cv_dlopen_libs= 10838 ;; 10839 10840 darwin*) 10841 # if libdl is installed we need to link against it 10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10843$as_echo_n "checking for dlopen in -ldl... " >&6; } 10844if ${ac_cv_lib_dl_dlopen+:} false; then : 10845 $as_echo_n "(cached) " >&6 10846else 10847 ac_check_lib_save_LIBS=$LIBS 10848LIBS="-ldl $LIBS" 10849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10850/* end confdefs.h. */ 10851 10852/* Override any GCC internal prototype to avoid an error. 10853 Use char because int might match the return type of a GCC 10854 builtin and then its argument prototype would still apply. */ 10855#ifdef __cplusplus 10856extern "C" 10857#endif 10858char dlopen (); 10859int 10860main () 10861{ 10862return dlopen (); 10863 ; 10864 return 0; 10865} 10866_ACEOF 10867if ac_fn_c_try_link "$LINENO"; then : 10868 ac_cv_lib_dl_dlopen=yes 10869else 10870 ac_cv_lib_dl_dlopen=no 10871fi 10872rm -f core conftest.err conftest.$ac_objext \ 10873 conftest$ac_exeext conftest.$ac_ext 10874LIBS=$ac_check_lib_save_LIBS 10875fi 10876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10877$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10878if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10879 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10880else 10881 10882 lt_cv_dlopen="dyld" 10883 lt_cv_dlopen_libs= 10884 lt_cv_dlopen_self=yes 10885 10886fi 10887 10888 ;; 10889 10890 *) 10891 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10892if test "x$ac_cv_func_shl_load" = xyes; then : 10893 lt_cv_dlopen="shl_load" 10894else 10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10896$as_echo_n "checking for shl_load in -ldld... " >&6; } 10897if ${ac_cv_lib_dld_shl_load+:} false; then : 10898 $as_echo_n "(cached) " >&6 10899else 10900 ac_check_lib_save_LIBS=$LIBS 10901LIBS="-ldld $LIBS" 10902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10903/* end confdefs.h. */ 10904 10905/* Override any GCC internal prototype to avoid an error. 10906 Use char because int might match the return type of a GCC 10907 builtin and then its argument prototype would still apply. */ 10908#ifdef __cplusplus 10909extern "C" 10910#endif 10911char shl_load (); 10912int 10913main () 10914{ 10915return shl_load (); 10916 ; 10917 return 0; 10918} 10919_ACEOF 10920if ac_fn_c_try_link "$LINENO"; then : 10921 ac_cv_lib_dld_shl_load=yes 10922else 10923 ac_cv_lib_dld_shl_load=no 10924fi 10925rm -f core conftest.err conftest.$ac_objext \ 10926 conftest$ac_exeext conftest.$ac_ext 10927LIBS=$ac_check_lib_save_LIBS 10928fi 10929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10930$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10931if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10932 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10933else 10934 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10935if test "x$ac_cv_func_dlopen" = xyes; then : 10936 lt_cv_dlopen="dlopen" 10937else 10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10939$as_echo_n "checking for dlopen in -ldl... " >&6; } 10940if ${ac_cv_lib_dl_dlopen+:} false; then : 10941 $as_echo_n "(cached) " >&6 10942else 10943 ac_check_lib_save_LIBS=$LIBS 10944LIBS="-ldl $LIBS" 10945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10946/* end confdefs.h. */ 10947 10948/* Override any GCC internal prototype to avoid an error. 10949 Use char because int might match the return type of a GCC 10950 builtin and then its argument prototype would still apply. */ 10951#ifdef __cplusplus 10952extern "C" 10953#endif 10954char dlopen (); 10955int 10956main () 10957{ 10958return dlopen (); 10959 ; 10960 return 0; 10961} 10962_ACEOF 10963if ac_fn_c_try_link "$LINENO"; then : 10964 ac_cv_lib_dl_dlopen=yes 10965else 10966 ac_cv_lib_dl_dlopen=no 10967fi 10968rm -f core conftest.err conftest.$ac_objext \ 10969 conftest$ac_exeext conftest.$ac_ext 10970LIBS=$ac_check_lib_save_LIBS 10971fi 10972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10973$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10974if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10975 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10976else 10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10978$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10979if ${ac_cv_lib_svld_dlopen+:} false; then : 10980 $as_echo_n "(cached) " >&6 10981else 10982 ac_check_lib_save_LIBS=$LIBS 10983LIBS="-lsvld $LIBS" 10984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10985/* end confdefs.h. */ 10986 10987/* Override any GCC internal prototype to avoid an error. 10988 Use char because int might match the return type of a GCC 10989 builtin and then its argument prototype would still apply. */ 10990#ifdef __cplusplus 10991extern "C" 10992#endif 10993char dlopen (); 10994int 10995main () 10996{ 10997return dlopen (); 10998 ; 10999 return 0; 11000} 11001_ACEOF 11002if ac_fn_c_try_link "$LINENO"; then : 11003 ac_cv_lib_svld_dlopen=yes 11004else 11005 ac_cv_lib_svld_dlopen=no 11006fi 11007rm -f core conftest.err conftest.$ac_objext \ 11008 conftest$ac_exeext conftest.$ac_ext 11009LIBS=$ac_check_lib_save_LIBS 11010fi 11011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11012$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11013if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11014 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11015else 11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11017$as_echo_n "checking for dld_link in -ldld... " >&6; } 11018if ${ac_cv_lib_dld_dld_link+:} false; then : 11019 $as_echo_n "(cached) " >&6 11020else 11021 ac_check_lib_save_LIBS=$LIBS 11022LIBS="-ldld $LIBS" 11023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11024/* end confdefs.h. */ 11025 11026/* Override any GCC internal prototype to avoid an error. 11027 Use char because int might match the return type of a GCC 11028 builtin and then its argument prototype would still apply. */ 11029#ifdef __cplusplus 11030extern "C" 11031#endif 11032char dld_link (); 11033int 11034main () 11035{ 11036return dld_link (); 11037 ; 11038 return 0; 11039} 11040_ACEOF 11041if ac_fn_c_try_link "$LINENO"; then : 11042 ac_cv_lib_dld_dld_link=yes 11043else 11044 ac_cv_lib_dld_dld_link=no 11045fi 11046rm -f core conftest.err conftest.$ac_objext \ 11047 conftest$ac_exeext conftest.$ac_ext 11048LIBS=$ac_check_lib_save_LIBS 11049fi 11050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11051$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11052if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11053 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11054fi 11055 11056 11057fi 11058 11059 11060fi 11061 11062 11063fi 11064 11065 11066fi 11067 11068 11069fi 11070 11071 ;; 11072 esac 11073 11074 if test "x$lt_cv_dlopen" != xno; then 11075 enable_dlopen=yes 11076 else 11077 enable_dlopen=no 11078 fi 11079 11080 case $lt_cv_dlopen in 11081 dlopen) 11082 save_CPPFLAGS="$CPPFLAGS" 11083 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11084 11085 save_LDFLAGS="$LDFLAGS" 11086 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11087 11088 save_LIBS="$LIBS" 11089 LIBS="$lt_cv_dlopen_libs $LIBS" 11090 11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11092$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11093if ${lt_cv_dlopen_self+:} false; then : 11094 $as_echo_n "(cached) " >&6 11095else 11096 if test "$cross_compiling" = yes; then : 11097 lt_cv_dlopen_self=cross 11098else 11099 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11100 lt_status=$lt_dlunknown 11101 cat > conftest.$ac_ext <<_LT_EOF 11102#line $LINENO "configure" 11103#include "confdefs.h" 11104 11105#if HAVE_DLFCN_H 11106#include <dlfcn.h> 11107#endif 11108 11109#include <stdio.h> 11110 11111#ifdef RTLD_GLOBAL 11112# define LT_DLGLOBAL RTLD_GLOBAL 11113#else 11114# ifdef DL_GLOBAL 11115# define LT_DLGLOBAL DL_GLOBAL 11116# else 11117# define LT_DLGLOBAL 0 11118# endif 11119#endif 11120 11121/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11122 find out it does not work in some platform. */ 11123#ifndef LT_DLLAZY_OR_NOW 11124# ifdef RTLD_LAZY 11125# define LT_DLLAZY_OR_NOW RTLD_LAZY 11126# else 11127# ifdef DL_LAZY 11128# define LT_DLLAZY_OR_NOW DL_LAZY 11129# else 11130# ifdef RTLD_NOW 11131# define LT_DLLAZY_OR_NOW RTLD_NOW 11132# else 11133# ifdef DL_NOW 11134# define LT_DLLAZY_OR_NOW DL_NOW 11135# else 11136# define LT_DLLAZY_OR_NOW 0 11137# endif 11138# endif 11139# endif 11140# endif 11141#endif 11142 11143/* When -fvisbility=hidden is used, assume the code has been annotated 11144 correspondingly for the symbols needed. */ 11145#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11146int fnord () __attribute__((visibility("default"))); 11147#endif 11148 11149int fnord () { return 42; } 11150int main () 11151{ 11152 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11153 int status = $lt_dlunknown; 11154 11155 if (self) 11156 { 11157 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11158 else 11159 { 11160 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11161 else puts (dlerror ()); 11162 } 11163 /* dlclose (self); */ 11164 } 11165 else 11166 puts (dlerror ()); 11167 11168 return status; 11169} 11170_LT_EOF 11171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11172 (eval $ac_link) 2>&5 11173 ac_status=$? 11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11175 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11176 (./conftest; exit; ) >&5 2>/dev/null 11177 lt_status=$? 11178 case x$lt_status in 11179 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11180 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11181 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11182 esac 11183 else : 11184 # compilation failed 11185 lt_cv_dlopen_self=no 11186 fi 11187fi 11188rm -fr conftest* 11189 11190 11191fi 11192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11193$as_echo "$lt_cv_dlopen_self" >&6; } 11194 11195 if test "x$lt_cv_dlopen_self" = xyes; then 11196 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11198$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11199if ${lt_cv_dlopen_self_static+:} false; then : 11200 $as_echo_n "(cached) " >&6 11201else 11202 if test "$cross_compiling" = yes; then : 11203 lt_cv_dlopen_self_static=cross 11204else 11205 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11206 lt_status=$lt_dlunknown 11207 cat > conftest.$ac_ext <<_LT_EOF 11208#line $LINENO "configure" 11209#include "confdefs.h" 11210 11211#if HAVE_DLFCN_H 11212#include <dlfcn.h> 11213#endif 11214 11215#include <stdio.h> 11216 11217#ifdef RTLD_GLOBAL 11218# define LT_DLGLOBAL RTLD_GLOBAL 11219#else 11220# ifdef DL_GLOBAL 11221# define LT_DLGLOBAL DL_GLOBAL 11222# else 11223# define LT_DLGLOBAL 0 11224# endif 11225#endif 11226 11227/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11228 find out it does not work in some platform. */ 11229#ifndef LT_DLLAZY_OR_NOW 11230# ifdef RTLD_LAZY 11231# define LT_DLLAZY_OR_NOW RTLD_LAZY 11232# else 11233# ifdef DL_LAZY 11234# define LT_DLLAZY_OR_NOW DL_LAZY 11235# else 11236# ifdef RTLD_NOW 11237# define LT_DLLAZY_OR_NOW RTLD_NOW 11238# else 11239# ifdef DL_NOW 11240# define LT_DLLAZY_OR_NOW DL_NOW 11241# else 11242# define LT_DLLAZY_OR_NOW 0 11243# endif 11244# endif 11245# endif 11246# endif 11247#endif 11248 11249/* When -fvisbility=hidden is used, assume the code has been annotated 11250 correspondingly for the symbols needed. */ 11251#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11252int fnord () __attribute__((visibility("default"))); 11253#endif 11254 11255int fnord () { return 42; } 11256int main () 11257{ 11258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11259 int status = $lt_dlunknown; 11260 11261 if (self) 11262 { 11263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11264 else 11265 { 11266 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11267 else puts (dlerror ()); 11268 } 11269 /* dlclose (self); */ 11270 } 11271 else 11272 puts (dlerror ()); 11273 11274 return status; 11275} 11276_LT_EOF 11277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11278 (eval $ac_link) 2>&5 11279 ac_status=$? 11280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11281 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11282 (./conftest; exit; ) >&5 2>/dev/null 11283 lt_status=$? 11284 case x$lt_status in 11285 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11286 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11287 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11288 esac 11289 else : 11290 # compilation failed 11291 lt_cv_dlopen_self_static=no 11292 fi 11293fi 11294rm -fr conftest* 11295 11296 11297fi 11298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11299$as_echo "$lt_cv_dlopen_self_static" >&6; } 11300 fi 11301 11302 CPPFLAGS="$save_CPPFLAGS" 11303 LDFLAGS="$save_LDFLAGS" 11304 LIBS="$save_LIBS" 11305 ;; 11306 esac 11307 11308 case $lt_cv_dlopen_self in 11309 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11310 *) enable_dlopen_self=unknown ;; 11311 esac 11312 11313 case $lt_cv_dlopen_self_static in 11314 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11315 *) enable_dlopen_self_static=unknown ;; 11316 esac 11317fi 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335striplib= 11336old_striplib= 11337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11338$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11339if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11340 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11341 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11343$as_echo "yes" >&6; } 11344else 11345# FIXME - insert some real tests, host_os isn't really good enough 11346 case $host_os in 11347 darwin*) 11348 if test -n "$STRIP" ; then 11349 striplib="$STRIP -x" 11350 old_striplib="$STRIP -S" 11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11352$as_echo "yes" >&6; } 11353 else 11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11355$as_echo "no" >&6; } 11356 fi 11357 ;; 11358 *) 11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11360$as_echo "no" >&6; } 11361 ;; 11362 esac 11363fi 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 # Report which library types will actually be built 11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11378$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11380$as_echo "$can_build_shared" >&6; } 11381 11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11383$as_echo_n "checking whether to build shared libraries... " >&6; } 11384 test "$can_build_shared" = "no" && enable_shared=no 11385 11386 # On AIX, shared libraries and static libraries use the same namespace, and 11387 # are all built from PIC. 11388 case $host_os in 11389 aix3*) 11390 test "$enable_shared" = yes && enable_static=no 11391 if test -n "$RANLIB"; then 11392 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11393 postinstall_cmds='$RANLIB $lib' 11394 fi 11395 ;; 11396 11397 aix[4-9]*) 11398 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11399 test "$enable_shared" = yes && enable_static=no 11400 fi 11401 ;; 11402 esac 11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11404$as_echo "$enable_shared" >&6; } 11405 11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11407$as_echo_n "checking whether to build static libraries... " >&6; } 11408 # Make sure either enable_shared or enable_static is yes. 11409 test "$enable_shared" = yes || enable_static=yes 11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11411$as_echo "$enable_static" >&6; } 11412 11413 11414 11415 11416fi 11417ac_ext=c 11418ac_cpp='$CPP $CPPFLAGS' 11419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11421ac_compiler_gnu=$ac_cv_c_compiler_gnu 11422 11423CC="$lt_save_CC" 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 ac_config_commands="$ac_config_commands libtool" 11438 11439 11440 11441 11442# Only expand once: 11443 11444 11445AM_CPPFLAGS="$CPPFLAGS" 11446 11447gp_config_msg_len="$(expr "Compiler" : '.*')" 11448if test "$gp_config_msg_len" -ge "$gp_config_len"; then 11449 gp_config_msg_lhs="$(expr "Compiler" : "\(.\{0,${gp_config_len3}\}\)")..:" 11450else 11451 gp_config_msg_lhs="$(expr "Compiler:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 11452fi 11453gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${CC} 11454" 11455 11456 11457 11458 11459ac_dir=`echo "libexif/_stdint.h"|sed 's%/[^/][^/]*$%%'` 11460if test "$ac_dir" != "libexif/_stdint.h" && test "$ac_dir" != .; then 11461 # The file is in a subdirectory. 11462 test ! -d "$ac_dir" && mkdir "$ac_dir" 11463fi 11464 11465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in stdint.h" >&5 11466$as_echo_n "checking for uint8_t in stdint.h... " >&6; } 11467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11468/* end confdefs.h. */ 11469#include <stdint.h> 11470_ACEOF 11471if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11472 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then : 11473 ac_cv_type_uint8_t=yes 11474else 11475 ac_cv_type_uint8_t=no 11476fi 11477rm -f conftest* 11478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5 11479$as_echo "$ac_cv_type_uint8_t" >&6; } 11480if test $ac_cv_type_uint8_t = yes; then 11481 11482cat > "libexif/_stdint.h" <<EOF 11483/* This file is generated automatically by configure */ 11484#include <stdint.h> 11485EOF 11486else 11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in inttypes.h" >&5 11488$as_echo_n "checking for uint8_t in inttypes.h... " >&6; } 11489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11490/* end confdefs.h. */ 11491#include <inttypes.h> 11492_ACEOF 11493if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11494 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then : 11495 ac_cv_type_uint8_t=yes 11496else 11497 ac_cv_type_uint8_t=no 11498fi 11499rm -f conftest* 11500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5 11501$as_echo "$ac_cv_type_uint8_t" >&6; } 11502if test $ac_cv_type_uint8_t = yes; then 11503 cat > "libexif/_stdint.h" <<EOF 11504/* This file is generated automatically by configure */ 11505#include <inttypes.h> 11506EOF 11507else 11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in sys/types.h" >&5 11509$as_echo_n "checking for uint8_t in sys/types.h... " >&6; } 11510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11511/* end confdefs.h. */ 11512#include <sys/types.h> 11513_ACEOF 11514if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11515 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then : 11516 ac_cv_type_uint8_t=yes 11517else 11518 ac_cv_type_uint8_t=no 11519fi 11520rm -f conftest* 11521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5 11522$as_echo "$ac_cv_type_uint8_t" >&6; } 11523if test $ac_cv_type_uint8_t = yes; then 11524 cat > "libexif/_stdint.h" <<EOF 11525/* This file is generated automatically by configure */ 11526#include <sys/types.h> 11527EOF 11528else 11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int8_t in sys/types.h" >&5 11530$as_echo_n "checking for u_int8_t in sys/types.h... " >&6; } 11531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11532/* end confdefs.h. */ 11533#include <sys/types.h> 11534_ACEOF 11535if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11536 $EGREP "(^|[^a-zA-Z_0-9])u_int8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then : 11537 ac_cv_type_u_int8_t=yes 11538else 11539 ac_cv_type_u_int8_t=no 11540fi 11541rm -f conftest* 11542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int8_t" >&5 11543$as_echo "$ac_cv_type_u_int8_t" >&6; } 11544if test $ac_cv_type_u_int8_t = yes; then 11545 cat > "libexif/_stdint.h" <<EOF 11546/* This file is generated automatically by configure */ 11547#ifndef __STDINT_H 11548#define __STDINT_H 11549#include <sys/types.h> 11550typedef u_int8_t uint8_t; 11551typedef u_int16_t uint16_t; 11552typedef u_int32_t uint32_t; 11553EOF 11554 11555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t in sys/types.h" >&5 11556$as_echo_n "checking for u_int64_t in sys/types.h... " >&6; } 11557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11558/* end confdefs.h. */ 11559#include <sys/types.h> 11560_ACEOF 11561if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11562 $EGREP "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then : 11563 ac_cv_type_u_int64_t=yes 11564else 11565 ac_cv_type_u_int64_t=no 11566fi 11567rm -f conftest* 11568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int64_t" >&5 11569$as_echo "$ac_cv_type_u_int64_t" >&6; } 11570if test $ac_cv_type_u_int64_t = yes; then 11571 cat >> "libexif/_stdint.h" <<EOF 11572typedef u_int64_t uint64_t; 11573#endif /*!__STDINT_H*/ 11574EOF 11575else 11576 cat >> "libexif/_stdint.h" <<EOF 11577/* 64-bit types are not available on this system */ 11578/* typedef u_int64_t uint64_t; */ 11579#endif /*!__STDINT_H*/ 11580EOF 11581fi 11582 11583 11584 11585else 11586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I can't find size-specific integer definitions on this system" >&5 11587$as_echo "$as_me: WARNING: I can't find size-specific integer definitions on this system" >&2;} 11588if test -e "libexif/_stdint.h" ; then 11589 rm -f "libexif/_stdint.h" 11590fi 11591 11592fi 11593 11594fi 11595 11596fi 11597 11598fi 11599 11600 11601 11602 11603ship_binaries=false 11604# Check whether --enable-ship-binaries was given. 11605if test "${enable_ship_binaries+set}" = set; then : 11606 enableval=$enable_ship_binaries; 11607 if test x$enableval = xyes; then 11608 ship_binaries=true 11609 fi 11610 11611fi 11612 11613 if $ship_binaries; then 11614 SHIP_BINARIES_TRUE= 11615 SHIP_BINARIES_FALSE='#' 11616else 11617 SHIP_BINARIES_TRUE='#' 11618 SHIP_BINARIES_FALSE= 11619fi 11620 11621 11622gp_config_msg_len="$(expr "Ship binaries in tarball" : '.*')" 11623if test "$gp_config_msg_len" -ge "$gp_config_len"; then 11624 gp_config_msg_lhs="$(expr "Ship binaries in tarball" : "\(.\{0,${gp_config_len3}\}\)")..:" 11625else 11626 gp_config_msg_lhs="$(expr "Ship binaries in tarball:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 11627fi 11628gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} $ship_binaries 11629" 11630 11631 11632 11633 11634# we need sqrt and pow which may be in libm 11635# We cannot use AC_CHECK_FUNC because if CFLAGS contains 11636# -Wall -Werror here the check fails because 11637# char *sqrt() conflicts with double sqrt(double xx) 11638 11639# Start by assuming -lm is needed, because it's possible that the little 11640# test program below will be optimized to in-line floating point code that 11641# doesn't require -lm, whereas the library itself cannot be so optimized 11642# (this actually seems to be the case on x86 with gcc 4.2). Assuming the 11643# reverse means that -lm could be needed but wouldn't be detected below. 11644 11645LIBS_orig="$LIBS" 11646LIBS="$LIBS -lm" 11647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions in libm" >&5 11648$as_echo_n "checking for math functions in libm... " >&6; } 11649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11650/* end confdefs.h. */ 11651 11652 #include <math.h> 11653 int main() { 11654 double s = sqrt(0); 11655 double p = pow(s,s); 11656 return (int)p; 11657 } 11658 11659_ACEOF 11660if ac_fn_c_try_link "$LINENO"; then : 11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11662$as_echo "yes" >&6; } 11663else 11664 11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11666$as_echo "no" >&6; } 11667 LIBS="$LIBS_orig" 11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions without libm" >&5 11669$as_echo_n "checking for math functions without libm... " >&6; } 11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11671/* end confdefs.h. */ 11672 11673 #include <math.h> 11674 int main() { 11675 double s = sqrt(0); 11676 double p = pow(s,s); 11677 return (int)p; 11678 } 11679 11680_ACEOF 11681if ac_fn_c_try_link "$LINENO"; then : 11682 11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11684$as_echo "yes" >&6; } 11685 11686else 11687 11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11689$as_echo "no" >&6; } 11690 as_fn_error $? "*** Could not find sqrt() & pow() functions" "$LINENO" 5 11691 11692fi 11693rm -f core conftest.err conftest.$ac_objext \ 11694 conftest$ac_exeext conftest.$ac_ext 11695 11696fi 11697rm -f core conftest.err conftest.$ac_objext \ 11698 conftest$ac_exeext conftest.$ac_ext 11699 11700# doc support 11701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build any docs" >&5 11702$as_echo_n "checking whether to build any docs... " >&6; } 11703# Check whether --enable-docs was given. 11704if test "${enable_docs+set}" = set; then : 11705 enableval=$enable_docs; case "$enableval" in 11706 yes|true|on) gp_build_docs="yes" ;; 11707 *) gp_build_docs="no" ;; 11708esac 11709 11710else 11711 gp_build_docs="yes" 11712 11713fi 11714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gp_build_docs}" >&5 11715$as_echo "${gp_build_docs}" >&6; } 11716 if test "x${gp_build_docs}" = "xyes"; then 11717 BUILD_DOCS_TRUE= 11718 BUILD_DOCS_FALSE='#' 11719else 11720 BUILD_DOCS_TRUE='#' 11721 BUILD_DOCS_FALSE= 11722fi 11723 11724 11725 11726 11727 11728# Check whether --with-doc-dir was given. 11729if test "${with_doc_dir+set}" = set; then : 11730 withval=$with_doc_dir; 11731fi 11732 11733 11734# check for the main ("root") documentation directory 11735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking main docdir" >&5 11736$as_echo_n "checking main docdir... " >&6; } 11737 11738if test "x${with_doc_dir}" != "x" 11739then # docdir is given as parameter 11740 docdir="${with_doc_dir}" 11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (from parameter)" >&5 11742$as_echo "${docdir} (from parameter)" >&6; } 11743else # otherwise invent a docdir hopefully compatible with system policy 11744 if test -d "/usr/share/doc" 11745 then 11746 maindocdir='${prefix}/share/doc' 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (FHS style)" >&5 11748$as_echo "${maindocdir} (FHS style)" >&6; } 11749 elif test -d "/usr/doc" 11750 then 11751 maindocdir='${prefix}/doc' 11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (old style)" >&5 11753$as_echo "${maindocdir} (old style)" >&6; } 11754 else 11755 maindocdir='${datadir}/doc' 11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (default value)" >&5 11757$as_echo "${maindocdir} (default value)" >&6; } 11758 fi 11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking package docdir" >&5 11760$as_echo_n "checking package docdir... " >&6; } 11761 # check whether to include package version into documentation path 11762 # FIXME: doesn't work properly. 11763 if ls -d /usr/{share/,}doc/make-0-9* > /dev/null 2>&1 11764 then 11765 docdir="${maindocdir}/${PACKAGE}-${VERSION}" 11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (redhat style)" >&5 11767$as_echo "${docdir} (redhat style)" >&6; } 11768 else 11769 docdir="${maindocdir}/${PACKAGE}" 11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (default style)" >&5 11771$as_echo "${docdir} (default style)" >&6; } 11772 fi 11773fi 11774 11775 11776 11777# Extract the first word of "dot", so it can be a program name with args. 11778set dummy dot; ac_word=$2 11779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11780$as_echo_n "checking for $ac_word... " >&6; } 11781if ${ac_cv_path_DOT+:} false; then : 11782 $as_echo_n "(cached) " >&6 11783else 11784 case $DOT in 11785 [\\/]* | ?:[\\/]*) 11786 ac_cv_path_DOT="$DOT" # Let the user override the test with a path. 11787 ;; 11788 *) 11789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11790for as_dir in $PATH 11791do 11792 IFS=$as_save_IFS 11793 test -z "$as_dir" && as_dir=. 11794 for ac_exec_ext in '' $ac_executable_extensions; do 11795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11796 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" 11797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11798 break 2 11799 fi 11800done 11801 done 11802IFS=$as_save_IFS 11803 11804 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false" 11805 ;; 11806esac 11807fi 11808DOT=$ac_cv_path_DOT 11809if test -n "$DOT"; then 11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5 11811$as_echo "$DOT" >&6; } 11812else 11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11814$as_echo "no" >&6; } 11815fi 11816 11817 11818# Extract the first word of "doxygen", so it can be a program name with args. 11819set dummy doxygen; ac_word=$2 11820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11821$as_echo_n "checking for $ac_word... " >&6; } 11822if ${ac_cv_path_DOXYGEN+:} false; then : 11823 $as_echo_n "(cached) " >&6 11824else 11825 case $DOXYGEN in 11826 [\\/]* | ?:[\\/]*) 11827 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 11828 ;; 11829 *) 11830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11831for as_dir in $PATH 11832do 11833 IFS=$as_save_IFS 11834 test -z "$as_dir" && as_dir=. 11835 for ac_exec_ext in '' $ac_executable_extensions; do 11836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11837 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 11838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11839 break 2 11840 fi 11841done 11842 done 11843IFS=$as_save_IFS 11844 11845 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false" 11846 ;; 11847esac 11848fi 11849DOXYGEN=$ac_cv_path_DOXYGEN 11850if test -n "$DOXYGEN"; then 11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 11852$as_echo "$DOXYGEN" >&6; } 11853else 11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11855$as_echo "no" >&6; } 11856fi 11857 11858 11859 if test "x$DOXYGEN" != "xfalse"; then 11860 HAVE_DOXYGEN_TRUE= 11861 HAVE_DOXYGEN_FALSE='#' 11862else 11863 HAVE_DOXYGEN_TRUE='#' 11864 HAVE_DOXYGEN_FALSE= 11865fi 11866 11867 if test "x$DOT" != "xfalse"; then 11868 HAVE_DOT_TRUE= 11869 HAVE_DOT_FALSE='#' 11870else 11871 HAVE_DOT_TRUE='#' 11872 HAVE_DOT_FALSE= 11873fi 11874 11875if test "x$DOT" != "xfalse"; then 11876 HAVE_DOT=YES 11877 11878else 11879 HAVE_DOT=NO 11880 11881fi 11882HTML_APIDOC_DIR="${PACKAGE_TARNAME}-api.html" 11883 11884DOXYGEN_OUTPUT_DIR=doxygen-output 11885 11886HTML_APIDOC_INTERNALS_DIR="${PACKAGE_TARNAME}-internals.html" 11887 11888 11889 11890# Whether to enable the internal docs build. 11891# 11892# This takes quite some time due to the generation of lots of call 11893# graphs, so it is disabled by default. 11894set_enable_internal_docs=no 11895# Check whether --enable-internal-docs was given. 11896if test "${enable_internal_docs+set}" = set; then : 11897 enableval=$enable_internal_docs; if test "x$enableval" = xno \ 11898 || test "x$enableval" = xoff \ 11899 || test "x$enableval" = xfalse; 11900 then 11901 set_enable_internal_docs=no 11902 elif test "x$enableval" = xyes \ 11903 || test "x$enableval" = xon \ 11904 || test "x$enableval" = xtrue 11905 then 11906 set_enable_internal_docs=yes 11907 fi 11908 11909fi 11910 11911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to create internal code docs" >&5 11912$as_echo_n "checking whether to create internal code docs... " >&6; } 11913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${set_enable_internal_docs}" >&5 11914$as_echo "${set_enable_internal_docs}" >&6; } 11915 if test "x${set_enable_internal_docs}" = "xyes"; then 11916 ENABLE_INTERNAL_DOCS_TRUE= 11917 ENABLE_INTERNAL_DOCS_FALSE='#' 11918else 11919 ENABLE_INTERNAL_DOCS_TRUE='#' 11920 ENABLE_INTERNAL_DOCS_FALSE= 11921fi 11922 11923 11924 11925# --------------------------------------------------------------------------- 11926# i18n support 11927# --------------------------------------------------------------------------- 11928ALL_LINGUAS="be bs cs da de en_AU en_CA en_GB es fr it ja nl pl pt pt_BR ru sk sq sr sv tr uk vi zh_CN" 11929 11930 MKINSTALLDIRS= 11931 if test -n "$ac_aux_dir"; then 11932 case "$ac_aux_dir" in 11933 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; 11934 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; 11935 esac 11936 fi 11937 if test -z "$MKINSTALLDIRS"; then 11938 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 11939 fi 11940 11941 11942 11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 11944$as_echo_n "checking whether NLS is requested... " >&6; } 11945 # Check whether --enable-nls was given. 11946if test "${enable_nls+set}" = set; then : 11947 enableval=$enable_nls; USE_NLS=$enableval 11948else 11949 USE_NLS=yes 11950fi 11951 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 11953$as_echo "$USE_NLS" >&6; } 11954 11955 11956 11957 11958 11959 11960# Prepare PATH_SEPARATOR. 11961# The user is always right. 11962if test "${PATH_SEPARATOR+set}" != set; then 11963 echo "#! /bin/sh" >conf$$.sh 11964 echo "exit 0" >>conf$$.sh 11965 chmod +x conf$$.sh 11966 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 11967 PATH_SEPARATOR=';' 11968 else 11969 PATH_SEPARATOR=: 11970 fi 11971 rm -f conf$$.sh 11972fi 11973 11974# Find out how to test for executable files. Don't use a zero-byte file, 11975# as systems may use methods other than mode bits to determine executability. 11976cat >conf$$.file <<_ASEOF 11977#! /bin/sh 11978exit 0 11979_ASEOF 11980chmod +x conf$$.file 11981if test -x conf$$.file >/dev/null 2>&1; then 11982 ac_executable_p="test -x" 11983else 11984 ac_executable_p="test -f" 11985fi 11986rm -f conf$$.file 11987 11988# Extract the first word of "msgfmt", so it can be a program name with args. 11989set dummy msgfmt; ac_word=$2 11990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11991$as_echo_n "checking for $ac_word... " >&6; } 11992if ${ac_cv_path_MSGFMT+:} false; then : 11993 $as_echo_n "(cached) " >&6 11994else 11995 case "$MSGFMT" in 11996 [\\/]* | ?:[\\/]*) 11997 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 11998 ;; 11999 *) 12000 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12001 for ac_dir in $PATH; do 12002 IFS="$ac_save_IFS" 12003 test -z "$ac_dir" && ac_dir=. 12004 for ac_exec_ext in '' $ac_executable_extensions; do 12005 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12006 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && 12007 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12008 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 12009 break 2 12010 fi 12011 fi 12012 done 12013 done 12014 IFS="$ac_save_IFS" 12015 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 12016 ;; 12017esac 12018fi 12019MSGFMT="$ac_cv_path_MSGFMT" 12020if test "$MSGFMT" != ":"; then 12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 12022$as_echo "$MSGFMT" >&6; } 12023else 12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12025$as_echo "no" >&6; } 12026fi 12027 12028 # Extract the first word of "gmsgfmt", so it can be a program name with args. 12029set dummy gmsgfmt; ac_word=$2 12030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12031$as_echo_n "checking for $ac_word... " >&6; } 12032if ${ac_cv_path_GMSGFMT+:} false; then : 12033 $as_echo_n "(cached) " >&6 12034else 12035 case $GMSGFMT in 12036 [\\/]* | ?:[\\/]*) 12037 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 12038 ;; 12039 *) 12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12041for as_dir in $PATH 12042do 12043 IFS=$as_save_IFS 12044 test -z "$as_dir" && as_dir=. 12045 for ac_exec_ext in '' $ac_executable_extensions; do 12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12047 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 12048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12049 break 2 12050 fi 12051done 12052 done 12053IFS=$as_save_IFS 12054 12055 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 12056 ;; 12057esac 12058fi 12059GMSGFMT=$ac_cv_path_GMSGFMT 12060if test -n "$GMSGFMT"; then 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 12062$as_echo "$GMSGFMT" >&6; } 12063else 12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12065$as_echo "no" >&6; } 12066fi 12067 12068 12069 12070 12071# Prepare PATH_SEPARATOR. 12072# The user is always right. 12073if test "${PATH_SEPARATOR+set}" != set; then 12074 echo "#! /bin/sh" >conf$$.sh 12075 echo "exit 0" >>conf$$.sh 12076 chmod +x conf$$.sh 12077 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 12078 PATH_SEPARATOR=';' 12079 else 12080 PATH_SEPARATOR=: 12081 fi 12082 rm -f conf$$.sh 12083fi 12084 12085# Find out how to test for executable files. Don't use a zero-byte file, 12086# as systems may use methods other than mode bits to determine executability. 12087cat >conf$$.file <<_ASEOF 12088#! /bin/sh 12089exit 0 12090_ASEOF 12091chmod +x conf$$.file 12092if test -x conf$$.file >/dev/null 2>&1; then 12093 ac_executable_p="test -x" 12094else 12095 ac_executable_p="test -f" 12096fi 12097rm -f conf$$.file 12098 12099# Extract the first word of "xgettext", so it can be a program name with args. 12100set dummy xgettext; ac_word=$2 12101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12102$as_echo_n "checking for $ac_word... " >&6; } 12103if ${ac_cv_path_XGETTEXT+:} false; then : 12104 $as_echo_n "(cached) " >&6 12105else 12106 case "$XGETTEXT" in 12107 [\\/]* | ?:[\\/]*) 12108 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 12109 ;; 12110 *) 12111 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12112 for ac_dir in $PATH; do 12113 IFS="$ac_save_IFS" 12114 test -z "$ac_dir" && ac_dir=. 12115 for ac_exec_ext in '' $ac_executable_extensions; do 12116 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12117 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 12118 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12119 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 12120 break 2 12121 fi 12122 fi 12123 done 12124 done 12125 IFS="$ac_save_IFS" 12126 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 12127 ;; 12128esac 12129fi 12130XGETTEXT="$ac_cv_path_XGETTEXT" 12131if test "$XGETTEXT" != ":"; then 12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 12133$as_echo "$XGETTEXT" >&6; } 12134else 12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12136$as_echo "no" >&6; } 12137fi 12138 12139 rm -f messages.po 12140 12141 12142# Prepare PATH_SEPARATOR. 12143# The user is always right. 12144if test "${PATH_SEPARATOR+set}" != set; then 12145 echo "#! /bin/sh" >conf$$.sh 12146 echo "exit 0" >>conf$$.sh 12147 chmod +x conf$$.sh 12148 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 12149 PATH_SEPARATOR=';' 12150 else 12151 PATH_SEPARATOR=: 12152 fi 12153 rm -f conf$$.sh 12154fi 12155 12156# Find out how to test for executable files. Don't use a zero-byte file, 12157# as systems may use methods other than mode bits to determine executability. 12158cat >conf$$.file <<_ASEOF 12159#! /bin/sh 12160exit 0 12161_ASEOF 12162chmod +x conf$$.file 12163if test -x conf$$.file >/dev/null 2>&1; then 12164 ac_executable_p="test -x" 12165else 12166 ac_executable_p="test -f" 12167fi 12168rm -f conf$$.file 12169 12170# Extract the first word of "msgmerge", so it can be a program name with args. 12171set dummy msgmerge; ac_word=$2 12172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12173$as_echo_n "checking for $ac_word... " >&6; } 12174if ${ac_cv_path_MSGMERGE+:} false; then : 12175 $as_echo_n "(cached) " >&6 12176else 12177 case "$MSGMERGE" in 12178 [\\/]* | ?:[\\/]*) 12179 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 12180 ;; 12181 *) 12182 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 12183 for ac_dir in $PATH; do 12184 IFS="$ac_save_IFS" 12185 test -z "$ac_dir" && ac_dir=. 12186 for ac_exec_ext in '' $ac_executable_extensions; do 12187 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 12188 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then 12189 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 12190 break 2 12191 fi 12192 fi 12193 done 12194 done 12195 IFS="$ac_save_IFS" 12196 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 12197 ;; 12198esac 12199fi 12200MSGMERGE="$ac_cv_path_MSGMERGE" 12201if test "$MSGMERGE" != ":"; then 12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 12203$as_echo "$MSGMERGE" >&6; } 12204else 12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12206$as_echo "no" >&6; } 12207fi 12208 12209 12210 if test "$GMSGFMT" != ":"; then 12211 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && 12212 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12213 : ; 12214 else 12215 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` 12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 12217$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } 12218 GMSGFMT=":" 12219 fi 12220 fi 12221 12222 if test "$XGETTEXT" != ":"; then 12223 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 12224 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 12225 : ; 12226 else 12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 12228$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 12229 XGETTEXT=":" 12230 fi 12231 rm -f messages.po 12232 fi 12233 12234 ac_config_commands="$ac_config_commands default-1" 12235 12236 12237 12238GETTEXT_PACKAGE="${PACKAGE}-${LIBEXIF_CURRENT_MIN}" 12239# The gettext domain we're using 12240AM_CPPFLAGS="$AM_CPPFLAGS -DGETTEXT_PACKAGE=\\\"${GETTEXT_PACKAGE}\\\"" 12241 12242sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|" 12243sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = Lutz Mueller and others|" 12244 12245if test -n "$PACKAGE_BUGREPORT"; then 12246 sed_mb="${PACKAGE_BUGREPORT}" 12247else 12248 as_fn_error $? " 12249*** Your configure.{ac,in} is wrong. 12250*** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax) 12251*** or give GP_GETTEXT_HACK the third parameter. 12252*** 12253" "$LINENO" 5 12254fi 12255 12256sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|" 12257# Not so sure whether this hack is all *that* evil... 12258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for po/Makevars requiring hack" >&5 12259$as_echo_n "checking for po/Makevars requiring hack... " >&6; } 12260if test -f "${srcdir}/po/Makevars.template"; then 12261 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars" 12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, done." >&5 12263$as_echo "yes, done." >&6; } 12264else 12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12266$as_echo "no" >&6; } 12267fi 12268 12269 12270 12271 if test "X$prefix" = "XNONE"; then 12272 acl_final_prefix="$ac_default_prefix" 12273 else 12274 acl_final_prefix="$prefix" 12275 fi 12276 if test "X$exec_prefix" = "XNONE"; then 12277 acl_final_exec_prefix='${prefix}' 12278 else 12279 acl_final_exec_prefix="$exec_prefix" 12280 fi 12281 acl_save_prefix="$prefix" 12282 prefix="$acl_final_prefix" 12283 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 12284 prefix="$acl_save_prefix" 12285 12286 12287# Check whether --with-gnu-ld was given. 12288if test "${with_gnu_ld+set}" = set; then : 12289 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12290else 12291 with_gnu_ld=no 12292fi 12293 12294# Prepare PATH_SEPARATOR. 12295# The user is always right. 12296if test "${PATH_SEPARATOR+set}" != set; then 12297 echo "#! /bin/sh" >conf$$.sh 12298 echo "exit 0" >>conf$$.sh 12299 chmod +x conf$$.sh 12300 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 12301 PATH_SEPARATOR=';' 12302 else 12303 PATH_SEPARATOR=: 12304 fi 12305 rm -f conf$$.sh 12306fi 12307ac_prog=ld 12308if test "$GCC" = yes; then 12309 # Check if gcc -print-prog-name=ld gives a path. 12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 12311$as_echo_n "checking for ld used by GCC... " >&6; } 12312 case $host in 12313 *-*-mingw*) 12314 # gcc leaves a trailing carriage return which upsets mingw 12315 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12316 *) 12317 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12318 esac 12319 case $ac_prog in 12320 # Accept absolute paths. 12321 [\\/]* | [A-Za-z]:[\\/]*) 12322 re_direlt='/[^/][^/]*/\.\./' 12323 # Canonicalize the path of ld 12324 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 12325 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 12326 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 12327 done 12328 test -z "$LD" && LD="$ac_prog" 12329 ;; 12330 "") 12331 # If it fails, then pretend we aren't using GCC. 12332 ac_prog=ld 12333 ;; 12334 *) 12335 # If it is relative, then search for the first ld in PATH. 12336 with_gnu_ld=unknown 12337 ;; 12338 esac 12339elif test "$with_gnu_ld" = yes; then 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12341$as_echo_n "checking for GNU ld... " >&6; } 12342else 12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12344$as_echo_n "checking for non-GNU ld... " >&6; } 12345fi 12346if ${acl_cv_path_LD+:} false; then : 12347 $as_echo_n "(cached) " >&6 12348else 12349 if test -z "$LD"; then 12350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 12351 for ac_dir in $PATH; do 12352 test -z "$ac_dir" && ac_dir=. 12353 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12354 acl_cv_path_LD="$ac_dir/$ac_prog" 12355 # Check to see if the program is GNU ld. I'd rather use --version, 12356 # but apparently some GNU ld's only accept -v. 12357 # Break only if it was the GNU/non-GNU ld that we prefer. 12358 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 12359 *GNU* | *'with BFD'*) 12360 test "$with_gnu_ld" != no && break ;; 12361 *) 12362 test "$with_gnu_ld" != yes && break ;; 12363 esac 12364 fi 12365 done 12366 IFS="$ac_save_ifs" 12367else 12368 acl_cv_path_LD="$LD" # Let the user override the test with a path. 12369fi 12370fi 12371 12372LD="$acl_cv_path_LD" 12373if test -n "$LD"; then 12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12375$as_echo "$LD" >&6; } 12376else 12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12378$as_echo "no" >&6; } 12379fi 12380test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12382$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12383if ${acl_cv_prog_gnu_ld+:} false; then : 12384 $as_echo_n "(cached) " >&6 12385else 12386 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 12387case `$LD -v 2>&1 </dev/null` in 12388*GNU* | *'with BFD'*) 12389 acl_cv_prog_gnu_ld=yes ;; 12390*) 12391 acl_cv_prog_gnu_ld=no ;; 12392esac 12393fi 12394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 12395$as_echo "$acl_cv_prog_gnu_ld" >&6; } 12396with_gnu_ld=$acl_cv_prog_gnu_ld 12397 12398 12399 12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 12401$as_echo_n "checking for shared library run path origin... " >&6; } 12402if ${acl_cv_rpath+:} false; then : 12403 $as_echo_n "(cached) " >&6 12404else 12405 12406 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 12407 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 12408 . ./conftest.sh 12409 rm -f ./conftest.sh 12410 acl_cv_rpath=done 12411 12412fi 12413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 12414$as_echo "$acl_cv_rpath" >&6; } 12415 wl="$acl_cv_wl" 12416 libext="$acl_cv_libext" 12417 shlibext="$acl_cv_shlibext" 12418 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 12419 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 12420 hardcode_direct="$acl_cv_hardcode_direct" 12421 hardcode_minus_L="$acl_cv_hardcode_minus_L" 12422 # Check whether --enable-rpath was given. 12423if test "${enable_rpath+set}" = set; then : 12424 enableval=$enable_rpath; : 12425else 12426 enable_rpath=yes 12427fi 12428 12429 12430 12431 12432 12433 12434 12435 12436 use_additional=yes 12437 12438 acl_save_prefix="$prefix" 12439 prefix="$acl_final_prefix" 12440 acl_save_exec_prefix="$exec_prefix" 12441 exec_prefix="$acl_final_exec_prefix" 12442 12443 eval additional_includedir=\"$includedir\" 12444 eval additional_libdir=\"$libdir\" 12445 12446 exec_prefix="$acl_save_exec_prefix" 12447 prefix="$acl_save_prefix" 12448 12449 12450# Check whether --with-libiconv-prefix was given. 12451if test "${with_libiconv_prefix+set}" = set; then : 12452 withval=$with_libiconv_prefix; 12453 if test "X$withval" = "Xno"; then 12454 use_additional=no 12455 else 12456 if test "X$withval" = "X"; then 12457 12458 acl_save_prefix="$prefix" 12459 prefix="$acl_final_prefix" 12460 acl_save_exec_prefix="$exec_prefix" 12461 exec_prefix="$acl_final_exec_prefix" 12462 12463 eval additional_includedir=\"$includedir\" 12464 eval additional_libdir=\"$libdir\" 12465 12466 exec_prefix="$acl_save_exec_prefix" 12467 prefix="$acl_save_prefix" 12468 12469 else 12470 additional_includedir="$withval/include" 12471 additional_libdir="$withval/lib" 12472 fi 12473 fi 12474 12475fi 12476 12477 LIBICONV= 12478 LTLIBICONV= 12479 INCICONV= 12480 rpathdirs= 12481 ltrpathdirs= 12482 names_already_handled= 12483 names_next_round='iconv ' 12484 while test -n "$names_next_round"; do 12485 names_this_round="$names_next_round" 12486 names_next_round= 12487 for name in $names_this_round; do 12488 already_handled= 12489 for n in $names_already_handled; do 12490 if test "$n" = "$name"; then 12491 already_handled=yes 12492 break 12493 fi 12494 done 12495 if test -z "$already_handled"; then 12496 names_already_handled="$names_already_handled $name" 12497 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 12498 eval value=\"\$HAVE_LIB$uppername\" 12499 if test -n "$value"; then 12500 if test "$value" = yes; then 12501 eval value=\"\$LIB$uppername\" 12502 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 12503 eval value=\"\$LTLIB$uppername\" 12504 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 12505 else 12506 : 12507 fi 12508 else 12509 found_dir= 12510 found_la= 12511 found_so= 12512 found_a= 12513 if test $use_additional = yes; then 12514 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 12515 found_dir="$additional_libdir" 12516 found_so="$additional_libdir/lib$name.$shlibext" 12517 if test -f "$additional_libdir/lib$name.la"; then 12518 found_la="$additional_libdir/lib$name.la" 12519 fi 12520 else 12521 if test -f "$additional_libdir/lib$name.$libext"; then 12522 found_dir="$additional_libdir" 12523 found_a="$additional_libdir/lib$name.$libext" 12524 if test -f "$additional_libdir/lib$name.la"; then 12525 found_la="$additional_libdir/lib$name.la" 12526 fi 12527 fi 12528 fi 12529 fi 12530 if test "X$found_dir" = "X"; then 12531 for x in $LDFLAGS $LTLIBICONV; do 12532 12533 acl_save_prefix="$prefix" 12534 prefix="$acl_final_prefix" 12535 acl_save_exec_prefix="$exec_prefix" 12536 exec_prefix="$acl_final_exec_prefix" 12537 eval x=\"$x\" 12538 exec_prefix="$acl_save_exec_prefix" 12539 prefix="$acl_save_prefix" 12540 12541 case "$x" in 12542 -L*) 12543 dir=`echo "X$x" | sed -e 's/^X-L//'` 12544 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 12545 found_dir="$dir" 12546 found_so="$dir/lib$name.$shlibext" 12547 if test -f "$dir/lib$name.la"; then 12548 found_la="$dir/lib$name.la" 12549 fi 12550 else 12551 if test -f "$dir/lib$name.$libext"; then 12552 found_dir="$dir" 12553 found_a="$dir/lib$name.$libext" 12554 if test -f "$dir/lib$name.la"; then 12555 found_la="$dir/lib$name.la" 12556 fi 12557 fi 12558 fi 12559 ;; 12560 esac 12561 if test "X$found_dir" != "X"; then 12562 break 12563 fi 12564 done 12565 fi 12566 if test "X$found_dir" != "X"; then 12567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 12568 if test "X$found_so" != "X"; then 12569 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 12570 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 12571 else 12572 haveit= 12573 for x in $ltrpathdirs; do 12574 if test "X$x" = "X$found_dir"; then 12575 haveit=yes 12576 break 12577 fi 12578 done 12579 if test -z "$haveit"; then 12580 ltrpathdirs="$ltrpathdirs $found_dir" 12581 fi 12582 if test "$hardcode_direct" = yes; then 12583 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 12584 else 12585 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 12586 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 12587 haveit= 12588 for x in $rpathdirs; do 12589 if test "X$x" = "X$found_dir"; then 12590 haveit=yes 12591 break 12592 fi 12593 done 12594 if test -z "$haveit"; then 12595 rpathdirs="$rpathdirs $found_dir" 12596 fi 12597 else 12598 haveit= 12599 for x in $LDFLAGS $LIBICONV; do 12600 12601 acl_save_prefix="$prefix" 12602 prefix="$acl_final_prefix" 12603 acl_save_exec_prefix="$exec_prefix" 12604 exec_prefix="$acl_final_exec_prefix" 12605 eval x=\"$x\" 12606 exec_prefix="$acl_save_exec_prefix" 12607 prefix="$acl_save_prefix" 12608 12609 if test "X$x" = "X-L$found_dir"; then 12610 haveit=yes 12611 break 12612 fi 12613 done 12614 if test -z "$haveit"; then 12615 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 12616 fi 12617 if test "$hardcode_minus_L" != no; then 12618 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 12619 else 12620 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 12621 fi 12622 fi 12623 fi 12624 fi 12625 else 12626 if test "X$found_a" != "X"; then 12627 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 12628 else 12629 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 12630 fi 12631 fi 12632 additional_includedir= 12633 case "$found_dir" in 12634 */lib | */lib/) 12635 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 12636 additional_includedir="$basedir/include" 12637 ;; 12638 esac 12639 if test "X$additional_includedir" != "X"; then 12640 if test "X$additional_includedir" != "X/usr/include"; then 12641 haveit= 12642 if test "X$additional_includedir" = "X/usr/local/include"; then 12643 if test -n "$GCC"; then 12644 case $host_os in 12645 linux*) haveit=yes;; 12646 esac 12647 fi 12648 fi 12649 if test -z "$haveit"; then 12650 for x in $CPPFLAGS $INCICONV; do 12651 12652 acl_save_prefix="$prefix" 12653 prefix="$acl_final_prefix" 12654 acl_save_exec_prefix="$exec_prefix" 12655 exec_prefix="$acl_final_exec_prefix" 12656 eval x=\"$x\" 12657 exec_prefix="$acl_save_exec_prefix" 12658 prefix="$acl_save_prefix" 12659 12660 if test "X$x" = "X-I$additional_includedir"; then 12661 haveit=yes 12662 break 12663 fi 12664 done 12665 if test -z "$haveit"; then 12666 if test -d "$additional_includedir"; then 12667 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 12668 fi 12669 fi 12670 fi 12671 fi 12672 fi 12673 if test -n "$found_la"; then 12674 save_libdir="$libdir" 12675 case "$found_la" in 12676 */* | *\\*) . "$found_la" ;; 12677 *) . "./$found_la" ;; 12678 esac 12679 libdir="$save_libdir" 12680 for dep in $dependency_libs; do 12681 case "$dep" in 12682 -L*) 12683 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 12684 if test "X$additional_libdir" != "X/usr/lib"; then 12685 haveit= 12686 if test "X$additional_libdir" = "X/usr/local/lib"; then 12687 if test -n "$GCC"; then 12688 case $host_os in 12689 linux*) haveit=yes;; 12690 esac 12691 fi 12692 fi 12693 if test -z "$haveit"; then 12694 haveit= 12695 for x in $LDFLAGS $LIBICONV; do 12696 12697 acl_save_prefix="$prefix" 12698 prefix="$acl_final_prefix" 12699 acl_save_exec_prefix="$exec_prefix" 12700 exec_prefix="$acl_final_exec_prefix" 12701 eval x=\"$x\" 12702 exec_prefix="$acl_save_exec_prefix" 12703 prefix="$acl_save_prefix" 12704 12705 if test "X$x" = "X-L$additional_libdir"; then 12706 haveit=yes 12707 break 12708 fi 12709 done 12710 if test -z "$haveit"; then 12711 if test -d "$additional_libdir"; then 12712 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 12713 fi 12714 fi 12715 haveit= 12716 for x in $LDFLAGS $LTLIBICONV; do 12717 12718 acl_save_prefix="$prefix" 12719 prefix="$acl_final_prefix" 12720 acl_save_exec_prefix="$exec_prefix" 12721 exec_prefix="$acl_final_exec_prefix" 12722 eval x=\"$x\" 12723 exec_prefix="$acl_save_exec_prefix" 12724 prefix="$acl_save_prefix" 12725 12726 if test "X$x" = "X-L$additional_libdir"; then 12727 haveit=yes 12728 break 12729 fi 12730 done 12731 if test -z "$haveit"; then 12732 if test -d "$additional_libdir"; then 12733 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 12734 fi 12735 fi 12736 fi 12737 fi 12738 ;; 12739 -R*) 12740 dir=`echo "X$dep" | sed -e 's/^X-R//'` 12741 if test "$enable_rpath" != no; then 12742 haveit= 12743 for x in $rpathdirs; do 12744 if test "X$x" = "X$dir"; then 12745 haveit=yes 12746 break 12747 fi 12748 done 12749 if test -z "$haveit"; then 12750 rpathdirs="$rpathdirs $dir" 12751 fi 12752 haveit= 12753 for x in $ltrpathdirs; do 12754 if test "X$x" = "X$dir"; then 12755 haveit=yes 12756 break 12757 fi 12758 done 12759 if test -z "$haveit"; then 12760 ltrpathdirs="$ltrpathdirs $dir" 12761 fi 12762 fi 12763 ;; 12764 -l*) 12765 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 12766 ;; 12767 *.la) 12768 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 12769 ;; 12770 *) 12771 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 12772 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 12773 ;; 12774 esac 12775 done 12776 fi 12777 else 12778 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 12779 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 12780 fi 12781 fi 12782 fi 12783 done 12784 done 12785 if test "X$rpathdirs" != "X"; then 12786 if test -n "$hardcode_libdir_separator"; then 12787 alldirs= 12788 for found_dir in $rpathdirs; do 12789 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 12790 done 12791 acl_save_libdir="$libdir" 12792 libdir="$alldirs" 12793 eval flag=\"$hardcode_libdir_flag_spec\" 12794 libdir="$acl_save_libdir" 12795 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 12796 else 12797 for found_dir in $rpathdirs; do 12798 acl_save_libdir="$libdir" 12799 libdir="$found_dir" 12800 eval flag=\"$hardcode_libdir_flag_spec\" 12801 libdir="$acl_save_libdir" 12802 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 12803 done 12804 fi 12805 fi 12806 if test "X$ltrpathdirs" != "X"; then 12807 for found_dir in $ltrpathdirs; do 12808 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 12809 done 12810 fi 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 12830$as_echo_n "checking whether NLS is requested... " >&6; } 12831 # Check whether --enable-nls was given. 12832if test "${enable_nls+set}" = set; then : 12833 enableval=$enable_nls; USE_NLS=$enableval 12834else 12835 USE_NLS=yes 12836fi 12837 12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 12839$as_echo "$USE_NLS" >&6; } 12840 12841 12842 12843 12844 LIBINTL= 12845 LTLIBINTL= 12846 POSUB= 12847 12848 if test "$USE_NLS" = "yes"; then 12849 gt_use_preinstalled_gnugettext=no 12850 12851 12852 12853 12854 12855 12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 12857$as_echo_n "checking for GNU gettext in libc... " >&6; } 12858if ${gt_cv_func_gnugettext1_libc+:} false; then : 12859 $as_echo_n "(cached) " >&6 12860else 12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12862/* end confdefs.h. */ 12863#include <libintl.h> 12864extern int _nl_msg_cat_cntr; 12865extern int *_nl_domain_bindings; 12866int 12867main () 12868{ 12869bindtextdomain ("", ""); 12870return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings 12871 ; 12872 return 0; 12873} 12874_ACEOF 12875if ac_fn_c_try_link "$LINENO"; then : 12876 gt_cv_func_gnugettext1_libc=yes 12877else 12878 gt_cv_func_gnugettext1_libc=no 12879fi 12880rm -f core conftest.err conftest.$ac_objext \ 12881 conftest$ac_exeext conftest.$ac_ext 12882fi 12883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 12884$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } 12885 12886 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 12887 12888 12889 12890 12891 12892 am_save_CPPFLAGS="$CPPFLAGS" 12893 12894 for element in $INCICONV; do 12895 haveit= 12896 for x in $CPPFLAGS; do 12897 12898 acl_save_prefix="$prefix" 12899 prefix="$acl_final_prefix" 12900 acl_save_exec_prefix="$exec_prefix" 12901 exec_prefix="$acl_final_exec_prefix" 12902 eval x=\"$x\" 12903 exec_prefix="$acl_save_exec_prefix" 12904 prefix="$acl_save_prefix" 12905 12906 if test "X$x" = "X$element"; then 12907 haveit=yes 12908 break 12909 fi 12910 done 12911 if test -z "$haveit"; then 12912 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 12913 fi 12914 done 12915 12916 12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 12918$as_echo_n "checking for iconv... " >&6; } 12919if ${am_cv_func_iconv+:} false; then : 12920 $as_echo_n "(cached) " >&6 12921else 12922 12923 am_cv_func_iconv="no, consider installing GNU libiconv" 12924 am_cv_lib_iconv=no 12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12926/* end confdefs.h. */ 12927#include <stdlib.h> 12928#include <iconv.h> 12929int 12930main () 12931{ 12932iconv_t cd = iconv_open("",""); 12933 iconv(cd,NULL,NULL,NULL,NULL); 12934 iconv_close(cd); 12935 ; 12936 return 0; 12937} 12938_ACEOF 12939if ac_fn_c_try_link "$LINENO"; then : 12940 am_cv_func_iconv=yes 12941fi 12942rm -f core conftest.err conftest.$ac_objext \ 12943 conftest$ac_exeext conftest.$ac_ext 12944 if test "$am_cv_func_iconv" != yes; then 12945 am_save_LIBS="$LIBS" 12946 LIBS="$LIBS $LIBICONV" 12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12948/* end confdefs.h. */ 12949#include <stdlib.h> 12950#include <iconv.h> 12951int 12952main () 12953{ 12954iconv_t cd = iconv_open("",""); 12955 iconv(cd,NULL,NULL,NULL,NULL); 12956 iconv_close(cd); 12957 ; 12958 return 0; 12959} 12960_ACEOF 12961if ac_fn_c_try_link "$LINENO"; then : 12962 am_cv_lib_iconv=yes 12963 am_cv_func_iconv=yes 12964fi 12965rm -f core conftest.err conftest.$ac_objext \ 12966 conftest$ac_exeext conftest.$ac_ext 12967 LIBS="$am_save_LIBS" 12968 fi 12969 12970fi 12971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 12972$as_echo "$am_cv_func_iconv" >&6; } 12973 if test "$am_cv_func_iconv" = yes; then 12974 12975$as_echo "#define HAVE_ICONV 1" >>confdefs.h 12976 12977 fi 12978 if test "$am_cv_lib_iconv" = yes; then 12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 12980$as_echo_n "checking how to link with libiconv... " >&6; } 12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 12982$as_echo "$LIBICONV" >&6; } 12983 else 12984 CPPFLAGS="$am_save_CPPFLAGS" 12985 LIBICONV= 12986 LTLIBICONV= 12987 fi 12988 12989 12990 12991 12992 12993 12994 use_additional=yes 12995 12996 acl_save_prefix="$prefix" 12997 prefix="$acl_final_prefix" 12998 acl_save_exec_prefix="$exec_prefix" 12999 exec_prefix="$acl_final_exec_prefix" 13000 13001 eval additional_includedir=\"$includedir\" 13002 eval additional_libdir=\"$libdir\" 13003 13004 exec_prefix="$acl_save_exec_prefix" 13005 prefix="$acl_save_prefix" 13006 13007 13008# Check whether --with-libintl-prefix was given. 13009if test "${with_libintl_prefix+set}" = set; then : 13010 withval=$with_libintl_prefix; 13011 if test "X$withval" = "Xno"; then 13012 use_additional=no 13013 else 13014 if test "X$withval" = "X"; then 13015 13016 acl_save_prefix="$prefix" 13017 prefix="$acl_final_prefix" 13018 acl_save_exec_prefix="$exec_prefix" 13019 exec_prefix="$acl_final_exec_prefix" 13020 13021 eval additional_includedir=\"$includedir\" 13022 eval additional_libdir=\"$libdir\" 13023 13024 exec_prefix="$acl_save_exec_prefix" 13025 prefix="$acl_save_prefix" 13026 13027 else 13028 additional_includedir="$withval/include" 13029 additional_libdir="$withval/lib" 13030 fi 13031 fi 13032 13033fi 13034 13035 LIBINTL= 13036 LTLIBINTL= 13037 INCINTL= 13038 rpathdirs= 13039 ltrpathdirs= 13040 names_already_handled= 13041 names_next_round='intl ' 13042 while test -n "$names_next_round"; do 13043 names_this_round="$names_next_round" 13044 names_next_round= 13045 for name in $names_this_round; do 13046 already_handled= 13047 for n in $names_already_handled; do 13048 if test "$n" = "$name"; then 13049 already_handled=yes 13050 break 13051 fi 13052 done 13053 if test -z "$already_handled"; then 13054 names_already_handled="$names_already_handled $name" 13055 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 13056 eval value=\"\$HAVE_LIB$uppername\" 13057 if test -n "$value"; then 13058 if test "$value" = yes; then 13059 eval value=\"\$LIB$uppername\" 13060 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 13061 eval value=\"\$LTLIB$uppername\" 13062 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 13063 else 13064 : 13065 fi 13066 else 13067 found_dir= 13068 found_la= 13069 found_so= 13070 found_a= 13071 if test $use_additional = yes; then 13072 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 13073 found_dir="$additional_libdir" 13074 found_so="$additional_libdir/lib$name.$shlibext" 13075 if test -f "$additional_libdir/lib$name.la"; then 13076 found_la="$additional_libdir/lib$name.la" 13077 fi 13078 else 13079 if test -f "$additional_libdir/lib$name.$libext"; then 13080 found_dir="$additional_libdir" 13081 found_a="$additional_libdir/lib$name.$libext" 13082 if test -f "$additional_libdir/lib$name.la"; then 13083 found_la="$additional_libdir/lib$name.la" 13084 fi 13085 fi 13086 fi 13087 fi 13088 if test "X$found_dir" = "X"; then 13089 for x in $LDFLAGS $LTLIBINTL; do 13090 13091 acl_save_prefix="$prefix" 13092 prefix="$acl_final_prefix" 13093 acl_save_exec_prefix="$exec_prefix" 13094 exec_prefix="$acl_final_exec_prefix" 13095 eval x=\"$x\" 13096 exec_prefix="$acl_save_exec_prefix" 13097 prefix="$acl_save_prefix" 13098 13099 case "$x" in 13100 -L*) 13101 dir=`echo "X$x" | sed -e 's/^X-L//'` 13102 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 13103 found_dir="$dir" 13104 found_so="$dir/lib$name.$shlibext" 13105 if test -f "$dir/lib$name.la"; then 13106 found_la="$dir/lib$name.la" 13107 fi 13108 else 13109 if test -f "$dir/lib$name.$libext"; then 13110 found_dir="$dir" 13111 found_a="$dir/lib$name.$libext" 13112 if test -f "$dir/lib$name.la"; then 13113 found_la="$dir/lib$name.la" 13114 fi 13115 fi 13116 fi 13117 ;; 13118 esac 13119 if test "X$found_dir" != "X"; then 13120 break 13121 fi 13122 done 13123 fi 13124 if test "X$found_dir" != "X"; then 13125 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 13126 if test "X$found_so" != "X"; then 13127 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then 13128 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 13129 else 13130 haveit= 13131 for x in $ltrpathdirs; do 13132 if test "X$x" = "X$found_dir"; then 13133 haveit=yes 13134 break 13135 fi 13136 done 13137 if test -z "$haveit"; then 13138 ltrpathdirs="$ltrpathdirs $found_dir" 13139 fi 13140 if test "$hardcode_direct" = yes; then 13141 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 13142 else 13143 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 13144 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 13145 haveit= 13146 for x in $rpathdirs; do 13147 if test "X$x" = "X$found_dir"; then 13148 haveit=yes 13149 break 13150 fi 13151 done 13152 if test -z "$haveit"; then 13153 rpathdirs="$rpathdirs $found_dir" 13154 fi 13155 else 13156 haveit= 13157 for x in $LDFLAGS $LIBINTL; do 13158 13159 acl_save_prefix="$prefix" 13160 prefix="$acl_final_prefix" 13161 acl_save_exec_prefix="$exec_prefix" 13162 exec_prefix="$acl_final_exec_prefix" 13163 eval x=\"$x\" 13164 exec_prefix="$acl_save_exec_prefix" 13165 prefix="$acl_save_prefix" 13166 13167 if test "X$x" = "X-L$found_dir"; then 13168 haveit=yes 13169 break 13170 fi 13171 done 13172 if test -z "$haveit"; then 13173 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 13174 fi 13175 if test "$hardcode_minus_L" != no; then 13176 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 13177 else 13178 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 13179 fi 13180 fi 13181 fi 13182 fi 13183 else 13184 if test "X$found_a" != "X"; then 13185 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 13186 else 13187 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 13188 fi 13189 fi 13190 additional_includedir= 13191 case "$found_dir" in 13192 */lib | */lib/) 13193 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` 13194 additional_includedir="$basedir/include" 13195 ;; 13196 esac 13197 if test "X$additional_includedir" != "X"; then 13198 if test "X$additional_includedir" != "X/usr/include"; then 13199 haveit= 13200 if test "X$additional_includedir" = "X/usr/local/include"; then 13201 if test -n "$GCC"; then 13202 case $host_os in 13203 linux*) haveit=yes;; 13204 esac 13205 fi 13206 fi 13207 if test -z "$haveit"; then 13208 for x in $CPPFLAGS $INCINTL; do 13209 13210 acl_save_prefix="$prefix" 13211 prefix="$acl_final_prefix" 13212 acl_save_exec_prefix="$exec_prefix" 13213 exec_prefix="$acl_final_exec_prefix" 13214 eval x=\"$x\" 13215 exec_prefix="$acl_save_exec_prefix" 13216 prefix="$acl_save_prefix" 13217 13218 if test "X$x" = "X-I$additional_includedir"; then 13219 haveit=yes 13220 break 13221 fi 13222 done 13223 if test -z "$haveit"; then 13224 if test -d "$additional_includedir"; then 13225 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 13226 fi 13227 fi 13228 fi 13229 fi 13230 fi 13231 if test -n "$found_la"; then 13232 save_libdir="$libdir" 13233 case "$found_la" in 13234 */* | *\\*) . "$found_la" ;; 13235 *) . "./$found_la" ;; 13236 esac 13237 libdir="$save_libdir" 13238 for dep in $dependency_libs; do 13239 case "$dep" in 13240 -L*) 13241 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 13242 if test "X$additional_libdir" != "X/usr/lib"; then 13243 haveit= 13244 if test "X$additional_libdir" = "X/usr/local/lib"; then 13245 if test -n "$GCC"; then 13246 case $host_os in 13247 linux*) haveit=yes;; 13248 esac 13249 fi 13250 fi 13251 if test -z "$haveit"; then 13252 haveit= 13253 for x in $LDFLAGS $LIBINTL; do 13254 13255 acl_save_prefix="$prefix" 13256 prefix="$acl_final_prefix" 13257 acl_save_exec_prefix="$exec_prefix" 13258 exec_prefix="$acl_final_exec_prefix" 13259 eval x=\"$x\" 13260 exec_prefix="$acl_save_exec_prefix" 13261 prefix="$acl_save_prefix" 13262 13263 if test "X$x" = "X-L$additional_libdir"; then 13264 haveit=yes 13265 break 13266 fi 13267 done 13268 if test -z "$haveit"; then 13269 if test -d "$additional_libdir"; then 13270 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 13271 fi 13272 fi 13273 haveit= 13274 for x in $LDFLAGS $LTLIBINTL; do 13275 13276 acl_save_prefix="$prefix" 13277 prefix="$acl_final_prefix" 13278 acl_save_exec_prefix="$exec_prefix" 13279 exec_prefix="$acl_final_exec_prefix" 13280 eval x=\"$x\" 13281 exec_prefix="$acl_save_exec_prefix" 13282 prefix="$acl_save_prefix" 13283 13284 if test "X$x" = "X-L$additional_libdir"; then 13285 haveit=yes 13286 break 13287 fi 13288 done 13289 if test -z "$haveit"; then 13290 if test -d "$additional_libdir"; then 13291 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 13292 fi 13293 fi 13294 fi 13295 fi 13296 ;; 13297 -R*) 13298 dir=`echo "X$dep" | sed -e 's/^X-R//'` 13299 if test "$enable_rpath" != no; then 13300 haveit= 13301 for x in $rpathdirs; do 13302 if test "X$x" = "X$dir"; then 13303 haveit=yes 13304 break 13305 fi 13306 done 13307 if test -z "$haveit"; then 13308 rpathdirs="$rpathdirs $dir" 13309 fi 13310 haveit= 13311 for x in $ltrpathdirs; do 13312 if test "X$x" = "X$dir"; then 13313 haveit=yes 13314 break 13315 fi 13316 done 13317 if test -z "$haveit"; then 13318 ltrpathdirs="$ltrpathdirs $dir" 13319 fi 13320 fi 13321 ;; 13322 -l*) 13323 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 13324 ;; 13325 *.la) 13326 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 13327 ;; 13328 *) 13329 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 13330 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 13331 ;; 13332 esac 13333 done 13334 fi 13335 else 13336 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 13337 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 13338 fi 13339 fi 13340 fi 13341 done 13342 done 13343 if test "X$rpathdirs" != "X"; then 13344 if test -n "$hardcode_libdir_separator"; then 13345 alldirs= 13346 for found_dir in $rpathdirs; do 13347 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 13348 done 13349 acl_save_libdir="$libdir" 13350 libdir="$alldirs" 13351 eval flag=\"$hardcode_libdir_flag_spec\" 13352 libdir="$acl_save_libdir" 13353 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 13354 else 13355 for found_dir in $rpathdirs; do 13356 acl_save_libdir="$libdir" 13357 libdir="$found_dir" 13358 eval flag=\"$hardcode_libdir_flag_spec\" 13359 libdir="$acl_save_libdir" 13360 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 13361 done 13362 fi 13363 fi 13364 if test "X$ltrpathdirs" != "X"; then 13365 for found_dir in $ltrpathdirs; do 13366 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 13367 done 13368 fi 13369 13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 13371$as_echo_n "checking for GNU gettext in libintl... " >&6; } 13372if ${gt_cv_func_gnugettext1_libintl+:} false; then : 13373 $as_echo_n "(cached) " >&6 13374else 13375 gt_save_CPPFLAGS="$CPPFLAGS" 13376 CPPFLAGS="$CPPFLAGS $INCINTL" 13377 gt_save_LIBS="$LIBS" 13378 LIBS="$LIBS $LIBINTL" 13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13380/* end confdefs.h. */ 13381#include <libintl.h> 13382extern int _nl_msg_cat_cntr; 13383extern 13384#ifdef __cplusplus 13385"C" 13386#endif 13387const char *_nl_expand_alias (); 13388int 13389main () 13390{ 13391bindtextdomain ("", ""); 13392return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 13393 ; 13394 return 0; 13395} 13396_ACEOF 13397if ac_fn_c_try_link "$LINENO"; then : 13398 gt_cv_func_gnugettext1_libintl=yes 13399else 13400 gt_cv_func_gnugettext1_libintl=no 13401fi 13402rm -f core conftest.err conftest.$ac_objext \ 13403 conftest$ac_exeext conftest.$ac_ext 13404 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 13405 LIBS="$LIBS $LIBICONV" 13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13407/* end confdefs.h. */ 13408#include <libintl.h> 13409extern int _nl_msg_cat_cntr; 13410extern 13411#ifdef __cplusplus 13412"C" 13413#endif 13414const char *_nl_expand_alias (); 13415int 13416main () 13417{ 13418bindtextdomain ("", ""); 13419return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) 13420 ; 13421 return 0; 13422} 13423_ACEOF 13424if ac_fn_c_try_link "$LINENO"; then : 13425 LIBINTL="$LIBINTL $LIBICONV" 13426 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 13427 gt_cv_func_gnugettext1_libintl=yes 13428 13429fi 13430rm -f core conftest.err conftest.$ac_objext \ 13431 conftest$ac_exeext conftest.$ac_ext 13432 fi 13433 CPPFLAGS="$gt_save_CPPFLAGS" 13434 LIBS="$gt_save_LIBS" 13435fi 13436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 13437$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } 13438 fi 13439 13440 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ 13441 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ 13442 && test "$PACKAGE" != gettext-runtime \ 13443 && test "$PACKAGE" != gettext-tools; }; then 13444 gt_use_preinstalled_gnugettext=yes 13445 else 13446 LIBINTL= 13447 LTLIBINTL= 13448 INCINTL= 13449 fi 13450 13451 13452 13453 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 13454 || test "$nls_cv_use_gnu_gettext" = "yes"; then 13455 13456$as_echo "#define ENABLE_NLS 1" >>confdefs.h 13457 13458 else 13459 USE_NLS=no 13460 fi 13461 fi 13462 13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 13464$as_echo_n "checking whether to use NLS... " >&6; } 13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 13466$as_echo "$USE_NLS" >&6; } 13467 if test "$USE_NLS" = "yes"; then 13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 13469$as_echo_n "checking where the gettext function comes from... " >&6; } 13470 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 13471 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 13472 gt_source="external libintl" 13473 else 13474 gt_source="libc" 13475 fi 13476 else 13477 gt_source="included intl directory" 13478 fi 13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 13480$as_echo "$gt_source" >&6; } 13481 fi 13482 13483 if test "$USE_NLS" = "yes"; then 13484 13485 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 13486 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then 13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 13488$as_echo_n "checking how to link with libintl... " >&6; } 13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 13490$as_echo "$LIBINTL" >&6; } 13491 13492 for element in $INCINTL; do 13493 haveit= 13494 for x in $CPPFLAGS; do 13495 13496 acl_save_prefix="$prefix" 13497 prefix="$acl_final_prefix" 13498 acl_save_exec_prefix="$exec_prefix" 13499 exec_prefix="$acl_final_exec_prefix" 13500 eval x=\"$x\" 13501 exec_prefix="$acl_save_exec_prefix" 13502 prefix="$acl_save_prefix" 13503 13504 if test "X$x" = "X$element"; then 13505 haveit=yes 13506 break 13507 fi 13508 done 13509 if test -z "$haveit"; then 13510 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 13511 fi 13512 done 13513 13514 fi 13515 13516 13517$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 13518 13519 13520$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 13521 13522 fi 13523 13524 POSUB=po 13525 fi 13526 13527 13528 13529 INTLLIBS="$LIBINTL" 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 am_save_CPPFLAGS="$CPPFLAGS" 13542 13543 for element in $INCICONV; do 13544 haveit= 13545 for x in $CPPFLAGS; do 13546 13547 acl_save_prefix="$prefix" 13548 prefix="$acl_final_prefix" 13549 acl_save_exec_prefix="$exec_prefix" 13550 exec_prefix="$acl_final_exec_prefix" 13551 eval x=\"$x\" 13552 exec_prefix="$acl_save_exec_prefix" 13553 prefix="$acl_save_prefix" 13554 13555 if test "X$x" = "X$element"; then 13556 haveit=yes 13557 break 13558 fi 13559 done 13560 if test -z "$haveit"; then 13561 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 13562 fi 13563 done 13564 13565 13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 13567$as_echo_n "checking for iconv... " >&6; } 13568if ${am_cv_func_iconv+:} false; then : 13569 $as_echo_n "(cached) " >&6 13570else 13571 13572 am_cv_func_iconv="no, consider installing GNU libiconv" 13573 am_cv_lib_iconv=no 13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13575/* end confdefs.h. */ 13576#include <stdlib.h> 13577#include <iconv.h> 13578int 13579main () 13580{ 13581iconv_t cd = iconv_open("",""); 13582 iconv(cd,NULL,NULL,NULL,NULL); 13583 iconv_close(cd); 13584 ; 13585 return 0; 13586} 13587_ACEOF 13588if ac_fn_c_try_link "$LINENO"; then : 13589 am_cv_func_iconv=yes 13590fi 13591rm -f core conftest.err conftest.$ac_objext \ 13592 conftest$ac_exeext conftest.$ac_ext 13593 if test "$am_cv_func_iconv" != yes; then 13594 am_save_LIBS="$LIBS" 13595 LIBS="$LIBS $LIBICONV" 13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13597/* end confdefs.h. */ 13598#include <stdlib.h> 13599#include <iconv.h> 13600int 13601main () 13602{ 13603iconv_t cd = iconv_open("",""); 13604 iconv(cd,NULL,NULL,NULL,NULL); 13605 iconv_close(cd); 13606 ; 13607 return 0; 13608} 13609_ACEOF 13610if ac_fn_c_try_link "$LINENO"; then : 13611 am_cv_lib_iconv=yes 13612 am_cv_func_iconv=yes 13613fi 13614rm -f core conftest.err conftest.$ac_objext \ 13615 conftest$ac_exeext conftest.$ac_ext 13616 LIBS="$am_save_LIBS" 13617 fi 13618 13619fi 13620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 13621$as_echo "$am_cv_func_iconv" >&6; } 13622 if test "$am_cv_func_iconv" = yes; then 13623 13624$as_echo "#define HAVE_ICONV 1" >>confdefs.h 13625 13626 fi 13627 if test "$am_cv_lib_iconv" = yes; then 13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 13629$as_echo_n "checking how to link with libiconv... " >&6; } 13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 13631$as_echo "$LIBICONV" >&6; } 13632 else 13633 CPPFLAGS="$am_save_CPPFLAGS" 13634 LIBICONV= 13635 LTLIBICONV= 13636 fi 13637 13638 13639 13640 if test "$am_cv_func_iconv" = yes; then 13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 13642$as_echo_n "checking for iconv declaration... " >&6; } 13643 if ${am_cv_proto_iconv+:} false; then : 13644 $as_echo_n "(cached) " >&6 13645else 13646 13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13648/* end confdefs.h. */ 13649 13650#include <stdlib.h> 13651#include <iconv.h> 13652extern 13653#ifdef __cplusplus 13654"C" 13655#endif 13656#if defined(__STDC__) || defined(__cplusplus) 13657size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 13658#else 13659size_t iconv(); 13660#endif 13661 13662int 13663main () 13664{ 13665 13666 ; 13667 return 0; 13668} 13669_ACEOF 13670if ac_fn_c_try_compile "$LINENO"; then : 13671 am_cv_proto_iconv_arg1="" 13672else 13673 am_cv_proto_iconv_arg1="const" 13674fi 13675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13676 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 13677fi 13678 13679 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- 13681 }$am_cv_proto_iconv" >&5 13682$as_echo "${ac_t:- 13683 }$am_cv_proto_iconv" >&6; } 13684 13685cat >>confdefs.h <<_ACEOF 13686#define ICONV_CONST $am_cv_proto_iconv_arg1 13687_ACEOF 13688 13689 fi 13690 13691 13692 13693 13694if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then 13695 AM_CFLAGS="${AM_CFLAGS} -I\$(top_srcdir)/intl" 13696fi 13697 13698gp_config_msg_len="$(expr "Use translations" : '.*')" 13699if test "$gp_config_msg_len" -ge "$gp_config_len"; then 13700 gp_config_msg_lhs="$(expr "Use translations" : "\(.\{0,${gp_config_len3}\}\)")..:" 13701else 13702 gp_config_msg_lhs="$(expr "Use translations:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 13703fi 13704gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${USE_NLS} 13705" 13706 13707if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then 13708 13709gp_config_msg_len="$(expr "Use included libintl" : '.*')" 13710if test "$gp_config_msg_len" -ge "$gp_config_len"; then 13711 gp_config_msg_lhs="$(expr "Use included libintl" : "\(.\{0,${gp_config_len3}\}\)")..:" 13712else 13713 gp_config_msg_lhs="$(expr "Use included libintl:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 13714fi 13715gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${BUILD_INCLUDED_LIBINTL} 13716" 13717 13718fi 13719localedir='$(datadir)/locale' 13720 13721AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\"" 13722 13723 13724 13725for ac_func in localtime_r 13726do : 13727 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r" 13728if test "x$ac_cv_func_localtime_r" = xyes; then : 13729 cat >>confdefs.h <<_ACEOF 13730#define HAVE_LOCALTIME_R 1 13731_ACEOF 13732 13733fi 13734done 13735 13736 13737AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_srcdir)" 13738AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_builddir)" 13739AM_LDFLAGS="$LDFLAGS" 13740if test "x$GCC" = "xyes"; then 13741 AM_CFLAGS="$AM_CFLAGS -ansi -pedantic-error" 13742 AM_CXXFLAGS="$AM_CXXFLAGS -ansi -pedantic-error" 13743 AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes" 13744 AM_LDFLAGS="$AM_LDFLAGS -g -Wall" 13745fi 13746 13747 13748 13749 13750 13751 13752 13753ac_config_files="$ac_config_files po/Makefile.in Makefile libexif.spec libexif/Makefile test/Makefile test/nls/Makefile m4m/Makefile doc/Makefile doc/Doxyfile doc/Doxyfile-internals libexif.pc libexif-uninstalled.pc binary/Makefile contrib/Makefile contrib/examples/Makefile" 13754 13755cat >confcache <<\_ACEOF 13756# This file is a shell script that caches the results of configure 13757# tests run on this system so they can be shared between configure 13758# scripts and configure runs, see configure's option --config-cache. 13759# It is not useful on other systems. If it contains results you don't 13760# want to keep, you may remove or edit it. 13761# 13762# config.status only pays attention to the cache file if you give it 13763# the --recheck option to rerun configure. 13764# 13765# `ac_cv_env_foo' variables (set or unset) will be overridden when 13766# loading this file, other *unset* `ac_cv_foo' will be assigned the 13767# following values. 13768 13769_ACEOF 13770 13771# The following way of writing the cache mishandles newlines in values, 13772# but we know of no workaround that is simple, portable, and efficient. 13773# So, we kill variables containing newlines. 13774# Ultrix sh set writes to stderr and can't be redirected directly, 13775# and sets the high bit in the cache file unless we assign to the vars. 13776( 13777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13778 eval ac_val=\$$ac_var 13779 case $ac_val in #( 13780 *${as_nl}*) 13781 case $ac_var in #( 13782 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13783$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13784 esac 13785 case $ac_var in #( 13786 _ | IFS | as_nl) ;; #( 13787 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13788 *) { eval $ac_var=; unset $ac_var;} ;; 13789 esac ;; 13790 esac 13791 done 13792 13793 (set) 2>&1 | 13794 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13795 *${as_nl}ac_space=\ *) 13796 # `set' does not quote correctly, so add quotes: double-quote 13797 # substitution turns \\\\ into \\, and sed turns \\ into \. 13798 sed -n \ 13799 "s/'/'\\\\''/g; 13800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13801 ;; #( 13802 *) 13803 # `set' quotes correctly as required by POSIX, so do not add quotes. 13804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13805 ;; 13806 esac | 13807 sort 13808) | 13809 sed ' 13810 /^ac_cv_env_/b end 13811 t clear 13812 :clear 13813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13814 t end 13815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13816 :end' >>confcache 13817if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13818 if test -w "$cache_file"; then 13819 if test "x$cache_file" != "x/dev/null"; then 13820 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13821$as_echo "$as_me: updating cache $cache_file" >&6;} 13822 if test ! -f "$cache_file" || test -h "$cache_file"; then 13823 cat confcache >"$cache_file" 13824 else 13825 case $cache_file in #( 13826 */* | ?:*) 13827 mv -f confcache "$cache_file"$$ && 13828 mv -f "$cache_file"$$ "$cache_file" ;; #( 13829 *) 13830 mv -f confcache "$cache_file" ;; 13831 esac 13832 fi 13833 fi 13834 else 13835 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13836$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13837 fi 13838fi 13839rm -f confcache 13840 13841test "x$prefix" = xNONE && prefix=$ac_default_prefix 13842# Let make expand exec_prefix. 13843test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13844 13845DEFS=-DHAVE_CONFIG_H 13846 13847ac_libobjs= 13848ac_ltlibobjs= 13849U= 13850for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13851 # 1. Remove the extension, and $U if already installed. 13852 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13853 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13855 # will be set to the directory where LIBOBJS objects are built. 13856 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13857 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13858done 13859LIBOBJS=$ac_libobjs 13860 13861LTLIBOBJS=$ac_ltlibobjs 13862 13863 13864 if test -n "$EXEEXT"; then 13865 am__EXEEXT_TRUE= 13866 am__EXEEXT_FALSE='#' 13867else 13868 am__EXEEXT_TRUE='#' 13869 am__EXEEXT_FALSE= 13870fi 13871 13872if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13873 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13874Usually this means the macro was only invoked conditionally." "$LINENO" 5 13875fi 13876if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13877 as_fn_error $? "conditional \"AMDEP\" was never defined. 13878Usually this means the macro was only invoked conditionally." "$LINENO" 5 13879fi 13880if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13881 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13882Usually this means the macro was only invoked conditionally." "$LINENO" 5 13883fi 13884if test -z "${SHIP_BINARIES_TRUE}" && test -z "${SHIP_BINARIES_FALSE}"; then 13885 as_fn_error $? "conditional \"SHIP_BINARIES\" was never defined. 13886Usually this means the macro was only invoked conditionally." "$LINENO" 5 13887fi 13888if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then 13889 as_fn_error $? "conditional \"BUILD_DOCS\" was never defined. 13890Usually this means the macro was only invoked conditionally." "$LINENO" 5 13891fi 13892if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 13893 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 13894Usually this means the macro was only invoked conditionally." "$LINENO" 5 13895fi 13896if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then 13897 as_fn_error $? "conditional \"HAVE_DOT\" was never defined. 13898Usually this means the macro was only invoked conditionally." "$LINENO" 5 13899fi 13900if test -z "${ENABLE_INTERNAL_DOCS_TRUE}" && test -z "${ENABLE_INTERNAL_DOCS_FALSE}"; then 13901 as_fn_error $? "conditional \"ENABLE_INTERNAL_DOCS\" was never defined. 13902Usually this means the macro was only invoked conditionally." "$LINENO" 5 13903fi 13904 13905: "${CONFIG_STATUS=./config.status}" 13906ac_write_fail=0 13907ac_clean_files_save=$ac_clean_files 13908ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13909{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13910$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13911as_write_fail=0 13912cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13913#! $SHELL 13914# Generated by $as_me. 13915# Run this file to recreate the current configuration. 13916# Compiler output produced by configure, useful for debugging 13917# configure, is in config.log if it exists. 13918 13919debug=false 13920ac_cs_recheck=false 13921ac_cs_silent=false 13922 13923SHELL=\${CONFIG_SHELL-$SHELL} 13924export SHELL 13925_ASEOF 13926cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13927## -------------------- ## 13928## M4sh Initialization. ## 13929## -------------------- ## 13930 13931# Be more Bourne compatible 13932DUALCASE=1; export DUALCASE # for MKS sh 13933if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13934 emulate sh 13935 NULLCMD=: 13936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13937 # is contrary to our usage. Disable this feature. 13938 alias -g '${1+"$@"}'='"$@"' 13939 setopt NO_GLOB_SUBST 13940else 13941 case `(set -o) 2>/dev/null` in #( 13942 *posix*) : 13943 set -o posix ;; #( 13944 *) : 13945 ;; 13946esac 13947fi 13948 13949 13950as_nl=' 13951' 13952export as_nl 13953# Printing a long string crashes Solaris 7 /usr/bin/printf. 13954as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13955as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13956as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13957# Prefer a ksh shell builtin over an external printf program on Solaris, 13958# but without wasting forks for bash or zsh. 13959if test -z "$BASH_VERSION$ZSH_VERSION" \ 13960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13961 as_echo='print -r --' 13962 as_echo_n='print -rn --' 13963elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13964 as_echo='printf %s\n' 13965 as_echo_n='printf %s' 13966else 13967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13968 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13969 as_echo_n='/usr/ucb/echo -n' 13970 else 13971 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13972 as_echo_n_body='eval 13973 arg=$1; 13974 case $arg in #( 13975 *"$as_nl"*) 13976 expr "X$arg" : "X\\(.*\\)$as_nl"; 13977 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13978 esac; 13979 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13980 ' 13981 export as_echo_n_body 13982 as_echo_n='sh -c $as_echo_n_body as_echo' 13983 fi 13984 export as_echo_body 13985 as_echo='sh -c $as_echo_body as_echo' 13986fi 13987 13988# The user is always right. 13989if test "${PATH_SEPARATOR+set}" != set; then 13990 PATH_SEPARATOR=: 13991 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13992 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13993 PATH_SEPARATOR=';' 13994 } 13995fi 13996 13997 13998# IFS 13999# We need space, tab and new line, in precisely that order. Quoting is 14000# there to prevent editors from complaining about space-tab. 14001# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14002# splitting by setting IFS to empty value.) 14003IFS=" "" $as_nl" 14004 14005# Find who we are. Look in the path if we contain no directory separator. 14006as_myself= 14007case $0 in #(( 14008 *[\\/]* ) as_myself=$0 ;; 14009 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14010for as_dir in $PATH 14011do 14012 IFS=$as_save_IFS 14013 test -z "$as_dir" && as_dir=. 14014 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14015 done 14016IFS=$as_save_IFS 14017 14018 ;; 14019esac 14020# We did not find ourselves, most probably we were run as `sh COMMAND' 14021# in which case we are not to be found in the path. 14022if test "x$as_myself" = x; then 14023 as_myself=$0 14024fi 14025if test ! -f "$as_myself"; then 14026 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14027 exit 1 14028fi 14029 14030# Unset variables that we do not need and which cause bugs (e.g. in 14031# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14032# suppresses any "Segmentation fault" message there. '((' could 14033# trigger a bug in pdksh 5.2.14. 14034for as_var in BASH_ENV ENV MAIL MAILPATH 14035do eval test x\${$as_var+set} = xset \ 14036 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14037done 14038PS1='$ ' 14039PS2='> ' 14040PS4='+ ' 14041 14042# NLS nuisances. 14043LC_ALL=C 14044export LC_ALL 14045LANGUAGE=C 14046export LANGUAGE 14047 14048# CDPATH. 14049(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14050 14051 14052# as_fn_error STATUS ERROR [LINENO LOG_FD] 14053# ---------------------------------------- 14054# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14055# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14056# script with STATUS, using 1 if that was 0. 14057as_fn_error () 14058{ 14059 as_status=$1; test $as_status -eq 0 && as_status=1 14060 if test "$4"; then 14061 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14062 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14063 fi 14064 $as_echo "$as_me: error: $2" >&2 14065 as_fn_exit $as_status 14066} # as_fn_error 14067 14068 14069# as_fn_set_status STATUS 14070# ----------------------- 14071# Set $? to STATUS, without forking. 14072as_fn_set_status () 14073{ 14074 return $1 14075} # as_fn_set_status 14076 14077# as_fn_exit STATUS 14078# ----------------- 14079# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14080as_fn_exit () 14081{ 14082 set +e 14083 as_fn_set_status $1 14084 exit $1 14085} # as_fn_exit 14086 14087# as_fn_unset VAR 14088# --------------- 14089# Portably unset VAR. 14090as_fn_unset () 14091{ 14092 { eval $1=; unset $1;} 14093} 14094as_unset=as_fn_unset 14095# as_fn_append VAR VALUE 14096# ---------------------- 14097# Append the text in VALUE to the end of the definition contained in VAR. Take 14098# advantage of any shell optimizations that allow amortized linear growth over 14099# repeated appends, instead of the typical quadratic growth present in naive 14100# implementations. 14101if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14102 eval 'as_fn_append () 14103 { 14104 eval $1+=\$2 14105 }' 14106else 14107 as_fn_append () 14108 { 14109 eval $1=\$$1\$2 14110 } 14111fi # as_fn_append 14112 14113# as_fn_arith ARG... 14114# ------------------ 14115# Perform arithmetic evaluation on the ARGs, and store the result in the 14116# global $as_val. Take advantage of shells that can avoid forks. The arguments 14117# must be portable across $(()) and expr. 14118if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14119 eval 'as_fn_arith () 14120 { 14121 as_val=$(( $* )) 14122 }' 14123else 14124 as_fn_arith () 14125 { 14126 as_val=`expr "$@" || test $? -eq 1` 14127 } 14128fi # as_fn_arith 14129 14130 14131if expr a : '\(a\)' >/dev/null 2>&1 && 14132 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14133 as_expr=expr 14134else 14135 as_expr=false 14136fi 14137 14138if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14139 as_basename=basename 14140else 14141 as_basename=false 14142fi 14143 14144if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14145 as_dirname=dirname 14146else 14147 as_dirname=false 14148fi 14149 14150as_me=`$as_basename -- "$0" || 14151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14152 X"$0" : 'X\(//\)$' \| \ 14153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14154$as_echo X/"$0" | 14155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14156 s//\1/ 14157 q 14158 } 14159 /^X\/\(\/\/\)$/{ 14160 s//\1/ 14161 q 14162 } 14163 /^X\/\(\/\).*/{ 14164 s//\1/ 14165 q 14166 } 14167 s/.*/./; q'` 14168 14169# Avoid depending upon Character Ranges. 14170as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14171as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14172as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14173as_cr_digits='0123456789' 14174as_cr_alnum=$as_cr_Letters$as_cr_digits 14175 14176ECHO_C= ECHO_N= ECHO_T= 14177case `echo -n x` in #((((( 14178-n*) 14179 case `echo 'xy\c'` in 14180 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14181 xy) ECHO_C='\c';; 14182 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14183 ECHO_T=' ';; 14184 esac;; 14185*) 14186 ECHO_N='-n';; 14187esac 14188 14189rm -f conf$$ conf$$.exe conf$$.file 14190if test -d conf$$.dir; then 14191 rm -f conf$$.dir/conf$$.file 14192else 14193 rm -f conf$$.dir 14194 mkdir conf$$.dir 2>/dev/null 14195fi 14196if (echo >conf$$.file) 2>/dev/null; then 14197 if ln -s conf$$.file conf$$ 2>/dev/null; then 14198 as_ln_s='ln -s' 14199 # ... but there are two gotchas: 14200 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14201 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14202 # In both cases, we have to default to `cp -p'. 14203 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14204 as_ln_s='cp -p' 14205 elif ln conf$$.file conf$$ 2>/dev/null; then 14206 as_ln_s=ln 14207 else 14208 as_ln_s='cp -p' 14209 fi 14210else 14211 as_ln_s='cp -p' 14212fi 14213rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14214rmdir conf$$.dir 2>/dev/null 14215 14216 14217# as_fn_mkdir_p 14218# ------------- 14219# Create "$as_dir" as a directory, including parents if necessary. 14220as_fn_mkdir_p () 14221{ 14222 14223 case $as_dir in #( 14224 -*) as_dir=./$as_dir;; 14225 esac 14226 test -d "$as_dir" || eval $as_mkdir_p || { 14227 as_dirs= 14228 while :; do 14229 case $as_dir in #( 14230 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14231 *) as_qdir=$as_dir;; 14232 esac 14233 as_dirs="'$as_qdir' $as_dirs" 14234 as_dir=`$as_dirname -- "$as_dir" || 14235$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14236 X"$as_dir" : 'X\(//\)[^/]' \| \ 14237 X"$as_dir" : 'X\(//\)$' \| \ 14238 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14239$as_echo X"$as_dir" | 14240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14241 s//\1/ 14242 q 14243 } 14244 /^X\(\/\/\)[^/].*/{ 14245 s//\1/ 14246 q 14247 } 14248 /^X\(\/\/\)$/{ 14249 s//\1/ 14250 q 14251 } 14252 /^X\(\/\).*/{ 14253 s//\1/ 14254 q 14255 } 14256 s/.*/./; q'` 14257 test -d "$as_dir" && break 14258 done 14259 test -z "$as_dirs" || eval "mkdir $as_dirs" 14260 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14261 14262 14263} # as_fn_mkdir_p 14264if mkdir -p . 2>/dev/null; then 14265 as_mkdir_p='mkdir -p "$as_dir"' 14266else 14267 test -d ./-p && rmdir ./-p 14268 as_mkdir_p=false 14269fi 14270 14271if test -x / >/dev/null 2>&1; then 14272 as_test_x='test -x' 14273else 14274 if ls -dL / >/dev/null 2>&1; then 14275 as_ls_L_option=L 14276 else 14277 as_ls_L_option= 14278 fi 14279 as_test_x=' 14280 eval sh -c '\'' 14281 if test -d "$1"; then 14282 test -d "$1/."; 14283 else 14284 case $1 in #( 14285 -*)set "./$1";; 14286 esac; 14287 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 14288 ???[sx]*):;;*)false;;esac;fi 14289 '\'' sh 14290 ' 14291fi 14292as_executable_p=$as_test_x 14293 14294# Sed expression to map a string onto a valid CPP name. 14295as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14296 14297# Sed expression to map a string onto a valid variable name. 14298as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14299 14300 14301exec 6>&1 14302## ----------------------------------- ## 14303## Main body of $CONFIG_STATUS script. ## 14304## ----------------------------------- ## 14305_ASEOF 14306test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14307 14308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14309# Save the log message, to keep $0 and so on meaningful, and to 14310# report actual input values of CONFIG_FILES etc. instead of their 14311# values after options handling. 14312ac_log=" 14313This file was extended by EXIF library $as_me 0.6.21, which was 14314generated by GNU Autoconf 2.68. Invocation command line was 14315 14316 CONFIG_FILES = $CONFIG_FILES 14317 CONFIG_HEADERS = $CONFIG_HEADERS 14318 CONFIG_LINKS = $CONFIG_LINKS 14319 CONFIG_COMMANDS = $CONFIG_COMMANDS 14320 $ $0 $@ 14321 14322on `(hostname || uname -n) 2>/dev/null | sed 1q` 14323" 14324 14325_ACEOF 14326 14327case $ac_config_files in *" 14328"*) set x $ac_config_files; shift; ac_config_files=$*;; 14329esac 14330 14331case $ac_config_headers in *" 14332"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14333esac 14334 14335 14336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14337# Files that config.status was made for. 14338config_files="`echo $ac_config_files`" 14339config_headers="`echo $ac_config_headers`" 14340config_commands="`echo $ac_config_commands`" 14341 14342_ACEOF 14343 14344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14345ac_cs_usage="\ 14346\`$as_me' instantiates files and other configuration actions 14347from templates according to the current configuration. Unless the files 14348and actions are specified as TAGs, all are instantiated by default. 14349 14350Usage: $0 [OPTION]... [TAG]... 14351 14352 -h, --help print this help, then exit 14353 -V, --version print version number and configuration settings, then exit 14354 --config print configuration, then exit 14355 -q, --quiet, --silent 14356 do not print progress messages 14357 -d, --debug don't remove temporary files 14358 --recheck update $as_me by reconfiguring in the same conditions 14359 --file=FILE[:TEMPLATE] 14360 instantiate the configuration file FILE 14361 --header=FILE[:TEMPLATE] 14362 instantiate the configuration header FILE 14363 14364Configuration files: 14365$config_files 14366 14367Configuration headers: 14368$config_headers 14369 14370Configuration commands: 14371$config_commands 14372 14373Report bugs to <libexif-devel@lists.sourceforge.net>." 14374 14375_ACEOF 14376cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14377ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14378ac_cs_version="\\ 14379EXIF library config.status 0.6.21 14380configured by $0, generated by GNU Autoconf 2.68, 14381 with options \\"\$ac_cs_config\\" 14382 14383Copyright (C) 2010 Free Software Foundation, Inc. 14384This config.status script is free software; the Free Software Foundation 14385gives unlimited permission to copy, distribute and modify it." 14386 14387ac_pwd='$ac_pwd' 14388srcdir='$srcdir' 14389INSTALL='$INSTALL' 14390MKDIR_P='$MKDIR_P' 14391AWK='$AWK' 14392test -n "\$AWK" || AWK=awk 14393_ACEOF 14394 14395cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14396# The default lists apply if the user does not specify any file. 14397ac_need_defaults=: 14398while test $# != 0 14399do 14400 case $1 in 14401 --*=?*) 14402 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14404 ac_shift=: 14405 ;; 14406 --*=) 14407 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14408 ac_optarg= 14409 ac_shift=: 14410 ;; 14411 *) 14412 ac_option=$1 14413 ac_optarg=$2 14414 ac_shift=shift 14415 ;; 14416 esac 14417 14418 case $ac_option in 14419 # Handling of the options. 14420 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14421 ac_cs_recheck=: ;; 14422 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14423 $as_echo "$ac_cs_version"; exit ;; 14424 --config | --confi | --conf | --con | --co | --c ) 14425 $as_echo "$ac_cs_config"; exit ;; 14426 --debug | --debu | --deb | --de | --d | -d ) 14427 debug=: ;; 14428 --file | --fil | --fi | --f ) 14429 $ac_shift 14430 case $ac_optarg in 14431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14432 '') as_fn_error $? "missing file argument" ;; 14433 esac 14434 as_fn_append CONFIG_FILES " '$ac_optarg'" 14435 ac_need_defaults=false;; 14436 --header | --heade | --head | --hea ) 14437 $ac_shift 14438 case $ac_optarg in 14439 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14440 esac 14441 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14442 ac_need_defaults=false;; 14443 --he | --h) 14444 # Conflict between --help and --header 14445 as_fn_error $? "ambiguous option: \`$1' 14446Try \`$0 --help' for more information.";; 14447 --help | --hel | -h ) 14448 $as_echo "$ac_cs_usage"; exit ;; 14449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14450 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14451 ac_cs_silent=: ;; 14452 14453 # This is an error. 14454 -*) as_fn_error $? "unrecognized option: \`$1' 14455Try \`$0 --help' for more information." ;; 14456 14457 *) as_fn_append ac_config_targets " $1" 14458 ac_need_defaults=false ;; 14459 14460 esac 14461 shift 14462done 14463 14464ac_configure_extra_args= 14465 14466if $ac_cs_silent; then 14467 exec 6>/dev/null 14468 ac_configure_extra_args="$ac_configure_extra_args --silent" 14469fi 14470 14471_ACEOF 14472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14473if \$ac_cs_recheck; then 14474 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14475 shift 14476 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14477 CONFIG_SHELL='$SHELL' 14478 export CONFIG_SHELL 14479 exec "\$@" 14480fi 14481 14482_ACEOF 14483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14484exec 5>>config.log 14485{ 14486 echo 14487 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14488## Running $as_me. ## 14489_ASBOX 14490 $as_echo "$ac_log" 14491} >&5 14492 14493_ACEOF 14494cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14495# 14496# INIT-COMMANDS 14497# 14498AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14499 14500 14501# The HP-UX ksh and POSIX shell print the target directory to stdout 14502# if CDPATH is set. 14503(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14504 14505sed_quote_subst='$sed_quote_subst' 14506double_quote_subst='$double_quote_subst' 14507delay_variable_subst='$delay_variable_subst' 14508macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14509macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14510enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14511enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14512pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14513enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14514SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14515ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14516host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14517host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14518host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14519build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14520build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14521build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14522SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14523Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14524GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14525EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14526FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14527LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14528NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14529LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14530max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14531ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14532exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14533lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14534lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14535lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14536lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14537lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14538reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14539reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14540OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14541deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14542file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14543file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14544want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14545DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14546sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14547AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14548AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14549archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14550STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14551RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14552old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14553old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14554old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14555lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14556CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14557CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14558compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14559GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14560lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14561lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14562lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14563lt_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"`' 14564nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14565lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14566objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14567MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14568lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14569lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14570lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14571lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14572lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14573need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14574MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14575DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14576NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14577LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14578OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14579OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14580libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14581shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14582extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14583archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14584enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14585export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14586whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14587compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14588old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14589old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14590archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14591archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14592module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14593module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14594with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14595allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14596no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14597hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14598hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 14599hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14600hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14601hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14602hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14603hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14604hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14605inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14606link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14607always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14608export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14609exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14610include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14611prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14612postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14613file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14614variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14615need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14616need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14617version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14618runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14619shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14620shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14621libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14622library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14623soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14624install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14625postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14626postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14627finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14628finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14629hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14630sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14631sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14632hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14633enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14634enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14635enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14636old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14637striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14638 14639LTCC='$LTCC' 14640LTCFLAGS='$LTCFLAGS' 14641compiler='$compiler_DEFAULT' 14642 14643# A function that is used when there is no print builtin or printf. 14644func_fallback_echo () 14645{ 14646 eval 'cat <<_LTECHO_EOF 14647\$1 14648_LTECHO_EOF' 14649} 14650 14651# Quote evaled strings. 14652for var in SHELL \ 14653ECHO \ 14654SED \ 14655GREP \ 14656EGREP \ 14657FGREP \ 14658LD \ 14659NM \ 14660LN_S \ 14661lt_SP2NL \ 14662lt_NL2SP \ 14663reload_flag \ 14664OBJDUMP \ 14665deplibs_check_method \ 14666file_magic_cmd \ 14667file_magic_glob \ 14668want_nocaseglob \ 14669DLLTOOL \ 14670sharedlib_from_linklib_cmd \ 14671AR \ 14672AR_FLAGS \ 14673archiver_list_spec \ 14674STRIP \ 14675RANLIB \ 14676CC \ 14677CFLAGS \ 14678compiler \ 14679lt_cv_sys_global_symbol_pipe \ 14680lt_cv_sys_global_symbol_to_cdecl \ 14681lt_cv_sys_global_symbol_to_c_name_address \ 14682lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14683nm_file_list_spec \ 14684lt_prog_compiler_no_builtin_flag \ 14685lt_prog_compiler_pic \ 14686lt_prog_compiler_wl \ 14687lt_prog_compiler_static \ 14688lt_cv_prog_compiler_c_o \ 14689need_locks \ 14690MANIFEST_TOOL \ 14691DSYMUTIL \ 14692NMEDIT \ 14693LIPO \ 14694OTOOL \ 14695OTOOL64 \ 14696shrext_cmds \ 14697export_dynamic_flag_spec \ 14698whole_archive_flag_spec \ 14699compiler_needs_object \ 14700with_gnu_ld \ 14701allow_undefined_flag \ 14702no_undefined_flag \ 14703hardcode_libdir_flag_spec \ 14704hardcode_libdir_flag_spec_ld \ 14705hardcode_libdir_separator \ 14706exclude_expsyms \ 14707include_expsyms \ 14708file_list_spec \ 14709variables_saved_for_relink \ 14710libname_spec \ 14711library_names_spec \ 14712soname_spec \ 14713install_override_mode \ 14714finish_eval \ 14715old_striplib \ 14716striplib; do 14717 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14718 *[\\\\\\\`\\"\\\$]*) 14719 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14720 ;; 14721 *) 14722 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14723 ;; 14724 esac 14725done 14726 14727# Double-quote double-evaled strings. 14728for var in reload_cmds \ 14729old_postinstall_cmds \ 14730old_postuninstall_cmds \ 14731old_archive_cmds \ 14732extract_expsyms_cmds \ 14733old_archive_from_new_cmds \ 14734old_archive_from_expsyms_cmds \ 14735archive_cmds \ 14736archive_expsym_cmds \ 14737module_cmds \ 14738module_expsym_cmds \ 14739export_symbols_cmds \ 14740prelink_cmds \ 14741postlink_cmds \ 14742postinstall_cmds \ 14743postuninstall_cmds \ 14744finish_cmds \ 14745sys_lib_search_path_spec \ 14746sys_lib_dlsearch_path_spec; do 14747 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14748 *[\\\\\\\`\\"\\\$]*) 14749 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14750 ;; 14751 *) 14752 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14753 ;; 14754 esac 14755done 14756 14757ac_aux_dir='$ac_aux_dir' 14758xsi_shell='$xsi_shell' 14759lt_shell_append='$lt_shell_append' 14760 14761# See if we are running on zsh, and set the options which allow our 14762# commands through without removal of \ escapes INIT. 14763if test -n "\${ZSH_VERSION+set}" ; then 14764 setopt NO_GLOB_SUBST 14765fi 14766 14767 14768 PACKAGE='$PACKAGE' 14769 VERSION='$VERSION' 14770 TIMESTAMP='$TIMESTAMP' 14771 RM='$RM' 14772 ofile='$ofile' 14773 14774 14775 14776# Capture the value of obsolete ALL_LINGUAS because we need it to compute 14777 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 14778 # from automake. 14779 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 14780 # Capture the value of LINGUAS because we need it to compute CATALOGS. 14781 LINGUAS="${LINGUAS-%UNSET%}" 14782 14783 14784_ACEOF 14785 14786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14787 14788# Handling of arguments. 14789for ac_config_target in $ac_config_targets 14790do 14791 case $ac_config_target in 14792 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14793 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14794 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14795 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 14796 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 14797 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14798 "libexif.spec") CONFIG_FILES="$CONFIG_FILES libexif.spec" ;; 14799 "libexif/Makefile") CONFIG_FILES="$CONFIG_FILES libexif/Makefile" ;; 14800 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 14801 "test/nls/Makefile") CONFIG_FILES="$CONFIG_FILES test/nls/Makefile" ;; 14802 "m4m/Makefile") CONFIG_FILES="$CONFIG_FILES m4m/Makefile" ;; 14803 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14804 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; 14805 "doc/Doxyfile-internals") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile-internals" ;; 14806 "libexif.pc") CONFIG_FILES="$CONFIG_FILES libexif.pc" ;; 14807 "libexif-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libexif-uninstalled.pc" ;; 14808 "binary/Makefile") CONFIG_FILES="$CONFIG_FILES binary/Makefile" ;; 14809 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 14810 "contrib/examples/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/examples/Makefile" ;; 14811 14812 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14813 esac 14814done 14815 14816 14817# If the user did not use the arguments to specify the items to instantiate, 14818# then the envvar interface is used. Set only those that are not. 14819# We use the long form for the default assignment because of an extremely 14820# bizarre bug on SunOS 4.1.3. 14821if $ac_need_defaults; then 14822 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14823 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14824 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14825fi 14826 14827# Have a temporary directory for convenience. Make it in the build tree 14828# simply because there is no reason against having it here, and in addition, 14829# creating and moving files from /tmp can sometimes cause problems. 14830# Hook for its removal unless debugging. 14831# Note that there is a small window in which the directory will not be cleaned: 14832# after its creation but before its name has been assigned to `$tmp'. 14833$debug || 14834{ 14835 tmp= ac_tmp= 14836 trap 'exit_status=$? 14837 : "${ac_tmp:=$tmp}" 14838 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14839' 0 14840 trap 'as_fn_exit 1' 1 2 13 15 14841} 14842# Create a (secure) tmp directory for tmp files. 14843 14844{ 14845 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14846 test -d "$tmp" 14847} || 14848{ 14849 tmp=./conf$$-$RANDOM 14850 (umask 077 && mkdir "$tmp") 14851} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14852ac_tmp=$tmp 14853 14854# Set up the scripts for CONFIG_FILES section. 14855# No need to generate them if there are no CONFIG_FILES. 14856# This happens for instance with `./config.status config.h'. 14857if test -n "$CONFIG_FILES"; then 14858 14859 14860ac_cr=`echo X | tr X '\015'` 14861# On cygwin, bash can eat \r inside `` if the user requested igncr. 14862# But we know of no other shell where ac_cr would be empty at this 14863# point, so we can use a bashism as a fallback. 14864if test "x$ac_cr" = x; then 14865 eval ac_cr=\$\'\\r\' 14866fi 14867ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14868if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14869 ac_cs_awk_cr='\\r' 14870else 14871 ac_cs_awk_cr=$ac_cr 14872fi 14873 14874echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14875_ACEOF 14876 14877 14878{ 14879 echo "cat >conf$$subs.awk <<_ACEOF" && 14880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14881 echo "_ACEOF" 14882} >conf$$subs.sh || 14883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14884ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14885ac_delim='%!_!# ' 14886for ac_last_try in false false false false false :; do 14887 . ./conf$$subs.sh || 14888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14889 14890 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14891 if test $ac_delim_n = $ac_delim_num; then 14892 break 14893 elif $ac_last_try; then 14894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14895 else 14896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14897 fi 14898done 14899rm -f conf$$subs.sh 14900 14901cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14902cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14903_ACEOF 14904sed -n ' 14905h 14906s/^/S["/; s/!.*/"]=/ 14907p 14908g 14909s/^[^!]*!// 14910:repl 14911t repl 14912s/'"$ac_delim"'$// 14913t delim 14914:nl 14915h 14916s/\(.\{148\}\)..*/\1/ 14917t more1 14918s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14919p 14920n 14921b repl 14922:more1 14923s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14924p 14925g 14926s/.\{148\}// 14927t nl 14928:delim 14929h 14930s/\(.\{148\}\)..*/\1/ 14931t more2 14932s/["\\]/\\&/g; s/^/"/; s/$/"/ 14933p 14934b 14935:more2 14936s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14937p 14938g 14939s/.\{148\}// 14940t delim 14941' <conf$$subs.awk | sed ' 14942/^[^""]/{ 14943 N 14944 s/\n// 14945} 14946' >>$CONFIG_STATUS || ac_write_fail=1 14947rm -f conf$$subs.awk 14948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14949_ACAWK 14950cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14951 for (key in S) S_is_set[key] = 1 14952 FS = "" 14953 14954} 14955{ 14956 line = $ 0 14957 nfields = split(line, field, "@") 14958 substed = 0 14959 len = length(field[1]) 14960 for (i = 2; i < nfields; i++) { 14961 key = field[i] 14962 keylen = length(key) 14963 if (S_is_set[key]) { 14964 value = S[key] 14965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14966 len += length(value) + length(field[++i]) 14967 substed = 1 14968 } else 14969 len += 1 + keylen 14970 } 14971 14972 print line 14973} 14974 14975_ACAWK 14976_ACEOF 14977cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14978if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14979 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14980else 14981 cat 14982fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14983 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14984_ACEOF 14985 14986# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14987# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14988# trailing colons and then remove the whole line if VPATH becomes empty 14989# (actually we leave an empty line to preserve line numbers). 14990if test "x$srcdir" = x.; then 14991 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14992h 14993s/// 14994s/^/:/ 14995s/[ ]*$/:/ 14996s/:\$(srcdir):/:/g 14997s/:\${srcdir}:/:/g 14998s/:@srcdir@:/:/g 14999s/^:*// 15000s/:*$// 15001x 15002s/\(=[ ]*\).*/\1/ 15003G 15004s/\n// 15005s/^[^=]*=[ ]*$// 15006}' 15007fi 15008 15009cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15010fi # test -n "$CONFIG_FILES" 15011 15012# Set up the scripts for CONFIG_HEADERS section. 15013# No need to generate them if there are no CONFIG_HEADERS. 15014# This happens for instance with `./config.status Makefile'. 15015if test -n "$CONFIG_HEADERS"; then 15016cat >"$ac_tmp/defines.awk" <<\_ACAWK || 15017BEGIN { 15018_ACEOF 15019 15020# Transform confdefs.h into an awk script `defines.awk', embedded as 15021# here-document in config.status, that substitutes the proper values into 15022# config.h.in to produce config.h. 15023 15024# Create a delimiter string that does not exist in confdefs.h, to ease 15025# handling of long lines. 15026ac_delim='%!_!# ' 15027for ac_last_try in false false :; do 15028 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 15029 if test -z "$ac_tt"; then 15030 break 15031 elif $ac_last_try; then 15032 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15033 else 15034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15035 fi 15036done 15037 15038# For the awk script, D is an array of macro values keyed by name, 15039# likewise P contains macro parameters if any. Preserve backslash 15040# newline sequences. 15041 15042ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15043sed -n ' 15044s/.\{148\}/&'"$ac_delim"'/g 15045t rset 15046:rset 15047s/^[ ]*#[ ]*define[ ][ ]*/ / 15048t def 15049d 15050:def 15051s/\\$// 15052t bsnl 15053s/["\\]/\\&/g 15054s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15055D["\1"]=" \3"/p 15056s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 15057d 15058:bsnl 15059s/["\\]/\\&/g 15060s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 15061D["\1"]=" \3\\\\\\n"\\/p 15062t cont 15063s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 15064t cont 15065d 15066:cont 15067n 15068s/.\{148\}/&'"$ac_delim"'/g 15069t clear 15070:clear 15071s/\\$// 15072t bsnlc 15073s/["\\]/\\&/g; s/^/"/; s/$/"/p 15074d 15075:bsnlc 15076s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 15077b cont 15078' <confdefs.h | sed ' 15079s/'"$ac_delim"'/"\\\ 15080"/g' >>$CONFIG_STATUS || ac_write_fail=1 15081 15082cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15083 for (key in D) D_is_set[key] = 1 15084 FS = "" 15085} 15086/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 15087 line = \$ 0 15088 split(line, arg, " ") 15089 if (arg[1] == "#") { 15090 defundef = arg[2] 15091 mac1 = arg[3] 15092 } else { 15093 defundef = substr(arg[1], 2) 15094 mac1 = arg[2] 15095 } 15096 split(mac1, mac2, "(") #) 15097 macro = mac2[1] 15098 prefix = substr(line, 1, index(line, defundef) - 1) 15099 if (D_is_set[macro]) { 15100 # Preserve the white space surrounding the "#". 15101 print prefix "define", macro P[macro] D[macro] 15102 next 15103 } else { 15104 # Replace #undef with comments. This is necessary, for example, 15105 # in the case of _POSIX_SOURCE, which is predefined and required 15106 # on some systems where configure will not decide to define it. 15107 if (defundef == "undef") { 15108 print "/*", prefix defundef, macro, "*/" 15109 next 15110 } 15111 } 15112} 15113{ print } 15114_ACAWK 15115_ACEOF 15116cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15117 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15118fi # test -n "$CONFIG_HEADERS" 15119 15120 15121eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15122shift 15123for ac_tag 15124do 15125 case $ac_tag in 15126 :[FHLC]) ac_mode=$ac_tag; continue;; 15127 esac 15128 case $ac_mode$ac_tag in 15129 :[FHL]*:*);; 15130 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15131 :[FH]-) ac_tag=-:-;; 15132 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15133 esac 15134 ac_save_IFS=$IFS 15135 IFS=: 15136 set x $ac_tag 15137 IFS=$ac_save_IFS 15138 shift 15139 ac_file=$1 15140 shift 15141 15142 case $ac_mode in 15143 :L) ac_source=$1;; 15144 :[FH]) 15145 ac_file_inputs= 15146 for ac_f 15147 do 15148 case $ac_f in 15149 -) ac_f="$ac_tmp/stdin";; 15150 *) # Look for the file first in the build tree, then in the source tree 15151 # (if the path is not absolute). The absolute path cannot be DOS-style, 15152 # because $ac_f cannot contain `:'. 15153 test -f "$ac_f" || 15154 case $ac_f in 15155 [\\/$]*) false;; 15156 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15157 esac || 15158 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15159 esac 15160 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15161 as_fn_append ac_file_inputs " '$ac_f'" 15162 done 15163 15164 # Let's still pretend it is `configure' which instantiates (i.e., don't 15165 # use $as_me), people would be surprised to read: 15166 # /* config.h. Generated by config.status. */ 15167 configure_input='Generated from '` 15168 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15169 `' by configure.' 15170 if test x"$ac_file" != x-; then 15171 configure_input="$ac_file. $configure_input" 15172 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15173$as_echo "$as_me: creating $ac_file" >&6;} 15174 fi 15175 # Neutralize special characters interpreted by sed in replacement strings. 15176 case $configure_input in #( 15177 *\&* | *\|* | *\\* ) 15178 ac_sed_conf_input=`$as_echo "$configure_input" | 15179 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15180 *) ac_sed_conf_input=$configure_input;; 15181 esac 15182 15183 case $ac_tag in 15184 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15186 esac 15187 ;; 15188 esac 15189 15190 ac_dir=`$as_dirname -- "$ac_file" || 15191$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15192 X"$ac_file" : 'X\(//\)[^/]' \| \ 15193 X"$ac_file" : 'X\(//\)$' \| \ 15194 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15195$as_echo X"$ac_file" | 15196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15197 s//\1/ 15198 q 15199 } 15200 /^X\(\/\/\)[^/].*/{ 15201 s//\1/ 15202 q 15203 } 15204 /^X\(\/\/\)$/{ 15205 s//\1/ 15206 q 15207 } 15208 /^X\(\/\).*/{ 15209 s//\1/ 15210 q 15211 } 15212 s/.*/./; q'` 15213 as_dir="$ac_dir"; as_fn_mkdir_p 15214 ac_builddir=. 15215 15216case "$ac_dir" in 15217.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15218*) 15219 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15220 # A ".." for each directory in $ac_dir_suffix. 15221 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15222 case $ac_top_builddir_sub in 15223 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15224 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15225 esac ;; 15226esac 15227ac_abs_top_builddir=$ac_pwd 15228ac_abs_builddir=$ac_pwd$ac_dir_suffix 15229# for backward compatibility: 15230ac_top_builddir=$ac_top_build_prefix 15231 15232case $srcdir in 15233 .) # We are building in place. 15234 ac_srcdir=. 15235 ac_top_srcdir=$ac_top_builddir_sub 15236 ac_abs_top_srcdir=$ac_pwd ;; 15237 [\\/]* | ?:[\\/]* ) # Absolute name. 15238 ac_srcdir=$srcdir$ac_dir_suffix; 15239 ac_top_srcdir=$srcdir 15240 ac_abs_top_srcdir=$srcdir ;; 15241 *) # Relative name. 15242 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15243 ac_top_srcdir=$ac_top_build_prefix$srcdir 15244 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15245esac 15246ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15247 15248 15249 case $ac_mode in 15250 :F) 15251 # 15252 # CONFIG_FILE 15253 # 15254 15255 case $INSTALL in 15256 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15257 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15258 esac 15259 ac_MKDIR_P=$MKDIR_P 15260 case $MKDIR_P in 15261 [\\/$]* | ?:[\\/]* ) ;; 15262 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15263 esac 15264_ACEOF 15265 15266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15267# If the template does not know about datarootdir, expand it. 15268# FIXME: This hack should be removed a few years after 2.60. 15269ac_datarootdir_hack=; ac_datarootdir_seen= 15270ac_sed_dataroot=' 15271/datarootdir/ { 15272 p 15273 q 15274} 15275/@datadir@/p 15276/@docdir@/p 15277/@infodir@/p 15278/@localedir@/p 15279/@mandir@/p' 15280case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15281*datarootdir*) ac_datarootdir_seen=yes;; 15282*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15284$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15285_ACEOF 15286cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15287 ac_datarootdir_hack=' 15288 s&@datadir@&$datadir&g 15289 s&@docdir@&$docdir&g 15290 s&@infodir@&$infodir&g 15291 s&@localedir@&$localedir&g 15292 s&@mandir@&$mandir&g 15293 s&\\\${datarootdir}&$datarootdir&g' ;; 15294esac 15295_ACEOF 15296 15297# Neutralize VPATH when `$srcdir' = `.'. 15298# Shell code in configure.ac might set extrasub. 15299# FIXME: do we really want to maintain this feature? 15300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15301ac_sed_extra="$ac_vpsub 15302$extrasub 15303_ACEOF 15304cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15305:t 15306/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15307s|@configure_input@|$ac_sed_conf_input|;t t 15308s&@top_builddir@&$ac_top_builddir_sub&;t t 15309s&@top_build_prefix@&$ac_top_build_prefix&;t t 15310s&@srcdir@&$ac_srcdir&;t t 15311s&@abs_srcdir@&$ac_abs_srcdir&;t t 15312s&@top_srcdir@&$ac_top_srcdir&;t t 15313s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15314s&@builddir@&$ac_builddir&;t t 15315s&@abs_builddir@&$ac_abs_builddir&;t t 15316s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15317s&@INSTALL@&$ac_INSTALL&;t t 15318s&@MKDIR_P@&$ac_MKDIR_P&;t t 15319$ac_datarootdir_hack 15320" 15321eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15322 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15323 15324test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15325 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15326 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15327 "$ac_tmp/out"`; test -z "$ac_out"; } && 15328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15329which seems to be undefined. Please make sure it is defined" >&5 15330$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15331which seems to be undefined. Please make sure it is defined" >&2;} 15332 15333 rm -f "$ac_tmp/stdin" 15334 case $ac_file in 15335 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15336 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15337 esac \ 15338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15339 ;; 15340 :H) 15341 # 15342 # CONFIG_HEADER 15343 # 15344 if test x"$ac_file" != x-; then 15345 { 15346 $as_echo "/* $configure_input */" \ 15347 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15348 } >"$ac_tmp/config.h" \ 15349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15350 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15351 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15352$as_echo "$as_me: $ac_file is unchanged" >&6;} 15353 else 15354 rm -f "$ac_file" 15355 mv "$ac_tmp/config.h" "$ac_file" \ 15356 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15357 fi 15358 else 15359 $as_echo "/* $configure_input */" \ 15360 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15361 || as_fn_error $? "could not create -" "$LINENO" 5 15362 fi 15363# Compute "$ac_file"'s index in $config_headers. 15364_am_arg="$ac_file" 15365_am_stamp_count=1 15366for _am_header in $config_headers :; do 15367 case $_am_header in 15368 $_am_arg | $_am_arg:* ) 15369 break ;; 15370 * ) 15371 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15372 esac 15373done 15374echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15375$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15376 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15377 X"$_am_arg" : 'X\(//\)$' \| \ 15378 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15379$as_echo X"$_am_arg" | 15380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15381 s//\1/ 15382 q 15383 } 15384 /^X\(\/\/\)[^/].*/{ 15385 s//\1/ 15386 q 15387 } 15388 /^X\(\/\/\)$/{ 15389 s//\1/ 15390 q 15391 } 15392 /^X\(\/\).*/{ 15393 s//\1/ 15394 q 15395 } 15396 s/.*/./; q'`/stamp-h$_am_stamp_count 15397 ;; 15398 15399 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15400$as_echo "$as_me: executing $ac_file commands" >&6;} 15401 ;; 15402 esac 15403 15404 15405 case $ac_file$ac_mode in 15406 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15407 # Autoconf 2.62 quotes --file arguments for eval, but not when files 15408 # are listed without --file. Let's play safe and only enable the eval 15409 # if we detect the quoting. 15410 case $CONFIG_FILES in 15411 *\'*) eval set x "$CONFIG_FILES" ;; 15412 *) set x $CONFIG_FILES ;; 15413 esac 15414 shift 15415 for mf 15416 do 15417 # Strip MF so we end up with the name of the file. 15418 mf=`echo "$mf" | sed -e 's/:.*$//'` 15419 # Check whether this is an Automake generated Makefile or not. 15420 # We used to match only the files named `Makefile.in', but 15421 # some people rename them; so instead we look at the file content. 15422 # Grep'ing the first line is not enough: some people post-process 15423 # each Makefile.in and add a new line on top of each file to say so. 15424 # Grep'ing the whole file is not good either: AIX grep has a line 15425 # limit of 2048, but all sed's we know have understand at least 4000. 15426 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15427 dirpart=`$as_dirname -- "$mf" || 15428$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15429 X"$mf" : 'X\(//\)[^/]' \| \ 15430 X"$mf" : 'X\(//\)$' \| \ 15431 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15432$as_echo X"$mf" | 15433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15434 s//\1/ 15435 q 15436 } 15437 /^X\(\/\/\)[^/].*/{ 15438 s//\1/ 15439 q 15440 } 15441 /^X\(\/\/\)$/{ 15442 s//\1/ 15443 q 15444 } 15445 /^X\(\/\).*/{ 15446 s//\1/ 15447 q 15448 } 15449 s/.*/./; q'` 15450 else 15451 continue 15452 fi 15453 # Extract the definition of DEPDIR, am__include, and am__quote 15454 # from the Makefile without running `make'. 15455 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15456 test -z "$DEPDIR" && continue 15457 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15458 test -z "am__include" && continue 15459 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15460 # When using ansi2knr, U may be empty or an underscore; expand it 15461 U=`sed -n 's/^U = //p' < "$mf"` 15462 # Find all dependency output files, they are included files with 15463 # $(DEPDIR) in their names. We invoke sed twice because it is the 15464 # simplest approach to changing $(DEPDIR) to its actual value in the 15465 # expansion. 15466 for file in `sed -n " 15467 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15468 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15469 # Make sure the directory exists. 15470 test -f "$dirpart/$file" && continue 15471 fdir=`$as_dirname -- "$file" || 15472$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15473 X"$file" : 'X\(//\)[^/]' \| \ 15474 X"$file" : 'X\(//\)$' \| \ 15475 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15476$as_echo X"$file" | 15477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15478 s//\1/ 15479 q 15480 } 15481 /^X\(\/\/\)[^/].*/{ 15482 s//\1/ 15483 q 15484 } 15485 /^X\(\/\/\)$/{ 15486 s//\1/ 15487 q 15488 } 15489 /^X\(\/\).*/{ 15490 s//\1/ 15491 q 15492 } 15493 s/.*/./; q'` 15494 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15495 # echo "creating $dirpart/$file" 15496 echo '# dummy' > "$dirpart/$file" 15497 done 15498 done 15499} 15500 ;; 15501 "libtool":C) 15502 15503 # See if we are running on zsh, and set the options which allow our 15504 # commands through without removal of \ escapes. 15505 if test -n "${ZSH_VERSION+set}" ; then 15506 setopt NO_GLOB_SUBST 15507 fi 15508 15509 cfgfile="${ofile}T" 15510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15511 $RM "$cfgfile" 15512 15513 cat <<_LT_EOF >> "$cfgfile" 15514#! $SHELL 15515 15516# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15517# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15518# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15519# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15520# 15521# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15522# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 15523# Inc. 15524# Written by Gordon Matzigkeit, 1996 15525# 15526# This file is part of GNU Libtool. 15527# 15528# GNU Libtool is free software; you can redistribute it and/or 15529# modify it under the terms of the GNU General Public License as 15530# published by the Free Software Foundation; either version 2 of 15531# the License, or (at your option) any later version. 15532# 15533# As a special exception to the GNU General Public License, 15534# if you distribute this file as part of a program or library that 15535# is built using GNU Libtool, you may include this file under the 15536# same distribution terms that you use for the rest of that program. 15537# 15538# GNU Libtool is distributed in the hope that it will be useful, 15539# but WITHOUT ANY WARRANTY; without even the implied warranty of 15540# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15541# GNU General Public License for more details. 15542# 15543# You should have received a copy of the GNU General Public License 15544# along with GNU Libtool; see the file COPYING. If not, a copy 15545# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15546# obtained by writing to the Free Software Foundation, Inc., 15547# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15548 15549 15550# The names of the tagged configurations supported by this script. 15551available_tags="" 15552 15553# ### BEGIN LIBTOOL CONFIG 15554 15555# Which release of libtool.m4 was used? 15556macro_version=$macro_version 15557macro_revision=$macro_revision 15558 15559# Whether or not to build shared libraries. 15560build_libtool_libs=$enable_shared 15561 15562# Whether or not to build static libraries. 15563build_old_libs=$enable_static 15564 15565# What type of objects to build. 15566pic_mode=$pic_mode 15567 15568# Whether or not to optimize for fast installation. 15569fast_install=$enable_fast_install 15570 15571# Shell to use when invoking shell scripts. 15572SHELL=$lt_SHELL 15573 15574# An echo program that protects backslashes. 15575ECHO=$lt_ECHO 15576 15577# The host system. 15578host_alias=$host_alias 15579host=$host 15580host_os=$host_os 15581 15582# The build system. 15583build_alias=$build_alias 15584build=$build 15585build_os=$build_os 15586 15587# A sed program that does not truncate output. 15588SED=$lt_SED 15589 15590# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15591Xsed="\$SED -e 1s/^X//" 15592 15593# A grep program that handles long lines. 15594GREP=$lt_GREP 15595 15596# An ERE matcher. 15597EGREP=$lt_EGREP 15598 15599# A literal string matcher. 15600FGREP=$lt_FGREP 15601 15602# A BSD- or MS-compatible name lister. 15603NM=$lt_NM 15604 15605# Whether we need soft or hard links. 15606LN_S=$lt_LN_S 15607 15608# What is the maximum length of a command? 15609max_cmd_len=$max_cmd_len 15610 15611# Object file suffix (normally "o"). 15612objext=$ac_objext 15613 15614# Executable file suffix (normally ""). 15615exeext=$exeext 15616 15617# whether the shell understands "unset". 15618lt_unset=$lt_unset 15619 15620# turn spaces into newlines. 15621SP2NL=$lt_lt_SP2NL 15622 15623# turn newlines into spaces. 15624NL2SP=$lt_lt_NL2SP 15625 15626# convert \$build file names to \$host format. 15627to_host_file_cmd=$lt_cv_to_host_file_cmd 15628 15629# convert \$build files to toolchain format. 15630to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15631 15632# An object symbol dumper. 15633OBJDUMP=$lt_OBJDUMP 15634 15635# Method to check whether dependent libraries are shared objects. 15636deplibs_check_method=$lt_deplibs_check_method 15637 15638# Command to use when deplibs_check_method = "file_magic". 15639file_magic_cmd=$lt_file_magic_cmd 15640 15641# How to find potential files when deplibs_check_method = "file_magic". 15642file_magic_glob=$lt_file_magic_glob 15643 15644# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15645want_nocaseglob=$lt_want_nocaseglob 15646 15647# DLL creation program. 15648DLLTOOL=$lt_DLLTOOL 15649 15650# Command to associate shared and link libraries. 15651sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15652 15653# The archiver. 15654AR=$lt_AR 15655 15656# Flags to create an archive. 15657AR_FLAGS=$lt_AR_FLAGS 15658 15659# How to feed a file listing to the archiver. 15660archiver_list_spec=$lt_archiver_list_spec 15661 15662# A symbol stripping program. 15663STRIP=$lt_STRIP 15664 15665# Commands used to install an old-style archive. 15666RANLIB=$lt_RANLIB 15667old_postinstall_cmds=$lt_old_postinstall_cmds 15668old_postuninstall_cmds=$lt_old_postuninstall_cmds 15669 15670# Whether to use a lock for old archive extraction. 15671lock_old_archive_extraction=$lock_old_archive_extraction 15672 15673# A C compiler. 15674LTCC=$lt_CC 15675 15676# LTCC compiler flags. 15677LTCFLAGS=$lt_CFLAGS 15678 15679# Take the output of nm and produce a listing of raw symbols and C names. 15680global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15681 15682# Transform the output of nm in a proper C declaration. 15683global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15684 15685# Transform the output of nm in a C name address pair. 15686global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15687 15688# Transform the output of nm in a C name address pair when lib prefix is needed. 15689global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15690 15691# Specify filename containing input files for \$NM. 15692nm_file_list_spec=$lt_nm_file_list_spec 15693 15694# The root where to search for dependent libraries,and in which our libraries should be installed. 15695lt_sysroot=$lt_sysroot 15696 15697# The name of the directory that contains temporary libtool files. 15698objdir=$objdir 15699 15700# Used to examine libraries when file_magic_cmd begins with "file". 15701MAGIC_CMD=$MAGIC_CMD 15702 15703# Must we lock files when doing compilation? 15704need_locks=$lt_need_locks 15705 15706# Manifest tool. 15707MANIFEST_TOOL=$lt_MANIFEST_TOOL 15708 15709# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15710DSYMUTIL=$lt_DSYMUTIL 15711 15712# Tool to change global to local symbols on Mac OS X. 15713NMEDIT=$lt_NMEDIT 15714 15715# Tool to manipulate fat objects and archives on Mac OS X. 15716LIPO=$lt_LIPO 15717 15718# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15719OTOOL=$lt_OTOOL 15720 15721# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15722OTOOL64=$lt_OTOOL64 15723 15724# Old archive suffix (normally "a"). 15725libext=$libext 15726 15727# Shared library suffix (normally ".so"). 15728shrext_cmds=$lt_shrext_cmds 15729 15730# The commands to extract the exported symbol list from a shared archive. 15731extract_expsyms_cmds=$lt_extract_expsyms_cmds 15732 15733# Variables whose values should be saved in libtool wrapper scripts and 15734# restored at link time. 15735variables_saved_for_relink=$lt_variables_saved_for_relink 15736 15737# Do we need the "lib" prefix for modules? 15738need_lib_prefix=$need_lib_prefix 15739 15740# Do we need a version for libraries? 15741need_version=$need_version 15742 15743# Library versioning type. 15744version_type=$version_type 15745 15746# Shared library runtime path variable. 15747runpath_var=$runpath_var 15748 15749# Shared library path variable. 15750shlibpath_var=$shlibpath_var 15751 15752# Is shlibpath searched before the hard-coded library search path? 15753shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15754 15755# Format of library name prefix. 15756libname_spec=$lt_libname_spec 15757 15758# List of archive names. First name is the real one, the rest are links. 15759# The last name is the one that the linker finds with -lNAME 15760library_names_spec=$lt_library_names_spec 15761 15762# The coded name of the library, if different from the real name. 15763soname_spec=$lt_soname_spec 15764 15765# Permission mode override for installation of shared libraries. 15766install_override_mode=$lt_install_override_mode 15767 15768# Command to use after installation of a shared archive. 15769postinstall_cmds=$lt_postinstall_cmds 15770 15771# Command to use after uninstallation of a shared archive. 15772postuninstall_cmds=$lt_postuninstall_cmds 15773 15774# Commands used to finish a libtool library installation in a directory. 15775finish_cmds=$lt_finish_cmds 15776 15777# As "finish_cmds", except a single script fragment to be evaled but 15778# not shown. 15779finish_eval=$lt_finish_eval 15780 15781# Whether we should hardcode library paths into libraries. 15782hardcode_into_libs=$hardcode_into_libs 15783 15784# Compile-time system search path for libraries. 15785sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15786 15787# Run-time system search path for libraries. 15788sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15789 15790# Whether dlopen is supported. 15791dlopen_support=$enable_dlopen 15792 15793# Whether dlopen of programs is supported. 15794dlopen_self=$enable_dlopen_self 15795 15796# Whether dlopen of statically linked programs is supported. 15797dlopen_self_static=$enable_dlopen_self_static 15798 15799# Commands to strip libraries. 15800old_striplib=$lt_old_striplib 15801striplib=$lt_striplib 15802 15803 15804# The linker used to build libraries. 15805LD=$lt_LD 15806 15807# How to create reloadable object files. 15808reload_flag=$lt_reload_flag 15809reload_cmds=$lt_reload_cmds 15810 15811# Commands used to build an old-style archive. 15812old_archive_cmds=$lt_old_archive_cmds 15813 15814# A language specific compiler. 15815CC=$lt_compiler 15816 15817# Is the compiler the GNU compiler? 15818with_gcc=$GCC 15819 15820# Compiler flag to turn off builtin functions. 15821no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15822 15823# Additional compiler flags for building library objects. 15824pic_flag=$lt_lt_prog_compiler_pic 15825 15826# How to pass a linker flag through the compiler. 15827wl=$lt_lt_prog_compiler_wl 15828 15829# Compiler flag to prevent dynamic linking. 15830link_static_flag=$lt_lt_prog_compiler_static 15831 15832# Does compiler simultaneously support -c and -o options? 15833compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15834 15835# Whether or not to add -lc for building shared libraries. 15836build_libtool_need_lc=$archive_cmds_need_lc 15837 15838# Whether or not to disallow shared libs when runtime libs are static. 15839allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15840 15841# Compiler flag to allow reflexive dlopens. 15842export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15843 15844# Compiler flag to generate shared objects directly from archives. 15845whole_archive_flag_spec=$lt_whole_archive_flag_spec 15846 15847# Whether the compiler copes with passing no objects directly. 15848compiler_needs_object=$lt_compiler_needs_object 15849 15850# Create an old-style archive from a shared archive. 15851old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15852 15853# Create a temporary old-style archive to link instead of a shared archive. 15854old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15855 15856# Commands used to build a shared archive. 15857archive_cmds=$lt_archive_cmds 15858archive_expsym_cmds=$lt_archive_expsym_cmds 15859 15860# Commands used to build a loadable module if different from building 15861# a shared archive. 15862module_cmds=$lt_module_cmds 15863module_expsym_cmds=$lt_module_expsym_cmds 15864 15865# Whether we are building with GNU ld or not. 15866with_gnu_ld=$lt_with_gnu_ld 15867 15868# Flag that allows shared libraries with undefined symbols to be built. 15869allow_undefined_flag=$lt_allow_undefined_flag 15870 15871# Flag that enforces no undefined symbols. 15872no_undefined_flag=$lt_no_undefined_flag 15873 15874# Flag to hardcode \$libdir into a binary during linking. 15875# This must work even if \$libdir does not exist 15876hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15877 15878# If ld is used when linking, flag to hardcode \$libdir into a binary 15879# during linking. This must work even if \$libdir does not exist. 15880hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15881 15882# Whether we need a single "-rpath" flag with a separated argument. 15883hardcode_libdir_separator=$lt_hardcode_libdir_separator 15884 15885# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15886# DIR into the resulting binary. 15887hardcode_direct=$hardcode_direct 15888 15889# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15890# DIR into the resulting binary and the resulting library dependency is 15891# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15892# library is relocated. 15893hardcode_direct_absolute=$hardcode_direct_absolute 15894 15895# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15896# into the resulting binary. 15897hardcode_minus_L=$hardcode_minus_L 15898 15899# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15900# into the resulting binary. 15901hardcode_shlibpath_var=$hardcode_shlibpath_var 15902 15903# Set to "yes" if building a shared library automatically hardcodes DIR 15904# into the library and all subsequent libraries and executables linked 15905# against it. 15906hardcode_automatic=$hardcode_automatic 15907 15908# Set to yes if linker adds runtime paths of dependent libraries 15909# to runtime path list. 15910inherit_rpath=$inherit_rpath 15911 15912# Whether libtool must link a program against all its dependency libraries. 15913link_all_deplibs=$link_all_deplibs 15914 15915# Set to "yes" if exported symbols are required. 15916always_export_symbols=$always_export_symbols 15917 15918# The commands to list exported symbols. 15919export_symbols_cmds=$lt_export_symbols_cmds 15920 15921# Symbols that should not be listed in the preloaded symbols. 15922exclude_expsyms=$lt_exclude_expsyms 15923 15924# Symbols that must always be exported. 15925include_expsyms=$lt_include_expsyms 15926 15927# Commands necessary for linking programs (against libraries) with templates. 15928prelink_cmds=$lt_prelink_cmds 15929 15930# Commands necessary for finishing linking programs. 15931postlink_cmds=$lt_postlink_cmds 15932 15933# Specify filename containing input files. 15934file_list_spec=$lt_file_list_spec 15935 15936# How to hardcode a shared library path into an executable. 15937hardcode_action=$hardcode_action 15938 15939# ### END LIBTOOL CONFIG 15940 15941_LT_EOF 15942 15943 case $host_os in 15944 aix3*) 15945 cat <<\_LT_EOF >> "$cfgfile" 15946# AIX sometimes has problems with the GCC collect2 program. For some 15947# reason, if we set the COLLECT_NAMES environment variable, the problems 15948# vanish in a puff of smoke. 15949if test "X${COLLECT_NAMES+set}" != Xset; then 15950 COLLECT_NAMES= 15951 export COLLECT_NAMES 15952fi 15953_LT_EOF 15954 ;; 15955 esac 15956 15957 15958ltmain="$ac_aux_dir/ltmain.sh" 15959 15960 15961 # We use sed instead of cat because bash on DJGPP gets confused if 15962 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15963 # text mode, it properly converts lines to CR/LF. This bash problem 15964 # is reportedly fixed, but why not run on old versions too? 15965 sed '$q' "$ltmain" >> "$cfgfile" \ 15966 || (rm -f "$cfgfile"; exit 1) 15967 15968 if test x"$xsi_shell" = xyes; then 15969 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15970func_dirname ()\ 15971{\ 15972\ case ${1} in\ 15973\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15974\ * ) func_dirname_result="${3}" ;;\ 15975\ esac\ 15976} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15977 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15979test 0 -eq $? || _lt_function_replace_fail=: 15980 15981 15982 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15983func_basename ()\ 15984{\ 15985\ func_basename_result="${1##*/}"\ 15986} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15987 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15989test 0 -eq $? || _lt_function_replace_fail=: 15990 15991 15992 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15993func_dirname_and_basename ()\ 15994{\ 15995\ case ${1} in\ 15996\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15997\ * ) func_dirname_result="${3}" ;;\ 15998\ esac\ 15999\ func_basename_result="${1##*/}"\ 16000} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16001 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16002 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16003test 0 -eq $? || _lt_function_replace_fail=: 16004 16005 16006 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 16007func_stripname ()\ 16008{\ 16009\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 16010\ # positional parameters, so assign one to ordinary parameter first.\ 16011\ func_stripname_result=${3}\ 16012\ func_stripname_result=${func_stripname_result#"${1}"}\ 16013\ func_stripname_result=${func_stripname_result%"${2}"}\ 16014} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 16015 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16016 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16017test 0 -eq $? || _lt_function_replace_fail=: 16018 16019 16020 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 16021func_split_long_opt ()\ 16022{\ 16023\ func_split_long_opt_name=${1%%=*}\ 16024\ func_split_long_opt_arg=${1#*=}\ 16025} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16026 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16028test 0 -eq $? || _lt_function_replace_fail=: 16029 16030 16031 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 16032func_split_short_opt ()\ 16033{\ 16034\ func_split_short_opt_arg=${1#??}\ 16035\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 16036} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16037 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16039test 0 -eq $? || _lt_function_replace_fail=: 16040 16041 16042 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 16043func_lo2o ()\ 16044{\ 16045\ case ${1} in\ 16046\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 16047\ *) func_lo2o_result=${1} ;;\ 16048\ esac\ 16049} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 16050 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16052test 0 -eq $? || _lt_function_replace_fail=: 16053 16054 16055 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 16056func_xform ()\ 16057{\ 16058 func_xform_result=${1%.*}.lo\ 16059} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 16060 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16061 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16062test 0 -eq $? || _lt_function_replace_fail=: 16063 16064 16065 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 16066func_arith ()\ 16067{\ 16068 func_arith_result=$(( $* ))\ 16069} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 16070 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16071 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16072test 0 -eq $? || _lt_function_replace_fail=: 16073 16074 16075 sed -e '/^func_len ()$/,/^} # func_len /c\ 16076func_len ()\ 16077{\ 16078 func_len_result=${#1}\ 16079} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 16080 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16081 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16082test 0 -eq $? || _lt_function_replace_fail=: 16083 16084fi 16085 16086if test x"$lt_shell_append" = xyes; then 16087 sed -e '/^func_append ()$/,/^} # func_append /c\ 16088func_append ()\ 16089{\ 16090 eval "${1}+=\\${2}"\ 16091} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 16092 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16093 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16094test 0 -eq $? || _lt_function_replace_fail=: 16095 16096 16097 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 16098func_append_quoted ()\ 16099{\ 16100\ func_quote_for_eval "${2}"\ 16101\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 16102} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 16103 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16105test 0 -eq $? || _lt_function_replace_fail=: 16106 16107 16108 # Save a `func_append' function call where possible by direct use of '+=' 16109 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 16110 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16112 test 0 -eq $? || _lt_function_replace_fail=: 16113else 16114 # Save a `func_append' function call even when '+=' is not available 16115 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 16116 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16117 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16118 test 0 -eq $? || _lt_function_replace_fail=: 16119fi 16120 16121if test x"$_lt_function_replace_fail" = x":"; then 16122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 16123$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 16124fi 16125 16126 16127 mv -f "$cfgfile" "$ofile" || 16128 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16129 chmod +x "$ofile" 16130 16131 ;; 16132 "default-1":C) 16133 for ac_file in $CONFIG_FILES; do 16134 # Support "outfile[:infile[:infile...]]" 16135 case "$ac_file" in 16136 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 16137 esac 16138 # PO directories have a Makefile.in generated from Makefile.in.in. 16139 case "$ac_file" in */Makefile.in) 16140 # Adjust a relative srcdir. 16141 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 16142 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 16143 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 16144 # In autoconf-2.13 it is called $ac_given_srcdir. 16145 # In autoconf-2.50 it is called $srcdir. 16146 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 16147 case "$ac_given_srcdir" in 16148 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 16149 /*) top_srcdir="$ac_given_srcdir" ;; 16150 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 16151 esac 16152 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 16153 rm -f "$ac_dir/POTFILES" 16154 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 16155 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 16156 POMAKEFILEDEPS="POTFILES.in" 16157 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 16158 # on $ac_dir but don't depend on user-specified configuration 16159 # parameters. 16160 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 16161 # The LINGUAS file contains the set of available languages. 16162 if test -n "$OBSOLETE_ALL_LINGUAS"; then 16163 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 16164 fi 16165 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` 16166 # Hide the ALL_LINGUAS assigment from automake. 16167 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 16168 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 16169 else 16170 # The set of available languages was given in configure.in. 16171 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 16172 fi 16173 # Compute POFILES 16174 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 16175 # Compute UPDATEPOFILES 16176 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 16177 # Compute DUMMYPOFILES 16178 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 16179 # Compute GMOFILES 16180 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 16181 case "$ac_given_srcdir" in 16182 .) srcdirpre= ;; 16183 *) srcdirpre='$(srcdir)/' ;; 16184 esac 16185 POFILES= 16186 UPDATEPOFILES= 16187 DUMMYPOFILES= 16188 GMOFILES= 16189 for lang in $ALL_LINGUAS; do 16190 POFILES="$POFILES $srcdirpre$lang.po" 16191 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 16192 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 16193 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 16194 done 16195 # CATALOGS depends on both $ac_dir and the user's LINGUAS 16196 # environment variable. 16197 INST_LINGUAS= 16198 if test -n "$ALL_LINGUAS"; then 16199 for presentlang in $ALL_LINGUAS; do 16200 useit=no 16201 if test "%UNSET%" != "$LINGUAS"; then 16202 desiredlanguages="$LINGUAS" 16203 else 16204 desiredlanguages="$ALL_LINGUAS" 16205 fi 16206 for desiredlang in $desiredlanguages; do 16207 # Use the presentlang catalog if desiredlang is 16208 # a. equal to presentlang, or 16209 # b. a variant of presentlang (because in this case, 16210 # presentlang can be used as a fallback for messages 16211 # which are not translated in the desiredlang catalog). 16212 case "$desiredlang" in 16213 "$presentlang"*) useit=yes;; 16214 esac 16215 done 16216 if test $useit = yes; then 16217 INST_LINGUAS="$INST_LINGUAS $presentlang" 16218 fi 16219 done 16220 fi 16221 CATALOGS= 16222 if test -n "$INST_LINGUAS"; then 16223 for lang in $INST_LINGUAS; do 16224 CATALOGS="$CATALOGS $lang.gmo" 16225 done 16226 fi 16227 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 16228 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 16229 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 16230 if test -f "$f"; then 16231 case "$f" in 16232 *.orig | *.bak | *~) ;; 16233 *) cat "$f" >> "$ac_dir/Makefile" ;; 16234 esac 16235 fi 16236 done 16237 fi 16238 ;; 16239 esac 16240 done ;; 16241 16242 esac 16243done # for ac_tag 16244 16245 16246as_fn_exit 0 16247_ACEOF 16248ac_clean_files=$ac_clean_files_save 16249 16250test $ac_write_fail = 0 || 16251 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16252 16253 16254# configure is writing to config.log, and then calls config.status. 16255# config.status does its own redirection, appending to config.log. 16256# Unfortunately, on DOS this fails, as config.log is still kept open 16257# by configure, so config.status won't be able to write to it; its 16258# output is simply discarded. So we exec the FD to /dev/null, 16259# effectively closing config.log, so it can be properly (re)opened and 16260# appended to by config.status. When coming back to configure, we 16261# need to make the FD available again. 16262if test "$no_create" != yes; then 16263 ac_cs_success=: 16264 ac_config_status_args= 16265 test "$silent" = yes && 16266 ac_config_status_args="$ac_config_status_args --quiet" 16267 exec 5>/dev/null 16268 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16269 exec 5>>config.log 16270 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16271 # would make configure fail if this is the last instruction. 16272 $ac_cs_success || as_fn_exit 1 16273fi 16274if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16276$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16277fi 16278 16279 16280# Message about configured subprojects 16281if test "x$subdirs" != "x"; then 16282 16283gp_config_msg="${gp_config_msg} 16284" 16285 _subdirs="" 16286 for sd in $subdirs; do 16287 ssd="$(basename "$sd")" 16288 if test "x$_subdirs" = "x"; then 16289 _subdirs="$ssd"; 16290 else 16291 _subdirs="$_subdirs $ssd" 16292 fi 16293 done 16294 16295gp_config_msg_len="$(expr "Subprojects" : '.*')" 16296if test "$gp_config_msg_len" -ge "$gp_config_len"; then 16297 gp_config_msg_lhs="$(expr "Subprojects" : "\(.\{0,${gp_config_len3}\}\)")..:" 16298else 16299 gp_config_msg_lhs="$(expr "Subprojects:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")" 16300fi 16301gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${_subdirs} 16302" 16303fi 16304 16305echo "${gp_config_msg} 16306You may run \"make\" and \"make install\" now." 16307 16308