1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for idzebra 2.0.55. 4# 5# Report bugs to <zebra-help@indexdata.dk>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: zebra-help@indexdata.dk about your system, including 279$0: any error possibly output before this message. Then 280$0: install a modern shell, or manually run the script 281$0: under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='idzebra' 592PACKAGE_TARNAME='idzebra' 593PACKAGE_VERSION='2.0.55' 594PACKAGE_STRING='idzebra 2.0.55' 595PACKAGE_BUGREPORT='zebra-help@indexdata.dk' 596PACKAGE_URL='' 597 598ac_unique_file="configure.ac" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='LTLIBOBJS 636LIBOBJS 637VERSION_SHA1 638VERSION_HEX 639WIN_FILEVERSION 640IDZEBRA_BUILD_ROOT 641IDZEBRA_SRC_ROOT 642STATIC_MODULE_LADD 643STATIC_MODULE_OBJ 644SHARED_MODULE_LA 645EXPAT_LIBS 646ac_prefix_program 647XSL_DIR 648DSSSL_DIR 649DTD_DIR 650PDF_COMPILE 651TKL_COMPILE 652HTML_COMPILE 653MAN_COMPILE 654XSLTPROC_COMPILE 655yazconfig 656YAZVERSION 657YAZINC 658YAZLALIB 659YAZLIB 660OTOOL64 661OTOOL 662LIPO 663NMEDIT 664DSYMUTIL 665MANIFEST_TOOL 666RANLIB 667ac_ct_AR 668AR 669DLLTOOL 670OBJDUMP 671LN_S 672NM 673ac_ct_DUMPBIN 674DUMPBIN 675LD 676FGREP 677EGREP 678GREP 679SED 680host_os 681host_vendor 682host_cpu 683host 684build_os 685build_vendor 686build_cpu 687build 688LIBTOOL 689CPP 690am__fastdepCC_FALSE 691am__fastdepCC_TRUE 692CCDEPMODE 693AMDEPBACKSLASH 694AMDEP_FALSE 695AMDEP_TRUE 696am__quote 697am__include 698DEPDIR 699OBJEXT 700EXEEXT 701ac_ct_CC 702CPPFLAGS 703LDFLAGS 704CFLAGS 705CC 706ZEBRA_CFLAGS 707TCL_LIB 708TCL_INCLUDE 709main_zebralib 710ZEBRALIBS_VERSION_INFO 711PACKAGE_SUFFIX 712am__untar 713am__tar 714AMTAR 715am__leading_dot 716SET_MAKE 717AWK 718mkdir_p 719MKDIR_P 720INSTALL_STRIP_PROGRAM 721STRIP 722install_sh 723MAKEINFO 724AUTOHEADER 725AUTOMAKE 726AUTOCONF 727ACLOCAL 728VERSION 729PACKAGE 730CYGPATH_W 731am__isrc 732INSTALL_DATA 733INSTALL_SCRIPT 734INSTALL_PROGRAM 735target_alias 736host_alias 737build_alias 738LIBS 739ECHO_T 740ECHO_N 741ECHO_C 742DEFS 743mandir 744localedir 745libdir 746psdir 747pdfdir 748dvidir 749htmldir 750infodir 751docdir 752oldincludedir 753includedir 754localstatedir 755sharedstatedir 756sysconfdir 757datadir 758datarootdir 759libexecdir 760sbindir 761bindir 762program_transform_name 763prefix 764exec_prefix 765PACKAGE_URL 766PACKAGE_BUGREPORT 767PACKAGE_STRING 768PACKAGE_VERSION 769PACKAGE_TARNAME 770PACKAGE_NAME 771PATH_SEPARATOR 772SHELL' 773ac_subst_files='' 774ac_user_opts=' 775enable_option_checking 776enable_dependency_tracking 777enable_shared 778enable_static 779with_pic 780enable_fast_install 781with_gnu_ld 782with_sysroot 783enable_libtool_lock 784with_yaz 785with_docbook_dtd 786with_docbook_dsssl 787with_docbook_xsl 788with_tclconfig 789with_iconv 790with_expat 791enable_largefile 792enable_mod_text 793enable_mod_grs_regx 794enable_mod_grs_marc 795enable_mod_grs_xml 796enable_mod_dom 797enable_mod_alvis 798enable_mod_safari 799' 800 ac_precious_vars='build_alias 801host_alias 802target_alias 803CC 804CFLAGS 805LDFLAGS 806LIBS 807CPPFLAGS 808CPP' 809 810 811# Initialize some variables set by options. 812ac_init_help= 813ac_init_version=false 814ac_unrecognized_opts= 815ac_unrecognized_sep= 816# The variables have the same names as the options, with 817# dashes changed to underlines. 818cache_file=/dev/null 819exec_prefix=NONE 820no_create= 821no_recursion= 822prefix=NONE 823program_prefix=NONE 824program_suffix=NONE 825program_transform_name=s,x,x, 826silent= 827site= 828srcdir= 829verbose= 830x_includes=NONE 831x_libraries=NONE 832 833# Installation directory options. 834# These are left unexpanded so users can "make install exec_prefix=/foo" 835# and all the variables that are supposed to be based on exec_prefix 836# by default will actually change. 837# Use braces instead of parens because sh, perl, etc. also accept them. 838# (The list follows the same order as the GNU Coding Standards.) 839bindir='${exec_prefix}/bin' 840sbindir='${exec_prefix}/sbin' 841libexecdir='${exec_prefix}/libexec' 842datarootdir='${prefix}/share' 843datadir='${datarootdir}' 844sysconfdir='${prefix}/etc' 845sharedstatedir='${prefix}/com' 846localstatedir='${prefix}/var' 847includedir='${prefix}/include' 848oldincludedir='/usr/include' 849docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 850infodir='${datarootdir}/info' 851htmldir='${docdir}' 852dvidir='${docdir}' 853pdfdir='${docdir}' 854psdir='${docdir}' 855libdir='${exec_prefix}/lib' 856localedir='${datarootdir}/locale' 857mandir='${datarootdir}/man' 858 859ac_prev= 860ac_dashdash= 861for ac_option 862do 863 # If the previous option needs an argument, assign it. 864 if test -n "$ac_prev"; then 865 eval $ac_prev=\$ac_option 866 ac_prev= 867 continue 868 fi 869 870 case $ac_option in 871 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 872 *=) ac_optarg= ;; 873 *) ac_optarg=yes ;; 874 esac 875 876 # Accept the important Cygnus configure options, so we can diagnose typos. 877 878 case $ac_dashdash$ac_option in 879 --) 880 ac_dashdash=yes ;; 881 882 -bindir | --bindir | --bindi | --bind | --bin | --bi) 883 ac_prev=bindir ;; 884 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 885 bindir=$ac_optarg ;; 886 887 -build | --build | --buil | --bui | --bu) 888 ac_prev=build_alias ;; 889 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 890 build_alias=$ac_optarg ;; 891 892 -cache-file | --cache-file | --cache-fil | --cache-fi \ 893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 894 ac_prev=cache_file ;; 895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 897 cache_file=$ac_optarg ;; 898 899 --config-cache | -C) 900 cache_file=config.cache ;; 901 902 -datadir | --datadir | --datadi | --datad) 903 ac_prev=datadir ;; 904 -datadir=* | --datadir=* | --datadi=* | --datad=*) 905 datadir=$ac_optarg ;; 906 907 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 908 | --dataroo | --dataro | --datar) 909 ac_prev=datarootdir ;; 910 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 911 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 912 datarootdir=$ac_optarg ;; 913 914 -disable-* | --disable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923"enable_$ac_useropt" 924"*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=no ;; 929 930 -docdir | --docdir | --docdi | --doc | --do) 931 ac_prev=docdir ;; 932 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 933 docdir=$ac_optarg ;; 934 935 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 936 ac_prev=dvidir ;; 937 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 938 dvidir=$ac_optarg ;; 939 940 -enable-* | --enable-*) 941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 942 # Reject names that are not valid shell variable names. 943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 944 as_fn_error $? "invalid feature name: $ac_useropt" 945 ac_useropt_orig=$ac_useropt 946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 947 case $ac_user_opts in 948 *" 949"enable_$ac_useropt" 950"*) ;; 951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 952 ac_unrecognized_sep=', ';; 953 esac 954 eval enable_$ac_useropt=\$ac_optarg ;; 955 956 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 957 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 958 | --exec | --exe | --ex) 959 ac_prev=exec_prefix ;; 960 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 961 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 962 | --exec=* | --exe=* | --ex=*) 963 exec_prefix=$ac_optarg ;; 964 965 -gas | --gas | --ga | --g) 966 # Obsolete; use --with-gas. 967 with_gas=yes ;; 968 969 -help | --help | --hel | --he | -h) 970 ac_init_help=long ;; 971 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 972 ac_init_help=recursive ;; 973 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 974 ac_init_help=short ;; 975 976 -host | --host | --hos | --ho) 977 ac_prev=host_alias ;; 978 -host=* | --host=* | --hos=* | --ho=*) 979 host_alias=$ac_optarg ;; 980 981 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 982 ac_prev=htmldir ;; 983 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 984 | --ht=*) 985 htmldir=$ac_optarg ;; 986 987 -includedir | --includedir | --includedi | --included | --include \ 988 | --includ | --inclu | --incl | --inc) 989 ac_prev=includedir ;; 990 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 991 | --includ=* | --inclu=* | --incl=* | --inc=*) 992 includedir=$ac_optarg ;; 993 994 -infodir | --infodir | --infodi | --infod | --info | --inf) 995 ac_prev=infodir ;; 996 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 997 infodir=$ac_optarg ;; 998 999 -libdir | --libdir | --libdi | --libd) 1000 ac_prev=libdir ;; 1001 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1002 libdir=$ac_optarg ;; 1003 1004 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1005 | --libexe | --libex | --libe) 1006 ac_prev=libexecdir ;; 1007 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1008 | --libexe=* | --libex=* | --libe=*) 1009 libexecdir=$ac_optarg ;; 1010 1011 -localedir | --localedir | --localedi | --localed | --locale) 1012 ac_prev=localedir ;; 1013 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1014 localedir=$ac_optarg ;; 1015 1016 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1017 | --localstate | --localstat | --localsta | --localst | --locals) 1018 ac_prev=localstatedir ;; 1019 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1020 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1021 localstatedir=$ac_optarg ;; 1022 1023 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1024 ac_prev=mandir ;; 1025 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1026 mandir=$ac_optarg ;; 1027 1028 -nfp | --nfp | --nf) 1029 # Obsolete; use --without-fp. 1030 with_fp=no ;; 1031 1032 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1033 | --no-cr | --no-c | -n) 1034 no_create=yes ;; 1035 1036 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1037 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1038 no_recursion=yes ;; 1039 1040 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1041 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1042 | --oldin | --oldi | --old | --ol | --o) 1043 ac_prev=oldincludedir ;; 1044 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1045 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1046 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1047 oldincludedir=$ac_optarg ;; 1048 1049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1050 ac_prev=prefix ;; 1051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1052 prefix=$ac_optarg ;; 1053 1054 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1055 | --program-pre | --program-pr | --program-p) 1056 ac_prev=program_prefix ;; 1057 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1058 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1059 program_prefix=$ac_optarg ;; 1060 1061 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1062 | --program-suf | --program-su | --program-s) 1063 ac_prev=program_suffix ;; 1064 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1065 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1066 program_suffix=$ac_optarg ;; 1067 1068 -program-transform-name | --program-transform-name \ 1069 | --program-transform-nam | --program-transform-na \ 1070 | --program-transform-n | --program-transform- \ 1071 | --program-transform | --program-transfor \ 1072 | --program-transfo | --program-transf \ 1073 | --program-trans | --program-tran \ 1074 | --progr-tra | --program-tr | --program-t) 1075 ac_prev=program_transform_name ;; 1076 -program-transform-name=* | --program-transform-name=* \ 1077 | --program-transform-nam=* | --program-transform-na=* \ 1078 | --program-transform-n=* | --program-transform-=* \ 1079 | --program-transform=* | --program-transfor=* \ 1080 | --program-transfo=* | --program-transf=* \ 1081 | --program-trans=* | --program-tran=* \ 1082 | --progr-tra=* | --program-tr=* | --program-t=*) 1083 program_transform_name=$ac_optarg ;; 1084 1085 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1086 ac_prev=pdfdir ;; 1087 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1088 pdfdir=$ac_optarg ;; 1089 1090 -psdir | --psdir | --psdi | --psd | --ps) 1091 ac_prev=psdir ;; 1092 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1093 psdir=$ac_optarg ;; 1094 1095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1096 | -silent | --silent | --silen | --sile | --sil) 1097 silent=yes ;; 1098 1099 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1100 ac_prev=sbindir ;; 1101 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1102 | --sbi=* | --sb=*) 1103 sbindir=$ac_optarg ;; 1104 1105 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1106 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1107 | --sharedst | --shareds | --shared | --share | --shar \ 1108 | --sha | --sh) 1109 ac_prev=sharedstatedir ;; 1110 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1111 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1112 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1113 | --sha=* | --sh=*) 1114 sharedstatedir=$ac_optarg ;; 1115 1116 -site | --site | --sit) 1117 ac_prev=site ;; 1118 -site=* | --site=* | --sit=*) 1119 site=$ac_optarg ;; 1120 1121 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1122 ac_prev=srcdir ;; 1123 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1124 srcdir=$ac_optarg ;; 1125 1126 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1127 | --syscon | --sysco | --sysc | --sys | --sy) 1128 ac_prev=sysconfdir ;; 1129 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1130 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1131 sysconfdir=$ac_optarg ;; 1132 1133 -target | --target | --targe | --targ | --tar | --ta | --t) 1134 ac_prev=target_alias ;; 1135 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1136 target_alias=$ac_optarg ;; 1137 1138 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1139 verbose=yes ;; 1140 1141 -version | --version | --versio | --versi | --vers | -V) 1142 ac_init_version=: ;; 1143 1144 -with-* | --with-*) 1145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1146 # Reject names that are not valid shell variable names. 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153"with_$ac_useropt" 1154"*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=\$ac_optarg ;; 1159 1160 -without-* | --without-*) 1161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1162 # Reject names that are not valid shell variable names. 1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1164 as_fn_error $? "invalid package name: $ac_useropt" 1165 ac_useropt_orig=$ac_useropt 1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1167 case $ac_user_opts in 1168 *" 1169"with_$ac_useropt" 1170"*) ;; 1171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1172 ac_unrecognized_sep=', ';; 1173 esac 1174 eval with_$ac_useropt=no ;; 1175 1176 --x) 1177 # Obsolete; use --with-x. 1178 with_x=yes ;; 1179 1180 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1181 | --x-incl | --x-inc | --x-in | --x-i) 1182 ac_prev=x_includes ;; 1183 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1184 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1185 x_includes=$ac_optarg ;; 1186 1187 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1188 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1189 ac_prev=x_libraries ;; 1190 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1191 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1192 x_libraries=$ac_optarg ;; 1193 1194 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1195Try \`$0 --help' for more information" 1196 ;; 1197 1198 *=*) 1199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1200 # Reject names that are not valid shell variable names. 1201 case $ac_envvar in #( 1202 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1203 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1204 esac 1205 eval $ac_envvar=\$ac_optarg 1206 export $ac_envvar ;; 1207 1208 *) 1209 # FIXME: should be removed in autoconf 3.0. 1210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1214 ;; 1215 1216 esac 1217done 1218 1219if test -n "$ac_prev"; then 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1221 as_fn_error $? "missing argument to $ac_option" 1222fi 1223 1224if test -n "$ac_unrecognized_opts"; then 1225 case $enable_option_checking in 1226 no) ;; 1227 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1229 esac 1230fi 1231 1232# Check all directory arguments for consistency. 1233for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1234 datadir sysconfdir sharedstatedir localstatedir includedir \ 1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1236 libdir localedir mandir 1237do 1238 eval ac_val=\$$ac_var 1239 # Remove trailing slashes. 1240 case $ac_val in 1241 */ ) 1242 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1243 eval $ac_var=\$ac_val;; 1244 esac 1245 # Be sure to have absolute directory names. 1246 case $ac_val in 1247 [\\/$]* | ?:[\\/]* ) continue;; 1248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1249 esac 1250 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1251done 1252 1253# There might be people who depend on the old broken behavior: `$host' 1254# used to hold the argument of --host etc. 1255# FIXME: To remove some day. 1256build=$build_alias 1257host=$host_alias 1258target=$target_alias 1259 1260# FIXME: To remove some day. 1261if test "x$host_alias" != x; then 1262 if test "x$build_alias" = x; then 1263 cross_compiling=maybe 1264 elif test "x$build_alias" != "x$host_alias"; then 1265 cross_compiling=yes 1266 fi 1267fi 1268 1269ac_tool_prefix= 1270test -n "$host_alias" && ac_tool_prefix=$host_alias- 1271 1272test "$silent" = yes && exec 6>/dev/null 1273 1274 1275ac_pwd=`pwd` && test -n "$ac_pwd" && 1276ac_ls_di=`ls -di .` && 1277ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1278 as_fn_error $? "working directory cannot be determined" 1279test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1280 as_fn_error $? "pwd does not report name of working directory" 1281 1282 1283# Find the source files, if location was not specified. 1284if test -z "$srcdir"; then 1285 ac_srcdir_defaulted=yes 1286 # Try the directory containing this script, then the parent directory. 1287 ac_confdir=`$as_dirname -- "$as_myself" || 1288$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1289 X"$as_myself" : 'X\(//\)[^/]' \| \ 1290 X"$as_myself" : 'X\(//\)$' \| \ 1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1292$as_echo X"$as_myself" | 1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1294 s//\1/ 1295 q 1296 } 1297 /^X\(\/\/\)[^/].*/{ 1298 s//\1/ 1299 q 1300 } 1301 /^X\(\/\/\)$/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\).*/{ 1306 s//\1/ 1307 q 1308 } 1309 s/.*/./; q'` 1310 srcdir=$ac_confdir 1311 if test ! -r "$srcdir/$ac_unique_file"; then 1312 srcdir=.. 1313 fi 1314else 1315 ac_srcdir_defaulted=no 1316fi 1317if test ! -r "$srcdir/$ac_unique_file"; then 1318 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1319 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1320fi 1321ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1322ac_abs_confdir=`( 1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1324 pwd)` 1325# When building in place, set srcdir=. 1326if test "$ac_abs_confdir" = "$ac_pwd"; then 1327 srcdir=. 1328fi 1329# Remove unnecessary trailing slashes from srcdir. 1330# Double slashes in file names in object file debugging info 1331# mess up M-x gdb in Emacs. 1332case $srcdir in 1333*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1334esac 1335for ac_var in $ac_precious_vars; do 1336 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1337 eval ac_env_${ac_var}_value=\$${ac_var} 1338 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1339 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1340done 1341 1342# 1343# Report the --help message. 1344# 1345if test "$ac_init_help" = "long"; then 1346 # Omit some internal or obsolete options to make the list less imposing. 1347 # This message is too long to be a string in the A/UX 3.1 sh. 1348 cat <<_ACEOF 1349\`configure' configures idzebra 2.0.55 to adapt to many kinds of systems. 1350 1351Usage: $0 [OPTION]... [VAR=VALUE]... 1352 1353To assign environment variables (e.g., CC, CFLAGS...), specify them as 1354VAR=VALUE. See below for descriptions of some of the useful variables. 1355 1356Defaults for the options are specified in brackets. 1357 1358Configuration: 1359 -h, --help display this help and exit 1360 --help=short display options specific to this package 1361 --help=recursive display the short help of all the included packages 1362 -V, --version display version information and exit 1363 -q, --quiet, --silent do not print \`checking ...' messages 1364 --cache-file=FILE cache test results in FILE [disabled] 1365 -C, --config-cache alias for \`--cache-file=config.cache' 1366 -n, --no-create do not create output files 1367 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1368 1369Installation directories: 1370 --prefix=PREFIX install architecture-independent files in PREFIX 1371 [$ac_default_prefix] 1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1373 [PREFIX] 1374 1375By default, \`make install' will install all the files in 1376\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1377an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1378for instance \`--prefix=\$HOME'. 1379 1380For better control, use the options below. 1381 1382Fine tuning of the installation directories: 1383 --bindir=DIR user executables [EPREFIX/bin] 1384 --sbindir=DIR system admin executables [EPREFIX/sbin] 1385 --libexecdir=DIR program executables [EPREFIX/libexec] 1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1389 --libdir=DIR object code libraries [EPREFIX/lib] 1390 --includedir=DIR C header files [PREFIX/include] 1391 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1394 --infodir=DIR info documentation [DATAROOTDIR/info] 1395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1396 --mandir=DIR man documentation [DATAROOTDIR/man] 1397 --docdir=DIR documentation root [DATAROOTDIR/doc/idzebra] 1398 --htmldir=DIR html documentation [DOCDIR] 1399 --dvidir=DIR dvi documentation [DOCDIR] 1400 --pdfdir=DIR pdf documentation [DOCDIR] 1401 --psdir=DIR ps documentation [DOCDIR] 1402_ACEOF 1403 1404 cat <<\_ACEOF 1405 1406Program names: 1407 --program-prefix=PREFIX prepend PREFIX to installed program names 1408 --program-suffix=SUFFIX append SUFFIX to installed program names 1409 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1410 1411System types: 1412 --build=BUILD configure for building on BUILD [guessed] 1413 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1414_ACEOF 1415fi 1416 1417if test -n "$ac_init_help"; then 1418 case $ac_init_help in 1419 short | recursive ) echo "Configuration of idzebra 2.0.55:";; 1420 esac 1421 cat <<\_ACEOF 1422 1423Optional Features: 1424 --disable-option-checking ignore unrecognized --enable/--with options 1425 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1426 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1427 --disable-dependency-tracking speeds up one-time build 1428 --enable-dependency-tracking do not reject slow dependency extractors 1429 --enable-shared[=PKGS] build shared libraries [default=yes] 1430 --enable-static[=PKGS] build static libraries [default=yes] 1431 --enable-fast-install[=PKGS] 1432 optimize for fast installation [default=yes] 1433 --disable-libtool-lock avoid locking (might break parallel builds) 1434 --disable-largefile omit support for large files 1435 --enable-mod-text Text filter 1436 --enable-mod-grs-regx REGX/TCL filter 1437 --enable-mod-grs-marc MARC filter 1438 --enable-mod-grs-xml XML filter (Expat based) 1439 --enable-mod-dom XML/XSLT filter (Requires libxslt) 1440 --enable-mod-alvis ALVIS filter (Requires libxslt) 1441 --enable-mod-safari Safari filter (DBC) 1442 1443Optional Packages: 1444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1446 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1447 both] 1448 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1449 --with-sysroot=DIR Search for dependent libraries within DIR 1450 (or the compiler's sysroot if not specified). 1451 --with-yaz=DIR use yaz-config in DIR (example /home/yaz-1.7) 1452 --with-docbook-dtd=DIR use docbookx.dtd in DIR 1453 --with-docbook-dsssl=DIR use Docbook DSSSL in DIR/{html,print}/docbook.dsl 1454 --with-docbook-xsl=DIR use Docbook XSL in DIR/{htmlhelp,xhtml} 1455 --with-tclconfig=DIR tclConfig.sh in DIR 1456 --with-iconv=DIR iconv library in DIR 1457 --with-expat=DIR EXPAT library in DIR 1458 1459Some influential environment variables: 1460 CC C compiler command 1461 CFLAGS C compiler flags 1462 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1463 nonstandard directory <lib dir> 1464 LIBS libraries to pass to the linker, e.g. -l<library> 1465 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1466 you have headers in a nonstandard directory <include dir> 1467 CPP C preprocessor 1468 1469Use these variables to override the choices made by `configure' or to help 1470it to find libraries and programs with nonstandard names/locations. 1471 1472Report bugs to <zebra-help@indexdata.dk>. 1473_ACEOF 1474ac_status=$? 1475fi 1476 1477if test "$ac_init_help" = "recursive"; then 1478 # If there are subdirs, report their specific --help. 1479 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1480 test -d "$ac_dir" || 1481 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1482 continue 1483 ac_builddir=. 1484 1485case "$ac_dir" in 1486.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1487*) 1488 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1489 # A ".." for each directory in $ac_dir_suffix. 1490 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1491 case $ac_top_builddir_sub in 1492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1494 esac ;; 1495esac 1496ac_abs_top_builddir=$ac_pwd 1497ac_abs_builddir=$ac_pwd$ac_dir_suffix 1498# for backward compatibility: 1499ac_top_builddir=$ac_top_build_prefix 1500 1501case $srcdir in 1502 .) # We are building in place. 1503 ac_srcdir=. 1504 ac_top_srcdir=$ac_top_builddir_sub 1505 ac_abs_top_srcdir=$ac_pwd ;; 1506 [\\/]* | ?:[\\/]* ) # Absolute name. 1507 ac_srcdir=$srcdir$ac_dir_suffix; 1508 ac_top_srcdir=$srcdir 1509 ac_abs_top_srcdir=$srcdir ;; 1510 *) # Relative name. 1511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1512 ac_top_srcdir=$ac_top_build_prefix$srcdir 1513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1514esac 1515ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1516 1517 cd "$ac_dir" || { ac_status=$?; continue; } 1518 # Check for guested configure. 1519 if test -f "$ac_srcdir/configure.gnu"; then 1520 echo && 1521 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1522 elif test -f "$ac_srcdir/configure"; then 1523 echo && 1524 $SHELL "$ac_srcdir/configure" --help=recursive 1525 else 1526 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1527 fi || ac_status=$? 1528 cd "$ac_pwd" || { ac_status=$?; break; } 1529 done 1530fi 1531 1532test -n "$ac_init_help" && exit $ac_status 1533if $ac_init_version; then 1534 cat <<\_ACEOF 1535idzebra configure 2.0.55 1536generated by GNU Autoconf 2.69 1537 1538Copyright (C) 2012 Free Software Foundation, Inc. 1539This configure script is free software; the Free Software Foundation 1540gives unlimited permission to copy, distribute and modify it. 1541_ACEOF 1542 exit 1543fi 1544 1545## ------------------------ ## 1546## Autoconf initialization. ## 1547## ------------------------ ## 1548 1549# ac_fn_c_try_compile LINENO 1550# -------------------------- 1551# Try to compile conftest.$ac_ext, and return whether this succeeded. 1552ac_fn_c_try_compile () 1553{ 1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1555 rm -f conftest.$ac_objext 1556 if { { ac_try="$ac_compile" 1557case "(($ac_try" in 1558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1559 *) ac_try_echo=$ac_try;; 1560esac 1561eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1562$as_echo "$ac_try_echo"; } >&5 1563 (eval "$ac_compile") 2>conftest.err 1564 ac_status=$? 1565 if test -s conftest.err; then 1566 grep -v '^ *+' conftest.err >conftest.er1 1567 cat conftest.er1 >&5 1568 mv -f conftest.er1 conftest.err 1569 fi 1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1571 test $ac_status = 0; } && { 1572 test -z "$ac_c_werror_flag" || 1573 test ! -s conftest.err 1574 } && test -s conftest.$ac_objext; then : 1575 ac_retval=0 1576else 1577 $as_echo "$as_me: failed program was:" >&5 1578sed 's/^/| /' conftest.$ac_ext >&5 1579 1580 ac_retval=1 1581fi 1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1583 as_fn_set_status $ac_retval 1584 1585} # ac_fn_c_try_compile 1586 1587# ac_fn_c_try_cpp LINENO 1588# ---------------------- 1589# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1590ac_fn_c_try_cpp () 1591{ 1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1593 if { { ac_try="$ac_cpp conftest.$ac_ext" 1594case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597esac 1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599$as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1601 ac_status=$? 1602 if test -s conftest.err; then 1603 grep -v '^ *+' conftest.err >conftest.er1 1604 cat conftest.er1 >&5 1605 mv -f conftest.er1 conftest.err 1606 fi 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; } > conftest.i && { 1609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1610 test ! -s conftest.err 1611 }; then : 1612 ac_retval=0 1613else 1614 $as_echo "$as_me: failed program was:" >&5 1615sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618fi 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1620 as_fn_set_status $ac_retval 1621 1622} # ac_fn_c_try_cpp 1623 1624# ac_fn_c_try_link LINENO 1625# ----------------------- 1626# Try to link conftest.$ac_ext, and return whether this succeeded. 1627ac_fn_c_try_link () 1628{ 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 rm -f conftest.$ac_objext conftest$ac_exeext 1631 if { { ac_try="$ac_link" 1632case "(($ac_try" in 1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1634 *) ac_try_echo=$ac_try;; 1635esac 1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1637$as_echo "$ac_try_echo"; } >&5 1638 (eval "$ac_link") 2>conftest.err 1639 ac_status=$? 1640 if test -s conftest.err; then 1641 grep -v '^ *+' conftest.err >conftest.er1 1642 cat conftest.er1 >&5 1643 mv -f conftest.er1 conftest.err 1644 fi 1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1646 test $ac_status = 0; } && { 1647 test -z "$ac_c_werror_flag" || 1648 test ! -s conftest.err 1649 } && test -s conftest$ac_exeext && { 1650 test "$cross_compiling" = yes || 1651 test -x conftest$ac_exeext 1652 }; then : 1653 ac_retval=0 1654else 1655 $as_echo "$as_me: failed program was:" >&5 1656sed 's/^/| /' conftest.$ac_ext >&5 1657 1658 ac_retval=1 1659fi 1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1662 # interfere with the next link command; also delete a directory that is 1663 # left behind by Apple's compiler. We do this before executing the actions. 1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1666 as_fn_set_status $ac_retval 1667 1668} # ac_fn_c_try_link 1669 1670# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1671# ------------------------------------------------------- 1672# Tests whether HEADER exists and can be compiled using the include files in 1673# INCLUDES, setting the cache variable VAR accordingly. 1674ac_fn_c_check_header_compile () 1675{ 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1678$as_echo_n "checking for $2... " >&6; } 1679if eval \${$3+:} false; then : 1680 $as_echo_n "(cached) " >&6 1681else 1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1683/* end confdefs.h. */ 1684$4 1685#include <$2> 1686_ACEOF 1687if ac_fn_c_try_compile "$LINENO"; then : 1688 eval "$3=yes" 1689else 1690 eval "$3=no" 1691fi 1692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1693fi 1694eval ac_res=\$$3 1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1696$as_echo "$ac_res" >&6; } 1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1698 1699} # ac_fn_c_check_header_compile 1700 1701# ac_fn_c_try_run LINENO 1702# ---------------------- 1703# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1704# that executables *can* be run. 1705ac_fn_c_try_run () 1706{ 1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1708 if { { ac_try="$ac_link" 1709case "(($ac_try" in 1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1711 *) ac_try_echo=$ac_try;; 1712esac 1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1714$as_echo "$ac_try_echo"; } >&5 1715 (eval "$ac_link") 2>&5 1716 ac_status=$? 1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1718 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1719 { { case "(($ac_try" in 1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1721 *) ac_try_echo=$ac_try;; 1722esac 1723eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1724$as_echo "$ac_try_echo"; } >&5 1725 (eval "$ac_try") 2>&5 1726 ac_status=$? 1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1728 test $ac_status = 0; }; }; then : 1729 ac_retval=0 1730else 1731 $as_echo "$as_me: program exited with status $ac_status" >&5 1732 $as_echo "$as_me: failed program was:" >&5 1733sed 's/^/| /' conftest.$ac_ext >&5 1734 1735 ac_retval=$ac_status 1736fi 1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1739 as_fn_set_status $ac_retval 1740 1741} # ac_fn_c_try_run 1742 1743# ac_fn_c_check_func LINENO FUNC VAR 1744# ---------------------------------- 1745# Tests whether FUNC exists, setting the cache variable VAR accordingly 1746ac_fn_c_check_func () 1747{ 1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1750$as_echo_n "checking for $2... " >&6; } 1751if eval \${$3+:} false; then : 1752 $as_echo_n "(cached) " >&6 1753else 1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1755/* end confdefs.h. */ 1756/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1757 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1758#define $2 innocuous_$2 1759 1760/* System header to define __stub macros and hopefully few prototypes, 1761 which can conflict with char $2 (); below. 1762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1763 <limits.h> exists even on freestanding compilers. */ 1764 1765#ifdef __STDC__ 1766# include <limits.h> 1767#else 1768# include <assert.h> 1769#endif 1770 1771#undef $2 1772 1773/* Override any GCC internal prototype to avoid an error. 1774 Use char because int might match the return type of a GCC 1775 builtin and then its argument prototype would still apply. */ 1776#ifdef __cplusplus 1777extern "C" 1778#endif 1779char $2 (); 1780/* The GNU C library defines this for functions which it implements 1781 to always fail with ENOSYS. Some functions are actually named 1782 something starting with __ and the normal name is an alias. */ 1783#if defined __stub_$2 || defined __stub___$2 1784choke me 1785#endif 1786 1787int 1788main () 1789{ 1790return $2 (); 1791 ; 1792 return 0; 1793} 1794_ACEOF 1795if ac_fn_c_try_link "$LINENO"; then : 1796 eval "$3=yes" 1797else 1798 eval "$3=no" 1799fi 1800rm -f core conftest.err conftest.$ac_objext \ 1801 conftest$ac_exeext conftest.$ac_ext 1802fi 1803eval ac_res=\$$3 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1805$as_echo "$ac_res" >&6; } 1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1807 1808} # ac_fn_c_check_func 1809 1810# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1811# ------------------------------------------------------- 1812# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1813# the include files in INCLUDES and setting the cache variable VAR 1814# accordingly. 1815ac_fn_c_check_header_mongrel () 1816{ 1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1818 if eval \${$3+:} false; then : 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1820$as_echo_n "checking for $2... " >&6; } 1821if eval \${$3+:} false; then : 1822 $as_echo_n "(cached) " >&6 1823fi 1824eval ac_res=\$$3 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1826$as_echo "$ac_res" >&6; } 1827else 1828 # Is the header compilable? 1829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1830$as_echo_n "checking $2 usability... " >&6; } 1831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1832/* end confdefs.h. */ 1833$4 1834#include <$2> 1835_ACEOF 1836if ac_fn_c_try_compile "$LINENO"; then : 1837 ac_header_compiler=yes 1838else 1839 ac_header_compiler=no 1840fi 1841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1843$as_echo "$ac_header_compiler" >&6; } 1844 1845# Is the header present? 1846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1847$as_echo_n "checking $2 presence... " >&6; } 1848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1849/* end confdefs.h. */ 1850#include <$2> 1851_ACEOF 1852if ac_fn_c_try_cpp "$LINENO"; then : 1853 ac_header_preproc=yes 1854else 1855 ac_header_preproc=no 1856fi 1857rm -f conftest.err conftest.i conftest.$ac_ext 1858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1859$as_echo "$ac_header_preproc" >&6; } 1860 1861# So? What about this header? 1862case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1863 yes:no: ) 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1865$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1867$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1868 ;; 1869 no:yes:* ) 1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1871$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1873$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1875$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1877$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1879$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1880( $as_echo "## -------------------------------------- ## 1881## Report this to zebra-help@indexdata.dk ## 1882## -------------------------------------- ##" 1883 ) | sed "s/^/$as_me: WARNING: /" >&2 1884 ;; 1885esac 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1887$as_echo_n "checking for $2... " >&6; } 1888if eval \${$3+:} false; then : 1889 $as_echo_n "(cached) " >&6 1890else 1891 eval "$3=\$ac_header_compiler" 1892fi 1893eval ac_res=\$$3 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1895$as_echo "$ac_res" >&6; } 1896fi 1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1898 1899} # ac_fn_c_check_header_mongrel 1900 1901# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1902# ------------------------------------------- 1903# Tests whether TYPE exists after having included INCLUDES, setting cache 1904# variable VAR accordingly. 1905ac_fn_c_check_type () 1906{ 1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1909$as_echo_n "checking for $2... " >&6; } 1910if eval \${$3+:} false; then : 1911 $as_echo_n "(cached) " >&6 1912else 1913 eval "$3=no" 1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1915/* end confdefs.h. */ 1916$4 1917int 1918main () 1919{ 1920if (sizeof ($2)) 1921 return 0; 1922 ; 1923 return 0; 1924} 1925_ACEOF 1926if ac_fn_c_try_compile "$LINENO"; then : 1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1928/* end confdefs.h. */ 1929$4 1930int 1931main () 1932{ 1933if (sizeof (($2))) 1934 return 0; 1935 ; 1936 return 0; 1937} 1938_ACEOF 1939if ac_fn_c_try_compile "$LINENO"; then : 1940 1941else 1942 eval "$3=yes" 1943fi 1944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1945fi 1946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1947fi 1948eval ac_res=\$$3 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1950$as_echo "$ac_res" >&6; } 1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1952 1953} # ac_fn_c_check_type 1954cat >config.log <<_ACEOF 1955This file contains any messages produced by compilers while 1956running configure, to aid debugging if configure makes a mistake. 1957 1958It was created by idzebra $as_me 2.0.55, which was 1959generated by GNU Autoconf 2.69. Invocation command line was 1960 1961 $ $0 $@ 1962 1963_ACEOF 1964exec 5>>config.log 1965{ 1966cat <<_ASUNAME 1967## --------- ## 1968## Platform. ## 1969## --------- ## 1970 1971hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1972uname -m = `(uname -m) 2>/dev/null || echo unknown` 1973uname -r = `(uname -r) 2>/dev/null || echo unknown` 1974uname -s = `(uname -s) 2>/dev/null || echo unknown` 1975uname -v = `(uname -v) 2>/dev/null || echo unknown` 1976 1977/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1978/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1979 1980/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1981/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1982/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1983/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1984/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1985/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1986/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1987 1988_ASUNAME 1989 1990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1991for as_dir in $PATH 1992do 1993 IFS=$as_save_IFS 1994 test -z "$as_dir" && as_dir=. 1995 $as_echo "PATH: $as_dir" 1996 done 1997IFS=$as_save_IFS 1998 1999} >&5 2000 2001cat >&5 <<_ACEOF 2002 2003 2004## ----------- ## 2005## Core tests. ## 2006## ----------- ## 2007 2008_ACEOF 2009 2010 2011# Keep a trace of the command line. 2012# Strip out --no-create and --no-recursion so they do not pile up. 2013# Strip out --silent because we don't want to record it for future runs. 2014# Also quote any args containing shell meta-characters. 2015# Make two passes to allow for proper duplicate-argument suppression. 2016ac_configure_args= 2017ac_configure_args0= 2018ac_configure_args1= 2019ac_must_keep_next=false 2020for ac_pass in 1 2 2021do 2022 for ac_arg 2023 do 2024 case $ac_arg in 2025 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2027 | -silent | --silent | --silen | --sile | --sil) 2028 continue ;; 2029 *\'*) 2030 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2031 esac 2032 case $ac_pass in 2033 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2034 2) 2035 as_fn_append ac_configure_args1 " '$ac_arg'" 2036 if test $ac_must_keep_next = true; then 2037 ac_must_keep_next=false # Got value, back to normal. 2038 else 2039 case $ac_arg in 2040 *=* | --config-cache | -C | -disable-* | --disable-* \ 2041 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2042 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2043 | -with-* | --with-* | -without-* | --without-* | --x) 2044 case "$ac_configure_args0 " in 2045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2046 esac 2047 ;; 2048 -* ) ac_must_keep_next=true ;; 2049 esac 2050 fi 2051 as_fn_append ac_configure_args " '$ac_arg'" 2052 ;; 2053 esac 2054 done 2055done 2056{ ac_configure_args0=; unset ac_configure_args0;} 2057{ ac_configure_args1=; unset ac_configure_args1;} 2058 2059# When interrupted or exit'd, cleanup temporary files, and complete 2060# config.log. We remove comments because anyway the quotes in there 2061# would cause problems or look ugly. 2062# WARNING: Use '\'' to represent an apostrophe within the trap. 2063# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2064trap 'exit_status=$? 2065 # Save into config.log some information that might help in debugging. 2066 { 2067 echo 2068 2069 $as_echo "## ---------------- ## 2070## Cache variables. ## 2071## ---------------- ##" 2072 echo 2073 # The following way of writing the cache mishandles newlines in values, 2074( 2075 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2076 eval ac_val=\$$ac_var 2077 case $ac_val in #( 2078 *${as_nl}*) 2079 case $ac_var in #( 2080 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2081$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2082 esac 2083 case $ac_var in #( 2084 _ | IFS | as_nl) ;; #( 2085 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2086 *) { eval $ac_var=; unset $ac_var;} ;; 2087 esac ;; 2088 esac 2089 done 2090 (set) 2>&1 | 2091 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2092 *${as_nl}ac_space=\ *) 2093 sed -n \ 2094 "s/'\''/'\''\\\\'\'''\''/g; 2095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2096 ;; #( 2097 *) 2098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2099 ;; 2100 esac | 2101 sort 2102) 2103 echo 2104 2105 $as_echo "## ----------------- ## 2106## Output variables. ## 2107## ----------------- ##" 2108 echo 2109 for ac_var in $ac_subst_vars 2110 do 2111 eval ac_val=\$$ac_var 2112 case $ac_val in 2113 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2114 esac 2115 $as_echo "$ac_var='\''$ac_val'\''" 2116 done | sort 2117 echo 2118 2119 if test -n "$ac_subst_files"; then 2120 $as_echo "## ------------------- ## 2121## File substitutions. ## 2122## ------------------- ##" 2123 echo 2124 for ac_var in $ac_subst_files 2125 do 2126 eval ac_val=\$$ac_var 2127 case $ac_val in 2128 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2129 esac 2130 $as_echo "$ac_var='\''$ac_val'\''" 2131 done | sort 2132 echo 2133 fi 2134 2135 if test -s confdefs.h; then 2136 $as_echo "## ----------- ## 2137## confdefs.h. ## 2138## ----------- ##" 2139 echo 2140 cat confdefs.h 2141 echo 2142 fi 2143 test "$ac_signal" != 0 && 2144 $as_echo "$as_me: caught signal $ac_signal" 2145 $as_echo "$as_me: exit $exit_status" 2146 } >&5 2147 rm -f core *.core core.conftest.* && 2148 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2149 exit $exit_status 2150' 0 2151for ac_signal in 1 2 13 15; do 2152 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2153done 2154ac_signal=0 2155 2156# confdefs.h avoids OS command line length limits that DEFS can exceed. 2157rm -f -r conftest* confdefs.h 2158 2159$as_echo "/* confdefs.h */" > confdefs.h 2160 2161# Predefined preprocessor variables. 2162 2163cat >>confdefs.h <<_ACEOF 2164#define PACKAGE_NAME "$PACKAGE_NAME" 2165_ACEOF 2166 2167cat >>confdefs.h <<_ACEOF 2168#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2169_ACEOF 2170 2171cat >>confdefs.h <<_ACEOF 2172#define PACKAGE_VERSION "$PACKAGE_VERSION" 2173_ACEOF 2174 2175cat >>confdefs.h <<_ACEOF 2176#define PACKAGE_STRING "$PACKAGE_STRING" 2177_ACEOF 2178 2179cat >>confdefs.h <<_ACEOF 2180#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2181_ACEOF 2182 2183cat >>confdefs.h <<_ACEOF 2184#define PACKAGE_URL "$PACKAGE_URL" 2185_ACEOF 2186 2187 2188# Let the site file select an alternate cache file if it wants to. 2189# Prefer an explicitly selected file to automatically selected ones. 2190ac_site_file1=NONE 2191ac_site_file2=NONE 2192if test -n "$CONFIG_SITE"; then 2193 # We do not want a PATH search for config.site. 2194 case $CONFIG_SITE in #(( 2195 -*) ac_site_file1=./$CONFIG_SITE;; 2196 */*) ac_site_file1=$CONFIG_SITE;; 2197 *) ac_site_file1=./$CONFIG_SITE;; 2198 esac 2199elif test "x$prefix" != xNONE; then 2200 ac_site_file1=$prefix/share/config.site 2201 ac_site_file2=$prefix/etc/config.site 2202else 2203 ac_site_file1=$ac_default_prefix/share/config.site 2204 ac_site_file2=$ac_default_prefix/etc/config.site 2205fi 2206for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2207do 2208 test "x$ac_site_file" = xNONE && continue 2209 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2211$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2212 sed 's/^/| /' "$ac_site_file" >&5 2213 . "$ac_site_file" \ 2214 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2216as_fn_error $? "failed to load site script $ac_site_file 2217See \`config.log' for more details" "$LINENO" 5; } 2218 fi 2219done 2220 2221if test -r "$cache_file"; then 2222 # Some versions of bash will fail to source /dev/null (special files 2223 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2224 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2226$as_echo "$as_me: loading cache $cache_file" >&6;} 2227 case $cache_file in 2228 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2229 *) . "./$cache_file";; 2230 esac 2231 fi 2232else 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2234$as_echo "$as_me: creating cache $cache_file" >&6;} 2235 >$cache_file 2236fi 2237 2238# Check that the precious variables saved in the cache have kept the same 2239# value. 2240ac_cache_corrupted=false 2241for ac_var in $ac_precious_vars; do 2242 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2243 eval ac_new_set=\$ac_env_${ac_var}_set 2244 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2245 eval ac_new_val=\$ac_env_${ac_var}_value 2246 case $ac_old_set,$ac_new_set in 2247 set,) 2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2249$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2250 ac_cache_corrupted=: ;; 2251 ,set) 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2253$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2254 ac_cache_corrupted=: ;; 2255 ,);; 2256 *) 2257 if test "x$ac_old_val" != "x$ac_new_val"; then 2258 # differences in whitespace do not lead to failure. 2259 ac_old_val_w=`echo x $ac_old_val` 2260 ac_new_val_w=`echo x $ac_new_val` 2261 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2263$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2264 ac_cache_corrupted=: 2265 else 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2267$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2268 eval $ac_var=\$ac_old_val 2269 fi 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2271$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2273$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2274 fi;; 2275 esac 2276 # Pass precious variables to config.status. 2277 if test "$ac_new_set" = set; then 2278 case $ac_new_val in 2279 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2280 *) ac_arg=$ac_var=$ac_new_val ;; 2281 esac 2282 case " $ac_configure_args " in 2283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2284 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2285 esac 2286 fi 2287done 2288if $ac_cache_corrupted; then 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2292$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2293 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2294fi 2295## -------------------- ## 2296## Main body of script. ## 2297## -------------------- ## 2298 2299ac_ext=c 2300ac_cpp='$CPP $CPPFLAGS' 2301ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2302ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2303ac_compiler_gnu=$ac_cv_c_compiler_gnu 2304 2305 2306ac_config_headers="$ac_config_headers include/config.h" 2307 2308 2309ac_aux_dir= 2310for ac_dir in config "$srcdir"/config; do 2311 if test -f "$ac_dir/install-sh"; then 2312 ac_aux_dir=$ac_dir 2313 ac_install_sh="$ac_aux_dir/install-sh -c" 2314 break 2315 elif test -f "$ac_dir/install.sh"; then 2316 ac_aux_dir=$ac_dir 2317 ac_install_sh="$ac_aux_dir/install.sh -c" 2318 break 2319 elif test -f "$ac_dir/shtool"; then 2320 ac_aux_dir=$ac_dir 2321 ac_install_sh="$ac_aux_dir/shtool install -c" 2322 break 2323 fi 2324done 2325if test -z "$ac_aux_dir"; then 2326 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 2327fi 2328 2329# These three variables are undocumented and unsupported, 2330# and are intended to be withdrawn in a future Autoconf release. 2331# They can cause serious problems if a builder's source tree is in a directory 2332# whose full name contains unusual characters. 2333ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2334ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2335ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2336 2337 2338am__api_version='1.10' 2339 2340# Find a good install program. We prefer a C program (faster), 2341# so one script is as good as another. But avoid the broken or 2342# incompatible versions: 2343# SysV /etc/install, /usr/sbin/install 2344# SunOS /usr/etc/install 2345# IRIX /sbin/install 2346# AIX /bin/install 2347# AmigaOS /C/install, which installs bootblocks on floppy discs 2348# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2349# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2350# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2351# OS/2's system install, which has a completely different semantic 2352# ./install, which can be erroneously created by make from ./install.sh. 2353# Reject install programs that cannot install multiple files. 2354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2355$as_echo_n "checking for a BSD-compatible install... " >&6; } 2356if test -z "$INSTALL"; then 2357if ${ac_cv_path_install+:} false; then : 2358 $as_echo_n "(cached) " >&6 2359else 2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361for as_dir in $PATH 2362do 2363 IFS=$as_save_IFS 2364 test -z "$as_dir" && as_dir=. 2365 # Account for people who put trailing slashes in PATH elements. 2366case $as_dir/ in #(( 2367 ./ | .// | /[cC]/* | \ 2368 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2369 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2370 /usr/ucb/* ) ;; 2371 *) 2372 # OSF1 and SCO ODT 3.0 have their own names for install. 2373 # Don't use installbsd from OSF since it installs stuff as root 2374 # by default. 2375 for ac_prog in ginstall scoinst install; do 2376 for ac_exec_ext in '' $ac_executable_extensions; do 2377 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2378 if test $ac_prog = install && 2379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2380 # AIX install. It has an incompatible calling convention. 2381 : 2382 elif test $ac_prog = install && 2383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2384 # program-specific install script used by HP pwplus--don't use. 2385 : 2386 else 2387 rm -rf conftest.one conftest.two conftest.dir 2388 echo one > conftest.one 2389 echo two > conftest.two 2390 mkdir conftest.dir 2391 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2392 test -s conftest.one && test -s conftest.two && 2393 test -s conftest.dir/conftest.one && 2394 test -s conftest.dir/conftest.two 2395 then 2396 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2397 break 3 2398 fi 2399 fi 2400 fi 2401 done 2402 done 2403 ;; 2404esac 2405 2406 done 2407IFS=$as_save_IFS 2408 2409rm -rf conftest.one conftest.two conftest.dir 2410 2411fi 2412 if test "${ac_cv_path_install+set}" = set; then 2413 INSTALL=$ac_cv_path_install 2414 else 2415 # As a last resort, use the slow shell script. Don't cache a 2416 # value for INSTALL within a source directory, because that will 2417 # break other packages using the cache if that directory is 2418 # removed, or if the value is a relative name. 2419 INSTALL=$ac_install_sh 2420 fi 2421fi 2422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2423$as_echo "$INSTALL" >&6; } 2424 2425# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2426# It thinks the first close brace ends the variable substitution. 2427test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2428 2429test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2430 2431test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2432 2433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2434$as_echo_n "checking whether build environment is sane... " >&6; } 2435# Just in case 2436sleep 1 2437echo timestamp > conftest.file 2438# Do `set' in a subshell so we don't clobber the current shell's 2439# arguments. Must try -L first in case configure is actually a 2440# symlink; some systems play weird games with the mod time of symlinks 2441# (eg FreeBSD returns the mod time of the symlink's containing 2442# directory). 2443if ( 2444 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2445 if test "$*" = "X"; then 2446 # -L didn't work. 2447 set X `ls -t $srcdir/configure conftest.file` 2448 fi 2449 rm -f conftest.file 2450 if test "$*" != "X $srcdir/configure conftest.file" \ 2451 && test "$*" != "X conftest.file $srcdir/configure"; then 2452 2453 # If neither matched, then we have a broken ls. This can happen 2454 # if, for instance, CONFIG_SHELL is bash and it inherits a 2455 # broken ls alias from the environment. This has actually 2456 # happened. Such a system could not be considered "sane". 2457 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2458alias in your environment" "$LINENO" 5 2459 fi 2460 2461 test "$2" = conftest.file 2462 ) 2463then 2464 # Ok. 2465 : 2466else 2467 as_fn_error $? "newly created file is older than distributed files! 2468Check your system clock" "$LINENO" 5 2469fi 2470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2471$as_echo "yes" >&6; } 2472test "$program_prefix" != NONE && 2473 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2474# Use a double $ so make ignores it. 2475test "$program_suffix" != NONE && 2476 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2477# Double any \ or $. 2478# By default was `s,x,x', remove it if useless. 2479ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2480program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2481 2482# expand $ac_aux_dir to an absolute path 2483am_aux_dir=`cd $ac_aux_dir && pwd` 2484 2485test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2486# Use eval to expand $SHELL 2487if eval "$MISSING --run true"; then 2488 am_missing_run="$MISSING --run " 2489else 2490 am_missing_run= 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2492$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2493fi 2494 2495install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2496 2497# Installed binaries are usually stripped using `strip' when the user 2498# run `make install-strip'. However `strip' might not be the right 2499# tool to use in cross-compilation environments, therefore Automake 2500# will honor the `STRIP' environment variable to overrule this program. 2501if test "$cross_compiling" != no; then 2502 if test -n "$ac_tool_prefix"; then 2503 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2504set dummy ${ac_tool_prefix}strip; ac_word=$2 2505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2506$as_echo_n "checking for $ac_word... " >&6; } 2507if ${ac_cv_prog_STRIP+:} false; then : 2508 $as_echo_n "(cached) " >&6 2509else 2510 if test -n "$STRIP"; then 2511 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2512else 2513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2514for as_dir in $PATH 2515do 2516 IFS=$as_save_IFS 2517 test -z "$as_dir" && as_dir=. 2518 for ac_exec_ext in '' $ac_executable_extensions; do 2519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2520 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2522 break 2 2523 fi 2524done 2525 done 2526IFS=$as_save_IFS 2527 2528fi 2529fi 2530STRIP=$ac_cv_prog_STRIP 2531if test -n "$STRIP"; then 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2533$as_echo "$STRIP" >&6; } 2534else 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2536$as_echo "no" >&6; } 2537fi 2538 2539 2540fi 2541if test -z "$ac_cv_prog_STRIP"; then 2542 ac_ct_STRIP=$STRIP 2543 # Extract the first word of "strip", so it can be a program name with args. 2544set dummy strip; ac_word=$2 2545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2546$as_echo_n "checking for $ac_word... " >&6; } 2547if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2548 $as_echo_n "(cached) " >&6 2549else 2550 if test -n "$ac_ct_STRIP"; then 2551 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2552else 2553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2554for as_dir in $PATH 2555do 2556 IFS=$as_save_IFS 2557 test -z "$as_dir" && as_dir=. 2558 for ac_exec_ext in '' $ac_executable_extensions; do 2559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2560 ac_cv_prog_ac_ct_STRIP="strip" 2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2562 break 2 2563 fi 2564done 2565 done 2566IFS=$as_save_IFS 2567 2568fi 2569fi 2570ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2571if test -n "$ac_ct_STRIP"; then 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2573$as_echo "$ac_ct_STRIP" >&6; } 2574else 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2576$as_echo "no" >&6; } 2577fi 2578 2579 if test "x$ac_ct_STRIP" = x; then 2580 STRIP=":" 2581 else 2582 case $cross_compiling:$ac_tool_warned in 2583yes:) 2584{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2585$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2586ac_tool_warned=yes ;; 2587esac 2588 STRIP=$ac_ct_STRIP 2589 fi 2590else 2591 STRIP="$ac_cv_prog_STRIP" 2592fi 2593 2594fi 2595INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2596 2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2598$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2599if test -z "$MKDIR_P"; then 2600 if ${ac_cv_path_mkdir+:} false; then : 2601 $as_echo_n "(cached) " >&6 2602else 2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2604for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2605do 2606 IFS=$as_save_IFS 2607 test -z "$as_dir" && as_dir=. 2608 for ac_prog in mkdir gmkdir; do 2609 for ac_exec_ext in '' $ac_executable_extensions; do 2610 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2611 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2612 'mkdir (GNU coreutils) '* | \ 2613 'mkdir (coreutils) '* | \ 2614 'mkdir (fileutils) '4.1*) 2615 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2616 break 3;; 2617 esac 2618 done 2619 done 2620 done 2621IFS=$as_save_IFS 2622 2623fi 2624 2625 test -d ./--version && rmdir ./--version 2626 if test "${ac_cv_path_mkdir+set}" = set; then 2627 MKDIR_P="$ac_cv_path_mkdir -p" 2628 else 2629 # As a last resort, use the slow shell script. Don't cache a 2630 # value for MKDIR_P within a source directory, because that will 2631 # break other packages using the cache if that directory is 2632 # removed, or if the value is a relative name. 2633 MKDIR_P="$ac_install_sh -d" 2634 fi 2635fi 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2637$as_echo "$MKDIR_P" >&6; } 2638 2639mkdir_p="$MKDIR_P" 2640case $mkdir_p in 2641 [\\/$]* | ?:[\\/]*) ;; 2642 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2643esac 2644 2645for ac_prog in gawk mawk nawk awk 2646do 2647 # Extract the first word of "$ac_prog", so it can be a program name with args. 2648set dummy $ac_prog; ac_word=$2 2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2650$as_echo_n "checking for $ac_word... " >&6; } 2651if ${ac_cv_prog_AWK+:} false; then : 2652 $as_echo_n "(cached) " >&6 2653else 2654 if test -n "$AWK"; then 2655 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2656else 2657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2658for as_dir in $PATH 2659do 2660 IFS=$as_save_IFS 2661 test -z "$as_dir" && as_dir=. 2662 for ac_exec_ext in '' $ac_executable_extensions; do 2663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2664 ac_cv_prog_AWK="$ac_prog" 2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2666 break 2 2667 fi 2668done 2669 done 2670IFS=$as_save_IFS 2671 2672fi 2673fi 2674AWK=$ac_cv_prog_AWK 2675if test -n "$AWK"; then 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2677$as_echo "$AWK" >&6; } 2678else 2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2680$as_echo "no" >&6; } 2681fi 2682 2683 2684 test -n "$AWK" && break 2685done 2686 2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2688$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2689set x ${MAKE-make} 2690ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2691if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2692 $as_echo_n "(cached) " >&6 2693else 2694 cat >conftest.make <<\_ACEOF 2695SHELL = /bin/sh 2696all: 2697 @echo '@@@%%%=$(MAKE)=@@@%%%' 2698_ACEOF 2699# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2700case `${MAKE-make} -f conftest.make 2>/dev/null` in 2701 *@@@%%%=?*=@@@%%%*) 2702 eval ac_cv_prog_make_${ac_make}_set=yes;; 2703 *) 2704 eval ac_cv_prog_make_${ac_make}_set=no;; 2705esac 2706rm -f conftest.make 2707fi 2708if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2710$as_echo "yes" >&6; } 2711 SET_MAKE= 2712else 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2714$as_echo "no" >&6; } 2715 SET_MAKE="MAKE=${MAKE-make}" 2716fi 2717 2718rm -rf .tst 2>/dev/null 2719mkdir .tst 2>/dev/null 2720if test -d .tst; then 2721 am__leading_dot=. 2722else 2723 am__leading_dot=_ 2724fi 2725rmdir .tst 2>/dev/null 2726 2727if test "`cd $srcdir && pwd`" != "`pwd`"; then 2728 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2729 # is not polluted with repeated "-I." 2730 am__isrc=' -I$(srcdir)' 2731 # test to see if srcdir already configured 2732 if test -f $srcdir/config.status; then 2733 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2734 fi 2735fi 2736 2737# test whether we have cygpath 2738if test -z "$CYGPATH_W"; then 2739 if (cygpath --version) >/dev/null 2>/dev/null; then 2740 CYGPATH_W='cygpath -w' 2741 else 2742 CYGPATH_W=echo 2743 fi 2744fi 2745 2746 2747# Define the identity of the package. 2748 PACKAGE='idzebra' 2749 VERSION='2.0.55' 2750 2751 2752cat >>confdefs.h <<_ACEOF 2753#define PACKAGE "$PACKAGE" 2754_ACEOF 2755 2756 2757cat >>confdefs.h <<_ACEOF 2758#define VERSION "$VERSION" 2759_ACEOF 2760 2761# Some tools Automake needs. 2762 2763ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2764 2765 2766AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2767 2768 2769AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2770 2771 2772AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2773 2774 2775MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2776 2777# We need awk for the "check" target. The system "awk" is bad on 2778# some platforms. 2779# Always define AMTAR for backward compatibility. 2780 2781AMTAR=${AMTAR-"${am_missing_run}tar"} 2782 2783am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2784 2785 2786 2787 2788 2789PACKAGE_SUFFIX="-2.0" 2790 2791ZEBRALIBS_VERSION_INFO=0:1:0 2792 2793main_zebralib=index/libidzebra${PACKAGE_SUFFIX}.la 2794 2795 2796 2797 2798ac_ext=c 2799ac_cpp='$CPP $CPPFLAGS' 2800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2802ac_compiler_gnu=$ac_cv_c_compiler_gnu 2803if test -n "$ac_tool_prefix"; then 2804 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2805set dummy ${ac_tool_prefix}gcc; ac_word=$2 2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2807$as_echo_n "checking for $ac_word... " >&6; } 2808if ${ac_cv_prog_CC+:} false; then : 2809 $as_echo_n "(cached) " >&6 2810else 2811 if test -n "$CC"; then 2812 ac_cv_prog_CC="$CC" # Let the user override the test. 2813else 2814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2815for as_dir in $PATH 2816do 2817 IFS=$as_save_IFS 2818 test -z "$as_dir" && as_dir=. 2819 for ac_exec_ext in '' $ac_executable_extensions; do 2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2821 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2823 break 2 2824 fi 2825done 2826 done 2827IFS=$as_save_IFS 2828 2829fi 2830fi 2831CC=$ac_cv_prog_CC 2832if test -n "$CC"; then 2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2834$as_echo "$CC" >&6; } 2835else 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2837$as_echo "no" >&6; } 2838fi 2839 2840 2841fi 2842if test -z "$ac_cv_prog_CC"; then 2843 ac_ct_CC=$CC 2844 # Extract the first word of "gcc", so it can be a program name with args. 2845set dummy gcc; ac_word=$2 2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2847$as_echo_n "checking for $ac_word... " >&6; } 2848if ${ac_cv_prog_ac_ct_CC+:} false; then : 2849 $as_echo_n "(cached) " >&6 2850else 2851 if test -n "$ac_ct_CC"; then 2852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2853else 2854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2855for as_dir in $PATH 2856do 2857 IFS=$as_save_IFS 2858 test -z "$as_dir" && as_dir=. 2859 for ac_exec_ext in '' $ac_executable_extensions; do 2860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2861 ac_cv_prog_ac_ct_CC="gcc" 2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2863 break 2 2864 fi 2865done 2866 done 2867IFS=$as_save_IFS 2868 2869fi 2870fi 2871ac_ct_CC=$ac_cv_prog_ac_ct_CC 2872if test -n "$ac_ct_CC"; then 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2874$as_echo "$ac_ct_CC" >&6; } 2875else 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2877$as_echo "no" >&6; } 2878fi 2879 2880 if test "x$ac_ct_CC" = x; then 2881 CC="" 2882 else 2883 case $cross_compiling:$ac_tool_warned in 2884yes:) 2885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2887ac_tool_warned=yes ;; 2888esac 2889 CC=$ac_ct_CC 2890 fi 2891else 2892 CC="$ac_cv_prog_CC" 2893fi 2894 2895if test -z "$CC"; then 2896 if test -n "$ac_tool_prefix"; then 2897 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2898set dummy ${ac_tool_prefix}cc; ac_word=$2 2899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2900$as_echo_n "checking for $ac_word... " >&6; } 2901if ${ac_cv_prog_CC+:} false; then : 2902 $as_echo_n "(cached) " >&6 2903else 2904 if test -n "$CC"; then 2905 ac_cv_prog_CC="$CC" # Let the user override the test. 2906else 2907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2908for as_dir in $PATH 2909do 2910 IFS=$as_save_IFS 2911 test -z "$as_dir" && as_dir=. 2912 for ac_exec_ext in '' $ac_executable_extensions; do 2913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2914 ac_cv_prog_CC="${ac_tool_prefix}cc" 2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2916 break 2 2917 fi 2918done 2919 done 2920IFS=$as_save_IFS 2921 2922fi 2923fi 2924CC=$ac_cv_prog_CC 2925if test -n "$CC"; then 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2927$as_echo "$CC" >&6; } 2928else 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2930$as_echo "no" >&6; } 2931fi 2932 2933 2934 fi 2935fi 2936if test -z "$CC"; then 2937 # Extract the first word of "cc", so it can be a program name with args. 2938set dummy cc; ac_word=$2 2939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2940$as_echo_n "checking for $ac_word... " >&6; } 2941if ${ac_cv_prog_CC+:} false; then : 2942 $as_echo_n "(cached) " >&6 2943else 2944 if test -n "$CC"; then 2945 ac_cv_prog_CC="$CC" # Let the user override the test. 2946else 2947 ac_prog_rejected=no 2948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2949for as_dir in $PATH 2950do 2951 IFS=$as_save_IFS 2952 test -z "$as_dir" && as_dir=. 2953 for ac_exec_ext in '' $ac_executable_extensions; do 2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2955 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2956 ac_prog_rejected=yes 2957 continue 2958 fi 2959 ac_cv_prog_CC="cc" 2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2961 break 2 2962 fi 2963done 2964 done 2965IFS=$as_save_IFS 2966 2967if test $ac_prog_rejected = yes; then 2968 # We found a bogon in the path, so make sure we never use it. 2969 set dummy $ac_cv_prog_CC 2970 shift 2971 if test $# != 0; then 2972 # We chose a different compiler from the bogus one. 2973 # However, it has the same basename, so the bogon will be chosen 2974 # first if we set CC to just the basename; use the full file name. 2975 shift 2976 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2977 fi 2978fi 2979fi 2980fi 2981CC=$ac_cv_prog_CC 2982if test -n "$CC"; then 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2984$as_echo "$CC" >&6; } 2985else 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2987$as_echo "no" >&6; } 2988fi 2989 2990 2991fi 2992if test -z "$CC"; then 2993 if test -n "$ac_tool_prefix"; then 2994 for ac_prog in cl.exe 2995 do 2996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2997set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2999$as_echo_n "checking for $ac_word... " >&6; } 3000if ${ac_cv_prog_CC+:} false; then : 3001 $as_echo_n "(cached) " >&6 3002else 3003 if test -n "$CC"; then 3004 ac_cv_prog_CC="$CC" # Let the user override the test. 3005else 3006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3007for as_dir in $PATH 3008do 3009 IFS=$as_save_IFS 3010 test -z "$as_dir" && as_dir=. 3011 for ac_exec_ext in '' $ac_executable_extensions; do 3012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3013 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3015 break 2 3016 fi 3017done 3018 done 3019IFS=$as_save_IFS 3020 3021fi 3022fi 3023CC=$ac_cv_prog_CC 3024if test -n "$CC"; then 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3026$as_echo "$CC" >&6; } 3027else 3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3029$as_echo "no" >&6; } 3030fi 3031 3032 3033 test -n "$CC" && break 3034 done 3035fi 3036if test -z "$CC"; then 3037 ac_ct_CC=$CC 3038 for ac_prog in cl.exe 3039do 3040 # Extract the first word of "$ac_prog", so it can be a program name with args. 3041set dummy $ac_prog; ac_word=$2 3042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3043$as_echo_n "checking for $ac_word... " >&6; } 3044if ${ac_cv_prog_ac_ct_CC+:} false; then : 3045 $as_echo_n "(cached) " >&6 3046else 3047 if test -n "$ac_ct_CC"; then 3048 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3049else 3050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3051for as_dir in $PATH 3052do 3053 IFS=$as_save_IFS 3054 test -z "$as_dir" && as_dir=. 3055 for ac_exec_ext in '' $ac_executable_extensions; do 3056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3057 ac_cv_prog_ac_ct_CC="$ac_prog" 3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3059 break 2 3060 fi 3061done 3062 done 3063IFS=$as_save_IFS 3064 3065fi 3066fi 3067ac_ct_CC=$ac_cv_prog_ac_ct_CC 3068if test -n "$ac_ct_CC"; then 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3070$as_echo "$ac_ct_CC" >&6; } 3071else 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3073$as_echo "no" >&6; } 3074fi 3075 3076 3077 test -n "$ac_ct_CC" && break 3078done 3079 3080 if test "x$ac_ct_CC" = x; then 3081 CC="" 3082 else 3083 case $cross_compiling:$ac_tool_warned in 3084yes:) 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3087ac_tool_warned=yes ;; 3088esac 3089 CC=$ac_ct_CC 3090 fi 3091fi 3092 3093fi 3094 3095 3096test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3098as_fn_error $? "no acceptable C compiler found in \$PATH 3099See \`config.log' for more details" "$LINENO" 5; } 3100 3101# Provide some information about the compiler. 3102$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3103set X $ac_compile 3104ac_compiler=$2 3105for ac_option in --version -v -V -qversion; do 3106 { { ac_try="$ac_compiler $ac_option >&5" 3107case "(($ac_try" in 3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3109 *) ac_try_echo=$ac_try;; 3110esac 3111eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3112$as_echo "$ac_try_echo"; } >&5 3113 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3114 ac_status=$? 3115 if test -s conftest.err; then 3116 sed '10a\ 3117... rest of stderr output deleted ... 3118 10q' conftest.err >conftest.er1 3119 cat conftest.er1 >&5 3120 fi 3121 rm -f conftest.er1 conftest.err 3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3123 test $ac_status = 0; } 3124done 3125 3126cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3127/* end confdefs.h. */ 3128 3129int 3130main () 3131{ 3132 3133 ; 3134 return 0; 3135} 3136_ACEOF 3137ac_clean_files_save=$ac_clean_files 3138ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3139# Try to create an executable without -o first, disregard a.out. 3140# It will help us diagnose broken compilers, and finding out an intuition 3141# of exeext. 3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3143$as_echo_n "checking whether the C compiler works... " >&6; } 3144ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3145 3146# The possible output files: 3147ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3148 3149ac_rmfiles= 3150for ac_file in $ac_files 3151do 3152 case $ac_file in 3153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3154 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3155 esac 3156done 3157rm -f $ac_rmfiles 3158 3159if { { ac_try="$ac_link_default" 3160case "(($ac_try" in 3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3162 *) ac_try_echo=$ac_try;; 3163esac 3164eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3165$as_echo "$ac_try_echo"; } >&5 3166 (eval "$ac_link_default") 2>&5 3167 ac_status=$? 3168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3169 test $ac_status = 0; }; then : 3170 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3171# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3172# in a Makefile. We should not override ac_cv_exeext if it was cached, 3173# so that the user can short-circuit this test for compilers unknown to 3174# Autoconf. 3175for ac_file in $ac_files '' 3176do 3177 test -f "$ac_file" || continue 3178 case $ac_file in 3179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3180 ;; 3181 [ab].out ) 3182 # We found the default executable, but exeext='' is most 3183 # certainly right. 3184 break;; 3185 *.* ) 3186 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3187 then :; else 3188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3189 fi 3190 # We set ac_cv_exeext here because the later test for it is not 3191 # safe: cross compilers may not add the suffix if given an `-o' 3192 # argument, so we may need to know it at that point already. 3193 # Even if this section looks crufty: it has the advantage of 3194 # actually working. 3195 break;; 3196 * ) 3197 break;; 3198 esac 3199done 3200test "$ac_cv_exeext" = no && ac_cv_exeext= 3201 3202else 3203 ac_file='' 3204fi 3205if test -z "$ac_file"; then : 3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3207$as_echo "no" >&6; } 3208$as_echo "$as_me: failed program was:" >&5 3209sed 's/^/| /' conftest.$ac_ext >&5 3210 3211{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3213as_fn_error 77 "C compiler cannot create executables 3214See \`config.log' for more details" "$LINENO" 5; } 3215else 3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3217$as_echo "yes" >&6; } 3218fi 3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3220$as_echo_n "checking for C compiler default output file name... " >&6; } 3221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3222$as_echo "$ac_file" >&6; } 3223ac_exeext=$ac_cv_exeext 3224 3225rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3226ac_clean_files=$ac_clean_files_save 3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3228$as_echo_n "checking for suffix of executables... " >&6; } 3229if { { ac_try="$ac_link" 3230case "(($ac_try" in 3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3232 *) ac_try_echo=$ac_try;; 3233esac 3234eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3235$as_echo "$ac_try_echo"; } >&5 3236 (eval "$ac_link") 2>&5 3237 ac_status=$? 3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3239 test $ac_status = 0; }; then : 3240 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3241# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3242# work properly (i.e., refer to `conftest.exe'), while it won't with 3243# `rm'. 3244for ac_file in conftest.exe conftest conftest.*; do 3245 test -f "$ac_file" || continue 3246 case $ac_file in 3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3248 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3249 break;; 3250 * ) break;; 3251 esac 3252done 3253else 3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3256as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3257See \`config.log' for more details" "$LINENO" 5; } 3258fi 3259rm -f conftest conftest$ac_cv_exeext 3260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3261$as_echo "$ac_cv_exeext" >&6; } 3262 3263rm -f conftest.$ac_ext 3264EXEEXT=$ac_cv_exeext 3265ac_exeext=$EXEEXT 3266cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3267/* end confdefs.h. */ 3268#include <stdio.h> 3269int 3270main () 3271{ 3272FILE *f = fopen ("conftest.out", "w"); 3273 return ferror (f) || fclose (f) != 0; 3274 3275 ; 3276 return 0; 3277} 3278_ACEOF 3279ac_clean_files="$ac_clean_files conftest.out" 3280# Check that the compiler produces executables we can run. If not, either 3281# the compiler is broken, or we cross compile. 3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3283$as_echo_n "checking whether we are cross compiling... " >&6; } 3284if test "$cross_compiling" != yes; then 3285 { { ac_try="$ac_link" 3286case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289esac 3290eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3291$as_echo "$ac_try_echo"; } >&5 3292 (eval "$ac_link") 2>&5 3293 ac_status=$? 3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3295 test $ac_status = 0; } 3296 if { ac_try='./conftest$ac_cv_exeext' 3297 { { case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300esac 3301eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3302$as_echo "$ac_try_echo"; } >&5 3303 (eval "$ac_try") 2>&5 3304 ac_status=$? 3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3306 test $ac_status = 0; }; }; then 3307 cross_compiling=no 3308 else 3309 if test "$cross_compiling" = maybe; then 3310 cross_compiling=yes 3311 else 3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3314as_fn_error $? "cannot run C compiled programs. 3315If you meant to cross compile, use \`--host'. 3316See \`config.log' for more details" "$LINENO" 5; } 3317 fi 3318 fi 3319fi 3320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3321$as_echo "$cross_compiling" >&6; } 3322 3323rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3324ac_clean_files=$ac_clean_files_save 3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3326$as_echo_n "checking for suffix of object files... " >&6; } 3327if ${ac_cv_objext+:} false; then : 3328 $as_echo_n "(cached) " >&6 3329else 3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3331/* end confdefs.h. */ 3332 3333int 3334main () 3335{ 3336 3337 ; 3338 return 0; 3339} 3340_ACEOF 3341rm -f conftest.o conftest.obj 3342if { { ac_try="$ac_compile" 3343case "(($ac_try" in 3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3345 *) ac_try_echo=$ac_try;; 3346esac 3347eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3348$as_echo "$ac_try_echo"; } >&5 3349 (eval "$ac_compile") 2>&5 3350 ac_status=$? 3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3352 test $ac_status = 0; }; then : 3353 for ac_file in conftest.o conftest.obj conftest.*; do 3354 test -f "$ac_file" || continue; 3355 case $ac_file in 3356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3357 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3358 break;; 3359 esac 3360done 3361else 3362 $as_echo "$as_me: failed program was:" >&5 3363sed 's/^/| /' conftest.$ac_ext >&5 3364 3365{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3367as_fn_error $? "cannot compute suffix of object files: cannot compile 3368See \`config.log' for more details" "$LINENO" 5; } 3369fi 3370rm -f conftest.$ac_cv_objext conftest.$ac_ext 3371fi 3372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3373$as_echo "$ac_cv_objext" >&6; } 3374OBJEXT=$ac_cv_objext 3375ac_objext=$OBJEXT 3376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3377$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3378if ${ac_cv_c_compiler_gnu+:} false; then : 3379 $as_echo_n "(cached) " >&6 3380else 3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382/* end confdefs.h. */ 3383 3384int 3385main () 3386{ 3387#ifndef __GNUC__ 3388 choke me 3389#endif 3390 3391 ; 3392 return 0; 3393} 3394_ACEOF 3395if ac_fn_c_try_compile "$LINENO"; then : 3396 ac_compiler_gnu=yes 3397else 3398 ac_compiler_gnu=no 3399fi 3400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3401ac_cv_c_compiler_gnu=$ac_compiler_gnu 3402 3403fi 3404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3405$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3406if test $ac_compiler_gnu = yes; then 3407 GCC=yes 3408else 3409 GCC= 3410fi 3411ac_test_CFLAGS=${CFLAGS+set} 3412ac_save_CFLAGS=$CFLAGS 3413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3414$as_echo_n "checking whether $CC accepts -g... " >&6; } 3415if ${ac_cv_prog_cc_g+:} false; then : 3416 $as_echo_n "(cached) " >&6 3417else 3418 ac_save_c_werror_flag=$ac_c_werror_flag 3419 ac_c_werror_flag=yes 3420 ac_cv_prog_cc_g=no 3421 CFLAGS="-g" 3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3423/* end confdefs.h. */ 3424 3425int 3426main () 3427{ 3428 3429 ; 3430 return 0; 3431} 3432_ACEOF 3433if ac_fn_c_try_compile "$LINENO"; then : 3434 ac_cv_prog_cc_g=yes 3435else 3436 CFLAGS="" 3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3438/* end confdefs.h. */ 3439 3440int 3441main () 3442{ 3443 3444 ; 3445 return 0; 3446} 3447_ACEOF 3448if ac_fn_c_try_compile "$LINENO"; then : 3449 3450else 3451 ac_c_werror_flag=$ac_save_c_werror_flag 3452 CFLAGS="-g" 3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3454/* end confdefs.h. */ 3455 3456int 3457main () 3458{ 3459 3460 ; 3461 return 0; 3462} 3463_ACEOF 3464if ac_fn_c_try_compile "$LINENO"; then : 3465 ac_cv_prog_cc_g=yes 3466fi 3467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3468fi 3469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3470fi 3471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3472 ac_c_werror_flag=$ac_save_c_werror_flag 3473fi 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3475$as_echo "$ac_cv_prog_cc_g" >&6; } 3476if test "$ac_test_CFLAGS" = set; then 3477 CFLAGS=$ac_save_CFLAGS 3478elif test $ac_cv_prog_cc_g = yes; then 3479 if test "$GCC" = yes; then 3480 CFLAGS="-g -O2" 3481 else 3482 CFLAGS="-g" 3483 fi 3484else 3485 if test "$GCC" = yes; then 3486 CFLAGS="-O2" 3487 else 3488 CFLAGS= 3489 fi 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3492$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3493if ${ac_cv_prog_cc_c89+:} false; then : 3494 $as_echo_n "(cached) " >&6 3495else 3496 ac_cv_prog_cc_c89=no 3497ac_save_CC=$CC 3498cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3499/* end confdefs.h. */ 3500#include <stdarg.h> 3501#include <stdio.h> 3502struct stat; 3503/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3504struct buf { int x; }; 3505FILE * (*rcsopen) (struct buf *, struct stat *, int); 3506static char *e (p, i) 3507 char **p; 3508 int i; 3509{ 3510 return p[i]; 3511} 3512static char *f (char * (*g) (char **, int), char **p, ...) 3513{ 3514 char *s; 3515 va_list v; 3516 va_start (v,p); 3517 s = g (p, va_arg (v,int)); 3518 va_end (v); 3519 return s; 3520} 3521 3522/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3523 function prototypes and stuff, but not '\xHH' hex character constants. 3524 These don't provoke an error unfortunately, instead are silently treated 3525 as 'x'. The following induces an error, until -std is added to get 3526 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3527 array size at least. It's necessary to write '\x00'==0 to get something 3528 that's true only with -std. */ 3529int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3530 3531/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3532 inside strings and character constants. */ 3533#define FOO(x) 'x' 3534int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3535 3536int test (int i, double x); 3537struct s1 {int (*f) (int a);}; 3538struct s2 {int (*f) (double a);}; 3539int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3540int argc; 3541char **argv; 3542int 3543main () 3544{ 3545return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3546 ; 3547 return 0; 3548} 3549_ACEOF 3550for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3551 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3552do 3553 CC="$ac_save_CC $ac_arg" 3554 if ac_fn_c_try_compile "$LINENO"; then : 3555 ac_cv_prog_cc_c89=$ac_arg 3556fi 3557rm -f core conftest.err conftest.$ac_objext 3558 test "x$ac_cv_prog_cc_c89" != "xno" && break 3559done 3560rm -f conftest.$ac_ext 3561CC=$ac_save_CC 3562 3563fi 3564# AC_CACHE_VAL 3565case "x$ac_cv_prog_cc_c89" in 3566 x) 3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3568$as_echo "none needed" >&6; } ;; 3569 xno) 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3571$as_echo "unsupported" >&6; } ;; 3572 *) 3573 CC="$CC $ac_cv_prog_cc_c89" 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3575$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3576esac 3577if test "x$ac_cv_prog_cc_c89" != xno; then : 3578 3579fi 3580 3581ac_ext=c 3582ac_cpp='$CPP $CPPFLAGS' 3583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3585ac_compiler_gnu=$ac_cv_c_compiler_gnu 3586DEPDIR="${am__leading_dot}deps" 3587 3588ac_config_commands="$ac_config_commands depfiles" 3589 3590 3591am_make=${MAKE-make} 3592cat > confinc << 'END' 3593am__doit: 3594 @echo done 3595.PHONY: am__doit 3596END 3597# If we don't find an include directive, just comment out the code. 3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3599$as_echo_n "checking for style of include used by $am_make... " >&6; } 3600am__include="#" 3601am__quote= 3602_am_result=none 3603# First try GNU make style include. 3604echo "include confinc" > confmf 3605# We grep out `Entering directory' and `Leaving directory' 3606# messages which can occur if `w' ends up in MAKEFLAGS. 3607# In particular we don't look at `^make:' because GNU make might 3608# be invoked under some other name (usually "gmake"), in which 3609# case it prints its new name instead of `make'. 3610if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3611 am__include=include 3612 am__quote= 3613 _am_result=GNU 3614fi 3615# Now try BSD make style include. 3616if test "$am__include" = "#"; then 3617 echo '.include "confinc"' > confmf 3618 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3619 am__include=.include 3620 am__quote="\"" 3621 _am_result=BSD 3622 fi 3623fi 3624 3625 3626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3627$as_echo "$_am_result" >&6; } 3628rm -f confinc confmf 3629 3630# Check whether --enable-dependency-tracking was given. 3631if test "${enable_dependency_tracking+set}" = set; then : 3632 enableval=$enable_dependency_tracking; 3633fi 3634 3635if test "x$enable_dependency_tracking" != xno; then 3636 am_depcomp="$ac_aux_dir/depcomp" 3637 AMDEPBACKSLASH='\' 3638fi 3639 if test "x$enable_dependency_tracking" != xno; then 3640 AMDEP_TRUE= 3641 AMDEP_FALSE='#' 3642else 3643 AMDEP_TRUE='#' 3644 AMDEP_FALSE= 3645fi 3646 3647 3648 3649depcc="$CC" am_compiler_list= 3650 3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3652$as_echo_n "checking dependency style of $depcc... " >&6; } 3653if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3654 $as_echo_n "(cached) " >&6 3655else 3656 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3657 # We make a subdir and do the tests there. Otherwise we can end up 3658 # making bogus files that we don't know about and never remove. For 3659 # instance it was reported that on HP-UX the gcc test will end up 3660 # making a dummy file named `D' -- because `-MD' means `put the output 3661 # in D'. 3662 mkdir conftest.dir 3663 # Copy depcomp to subdir because otherwise we won't find it if we're 3664 # using a relative directory. 3665 cp "$am_depcomp" conftest.dir 3666 cd conftest.dir 3667 # We will build objects and dependencies in a subdirectory because 3668 # it helps to detect inapplicable dependency modes. For instance 3669 # both Tru64's cc and ICC support -MD to output dependencies as a 3670 # side effect of compilation, but ICC will put the dependencies in 3671 # the current directory while Tru64 will put them in the object 3672 # directory. 3673 mkdir sub 3674 3675 am_cv_CC_dependencies_compiler_type=none 3676 if test "$am_compiler_list" = ""; then 3677 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3678 fi 3679 am__universal=false 3680 case " $depcc " in #( 3681 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3682 esac 3683 3684 for depmode in $am_compiler_list; do 3685 # Setup a source with many dependencies, because some compilers 3686 # like to wrap large dependency lists on column 80 (with \), and 3687 # we should not choose a depcomp mode which is confused by this. 3688 # 3689 # We need to recreate these files for each test, as the compiler may 3690 # overwrite some of them when testing with obscure command lines. 3691 # This happens at least with the AIX C compiler. 3692 : > sub/conftest.c 3693 for i in 1 2 3 4 5 6; do 3694 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3695 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3696 # Solaris 8's {/usr,}/bin/sh. 3697 touch sub/conftst$i.h 3698 done 3699 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3700 3701 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3702 # mode. It turns out that the SunPro C++ compiler does not properly 3703 # handle `-M -o', and we need to detect this. Also, some Intel 3704 # versions had trouble with output in subdirs 3705 am__obj=sub/conftest.${OBJEXT-o} 3706 am__minus_obj="-o $am__obj" 3707 case $depmode in 3708 gcc) 3709 # This depmode causes a compiler race in universal mode. 3710 test "$am__universal" = false || continue 3711 ;; 3712 nosideeffect) 3713 # after this tag, mechanisms are not by side-effect, so they'll 3714 # only be used when explicitly requested 3715 if test "x$enable_dependency_tracking" = xyes; then 3716 continue 3717 else 3718 break 3719 fi 3720 ;; 3721 msvisualcpp | msvcmsys) 3722 # This compiler won't grok `-c -o', but also, the minuso test has 3723 # not run yet. These depmodes are late enough in the game, and 3724 # so weak that their functioning should not be impacted. 3725 am__obj=conftest.${OBJEXT-o} 3726 am__minus_obj= 3727 ;; 3728 none) break ;; 3729 esac 3730 if depmode=$depmode \ 3731 source=sub/conftest.c object=$am__obj \ 3732 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3733 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3734 >/dev/null 2>conftest.err && 3735 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3736 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3737 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3738 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3739 # icc doesn't choke on unknown options, it will just issue warnings 3740 # or remarks (even with -Werror). So we grep stderr for any message 3741 # that says an option was ignored or not supported. 3742 # When given -MP, icc 7.0 and 7.1 complain thusly: 3743 # icc: Command line warning: ignoring option '-M'; no argument required 3744 # The diagnosis changed in icc 8.0: 3745 # icc: Command line remark: option '-MP' not supported 3746 if (grep 'ignoring option' conftest.err || 3747 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3748 am_cv_CC_dependencies_compiler_type=$depmode 3749 break 3750 fi 3751 fi 3752 done 3753 3754 cd .. 3755 rm -rf conftest.dir 3756else 3757 am_cv_CC_dependencies_compiler_type=none 3758fi 3759 3760fi 3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3762$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3763CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3764 3765 if 3766 test "x$enable_dependency_tracking" != xno \ 3767 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3768 am__fastdepCC_TRUE= 3769 am__fastdepCC_FALSE='#' 3770else 3771 am__fastdepCC_TRUE='#' 3772 am__fastdepCC_FALSE= 3773fi 3774 3775 3776ac_ext=c 3777ac_cpp='$CPP $CPPFLAGS' 3778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3780ac_compiler_gnu=$ac_cv_c_compiler_gnu 3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3782$as_echo_n "checking how to run the C preprocessor... " >&6; } 3783# On Suns, sometimes $CPP names a directory. 3784if test -n "$CPP" && test -d "$CPP"; then 3785 CPP= 3786fi 3787if test -z "$CPP"; then 3788 if ${ac_cv_prog_CPP+:} false; then : 3789 $as_echo_n "(cached) " >&6 3790else 3791 # Double quotes because CPP needs to be expanded 3792 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3793 do 3794 ac_preproc_ok=false 3795for ac_c_preproc_warn_flag in '' yes 3796do 3797 # Use a header file that comes with gcc, so configuring glibc 3798 # with a fresh cross-compiler works. 3799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3800 # <limits.h> exists even on freestanding compilers. 3801 # On the NeXT, cc -E runs the code through the compiler's parser, 3802 # not just through cpp. "Syntax error" is here to catch this case. 3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3804/* end confdefs.h. */ 3805#ifdef __STDC__ 3806# include <limits.h> 3807#else 3808# include <assert.h> 3809#endif 3810 Syntax error 3811_ACEOF 3812if ac_fn_c_try_cpp "$LINENO"; then : 3813 3814else 3815 # Broken: fails on valid input. 3816continue 3817fi 3818rm -f conftest.err conftest.i conftest.$ac_ext 3819 3820 # OK, works on sane cases. Now check whether nonexistent headers 3821 # can be detected and how. 3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3823/* end confdefs.h. */ 3824#include <ac_nonexistent.h> 3825_ACEOF 3826if ac_fn_c_try_cpp "$LINENO"; then : 3827 # Broken: success on invalid input. 3828continue 3829else 3830 # Passes both tests. 3831ac_preproc_ok=: 3832break 3833fi 3834rm -f conftest.err conftest.i conftest.$ac_ext 3835 3836done 3837# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3838rm -f conftest.i conftest.err conftest.$ac_ext 3839if $ac_preproc_ok; then : 3840 break 3841fi 3842 3843 done 3844 ac_cv_prog_CPP=$CPP 3845 3846fi 3847 CPP=$ac_cv_prog_CPP 3848else 3849 ac_cv_prog_CPP=$CPP 3850fi 3851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3852$as_echo "$CPP" >&6; } 3853ac_preproc_ok=false 3854for ac_c_preproc_warn_flag in '' yes 3855do 3856 # Use a header file that comes with gcc, so configuring glibc 3857 # with a fresh cross-compiler works. 3858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3859 # <limits.h> exists even on freestanding compilers. 3860 # On the NeXT, cc -E runs the code through the compiler's parser, 3861 # not just through cpp. "Syntax error" is here to catch this case. 3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3863/* end confdefs.h. */ 3864#ifdef __STDC__ 3865# include <limits.h> 3866#else 3867# include <assert.h> 3868#endif 3869 Syntax error 3870_ACEOF 3871if ac_fn_c_try_cpp "$LINENO"; then : 3872 3873else 3874 # Broken: fails on valid input. 3875continue 3876fi 3877rm -f conftest.err conftest.i conftest.$ac_ext 3878 3879 # OK, works on sane cases. Now check whether nonexistent headers 3880 # can be detected and how. 3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3882/* end confdefs.h. */ 3883#include <ac_nonexistent.h> 3884_ACEOF 3885if ac_fn_c_try_cpp "$LINENO"; then : 3886 # Broken: success on invalid input. 3887continue 3888else 3889 # Passes both tests. 3890ac_preproc_ok=: 3891break 3892fi 3893rm -f conftest.err conftest.i conftest.$ac_ext 3894 3895done 3896# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3897rm -f conftest.i conftest.err conftest.$ac_ext 3898if $ac_preproc_ok; then : 3899 3900else 3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3903as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3904See \`config.log' for more details" "$LINENO" 5; } 3905fi 3906 3907ac_ext=c 3908ac_cpp='$CPP $CPPFLAGS' 3909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3911ac_compiler_gnu=$ac_cv_c_compiler_gnu 3912 3913case `pwd` in 3914 *\ * | *\ *) 3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3916$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3917esac 3918 3919 3920 3921macro_version='2.4.2' 3922macro_revision='1.3337' 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936ltmain="$ac_aux_dir/ltmain.sh" 3937 3938# Make sure we can run config.sub. 3939$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3940 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3941 3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3943$as_echo_n "checking build system type... " >&6; } 3944if ${ac_cv_build+:} false; then : 3945 $as_echo_n "(cached) " >&6 3946else 3947 ac_build_alias=$build_alias 3948test "x$ac_build_alias" = x && 3949 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3950test "x$ac_build_alias" = x && 3951 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3952ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3953 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3954 3955fi 3956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3957$as_echo "$ac_cv_build" >&6; } 3958case $ac_cv_build in 3959*-*-*) ;; 3960*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3961esac 3962build=$ac_cv_build 3963ac_save_IFS=$IFS; IFS='-' 3964set x $ac_cv_build 3965shift 3966build_cpu=$1 3967build_vendor=$2 3968shift; shift 3969# Remember, the first character of IFS is used to create $*, 3970# except with old shells: 3971build_os=$* 3972IFS=$ac_save_IFS 3973case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3974 3975 3976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3977$as_echo_n "checking host system type... " >&6; } 3978if ${ac_cv_host+:} false; then : 3979 $as_echo_n "(cached) " >&6 3980else 3981 if test "x$host_alias" = x; then 3982 ac_cv_host=$ac_cv_build 3983else 3984 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3985 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3986fi 3987 3988fi 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3990$as_echo "$ac_cv_host" >&6; } 3991case $ac_cv_host in 3992*-*-*) ;; 3993*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3994esac 3995host=$ac_cv_host 3996ac_save_IFS=$IFS; IFS='-' 3997set x $ac_cv_host 3998shift 3999host_cpu=$1 4000host_vendor=$2 4001shift; shift 4002# Remember, the first character of IFS is used to create $*, 4003# except with old shells: 4004host_os=$* 4005IFS=$ac_save_IFS 4006case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4007 4008 4009# Backslashify metacharacters that are still active within 4010# double-quoted strings. 4011sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4012 4013# Same as above, but do not quote variable references. 4014double_quote_subst='s/\(["`\\]\)/\\\1/g' 4015 4016# Sed substitution to delay expansion of an escaped shell variable in a 4017# double_quote_subst'ed string. 4018delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4019 4020# Sed substitution to delay expansion of an escaped single quote. 4021delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4022 4023# Sed substitution to avoid accidental globbing in evaled expressions 4024no_glob_subst='s/\*/\\\*/g' 4025 4026ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4027ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4028ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4029 4030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4031$as_echo_n "checking how to print strings... " >&6; } 4032# Test print first, because it will be a builtin if present. 4033if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4034 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4035 ECHO='print -r --' 4036elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4037 ECHO='printf %s\n' 4038else 4039 # Use this function as a fallback that always works. 4040 func_fallback_echo () 4041 { 4042 eval 'cat <<_LTECHO_EOF 4043$1 4044_LTECHO_EOF' 4045 } 4046 ECHO='func_fallback_echo' 4047fi 4048 4049# func_echo_all arg... 4050# Invoke $ECHO with all args, space-separated. 4051func_echo_all () 4052{ 4053 $ECHO "" 4054} 4055 4056case "$ECHO" in 4057 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4058$as_echo "printf" >&6; } ;; 4059 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4060$as_echo "print -r" >&6; } ;; 4061 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4062$as_echo "cat" >&6; } ;; 4063esac 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4079$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4080if ${ac_cv_path_SED+:} false; then : 4081 $as_echo_n "(cached) " >&6 4082else 4083 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4084 for ac_i in 1 2 3 4 5 6 7; do 4085 ac_script="$ac_script$as_nl$ac_script" 4086 done 4087 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4088 { ac_script=; unset ac_script;} 4089 if test -z "$SED"; then 4090 ac_path_SED_found=false 4091 # Loop through the user's path and test for each of PROGNAME-LIST 4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4093for as_dir in $PATH 4094do 4095 IFS=$as_save_IFS 4096 test -z "$as_dir" && as_dir=. 4097 for ac_prog in sed gsed; do 4098 for ac_exec_ext in '' $ac_executable_extensions; do 4099 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4100 as_fn_executable_p "$ac_path_SED" || continue 4101# Check for GNU ac_path_SED and select it if it is found. 4102 # Check for GNU $ac_path_SED 4103case `"$ac_path_SED" --version 2>&1` in 4104*GNU*) 4105 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4106*) 4107 ac_count=0 4108 $as_echo_n 0123456789 >"conftest.in" 4109 while : 4110 do 4111 cat "conftest.in" "conftest.in" >"conftest.tmp" 4112 mv "conftest.tmp" "conftest.in" 4113 cp "conftest.in" "conftest.nl" 4114 $as_echo '' >> "conftest.nl" 4115 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4117 as_fn_arith $ac_count + 1 && ac_count=$as_val 4118 if test $ac_count -gt ${ac_path_SED_max-0}; then 4119 # Best one so far, save it but keep looking for a better one 4120 ac_cv_path_SED="$ac_path_SED" 4121 ac_path_SED_max=$ac_count 4122 fi 4123 # 10*(2^10) chars as input seems more than enough 4124 test $ac_count -gt 10 && break 4125 done 4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4127esac 4128 4129 $ac_path_SED_found && break 3 4130 done 4131 done 4132 done 4133IFS=$as_save_IFS 4134 if test -z "$ac_cv_path_SED"; then 4135 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4136 fi 4137else 4138 ac_cv_path_SED=$SED 4139fi 4140 4141fi 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4143$as_echo "$ac_cv_path_SED" >&6; } 4144 SED="$ac_cv_path_SED" 4145 rm -f conftest.sed 4146 4147test -z "$SED" && SED=sed 4148Xsed="$SED -e 1s/^X//" 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4161$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4162if ${ac_cv_path_GREP+:} false; then : 4163 $as_echo_n "(cached) " >&6 4164else 4165 if test -z "$GREP"; then 4166 ac_path_GREP_found=false 4167 # Loop through the user's path and test for each of PROGNAME-LIST 4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4169for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4170do 4171 IFS=$as_save_IFS 4172 test -z "$as_dir" && as_dir=. 4173 for ac_prog in grep ggrep; do 4174 for ac_exec_ext in '' $ac_executable_extensions; do 4175 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4176 as_fn_executable_p "$ac_path_GREP" || continue 4177# Check for GNU ac_path_GREP and select it if it is found. 4178 # Check for GNU $ac_path_GREP 4179case `"$ac_path_GREP" --version 2>&1` in 4180*GNU*) 4181 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4182*) 4183 ac_count=0 4184 $as_echo_n 0123456789 >"conftest.in" 4185 while : 4186 do 4187 cat "conftest.in" "conftest.in" >"conftest.tmp" 4188 mv "conftest.tmp" "conftest.in" 4189 cp "conftest.in" "conftest.nl" 4190 $as_echo 'GREP' >> "conftest.nl" 4191 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4193 as_fn_arith $ac_count + 1 && ac_count=$as_val 4194 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4195 # Best one so far, save it but keep looking for a better one 4196 ac_cv_path_GREP="$ac_path_GREP" 4197 ac_path_GREP_max=$ac_count 4198 fi 4199 # 10*(2^10) chars as input seems more than enough 4200 test $ac_count -gt 10 && break 4201 done 4202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4203esac 4204 4205 $ac_path_GREP_found && break 3 4206 done 4207 done 4208 done 4209IFS=$as_save_IFS 4210 if test -z "$ac_cv_path_GREP"; then 4211 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4212 fi 4213else 4214 ac_cv_path_GREP=$GREP 4215fi 4216 4217fi 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4219$as_echo "$ac_cv_path_GREP" >&6; } 4220 GREP="$ac_cv_path_GREP" 4221 4222 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4224$as_echo_n "checking for egrep... " >&6; } 4225if ${ac_cv_path_EGREP+:} false; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4229 then ac_cv_path_EGREP="$GREP -E" 4230 else 4231 if test -z "$EGREP"; then 4232 ac_path_EGREP_found=false 4233 # Loop through the user's path and test for each of PROGNAME-LIST 4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4235for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4236do 4237 IFS=$as_save_IFS 4238 test -z "$as_dir" && as_dir=. 4239 for ac_prog in egrep; do 4240 for ac_exec_ext in '' $ac_executable_extensions; do 4241 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4242 as_fn_executable_p "$ac_path_EGREP" || continue 4243# Check for GNU ac_path_EGREP and select it if it is found. 4244 # Check for GNU $ac_path_EGREP 4245case `"$ac_path_EGREP" --version 2>&1` in 4246*GNU*) 4247 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4248*) 4249 ac_count=0 4250 $as_echo_n 0123456789 >"conftest.in" 4251 while : 4252 do 4253 cat "conftest.in" "conftest.in" >"conftest.tmp" 4254 mv "conftest.tmp" "conftest.in" 4255 cp "conftest.in" "conftest.nl" 4256 $as_echo 'EGREP' >> "conftest.nl" 4257 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4259 as_fn_arith $ac_count + 1 && ac_count=$as_val 4260 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4261 # Best one so far, save it but keep looking for a better one 4262 ac_cv_path_EGREP="$ac_path_EGREP" 4263 ac_path_EGREP_max=$ac_count 4264 fi 4265 # 10*(2^10) chars as input seems more than enough 4266 test $ac_count -gt 10 && break 4267 done 4268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4269esac 4270 4271 $ac_path_EGREP_found && break 3 4272 done 4273 done 4274 done 4275IFS=$as_save_IFS 4276 if test -z "$ac_cv_path_EGREP"; then 4277 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4278 fi 4279else 4280 ac_cv_path_EGREP=$EGREP 4281fi 4282 4283 fi 4284fi 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4286$as_echo "$ac_cv_path_EGREP" >&6; } 4287 EGREP="$ac_cv_path_EGREP" 4288 4289 4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4291$as_echo_n "checking for fgrep... " >&6; } 4292if ${ac_cv_path_FGREP+:} false; then : 4293 $as_echo_n "(cached) " >&6 4294else 4295 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4296 then ac_cv_path_FGREP="$GREP -F" 4297 else 4298 if test -z "$FGREP"; then 4299 ac_path_FGREP_found=false 4300 # Loop through the user's path and test for each of PROGNAME-LIST 4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4302for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4303do 4304 IFS=$as_save_IFS 4305 test -z "$as_dir" && as_dir=. 4306 for ac_prog in fgrep; do 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4309 as_fn_executable_p "$ac_path_FGREP" || continue 4310# Check for GNU ac_path_FGREP and select it if it is found. 4311 # Check for GNU $ac_path_FGREP 4312case `"$ac_path_FGREP" --version 2>&1` in 4313*GNU*) 4314 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4315*) 4316 ac_count=0 4317 $as_echo_n 0123456789 >"conftest.in" 4318 while : 4319 do 4320 cat "conftest.in" "conftest.in" >"conftest.tmp" 4321 mv "conftest.tmp" "conftest.in" 4322 cp "conftest.in" "conftest.nl" 4323 $as_echo 'FGREP' >> "conftest.nl" 4324 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4326 as_fn_arith $ac_count + 1 && ac_count=$as_val 4327 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4328 # Best one so far, save it but keep looking for a better one 4329 ac_cv_path_FGREP="$ac_path_FGREP" 4330 ac_path_FGREP_max=$ac_count 4331 fi 4332 # 10*(2^10) chars as input seems more than enough 4333 test $ac_count -gt 10 && break 4334 done 4335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4336esac 4337 4338 $ac_path_FGREP_found && break 3 4339 done 4340 done 4341 done 4342IFS=$as_save_IFS 4343 if test -z "$ac_cv_path_FGREP"; then 4344 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4345 fi 4346else 4347 ac_cv_path_FGREP=$FGREP 4348fi 4349 4350 fi 4351fi 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4353$as_echo "$ac_cv_path_FGREP" >&6; } 4354 FGREP="$ac_cv_path_FGREP" 4355 4356 4357test -z "$GREP" && GREP=grep 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377# Check whether --with-gnu-ld was given. 4378if test "${with_gnu_ld+set}" = set; then : 4379 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4380else 4381 with_gnu_ld=no 4382fi 4383 4384ac_prog=ld 4385if test "$GCC" = yes; then 4386 # Check if gcc -print-prog-name=ld gives a path. 4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4388$as_echo_n "checking for ld used by $CC... " >&6; } 4389 case $host in 4390 *-*-mingw*) 4391 # gcc leaves a trailing carriage return which upsets mingw 4392 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4393 *) 4394 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4395 esac 4396 case $ac_prog in 4397 # Accept absolute paths. 4398 [\\/]* | ?:[\\/]*) 4399 re_direlt='/[^/][^/]*/\.\./' 4400 # Canonicalize the pathname of ld 4401 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4402 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4403 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4404 done 4405 test -z "$LD" && LD="$ac_prog" 4406 ;; 4407 "") 4408 # If it fails, then pretend we aren't using GCC. 4409 ac_prog=ld 4410 ;; 4411 *) 4412 # If it is relative, then search for the first ld in PATH. 4413 with_gnu_ld=unknown 4414 ;; 4415 esac 4416elif test "$with_gnu_ld" = yes; then 4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4418$as_echo_n "checking for GNU ld... " >&6; } 4419else 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4421$as_echo_n "checking for non-GNU ld... " >&6; } 4422fi 4423if ${lt_cv_path_LD+:} false; then : 4424 $as_echo_n "(cached) " >&6 4425else 4426 if test -z "$LD"; then 4427 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4428 for ac_dir in $PATH; do 4429 IFS="$lt_save_ifs" 4430 test -z "$ac_dir" && ac_dir=. 4431 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4432 lt_cv_path_LD="$ac_dir/$ac_prog" 4433 # Check to see if the program is GNU ld. I'd rather use --version, 4434 # but apparently some variants of GNU ld only accept -v. 4435 # Break only if it was the GNU/non-GNU ld that we prefer. 4436 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4437 *GNU* | *'with BFD'*) 4438 test "$with_gnu_ld" != no && break 4439 ;; 4440 *) 4441 test "$with_gnu_ld" != yes && break 4442 ;; 4443 esac 4444 fi 4445 done 4446 IFS="$lt_save_ifs" 4447else 4448 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4449fi 4450fi 4451 4452LD="$lt_cv_path_LD" 4453if test -n "$LD"; then 4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4455$as_echo "$LD" >&6; } 4456else 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4458$as_echo "no" >&6; } 4459fi 4460test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4462$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4463if ${lt_cv_prog_gnu_ld+:} false; then : 4464 $as_echo_n "(cached) " >&6 4465else 4466 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4467case `$LD -v 2>&1 </dev/null` in 4468*GNU* | *'with BFD'*) 4469 lt_cv_prog_gnu_ld=yes 4470 ;; 4471*) 4472 lt_cv_prog_gnu_ld=no 4473 ;; 4474esac 4475fi 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4477$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4478with_gnu_ld=$lt_cv_prog_gnu_ld 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4489$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4490if ${lt_cv_path_NM+:} false; then : 4491 $as_echo_n "(cached) " >&6 4492else 4493 if test -n "$NM"; then 4494 # Let the user override the test. 4495 lt_cv_path_NM="$NM" 4496else 4497 lt_nm_to_check="${ac_tool_prefix}nm" 4498 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4499 lt_nm_to_check="$lt_nm_to_check nm" 4500 fi 4501 for lt_tmp_nm in $lt_nm_to_check; do 4502 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4503 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4504 IFS="$lt_save_ifs" 4505 test -z "$ac_dir" && ac_dir=. 4506 tmp_nm="$ac_dir/$lt_tmp_nm" 4507 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4508 # Check to see if the nm accepts a BSD-compat flag. 4509 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4510 # nm: unknown option "B" ignored 4511 # Tru64's nm complains that /dev/null is an invalid object file 4512 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4513 */dev/null* | *'Invalid file or object type'*) 4514 lt_cv_path_NM="$tmp_nm -B" 4515 break 4516 ;; 4517 *) 4518 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4519 */dev/null*) 4520 lt_cv_path_NM="$tmp_nm -p" 4521 break 4522 ;; 4523 *) 4524 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4525 continue # so that we can try to find one that supports BSD flags 4526 ;; 4527 esac 4528 ;; 4529 esac 4530 fi 4531 done 4532 IFS="$lt_save_ifs" 4533 done 4534 : ${lt_cv_path_NM=no} 4535fi 4536fi 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4538$as_echo "$lt_cv_path_NM" >&6; } 4539if test "$lt_cv_path_NM" != "no"; then 4540 NM="$lt_cv_path_NM" 4541else 4542 # Didn't find any BSD compatible name lister, look for dumpbin. 4543 if test -n "$DUMPBIN"; then : 4544 # Let the user override the test. 4545 else 4546 if test -n "$ac_tool_prefix"; then 4547 for ac_prog in dumpbin "link -dump" 4548 do 4549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4550set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4552$as_echo_n "checking for $ac_word... " >&6; } 4553if ${ac_cv_prog_DUMPBIN+:} false; then : 4554 $as_echo_n "(cached) " >&6 4555else 4556 if test -n "$DUMPBIN"; then 4557 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4558else 4559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4560for as_dir in $PATH 4561do 4562 IFS=$as_save_IFS 4563 test -z "$as_dir" && as_dir=. 4564 for ac_exec_ext in '' $ac_executable_extensions; do 4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4566 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4568 break 2 4569 fi 4570done 4571 done 4572IFS=$as_save_IFS 4573 4574fi 4575fi 4576DUMPBIN=$ac_cv_prog_DUMPBIN 4577if test -n "$DUMPBIN"; then 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4579$as_echo "$DUMPBIN" >&6; } 4580else 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4582$as_echo "no" >&6; } 4583fi 4584 4585 4586 test -n "$DUMPBIN" && break 4587 done 4588fi 4589if test -z "$DUMPBIN"; then 4590 ac_ct_DUMPBIN=$DUMPBIN 4591 for ac_prog in dumpbin "link -dump" 4592do 4593 # Extract the first word of "$ac_prog", so it can be a program name with args. 4594set dummy $ac_prog; ac_word=$2 4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4596$as_echo_n "checking for $ac_word... " >&6; } 4597if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4598 $as_echo_n "(cached) " >&6 4599else 4600 if test -n "$ac_ct_DUMPBIN"; then 4601 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4602else 4603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4604for as_dir in $PATH 4605do 4606 IFS=$as_save_IFS 4607 test -z "$as_dir" && as_dir=. 4608 for ac_exec_ext in '' $ac_executable_extensions; do 4609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4610 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4612 break 2 4613 fi 4614done 4615 done 4616IFS=$as_save_IFS 4617 4618fi 4619fi 4620ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4621if test -n "$ac_ct_DUMPBIN"; then 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4623$as_echo "$ac_ct_DUMPBIN" >&6; } 4624else 4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4626$as_echo "no" >&6; } 4627fi 4628 4629 4630 test -n "$ac_ct_DUMPBIN" && break 4631done 4632 4633 if test "x$ac_ct_DUMPBIN" = x; then 4634 DUMPBIN=":" 4635 else 4636 case $cross_compiling:$ac_tool_warned in 4637yes:) 4638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4640ac_tool_warned=yes ;; 4641esac 4642 DUMPBIN=$ac_ct_DUMPBIN 4643 fi 4644fi 4645 4646 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4647 *COFF*) 4648 DUMPBIN="$DUMPBIN -symbols" 4649 ;; 4650 *) 4651 DUMPBIN=: 4652 ;; 4653 esac 4654 fi 4655 4656 if test "$DUMPBIN" != ":"; then 4657 NM="$DUMPBIN" 4658 fi 4659fi 4660test -z "$NM" && NM=nm 4661 4662 4663 4664 4665 4666 4667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4668$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4669if ${lt_cv_nm_interface+:} false; then : 4670 $as_echo_n "(cached) " >&6 4671else 4672 lt_cv_nm_interface="BSD nm" 4673 echo "int some_variable = 0;" > conftest.$ac_ext 4674 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4675 (eval "$ac_compile" 2>conftest.err) 4676 cat conftest.err >&5 4677 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4678 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4679 cat conftest.err >&5 4680 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4681 cat conftest.out >&5 4682 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4683 lt_cv_nm_interface="MS dumpbin" 4684 fi 4685 rm -f conftest* 4686fi 4687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4688$as_echo "$lt_cv_nm_interface" >&6; } 4689 4690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4691$as_echo_n "checking whether ln -s works... " >&6; } 4692LN_S=$as_ln_s 4693if test "$LN_S" = "ln -s"; then 4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4695$as_echo "yes" >&6; } 4696else 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4698$as_echo "no, using $LN_S" >&6; } 4699fi 4700 4701# find the maximum length of command line arguments 4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4703$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4704if ${lt_cv_sys_max_cmd_len+:} false; then : 4705 $as_echo_n "(cached) " >&6 4706else 4707 i=0 4708 teststring="ABCD" 4709 4710 case $build_os in 4711 msdosdjgpp*) 4712 # On DJGPP, this test can blow up pretty badly due to problems in libc 4713 # (any single argument exceeding 2000 bytes causes a buffer overrun 4714 # during glob expansion). Even if it were fixed, the result of this 4715 # check would be larger than it should be. 4716 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4717 ;; 4718 4719 gnu*) 4720 # Under GNU Hurd, this test is not required because there is 4721 # no limit to the length of command line arguments. 4722 # Libtool will interpret -1 as no limit whatsoever 4723 lt_cv_sys_max_cmd_len=-1; 4724 ;; 4725 4726 cygwin* | mingw* | cegcc*) 4727 # On Win9x/ME, this test blows up -- it succeeds, but takes 4728 # about 5 minutes as the teststring grows exponentially. 4729 # Worse, since 9x/ME are not pre-emptively multitasking, 4730 # you end up with a "frozen" computer, even though with patience 4731 # the test eventually succeeds (with a max line length of 256k). 4732 # Instead, let's just punt: use the minimum linelength reported by 4733 # all of the supported platforms: 8192 (on NT/2K/XP). 4734 lt_cv_sys_max_cmd_len=8192; 4735 ;; 4736 4737 mint*) 4738 # On MiNT this can take a long time and run out of memory. 4739 lt_cv_sys_max_cmd_len=8192; 4740 ;; 4741 4742 amigaos*) 4743 # On AmigaOS with pdksh, this test takes hours, literally. 4744 # So we just punt and use a minimum line length of 8192. 4745 lt_cv_sys_max_cmd_len=8192; 4746 ;; 4747 4748 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4749 # This has been around since 386BSD, at least. Likely further. 4750 if test -x /sbin/sysctl; then 4751 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4752 elif test -x /usr/sbin/sysctl; then 4753 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4754 else 4755 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4756 fi 4757 # And add a safety zone 4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4760 ;; 4761 4762 interix*) 4763 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4764 lt_cv_sys_max_cmd_len=196608 4765 ;; 4766 4767 os2*) 4768 # The test takes a long time on OS/2. 4769 lt_cv_sys_max_cmd_len=8192 4770 ;; 4771 4772 osf*) 4773 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4774 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4775 # nice to cause kernel panics so lets avoid the loop below. 4776 # First set a reasonable default. 4777 lt_cv_sys_max_cmd_len=16384 4778 # 4779 if test -x /sbin/sysconfig; then 4780 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4781 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4782 esac 4783 fi 4784 ;; 4785 sco3.2v5*) 4786 lt_cv_sys_max_cmd_len=102400 4787 ;; 4788 sysv5* | sco5v6* | sysv4.2uw2*) 4789 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4790 if test -n "$kargmax"; then 4791 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4792 else 4793 lt_cv_sys_max_cmd_len=32768 4794 fi 4795 ;; 4796 *) 4797 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4798 if test -n "$lt_cv_sys_max_cmd_len"; then 4799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4801 else 4802 # Make teststring a little bigger before we do anything with it. 4803 # a 1K string should be a reasonable start. 4804 for i in 1 2 3 4 5 6 7 8 ; do 4805 teststring=$teststring$teststring 4806 done 4807 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4808 # If test is not a shell built-in, we'll probably end up computing a 4809 # maximum length that is only half of the actual maximum length, but 4810 # we can't tell. 4811 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4812 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4813 test $i != 17 # 1/2 MB should be enough 4814 do 4815 i=`expr $i + 1` 4816 teststring=$teststring$teststring 4817 done 4818 # Only check the string length outside the loop. 4819 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4820 teststring= 4821 # Add a significant safety factor because C++ compilers can tack on 4822 # massive amounts of additional arguments before passing them to the 4823 # linker. It appears as though 1/2 is a usable value. 4824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4825 fi 4826 ;; 4827 esac 4828 4829fi 4830 4831if test -n $lt_cv_sys_max_cmd_len ; then 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4833$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4834else 4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4836$as_echo "none" >&6; } 4837fi 4838max_cmd_len=$lt_cv_sys_max_cmd_len 4839 4840 4841 4842 4843 4844 4845: ${CP="cp -f"} 4846: ${MV="mv -f"} 4847: ${RM="rm -f"} 4848 4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4850$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4851# Try some XSI features 4852xsi_shell=no 4853( _lt_dummy="a/b/c" 4854 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4855 = c,a/b,b/c, \ 4856 && eval 'test $(( 1 + 1 )) -eq 2 \ 4857 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4858 && xsi_shell=yes 4859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4860$as_echo "$xsi_shell" >&6; } 4861 4862 4863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4864$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4865lt_shell_append=no 4866( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4867 >/dev/null 2>&1 \ 4868 && lt_shell_append=yes 4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4870$as_echo "$lt_shell_append" >&6; } 4871 4872 4873if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4874 lt_unset=unset 4875else 4876 lt_unset=false 4877fi 4878 4879 4880 4881 4882 4883# test EBCDIC or ASCII 4884case `echo X|tr X '\101'` in 4885 A) # ASCII based system 4886 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4887 lt_SP2NL='tr \040 \012' 4888 lt_NL2SP='tr \015\012 \040\040' 4889 ;; 4890 *) # EBCDIC based system 4891 lt_SP2NL='tr \100 \n' 4892 lt_NL2SP='tr \r\n \100\100' 4893 ;; 4894esac 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4905$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4906if ${lt_cv_to_host_file_cmd+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 case $host in 4910 *-*-mingw* ) 4911 case $build in 4912 *-*-mingw* ) # actually msys 4913 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4914 ;; 4915 *-*-cygwin* ) 4916 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4917 ;; 4918 * ) # otherwise, assume *nix 4919 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4920 ;; 4921 esac 4922 ;; 4923 *-*-cygwin* ) 4924 case $build in 4925 *-*-mingw* ) # actually msys 4926 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4927 ;; 4928 *-*-cygwin* ) 4929 lt_cv_to_host_file_cmd=func_convert_file_noop 4930 ;; 4931 * ) # otherwise, assume *nix 4932 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4933 ;; 4934 esac 4935 ;; 4936 * ) # unhandled hosts (and "normal" native builds) 4937 lt_cv_to_host_file_cmd=func_convert_file_noop 4938 ;; 4939esac 4940 4941fi 4942 4943to_host_file_cmd=$lt_cv_to_host_file_cmd 4944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4945$as_echo "$lt_cv_to_host_file_cmd" >&6; } 4946 4947 4948 4949 4950 4951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4952$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4953if ${lt_cv_to_tool_file_cmd+:} false; then : 4954 $as_echo_n "(cached) " >&6 4955else 4956 #assume ordinary cross tools, or native build. 4957lt_cv_to_tool_file_cmd=func_convert_file_noop 4958case $host in 4959 *-*-mingw* ) 4960 case $build in 4961 *-*-mingw* ) # actually msys 4962 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 4963 ;; 4964 esac 4965 ;; 4966esac 4967 4968fi 4969 4970to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4972$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 4973 4974 4975 4976 4977 4978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4979$as_echo_n "checking for $LD option to reload object files... " >&6; } 4980if ${lt_cv_ld_reload_flag+:} false; then : 4981 $as_echo_n "(cached) " >&6 4982else 4983 lt_cv_ld_reload_flag='-r' 4984fi 4985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4986$as_echo "$lt_cv_ld_reload_flag" >&6; } 4987reload_flag=$lt_cv_ld_reload_flag 4988case $reload_flag in 4989"" | " "*) ;; 4990*) reload_flag=" $reload_flag" ;; 4991esac 4992reload_cmds='$LD$reload_flag -o $output$reload_objs' 4993case $host_os in 4994 cygwin* | mingw* | pw32* | cegcc*) 4995 if test "$GCC" != yes; then 4996 reload_cmds=false 4997 fi 4998 ;; 4999 darwin*) 5000 if test "$GCC" = yes; then 5001 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5002 else 5003 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5004 fi 5005 ;; 5006esac 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016if test -n "$ac_tool_prefix"; then 5017 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5018set dummy ${ac_tool_prefix}objdump; ac_word=$2 5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5020$as_echo_n "checking for $ac_word... " >&6; } 5021if ${ac_cv_prog_OBJDUMP+:} false; then : 5022 $as_echo_n "(cached) " >&6 5023else 5024 if test -n "$OBJDUMP"; then 5025 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5026else 5027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5028for as_dir in $PATH 5029do 5030 IFS=$as_save_IFS 5031 test -z "$as_dir" && as_dir=. 5032 for ac_exec_ext in '' $ac_executable_extensions; do 5033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5034 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5036 break 2 5037 fi 5038done 5039 done 5040IFS=$as_save_IFS 5041 5042fi 5043fi 5044OBJDUMP=$ac_cv_prog_OBJDUMP 5045if test -n "$OBJDUMP"; then 5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5047$as_echo "$OBJDUMP" >&6; } 5048else 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5050$as_echo "no" >&6; } 5051fi 5052 5053 5054fi 5055if test -z "$ac_cv_prog_OBJDUMP"; then 5056 ac_ct_OBJDUMP=$OBJDUMP 5057 # Extract the first word of "objdump", so it can be a program name with args. 5058set dummy objdump; ac_word=$2 5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5060$as_echo_n "checking for $ac_word... " >&6; } 5061if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5062 $as_echo_n "(cached) " >&6 5063else 5064 if test -n "$ac_ct_OBJDUMP"; then 5065 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5066else 5067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5068for as_dir in $PATH 5069do 5070 IFS=$as_save_IFS 5071 test -z "$as_dir" && as_dir=. 5072 for ac_exec_ext in '' $ac_executable_extensions; do 5073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5074 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5076 break 2 5077 fi 5078done 5079 done 5080IFS=$as_save_IFS 5081 5082fi 5083fi 5084ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5085if test -n "$ac_ct_OBJDUMP"; then 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5087$as_echo "$ac_ct_OBJDUMP" >&6; } 5088else 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5090$as_echo "no" >&6; } 5091fi 5092 5093 if test "x$ac_ct_OBJDUMP" = x; then 5094 OBJDUMP="false" 5095 else 5096 case $cross_compiling:$ac_tool_warned in 5097yes:) 5098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5100ac_tool_warned=yes ;; 5101esac 5102 OBJDUMP=$ac_ct_OBJDUMP 5103 fi 5104else 5105 OBJDUMP="$ac_cv_prog_OBJDUMP" 5106fi 5107 5108test -z "$OBJDUMP" && OBJDUMP=objdump 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5119$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5120if ${lt_cv_deplibs_check_method+:} false; then : 5121 $as_echo_n "(cached) " >&6 5122else 5123 lt_cv_file_magic_cmd='$MAGIC_CMD' 5124lt_cv_file_magic_test_file= 5125lt_cv_deplibs_check_method='unknown' 5126# Need to set the preceding variable on all platforms that support 5127# interlibrary dependencies. 5128# 'none' -- dependencies not supported. 5129# `unknown' -- same as none, but documents that we really don't know. 5130# 'pass_all' -- all dependencies passed with no checks. 5131# 'test_compile' -- check by making test program. 5132# 'file_magic [[regex]]' -- check by looking for files in library path 5133# which responds to the $file_magic_cmd with a given extended regex. 5134# If you have `file' or equivalent on your system and you're not sure 5135# whether `pass_all' will *always* work, you probably want this one. 5136 5137case $host_os in 5138aix[4-9]*) 5139 lt_cv_deplibs_check_method=pass_all 5140 ;; 5141 5142beos*) 5143 lt_cv_deplibs_check_method=pass_all 5144 ;; 5145 5146bsdi[45]*) 5147 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5148 lt_cv_file_magic_cmd='/usr/bin/file -L' 5149 lt_cv_file_magic_test_file=/shlib/libc.so 5150 ;; 5151 5152cygwin*) 5153 # func_win32_libid is a shell function defined in ltmain.sh 5154 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5155 lt_cv_file_magic_cmd='func_win32_libid' 5156 ;; 5157 5158mingw* | pw32*) 5159 # Base MSYS/MinGW do not provide the 'file' command needed by 5160 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5161 # unless we find 'file', for example because we are cross-compiling. 5162 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5163 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5164 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5165 lt_cv_file_magic_cmd='func_win32_libid' 5166 else 5167 # Keep this pattern in sync with the one in func_win32_libid. 5168 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5169 lt_cv_file_magic_cmd='$OBJDUMP -f' 5170 fi 5171 ;; 5172 5173cegcc*) 5174 # use the weaker test based on 'objdump'. See mingw*. 5175 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5176 lt_cv_file_magic_cmd='$OBJDUMP -f' 5177 ;; 5178 5179darwin* | rhapsody*) 5180 lt_cv_deplibs_check_method=pass_all 5181 ;; 5182 5183freebsd* | dragonfly*) 5184 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5185 case $host_cpu in 5186 i*86 ) 5187 # Not sure whether the presence of OpenBSD here was a mistake. 5188 # Let's accept both of them until this is cleared up. 5189 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5190 lt_cv_file_magic_cmd=/usr/bin/file 5191 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5192 ;; 5193 esac 5194 else 5195 lt_cv_deplibs_check_method=pass_all 5196 fi 5197 ;; 5198 5199haiku*) 5200 lt_cv_deplibs_check_method=pass_all 5201 ;; 5202 5203hpux10.20* | hpux11*) 5204 lt_cv_file_magic_cmd=/usr/bin/file 5205 case $host_cpu in 5206 ia64*) 5207 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5208 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5209 ;; 5210 hppa*64*) 5211 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]' 5212 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5213 ;; 5214 *) 5215 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5216 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5217 ;; 5218 esac 5219 ;; 5220 5221interix[3-9]*) 5222 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5223 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5224 ;; 5225 5226irix5* | irix6* | nonstopux*) 5227 case $LD in 5228 *-32|*"-32 ") libmagic=32-bit;; 5229 *-n32|*"-n32 ") libmagic=N32;; 5230 *-64|*"-64 ") libmagic=64-bit;; 5231 *) libmagic=never-match;; 5232 esac 5233 lt_cv_deplibs_check_method=pass_all 5234 ;; 5235 5236# This must be glibc/ELF. 5237linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5238 lt_cv_deplibs_check_method=pass_all 5239 ;; 5240 5241netbsd* | netbsdelf*-gnu) 5242 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5244 else 5245 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5246 fi 5247 ;; 5248 5249newos6*) 5250 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5251 lt_cv_file_magic_cmd=/usr/bin/file 5252 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5253 ;; 5254 5255*nto* | *qnx*) 5256 lt_cv_deplibs_check_method=pass_all 5257 ;; 5258 5259openbsd*) 5260 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5262 else 5263 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5264 fi 5265 ;; 5266 5267osf3* | osf4* | osf5*) 5268 lt_cv_deplibs_check_method=pass_all 5269 ;; 5270 5271rdos*) 5272 lt_cv_deplibs_check_method=pass_all 5273 ;; 5274 5275solaris*) 5276 lt_cv_deplibs_check_method=pass_all 5277 ;; 5278 5279sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5280 lt_cv_deplibs_check_method=pass_all 5281 ;; 5282 5283sysv4 | sysv4.3*) 5284 case $host_vendor in 5285 motorola) 5286 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]' 5287 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5288 ;; 5289 ncr) 5290 lt_cv_deplibs_check_method=pass_all 5291 ;; 5292 sequent) 5293 lt_cv_file_magic_cmd='/bin/file' 5294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5295 ;; 5296 sni) 5297 lt_cv_file_magic_cmd='/bin/file' 5298 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5299 lt_cv_file_magic_test_file=/lib/libc.so 5300 ;; 5301 siemens) 5302 lt_cv_deplibs_check_method=pass_all 5303 ;; 5304 pc) 5305 lt_cv_deplibs_check_method=pass_all 5306 ;; 5307 esac 5308 ;; 5309 5310tpf*) 5311 lt_cv_deplibs_check_method=pass_all 5312 ;; 5313esac 5314 5315fi 5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5317$as_echo "$lt_cv_deplibs_check_method" >&6; } 5318 5319file_magic_glob= 5320want_nocaseglob=no 5321if test "$build" = "$host"; then 5322 case $host_os in 5323 mingw* | pw32*) 5324 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5325 want_nocaseglob=yes 5326 else 5327 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5328 fi 5329 ;; 5330 esac 5331fi 5332 5333file_magic_cmd=$lt_cv_file_magic_cmd 5334deplibs_check_method=$lt_cv_deplibs_check_method 5335test -z "$deplibs_check_method" && deplibs_check_method=unknown 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358if test -n "$ac_tool_prefix"; then 5359 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5360set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5362$as_echo_n "checking for $ac_word... " >&6; } 5363if ${ac_cv_prog_DLLTOOL+:} false; then : 5364 $as_echo_n "(cached) " >&6 5365else 5366 if test -n "$DLLTOOL"; then 5367 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5368else 5369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5370for as_dir in $PATH 5371do 5372 IFS=$as_save_IFS 5373 test -z "$as_dir" && as_dir=. 5374 for ac_exec_ext in '' $ac_executable_extensions; do 5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5376 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5378 break 2 5379 fi 5380done 5381 done 5382IFS=$as_save_IFS 5383 5384fi 5385fi 5386DLLTOOL=$ac_cv_prog_DLLTOOL 5387if test -n "$DLLTOOL"; then 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5389$as_echo "$DLLTOOL" >&6; } 5390else 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5392$as_echo "no" >&6; } 5393fi 5394 5395 5396fi 5397if test -z "$ac_cv_prog_DLLTOOL"; then 5398 ac_ct_DLLTOOL=$DLLTOOL 5399 # Extract the first word of "dlltool", so it can be a program name with args. 5400set dummy dlltool; ac_word=$2 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5402$as_echo_n "checking for $ac_word... " >&6; } 5403if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5404 $as_echo_n "(cached) " >&6 5405else 5406 if test -n "$ac_ct_DLLTOOL"; then 5407 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5408else 5409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5410for as_dir in $PATH 5411do 5412 IFS=$as_save_IFS 5413 test -z "$as_dir" && as_dir=. 5414 for ac_exec_ext in '' $ac_executable_extensions; do 5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5416 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5418 break 2 5419 fi 5420done 5421 done 5422IFS=$as_save_IFS 5423 5424fi 5425fi 5426ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5427if test -n "$ac_ct_DLLTOOL"; then 5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5429$as_echo "$ac_ct_DLLTOOL" >&6; } 5430else 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5432$as_echo "no" >&6; } 5433fi 5434 5435 if test "x$ac_ct_DLLTOOL" = x; then 5436 DLLTOOL="false" 5437 else 5438 case $cross_compiling:$ac_tool_warned in 5439yes:) 5440{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5441$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5442ac_tool_warned=yes ;; 5443esac 5444 DLLTOOL=$ac_ct_DLLTOOL 5445 fi 5446else 5447 DLLTOOL="$ac_cv_prog_DLLTOOL" 5448fi 5449 5450test -z "$DLLTOOL" && DLLTOOL=dlltool 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5462$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5463if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5464 $as_echo_n "(cached) " >&6 5465else 5466 lt_cv_sharedlib_from_linklib_cmd='unknown' 5467 5468case $host_os in 5469cygwin* | mingw* | pw32* | cegcc*) 5470 # two different shell functions defined in ltmain.sh 5471 # decide which to use based on capabilities of $DLLTOOL 5472 case `$DLLTOOL --help 2>&1` in 5473 *--identify-strict*) 5474 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5475 ;; 5476 *) 5477 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5478 ;; 5479 esac 5480 ;; 5481*) 5482 # fallback: assume linklib IS sharedlib 5483 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5484 ;; 5485esac 5486 5487fi 5488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5489$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5490sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5491test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5492 5493 5494 5495 5496 5497 5498 5499 5500if test -n "$ac_tool_prefix"; then 5501 for ac_prog in ar 5502 do 5503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5504set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5506$as_echo_n "checking for $ac_word... " >&6; } 5507if ${ac_cv_prog_AR+:} false; then : 5508 $as_echo_n "(cached) " >&6 5509else 5510 if test -n "$AR"; then 5511 ac_cv_prog_AR="$AR" # Let the user override the test. 5512else 5513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5514for as_dir in $PATH 5515do 5516 IFS=$as_save_IFS 5517 test -z "$as_dir" && as_dir=. 5518 for ac_exec_ext in '' $ac_executable_extensions; do 5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5520 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5522 break 2 5523 fi 5524done 5525 done 5526IFS=$as_save_IFS 5527 5528fi 5529fi 5530AR=$ac_cv_prog_AR 5531if test -n "$AR"; then 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5533$as_echo "$AR" >&6; } 5534else 5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5536$as_echo "no" >&6; } 5537fi 5538 5539 5540 test -n "$AR" && break 5541 done 5542fi 5543if test -z "$AR"; then 5544 ac_ct_AR=$AR 5545 for ac_prog in ar 5546do 5547 # Extract the first word of "$ac_prog", so it can be a program name with args. 5548set dummy $ac_prog; ac_word=$2 5549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5550$as_echo_n "checking for $ac_word... " >&6; } 5551if ${ac_cv_prog_ac_ct_AR+:} false; then : 5552 $as_echo_n "(cached) " >&6 5553else 5554 if test -n "$ac_ct_AR"; then 5555 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5556else 5557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5558for as_dir in $PATH 5559do 5560 IFS=$as_save_IFS 5561 test -z "$as_dir" && as_dir=. 5562 for ac_exec_ext in '' $ac_executable_extensions; do 5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5564 ac_cv_prog_ac_ct_AR="$ac_prog" 5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5566 break 2 5567 fi 5568done 5569 done 5570IFS=$as_save_IFS 5571 5572fi 5573fi 5574ac_ct_AR=$ac_cv_prog_ac_ct_AR 5575if test -n "$ac_ct_AR"; then 5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5577$as_echo "$ac_ct_AR" >&6; } 5578else 5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5580$as_echo "no" >&6; } 5581fi 5582 5583 5584 test -n "$ac_ct_AR" && break 5585done 5586 5587 if test "x$ac_ct_AR" = x; then 5588 AR="false" 5589 else 5590 case $cross_compiling:$ac_tool_warned in 5591yes:) 5592{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5593$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5594ac_tool_warned=yes ;; 5595esac 5596 AR=$ac_ct_AR 5597 fi 5598fi 5599 5600: ${AR=ar} 5601: ${AR_FLAGS=cru} 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5614$as_echo_n "checking for archiver @FILE support... " >&6; } 5615if ${lt_cv_ar_at_file+:} false; then : 5616 $as_echo_n "(cached) " >&6 5617else 5618 lt_cv_ar_at_file=no 5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5620/* end confdefs.h. */ 5621 5622int 5623main () 5624{ 5625 5626 ; 5627 return 0; 5628} 5629_ACEOF 5630if ac_fn_c_try_compile "$LINENO"; then : 5631 echo conftest.$ac_objext > conftest.lst 5632 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5633 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5634 (eval $lt_ar_try) 2>&5 5635 ac_status=$? 5636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5637 test $ac_status = 0; } 5638 if test "$ac_status" -eq 0; then 5639 # Ensure the archiver fails upon bogus file names. 5640 rm -f conftest.$ac_objext libconftest.a 5641 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5642 (eval $lt_ar_try) 2>&5 5643 ac_status=$? 5644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5645 test $ac_status = 0; } 5646 if test "$ac_status" -ne 0; then 5647 lt_cv_ar_at_file=@ 5648 fi 5649 fi 5650 rm -f conftest.* libconftest.a 5651 5652fi 5653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5654 5655fi 5656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5657$as_echo "$lt_cv_ar_at_file" >&6; } 5658 5659if test "x$lt_cv_ar_at_file" = xno; then 5660 archiver_list_spec= 5661else 5662 archiver_list_spec=$lt_cv_ar_at_file 5663fi 5664 5665 5666 5667 5668 5669 5670 5671if test -n "$ac_tool_prefix"; then 5672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5673set dummy ${ac_tool_prefix}strip; ac_word=$2 5674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5675$as_echo_n "checking for $ac_word... " >&6; } 5676if ${ac_cv_prog_STRIP+:} false; then : 5677 $as_echo_n "(cached) " >&6 5678else 5679 if test -n "$STRIP"; then 5680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5681else 5682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5683for as_dir in $PATH 5684do 5685 IFS=$as_save_IFS 5686 test -z "$as_dir" && as_dir=. 5687 for ac_exec_ext in '' $ac_executable_extensions; do 5688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5689 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5691 break 2 5692 fi 5693done 5694 done 5695IFS=$as_save_IFS 5696 5697fi 5698fi 5699STRIP=$ac_cv_prog_STRIP 5700if test -n "$STRIP"; then 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5702$as_echo "$STRIP" >&6; } 5703else 5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5705$as_echo "no" >&6; } 5706fi 5707 5708 5709fi 5710if test -z "$ac_cv_prog_STRIP"; then 5711 ac_ct_STRIP=$STRIP 5712 # Extract the first word of "strip", so it can be a program name with args. 5713set dummy strip; ac_word=$2 5714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5715$as_echo_n "checking for $ac_word... " >&6; } 5716if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5717 $as_echo_n "(cached) " >&6 5718else 5719 if test -n "$ac_ct_STRIP"; then 5720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5721else 5722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5723for as_dir in $PATH 5724do 5725 IFS=$as_save_IFS 5726 test -z "$as_dir" && as_dir=. 5727 for ac_exec_ext in '' $ac_executable_extensions; do 5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5729 ac_cv_prog_ac_ct_STRIP="strip" 5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5731 break 2 5732 fi 5733done 5734 done 5735IFS=$as_save_IFS 5736 5737fi 5738fi 5739ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5740if test -n "$ac_ct_STRIP"; then 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5742$as_echo "$ac_ct_STRIP" >&6; } 5743else 5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5745$as_echo "no" >&6; } 5746fi 5747 5748 if test "x$ac_ct_STRIP" = x; then 5749 STRIP=":" 5750 else 5751 case $cross_compiling:$ac_tool_warned in 5752yes:) 5753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5755ac_tool_warned=yes ;; 5756esac 5757 STRIP=$ac_ct_STRIP 5758 fi 5759else 5760 STRIP="$ac_cv_prog_STRIP" 5761fi 5762 5763test -z "$STRIP" && STRIP=: 5764 5765 5766 5767 5768 5769 5770if test -n "$ac_tool_prefix"; then 5771 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5772set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5774$as_echo_n "checking for $ac_word... " >&6; } 5775if ${ac_cv_prog_RANLIB+:} false; then : 5776 $as_echo_n "(cached) " >&6 5777else 5778 if test -n "$RANLIB"; then 5779 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5780else 5781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5782for as_dir in $PATH 5783do 5784 IFS=$as_save_IFS 5785 test -z "$as_dir" && as_dir=. 5786 for ac_exec_ext in '' $ac_executable_extensions; do 5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5788 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5790 break 2 5791 fi 5792done 5793 done 5794IFS=$as_save_IFS 5795 5796fi 5797fi 5798RANLIB=$ac_cv_prog_RANLIB 5799if test -n "$RANLIB"; then 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5801$as_echo "$RANLIB" >&6; } 5802else 5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5804$as_echo "no" >&6; } 5805fi 5806 5807 5808fi 5809if test -z "$ac_cv_prog_RANLIB"; then 5810 ac_ct_RANLIB=$RANLIB 5811 # Extract the first word of "ranlib", so it can be a program name with args. 5812set dummy ranlib; ac_word=$2 5813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5814$as_echo_n "checking for $ac_word... " >&6; } 5815if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5816 $as_echo_n "(cached) " >&6 5817else 5818 if test -n "$ac_ct_RANLIB"; then 5819 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5820else 5821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5822for as_dir in $PATH 5823do 5824 IFS=$as_save_IFS 5825 test -z "$as_dir" && as_dir=. 5826 for ac_exec_ext in '' $ac_executable_extensions; do 5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5828 ac_cv_prog_ac_ct_RANLIB="ranlib" 5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5830 break 2 5831 fi 5832done 5833 done 5834IFS=$as_save_IFS 5835 5836fi 5837fi 5838ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5839if test -n "$ac_ct_RANLIB"; then 5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5841$as_echo "$ac_ct_RANLIB" >&6; } 5842else 5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5844$as_echo "no" >&6; } 5845fi 5846 5847 if test "x$ac_ct_RANLIB" = x; then 5848 RANLIB=":" 5849 else 5850 case $cross_compiling:$ac_tool_warned in 5851yes:) 5852{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5853$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5854ac_tool_warned=yes ;; 5855esac 5856 RANLIB=$ac_ct_RANLIB 5857 fi 5858else 5859 RANLIB="$ac_cv_prog_RANLIB" 5860fi 5861 5862test -z "$RANLIB" && RANLIB=: 5863 5864 5865 5866 5867 5868 5869# Determine commands to create old-style static archives. 5870old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5871old_postinstall_cmds='chmod 644 $oldlib' 5872old_postuninstall_cmds= 5873 5874if test -n "$RANLIB"; then 5875 case $host_os in 5876 openbsd*) 5877 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5878 ;; 5879 *) 5880 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5881 ;; 5882 esac 5883 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5884fi 5885 5886case $host_os in 5887 darwin*) 5888 lock_old_archive_extraction=yes ;; 5889 *) 5890 lock_old_archive_extraction=no ;; 5891esac 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931# If no C compiler was specified, use CC. 5932LTCC=${LTCC-"$CC"} 5933 5934# If no C compiler flags were specified, use CFLAGS. 5935LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5936 5937# Allow CC to be a program name with arguments. 5938compiler=$CC 5939 5940 5941# Check for command to grab the raw symbol name followed by C symbol from nm. 5942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5943$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5944if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5945 $as_echo_n "(cached) " >&6 5946else 5947 5948# These are sane defaults that work on at least a few old systems. 5949# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5950 5951# Character class describing NM global symbol codes. 5952symcode='[BCDEGRST]' 5953 5954# Regexp to match symbols that can be accessed directly from C. 5955sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5956 5957# Define system-specific variables. 5958case $host_os in 5959aix*) 5960 symcode='[BCDT]' 5961 ;; 5962cygwin* | mingw* | pw32* | cegcc*) 5963 symcode='[ABCDGISTW]' 5964 ;; 5965hpux*) 5966 if test "$host_cpu" = ia64; then 5967 symcode='[ABCDEGRST]' 5968 fi 5969 ;; 5970irix* | nonstopux*) 5971 symcode='[BCDEGRST]' 5972 ;; 5973osf*) 5974 symcode='[BCDEGQRST]' 5975 ;; 5976solaris*) 5977 symcode='[BDRT]' 5978 ;; 5979sco3.2v5*) 5980 symcode='[DT]' 5981 ;; 5982sysv4.2uw2*) 5983 symcode='[DT]' 5984 ;; 5985sysv5* | sco5v6* | unixware* | OpenUNIX*) 5986 symcode='[ABDT]' 5987 ;; 5988sysv4) 5989 symcode='[DFNSTU]' 5990 ;; 5991esac 5992 5993# If we're using GNU nm, then use its standard symbol codes. 5994case `$NM -V 2>&1` in 5995*GNU* | *'with BFD'*) 5996 symcode='[ABCDGIRSTW]' ;; 5997esac 5998 5999# Transform an extracted symbol line into a proper C declaration. 6000# Some systems (esp. on ia64) link data and code symbols differently, 6001# so use this general approach. 6002lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6003 6004# Transform an extracted symbol line into symbol name and symbol address 6005lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6006lt_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'" 6007 6008# Handle CRLF in mingw tool chain 6009opt_cr= 6010case $build_os in 6011mingw*) 6012 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6013 ;; 6014esac 6015 6016# Try without a prefix underscore, then with it. 6017for ac_symprfx in "" "_"; do 6018 6019 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6020 symxfrm="\\1 $ac_symprfx\\2 \\2" 6021 6022 # Write the raw and C identifiers. 6023 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6024 # Fake it for dumpbin and say T for any non-static function 6025 # and D for any global variable. 6026 # Also find C++ and __fastcall symbols from MSVC++, 6027 # which start with @ or ?. 6028 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6029" {last_section=section; section=\$ 3};"\ 6030" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6031" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6032" \$ 0!~/External *\|/{next};"\ 6033" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6034" {if(hide[section]) next};"\ 6035" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6036" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6037" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6038" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6039" ' prfx=^$ac_symprfx" 6040 else 6041 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6042 fi 6043 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6044 6045 # Check to see that the pipe works correctly. 6046 pipe_works=no 6047 6048 rm -f conftest* 6049 cat > conftest.$ac_ext <<_LT_EOF 6050#ifdef __cplusplus 6051extern "C" { 6052#endif 6053char nm_test_var; 6054void nm_test_func(void); 6055void nm_test_func(void){} 6056#ifdef __cplusplus 6057} 6058#endif 6059int main(){nm_test_var='a';nm_test_func();return(0);} 6060_LT_EOF 6061 6062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6063 (eval $ac_compile) 2>&5 6064 ac_status=$? 6065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6066 test $ac_status = 0; }; then 6067 # Now try to grab the symbols. 6068 nlist=conftest.nm 6069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6070 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6071 ac_status=$? 6072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6073 test $ac_status = 0; } && test -s "$nlist"; then 6074 # Try sorting and uniquifying the output. 6075 if sort "$nlist" | uniq > "$nlist"T; then 6076 mv -f "$nlist"T "$nlist" 6077 else 6078 rm -f "$nlist"T 6079 fi 6080 6081 # Make sure that we snagged all the symbols we need. 6082 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6083 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6084 cat <<_LT_EOF > conftest.$ac_ext 6085/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6086#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6087/* DATA imports from DLLs on WIN32 con't be const, because runtime 6088 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6089# define LT_DLSYM_CONST 6090#elif defined(__osf__) 6091/* This system does not cope well with relocations in const data. */ 6092# define LT_DLSYM_CONST 6093#else 6094# define LT_DLSYM_CONST const 6095#endif 6096 6097#ifdef __cplusplus 6098extern "C" { 6099#endif 6100 6101_LT_EOF 6102 # Now generate the symbol file. 6103 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6104 6105 cat <<_LT_EOF >> conftest.$ac_ext 6106 6107/* The mapping between symbol names and symbols. */ 6108LT_DLSYM_CONST struct { 6109 const char *name; 6110 void *address; 6111} 6112lt__PROGRAM__LTX_preloaded_symbols[] = 6113{ 6114 { "@PROGRAM@", (void *) 0 }, 6115_LT_EOF 6116 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6117 cat <<\_LT_EOF >> conftest.$ac_ext 6118 {0, (void *) 0} 6119}; 6120 6121/* This works around a problem in FreeBSD linker */ 6122#ifdef FREEBSD_WORKAROUND 6123static const void *lt_preloaded_setup() { 6124 return lt__PROGRAM__LTX_preloaded_symbols; 6125} 6126#endif 6127 6128#ifdef __cplusplus 6129} 6130#endif 6131_LT_EOF 6132 # Now try linking the two files. 6133 mv conftest.$ac_objext conftstm.$ac_objext 6134 lt_globsym_save_LIBS=$LIBS 6135 lt_globsym_save_CFLAGS=$CFLAGS 6136 LIBS="conftstm.$ac_objext" 6137 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6139 (eval $ac_link) 2>&5 6140 ac_status=$? 6141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6142 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6143 pipe_works=yes 6144 fi 6145 LIBS=$lt_globsym_save_LIBS 6146 CFLAGS=$lt_globsym_save_CFLAGS 6147 else 6148 echo "cannot find nm_test_func in $nlist" >&5 6149 fi 6150 else 6151 echo "cannot find nm_test_var in $nlist" >&5 6152 fi 6153 else 6154 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6155 fi 6156 else 6157 echo "$progname: failed program was:" >&5 6158 cat conftest.$ac_ext >&5 6159 fi 6160 rm -rf conftest* conftst* 6161 6162 # Do not use the global_symbol_pipe unless it works. 6163 if test "$pipe_works" = yes; then 6164 break 6165 else 6166 lt_cv_sys_global_symbol_pipe= 6167 fi 6168done 6169 6170fi 6171 6172if test -z "$lt_cv_sys_global_symbol_pipe"; then 6173 lt_cv_sys_global_symbol_to_cdecl= 6174fi 6175if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6177$as_echo "failed" >&6; } 6178else 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6180$as_echo "ok" >&6; } 6181fi 6182 6183# Response file support. 6184if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6185 nm_file_list_spec='@' 6186elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6187 nm_file_list_spec='@' 6188fi 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6217$as_echo_n "checking for sysroot... " >&6; } 6218 6219# Check whether --with-sysroot was given. 6220if test "${with_sysroot+set}" = set; then : 6221 withval=$with_sysroot; 6222else 6223 with_sysroot=no 6224fi 6225 6226 6227lt_sysroot= 6228case ${with_sysroot} in #( 6229 yes) 6230 if test "$GCC" = yes; then 6231 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6232 fi 6233 ;; #( 6234 /*) 6235 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6236 ;; #( 6237 no|'') 6238 ;; #( 6239 *) 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6241$as_echo "${with_sysroot}" >&6; } 6242 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6243 ;; 6244esac 6245 6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6247$as_echo "${lt_sysroot:-no}" >&6; } 6248 6249 6250 6251 6252 6253# Check whether --enable-libtool-lock was given. 6254if test "${enable_libtool_lock+set}" = set; then : 6255 enableval=$enable_libtool_lock; 6256fi 6257 6258test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6259 6260# Some flags need to be propagated to the compiler or linker for good 6261# libtool support. 6262case $host in 6263ia64-*-hpux*) 6264 # Find out which ABI we are using. 6265 echo 'int i;' > conftest.$ac_ext 6266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6267 (eval $ac_compile) 2>&5 6268 ac_status=$? 6269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6270 test $ac_status = 0; }; then 6271 case `/usr/bin/file conftest.$ac_objext` in 6272 *ELF-32*) 6273 HPUX_IA64_MODE="32" 6274 ;; 6275 *ELF-64*) 6276 HPUX_IA64_MODE="64" 6277 ;; 6278 esac 6279 fi 6280 rm -rf conftest* 6281 ;; 6282*-*-irix6*) 6283 # Find out which ABI we are using. 6284 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6286 (eval $ac_compile) 2>&5 6287 ac_status=$? 6288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6289 test $ac_status = 0; }; then 6290 if test "$lt_cv_prog_gnu_ld" = yes; then 6291 case `/usr/bin/file conftest.$ac_objext` in 6292 *32-bit*) 6293 LD="${LD-ld} -melf32bsmip" 6294 ;; 6295 *N32*) 6296 LD="${LD-ld} -melf32bmipn32" 6297 ;; 6298 *64-bit*) 6299 LD="${LD-ld} -melf64bmip" 6300 ;; 6301 esac 6302 else 6303 case `/usr/bin/file conftest.$ac_objext` in 6304 *32-bit*) 6305 LD="${LD-ld} -32" 6306 ;; 6307 *N32*) 6308 LD="${LD-ld} -n32" 6309 ;; 6310 *64-bit*) 6311 LD="${LD-ld} -64" 6312 ;; 6313 esac 6314 fi 6315 fi 6316 rm -rf conftest* 6317 ;; 6318 6319x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6320s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6321 # Find out which ABI we are using. 6322 echo 'int i;' > conftest.$ac_ext 6323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6324 (eval $ac_compile) 2>&5 6325 ac_status=$? 6326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6327 test $ac_status = 0; }; then 6328 case `/usr/bin/file conftest.o` in 6329 *32-bit*) 6330 case $host in 6331 x86_64-*kfreebsd*-gnu) 6332 LD="${LD-ld} -m elf_i386_fbsd" 6333 ;; 6334 x86_64-*linux*) 6335 LD="${LD-ld} -m elf_i386" 6336 ;; 6337 ppc64-*linux*|powerpc64-*linux*) 6338 LD="${LD-ld} -m elf32ppclinux" 6339 ;; 6340 s390x-*linux*) 6341 LD="${LD-ld} -m elf_s390" 6342 ;; 6343 sparc64-*linux*) 6344 LD="${LD-ld} -m elf32_sparc" 6345 ;; 6346 esac 6347 ;; 6348 *64-bit*) 6349 case $host in 6350 x86_64-*kfreebsd*-gnu) 6351 LD="${LD-ld} -m elf_x86_64_fbsd" 6352 ;; 6353 x86_64-*linux*) 6354 LD="${LD-ld} -m elf_x86_64" 6355 ;; 6356 ppc*-*linux*|powerpc*-*linux*) 6357 LD="${LD-ld} -m elf64ppc" 6358 ;; 6359 s390*-*linux*|s390*-*tpf*) 6360 LD="${LD-ld} -m elf64_s390" 6361 ;; 6362 sparc*-*linux*) 6363 LD="${LD-ld} -m elf64_sparc" 6364 ;; 6365 esac 6366 ;; 6367 esac 6368 fi 6369 rm -rf conftest* 6370 ;; 6371 6372*-*-sco3.2v5*) 6373 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6374 SAVE_CFLAGS="$CFLAGS" 6375 CFLAGS="$CFLAGS -belf" 6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6377$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6378if ${lt_cv_cc_needs_belf+:} false; then : 6379 $as_echo_n "(cached) " >&6 6380else 6381 ac_ext=c 6382ac_cpp='$CPP $CPPFLAGS' 6383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6385ac_compiler_gnu=$ac_cv_c_compiler_gnu 6386 6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6388/* end confdefs.h. */ 6389 6390int 6391main () 6392{ 6393 6394 ; 6395 return 0; 6396} 6397_ACEOF 6398if ac_fn_c_try_link "$LINENO"; then : 6399 lt_cv_cc_needs_belf=yes 6400else 6401 lt_cv_cc_needs_belf=no 6402fi 6403rm -f core conftest.err conftest.$ac_objext \ 6404 conftest$ac_exeext conftest.$ac_ext 6405 ac_ext=c 6406ac_cpp='$CPP $CPPFLAGS' 6407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6409ac_compiler_gnu=$ac_cv_c_compiler_gnu 6410 6411fi 6412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6413$as_echo "$lt_cv_cc_needs_belf" >&6; } 6414 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6415 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6416 CFLAGS="$SAVE_CFLAGS" 6417 fi 6418 ;; 6419*-*solaris*) 6420 # Find out which ABI we are using. 6421 echo 'int i;' > conftest.$ac_ext 6422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6423 (eval $ac_compile) 2>&5 6424 ac_status=$? 6425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6426 test $ac_status = 0; }; then 6427 case `/usr/bin/file conftest.o` in 6428 *64-bit*) 6429 case $lt_cv_prog_gnu_ld in 6430 yes*) 6431 case $host in 6432 i?86-*-solaris*) 6433 LD="${LD-ld} -m elf_x86_64" 6434 ;; 6435 sparc*-*-solaris*) 6436 LD="${LD-ld} -m elf64_sparc" 6437 ;; 6438 esac 6439 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6440 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6441 LD="${LD-ld}_sol2" 6442 fi 6443 ;; 6444 *) 6445 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6446 LD="${LD-ld} -64" 6447 fi 6448 ;; 6449 esac 6450 ;; 6451 esac 6452 fi 6453 rm -rf conftest* 6454 ;; 6455esac 6456 6457need_locks="$enable_libtool_lock" 6458 6459if test -n "$ac_tool_prefix"; then 6460 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6461set dummy ${ac_tool_prefix}mt; ac_word=$2 6462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6463$as_echo_n "checking for $ac_word... " >&6; } 6464if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6465 $as_echo_n "(cached) " >&6 6466else 6467 if test -n "$MANIFEST_TOOL"; then 6468 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6469else 6470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6471for as_dir in $PATH 6472do 6473 IFS=$as_save_IFS 6474 test -z "$as_dir" && as_dir=. 6475 for ac_exec_ext in '' $ac_executable_extensions; do 6476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6477 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6479 break 2 6480 fi 6481done 6482 done 6483IFS=$as_save_IFS 6484 6485fi 6486fi 6487MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6488if test -n "$MANIFEST_TOOL"; then 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6490$as_echo "$MANIFEST_TOOL" >&6; } 6491else 6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6493$as_echo "no" >&6; } 6494fi 6495 6496 6497fi 6498if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6499 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6500 # Extract the first word of "mt", so it can be a program name with args. 6501set dummy mt; ac_word=$2 6502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6503$as_echo_n "checking for $ac_word... " >&6; } 6504if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6505 $as_echo_n "(cached) " >&6 6506else 6507 if test -n "$ac_ct_MANIFEST_TOOL"; then 6508 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6509else 6510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6511for as_dir in $PATH 6512do 6513 IFS=$as_save_IFS 6514 test -z "$as_dir" && as_dir=. 6515 for ac_exec_ext in '' $ac_executable_extensions; do 6516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6517 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6519 break 2 6520 fi 6521done 6522 done 6523IFS=$as_save_IFS 6524 6525fi 6526fi 6527ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6528if test -n "$ac_ct_MANIFEST_TOOL"; then 6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6530$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6531else 6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6533$as_echo "no" >&6; } 6534fi 6535 6536 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6537 MANIFEST_TOOL=":" 6538 else 6539 case $cross_compiling:$ac_tool_warned in 6540yes:) 6541{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6543ac_tool_warned=yes ;; 6544esac 6545 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6546 fi 6547else 6548 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6549fi 6550 6551test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6553$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6554if ${lt_cv_path_mainfest_tool+:} false; then : 6555 $as_echo_n "(cached) " >&6 6556else 6557 lt_cv_path_mainfest_tool=no 6558 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6559 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6560 cat conftest.err >&5 6561 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6562 lt_cv_path_mainfest_tool=yes 6563 fi 6564 rm -f conftest* 6565fi 6566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6567$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6568if test "x$lt_cv_path_mainfest_tool" != xyes; then 6569 MANIFEST_TOOL=: 6570fi 6571 6572 6573 6574 6575 6576 6577 case $host_os in 6578 rhapsody* | darwin*) 6579 if test -n "$ac_tool_prefix"; then 6580 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6581set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6583$as_echo_n "checking for $ac_word... " >&6; } 6584if ${ac_cv_prog_DSYMUTIL+:} false; then : 6585 $as_echo_n "(cached) " >&6 6586else 6587 if test -n "$DSYMUTIL"; then 6588 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6589else 6590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6591for as_dir in $PATH 6592do 6593 IFS=$as_save_IFS 6594 test -z "$as_dir" && as_dir=. 6595 for ac_exec_ext in '' $ac_executable_extensions; do 6596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6597 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6599 break 2 6600 fi 6601done 6602 done 6603IFS=$as_save_IFS 6604 6605fi 6606fi 6607DSYMUTIL=$ac_cv_prog_DSYMUTIL 6608if test -n "$DSYMUTIL"; then 6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6610$as_echo "$DSYMUTIL" >&6; } 6611else 6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6613$as_echo "no" >&6; } 6614fi 6615 6616 6617fi 6618if test -z "$ac_cv_prog_DSYMUTIL"; then 6619 ac_ct_DSYMUTIL=$DSYMUTIL 6620 # Extract the first word of "dsymutil", so it can be a program name with args. 6621set dummy dsymutil; ac_word=$2 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6623$as_echo_n "checking for $ac_word... " >&6; } 6624if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6625 $as_echo_n "(cached) " >&6 6626else 6627 if test -n "$ac_ct_DSYMUTIL"; then 6628 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6629else 6630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6631for as_dir in $PATH 6632do 6633 IFS=$as_save_IFS 6634 test -z "$as_dir" && as_dir=. 6635 for ac_exec_ext in '' $ac_executable_extensions; do 6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6637 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6639 break 2 6640 fi 6641done 6642 done 6643IFS=$as_save_IFS 6644 6645fi 6646fi 6647ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6648if test -n "$ac_ct_DSYMUTIL"; then 6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6650$as_echo "$ac_ct_DSYMUTIL" >&6; } 6651else 6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6653$as_echo "no" >&6; } 6654fi 6655 6656 if test "x$ac_ct_DSYMUTIL" = x; then 6657 DSYMUTIL=":" 6658 else 6659 case $cross_compiling:$ac_tool_warned in 6660yes:) 6661{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6662$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6663ac_tool_warned=yes ;; 6664esac 6665 DSYMUTIL=$ac_ct_DSYMUTIL 6666 fi 6667else 6668 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6669fi 6670 6671 if test -n "$ac_tool_prefix"; then 6672 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6673set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6675$as_echo_n "checking for $ac_word... " >&6; } 6676if ${ac_cv_prog_NMEDIT+:} false; then : 6677 $as_echo_n "(cached) " >&6 6678else 6679 if test -n "$NMEDIT"; then 6680 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6681else 6682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6683for as_dir in $PATH 6684do 6685 IFS=$as_save_IFS 6686 test -z "$as_dir" && as_dir=. 6687 for ac_exec_ext in '' $ac_executable_extensions; do 6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6689 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6691 break 2 6692 fi 6693done 6694 done 6695IFS=$as_save_IFS 6696 6697fi 6698fi 6699NMEDIT=$ac_cv_prog_NMEDIT 6700if test -n "$NMEDIT"; then 6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6702$as_echo "$NMEDIT" >&6; } 6703else 6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6705$as_echo "no" >&6; } 6706fi 6707 6708 6709fi 6710if test -z "$ac_cv_prog_NMEDIT"; then 6711 ac_ct_NMEDIT=$NMEDIT 6712 # Extract the first word of "nmedit", so it can be a program name with args. 6713set dummy nmedit; ac_word=$2 6714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6715$as_echo_n "checking for $ac_word... " >&6; } 6716if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6717 $as_echo_n "(cached) " >&6 6718else 6719 if test -n "$ac_ct_NMEDIT"; then 6720 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6721else 6722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6723for as_dir in $PATH 6724do 6725 IFS=$as_save_IFS 6726 test -z "$as_dir" && as_dir=. 6727 for ac_exec_ext in '' $ac_executable_extensions; do 6728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6729 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6731 break 2 6732 fi 6733done 6734 done 6735IFS=$as_save_IFS 6736 6737fi 6738fi 6739ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6740if test -n "$ac_ct_NMEDIT"; then 6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6742$as_echo "$ac_ct_NMEDIT" >&6; } 6743else 6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6745$as_echo "no" >&6; } 6746fi 6747 6748 if test "x$ac_ct_NMEDIT" = x; then 6749 NMEDIT=":" 6750 else 6751 case $cross_compiling:$ac_tool_warned in 6752yes:) 6753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6755ac_tool_warned=yes ;; 6756esac 6757 NMEDIT=$ac_ct_NMEDIT 6758 fi 6759else 6760 NMEDIT="$ac_cv_prog_NMEDIT" 6761fi 6762 6763 if test -n "$ac_tool_prefix"; then 6764 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6765set dummy ${ac_tool_prefix}lipo; ac_word=$2 6766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6767$as_echo_n "checking for $ac_word... " >&6; } 6768if ${ac_cv_prog_LIPO+:} false; then : 6769 $as_echo_n "(cached) " >&6 6770else 6771 if test -n "$LIPO"; then 6772 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6773else 6774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6775for as_dir in $PATH 6776do 6777 IFS=$as_save_IFS 6778 test -z "$as_dir" && as_dir=. 6779 for ac_exec_ext in '' $ac_executable_extensions; do 6780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6781 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6783 break 2 6784 fi 6785done 6786 done 6787IFS=$as_save_IFS 6788 6789fi 6790fi 6791LIPO=$ac_cv_prog_LIPO 6792if test -n "$LIPO"; then 6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6794$as_echo "$LIPO" >&6; } 6795else 6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6797$as_echo "no" >&6; } 6798fi 6799 6800 6801fi 6802if test -z "$ac_cv_prog_LIPO"; then 6803 ac_ct_LIPO=$LIPO 6804 # Extract the first word of "lipo", so it can be a program name with args. 6805set dummy lipo; ac_word=$2 6806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6807$as_echo_n "checking for $ac_word... " >&6; } 6808if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6809 $as_echo_n "(cached) " >&6 6810else 6811 if test -n "$ac_ct_LIPO"; then 6812 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6813else 6814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6815for as_dir in $PATH 6816do 6817 IFS=$as_save_IFS 6818 test -z "$as_dir" && as_dir=. 6819 for ac_exec_ext in '' $ac_executable_extensions; do 6820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6821 ac_cv_prog_ac_ct_LIPO="lipo" 6822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6823 break 2 6824 fi 6825done 6826 done 6827IFS=$as_save_IFS 6828 6829fi 6830fi 6831ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6832if test -n "$ac_ct_LIPO"; then 6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6834$as_echo "$ac_ct_LIPO" >&6; } 6835else 6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6837$as_echo "no" >&6; } 6838fi 6839 6840 if test "x$ac_ct_LIPO" = x; then 6841 LIPO=":" 6842 else 6843 case $cross_compiling:$ac_tool_warned in 6844yes:) 6845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6847ac_tool_warned=yes ;; 6848esac 6849 LIPO=$ac_ct_LIPO 6850 fi 6851else 6852 LIPO="$ac_cv_prog_LIPO" 6853fi 6854 6855 if test -n "$ac_tool_prefix"; then 6856 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6857set dummy ${ac_tool_prefix}otool; ac_word=$2 6858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6859$as_echo_n "checking for $ac_word... " >&6; } 6860if ${ac_cv_prog_OTOOL+:} false; then : 6861 $as_echo_n "(cached) " >&6 6862else 6863 if test -n "$OTOOL"; then 6864 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6865else 6866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6867for as_dir in $PATH 6868do 6869 IFS=$as_save_IFS 6870 test -z "$as_dir" && as_dir=. 6871 for ac_exec_ext in '' $ac_executable_extensions; do 6872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6873 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6875 break 2 6876 fi 6877done 6878 done 6879IFS=$as_save_IFS 6880 6881fi 6882fi 6883OTOOL=$ac_cv_prog_OTOOL 6884if test -n "$OTOOL"; then 6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6886$as_echo "$OTOOL" >&6; } 6887else 6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6889$as_echo "no" >&6; } 6890fi 6891 6892 6893fi 6894if test -z "$ac_cv_prog_OTOOL"; then 6895 ac_ct_OTOOL=$OTOOL 6896 # Extract the first word of "otool", so it can be a program name with args. 6897set dummy otool; ac_word=$2 6898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6899$as_echo_n "checking for $ac_word... " >&6; } 6900if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6901 $as_echo_n "(cached) " >&6 6902else 6903 if test -n "$ac_ct_OTOOL"; then 6904 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6905else 6906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6907for as_dir in $PATH 6908do 6909 IFS=$as_save_IFS 6910 test -z "$as_dir" && as_dir=. 6911 for ac_exec_ext in '' $ac_executable_extensions; do 6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6913 ac_cv_prog_ac_ct_OTOOL="otool" 6914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6915 break 2 6916 fi 6917done 6918 done 6919IFS=$as_save_IFS 6920 6921fi 6922fi 6923ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6924if test -n "$ac_ct_OTOOL"; then 6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6926$as_echo "$ac_ct_OTOOL" >&6; } 6927else 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6929$as_echo "no" >&6; } 6930fi 6931 6932 if test "x$ac_ct_OTOOL" = x; then 6933 OTOOL=":" 6934 else 6935 case $cross_compiling:$ac_tool_warned in 6936yes:) 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6939ac_tool_warned=yes ;; 6940esac 6941 OTOOL=$ac_ct_OTOOL 6942 fi 6943else 6944 OTOOL="$ac_cv_prog_OTOOL" 6945fi 6946 6947 if test -n "$ac_tool_prefix"; then 6948 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6949set dummy ${ac_tool_prefix}otool64; ac_word=$2 6950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6951$as_echo_n "checking for $ac_word... " >&6; } 6952if ${ac_cv_prog_OTOOL64+:} false; then : 6953 $as_echo_n "(cached) " >&6 6954else 6955 if test -n "$OTOOL64"; then 6956 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6957else 6958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6959for as_dir in $PATH 6960do 6961 IFS=$as_save_IFS 6962 test -z "$as_dir" && as_dir=. 6963 for ac_exec_ext in '' $ac_executable_extensions; do 6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6965 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6967 break 2 6968 fi 6969done 6970 done 6971IFS=$as_save_IFS 6972 6973fi 6974fi 6975OTOOL64=$ac_cv_prog_OTOOL64 6976if test -n "$OTOOL64"; then 6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6978$as_echo "$OTOOL64" >&6; } 6979else 6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6981$as_echo "no" >&6; } 6982fi 6983 6984 6985fi 6986if test -z "$ac_cv_prog_OTOOL64"; then 6987 ac_ct_OTOOL64=$OTOOL64 6988 # Extract the first word of "otool64", so it can be a program name with args. 6989set dummy otool64; ac_word=$2 6990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6991$as_echo_n "checking for $ac_word... " >&6; } 6992if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6993 $as_echo_n "(cached) " >&6 6994else 6995 if test -n "$ac_ct_OTOOL64"; then 6996 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6997else 6998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6999for as_dir in $PATH 7000do 7001 IFS=$as_save_IFS 7002 test -z "$as_dir" && as_dir=. 7003 for ac_exec_ext in '' $ac_executable_extensions; do 7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7005 ac_cv_prog_ac_ct_OTOOL64="otool64" 7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7007 break 2 7008 fi 7009done 7010 done 7011IFS=$as_save_IFS 7012 7013fi 7014fi 7015ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7016if test -n "$ac_ct_OTOOL64"; then 7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7018$as_echo "$ac_ct_OTOOL64" >&6; } 7019else 7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7021$as_echo "no" >&6; } 7022fi 7023 7024 if test "x$ac_ct_OTOOL64" = x; then 7025 OTOOL64=":" 7026 else 7027 case $cross_compiling:$ac_tool_warned in 7028yes:) 7029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7031ac_tool_warned=yes ;; 7032esac 7033 OTOOL64=$ac_ct_OTOOL64 7034 fi 7035else 7036 OTOOL64="$ac_cv_prog_OTOOL64" 7037fi 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7066$as_echo_n "checking for -single_module linker flag... " >&6; } 7067if ${lt_cv_apple_cc_single_mod+:} false; then : 7068 $as_echo_n "(cached) " >&6 7069else 7070 lt_cv_apple_cc_single_mod=no 7071 if test -z "${LT_MULTI_MODULE}"; then 7072 # By default we will add the -single_module flag. You can override 7073 # by either setting the environment variable LT_MULTI_MODULE 7074 # non-empty at configure time, or by adding -multi_module to the 7075 # link flags. 7076 rm -rf libconftest.dylib* 7077 echo "int foo(void){return 1;}" > conftest.c 7078 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7079-dynamiclib -Wl,-single_module conftest.c" >&5 7080 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7081 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7082 _lt_result=$? 7083 # If there is a non-empty error log, and "single_module" 7084 # appears in it, assume the flag caused a linker warning 7085 if test -s conftest.err && $GREP single_module conftest.err; then 7086 cat conftest.err >&5 7087 # Otherwise, if the output was created with a 0 exit code from 7088 # the compiler, it worked. 7089 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7090 lt_cv_apple_cc_single_mod=yes 7091 else 7092 cat conftest.err >&5 7093 fi 7094 rm -rf libconftest.dylib* 7095 rm -f conftest.* 7096 fi 7097fi 7098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7099$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7100 7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7102$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7103if ${lt_cv_ld_exported_symbols_list+:} false; then : 7104 $as_echo_n "(cached) " >&6 7105else 7106 lt_cv_ld_exported_symbols_list=no 7107 save_LDFLAGS=$LDFLAGS 7108 echo "_main" > conftest.sym 7109 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7111/* end confdefs.h. */ 7112 7113int 7114main () 7115{ 7116 7117 ; 7118 return 0; 7119} 7120_ACEOF 7121if ac_fn_c_try_link "$LINENO"; then : 7122 lt_cv_ld_exported_symbols_list=yes 7123else 7124 lt_cv_ld_exported_symbols_list=no 7125fi 7126rm -f core conftest.err conftest.$ac_objext \ 7127 conftest$ac_exeext conftest.$ac_ext 7128 LDFLAGS="$save_LDFLAGS" 7129 7130fi 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7132$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7133 7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7135$as_echo_n "checking for -force_load linker flag... " >&6; } 7136if ${lt_cv_ld_force_load+:} false; then : 7137 $as_echo_n "(cached) " >&6 7138else 7139 lt_cv_ld_force_load=no 7140 cat > conftest.c << _LT_EOF 7141int forced_loaded() { return 2;} 7142_LT_EOF 7143 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7144 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7145 echo "$AR cru libconftest.a conftest.o" >&5 7146 $AR cru libconftest.a conftest.o 2>&5 7147 echo "$RANLIB libconftest.a" >&5 7148 $RANLIB libconftest.a 2>&5 7149 cat > conftest.c << _LT_EOF 7150int main() { return 0;} 7151_LT_EOF 7152 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7153 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7154 _lt_result=$? 7155 if test -s conftest.err && $GREP force_load conftest.err; then 7156 cat conftest.err >&5 7157 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7158 lt_cv_ld_force_load=yes 7159 else 7160 cat conftest.err >&5 7161 fi 7162 rm -f conftest.err libconftest.a conftest conftest.c 7163 rm -rf conftest.dSYM 7164 7165fi 7166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7167$as_echo "$lt_cv_ld_force_load" >&6; } 7168 case $host_os in 7169 rhapsody* | darwin1.[012]) 7170 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7171 darwin1.*) 7172 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7173 darwin*) # darwin 5.x on 7174 # if running on 10.5 or later, the deployment target defaults 7175 # to the OS version, if on x86, and 10.4, the deployment 7176 # target defaults to 10.4. Don't you love it? 7177 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7178 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7179 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7180 10.[012]*) 7181 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7182 10.*) 7183 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7184 esac 7185 ;; 7186 esac 7187 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7188 _lt_dar_single_mod='$single_module' 7189 fi 7190 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7191 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7192 else 7193 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7194 fi 7195 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7196 _lt_dsymutil='~$DSYMUTIL $lib || :' 7197 else 7198 _lt_dsymutil= 7199 fi 7200 ;; 7201 esac 7202 7203 7204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7205$as_echo_n "checking for ANSI C header files... " >&6; } 7206if ${ac_cv_header_stdc+:} false; then : 7207 $as_echo_n "(cached) " >&6 7208else 7209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7210/* end confdefs.h. */ 7211#include <stdlib.h> 7212#include <stdarg.h> 7213#include <string.h> 7214#include <float.h> 7215 7216int 7217main () 7218{ 7219 7220 ; 7221 return 0; 7222} 7223_ACEOF 7224if ac_fn_c_try_compile "$LINENO"; then : 7225 ac_cv_header_stdc=yes 7226else 7227 ac_cv_header_stdc=no 7228fi 7229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7230 7231if test $ac_cv_header_stdc = yes; then 7232 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7234/* end confdefs.h. */ 7235#include <string.h> 7236 7237_ACEOF 7238if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7239 $EGREP "memchr" >/dev/null 2>&1; then : 7240 7241else 7242 ac_cv_header_stdc=no 7243fi 7244rm -f conftest* 7245 7246fi 7247 7248if test $ac_cv_header_stdc = yes; then 7249 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7251/* end confdefs.h. */ 7252#include <stdlib.h> 7253 7254_ACEOF 7255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7256 $EGREP "free" >/dev/null 2>&1; then : 7257 7258else 7259 ac_cv_header_stdc=no 7260fi 7261rm -f conftest* 7262 7263fi 7264 7265if test $ac_cv_header_stdc = yes; then 7266 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7267 if test "$cross_compiling" = yes; then : 7268 : 7269else 7270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7271/* end confdefs.h. */ 7272#include <ctype.h> 7273#include <stdlib.h> 7274#if ((' ' & 0x0FF) == 0x020) 7275# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7276# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7277#else 7278# define ISLOWER(c) \ 7279 (('a' <= (c) && (c) <= 'i') \ 7280 || ('j' <= (c) && (c) <= 'r') \ 7281 || ('s' <= (c) && (c) <= 'z')) 7282# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7283#endif 7284 7285#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7286int 7287main () 7288{ 7289 int i; 7290 for (i = 0; i < 256; i++) 7291 if (XOR (islower (i), ISLOWER (i)) 7292 || toupper (i) != TOUPPER (i)) 7293 return 2; 7294 return 0; 7295} 7296_ACEOF 7297if ac_fn_c_try_run "$LINENO"; then : 7298 7299else 7300 ac_cv_header_stdc=no 7301fi 7302rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7303 conftest.$ac_objext conftest.beam conftest.$ac_ext 7304fi 7305 7306fi 7307fi 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7309$as_echo "$ac_cv_header_stdc" >&6; } 7310if test $ac_cv_header_stdc = yes; then 7311 7312$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7313 7314fi 7315 7316# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7317for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7318 inttypes.h stdint.h unistd.h 7319do : 7320 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7321ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7322" 7323if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7324 cat >>confdefs.h <<_ACEOF 7325#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7326_ACEOF 7327 7328fi 7329 7330done 7331 7332 7333for ac_header in dlfcn.h 7334do : 7335 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7336" 7337if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7338 cat >>confdefs.h <<_ACEOF 7339#define HAVE_DLFCN_H 1 7340_ACEOF 7341 7342fi 7343 7344done 7345 7346 7347 7348 7349 7350# Set options 7351 7352 7353 7354 enable_dlopen=no 7355 7356 7357 enable_win32_dll=no 7358 7359 7360 # Check whether --enable-shared was given. 7361if test "${enable_shared+set}" = set; then : 7362 enableval=$enable_shared; p=${PACKAGE-default} 7363 case $enableval in 7364 yes) enable_shared=yes ;; 7365 no) enable_shared=no ;; 7366 *) 7367 enable_shared=no 7368 # Look at the argument we got. We use all the common list separators. 7369 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7370 for pkg in $enableval; do 7371 IFS="$lt_save_ifs" 7372 if test "X$pkg" = "X$p"; then 7373 enable_shared=yes 7374 fi 7375 done 7376 IFS="$lt_save_ifs" 7377 ;; 7378 esac 7379else 7380 enable_shared=yes 7381fi 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 # Check whether --enable-static was given. 7392if test "${enable_static+set}" = set; then : 7393 enableval=$enable_static; p=${PACKAGE-default} 7394 case $enableval in 7395 yes) enable_static=yes ;; 7396 no) enable_static=no ;; 7397 *) 7398 enable_static=no 7399 # Look at the argument we got. We use all the common list separators. 7400 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7401 for pkg in $enableval; do 7402 IFS="$lt_save_ifs" 7403 if test "X$pkg" = "X$p"; then 7404 enable_static=yes 7405 fi 7406 done 7407 IFS="$lt_save_ifs" 7408 ;; 7409 esac 7410else 7411 enable_static=yes 7412fi 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423# Check whether --with-pic was given. 7424if test "${with_pic+set}" = set; then : 7425 withval=$with_pic; lt_p=${PACKAGE-default} 7426 case $withval in 7427 yes|no) pic_mode=$withval ;; 7428 *) 7429 pic_mode=default 7430 # Look at the argument we got. We use all the common list separators. 7431 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7432 for lt_pkg in $withval; do 7433 IFS="$lt_save_ifs" 7434 if test "X$lt_pkg" = "X$lt_p"; then 7435 pic_mode=yes 7436 fi 7437 done 7438 IFS="$lt_save_ifs" 7439 ;; 7440 esac 7441else 7442 pic_mode=default 7443fi 7444 7445 7446test -z "$pic_mode" && pic_mode=default 7447 7448 7449 7450 7451 7452 7453 7454 # Check whether --enable-fast-install was given. 7455if test "${enable_fast_install+set}" = set; then : 7456 enableval=$enable_fast_install; p=${PACKAGE-default} 7457 case $enableval in 7458 yes) enable_fast_install=yes ;; 7459 no) enable_fast_install=no ;; 7460 *) 7461 enable_fast_install=no 7462 # Look at the argument we got. We use all the common list separators. 7463 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7464 for pkg in $enableval; do 7465 IFS="$lt_save_ifs" 7466 if test "X$pkg" = "X$p"; then 7467 enable_fast_install=yes 7468 fi 7469 done 7470 IFS="$lt_save_ifs" 7471 ;; 7472 esac 7473else 7474 enable_fast_install=yes 7475fi 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487# This can be used to rebuild libtool when needed 7488LIBTOOL_DEPS="$ltmain" 7489 7490# Always use our own libtool. 7491LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522test -z "$LN_S" && LN_S="ln -s" 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537if test -n "${ZSH_VERSION+set}" ; then 7538 setopt NO_GLOB_SUBST 7539fi 7540 7541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7542$as_echo_n "checking for objdir... " >&6; } 7543if ${lt_cv_objdir+:} false; then : 7544 $as_echo_n "(cached) " >&6 7545else 7546 rm -f .libs 2>/dev/null 7547mkdir .libs 2>/dev/null 7548if test -d .libs; then 7549 lt_cv_objdir=.libs 7550else 7551 # MS-DOS does not allow filenames that begin with a dot. 7552 lt_cv_objdir=_libs 7553fi 7554rmdir .libs 2>/dev/null 7555fi 7556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7557$as_echo "$lt_cv_objdir" >&6; } 7558objdir=$lt_cv_objdir 7559 7560 7561 7562 7563 7564cat >>confdefs.h <<_ACEOF 7565#define LT_OBJDIR "$lt_cv_objdir/" 7566_ACEOF 7567 7568 7569 7570 7571case $host_os in 7572aix3*) 7573 # AIX sometimes has problems with the GCC collect2 program. For some 7574 # reason, if we set the COLLECT_NAMES environment variable, the problems 7575 # vanish in a puff of smoke. 7576 if test "X${COLLECT_NAMES+set}" != Xset; then 7577 COLLECT_NAMES= 7578 export COLLECT_NAMES 7579 fi 7580 ;; 7581esac 7582 7583# Global variables: 7584ofile=libtool 7585can_build_shared=yes 7586 7587# All known linkers require a `.a' archive for static linking (except MSVC, 7588# which needs '.lib'). 7589libext=a 7590 7591with_gnu_ld="$lt_cv_prog_gnu_ld" 7592 7593old_CC="$CC" 7594old_CFLAGS="$CFLAGS" 7595 7596# Set sane defaults for various variables 7597test -z "$CC" && CC=cc 7598test -z "$LTCC" && LTCC=$CC 7599test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7600test -z "$LD" && LD=ld 7601test -z "$ac_objext" && ac_objext=o 7602 7603for cc_temp in $compiler""; do 7604 case $cc_temp in 7605 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7606 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7607 \-*) ;; 7608 *) break;; 7609 esac 7610done 7611cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7612 7613 7614# Only perform the check for file, if the check method requires it 7615test -z "$MAGIC_CMD" && MAGIC_CMD=file 7616case $deplibs_check_method in 7617file_magic*) 7618 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7620$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7621if ${lt_cv_path_MAGIC_CMD+:} false; then : 7622 $as_echo_n "(cached) " >&6 7623else 7624 case $MAGIC_CMD in 7625[\\/*] | ?:[\\/]*) 7626 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7627 ;; 7628*) 7629 lt_save_MAGIC_CMD="$MAGIC_CMD" 7630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7631 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7632 for ac_dir in $ac_dummy; do 7633 IFS="$lt_save_ifs" 7634 test -z "$ac_dir" && ac_dir=. 7635 if test -f $ac_dir/${ac_tool_prefix}file; then 7636 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7637 if test -n "$file_magic_test_file"; then 7638 case $deplibs_check_method in 7639 "file_magic "*) 7640 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7641 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7642 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7643 $EGREP "$file_magic_regex" > /dev/null; then 7644 : 7645 else 7646 cat <<_LT_EOF 1>&2 7647 7648*** Warning: the command libtool uses to detect shared libraries, 7649*** $file_magic_cmd, produces output that libtool cannot recognize. 7650*** The result is that libtool may fail to recognize shared libraries 7651*** as such. This will affect the creation of libtool libraries that 7652*** depend on shared libraries, but programs linked with such libtool 7653*** libraries will work regardless of this problem. Nevertheless, you 7654*** may want to report the problem to your system manager and/or to 7655*** bug-libtool@gnu.org 7656 7657_LT_EOF 7658 fi ;; 7659 esac 7660 fi 7661 break 7662 fi 7663 done 7664 IFS="$lt_save_ifs" 7665 MAGIC_CMD="$lt_save_MAGIC_CMD" 7666 ;; 7667esac 7668fi 7669 7670MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7671if test -n "$MAGIC_CMD"; then 7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7673$as_echo "$MAGIC_CMD" >&6; } 7674else 7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7676$as_echo "no" >&6; } 7677fi 7678 7679 7680 7681 7682 7683if test -z "$lt_cv_path_MAGIC_CMD"; then 7684 if test -n "$ac_tool_prefix"; then 7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7686$as_echo_n "checking for file... " >&6; } 7687if ${lt_cv_path_MAGIC_CMD+:} false; then : 7688 $as_echo_n "(cached) " >&6 7689else 7690 case $MAGIC_CMD in 7691[\\/*] | ?:[\\/]*) 7692 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7693 ;; 7694*) 7695 lt_save_MAGIC_CMD="$MAGIC_CMD" 7696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7698 for ac_dir in $ac_dummy; do 7699 IFS="$lt_save_ifs" 7700 test -z "$ac_dir" && ac_dir=. 7701 if test -f $ac_dir/file; then 7702 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7703 if test -n "$file_magic_test_file"; then 7704 case $deplibs_check_method in 7705 "file_magic "*) 7706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7707 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7709 $EGREP "$file_magic_regex" > /dev/null; then 7710 : 7711 else 7712 cat <<_LT_EOF 1>&2 7713 7714*** Warning: the command libtool uses to detect shared libraries, 7715*** $file_magic_cmd, produces output that libtool cannot recognize. 7716*** The result is that libtool may fail to recognize shared libraries 7717*** as such. This will affect the creation of libtool libraries that 7718*** depend on shared libraries, but programs linked with such libtool 7719*** libraries will work regardless of this problem. Nevertheless, you 7720*** may want to report the problem to your system manager and/or to 7721*** bug-libtool@gnu.org 7722 7723_LT_EOF 7724 fi ;; 7725 esac 7726 fi 7727 break 7728 fi 7729 done 7730 IFS="$lt_save_ifs" 7731 MAGIC_CMD="$lt_save_MAGIC_CMD" 7732 ;; 7733esac 7734fi 7735 7736MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7737if test -n "$MAGIC_CMD"; then 7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7739$as_echo "$MAGIC_CMD" >&6; } 7740else 7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7742$as_echo "no" >&6; } 7743fi 7744 7745 7746 else 7747 MAGIC_CMD=: 7748 fi 7749fi 7750 7751 fi 7752 ;; 7753esac 7754 7755# Use C for the default configuration in the libtool script 7756 7757lt_save_CC="$CC" 7758ac_ext=c 7759ac_cpp='$CPP $CPPFLAGS' 7760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7762ac_compiler_gnu=$ac_cv_c_compiler_gnu 7763 7764 7765# Source file extension for C test sources. 7766ac_ext=c 7767 7768# Object file extension for compiled C test sources. 7769objext=o 7770objext=$objext 7771 7772# Code to be used in simple compile tests 7773lt_simple_compile_test_code="int some_variable = 0;" 7774 7775# Code to be used in simple link tests 7776lt_simple_link_test_code='int main(){return(0);}' 7777 7778 7779 7780 7781 7782 7783 7784# If no C compiler was specified, use CC. 7785LTCC=${LTCC-"$CC"} 7786 7787# If no C compiler flags were specified, use CFLAGS. 7788LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7789 7790# Allow CC to be a program name with arguments. 7791compiler=$CC 7792 7793# Save the default compiler, since it gets overwritten when the other 7794# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7795compiler_DEFAULT=$CC 7796 7797# save warnings/boilerplate of simple test code 7798ac_outfile=conftest.$ac_objext 7799echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7800eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7801_lt_compiler_boilerplate=`cat conftest.err` 7802$RM conftest* 7803 7804ac_outfile=conftest.$ac_objext 7805echo "$lt_simple_link_test_code" >conftest.$ac_ext 7806eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7807_lt_linker_boilerplate=`cat conftest.err` 7808$RM -r conftest* 7809 7810 7811## CAVEAT EMPTOR: 7812## There is no encapsulation within the following macros, do not change 7813## the running order or otherwise move them around unless you know exactly 7814## what you are doing... 7815if test -n "$compiler"; then 7816 7817lt_prog_compiler_no_builtin_flag= 7818 7819if test "$GCC" = yes; then 7820 case $cc_basename in 7821 nvcc*) 7822 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7823 *) 7824 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7825 esac 7826 7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7828$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7829if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7830 $as_echo_n "(cached) " >&6 7831else 7832 lt_cv_prog_compiler_rtti_exceptions=no 7833 ac_outfile=conftest.$ac_objext 7834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7835 lt_compiler_flag="-fno-rtti -fno-exceptions" 7836 # Insert the option either (1) after the last *FLAGS variable, or 7837 # (2) before a word containing "conftest.", or (3) at the end. 7838 # Note that $ac_compile itself does not contain backslashes and begins 7839 # with a dollar sign (not a hyphen), so the echo should work correctly. 7840 # The option is referenced via a variable to avoid confusing sed. 7841 lt_compile=`echo "$ac_compile" | $SED \ 7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7844 -e 's:$: $lt_compiler_flag:'` 7845 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7846 (eval "$lt_compile" 2>conftest.err) 7847 ac_status=$? 7848 cat conftest.err >&5 7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7850 if (exit $ac_status) && test -s "$ac_outfile"; then 7851 # The compiler can only warn and ignore the option if not recognized 7852 # So say no if there are warnings other than the usual output. 7853 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7854 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7855 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7856 lt_cv_prog_compiler_rtti_exceptions=yes 7857 fi 7858 fi 7859 $RM conftest* 7860 7861fi 7862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7863$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7864 7865if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7866 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7867else 7868 : 7869fi 7870 7871fi 7872 7873 7874 7875 7876 7877 7878 lt_prog_compiler_wl= 7879lt_prog_compiler_pic= 7880lt_prog_compiler_static= 7881 7882 7883 if test "$GCC" = yes; then 7884 lt_prog_compiler_wl='-Wl,' 7885 lt_prog_compiler_static='-static' 7886 7887 case $host_os in 7888 aix*) 7889 # All AIX code is PIC. 7890 if test "$host_cpu" = ia64; then 7891 # AIX 5 now supports IA64 processor 7892 lt_prog_compiler_static='-Bstatic' 7893 fi 7894 ;; 7895 7896 amigaos*) 7897 case $host_cpu in 7898 powerpc) 7899 # see comment about AmigaOS4 .so support 7900 lt_prog_compiler_pic='-fPIC' 7901 ;; 7902 m68k) 7903 # FIXME: we need at least 68020 code to build shared libraries, but 7904 # adding the `-m68020' flag to GCC prevents building anything better, 7905 # like `-m68040'. 7906 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7907 ;; 7908 esac 7909 ;; 7910 7911 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7912 # PIC is the default for these OSes. 7913 ;; 7914 7915 mingw* | cygwin* | pw32* | os2* | cegcc*) 7916 # This hack is so that the source file can tell whether it is being 7917 # built for inclusion in a dll (and should export symbols for example). 7918 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7919 # (--disable-auto-import) libraries 7920 lt_prog_compiler_pic='-DDLL_EXPORT' 7921 ;; 7922 7923 darwin* | rhapsody*) 7924 # PIC is the default on this platform 7925 # Common symbols not allowed in MH_DYLIB files 7926 lt_prog_compiler_pic='-fno-common' 7927 ;; 7928 7929 haiku*) 7930 # PIC is the default for Haiku. 7931 # The "-static" flag exists, but is broken. 7932 lt_prog_compiler_static= 7933 ;; 7934 7935 hpux*) 7936 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7937 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7938 # sets the default TLS model and affects inlining. 7939 case $host_cpu in 7940 hppa*64*) 7941 # +Z the default 7942 ;; 7943 *) 7944 lt_prog_compiler_pic='-fPIC' 7945 ;; 7946 esac 7947 ;; 7948 7949 interix[3-9]*) 7950 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7951 # Instead, we relocate shared libraries at runtime. 7952 ;; 7953 7954 msdosdjgpp*) 7955 # Just because we use GCC doesn't mean we suddenly get shared libraries 7956 # on systems that don't support them. 7957 lt_prog_compiler_can_build_shared=no 7958 enable_shared=no 7959 ;; 7960 7961 *nto* | *qnx*) 7962 # QNX uses GNU C++, but need to define -shared option too, otherwise 7963 # it will coredump. 7964 lt_prog_compiler_pic='-fPIC -shared' 7965 ;; 7966 7967 sysv4*MP*) 7968 if test -d /usr/nec; then 7969 lt_prog_compiler_pic=-Kconform_pic 7970 fi 7971 ;; 7972 7973 *) 7974 lt_prog_compiler_pic='-fPIC' 7975 ;; 7976 esac 7977 7978 case $cc_basename in 7979 nvcc*) # Cuda Compiler Driver 2.2 7980 lt_prog_compiler_wl='-Xlinker ' 7981 if test -n "$lt_prog_compiler_pic"; then 7982 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 7983 fi 7984 ;; 7985 esac 7986 else 7987 # PORTME Check for flag to pass linker flags through the system compiler. 7988 case $host_os in 7989 aix*) 7990 lt_prog_compiler_wl='-Wl,' 7991 if test "$host_cpu" = ia64; then 7992 # AIX 5 now supports IA64 processor 7993 lt_prog_compiler_static='-Bstatic' 7994 else 7995 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7996 fi 7997 ;; 7998 7999 mingw* | cygwin* | pw32* | os2* | cegcc*) 8000 # This hack is so that the source file can tell whether it is being 8001 # built for inclusion in a dll (and should export symbols for example). 8002 lt_prog_compiler_pic='-DDLL_EXPORT' 8003 ;; 8004 8005 hpux9* | hpux10* | hpux11*) 8006 lt_prog_compiler_wl='-Wl,' 8007 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8008 # not for PA HP-UX. 8009 case $host_cpu in 8010 hppa*64*|ia64*) 8011 # +Z the default 8012 ;; 8013 *) 8014 lt_prog_compiler_pic='+Z' 8015 ;; 8016 esac 8017 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8018 lt_prog_compiler_static='${wl}-a ${wl}archive' 8019 ;; 8020 8021 irix5* | irix6* | nonstopux*) 8022 lt_prog_compiler_wl='-Wl,' 8023 # PIC (with -KPIC) is the default. 8024 lt_prog_compiler_static='-non_shared' 8025 ;; 8026 8027 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8028 case $cc_basename in 8029 # old Intel for x86_64 which still supported -KPIC. 8030 ecc*) 8031 lt_prog_compiler_wl='-Wl,' 8032 lt_prog_compiler_pic='-KPIC' 8033 lt_prog_compiler_static='-static' 8034 ;; 8035 # icc used to be incompatible with GCC. 8036 # ICC 10 doesn't accept -KPIC any more. 8037 icc* | ifort*) 8038 lt_prog_compiler_wl='-Wl,' 8039 lt_prog_compiler_pic='-fPIC' 8040 lt_prog_compiler_static='-static' 8041 ;; 8042 # Lahey Fortran 8.1. 8043 lf95*) 8044 lt_prog_compiler_wl='-Wl,' 8045 lt_prog_compiler_pic='--shared' 8046 lt_prog_compiler_static='--static' 8047 ;; 8048 nagfor*) 8049 # NAG Fortran compiler 8050 lt_prog_compiler_wl='-Wl,-Wl,,' 8051 lt_prog_compiler_pic='-PIC' 8052 lt_prog_compiler_static='-Bstatic' 8053 ;; 8054 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8055 # Portland Group compilers (*not* the Pentium gcc compiler, 8056 # which looks to be a dead project) 8057 lt_prog_compiler_wl='-Wl,' 8058 lt_prog_compiler_pic='-fpic' 8059 lt_prog_compiler_static='-Bstatic' 8060 ;; 8061 ccc*) 8062 lt_prog_compiler_wl='-Wl,' 8063 # All Alpha code is PIC. 8064 lt_prog_compiler_static='-non_shared' 8065 ;; 8066 xl* | bgxl* | bgf* | mpixl*) 8067 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8068 lt_prog_compiler_wl='-Wl,' 8069 lt_prog_compiler_pic='-qpic' 8070 lt_prog_compiler_static='-qstaticlink' 8071 ;; 8072 *) 8073 case `$CC -V 2>&1 | sed 5q` in 8074 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8075 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8076 lt_prog_compiler_pic='-KPIC' 8077 lt_prog_compiler_static='-Bstatic' 8078 lt_prog_compiler_wl='' 8079 ;; 8080 *Sun\ F* | *Sun*Fortran*) 8081 lt_prog_compiler_pic='-KPIC' 8082 lt_prog_compiler_static='-Bstatic' 8083 lt_prog_compiler_wl='-Qoption ld ' 8084 ;; 8085 *Sun\ C*) 8086 # Sun C 5.9 8087 lt_prog_compiler_pic='-KPIC' 8088 lt_prog_compiler_static='-Bstatic' 8089 lt_prog_compiler_wl='-Wl,' 8090 ;; 8091 *Intel*\ [CF]*Compiler*) 8092 lt_prog_compiler_wl='-Wl,' 8093 lt_prog_compiler_pic='-fPIC' 8094 lt_prog_compiler_static='-static' 8095 ;; 8096 *Portland\ Group*) 8097 lt_prog_compiler_wl='-Wl,' 8098 lt_prog_compiler_pic='-fpic' 8099 lt_prog_compiler_static='-Bstatic' 8100 ;; 8101 esac 8102 ;; 8103 esac 8104 ;; 8105 8106 newsos6) 8107 lt_prog_compiler_pic='-KPIC' 8108 lt_prog_compiler_static='-Bstatic' 8109 ;; 8110 8111 *nto* | *qnx*) 8112 # QNX uses GNU C++, but need to define -shared option too, otherwise 8113 # it will coredump. 8114 lt_prog_compiler_pic='-fPIC -shared' 8115 ;; 8116 8117 osf3* | osf4* | osf5*) 8118 lt_prog_compiler_wl='-Wl,' 8119 # All OSF/1 code is PIC. 8120 lt_prog_compiler_static='-non_shared' 8121 ;; 8122 8123 rdos*) 8124 lt_prog_compiler_static='-non_shared' 8125 ;; 8126 8127 solaris*) 8128 lt_prog_compiler_pic='-KPIC' 8129 lt_prog_compiler_static='-Bstatic' 8130 case $cc_basename in 8131 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8132 lt_prog_compiler_wl='-Qoption ld ';; 8133 *) 8134 lt_prog_compiler_wl='-Wl,';; 8135 esac 8136 ;; 8137 8138 sunos4*) 8139 lt_prog_compiler_wl='-Qoption ld ' 8140 lt_prog_compiler_pic='-PIC' 8141 lt_prog_compiler_static='-Bstatic' 8142 ;; 8143 8144 sysv4 | sysv4.2uw2* | sysv4.3*) 8145 lt_prog_compiler_wl='-Wl,' 8146 lt_prog_compiler_pic='-KPIC' 8147 lt_prog_compiler_static='-Bstatic' 8148 ;; 8149 8150 sysv4*MP*) 8151 if test -d /usr/nec ;then 8152 lt_prog_compiler_pic='-Kconform_pic' 8153 lt_prog_compiler_static='-Bstatic' 8154 fi 8155 ;; 8156 8157 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8158 lt_prog_compiler_wl='-Wl,' 8159 lt_prog_compiler_pic='-KPIC' 8160 lt_prog_compiler_static='-Bstatic' 8161 ;; 8162 8163 unicos*) 8164 lt_prog_compiler_wl='-Wl,' 8165 lt_prog_compiler_can_build_shared=no 8166 ;; 8167 8168 uts4*) 8169 lt_prog_compiler_pic='-pic' 8170 lt_prog_compiler_static='-Bstatic' 8171 ;; 8172 8173 *) 8174 lt_prog_compiler_can_build_shared=no 8175 ;; 8176 esac 8177 fi 8178 8179case $host_os in 8180 # For platforms which do not support PIC, -DPIC is meaningless: 8181 *djgpp*) 8182 lt_prog_compiler_pic= 8183 ;; 8184 *) 8185 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8186 ;; 8187esac 8188 8189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8190$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8191if ${lt_cv_prog_compiler_pic+:} false; then : 8192 $as_echo_n "(cached) " >&6 8193else 8194 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8195fi 8196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8197$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8198lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8199 8200# 8201# Check to make sure the PIC flag actually works. 8202# 8203if test -n "$lt_prog_compiler_pic"; then 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8205$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8206if ${lt_cv_prog_compiler_pic_works+:} false; then : 8207 $as_echo_n "(cached) " >&6 8208else 8209 lt_cv_prog_compiler_pic_works=no 8210 ac_outfile=conftest.$ac_objext 8211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8212 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8213 # Insert the option either (1) after the last *FLAGS variable, or 8214 # (2) before a word containing "conftest.", or (3) at the end. 8215 # Note that $ac_compile itself does not contain backslashes and begins 8216 # with a dollar sign (not a hyphen), so the echo should work correctly. 8217 # The option is referenced via a variable to avoid confusing sed. 8218 lt_compile=`echo "$ac_compile" | $SED \ 8219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8221 -e 's:$: $lt_compiler_flag:'` 8222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8223 (eval "$lt_compile" 2>conftest.err) 8224 ac_status=$? 8225 cat conftest.err >&5 8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8227 if (exit $ac_status) && test -s "$ac_outfile"; then 8228 # The compiler can only warn and ignore the option if not recognized 8229 # So say no if there are warnings other than the usual output. 8230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8231 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8232 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8233 lt_cv_prog_compiler_pic_works=yes 8234 fi 8235 fi 8236 $RM conftest* 8237 8238fi 8239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8240$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8241 8242if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8243 case $lt_prog_compiler_pic in 8244 "" | " "*) ;; 8245 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8246 esac 8247else 8248 lt_prog_compiler_pic= 8249 lt_prog_compiler_can_build_shared=no 8250fi 8251 8252fi 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264# 8265# Check to make sure the static flag actually works. 8266# 8267wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8269$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8270if ${lt_cv_prog_compiler_static_works+:} false; then : 8271 $as_echo_n "(cached) " >&6 8272else 8273 lt_cv_prog_compiler_static_works=no 8274 save_LDFLAGS="$LDFLAGS" 8275 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8276 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8277 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8278 # The linker can only warn and ignore the option if not recognized 8279 # So say no if there are warnings 8280 if test -s conftest.err; then 8281 # Append any errors to the config.log. 8282 cat conftest.err 1>&5 8283 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8284 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8285 if diff conftest.exp conftest.er2 >/dev/null; then 8286 lt_cv_prog_compiler_static_works=yes 8287 fi 8288 else 8289 lt_cv_prog_compiler_static_works=yes 8290 fi 8291 fi 8292 $RM -r conftest* 8293 LDFLAGS="$save_LDFLAGS" 8294 8295fi 8296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8297$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8298 8299if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8300 : 8301else 8302 lt_prog_compiler_static= 8303fi 8304 8305 8306 8307 8308 8309 8310 8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8312$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8313if ${lt_cv_prog_compiler_c_o+:} false; then : 8314 $as_echo_n "(cached) " >&6 8315else 8316 lt_cv_prog_compiler_c_o=no 8317 $RM -r conftest 2>/dev/null 8318 mkdir conftest 8319 cd conftest 8320 mkdir out 8321 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8322 8323 lt_compiler_flag="-o out/conftest2.$ac_objext" 8324 # Insert the option either (1) after the last *FLAGS variable, or 8325 # (2) before a word containing "conftest.", or (3) at the end. 8326 # Note that $ac_compile itself does not contain backslashes and begins 8327 # with a dollar sign (not a hyphen), so the echo should work correctly. 8328 lt_compile=`echo "$ac_compile" | $SED \ 8329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8331 -e 's:$: $lt_compiler_flag:'` 8332 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8333 (eval "$lt_compile" 2>out/conftest.err) 8334 ac_status=$? 8335 cat out/conftest.err >&5 8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8337 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8338 then 8339 # The compiler can only warn and ignore the option if not recognized 8340 # So say no if there are warnings 8341 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8342 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8343 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8344 lt_cv_prog_compiler_c_o=yes 8345 fi 8346 fi 8347 chmod u+w . 2>&5 8348 $RM conftest* 8349 # SGI C++ compiler will create directory out/ii_files/ for 8350 # template instantiation 8351 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8352 $RM out/* && rmdir out 8353 cd .. 8354 $RM -r conftest 8355 $RM conftest* 8356 8357fi 8358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8359$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8360 8361 8362 8363 8364 8365 8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8367$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8368if ${lt_cv_prog_compiler_c_o+:} false; then : 8369 $as_echo_n "(cached) " >&6 8370else 8371 lt_cv_prog_compiler_c_o=no 8372 $RM -r conftest 2>/dev/null 8373 mkdir conftest 8374 cd conftest 8375 mkdir out 8376 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8377 8378 lt_compiler_flag="-o out/conftest2.$ac_objext" 8379 # Insert the option either (1) after the last *FLAGS variable, or 8380 # (2) before a word containing "conftest.", or (3) at the end. 8381 # Note that $ac_compile itself does not contain backslashes and begins 8382 # with a dollar sign (not a hyphen), so the echo should work correctly. 8383 lt_compile=`echo "$ac_compile" | $SED \ 8384 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8385 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8386 -e 's:$: $lt_compiler_flag:'` 8387 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8388 (eval "$lt_compile" 2>out/conftest.err) 8389 ac_status=$? 8390 cat out/conftest.err >&5 8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8392 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8393 then 8394 # The compiler can only warn and ignore the option if not recognized 8395 # So say no if there are warnings 8396 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8397 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8398 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8399 lt_cv_prog_compiler_c_o=yes 8400 fi 8401 fi 8402 chmod u+w . 2>&5 8403 $RM conftest* 8404 # SGI C++ compiler will create directory out/ii_files/ for 8405 # template instantiation 8406 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8407 $RM out/* && rmdir out 8408 cd .. 8409 $RM -r conftest 8410 $RM conftest* 8411 8412fi 8413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8414$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8415 8416 8417 8418 8419hard_links="nottested" 8420if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8421 # do not overwrite the value of need_locks provided by the user 8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8423$as_echo_n "checking if we can lock with hard links... " >&6; } 8424 hard_links=yes 8425 $RM conftest* 8426 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8427 touch conftest.a 8428 ln conftest.a conftest.b 2>&5 || hard_links=no 8429 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8431$as_echo "$hard_links" >&6; } 8432 if test "$hard_links" = no; then 8433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8434$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8435 need_locks=warn 8436 fi 8437else 8438 need_locks=no 8439fi 8440 8441 8442 8443 8444 8445 8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8447$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8448 8449 runpath_var= 8450 allow_undefined_flag= 8451 always_export_symbols=no 8452 archive_cmds= 8453 archive_expsym_cmds= 8454 compiler_needs_object=no 8455 enable_shared_with_static_runtimes=no 8456 export_dynamic_flag_spec= 8457 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8458 hardcode_automatic=no 8459 hardcode_direct=no 8460 hardcode_direct_absolute=no 8461 hardcode_libdir_flag_spec= 8462 hardcode_libdir_separator= 8463 hardcode_minus_L=no 8464 hardcode_shlibpath_var=unsupported 8465 inherit_rpath=no 8466 link_all_deplibs=unknown 8467 module_cmds= 8468 module_expsym_cmds= 8469 old_archive_from_new_cmds= 8470 old_archive_from_expsyms_cmds= 8471 thread_safe_flag_spec= 8472 whole_archive_flag_spec= 8473 # include_expsyms should be a list of space-separated symbols to be *always* 8474 # included in the symbol list 8475 include_expsyms= 8476 # exclude_expsyms can be an extended regexp of symbols to exclude 8477 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8478 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8479 # as well as any symbol that contains `d'. 8480 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8481 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8482 # platforms (ab)use it in PIC code, but their linkers get confused if 8483 # the symbol is explicitly referenced. Since portable code cannot 8484 # rely on this symbol name, it's probably fine to never include it in 8485 # preloaded symbol tables. 8486 # Exclude shared library initialization/finalization symbols. 8487 extract_expsyms_cmds= 8488 8489 case $host_os in 8490 cygwin* | mingw* | pw32* | cegcc*) 8491 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8492 # When not using gcc, we currently assume that we are using 8493 # Microsoft Visual C++. 8494 if test "$GCC" != yes; then 8495 with_gnu_ld=no 8496 fi 8497 ;; 8498 interix*) 8499 # we just hope/assume this is gcc and not c89 (= MSVC++) 8500 with_gnu_ld=yes 8501 ;; 8502 openbsd*) 8503 with_gnu_ld=no 8504 ;; 8505 linux* | k*bsd*-gnu | gnu*) 8506 link_all_deplibs=no 8507 ;; 8508 esac 8509 8510 ld_shlibs=yes 8511 8512 # On some targets, GNU ld is compatible enough with the native linker 8513 # that we're better off using the native interface for both. 8514 lt_use_gnu_ld_interface=no 8515 if test "$with_gnu_ld" = yes; then 8516 case $host_os in 8517 aix*) 8518 # The AIX port of GNU ld has always aspired to compatibility 8519 # with the native linker. However, as the warning in the GNU ld 8520 # block says, versions before 2.19.5* couldn't really create working 8521 # shared libraries, regardless of the interface used. 8522 case `$LD -v 2>&1` in 8523 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8524 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8525 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8526 *) 8527 lt_use_gnu_ld_interface=yes 8528 ;; 8529 esac 8530 ;; 8531 *) 8532 lt_use_gnu_ld_interface=yes 8533 ;; 8534 esac 8535 fi 8536 8537 if test "$lt_use_gnu_ld_interface" = yes; then 8538 # If archive_cmds runs LD, not CC, wlarc should be empty 8539 wlarc='${wl}' 8540 8541 # Set some defaults for GNU ld with shared library support. These 8542 # are reset later if shared libraries are not supported. Putting them 8543 # here allows them to be overridden if necessary. 8544 runpath_var=LD_RUN_PATH 8545 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8546 export_dynamic_flag_spec='${wl}--export-dynamic' 8547 # ancient GNU ld didn't support --whole-archive et. al. 8548 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8549 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8550 else 8551 whole_archive_flag_spec= 8552 fi 8553 supports_anon_versioning=no 8554 case `$LD -v 2>&1` in 8555 *GNU\ gold*) supports_anon_versioning=yes ;; 8556 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8557 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8558 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8559 *\ 2.11.*) ;; # other 2.11 versions 8560 *) supports_anon_versioning=yes ;; 8561 esac 8562 8563 # See if GNU ld supports shared libraries. 8564 case $host_os in 8565 aix[3-9]*) 8566 # On AIX/PPC, the GNU linker is very broken 8567 if test "$host_cpu" != ia64; then 8568 ld_shlibs=no 8569 cat <<_LT_EOF 1>&2 8570 8571*** Warning: the GNU linker, at least up to release 2.19, is reported 8572*** to be unable to reliably create shared libraries on AIX. 8573*** Therefore, libtool is disabling shared libraries support. If you 8574*** really care for shared libraries, you may want to install binutils 8575*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8576*** You will then need to restart the configuration process. 8577 8578_LT_EOF 8579 fi 8580 ;; 8581 8582 amigaos*) 8583 case $host_cpu in 8584 powerpc) 8585 # see comment about AmigaOS4 .so support 8586 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8587 archive_expsym_cmds='' 8588 ;; 8589 m68k) 8590 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)' 8591 hardcode_libdir_flag_spec='-L$libdir' 8592 hardcode_minus_L=yes 8593 ;; 8594 esac 8595 ;; 8596 8597 beos*) 8598 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8599 allow_undefined_flag=unsupported 8600 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8601 # support --undefined. This deserves some investigation. FIXME 8602 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8603 else 8604 ld_shlibs=no 8605 fi 8606 ;; 8607 8608 cygwin* | mingw* | pw32* | cegcc*) 8609 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8610 # as there is no search path for DLLs. 8611 hardcode_libdir_flag_spec='-L$libdir' 8612 export_dynamic_flag_spec='${wl}--export-all-symbols' 8613 allow_undefined_flag=unsupported 8614 always_export_symbols=no 8615 enable_shared_with_static_runtimes=yes 8616 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' 8617 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8618 8619 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8621 # If the export-symbols file already is a .def file (1st line 8622 # is EXPORTS), use it as is; otherwise, prepend... 8623 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8624 cp $export_symbols $output_objdir/$soname.def; 8625 else 8626 echo EXPORTS > $output_objdir/$soname.def; 8627 cat $export_symbols >> $output_objdir/$soname.def; 8628 fi~ 8629 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8630 else 8631 ld_shlibs=no 8632 fi 8633 ;; 8634 8635 haiku*) 8636 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8637 link_all_deplibs=yes 8638 ;; 8639 8640 interix[3-9]*) 8641 hardcode_direct=no 8642 hardcode_shlibpath_var=no 8643 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8644 export_dynamic_flag_spec='${wl}-E' 8645 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8646 # Instead, shared libraries are loaded at an image base (0x10000000 by 8647 # default) and relocated if they conflict, which is a slow very memory 8648 # consuming and fragmenting process. To avoid this, we pick a random, 8649 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8650 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8651 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8652 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' 8653 ;; 8654 8655 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8656 tmp_diet=no 8657 if test "$host_os" = linux-dietlibc; then 8658 case $cc_basename in 8659 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8660 esac 8661 fi 8662 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8663 && test "$tmp_diet" = no 8664 then 8665 tmp_addflag=' $pic_flag' 8666 tmp_sharedflag='-shared' 8667 case $cc_basename,$host_cpu in 8668 pgcc*) # Portland Group C compiler 8669 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' 8670 tmp_addflag=' $pic_flag' 8671 ;; 8672 pgf77* | pgf90* | pgf95* | pgfortran*) 8673 # Portland Group f77 and f90 compilers 8674 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' 8675 tmp_addflag=' $pic_flag -Mnomain' ;; 8676 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8677 tmp_addflag=' -i_dynamic' ;; 8678 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8679 tmp_addflag=' -i_dynamic -nofor_main' ;; 8680 ifc* | ifort*) # Intel Fortran compiler 8681 tmp_addflag=' -nofor_main' ;; 8682 lf95*) # Lahey Fortran 8.1 8683 whole_archive_flag_spec= 8684 tmp_sharedflag='--shared' ;; 8685 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8686 tmp_sharedflag='-qmkshrobj' 8687 tmp_addflag= ;; 8688 nvcc*) # Cuda Compiler Driver 2.2 8689 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' 8690 compiler_needs_object=yes 8691 ;; 8692 esac 8693 case `$CC -V 2>&1 | sed 5q` in 8694 *Sun\ C*) # Sun C 5.9 8695 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' 8696 compiler_needs_object=yes 8697 tmp_sharedflag='-G' ;; 8698 *Sun\ F*) # Sun Fortran 8.3 8699 tmp_sharedflag='-G' ;; 8700 esac 8701 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8702 8703 if test "x$supports_anon_versioning" = xyes; then 8704 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8705 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8706 echo "local: *; };" >> $output_objdir/$libname.ver~ 8707 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8708 fi 8709 8710 case $cc_basename in 8711 xlf* | bgf* | bgxlf* | mpixlf*) 8712 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8713 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8714 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8715 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8716 if test "x$supports_anon_versioning" = xyes; then 8717 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8718 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8719 echo "local: *; };" >> $output_objdir/$libname.ver~ 8720 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8721 fi 8722 ;; 8723 esac 8724 else 8725 ld_shlibs=no 8726 fi 8727 ;; 8728 8729 netbsd* | netbsdelf*-gnu) 8730 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8731 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8732 wlarc= 8733 else 8734 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8735 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8736 fi 8737 ;; 8738 8739 solaris*) 8740 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8741 ld_shlibs=no 8742 cat <<_LT_EOF 1>&2 8743 8744*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8745*** create shared libraries on Solaris systems. Therefore, libtool 8746*** is disabling shared libraries support. We urge you to upgrade GNU 8747*** binutils to release 2.9.1 or newer. Another option is to modify 8748*** your PATH or compiler configuration so that the native linker is 8749*** used, and then restart. 8750 8751_LT_EOF 8752 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8753 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8754 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8755 else 8756 ld_shlibs=no 8757 fi 8758 ;; 8759 8760 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8761 case `$LD -v 2>&1` in 8762 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8763 ld_shlibs=no 8764 cat <<_LT_EOF 1>&2 8765 8766*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8767*** reliably create shared libraries on SCO systems. Therefore, libtool 8768*** is disabling shared libraries support. We urge you to upgrade GNU 8769*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8770*** your PATH or compiler configuration so that the native linker is 8771*** used, and then restart. 8772 8773_LT_EOF 8774 ;; 8775 *) 8776 # For security reasons, it is highly recommended that you always 8777 # use absolute paths for naming shared libraries, and exclude the 8778 # DT_RUNPATH tag from executables and libraries. But doing so 8779 # requires that you compile everything twice, which is a pain. 8780 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8782 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8783 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8784 else 8785 ld_shlibs=no 8786 fi 8787 ;; 8788 esac 8789 ;; 8790 8791 sunos4*) 8792 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8793 wlarc= 8794 hardcode_direct=yes 8795 hardcode_shlibpath_var=no 8796 ;; 8797 8798 *) 8799 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8800 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8801 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8802 else 8803 ld_shlibs=no 8804 fi 8805 ;; 8806 esac 8807 8808 if test "$ld_shlibs" = no; then 8809 runpath_var= 8810 hardcode_libdir_flag_spec= 8811 export_dynamic_flag_spec= 8812 whole_archive_flag_spec= 8813 fi 8814 else 8815 # PORTME fill in a description of your system's linker (not GNU ld) 8816 case $host_os in 8817 aix3*) 8818 allow_undefined_flag=unsupported 8819 always_export_symbols=yes 8820 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' 8821 # Note: this linker hardcodes the directories in LIBPATH if there 8822 # are no directories specified by -L. 8823 hardcode_minus_L=yes 8824 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8825 # Neither direct hardcoding nor static linking is supported with a 8826 # broken collect2. 8827 hardcode_direct=unsupported 8828 fi 8829 ;; 8830 8831 aix[4-9]*) 8832 if test "$host_cpu" = ia64; then 8833 # On IA64, the linker does run time linking by default, so we don't 8834 # have to do anything special. 8835 aix_use_runtimelinking=no 8836 exp_sym_flag='-Bexport' 8837 no_entry_flag="" 8838 else 8839 # If we're using GNU nm, then we don't want the "-C" option. 8840 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8841 # Also, AIX nm treats weak defined symbols like other global 8842 # defined symbols, whereas GNU nm marks them as "W". 8843 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8844 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' 8845 else 8846 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' 8847 fi 8848 aix_use_runtimelinking=no 8849 8850 # Test if we are trying to use run time linking or normal 8851 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8852 # need to do runtime linking. 8853 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8854 for ld_flag in $LDFLAGS; do 8855 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8856 aix_use_runtimelinking=yes 8857 break 8858 fi 8859 done 8860 ;; 8861 esac 8862 8863 exp_sym_flag='-bexport' 8864 no_entry_flag='-bnoentry' 8865 fi 8866 8867 # When large executables or shared objects are built, AIX ld can 8868 # have problems creating the table of contents. If linking a library 8869 # or program results in "error TOC overflow" add -mminimal-toc to 8870 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8871 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8872 8873 archive_cmds='' 8874 hardcode_direct=yes 8875 hardcode_direct_absolute=yes 8876 hardcode_libdir_separator=':' 8877 link_all_deplibs=yes 8878 file_list_spec='${wl}-f,' 8879 8880 if test "$GCC" = yes; then 8881 case $host_os in aix4.[012]|aix4.[012].*) 8882 # We only want to do this on AIX 4.2 and lower, the check 8883 # below for broken collect2 doesn't work under 4.3+ 8884 collect2name=`${CC} -print-prog-name=collect2` 8885 if test -f "$collect2name" && 8886 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8887 then 8888 # We have reworked collect2 8889 : 8890 else 8891 # We have old collect2 8892 hardcode_direct=unsupported 8893 # It fails to find uninstalled libraries when the uninstalled 8894 # path is not listed in the libpath. Setting hardcode_minus_L 8895 # to unsupported forces relinking 8896 hardcode_minus_L=yes 8897 hardcode_libdir_flag_spec='-L$libdir' 8898 hardcode_libdir_separator= 8899 fi 8900 ;; 8901 esac 8902 shared_flag='-shared' 8903 if test "$aix_use_runtimelinking" = yes; then 8904 shared_flag="$shared_flag "'${wl}-G' 8905 fi 8906 link_all_deplibs=no 8907 else 8908 # not using gcc 8909 if test "$host_cpu" = ia64; then 8910 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8911 # chokes on -Wl,-G. The following line is correct: 8912 shared_flag='-G' 8913 else 8914 if test "$aix_use_runtimelinking" = yes; then 8915 shared_flag='${wl}-G' 8916 else 8917 shared_flag='${wl}-bM:SRE' 8918 fi 8919 fi 8920 fi 8921 8922 export_dynamic_flag_spec='${wl}-bexpall' 8923 # It seems that -bexpall does not export symbols beginning with 8924 # underscore (_), so it is better to generate a list of symbols to export. 8925 always_export_symbols=yes 8926 if test "$aix_use_runtimelinking" = yes; then 8927 # Warning - without using the other runtime loading flags (-brtl), 8928 # -berok will link without error, but may produce a broken library. 8929 allow_undefined_flag='-berok' 8930 # Determine the default libpath from the value encoded in an 8931 # empty executable. 8932 if test "${lt_cv_aix_libpath+set}" = set; then 8933 aix_libpath=$lt_cv_aix_libpath 8934else 8935 if ${lt_cv_aix_libpath_+:} false; then : 8936 $as_echo_n "(cached) " >&6 8937else 8938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8939/* end confdefs.h. */ 8940 8941int 8942main () 8943{ 8944 8945 ; 8946 return 0; 8947} 8948_ACEOF 8949if ac_fn_c_try_link "$LINENO"; then : 8950 8951 lt_aix_libpath_sed=' 8952 /Import File Strings/,/^$/ { 8953 /^0/ { 8954 s/^0 *\([^ ]*\) *$/\1/ 8955 p 8956 } 8957 }' 8958 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8959 # Check for a 64-bit object if we didn't find anything. 8960 if test -z "$lt_cv_aix_libpath_"; then 8961 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8962 fi 8963fi 8964rm -f core conftest.err conftest.$ac_objext \ 8965 conftest$ac_exeext conftest.$ac_ext 8966 if test -z "$lt_cv_aix_libpath_"; then 8967 lt_cv_aix_libpath_="/usr/lib:/lib" 8968 fi 8969 8970fi 8971 8972 aix_libpath=$lt_cv_aix_libpath_ 8973fi 8974 8975 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8976 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" 8977 else 8978 if test "$host_cpu" = ia64; then 8979 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8980 allow_undefined_flag="-z nodefs" 8981 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" 8982 else 8983 # Determine the default libpath from the value encoded in an 8984 # empty executable. 8985 if test "${lt_cv_aix_libpath+set}" = set; then 8986 aix_libpath=$lt_cv_aix_libpath 8987else 8988 if ${lt_cv_aix_libpath_+:} false; then : 8989 $as_echo_n "(cached) " >&6 8990else 8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8992/* end confdefs.h. */ 8993 8994int 8995main () 8996{ 8997 8998 ; 8999 return 0; 9000} 9001_ACEOF 9002if ac_fn_c_try_link "$LINENO"; then : 9003 9004 lt_aix_libpath_sed=' 9005 /Import File Strings/,/^$/ { 9006 /^0/ { 9007 s/^0 *\([^ ]*\) *$/\1/ 9008 p 9009 } 9010 }' 9011 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9012 # Check for a 64-bit object if we didn't find anything. 9013 if test -z "$lt_cv_aix_libpath_"; then 9014 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9015 fi 9016fi 9017rm -f core conftest.err conftest.$ac_objext \ 9018 conftest$ac_exeext conftest.$ac_ext 9019 if test -z "$lt_cv_aix_libpath_"; then 9020 lt_cv_aix_libpath_="/usr/lib:/lib" 9021 fi 9022 9023fi 9024 9025 aix_libpath=$lt_cv_aix_libpath_ 9026fi 9027 9028 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9029 # Warning - without using the other run time loading flags, 9030 # -berok will link without error, but may produce a broken library. 9031 no_undefined_flag=' ${wl}-bernotok' 9032 allow_undefined_flag=' ${wl}-berok' 9033 if test "$with_gnu_ld" = yes; then 9034 # We only use this code for GNU lds that support --whole-archive. 9035 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9036 else 9037 # Exported symbols can be pulled into shared objects from archives 9038 whole_archive_flag_spec='$convenience' 9039 fi 9040 archive_cmds_need_lc=yes 9041 # This is similar to how AIX traditionally builds its shared libraries. 9042 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' 9043 fi 9044 fi 9045 ;; 9046 9047 amigaos*) 9048 case $host_cpu in 9049 powerpc) 9050 # see comment about AmigaOS4 .so support 9051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9052 archive_expsym_cmds='' 9053 ;; 9054 m68k) 9055 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)' 9056 hardcode_libdir_flag_spec='-L$libdir' 9057 hardcode_minus_L=yes 9058 ;; 9059 esac 9060 ;; 9061 9062 bsdi[45]*) 9063 export_dynamic_flag_spec=-rdynamic 9064 ;; 9065 9066 cygwin* | mingw* | pw32* | cegcc*) 9067 # When not using gcc, we currently assume that we are using 9068 # Microsoft Visual C++. 9069 # hardcode_libdir_flag_spec is actually meaningless, as there is 9070 # no search path for DLLs. 9071 case $cc_basename in 9072 cl*) 9073 # Native MSVC 9074 hardcode_libdir_flag_spec=' ' 9075 allow_undefined_flag=unsupported 9076 always_export_symbols=yes 9077 file_list_spec='@' 9078 # Tell ltmain to make .lib files, not .a files. 9079 libext=lib 9080 # Tell ltmain to make .dll files, not .so files. 9081 shrext_cmds=".dll" 9082 # FIXME: Setting linknames here is a bad hack. 9083 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9084 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9085 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9086 else 9087 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9088 fi~ 9089 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9090 linknames=' 9091 # The linker will not automatically build a static lib if we build a DLL. 9092 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9093 enable_shared_with_static_runtimes=yes 9094 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9095 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9096 # Don't use ranlib 9097 old_postinstall_cmds='chmod 644 $oldlib' 9098 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9099 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9100 case $lt_outputfile in 9101 *.exe|*.EXE) ;; 9102 *) 9103 lt_outputfile="$lt_outputfile.exe" 9104 lt_tool_outputfile="$lt_tool_outputfile.exe" 9105 ;; 9106 esac~ 9107 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9108 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9109 $RM "$lt_outputfile.manifest"; 9110 fi' 9111 ;; 9112 *) 9113 # Assume MSVC wrapper 9114 hardcode_libdir_flag_spec=' ' 9115 allow_undefined_flag=unsupported 9116 # Tell ltmain to make .lib files, not .a files. 9117 libext=lib 9118 # Tell ltmain to make .dll files, not .so files. 9119 shrext_cmds=".dll" 9120 # FIXME: Setting linknames here is a bad hack. 9121 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9122 # The linker will automatically build a .lib file if we build a DLL. 9123 old_archive_from_new_cmds='true' 9124 # FIXME: Should let the user specify the lib program. 9125 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9126 enable_shared_with_static_runtimes=yes 9127 ;; 9128 esac 9129 ;; 9130 9131 darwin* | rhapsody*) 9132 9133 9134 archive_cmds_need_lc=no 9135 hardcode_direct=no 9136 hardcode_automatic=yes 9137 hardcode_shlibpath_var=unsupported 9138 if test "$lt_cv_ld_force_load" = "yes"; then 9139 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\"`' 9140 9141 else 9142 whole_archive_flag_spec='' 9143 fi 9144 link_all_deplibs=yes 9145 allow_undefined_flag="$_lt_dar_allow_undefined" 9146 case $cc_basename in 9147 ifort*) _lt_dar_can_shared=yes ;; 9148 *) _lt_dar_can_shared=$GCC ;; 9149 esac 9150 if test "$_lt_dar_can_shared" = "yes"; then 9151 output_verbose_link_cmd=func_echo_all 9152 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9153 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9154 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}" 9155 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}" 9156 9157 else 9158 ld_shlibs=no 9159 fi 9160 9161 ;; 9162 9163 dgux*) 9164 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9165 hardcode_libdir_flag_spec='-L$libdir' 9166 hardcode_shlibpath_var=no 9167 ;; 9168 9169 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9170 # support. Future versions do this automatically, but an explicit c++rt0.o 9171 # does not break anything, and helps significantly (at the cost of a little 9172 # extra space). 9173 freebsd2.2*) 9174 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9175 hardcode_libdir_flag_spec='-R$libdir' 9176 hardcode_direct=yes 9177 hardcode_shlibpath_var=no 9178 ;; 9179 9180 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9181 freebsd2.*) 9182 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9183 hardcode_direct=yes 9184 hardcode_minus_L=yes 9185 hardcode_shlibpath_var=no 9186 ;; 9187 9188 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9189 freebsd* | dragonfly*) 9190 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9191 hardcode_libdir_flag_spec='-R$libdir' 9192 hardcode_direct=yes 9193 hardcode_shlibpath_var=no 9194 ;; 9195 9196 hpux9*) 9197 if test "$GCC" = yes; then 9198 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' 9199 else 9200 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' 9201 fi 9202 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9203 hardcode_libdir_separator=: 9204 hardcode_direct=yes 9205 9206 # hardcode_minus_L: Not really in the search PATH, 9207 # but as the default location of the library. 9208 hardcode_minus_L=yes 9209 export_dynamic_flag_spec='${wl}-E' 9210 ;; 9211 9212 hpux10*) 9213 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9214 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9215 else 9216 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9217 fi 9218 if test "$with_gnu_ld" = no; then 9219 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9220 hardcode_libdir_separator=: 9221 hardcode_direct=yes 9222 hardcode_direct_absolute=yes 9223 export_dynamic_flag_spec='${wl}-E' 9224 # hardcode_minus_L: Not really in the search PATH, 9225 # but as the default location of the library. 9226 hardcode_minus_L=yes 9227 fi 9228 ;; 9229 9230 hpux11*) 9231 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9232 case $host_cpu in 9233 hppa*64*) 9234 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9235 ;; 9236 ia64*) 9237 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9238 ;; 9239 *) 9240 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9241 ;; 9242 esac 9243 else 9244 case $host_cpu in 9245 hppa*64*) 9246 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9247 ;; 9248 ia64*) 9249 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9250 ;; 9251 *) 9252 9253 # Older versions of the 11.00 compiler do not understand -b yet 9254 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9256$as_echo_n "checking if $CC understands -b... " >&6; } 9257if ${lt_cv_prog_compiler__b+:} false; then : 9258 $as_echo_n "(cached) " >&6 9259else 9260 lt_cv_prog_compiler__b=no 9261 save_LDFLAGS="$LDFLAGS" 9262 LDFLAGS="$LDFLAGS -b" 9263 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9264 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9265 # The linker can only warn and ignore the option if not recognized 9266 # So say no if there are warnings 9267 if test -s conftest.err; then 9268 # Append any errors to the config.log. 9269 cat conftest.err 1>&5 9270 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9271 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9272 if diff conftest.exp conftest.er2 >/dev/null; then 9273 lt_cv_prog_compiler__b=yes 9274 fi 9275 else 9276 lt_cv_prog_compiler__b=yes 9277 fi 9278 fi 9279 $RM -r conftest* 9280 LDFLAGS="$save_LDFLAGS" 9281 9282fi 9283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9284$as_echo "$lt_cv_prog_compiler__b" >&6; } 9285 9286if test x"$lt_cv_prog_compiler__b" = xyes; then 9287 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9288else 9289 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9290fi 9291 9292 ;; 9293 esac 9294 fi 9295 if test "$with_gnu_ld" = no; then 9296 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9297 hardcode_libdir_separator=: 9298 9299 case $host_cpu in 9300 hppa*64*|ia64*) 9301 hardcode_direct=no 9302 hardcode_shlibpath_var=no 9303 ;; 9304 *) 9305 hardcode_direct=yes 9306 hardcode_direct_absolute=yes 9307 export_dynamic_flag_spec='${wl}-E' 9308 9309 # hardcode_minus_L: Not really in the search PATH, 9310 # but as the default location of the library. 9311 hardcode_minus_L=yes 9312 ;; 9313 esac 9314 fi 9315 ;; 9316 9317 irix5* | irix6* | nonstopux*) 9318 if test "$GCC" = yes; then 9319 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' 9320 # Try to use the -exported_symbol ld option, if it does not 9321 # work, assume that -exports_file does not work either and 9322 # implicitly export all symbols. 9323 # This should be the same for all languages, so no per-tag cache variable. 9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9325$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9326if ${lt_cv_irix_exported_symbol+:} false; then : 9327 $as_echo_n "(cached) " >&6 9328else 9329 save_LDFLAGS="$LDFLAGS" 9330 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9332/* end confdefs.h. */ 9333int foo (void) { return 0; } 9334_ACEOF 9335if ac_fn_c_try_link "$LINENO"; then : 9336 lt_cv_irix_exported_symbol=yes 9337else 9338 lt_cv_irix_exported_symbol=no 9339fi 9340rm -f core conftest.err conftest.$ac_objext \ 9341 conftest$ac_exeext conftest.$ac_ext 9342 LDFLAGS="$save_LDFLAGS" 9343fi 9344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9345$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9346 if test "$lt_cv_irix_exported_symbol" = yes; then 9347 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' 9348 fi 9349 else 9350 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' 9351 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' 9352 fi 9353 archive_cmds_need_lc='no' 9354 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9355 hardcode_libdir_separator=: 9356 inherit_rpath=yes 9357 link_all_deplibs=yes 9358 ;; 9359 9360 netbsd* | netbsdelf*-gnu) 9361 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9362 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9363 else 9364 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9365 fi 9366 hardcode_libdir_flag_spec='-R$libdir' 9367 hardcode_direct=yes 9368 hardcode_shlibpath_var=no 9369 ;; 9370 9371 newsos6) 9372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9373 hardcode_direct=yes 9374 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9375 hardcode_libdir_separator=: 9376 hardcode_shlibpath_var=no 9377 ;; 9378 9379 *nto* | *qnx*) 9380 ;; 9381 9382 openbsd*) 9383 if test -f /usr/libexec/ld.so; then 9384 hardcode_direct=yes 9385 hardcode_shlibpath_var=no 9386 hardcode_direct_absolute=yes 9387 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9388 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9389 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9390 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9391 export_dynamic_flag_spec='${wl}-E' 9392 else 9393 case $host_os in 9394 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9395 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9396 hardcode_libdir_flag_spec='-R$libdir' 9397 ;; 9398 *) 9399 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9400 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9401 ;; 9402 esac 9403 fi 9404 else 9405 ld_shlibs=no 9406 fi 9407 ;; 9408 9409 os2*) 9410 hardcode_libdir_flag_spec='-L$libdir' 9411 hardcode_minus_L=yes 9412 allow_undefined_flag=unsupported 9413 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' 9414 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9415 ;; 9416 9417 osf3*) 9418 if test "$GCC" = yes; then 9419 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9420 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' 9421 else 9422 allow_undefined_flag=' -expect_unresolved \*' 9423 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' 9424 fi 9425 archive_cmds_need_lc='no' 9426 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9427 hardcode_libdir_separator=: 9428 ;; 9429 9430 osf4* | osf5*) # as osf3* with the addition of -msym flag 9431 if test "$GCC" = yes; then 9432 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9433 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' 9434 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9435 else 9436 allow_undefined_flag=' -expect_unresolved \*' 9437 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' 9438 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~ 9439 $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' 9440 9441 # Both c and cxx compiler support -rpath directly 9442 hardcode_libdir_flag_spec='-rpath $libdir' 9443 fi 9444 archive_cmds_need_lc='no' 9445 hardcode_libdir_separator=: 9446 ;; 9447 9448 solaris*) 9449 no_undefined_flag=' -z defs' 9450 if test "$GCC" = yes; then 9451 wlarc='${wl}' 9452 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9453 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9454 $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' 9455 else 9456 case `$CC -V 2>&1` in 9457 *"Compilers 5.0"*) 9458 wlarc='' 9459 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9460 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9461 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9462 ;; 9463 *) 9464 wlarc='${wl}' 9465 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9466 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9467 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9468 ;; 9469 esac 9470 fi 9471 hardcode_libdir_flag_spec='-R$libdir' 9472 hardcode_shlibpath_var=no 9473 case $host_os in 9474 solaris2.[0-5] | solaris2.[0-5].*) ;; 9475 *) 9476 # The compiler driver will combine and reorder linker options, 9477 # but understands `-z linker_flag'. GCC discards it without `$wl', 9478 # but is careful enough not to reorder. 9479 # Supported since Solaris 2.6 (maybe 2.5.1?) 9480 if test "$GCC" = yes; then 9481 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9482 else 9483 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9484 fi 9485 ;; 9486 esac 9487 link_all_deplibs=yes 9488 ;; 9489 9490 sunos4*) 9491 if test "x$host_vendor" = xsequent; then 9492 # Use $CC to link under sequent, because it throws in some extra .o 9493 # files that make .init and .fini sections work. 9494 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9495 else 9496 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9497 fi 9498 hardcode_libdir_flag_spec='-L$libdir' 9499 hardcode_direct=yes 9500 hardcode_minus_L=yes 9501 hardcode_shlibpath_var=no 9502 ;; 9503 9504 sysv4) 9505 case $host_vendor in 9506 sni) 9507 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9508 hardcode_direct=yes # is this really true??? 9509 ;; 9510 siemens) 9511 ## LD is ld it makes a PLAMLIB 9512 ## CC just makes a GrossModule. 9513 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9514 reload_cmds='$CC -r -o $output$reload_objs' 9515 hardcode_direct=no 9516 ;; 9517 motorola) 9518 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9519 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9520 ;; 9521 esac 9522 runpath_var='LD_RUN_PATH' 9523 hardcode_shlibpath_var=no 9524 ;; 9525 9526 sysv4.3*) 9527 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9528 hardcode_shlibpath_var=no 9529 export_dynamic_flag_spec='-Bexport' 9530 ;; 9531 9532 sysv4*MP*) 9533 if test -d /usr/nec; then 9534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9535 hardcode_shlibpath_var=no 9536 runpath_var=LD_RUN_PATH 9537 hardcode_runpath_var=yes 9538 ld_shlibs=yes 9539 fi 9540 ;; 9541 9542 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9543 no_undefined_flag='${wl}-z,text' 9544 archive_cmds_need_lc=no 9545 hardcode_shlibpath_var=no 9546 runpath_var='LD_RUN_PATH' 9547 9548 if test "$GCC" = yes; then 9549 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9550 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9551 else 9552 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9553 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9554 fi 9555 ;; 9556 9557 sysv5* | sco3.2v5* | sco5v6*) 9558 # Note: We can NOT use -z defs as we might desire, because we do not 9559 # link with -lc, and that would cause any symbols used from libc to 9560 # always be unresolved, which means just about no library would 9561 # ever link correctly. If we're not using GNU ld we use -z text 9562 # though, which does catch some bad symbols but isn't as heavy-handed 9563 # as -z defs. 9564 no_undefined_flag='${wl}-z,text' 9565 allow_undefined_flag='${wl}-z,nodefs' 9566 archive_cmds_need_lc=no 9567 hardcode_shlibpath_var=no 9568 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9569 hardcode_libdir_separator=':' 9570 link_all_deplibs=yes 9571 export_dynamic_flag_spec='${wl}-Bexport' 9572 runpath_var='LD_RUN_PATH' 9573 9574 if test "$GCC" = yes; then 9575 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9576 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9577 else 9578 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9579 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9580 fi 9581 ;; 9582 9583 uts4*) 9584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9585 hardcode_libdir_flag_spec='-L$libdir' 9586 hardcode_shlibpath_var=no 9587 ;; 9588 9589 *) 9590 ld_shlibs=no 9591 ;; 9592 esac 9593 9594 if test x$host_vendor = xsni; then 9595 case $host in 9596 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9597 export_dynamic_flag_spec='${wl}-Blargedynsym' 9598 ;; 9599 esac 9600 fi 9601 fi 9602 9603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9604$as_echo "$ld_shlibs" >&6; } 9605test "$ld_shlibs" = no && can_build_shared=no 9606 9607with_gnu_ld=$with_gnu_ld 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623# 9624# Do we need to explicitly link libc? 9625# 9626case "x$archive_cmds_need_lc" in 9627x|xyes) 9628 # Assume -lc should be added 9629 archive_cmds_need_lc=yes 9630 9631 if test "$enable_shared" = yes && test "$GCC" = yes; then 9632 case $archive_cmds in 9633 *'~'*) 9634 # FIXME: we may have to deal with multi-command sequences. 9635 ;; 9636 '$CC '*) 9637 # Test whether the compiler implicitly links with -lc since on some 9638 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9639 # to ld, don't add -lc before -lgcc. 9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9641$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9642if ${lt_cv_archive_cmds_need_lc+:} false; then : 9643 $as_echo_n "(cached) " >&6 9644else 9645 $RM conftest* 9646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9647 9648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9649 (eval $ac_compile) 2>&5 9650 ac_status=$? 9651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9652 test $ac_status = 0; } 2>conftest.err; then 9653 soname=conftest 9654 lib=conftest 9655 libobjs=conftest.$ac_objext 9656 deplibs= 9657 wl=$lt_prog_compiler_wl 9658 pic_flag=$lt_prog_compiler_pic 9659 compiler_flags=-v 9660 linker_flags=-v 9661 verstring= 9662 output_objdir=. 9663 libname=conftest 9664 lt_save_allow_undefined_flag=$allow_undefined_flag 9665 allow_undefined_flag= 9666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9667 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9668 ac_status=$? 9669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9670 test $ac_status = 0; } 9671 then 9672 lt_cv_archive_cmds_need_lc=no 9673 else 9674 lt_cv_archive_cmds_need_lc=yes 9675 fi 9676 allow_undefined_flag=$lt_save_allow_undefined_flag 9677 else 9678 cat conftest.err 1>&5 9679 fi 9680 $RM conftest* 9681 9682fi 9683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9684$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9685 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9686 ;; 9687 esac 9688 fi 9689 ;; 9690esac 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9844$as_echo_n "checking dynamic linker characteristics... " >&6; } 9845 9846if test "$GCC" = yes; then 9847 case $host_os in 9848 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9849 *) lt_awk_arg="/^libraries:/" ;; 9850 esac 9851 case $host_os in 9852 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9853 *) lt_sed_strip_eq="s,=/,/,g" ;; 9854 esac 9855 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9856 case $lt_search_path_spec in 9857 *\;*) 9858 # if the path contains ";" then we assume it to be the separator 9859 # otherwise default to the standard path separator (i.e. ":") - it is 9860 # assumed that no part of a normal pathname contains ";" but that should 9861 # okay in the real world where ";" in dirpaths is itself problematic. 9862 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9863 ;; 9864 *) 9865 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9866 ;; 9867 esac 9868 # Ok, now we have the path, separated by spaces, we can step through it 9869 # and add multilib dir if necessary. 9870 lt_tmp_lt_search_path_spec= 9871 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9872 for lt_sys_path in $lt_search_path_spec; do 9873 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9874 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9875 else 9876 test -d "$lt_sys_path" && \ 9877 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9878 fi 9879 done 9880 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9881BEGIN {RS=" "; FS="/|\n";} { 9882 lt_foo=""; 9883 lt_count=0; 9884 for (lt_i = NF; lt_i > 0; lt_i--) { 9885 if ($lt_i != "" && $lt_i != ".") { 9886 if ($lt_i == "..") { 9887 lt_count++; 9888 } else { 9889 if (lt_count == 0) { 9890 lt_foo="/" $lt_i lt_foo; 9891 } else { 9892 lt_count--; 9893 } 9894 } 9895 } 9896 } 9897 if (lt_foo != "") { lt_freq[lt_foo]++; } 9898 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9899}'` 9900 # AWK program above erroneously prepends '/' to C:/dos/paths 9901 # for these hosts. 9902 case $host_os in 9903 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9904 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9905 esac 9906 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9907else 9908 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9909fi 9910library_names_spec= 9911libname_spec='lib$name' 9912soname_spec= 9913shrext_cmds=".so" 9914postinstall_cmds= 9915postuninstall_cmds= 9916finish_cmds= 9917finish_eval= 9918shlibpath_var= 9919shlibpath_overrides_runpath=unknown 9920version_type=none 9921dynamic_linker="$host_os ld.so" 9922sys_lib_dlsearch_path_spec="/lib /usr/lib" 9923need_lib_prefix=unknown 9924hardcode_into_libs=no 9925 9926# when you set need_version to no, make sure it does not cause -set_version 9927# flags to be left without arguments 9928need_version=unknown 9929 9930case $host_os in 9931aix3*) 9932 version_type=linux # correct to gnu/linux during the next big refactor 9933 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9934 shlibpath_var=LIBPATH 9935 9936 # AIX 3 has no versioning support, so we append a major version to the name. 9937 soname_spec='${libname}${release}${shared_ext}$major' 9938 ;; 9939 9940aix[4-9]*) 9941 version_type=linux # correct to gnu/linux during the next big refactor 9942 need_lib_prefix=no 9943 need_version=no 9944 hardcode_into_libs=yes 9945 if test "$host_cpu" = ia64; then 9946 # AIX 5 supports IA64 9947 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9948 shlibpath_var=LD_LIBRARY_PATH 9949 else 9950 # With GCC up to 2.95.x, collect2 would create an import file 9951 # for dependence libraries. The import file would start with 9952 # the line `#! .'. This would cause the generated library to 9953 # depend on `.', always an invalid library. This was fixed in 9954 # development snapshots of GCC prior to 3.0. 9955 case $host_os in 9956 aix4 | aix4.[01] | aix4.[01].*) 9957 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9958 echo ' yes ' 9959 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9960 : 9961 else 9962 can_build_shared=no 9963 fi 9964 ;; 9965 esac 9966 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9967 # soname into executable. Probably we can add versioning support to 9968 # collect2, so additional links can be useful in future. 9969 if test "$aix_use_runtimelinking" = yes; then 9970 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9971 # instead of lib<name>.a to let people know that these are not 9972 # typical AIX shared libraries. 9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9974 else 9975 # We preserve .a as extension for shared libraries through AIX4.2 9976 # and later when we are not doing run time linking. 9977 library_names_spec='${libname}${release}.a $libname.a' 9978 soname_spec='${libname}${release}${shared_ext}$major' 9979 fi 9980 shlibpath_var=LIBPATH 9981 fi 9982 ;; 9983 9984amigaos*) 9985 case $host_cpu in 9986 powerpc) 9987 # Since July 2007 AmigaOS4 officially supports .so libraries. 9988 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9990 ;; 9991 m68k) 9992 library_names_spec='$libname.ixlibrary $libname.a' 9993 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9994 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' 9995 ;; 9996 esac 9997 ;; 9998 9999beos*) 10000 library_names_spec='${libname}${shared_ext}' 10001 dynamic_linker="$host_os ld.so" 10002 shlibpath_var=LIBRARY_PATH 10003 ;; 10004 10005bsdi[45]*) 10006 version_type=linux # correct to gnu/linux during the next big refactor 10007 need_version=no 10008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10009 soname_spec='${libname}${release}${shared_ext}$major' 10010 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10011 shlibpath_var=LD_LIBRARY_PATH 10012 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10013 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10014 # the default ld.so.conf also contains /usr/contrib/lib and 10015 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10016 # libtool to hard-code these into programs 10017 ;; 10018 10019cygwin* | mingw* | pw32* | cegcc*) 10020 version_type=windows 10021 shrext_cmds=".dll" 10022 need_version=no 10023 need_lib_prefix=no 10024 10025 case $GCC,$cc_basename in 10026 yes,*) 10027 # gcc 10028 library_names_spec='$libname.dll.a' 10029 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10030 postinstall_cmds='base_file=`basename \${file}`~ 10031 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10032 dldir=$destdir/`dirname \$dlpath`~ 10033 test -d \$dldir || mkdir -p \$dldir~ 10034 $install_prog $dir/$dlname \$dldir/$dlname~ 10035 chmod a+x \$dldir/$dlname~ 10036 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10037 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10038 fi' 10039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10040 dlpath=$dir/\$dldll~ 10041 $RM \$dlpath' 10042 shlibpath_overrides_runpath=yes 10043 10044 case $host_os in 10045 cygwin*) 10046 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10047 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10048 10049 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10050 ;; 10051 mingw* | cegcc*) 10052 # MinGW DLLs use traditional 'lib' prefix 10053 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10054 ;; 10055 pw32*) 10056 # pw32 DLLs use 'pw' prefix rather than 'lib' 10057 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10058 ;; 10059 esac 10060 dynamic_linker='Win32 ld.exe' 10061 ;; 10062 10063 *,cl*) 10064 # Native MSVC 10065 libname_spec='$name' 10066 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10067 library_names_spec='${libname}.dll.lib' 10068 10069 case $build_os in 10070 mingw*) 10071 sys_lib_search_path_spec= 10072 lt_save_ifs=$IFS 10073 IFS=';' 10074 for lt_path in $LIB 10075 do 10076 IFS=$lt_save_ifs 10077 # Let DOS variable expansion print the short 8.3 style file name. 10078 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10079 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10080 done 10081 IFS=$lt_save_ifs 10082 # Convert to MSYS style. 10083 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10084 ;; 10085 cygwin*) 10086 # Convert to unix form, then to dos form, then back to unix form 10087 # but this time dos style (no spaces!) so that the unix form looks 10088 # like /cygdrive/c/PROGRA~1:/cygdr... 10089 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10090 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10091 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10092 ;; 10093 *) 10094 sys_lib_search_path_spec="$LIB" 10095 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10096 # It is most probably a Windows format PATH. 10097 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10098 else 10099 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10100 fi 10101 # FIXME: find the short name or the path components, as spaces are 10102 # common. (e.g. "Program Files" -> "PROGRA~1") 10103 ;; 10104 esac 10105 10106 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10107 postinstall_cmds='base_file=`basename \${file}`~ 10108 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10109 dldir=$destdir/`dirname \$dlpath`~ 10110 test -d \$dldir || mkdir -p \$dldir~ 10111 $install_prog $dir/$dlname \$dldir/$dlname' 10112 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10113 dlpath=$dir/\$dldll~ 10114 $RM \$dlpath' 10115 shlibpath_overrides_runpath=yes 10116 dynamic_linker='Win32 link.exe' 10117 ;; 10118 10119 *) 10120 # Assume MSVC wrapper 10121 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10122 dynamic_linker='Win32 ld.exe' 10123 ;; 10124 esac 10125 # FIXME: first we should search . and the directory the executable is in 10126 shlibpath_var=PATH 10127 ;; 10128 10129darwin* | rhapsody*) 10130 dynamic_linker="$host_os dyld" 10131 version_type=darwin 10132 need_lib_prefix=no 10133 need_version=no 10134 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10135 soname_spec='${libname}${release}${major}$shared_ext' 10136 shlibpath_overrides_runpath=yes 10137 shlibpath_var=DYLD_LIBRARY_PATH 10138 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10139 10140 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10141 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10142 ;; 10143 10144dgux*) 10145 version_type=linux # correct to gnu/linux during the next big refactor 10146 need_lib_prefix=no 10147 need_version=no 10148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10149 soname_spec='${libname}${release}${shared_ext}$major' 10150 shlibpath_var=LD_LIBRARY_PATH 10151 ;; 10152 10153freebsd* | dragonfly*) 10154 # DragonFly does not have aout. When/if they implement a new 10155 # versioning mechanism, adjust this. 10156 if test -x /usr/bin/objformat; then 10157 objformat=`/usr/bin/objformat` 10158 else 10159 case $host_os in 10160 freebsd[23].*) objformat=aout ;; 10161 *) objformat=elf ;; 10162 esac 10163 fi 10164 version_type=freebsd-$objformat 10165 case $version_type in 10166 freebsd-elf*) 10167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10168 need_version=no 10169 need_lib_prefix=no 10170 ;; 10171 freebsd-*) 10172 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10173 need_version=yes 10174 ;; 10175 esac 10176 shlibpath_var=LD_LIBRARY_PATH 10177 case $host_os in 10178 freebsd2.*) 10179 shlibpath_overrides_runpath=yes 10180 ;; 10181 freebsd3.[01]* | freebsdelf3.[01]*) 10182 shlibpath_overrides_runpath=yes 10183 hardcode_into_libs=yes 10184 ;; 10185 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10186 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10187 shlibpath_overrides_runpath=no 10188 hardcode_into_libs=yes 10189 ;; 10190 *) # from 4.6 on, and DragonFly 10191 shlibpath_overrides_runpath=yes 10192 hardcode_into_libs=yes 10193 ;; 10194 esac 10195 ;; 10196 10197haiku*) 10198 version_type=linux # correct to gnu/linux during the next big refactor 10199 need_lib_prefix=no 10200 need_version=no 10201 dynamic_linker="$host_os runtime_loader" 10202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10203 soname_spec='${libname}${release}${shared_ext}$major' 10204 shlibpath_var=LIBRARY_PATH 10205 shlibpath_overrides_runpath=yes 10206 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10207 hardcode_into_libs=yes 10208 ;; 10209 10210hpux9* | hpux10* | hpux11*) 10211 # Give a soname corresponding to the major version so that dld.sl refuses to 10212 # link against other versions. 10213 version_type=sunos 10214 need_lib_prefix=no 10215 need_version=no 10216 case $host_cpu in 10217 ia64*) 10218 shrext_cmds='.so' 10219 hardcode_into_libs=yes 10220 dynamic_linker="$host_os dld.so" 10221 shlibpath_var=LD_LIBRARY_PATH 10222 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10224 soname_spec='${libname}${release}${shared_ext}$major' 10225 if test "X$HPUX_IA64_MODE" = X32; then 10226 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10227 else 10228 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10229 fi 10230 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10231 ;; 10232 hppa*64*) 10233 shrext_cmds='.sl' 10234 hardcode_into_libs=yes 10235 dynamic_linker="$host_os dld.sl" 10236 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10237 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10239 soname_spec='${libname}${release}${shared_ext}$major' 10240 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10241 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10242 ;; 10243 *) 10244 shrext_cmds='.sl' 10245 dynamic_linker="$host_os dld.sl" 10246 shlibpath_var=SHLIB_PATH 10247 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10249 soname_spec='${libname}${release}${shared_ext}$major' 10250 ;; 10251 esac 10252 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10253 postinstall_cmds='chmod 555 $lib' 10254 # or fails outright, so override atomically: 10255 install_override_mode=555 10256 ;; 10257 10258interix[3-9]*) 10259 version_type=linux # correct to gnu/linux during the next big refactor 10260 need_lib_prefix=no 10261 need_version=no 10262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10263 soname_spec='${libname}${release}${shared_ext}$major' 10264 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10265 shlibpath_var=LD_LIBRARY_PATH 10266 shlibpath_overrides_runpath=no 10267 hardcode_into_libs=yes 10268 ;; 10269 10270irix5* | irix6* | nonstopux*) 10271 case $host_os in 10272 nonstopux*) version_type=nonstopux ;; 10273 *) 10274 if test "$lt_cv_prog_gnu_ld" = yes; then 10275 version_type=linux # correct to gnu/linux during the next big refactor 10276 else 10277 version_type=irix 10278 fi ;; 10279 esac 10280 need_lib_prefix=no 10281 need_version=no 10282 soname_spec='${libname}${release}${shared_ext}$major' 10283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10284 case $host_os in 10285 irix5* | nonstopux*) 10286 libsuff= shlibsuff= 10287 ;; 10288 *) 10289 case $LD in # libtool.m4 will add one of these switches to LD 10290 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10291 libsuff= shlibsuff= libmagic=32-bit;; 10292 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10293 libsuff=32 shlibsuff=N32 libmagic=N32;; 10294 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10295 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10296 *) libsuff= shlibsuff= libmagic=never-match;; 10297 esac 10298 ;; 10299 esac 10300 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10301 shlibpath_overrides_runpath=no 10302 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10303 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10304 hardcode_into_libs=yes 10305 ;; 10306 10307# No shared lib support for Linux oldld, aout, or coff. 10308linux*oldld* | linux*aout* | linux*coff*) 10309 dynamic_linker=no 10310 ;; 10311 10312# This must be glibc/ELF. 10313linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10314 version_type=linux # correct to gnu/linux during the next big refactor 10315 need_lib_prefix=no 10316 need_version=no 10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10318 soname_spec='${libname}${release}${shared_ext}$major' 10319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10320 shlibpath_var=LD_LIBRARY_PATH 10321 shlibpath_overrides_runpath=no 10322 10323 # Some binutils ld are patched to set DT_RUNPATH 10324 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10325 $as_echo_n "(cached) " >&6 10326else 10327 lt_cv_shlibpath_overrides_runpath=no 10328 save_LDFLAGS=$LDFLAGS 10329 save_libdir=$libdir 10330 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10331 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10333/* end confdefs.h. */ 10334 10335int 10336main () 10337{ 10338 10339 ; 10340 return 0; 10341} 10342_ACEOF 10343if ac_fn_c_try_link "$LINENO"; then : 10344 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10345 lt_cv_shlibpath_overrides_runpath=yes 10346fi 10347fi 10348rm -f core conftest.err conftest.$ac_objext \ 10349 conftest$ac_exeext conftest.$ac_ext 10350 LDFLAGS=$save_LDFLAGS 10351 libdir=$save_libdir 10352 10353fi 10354 10355 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10356 10357 # This implies no fast_install, which is unacceptable. 10358 # Some rework will be needed to allow for fast_install 10359 # before this can be enabled. 10360 hardcode_into_libs=yes 10361 10362 # Append ld.so.conf contents to the search path 10363 if test -f /etc/ld.so.conf; then 10364 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' ' '` 10365 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10366 fi 10367 10368 # We used to test for /lib/ld.so.1 and disable shared libraries on 10369 # powerpc, because MkLinux only supported shared libraries with the 10370 # GNU dynamic linker. Since this was broken with cross compilers, 10371 # most powerpc-linux boxes support dynamic linking these days and 10372 # people can always --disable-shared, the test was removed, and we 10373 # assume the GNU/Linux dynamic linker is in use. 10374 dynamic_linker='GNU/Linux ld.so' 10375 ;; 10376 10377netbsdelf*-gnu) 10378 version_type=linux 10379 need_lib_prefix=no 10380 need_version=no 10381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10382 soname_spec='${libname}${release}${shared_ext}$major' 10383 shlibpath_var=LD_LIBRARY_PATH 10384 shlibpath_overrides_runpath=no 10385 hardcode_into_libs=yes 10386 dynamic_linker='NetBSD ld.elf_so' 10387 ;; 10388 10389netbsd*) 10390 version_type=sunos 10391 need_lib_prefix=no 10392 need_version=no 10393 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10395 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10396 dynamic_linker='NetBSD (a.out) ld.so' 10397 else 10398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10399 soname_spec='${libname}${release}${shared_ext}$major' 10400 dynamic_linker='NetBSD ld.elf_so' 10401 fi 10402 shlibpath_var=LD_LIBRARY_PATH 10403 shlibpath_overrides_runpath=yes 10404 hardcode_into_libs=yes 10405 ;; 10406 10407newsos6) 10408 version_type=linux # correct to gnu/linux during the next big refactor 10409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10410 shlibpath_var=LD_LIBRARY_PATH 10411 shlibpath_overrides_runpath=yes 10412 ;; 10413 10414*nto* | *qnx*) 10415 version_type=qnx 10416 need_lib_prefix=no 10417 need_version=no 10418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10419 soname_spec='${libname}${release}${shared_ext}$major' 10420 shlibpath_var=LD_LIBRARY_PATH 10421 shlibpath_overrides_runpath=no 10422 hardcode_into_libs=yes 10423 dynamic_linker='ldqnx.so' 10424 ;; 10425 10426openbsd*) 10427 version_type=sunos 10428 sys_lib_dlsearch_path_spec="/usr/lib" 10429 need_lib_prefix=no 10430 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10431 case $host_os in 10432 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10433 *) need_version=no ;; 10434 esac 10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10437 shlibpath_var=LD_LIBRARY_PATH 10438 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10439 case $host_os in 10440 openbsd2.[89] | openbsd2.[89].*) 10441 shlibpath_overrides_runpath=no 10442 ;; 10443 *) 10444 shlibpath_overrides_runpath=yes 10445 ;; 10446 esac 10447 else 10448 shlibpath_overrides_runpath=yes 10449 fi 10450 ;; 10451 10452os2*) 10453 libname_spec='$name' 10454 shrext_cmds=".dll" 10455 need_lib_prefix=no 10456 library_names_spec='$libname${shared_ext} $libname.a' 10457 dynamic_linker='OS/2 ld.exe' 10458 shlibpath_var=LIBPATH 10459 ;; 10460 10461osf3* | osf4* | osf5*) 10462 version_type=osf 10463 need_lib_prefix=no 10464 need_version=no 10465 soname_spec='${libname}${release}${shared_ext}$major' 10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10467 shlibpath_var=LD_LIBRARY_PATH 10468 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10469 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10470 ;; 10471 10472rdos*) 10473 dynamic_linker=no 10474 ;; 10475 10476solaris*) 10477 version_type=linux # correct to gnu/linux during the next big refactor 10478 need_lib_prefix=no 10479 need_version=no 10480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10481 soname_spec='${libname}${release}${shared_ext}$major' 10482 shlibpath_var=LD_LIBRARY_PATH 10483 shlibpath_overrides_runpath=yes 10484 hardcode_into_libs=yes 10485 # ldd complains unless libraries are executable 10486 postinstall_cmds='chmod +x $lib' 10487 ;; 10488 10489sunos4*) 10490 version_type=sunos 10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10492 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10493 shlibpath_var=LD_LIBRARY_PATH 10494 shlibpath_overrides_runpath=yes 10495 if test "$with_gnu_ld" = yes; then 10496 need_lib_prefix=no 10497 fi 10498 need_version=yes 10499 ;; 10500 10501sysv4 | sysv4.3*) 10502 version_type=linux # correct to gnu/linux during the next big refactor 10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10504 soname_spec='${libname}${release}${shared_ext}$major' 10505 shlibpath_var=LD_LIBRARY_PATH 10506 case $host_vendor in 10507 sni) 10508 shlibpath_overrides_runpath=no 10509 need_lib_prefix=no 10510 runpath_var=LD_RUN_PATH 10511 ;; 10512 siemens) 10513 need_lib_prefix=no 10514 ;; 10515 motorola) 10516 need_lib_prefix=no 10517 need_version=no 10518 shlibpath_overrides_runpath=no 10519 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10520 ;; 10521 esac 10522 ;; 10523 10524sysv4*MP*) 10525 if test -d /usr/nec ;then 10526 version_type=linux # correct to gnu/linux during the next big refactor 10527 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10528 soname_spec='$libname${shared_ext}.$major' 10529 shlibpath_var=LD_LIBRARY_PATH 10530 fi 10531 ;; 10532 10533sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10534 version_type=freebsd-elf 10535 need_lib_prefix=no 10536 need_version=no 10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10538 soname_spec='${libname}${release}${shared_ext}$major' 10539 shlibpath_var=LD_LIBRARY_PATH 10540 shlibpath_overrides_runpath=yes 10541 hardcode_into_libs=yes 10542 if test "$with_gnu_ld" = yes; then 10543 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10544 else 10545 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10546 case $host_os in 10547 sco3.2v5*) 10548 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10549 ;; 10550 esac 10551 fi 10552 sys_lib_dlsearch_path_spec='/usr/lib' 10553 ;; 10554 10555tpf*) 10556 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10557 version_type=linux # correct to gnu/linux during the next big refactor 10558 need_lib_prefix=no 10559 need_version=no 10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10561 shlibpath_var=LD_LIBRARY_PATH 10562 shlibpath_overrides_runpath=no 10563 hardcode_into_libs=yes 10564 ;; 10565 10566uts4*) 10567 version_type=linux # correct to gnu/linux during the next big refactor 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 ;; 10572 10573*) 10574 dynamic_linker=no 10575 ;; 10576esac 10577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10578$as_echo "$dynamic_linker" >&6; } 10579test "$dynamic_linker" = no && can_build_shared=no 10580 10581variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10582if test "$GCC" = yes; then 10583 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10584fi 10585 10586if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10587 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10588fi 10589if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10590 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10591fi 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10685$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10686hardcode_action= 10687if test -n "$hardcode_libdir_flag_spec" || 10688 test -n "$runpath_var" || 10689 test "X$hardcode_automatic" = "Xyes" ; then 10690 10691 # We can hardcode non-existent directories. 10692 if test "$hardcode_direct" != no && 10693 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10694 # have to relink, otherwise we might link with an installed library 10695 # when we should be linking with a yet-to-be-installed one 10696 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10697 test "$hardcode_minus_L" != no; then 10698 # Linking always hardcodes the temporary library directory. 10699 hardcode_action=relink 10700 else 10701 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10702 hardcode_action=immediate 10703 fi 10704else 10705 # We cannot hardcode anything, or else we can only hardcode existing 10706 # directories. 10707 hardcode_action=unsupported 10708fi 10709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10710$as_echo "$hardcode_action" >&6; } 10711 10712if test "$hardcode_action" = relink || 10713 test "$inherit_rpath" = yes; then 10714 # Fast installation is not supported 10715 enable_fast_install=no 10716elif test "$shlibpath_overrides_runpath" = yes || 10717 test "$enable_shared" = no; then 10718 # Fast installation is not necessary 10719 enable_fast_install=needless 10720fi 10721 10722 10723 10724 10725 10726 10727 if test "x$enable_dlopen" != xyes; then 10728 enable_dlopen=unknown 10729 enable_dlopen_self=unknown 10730 enable_dlopen_self_static=unknown 10731else 10732 lt_cv_dlopen=no 10733 lt_cv_dlopen_libs= 10734 10735 case $host_os in 10736 beos*) 10737 lt_cv_dlopen="load_add_on" 10738 lt_cv_dlopen_libs= 10739 lt_cv_dlopen_self=yes 10740 ;; 10741 10742 mingw* | pw32* | cegcc*) 10743 lt_cv_dlopen="LoadLibrary" 10744 lt_cv_dlopen_libs= 10745 ;; 10746 10747 cygwin*) 10748 lt_cv_dlopen="dlopen" 10749 lt_cv_dlopen_libs= 10750 ;; 10751 10752 darwin*) 10753 # if libdl is installed we need to link against it 10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10755$as_echo_n "checking for dlopen in -ldl... " >&6; } 10756if ${ac_cv_lib_dl_dlopen+:} false; then : 10757 $as_echo_n "(cached) " >&6 10758else 10759 ac_check_lib_save_LIBS=$LIBS 10760LIBS="-ldl $LIBS" 10761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10762/* end confdefs.h. */ 10763 10764/* Override any GCC internal prototype to avoid an error. 10765 Use char because int might match the return type of a GCC 10766 builtin and then its argument prototype would still apply. */ 10767#ifdef __cplusplus 10768extern "C" 10769#endif 10770char dlopen (); 10771int 10772main () 10773{ 10774return dlopen (); 10775 ; 10776 return 0; 10777} 10778_ACEOF 10779if ac_fn_c_try_link "$LINENO"; then : 10780 ac_cv_lib_dl_dlopen=yes 10781else 10782 ac_cv_lib_dl_dlopen=no 10783fi 10784rm -f core conftest.err conftest.$ac_objext \ 10785 conftest$ac_exeext conftest.$ac_ext 10786LIBS=$ac_check_lib_save_LIBS 10787fi 10788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10789$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10790if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10791 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10792else 10793 10794 lt_cv_dlopen="dyld" 10795 lt_cv_dlopen_libs= 10796 lt_cv_dlopen_self=yes 10797 10798fi 10799 10800 ;; 10801 10802 *) 10803 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10804if test "x$ac_cv_func_shl_load" = xyes; then : 10805 lt_cv_dlopen="shl_load" 10806else 10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10808$as_echo_n "checking for shl_load in -ldld... " >&6; } 10809if ${ac_cv_lib_dld_shl_load+:} false; then : 10810 $as_echo_n "(cached) " >&6 10811else 10812 ac_check_lib_save_LIBS=$LIBS 10813LIBS="-ldld $LIBS" 10814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10815/* end confdefs.h. */ 10816 10817/* Override any GCC internal prototype to avoid an error. 10818 Use char because int might match the return type of a GCC 10819 builtin and then its argument prototype would still apply. */ 10820#ifdef __cplusplus 10821extern "C" 10822#endif 10823char shl_load (); 10824int 10825main () 10826{ 10827return shl_load (); 10828 ; 10829 return 0; 10830} 10831_ACEOF 10832if ac_fn_c_try_link "$LINENO"; then : 10833 ac_cv_lib_dld_shl_load=yes 10834else 10835 ac_cv_lib_dld_shl_load=no 10836fi 10837rm -f core conftest.err conftest.$ac_objext \ 10838 conftest$ac_exeext conftest.$ac_ext 10839LIBS=$ac_check_lib_save_LIBS 10840fi 10841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10842$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10843if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10844 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10845else 10846 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10847if test "x$ac_cv_func_dlopen" = xyes; then : 10848 lt_cv_dlopen="dlopen" 10849else 10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10851$as_echo_n "checking for dlopen in -ldl... " >&6; } 10852if ${ac_cv_lib_dl_dlopen+:} false; then : 10853 $as_echo_n "(cached) " >&6 10854else 10855 ac_check_lib_save_LIBS=$LIBS 10856LIBS="-ldl $LIBS" 10857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10858/* end confdefs.h. */ 10859 10860/* Override any GCC internal prototype to avoid an error. 10861 Use char because int might match the return type of a GCC 10862 builtin and then its argument prototype would still apply. */ 10863#ifdef __cplusplus 10864extern "C" 10865#endif 10866char dlopen (); 10867int 10868main () 10869{ 10870return dlopen (); 10871 ; 10872 return 0; 10873} 10874_ACEOF 10875if ac_fn_c_try_link "$LINENO"; then : 10876 ac_cv_lib_dl_dlopen=yes 10877else 10878 ac_cv_lib_dl_dlopen=no 10879fi 10880rm -f core conftest.err conftest.$ac_objext \ 10881 conftest$ac_exeext conftest.$ac_ext 10882LIBS=$ac_check_lib_save_LIBS 10883fi 10884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10885$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10886if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10887 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10888else 10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10890$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10891if ${ac_cv_lib_svld_dlopen+:} false; then : 10892 $as_echo_n "(cached) " >&6 10893else 10894 ac_check_lib_save_LIBS=$LIBS 10895LIBS="-lsvld $LIBS" 10896cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10897/* end confdefs.h. */ 10898 10899/* Override any GCC internal prototype to avoid an error. 10900 Use char because int might match the return type of a GCC 10901 builtin and then its argument prototype would still apply. */ 10902#ifdef __cplusplus 10903extern "C" 10904#endif 10905char dlopen (); 10906int 10907main () 10908{ 10909return dlopen (); 10910 ; 10911 return 0; 10912} 10913_ACEOF 10914if ac_fn_c_try_link "$LINENO"; then : 10915 ac_cv_lib_svld_dlopen=yes 10916else 10917 ac_cv_lib_svld_dlopen=no 10918fi 10919rm -f core conftest.err conftest.$ac_objext \ 10920 conftest$ac_exeext conftest.$ac_ext 10921LIBS=$ac_check_lib_save_LIBS 10922fi 10923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10924$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10925if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10926 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10927else 10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10929$as_echo_n "checking for dld_link in -ldld... " >&6; } 10930if ${ac_cv_lib_dld_dld_link+:} false; then : 10931 $as_echo_n "(cached) " >&6 10932else 10933 ac_check_lib_save_LIBS=$LIBS 10934LIBS="-ldld $LIBS" 10935cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10936/* end confdefs.h. */ 10937 10938/* Override any GCC internal prototype to avoid an error. 10939 Use char because int might match the return type of a GCC 10940 builtin and then its argument prototype would still apply. */ 10941#ifdef __cplusplus 10942extern "C" 10943#endif 10944char dld_link (); 10945int 10946main () 10947{ 10948return dld_link (); 10949 ; 10950 return 0; 10951} 10952_ACEOF 10953if ac_fn_c_try_link "$LINENO"; then : 10954 ac_cv_lib_dld_dld_link=yes 10955else 10956 ac_cv_lib_dld_dld_link=no 10957fi 10958rm -f core conftest.err conftest.$ac_objext \ 10959 conftest$ac_exeext conftest.$ac_ext 10960LIBS=$ac_check_lib_save_LIBS 10961fi 10962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10963$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10964if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10965 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10966fi 10967 10968 10969fi 10970 10971 10972fi 10973 10974 10975fi 10976 10977 10978fi 10979 10980 10981fi 10982 10983 ;; 10984 esac 10985 10986 if test "x$lt_cv_dlopen" != xno; then 10987 enable_dlopen=yes 10988 else 10989 enable_dlopen=no 10990 fi 10991 10992 case $lt_cv_dlopen in 10993 dlopen) 10994 save_CPPFLAGS="$CPPFLAGS" 10995 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10996 10997 save_LDFLAGS="$LDFLAGS" 10998 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10999 11000 save_LIBS="$LIBS" 11001 LIBS="$lt_cv_dlopen_libs $LIBS" 11002 11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11004$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11005if ${lt_cv_dlopen_self+:} false; then : 11006 $as_echo_n "(cached) " >&6 11007else 11008 if test "$cross_compiling" = yes; then : 11009 lt_cv_dlopen_self=cross 11010else 11011 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11012 lt_status=$lt_dlunknown 11013 cat > conftest.$ac_ext <<_LT_EOF 11014#line $LINENO "configure" 11015#include "confdefs.h" 11016 11017#if HAVE_DLFCN_H 11018#include <dlfcn.h> 11019#endif 11020 11021#include <stdio.h> 11022 11023#ifdef RTLD_GLOBAL 11024# define LT_DLGLOBAL RTLD_GLOBAL 11025#else 11026# ifdef DL_GLOBAL 11027# define LT_DLGLOBAL DL_GLOBAL 11028# else 11029# define LT_DLGLOBAL 0 11030# endif 11031#endif 11032 11033/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11034 find out it does not work in some platform. */ 11035#ifndef LT_DLLAZY_OR_NOW 11036# ifdef RTLD_LAZY 11037# define LT_DLLAZY_OR_NOW RTLD_LAZY 11038# else 11039# ifdef DL_LAZY 11040# define LT_DLLAZY_OR_NOW DL_LAZY 11041# else 11042# ifdef RTLD_NOW 11043# define LT_DLLAZY_OR_NOW RTLD_NOW 11044# else 11045# ifdef DL_NOW 11046# define LT_DLLAZY_OR_NOW DL_NOW 11047# else 11048# define LT_DLLAZY_OR_NOW 0 11049# endif 11050# endif 11051# endif 11052# endif 11053#endif 11054 11055/* When -fvisbility=hidden is used, assume the code has been annotated 11056 correspondingly for the symbols needed. */ 11057#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11058int fnord () __attribute__((visibility("default"))); 11059#endif 11060 11061int fnord () { return 42; } 11062int main () 11063{ 11064 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11065 int status = $lt_dlunknown; 11066 11067 if (self) 11068 { 11069 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11070 else 11071 { 11072 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11073 else puts (dlerror ()); 11074 } 11075 /* dlclose (self); */ 11076 } 11077 else 11078 puts (dlerror ()); 11079 11080 return status; 11081} 11082_LT_EOF 11083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11084 (eval $ac_link) 2>&5 11085 ac_status=$? 11086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11087 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11088 (./conftest; exit; ) >&5 2>/dev/null 11089 lt_status=$? 11090 case x$lt_status in 11091 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11092 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11093 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11094 esac 11095 else : 11096 # compilation failed 11097 lt_cv_dlopen_self=no 11098 fi 11099fi 11100rm -fr conftest* 11101 11102 11103fi 11104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11105$as_echo "$lt_cv_dlopen_self" >&6; } 11106 11107 if test "x$lt_cv_dlopen_self" = xyes; then 11108 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11110$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11111if ${lt_cv_dlopen_self_static+:} false; then : 11112 $as_echo_n "(cached) " >&6 11113else 11114 if test "$cross_compiling" = yes; then : 11115 lt_cv_dlopen_self_static=cross 11116else 11117 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11118 lt_status=$lt_dlunknown 11119 cat > conftest.$ac_ext <<_LT_EOF 11120#line $LINENO "configure" 11121#include "confdefs.h" 11122 11123#if HAVE_DLFCN_H 11124#include <dlfcn.h> 11125#endif 11126 11127#include <stdio.h> 11128 11129#ifdef RTLD_GLOBAL 11130# define LT_DLGLOBAL RTLD_GLOBAL 11131#else 11132# ifdef DL_GLOBAL 11133# define LT_DLGLOBAL DL_GLOBAL 11134# else 11135# define LT_DLGLOBAL 0 11136# endif 11137#endif 11138 11139/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11140 find out it does not work in some platform. */ 11141#ifndef LT_DLLAZY_OR_NOW 11142# ifdef RTLD_LAZY 11143# define LT_DLLAZY_OR_NOW RTLD_LAZY 11144# else 11145# ifdef DL_LAZY 11146# define LT_DLLAZY_OR_NOW DL_LAZY 11147# else 11148# ifdef RTLD_NOW 11149# define LT_DLLAZY_OR_NOW RTLD_NOW 11150# else 11151# ifdef DL_NOW 11152# define LT_DLLAZY_OR_NOW DL_NOW 11153# else 11154# define LT_DLLAZY_OR_NOW 0 11155# endif 11156# endif 11157# endif 11158# endif 11159#endif 11160 11161/* When -fvisbility=hidden is used, assume the code has been annotated 11162 correspondingly for the symbols needed. */ 11163#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11164int fnord () __attribute__((visibility("default"))); 11165#endif 11166 11167int fnord () { return 42; } 11168int main () 11169{ 11170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11171 int status = $lt_dlunknown; 11172 11173 if (self) 11174 { 11175 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11176 else 11177 { 11178 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11179 else puts (dlerror ()); 11180 } 11181 /* dlclose (self); */ 11182 } 11183 else 11184 puts (dlerror ()); 11185 11186 return status; 11187} 11188_LT_EOF 11189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11190 (eval $ac_link) 2>&5 11191 ac_status=$? 11192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11193 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11194 (./conftest; exit; ) >&5 2>/dev/null 11195 lt_status=$? 11196 case x$lt_status in 11197 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11198 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11199 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11200 esac 11201 else : 11202 # compilation failed 11203 lt_cv_dlopen_self_static=no 11204 fi 11205fi 11206rm -fr conftest* 11207 11208 11209fi 11210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11211$as_echo "$lt_cv_dlopen_self_static" >&6; } 11212 fi 11213 11214 CPPFLAGS="$save_CPPFLAGS" 11215 LDFLAGS="$save_LDFLAGS" 11216 LIBS="$save_LIBS" 11217 ;; 11218 esac 11219 11220 case $lt_cv_dlopen_self in 11221 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11222 *) enable_dlopen_self=unknown ;; 11223 esac 11224 11225 case $lt_cv_dlopen_self_static in 11226 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11227 *) enable_dlopen_self_static=unknown ;; 11228 esac 11229fi 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247striplib= 11248old_striplib= 11249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11250$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11251if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11252 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11253 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11255$as_echo "yes" >&6; } 11256else 11257# FIXME - insert some real tests, host_os isn't really good enough 11258 case $host_os in 11259 darwin*) 11260 if test -n "$STRIP" ; then 11261 striplib="$STRIP -x" 11262 old_striplib="$STRIP -S" 11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11264$as_echo "yes" >&6; } 11265 else 11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11267$as_echo "no" >&6; } 11268 fi 11269 ;; 11270 *) 11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11272$as_echo "no" >&6; } 11273 ;; 11274 esac 11275fi 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 # Report which library types will actually be built 11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11290$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11292$as_echo "$can_build_shared" >&6; } 11293 11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11295$as_echo_n "checking whether to build shared libraries... " >&6; } 11296 test "$can_build_shared" = "no" && enable_shared=no 11297 11298 # On AIX, shared libraries and static libraries use the same namespace, and 11299 # are all built from PIC. 11300 case $host_os in 11301 aix3*) 11302 test "$enable_shared" = yes && enable_static=no 11303 if test -n "$RANLIB"; then 11304 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11305 postinstall_cmds='$RANLIB $lib' 11306 fi 11307 ;; 11308 11309 aix[4-9]*) 11310 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11311 test "$enable_shared" = yes && enable_static=no 11312 fi 11313 ;; 11314 esac 11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11316$as_echo "$enable_shared" >&6; } 11317 11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11319$as_echo_n "checking whether to build static libraries... " >&6; } 11320 # Make sure either enable_shared or enable_static is yes. 11321 test "$enable_shared" = yes || enable_static=yes 11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11323$as_echo "$enable_static" >&6; } 11324 11325 11326 11327 11328fi 11329ac_ext=c 11330ac_cpp='$CPP $CPPFLAGS' 11331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11333ac_compiler_gnu=$ac_cv_c_compiler_gnu 11334 11335CC="$lt_save_CC" 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 ac_config_commands="$ac_config_commands libtool" 11352 11353 11354 11355 11356# Only expand once: 11357 11358 11359for ac_header in sys/resource.h sys/time.h sys/wait.h sys/utsname.h unistd.h 11360do : 11361 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11362ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 11363if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 11364 cat >>confdefs.h <<_ACEOF 11365#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11366_ACEOF 11367 11368fi 11369 11370done 11371 11372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 11373$as_echo_n "checking for crypt in -lcrypt... " >&6; } 11374if ${ac_cv_lib_crypt_crypt+:} false; then : 11375 $as_echo_n "(cached) " >&6 11376else 11377 ac_check_lib_save_LIBS=$LIBS 11378LIBS="-lcrypt $LIBS" 11379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11380/* end confdefs.h. */ 11381 11382/* Override any GCC internal prototype to avoid an error. 11383 Use char because int might match the return type of a GCC 11384 builtin and then its argument prototype would still apply. */ 11385#ifdef __cplusplus 11386extern "C" 11387#endif 11388char crypt (); 11389int 11390main () 11391{ 11392return crypt (); 11393 ; 11394 return 0; 11395} 11396_ACEOF 11397if ac_fn_c_try_link "$LINENO"; then : 11398 ac_cv_lib_crypt_crypt=yes 11399else 11400 ac_cv_lib_crypt_crypt=no 11401fi 11402rm -f core conftest.err conftest.$ac_objext \ 11403 conftest$ac_exeext conftest.$ac_ext 11404LIBS=$ac_check_lib_save_LIBS 11405fi 11406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 11407$as_echo "$ac_cv_lib_crypt_crypt" >&6; } 11408if test "x$ac_cv_lib_crypt_crypt" = xyes; then : 11409 cat >>confdefs.h <<_ACEOF 11410#define HAVE_LIBCRYPT 1 11411_ACEOF 11412 11413 LIBS="-lcrypt $LIBS" 11414 11415fi 11416 11417if test "$ac_cv_lib_crypt_crypt" = "yes"; then 11418 for ac_header in crypt.h 11419do : 11420 ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default" 11421if test "x$ac_cv_header_crypt_h" = xyes; then : 11422 cat >>confdefs.h <<_ACEOF 11423#define HAVE_CRYPT_H 1 11424_ACEOF 11425 11426fi 11427 11428done 11429 11430fi 11431 11432 11433 11434 11435 11436 yazconfig=NONE 11437 yazpath=NONE 11438 11439# Check whether --with-yaz was given. 11440if test "${with_yaz+set}" = set; then : 11441 withval=$with_yaz; yazpath=$withval 11442fi 11443 11444 if test "x$yazpath" != "xNONE"; then 11445 yazconfig=$yazpath/yaz-config 11446 else 11447 if test "x$srcdir" = "x"; then 11448 yazsrcdir=. 11449 else 11450 yazsrcdir=$srcdir 11451 fi 11452 for i in ${yazsrcdir}/../../yaz ${yazsrcdir}/../yaz-* ${yazsrcdir}/../yaz; do 11453 if test -d $i; then 11454 if test -r $i/yaz-config; then 11455 yazconfig=$i/yaz-config 11456 fi 11457 fi 11458 done 11459 if test "x$yazconfig" = "xNONE"; then 11460 # Extract the first word of "yaz-config", so it can be a program name with args. 11461set dummy yaz-config; ac_word=$2 11462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11463$as_echo_n "checking for $ac_word... " >&6; } 11464if ${ac_cv_path_yazconfig+:} false; then : 11465 $as_echo_n "(cached) " >&6 11466else 11467 case $yazconfig in 11468 [\\/]* | ?:[\\/]*) 11469 ac_cv_path_yazconfig="$yazconfig" # Let the user override the test with a path. 11470 ;; 11471 *) 11472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11473for as_dir in $PATH 11474do 11475 IFS=$as_save_IFS 11476 test -z "$as_dir" && as_dir=. 11477 for ac_exec_ext in '' $ac_executable_extensions; do 11478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11479 ac_cv_path_yazconfig="$as_dir/$ac_word$ac_exec_ext" 11480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11481 break 2 11482 fi 11483done 11484 done 11485IFS=$as_save_IFS 11486 11487 test -z "$ac_cv_path_yazconfig" && ac_cv_path_yazconfig="NONE" 11488 ;; 11489esac 11490fi 11491yazconfig=$ac_cv_path_yazconfig 11492if test -n "$yazconfig"; then 11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yazconfig" >&5 11494$as_echo "$yazconfig" >&6; } 11495else 11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11497$as_echo "no" >&6; } 11498fi 11499 11500 11501 fi 11502 fi 11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAZ" >&5 11504$as_echo_n "checking for YAZ... " >&6; } 11505 if $yazconfig --version >/dev/null 2>&1; then 11506 YAZLIB=`$yazconfig --libs server icu` 11507 # if this is empty, it's a simple version YAZ 1.6 script 11508 # so we have to source it instead... 11509 if test "X$YAZLIB" = "X"; then 11510 . $yazconfig 11511 else 11512 YAZLALIB=`$yazconfig --lalibs server icu` 11513 YAZINC=`$yazconfig --cflags server icu` 11514 YAZVERSION=`$yazconfig --version` 11515 fi 11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yazconfig" >&5 11517$as_echo "$yazconfig" >&6; } 11518 else 11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 11520$as_echo "Not found" >&6; } 11521 YAZVERSION=NONE 11522 fi 11523 if test "X$YAZVERSION" != "XNONE"; then 11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAZ version" >&5 11525$as_echo_n "checking for YAZ version... " >&6; } 11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YAZVERSION" >&5 11527$as_echo "$YAZVERSION" >&6; } 11528 if test "3.0.47"; then 11529 have_yaz_version=`echo "$YAZVERSION" | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 11530 req_yaz_version=`echo "3.0.47" | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` 11531 if test "$have_yaz_version" -lt "$req_yaz_version"; then 11532 as_fn_error $? "$YAZVERSION. Requires YAZ 3.0.47 or later" "$LINENO" 5 11533 fi 11534 fi 11535 fi 11536 11537if test "$YAZVERSION" = "NONE"; then 11538 as_fn_error $? "YAZ development libraries required" "$LINENO" 5 11539fi 11540 11541if test -n "$docdir"; then 11542 docdir="${datadir}/doc/${PACKAGE}" 11543 11544fi 11545 11546XSLTPROC_COMPILE='xsltproc --xinclude -path ".:$(srcdir)"' 11547 11548MAN_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.man.xsl' 11549 11550HTML_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.htmlhelp.xsl' 11551 11552TKL_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.tkl.xsl' 11553 11554PDF_COMPILE='dblatex -P latex.class.options=a4paper,12pt,twoside,openright' 11555 11556 11557 11558# Check whether --with-docbook-dtd was given. 11559if test "${with_docbook_dtd+set}" = set; then : 11560 withval=$with_docbook_dtd; 11561 if test -f "$withval/docbookx.dtd"; then 11562 DTD_DIR=$withval 11563 fi 11564 11565else 11566 11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbookx.dtd" >&5 11568$as_echo_n "checking for docbookx.dtd... " >&6; } 11569 DTD_DIR="" 11570 for d in /usr/lib/sgml/dtd/docbook-xml \ 11571 /usr/share/sgml/docbook/dtd/4.2 \ 11572 /usr/share/sgml/docbook/dtd/xml/4.* \ 11573 /usr/share/sgml/docbook/xml-dtd-4.* \ 11574 /usr/local/share/xml/docbook/4.* 11575 do 11576 if test -f $d/docbookx.dtd; then 11577 DTD_DIR=$d 11578 fi 11579 done 11580 if test -z "$DTD_DIR"; then 11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 11582$as_echo "Not found" >&6; } 11583 else 11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 11585$as_echo "$d" >&6; } 11586 fi 11587 11588fi 11589 11590 11591 11592# Check whether --with-docbook-dsssl was given. 11593if test "${with_docbook_dsssl+set}" = set; then : 11594 withval=$with_docbook_dsssl; 11595 if test -f "$withval/html/docbook.dsl"; then 11596 DSSSL_DIR=$withval 11597 fi 11598 11599else 11600 11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook.dsl" >&5 11602$as_echo_n "checking for docbook.dsl... " >&6; } 11603 DSSSL_DIR="" 11604 for d in /usr/share/sgml/docbook/stylesheet/dsssl/modular \ 11605 /usr/share/sgml/docbook/dsssl-stylesheets-1.* \ 11606 /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \ 11607 /usr/local/share/sgml/docbook/dsssl/modular 11608 do 11609 if test -f $d/html/docbook.dsl; then 11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 11611$as_echo "$d" >&6; } 11612 DSSSL_DIR=$d 11613 break 11614 fi 11615 done 11616 if test -z "$DSSSL_DIR"; then 11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 11618$as_echo "Not found" >&6; } 11619 fi 11620 11621fi 11622 11623 11624 11625# Check whether --with-docbook-xsl was given. 11626if test "${with_docbook_xsl+set}" = set; then : 11627 withval=$with_docbook_xsl; 11628 if test -f "$withval/htmlhelp/htmlhelp.xsl"; then 11629 XSL_DIR=$withval 11630 fi 11631 11632else 11633 11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlhelp.xsl" >&5 11635$as_echo_n "checking for htmlhelp.xsl... " >&6; } 11636 for d in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh \ 11637 /usr/local/share/xsl/docbook \ 11638 /usr/share/sgml/docbook/xsl-stylesheets-1.* 11639 do 11640 if test -f $d/htmlhelp/htmlhelp.xsl; then 11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d" >&5 11642$as_echo "$d" >&6; } 11643 XSL_DIR=$d 11644 break 11645 fi 11646 done 11647 if test -z "$XSL_DIR"; then 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 11649$as_echo "Not found" >&6; } 11650 fi 11651 11652fi 11653 11654 11655TCL_LIB="" 11656TCL_INCLUDE="" 11657tclconfig=NONE 11658 11659# Check whether --with-tclconfig was given. 11660if test "${with_tclconfig+set}" = set; then : 11661 withval=$with_tclconfig; tclconfig=$withval 11662fi 11663 11664if test "x$tclconfig" = xNONE; then 11665 saveprefix=${prefix} 11666 if test "x$prefix" = xNONE; then 11667 $as_echo_n "checking for prefix by " >&6 11668 # Extract the first word of "tclsh", so it can be a program name with args. 11669set dummy tclsh; ac_word=$2 11670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11671$as_echo_n "checking for $ac_word... " >&6; } 11672if ${ac_cv_path_ac_prefix_program+:} false; then : 11673 $as_echo_n "(cached) " >&6 11674else 11675 case $ac_prefix_program in 11676 [\\/]* | ?:[\\/]*) 11677 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path. 11678 ;; 11679 *) 11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11681for as_dir in $PATH 11682do 11683 IFS=$as_save_IFS 11684 test -z "$as_dir" && as_dir=. 11685 for ac_exec_ext in '' $ac_executable_extensions; do 11686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11687 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext" 11688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11689 break 2 11690 fi 11691done 11692 done 11693IFS=$as_save_IFS 11694 11695 ;; 11696esac 11697fi 11698ac_prefix_program=$ac_cv_path_ac_prefix_program 11699if test -n "$ac_prefix_program"; then 11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5 11701$as_echo "$ac_prefix_program" >&6; } 11702else 11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11704$as_echo "no" >&6; } 11705fi 11706 11707 11708 if test -n "$ac_prefix_program"; then 11709 prefix=`$as_dirname -- "$ac_prefix_program" || 11710$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11711 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \ 11712 X"$ac_prefix_program" : 'X\(//\)$' \| \ 11713 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null || 11714$as_echo X"$ac_prefix_program" | 11715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11716 s//\1/ 11717 q 11718 } 11719 /^X\(\/\/\)[^/].*/{ 11720 s//\1/ 11721 q 11722 } 11723 /^X\(\/\/\)$/{ 11724 s//\1/ 11725 q 11726 } 11727 /^X\(\/\).*/{ 11728 s//\1/ 11729 q 11730 } 11731 s/.*/./; q'` 11732 prefix=`$as_dirname -- "$prefix" || 11733$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11734 X"$prefix" : 'X\(//\)[^/]' \| \ 11735 X"$prefix" : 'X\(//\)$' \| \ 11736 X"$prefix" : 'X\(/\)' \| . 2>/dev/null || 11737$as_echo X"$prefix" | 11738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11739 s//\1/ 11740 q 11741 } 11742 /^X\(\/\/\)[^/].*/{ 11743 s//\1/ 11744 q 11745 } 11746 /^X\(\/\/\)$/{ 11747 s//\1/ 11748 q 11749 } 11750 /^X\(\/\).*/{ 11751 s//\1/ 11752 q 11753 } 11754 s/.*/./; q'` 11755 fi 11756fi 11757 11758 tclconfig=${prefix}/lib 11759 prefix=${saveprefix} 11760 if test ! -r ${tclconfig}/tclConfig.sh; then 11761 # Not found, try search for Tcl on Debian systems. 11762 for d in /usr/lib/tcl*; do 11763 if test -f $d/tclConfig.sh; then 11764 tclconfig=$d 11765 fi 11766 done 11767 fi 11768fi 11769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl" >&5 11770$as_echo_n "checking for Tcl... " >&6; } 11771if test -r ${tclconfig}/tclConfig.sh; then 11772 . ${tclconfig}/tclConfig.sh 11773 if test -r ${tclconfig}/../generic/tcl.h; then 11774 TCL_INCLUDE=-I${tclconfig}/../generic 11775 TCL_LIB="$TCL_BUILD_LIB_SPEC $TCL_LIBS" 11776 elif test -d ${TCL_PREFIX}/include/tcl${TCL_VERSION}; then 11777 TCL_INCLUDE=-I${TCL_PREFIX}/include/tcl${TCL_VERSION} 11778 TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS" 11779 else 11780 TCL_INCLUDE=-I${TCL_PREFIX}/include 11781 TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS" 11782 fi 11783 TCL_LIB=`echo $TCL_LIB|sed 's%-L/usr/lib%%g'` 11784 SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS 11785 SHLIB_LD=$TCL_SHLIB_LD 11786 SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX 11787 SHLIB_VERSION=$TCL_SHLIB_VERSION 11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_VERSION" >&5 11789$as_echo "$TCL_VERSION" >&6; } 11790 11791 old_CPPFLAGS=$CPPFLAGS 11792 CPPFLAGS="${TCL_INCLUDE} $CPPFLAGS" 11793 for ac_header in tcl.h 11794do : 11795 ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default" 11796if test "x$ac_cv_header_tcl_h" = xyes; then : 11797 cat >>confdefs.h <<_ACEOF 11798#define HAVE_TCL_H 1 11799_ACEOF 11800 11801fi 11802 11803done 11804 11805 CPPFLAGS=${old_CPPFLAGS} 11806 11807 # The Mac OSX -framework causes problems with Libtool 11808 # and dependancy libs.. so apply Tcl libs everywhere bug #461 11809 case $host in 11810 *-*-darwin*) 11811 LIBS="$LIBS $TCL_LIB"; 11812 ;; 11813 esac 11814 11815else 11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5 11817$as_echo "Not found" >&6; } 11818 $as_echo "#define HAVE_TCL_H 0" >>confdefs.h 11819 11820fi 11821for ac_func in mkstemp atoll 11822do : 11823 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11824ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11825if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11826 cat >>confdefs.h <<_ACEOF 11827#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11828_ACEOF 11829 11830fi 11831done 11832 11833 11834# Check whether --with-iconv was given. 11835if test "${with_iconv+set}" = set; then : 11836 withval=$with_iconv; 11837fi 11838 11839if test "$with_iconv" != "no"; then 11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 11841$as_echo_n "checking for iconv... " >&6; } 11842 oldLIBS="$LIBS" 11843 oldCPPFLAGS="${CPPFLAGS}" 11844 if test "$with_iconv" != "yes" -a "$with_iconv" != ""; then 11845 LIBS="$LIBS -L${with_iconv}/lib" 11846 CPPFLAGS="${CPPFLAGS} -I${with_iconv}/include" 11847 fi 11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11849/* end confdefs.h. */ 11850 11851 #include <iconv.h> 11852 11853int 11854main () 11855{ 11856 11857 iconv_t t = iconv_open("", ""); 11858 11859 ; 11860 return 0; 11861} 11862_ACEOF 11863if ac_fn_c_try_link "$LINENO"; then : 11864 11865 11866$as_echo "#define HAVE_ICONV_H 1" >>confdefs.h 11867 11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11869$as_echo "yes" >&6; } 11870 11871else 11872 11873 LIBS="$LIBS -liconv" 11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11875/* end confdefs.h. */ 11876 11877 #include <iconv.h> 11878 11879int 11880main () 11881{ 11882 11883 iconv_t t = iconv_open("", ""); 11884 11885 ; 11886 return 0; 11887} 11888_ACEOF 11889if ac_fn_c_try_link "$LINENO"; then : 11890 11891 $as_echo "#define HAVE_ICONV_H 1" >>confdefs.h 11892 11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11894$as_echo "yes" >&6; } 11895 11896else 11897 11898 LIBS="$oldLIBS" 11899 CPPFLAGS="$oldCPPFLAGS" 11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11901$as_echo "no" >&6; } 11902 11903fi 11904rm -f core conftest.err conftest.$ac_objext \ 11905 conftest$ac_exeext conftest.$ac_ext 11906 11907fi 11908rm -f core conftest.err conftest.$ac_objext \ 11909 conftest$ac_exeext conftest.$ac_ext 11910fi 11911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzCompressInit in -lbz2" >&5 11912$as_echo_n "checking for bzCompressInit in -lbz2... " >&6; } 11913if ${ac_cv_lib_bz2_bzCompressInit+:} false; then : 11914 $as_echo_n "(cached) " >&6 11915else 11916 ac_check_lib_save_LIBS=$LIBS 11917LIBS="-lbz2 $LIBS" 11918cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11919/* end confdefs.h. */ 11920 11921/* Override any GCC internal prototype to avoid an error. 11922 Use char because int might match the return type of a GCC 11923 builtin and then its argument prototype would still apply. */ 11924#ifdef __cplusplus 11925extern "C" 11926#endif 11927char bzCompressInit (); 11928int 11929main () 11930{ 11931return bzCompressInit (); 11932 ; 11933 return 0; 11934} 11935_ACEOF 11936if ac_fn_c_try_link "$LINENO"; then : 11937 ac_cv_lib_bz2_bzCompressInit=yes 11938else 11939 ac_cv_lib_bz2_bzCompressInit=no 11940fi 11941rm -f core conftest.err conftest.$ac_objext \ 11942 conftest$ac_exeext conftest.$ac_ext 11943LIBS=$ac_check_lib_save_LIBS 11944fi 11945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_bzCompressInit" >&5 11946$as_echo "$ac_cv_lib_bz2_bzCompressInit" >&6; } 11947if test "x$ac_cv_lib_bz2_bzCompressInit" = xyes; then : 11948 cat >>confdefs.h <<_ACEOF 11949#define HAVE_LIBBZ2 1 11950_ACEOF 11951 11952 LIBS="-lbz2 $LIBS" 11953 11954fi 11955 11956if test "$ac_cv_lib_bz2_bzCompressInit" = "yes"; then 11957 for ac_header in bzlib.h 11958do : 11959 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" 11960if test "x$ac_cv_header_bzlib_h" = xyes; then : 11961 cat >>confdefs.h <<_ACEOF 11962#define HAVE_BZLIB_H 1 11963_ACEOF 11964 11965fi 11966 11967done 11968 11969else 11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompressInit in -lbz2" >&5 11971$as_echo_n "checking for BZ2_bzCompressInit in -lbz2... " >&6; } 11972if ${ac_cv_lib_bz2_BZ2_bzCompressInit+:} false; then : 11973 $as_echo_n "(cached) " >&6 11974else 11975 ac_check_lib_save_LIBS=$LIBS 11976LIBS="-lbz2 $LIBS" 11977cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11978/* end confdefs.h. */ 11979 11980/* Override any GCC internal prototype to avoid an error. 11981 Use char because int might match the return type of a GCC 11982 builtin and then its argument prototype would still apply. */ 11983#ifdef __cplusplus 11984extern "C" 11985#endif 11986char BZ2_bzCompressInit (); 11987int 11988main () 11989{ 11990return BZ2_bzCompressInit (); 11991 ; 11992 return 0; 11993} 11994_ACEOF 11995if ac_fn_c_try_link "$LINENO"; then : 11996 ac_cv_lib_bz2_BZ2_bzCompressInit=yes 11997else 11998 ac_cv_lib_bz2_BZ2_bzCompressInit=no 11999fi 12000rm -f core conftest.err conftest.$ac_objext \ 12001 conftest$ac_exeext conftest.$ac_ext 12002LIBS=$ac_check_lib_save_LIBS 12003fi 12004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompressInit" >&5 12005$as_echo "$ac_cv_lib_bz2_BZ2_bzCompressInit" >&6; } 12006if test "x$ac_cv_lib_bz2_BZ2_bzCompressInit" = xyes; then : 12007 cat >>confdefs.h <<_ACEOF 12008#define HAVE_LIBBZ2 1 12009_ACEOF 12010 12011 LIBS="-lbz2 $LIBS" 12012 12013fi 12014 12015 if test "$ac_cv_lib_bz2_BZ2_bzCompressInit" = "yes"; then 12016 for ac_header in bzlib.h 12017do : 12018 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" 12019if test "x$ac_cv_header_bzlib_h" = xyes; then : 12020 cat >>confdefs.h <<_ACEOF 12021#define HAVE_BZLIB_H 1 12022_ACEOF 12023 12024fi 12025 12026done 12027 12028 fi 12029fi 12030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress2 in -lz" >&5 12031$as_echo_n "checking for compress2 in -lz... " >&6; } 12032if ${ac_cv_lib_z_compress2+:} false; then : 12033 $as_echo_n "(cached) " >&6 12034else 12035 ac_check_lib_save_LIBS=$LIBS 12036LIBS="-lz $LIBS" 12037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12038/* end confdefs.h. */ 12039 12040/* Override any GCC internal prototype to avoid an error. 12041 Use char because int might match the return type of a GCC 12042 builtin and then its argument prototype would still apply. */ 12043#ifdef __cplusplus 12044extern "C" 12045#endif 12046char compress2 (); 12047int 12048main () 12049{ 12050return compress2 (); 12051 ; 12052 return 0; 12053} 12054_ACEOF 12055if ac_fn_c_try_link "$LINENO"; then : 12056 ac_cv_lib_z_compress2=yes 12057else 12058 ac_cv_lib_z_compress2=no 12059fi 12060rm -f core conftest.err conftest.$ac_objext \ 12061 conftest$ac_exeext conftest.$ac_ext 12062LIBS=$ac_check_lib_save_LIBS 12063fi 12064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress2" >&5 12065$as_echo "$ac_cv_lib_z_compress2" >&6; } 12066if test "x$ac_cv_lib_z_compress2" = xyes; then : 12067 cat >>confdefs.h <<_ACEOF 12068#define HAVE_LIBZ 1 12069_ACEOF 12070 12071 LIBS="-lz $LIBS" 12072 12073fi 12074 12075if test "$ac_cv_lib_z_compress2" = "yes"; then 12076 for ac_header in zlib.h 12077do : 12078 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 12079if test "x$ac_cv_header_zlib_h" = xyes; then : 12080 cat >>confdefs.h <<_ACEOF 12081#define HAVE_ZLIB_H 1 12082_ACEOF 12083 12084fi 12085 12086done 12087 12088fi 12089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 12090$as_echo_n "checking for sqrt in -lm... " >&6; } 12091if ${ac_cv_lib_m_sqrt+:} false; then : 12092 $as_echo_n "(cached) " >&6 12093else 12094 ac_check_lib_save_LIBS=$LIBS 12095LIBS="-lm $LIBS" 12096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12097/* end confdefs.h. */ 12098 12099/* Override any GCC internal prototype to avoid an error. 12100 Use char because int might match the return type of a GCC 12101 builtin and then its argument prototype would still apply. */ 12102#ifdef __cplusplus 12103extern "C" 12104#endif 12105char sqrt (); 12106int 12107main () 12108{ 12109return sqrt (); 12110 ; 12111 return 0; 12112} 12113_ACEOF 12114if ac_fn_c_try_link "$LINENO"; then : 12115 ac_cv_lib_m_sqrt=yes 12116else 12117 ac_cv_lib_m_sqrt=no 12118fi 12119rm -f core conftest.err conftest.$ac_objext \ 12120 conftest$ac_exeext conftest.$ac_ext 12121LIBS=$ac_check_lib_save_LIBS 12122fi 12123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 12124$as_echo "$ac_cv_lib_m_sqrt" >&6; } 12125if test "x$ac_cv_lib_m_sqrt" = xyes; then : 12126 cat >>confdefs.h <<_ACEOF 12127#define HAVE_LIBM 1 12128_ACEOF 12129 12130 LIBS="-lm $LIBS" 12131 12132fi 12133 12134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12135$as_echo_n "checking for dlopen in -ldl... " >&6; } 12136if ${ac_cv_lib_dl_dlopen+:} false; then : 12137 $as_echo_n "(cached) " >&6 12138else 12139 ac_check_lib_save_LIBS=$LIBS 12140LIBS="-ldl $LIBS" 12141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12142/* end confdefs.h. */ 12143 12144/* Override any GCC internal prototype to avoid an error. 12145 Use char because int might match the return type of a GCC 12146 builtin and then its argument prototype would still apply. */ 12147#ifdef __cplusplus 12148extern "C" 12149#endif 12150char dlopen (); 12151int 12152main () 12153{ 12154return dlopen (); 12155 ; 12156 return 0; 12157} 12158_ACEOF 12159if ac_fn_c_try_link "$LINENO"; then : 12160 ac_cv_lib_dl_dlopen=yes 12161else 12162 ac_cv_lib_dl_dlopen=no 12163fi 12164rm -f core conftest.err conftest.$ac_objext \ 12165 conftest$ac_exeext conftest.$ac_ext 12166LIBS=$ac_check_lib_save_LIBS 12167fi 12168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12169$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12170if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12171 cat >>confdefs.h <<_ACEOF 12172#define HAVE_LIBDL 1 12173_ACEOF 12174 12175 LIBS="-ldl $LIBS" 12176 12177fi 12178 12179expat=yes 12180 12181 12182# Check whether --with-expat was given. 12183if test "${with_expat+set}" = set; then : 12184 withval=$with_expat; expat=$withval 12185fi 12186 12187if test "$expat" != "no"; then 12188 xLIBS="$LIBS"; 12189 xCFLAGS="$CFLAGS"; 12190 if test "$expat" != "yes"; then 12191 EXPAT_CFLAGS="-I$expat/include" 12192 EXPAT_LIBS="-L$expat/lib" 12193 CFLAGS="$EXPAT_CFLAGS $CFLAGS" 12194 LIBS="$EXPAT_LIBS $LIBS" 12195 fi 12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 12197$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; } 12198if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then : 12199 $as_echo_n "(cached) " >&6 12200else 12201 ac_check_lib_save_LIBS=$LIBS 12202LIBS="-lexpat $LIBS" 12203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204/* end confdefs.h. */ 12205 12206/* Override any GCC internal prototype to avoid an error. 12207 Use char because int might match the return type of a GCC 12208 builtin and then its argument prototype would still apply. */ 12209#ifdef __cplusplus 12210extern "C" 12211#endif 12212char XML_ParserCreate (); 12213int 12214main () 12215{ 12216return XML_ParserCreate (); 12217 ; 12218 return 0; 12219} 12220_ACEOF 12221if ac_fn_c_try_link "$LINENO"; then : 12222 ac_cv_lib_expat_XML_ParserCreate=yes 12223else 12224 ac_cv_lib_expat_XML_ParserCreate=no 12225fi 12226rm -f core conftest.err conftest.$ac_objext \ 12227 conftest$ac_exeext conftest.$ac_ext 12228LIBS=$ac_check_lib_save_LIBS 12229fi 12230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 12231$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; } 12232if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then : 12233 EXPAT_LIBS="$EXPAT_LIBS -lexpat" 12234fi 12235 12236 if test "$ac_cv_lib_expat_XML_ParserCreate" = "yes"; then 12237 for ac_header in expat.h 12238do : 12239 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default" 12240if test "x$ac_cv_header_expat_h" = xyes; then : 12241 cat >>confdefs.h <<_ACEOF 12242#define HAVE_EXPAT_H 1 12243_ACEOF 12244 12245fi 12246 12247done 12248 12249 fi 12250 LIBS="$xLIBS" 12251 CFLAGS="$xCFLAGS" 12252fi 12253# Check whether --enable-largefile was given. 12254if test "${enable_largefile+set}" = set; then : 12255 enableval=$enable_largefile; 12256fi 12257 12258if test "$enable_largefile" != no; then 12259 12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12261$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12262if ${ac_cv_sys_largefile_CC+:} false; then : 12263 $as_echo_n "(cached) " >&6 12264else 12265 ac_cv_sys_largefile_CC=no 12266 if test "$GCC" != yes; then 12267 ac_save_CC=$CC 12268 while :; do 12269 # IRIX 6.2 and later do not support large files by default, 12270 # so use the C compiler's -n32 option if that helps. 12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12272/* end confdefs.h. */ 12273#include <sys/types.h> 12274 /* Check that off_t can represent 2**63 - 1 correctly. 12275 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12276 since some C++ compilers masquerading as C compilers 12277 incorrectly reject 9223372036854775807. */ 12278#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12279 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12280 && LARGE_OFF_T % 2147483647 == 1) 12281 ? 1 : -1]; 12282int 12283main () 12284{ 12285 12286 ; 12287 return 0; 12288} 12289_ACEOF 12290 if ac_fn_c_try_compile "$LINENO"; then : 12291 break 12292fi 12293rm -f core conftest.err conftest.$ac_objext 12294 CC="$CC -n32" 12295 if ac_fn_c_try_compile "$LINENO"; then : 12296 ac_cv_sys_largefile_CC=' -n32'; break 12297fi 12298rm -f core conftest.err conftest.$ac_objext 12299 break 12300 done 12301 CC=$ac_save_CC 12302 rm -f conftest.$ac_ext 12303 fi 12304fi 12305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12306$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12307 if test "$ac_cv_sys_largefile_CC" != no; then 12308 CC=$CC$ac_cv_sys_largefile_CC 12309 fi 12310 12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12312$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12313if ${ac_cv_sys_file_offset_bits+:} false; then : 12314 $as_echo_n "(cached) " >&6 12315else 12316 while :; do 12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12318/* end confdefs.h. */ 12319#include <sys/types.h> 12320 /* Check that off_t can represent 2**63 - 1 correctly. 12321 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12322 since some C++ compilers masquerading as C compilers 12323 incorrectly reject 9223372036854775807. */ 12324#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12325 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12326 && LARGE_OFF_T % 2147483647 == 1) 12327 ? 1 : -1]; 12328int 12329main () 12330{ 12331 12332 ; 12333 return 0; 12334} 12335_ACEOF 12336if ac_fn_c_try_compile "$LINENO"; then : 12337 ac_cv_sys_file_offset_bits=no; break 12338fi 12339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12341/* end confdefs.h. */ 12342#define _FILE_OFFSET_BITS 64 12343#include <sys/types.h> 12344 /* Check that off_t can represent 2**63 - 1 correctly. 12345 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12346 since some C++ compilers masquerading as C compilers 12347 incorrectly reject 9223372036854775807. */ 12348#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12349 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12350 && LARGE_OFF_T % 2147483647 == 1) 12351 ? 1 : -1]; 12352int 12353main () 12354{ 12355 12356 ; 12357 return 0; 12358} 12359_ACEOF 12360if ac_fn_c_try_compile "$LINENO"; then : 12361 ac_cv_sys_file_offset_bits=64; break 12362fi 12363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12364 ac_cv_sys_file_offset_bits=unknown 12365 break 12366done 12367fi 12368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12369$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12370case $ac_cv_sys_file_offset_bits in #( 12371 no | unknown) ;; 12372 *) 12373cat >>confdefs.h <<_ACEOF 12374#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12375_ACEOF 12376;; 12377esac 12378rm -rf conftest* 12379 if test $ac_cv_sys_file_offset_bits = unknown; then 12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12381$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12382if ${ac_cv_sys_large_files+:} false; then : 12383 $as_echo_n "(cached) " >&6 12384else 12385 while :; do 12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12387/* end confdefs.h. */ 12388#include <sys/types.h> 12389 /* Check that off_t can represent 2**63 - 1 correctly. 12390 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12391 since some C++ compilers masquerading as C compilers 12392 incorrectly reject 9223372036854775807. */ 12393#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12394 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12395 && LARGE_OFF_T % 2147483647 == 1) 12396 ? 1 : -1]; 12397int 12398main () 12399{ 12400 12401 ; 12402 return 0; 12403} 12404_ACEOF 12405if ac_fn_c_try_compile "$LINENO"; then : 12406 ac_cv_sys_large_files=no; break 12407fi 12408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12410/* end confdefs.h. */ 12411#define _LARGE_FILES 1 12412#include <sys/types.h> 12413 /* Check that off_t can represent 2**63 - 1 correctly. 12414 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12415 since some C++ compilers masquerading as C compilers 12416 incorrectly reject 9223372036854775807. */ 12417#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12418 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12419 && LARGE_OFF_T % 2147483647 == 1) 12420 ? 1 : -1]; 12421int 12422main () 12423{ 12424 12425 ; 12426 return 0; 12427} 12428_ACEOF 12429if ac_fn_c_try_compile "$LINENO"; then : 12430 ac_cv_sys_large_files=1; break 12431fi 12432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12433 ac_cv_sys_large_files=unknown 12434 break 12435done 12436fi 12437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 12438$as_echo "$ac_cv_sys_large_files" >&6; } 12439case $ac_cv_sys_large_files in #( 12440 no | unknown) ;; 12441 *) 12442cat >>confdefs.h <<_ACEOF 12443#define _LARGE_FILES $ac_cv_sys_large_files 12444_ACEOF 12445;; 12446esac 12447rm -rf conftest* 12448 fi 12449 12450 12451fi 12452 12453ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" 12454if test "x$ac_cv_type_long_long" = xyes; then : 12455 12456cat >>confdefs.h <<_ACEOF 12457#define HAVE_LONG_LONG 1 12458_ACEOF 12459 12460 12461fi 12462 12463if test "${ac_cv_type_long_long}" = "yes"; then 12464 ZINT_VALUE=1 12465else 12466 ZINT_VALUE=0 12467fi 12468ZEBRA_CFLAGS="-DZEBRA_ZINT=${ZINT_VALUE}" 12469 12470cat >>confdefs.h <<_ACEOF 12471#define ZEBRA_ZINT ${ZINT_VALUE} 12472_ACEOF 12473 12474 12475SHARED_MODULE_LA="" 12476 12477STATIC_MODULE_OBJ="" 12478 12479STATIC_MODULE_LADD="" 12480 12481 12482 12483$as_echo "#define IDZEBRA_STATIC_GRS_SGML 1" >>confdefs.h 12484 12485 12486$as_echo "#define IDZEBRA_STATIC_TEXT 0" >>confdefs.h 12487 12488 12489 # Check whether --enable-mod-text was given. 12490if test "${enable_mod_text+set}" = set; then : 12491 enableval=$enable_mod_text; myen=$enableval 12492else 12493 myen=shared 12494fi 12495 12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module text" >&5 12497$as_echo_n "checking for module text... " >&6; } 12498 if test "$myen" = "yes"; then 12499 myen="shared" 12500 fi 12501 if test "$enable_shared" != "yes"; then 12502 if test "$myen" = "shared"; then 12503 myen="static" 12504 fi 12505 fi 12506 m=`echo text|tr .- __` 12507 if test "$myen" = "no" -o "$myen" = "disabled"; then 12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12509$as_echo "disabled" >&6; } 12510 elif test "shared" = "disabled"; then 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12512$as_echo "disabled" >&6; } 12513 as_fn_error $? "Cannot enable mod-text because of missing libs (XML, etc)" "$LINENO" 5 12514 elif test "$myen" = "shared"; then 12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12516$as_echo "shared" >&6; } 12517 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-text.la" 12518 elif test "$myen" = "static"; then 12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12520$as_echo "static" >&6; } 12521 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12522 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12523 modcpp=`echo text|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12524 cat >>confdefs.h <<_ACEOF 12525#define IDZEBRA_STATIC_$modcpp 1 12526_ACEOF 12527 12528 else 12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12530$as_echo "$myen" >&6; } 12531 as_fn_error $? "invalid --enable-mod-text value. Use on,off,static or shared" "$LINENO" 5 12532 fi 12533 12534 12535$as_echo "#define IDZEBRA_STATIC_GRS_REGX 0" >>confdefs.h 12536 12537 12538 # Check whether --enable-mod-grs-regx was given. 12539if test "${enable_mod_grs_regx+set}" = set; then : 12540 enableval=$enable_mod_grs_regx; myen=$enableval 12541else 12542 myen=shared 12543fi 12544 12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module grs-regx" >&5 12546$as_echo_n "checking for module grs-regx... " >&6; } 12547 if test "$myen" = "yes"; then 12548 myen="shared" 12549 fi 12550 if test "$enable_shared" != "yes"; then 12551 if test "$myen" = "shared"; then 12552 myen="static" 12553 fi 12554 fi 12555 m=`echo grs-regx|tr .- __` 12556 if test "$myen" = "no" -o "$myen" = "disabled"; then 12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12558$as_echo "disabled" >&6; } 12559 elif test "shared" = "disabled"; then 12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12561$as_echo "disabled" >&6; } 12562 as_fn_error $? "Cannot enable mod-grs-regx because of missing libs (XML, etc)" "$LINENO" 5 12563 elif test "$myen" = "shared"; then 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12565$as_echo "shared" >&6; } 12566 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-grs-regx.la" 12567 elif test "$myen" = "static"; then 12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12569$as_echo "static" >&6; } 12570 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12571 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12572 modcpp=`echo grs-regx|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12573 cat >>confdefs.h <<_ACEOF 12574#define IDZEBRA_STATIC_$modcpp 1 12575_ACEOF 12576 12577 else 12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12579$as_echo "$myen" >&6; } 12580 as_fn_error $? "invalid --enable-mod-grs-regx value. Use on,off,static or shared" "$LINENO" 5 12581 fi 12582 12583 12584$as_echo "#define IDZEBRA_STATIC_GRS_MARC 0" >>confdefs.h 12585 12586 12587 # Check whether --enable-mod-grs-marc was given. 12588if test "${enable_mod_grs_marc+set}" = set; then : 12589 enableval=$enable_mod_grs_marc; myen=$enableval 12590else 12591 myen=shared 12592fi 12593 12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module grs-marc" >&5 12595$as_echo_n "checking for module grs-marc... " >&6; } 12596 if test "$myen" = "yes"; then 12597 myen="shared" 12598 fi 12599 if test "$enable_shared" != "yes"; then 12600 if test "$myen" = "shared"; then 12601 myen="static" 12602 fi 12603 fi 12604 m=`echo grs-marc|tr .- __` 12605 if test "$myen" = "no" -o "$myen" = "disabled"; then 12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12607$as_echo "disabled" >&6; } 12608 elif test "shared" = "disabled"; then 12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12610$as_echo "disabled" >&6; } 12611 as_fn_error $? "Cannot enable mod-grs-marc because of missing libs (XML, etc)" "$LINENO" 5 12612 elif test "$myen" = "shared"; then 12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12614$as_echo "shared" >&6; } 12615 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-grs-marc.la" 12616 elif test "$myen" = "static"; then 12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12618$as_echo "static" >&6; } 12619 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12620 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12621 modcpp=`echo grs-marc|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12622 cat >>confdefs.h <<_ACEOF 12623#define IDZEBRA_STATIC_$modcpp 1 12624_ACEOF 12625 12626 else 12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12628$as_echo "$myen" >&6; } 12629 as_fn_error $? "invalid --enable-mod-grs-marc value. Use on,off,static or shared" "$LINENO" 5 12630 fi 12631 12632if test "$ac_cv_header_expat_h" = "yes"; then 12633 def="shared" 12634else 12635 def="disabled" 12636fi 12637 12638$as_echo "#define IDZEBRA_STATIC_GRS_XML 0" >>confdefs.h 12639 12640 12641 # Check whether --enable-mod-grs-xml was given. 12642if test "${enable_mod_grs_xml+set}" = set; then : 12643 enableval=$enable_mod_grs_xml; myen=$enableval 12644else 12645 myen=$def 12646fi 12647 12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module grs-xml" >&5 12649$as_echo_n "checking for module grs-xml... " >&6; } 12650 if test "$myen" = "yes"; then 12651 myen="shared" 12652 fi 12653 if test "$enable_shared" != "yes"; then 12654 if test "$myen" = "shared"; then 12655 myen="static" 12656 fi 12657 fi 12658 m=`echo grs-xml|tr .- __` 12659 if test "$myen" = "no" -o "$myen" = "disabled"; then 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12661$as_echo "disabled" >&6; } 12662 elif test "$def" = "disabled"; then 12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12664$as_echo "disabled" >&6; } 12665 as_fn_error $? "Cannot enable mod-grs-xml because of missing libs (XML, etc)" "$LINENO" 5 12666 elif test "$myen" = "shared"; then 12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12668$as_echo "shared" >&6; } 12669 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-grs-xml.la" 12670 elif test "$myen" = "static"; then 12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12672$as_echo "static" >&6; } 12673 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12674 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12675 modcpp=`echo grs-xml|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12676 cat >>confdefs.h <<_ACEOF 12677#define IDZEBRA_STATIC_$modcpp 1 12678_ACEOF 12679 12680 else 12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12682$as_echo "$myen" >&6; } 12683 as_fn_error $? "invalid --enable-mod-grs-xml value. Use on,off,static or shared" "$LINENO" 5 12684 fi 12685 12686oldCPPFLAGS="$CPPFLAGS" 12687CPPFLAGS="$CPPFLAGS $YAZINC" 12688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12689/* end confdefs.h. */ 12690 12691#if YAZ_HAVE_XML2 12692#include <libxml/xmlversion.h> 12693#include <libxml/parser.h> 12694#include <libxml/tree.h> 12695#include <libxml/xmlIO.h> 12696#include <libxslt/transform.h> 12697#include <libxslt/xsltutils.h> 12698#else 12699#error Libxml2 not available 12700#endif 12701 12702int 12703main () 12704{ 12705 12706#if LIBXML_VERSION < 20615 12707#error Libxml2 version < 2.6.15. xmlreader not reliable/present 12708#endif 12709 12710 ; 12711 return 0; 12712} 12713_ACEOF 12714if ac_fn_c_try_cpp "$LINENO"; then : 12715 def="shared" 12716else 12717 def="disabled" 12718fi 12719rm -f conftest.err conftest.i conftest.$ac_ext 12720CPPFLAGS=$oldCPPFLAGS 12721 12722$as_echo "#define IDZEBRA_STATIC_DOM 0" >>confdefs.h 12723 12724 12725 # Check whether --enable-mod-dom was given. 12726if test "${enable_mod_dom+set}" = set; then : 12727 enableval=$enable_mod_dom; myen=$enableval 12728else 12729 myen=$def 12730fi 12731 12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module dom" >&5 12733$as_echo_n "checking for module dom... " >&6; } 12734 if test "$myen" = "yes"; then 12735 myen="shared" 12736 fi 12737 if test "$enable_shared" != "yes"; then 12738 if test "$myen" = "shared"; then 12739 myen="static" 12740 fi 12741 fi 12742 m=`echo dom|tr .- __` 12743 if test "$myen" = "no" -o "$myen" = "disabled"; then 12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12745$as_echo "disabled" >&6; } 12746 elif test "$def" = "disabled"; then 12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12748$as_echo "disabled" >&6; } 12749 as_fn_error $? "Cannot enable mod-dom because of missing libs (XML, etc)" "$LINENO" 5 12750 elif test "$myen" = "shared"; then 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12752$as_echo "shared" >&6; } 12753 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-dom.la" 12754 elif test "$myen" = "static"; then 12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12756$as_echo "static" >&6; } 12757 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12758 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12759 modcpp=`echo dom|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12760 cat >>confdefs.h <<_ACEOF 12761#define IDZEBRA_STATIC_$modcpp 1 12762_ACEOF 12763 12764 else 12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12766$as_echo "$myen" >&6; } 12767 as_fn_error $? "invalid --enable-mod-dom value. Use on,off,static or shared" "$LINENO" 5 12768 fi 12769 12770 12771$as_echo "#define IDZEBRA_STATIC_ALVIS 0" >>confdefs.h 12772 12773 12774 # Check whether --enable-mod-alvis was given. 12775if test "${enable_mod_alvis+set}" = set; then : 12776 enableval=$enable_mod_alvis; myen=$enableval 12777else 12778 myen=$def 12779fi 12780 12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module alvis" >&5 12782$as_echo_n "checking for module alvis... " >&6; } 12783 if test "$myen" = "yes"; then 12784 myen="shared" 12785 fi 12786 if test "$enable_shared" != "yes"; then 12787 if test "$myen" = "shared"; then 12788 myen="static" 12789 fi 12790 fi 12791 m=`echo alvis|tr .- __` 12792 if test "$myen" = "no" -o "$myen" = "disabled"; then 12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12794$as_echo "disabled" >&6; } 12795 elif test "$def" = "disabled"; then 12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12797$as_echo "disabled" >&6; } 12798 as_fn_error $? "Cannot enable mod-alvis because of missing libs (XML, etc)" "$LINENO" 5 12799 elif test "$myen" = "shared"; then 12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12801$as_echo "shared" >&6; } 12802 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-alvis.la" 12803 elif test "$myen" = "static"; then 12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12805$as_echo "static" >&6; } 12806 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12807 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12808 modcpp=`echo alvis|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12809 cat >>confdefs.h <<_ACEOF 12810#define IDZEBRA_STATIC_$modcpp 1 12811_ACEOF 12812 12813 else 12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12815$as_echo "$myen" >&6; } 12816 as_fn_error $? "invalid --enable-mod-alvis value. Use on,off,static or shared" "$LINENO" 5 12817 fi 12818 12819 12820$as_echo "#define IDZEBRA_STATIC_SAFARI 0" >>confdefs.h 12821 12822 12823 # Check whether --enable-mod-safari was given. 12824if test "${enable_mod_safari+set}" = set; then : 12825 enableval=$enable_mod_safari; myen=$enableval 12826else 12827 myen=shared 12828fi 12829 12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module safari" >&5 12831$as_echo_n "checking for module safari... " >&6; } 12832 if test "$myen" = "yes"; then 12833 myen="shared" 12834 fi 12835 if test "$enable_shared" != "yes"; then 12836 if test "$myen" = "shared"; then 12837 myen="static" 12838 fi 12839 fi 12840 m=`echo safari|tr .- __` 12841 if test "$myen" = "no" -o "$myen" = "disabled"; then 12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12843$as_echo "disabled" >&6; } 12844 elif test "shared" = "disabled"; then 12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 12846$as_echo "disabled" >&6; } 12847 as_fn_error $? "Cannot enable mod-safari because of missing libs (XML, etc)" "$LINENO" 5 12848 elif test "$myen" = "shared"; then 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 12850$as_echo "shared" >&6; } 12851 SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-safari.la" 12852 elif test "$myen" = "static"; then 12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 12854$as_echo "static" >&6; } 12855 STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" 12856 STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)" 12857 modcpp=`echo safari|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 12858 cat >>confdefs.h <<_ACEOF 12859#define IDZEBRA_STATIC_$modcpp 1 12860_ACEOF 12861 12862 else 12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $myen" >&5 12864$as_echo "$myen" >&6; } 12865 as_fn_error $? "invalid --enable-mod-safari value. Use on,off,static or shared" "$LINENO" 5 12866 fi 12867 12868 12869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12870$as_echo_n "checking for ANSI C header files... " >&6; } 12871if ${ac_cv_header_stdc+:} false; then : 12872 $as_echo_n "(cached) " >&6 12873else 12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12875/* end confdefs.h. */ 12876#include <stdlib.h> 12877#include <stdarg.h> 12878#include <string.h> 12879#include <float.h> 12880 12881int 12882main () 12883{ 12884 12885 ; 12886 return 0; 12887} 12888_ACEOF 12889if ac_fn_c_try_compile "$LINENO"; then : 12890 ac_cv_header_stdc=yes 12891else 12892 ac_cv_header_stdc=no 12893fi 12894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12895 12896if test $ac_cv_header_stdc = yes; then 12897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12899/* end confdefs.h. */ 12900#include <string.h> 12901 12902_ACEOF 12903if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12904 $EGREP "memchr" >/dev/null 2>&1; then : 12905 12906else 12907 ac_cv_header_stdc=no 12908fi 12909rm -f conftest* 12910 12911fi 12912 12913if test $ac_cv_header_stdc = yes; then 12914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12916/* end confdefs.h. */ 12917#include <stdlib.h> 12918 12919_ACEOF 12920if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12921 $EGREP "free" >/dev/null 2>&1; then : 12922 12923else 12924 ac_cv_header_stdc=no 12925fi 12926rm -f conftest* 12927 12928fi 12929 12930if test $ac_cv_header_stdc = yes; then 12931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12932 if test "$cross_compiling" = yes; then : 12933 : 12934else 12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12936/* end confdefs.h. */ 12937#include <ctype.h> 12938#include <stdlib.h> 12939#if ((' ' & 0x0FF) == 0x020) 12940# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12941# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12942#else 12943# define ISLOWER(c) \ 12944 (('a' <= (c) && (c) <= 'i') \ 12945 || ('j' <= (c) && (c) <= 'r') \ 12946 || ('s' <= (c) && (c) <= 'z')) 12947# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12948#endif 12949 12950#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12951int 12952main () 12953{ 12954 int i; 12955 for (i = 0; i < 256; i++) 12956 if (XOR (islower (i), ISLOWER (i)) 12957 || toupper (i) != TOUPPER (i)) 12958 return 2; 12959 return 0; 12960} 12961_ACEOF 12962if ac_fn_c_try_run "$LINENO"; then : 12963 12964else 12965 ac_cv_header_stdc=no 12966fi 12967rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12968 conftest.$ac_objext conftest.beam conftest.$ac_ext 12969fi 12970 12971fi 12972fi 12973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12974$as_echo "$ac_cv_header_stdc" >&6; } 12975if test $ac_cv_header_stdc = yes; then 12976 12977$as_echo "#define STDC_HEADERS 1" >>confdefs.h 12978 12979fi 12980 12981if test "$ac_cv_header_stdc" = "no"; then 12982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your system does not seem to support ANSI C" >&5 12983$as_echo "$as_me: WARNING: Your system does not seem to support ANSI C" >&2;} 12984fi 12985 12986 12987IDZEBRA_SRC_ROOT=`cd ${srcdir}; pwd` 12988IDZEBRA_BUILD_ROOT=`pwd` 12989WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; printf("%d,%d,%d,%d", $1, $2, $3 == "" ? "0" : $3, $4 == "" ? "1" : $4);}'` 12990 12991VERSION_HEX=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { printf("%x", ($1 * 256 + $2) * 256 + $3);}'` 12992 12993if test -d ${srcdir}/.git; then 12994 VERSION_SHA1=`git show --pretty=format:%H|head -1` 12995else 12996 VERSION_SHA1=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'` 12997fi 12998 12999ac_config_files="$ac_config_files Makefile util/Makefile bfile/Makefile dfa/Makefile dict/Makefile isamb/Makefile isams/Makefile isamc/Makefile rset/Makefile data1/Makefile index/Makefile include/Makefile include/idzebra/Makefile tab/Makefile doc/Makefile doc/local0.ent doc/common/Makefile doc/common/print.dsl test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile test/xslt/Makefile test/xpath/Makefile test/rusmarc/Makefile test/cddb/Makefile test/malxml/Makefile test/mbox/Makefile test/config/Makefile test/dmoz/Makefile test/zsh/Makefile test/marcxml/Makefile test/charmap/Makefile test/codec/Makefile test/espec/Makefile test/filters/Makefile examples/Makefile examples/gils/Makefile examples/marc21/Makefile examples/marcxml/Makefile examples/oai-pmh/Makefile examples/zthes/Makefile idzebra-config-2.0 Doxyfile win/version.nsi include/idzebra/version.h" 13000 13001ac_config_commands="$ac_config_commands default" 13002 13003cat >confcache <<\_ACEOF 13004# This file is a shell script that caches the results of configure 13005# tests run on this system so they can be shared between configure 13006# scripts and configure runs, see configure's option --config-cache. 13007# It is not useful on other systems. If it contains results you don't 13008# want to keep, you may remove or edit it. 13009# 13010# config.status only pays attention to the cache file if you give it 13011# the --recheck option to rerun configure. 13012# 13013# `ac_cv_env_foo' variables (set or unset) will be overridden when 13014# loading this file, other *unset* `ac_cv_foo' will be assigned the 13015# following values. 13016 13017_ACEOF 13018 13019# The following way of writing the cache mishandles newlines in values, 13020# but we know of no workaround that is simple, portable, and efficient. 13021# So, we kill variables containing newlines. 13022# Ultrix sh set writes to stderr and can't be redirected directly, 13023# and sets the high bit in the cache file unless we assign to the vars. 13024( 13025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13026 eval ac_val=\$$ac_var 13027 case $ac_val in #( 13028 *${as_nl}*) 13029 case $ac_var in #( 13030 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13031$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13032 esac 13033 case $ac_var in #( 13034 _ | IFS | as_nl) ;; #( 13035 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13036 *) { eval $ac_var=; unset $ac_var;} ;; 13037 esac ;; 13038 esac 13039 done 13040 13041 (set) 2>&1 | 13042 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13043 *${as_nl}ac_space=\ *) 13044 # `set' does not quote correctly, so add quotes: double-quote 13045 # substitution turns \\\\ into \\, and sed turns \\ into \. 13046 sed -n \ 13047 "s/'/'\\\\''/g; 13048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13049 ;; #( 13050 *) 13051 # `set' quotes correctly as required by POSIX, so do not add quotes. 13052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13053 ;; 13054 esac | 13055 sort 13056) | 13057 sed ' 13058 /^ac_cv_env_/b end 13059 t clear 13060 :clear 13061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13062 t end 13063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13064 :end' >>confcache 13065if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13066 if test -w "$cache_file"; then 13067 if test "x$cache_file" != "x/dev/null"; then 13068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13069$as_echo "$as_me: updating cache $cache_file" >&6;} 13070 if test ! -f "$cache_file" || test -h "$cache_file"; then 13071 cat confcache >"$cache_file" 13072 else 13073 case $cache_file in #( 13074 */* | ?:*) 13075 mv -f confcache "$cache_file"$$ && 13076 mv -f "$cache_file"$$ "$cache_file" ;; #( 13077 *) 13078 mv -f confcache "$cache_file" ;; 13079 esac 13080 fi 13081 fi 13082 else 13083 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13084$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13085 fi 13086fi 13087rm -f confcache 13088 13089test "x$prefix" = xNONE && prefix=$ac_default_prefix 13090# Let make expand exec_prefix. 13091test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13092 13093DEFS=-DHAVE_CONFIG_H 13094 13095ac_libobjs= 13096ac_ltlibobjs= 13097U= 13098for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13099 # 1. Remove the extension, and $U if already installed. 13100 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13101 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13103 # will be set to the directory where LIBOBJS objects are built. 13104 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13105 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13106done 13107LIBOBJS=$ac_libobjs 13108 13109LTLIBOBJS=$ac_ltlibobjs 13110 13111 13112if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13113 as_fn_error $? "conditional \"AMDEP\" was never defined. 13114Usually this means the macro was only invoked conditionally." "$LINENO" 5 13115fi 13116if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13117 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13118Usually this means the macro was only invoked conditionally." "$LINENO" 5 13119fi 13120 13121: "${CONFIG_STATUS=./config.status}" 13122ac_write_fail=0 13123ac_clean_files_save=$ac_clean_files 13124ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13125{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13126$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13127as_write_fail=0 13128cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13129#! $SHELL 13130# Generated by $as_me. 13131# Run this file to recreate the current configuration. 13132# Compiler output produced by configure, useful for debugging 13133# configure, is in config.log if it exists. 13134 13135debug=false 13136ac_cs_recheck=false 13137ac_cs_silent=false 13138 13139SHELL=\${CONFIG_SHELL-$SHELL} 13140export SHELL 13141_ASEOF 13142cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13143## -------------------- ## 13144## M4sh Initialization. ## 13145## -------------------- ## 13146 13147# Be more Bourne compatible 13148DUALCASE=1; export DUALCASE # for MKS sh 13149if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13150 emulate sh 13151 NULLCMD=: 13152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13153 # is contrary to our usage. Disable this feature. 13154 alias -g '${1+"$@"}'='"$@"' 13155 setopt NO_GLOB_SUBST 13156else 13157 case `(set -o) 2>/dev/null` in #( 13158 *posix*) : 13159 set -o posix ;; #( 13160 *) : 13161 ;; 13162esac 13163fi 13164 13165 13166as_nl=' 13167' 13168export as_nl 13169# Printing a long string crashes Solaris 7 /usr/bin/printf. 13170as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13171as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13172as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13173# Prefer a ksh shell builtin over an external printf program on Solaris, 13174# but without wasting forks for bash or zsh. 13175if test -z "$BASH_VERSION$ZSH_VERSION" \ 13176 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13177 as_echo='print -r --' 13178 as_echo_n='print -rn --' 13179elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13180 as_echo='printf %s\n' 13181 as_echo_n='printf %s' 13182else 13183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13185 as_echo_n='/usr/ucb/echo -n' 13186 else 13187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13188 as_echo_n_body='eval 13189 arg=$1; 13190 case $arg in #( 13191 *"$as_nl"*) 13192 expr "X$arg" : "X\\(.*\\)$as_nl"; 13193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13194 esac; 13195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13196 ' 13197 export as_echo_n_body 13198 as_echo_n='sh -c $as_echo_n_body as_echo' 13199 fi 13200 export as_echo_body 13201 as_echo='sh -c $as_echo_body as_echo' 13202fi 13203 13204# The user is always right. 13205if test "${PATH_SEPARATOR+set}" != set; then 13206 PATH_SEPARATOR=: 13207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13209 PATH_SEPARATOR=';' 13210 } 13211fi 13212 13213 13214# IFS 13215# We need space, tab and new line, in precisely that order. Quoting is 13216# there to prevent editors from complaining about space-tab. 13217# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13218# splitting by setting IFS to empty value.) 13219IFS=" "" $as_nl" 13220 13221# Find who we are. Look in the path if we contain no directory separator. 13222as_myself= 13223case $0 in #(( 13224 *[\\/]* ) as_myself=$0 ;; 13225 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13226for as_dir in $PATH 13227do 13228 IFS=$as_save_IFS 13229 test -z "$as_dir" && as_dir=. 13230 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13231 done 13232IFS=$as_save_IFS 13233 13234 ;; 13235esac 13236# We did not find ourselves, most probably we were run as `sh COMMAND' 13237# in which case we are not to be found in the path. 13238if test "x$as_myself" = x; then 13239 as_myself=$0 13240fi 13241if test ! -f "$as_myself"; then 13242 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13243 exit 1 13244fi 13245 13246# Unset variables that we do not need and which cause bugs (e.g. in 13247# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13248# suppresses any "Segmentation fault" message there. '((' could 13249# trigger a bug in pdksh 5.2.14. 13250for as_var in BASH_ENV ENV MAIL MAILPATH 13251do eval test x\${$as_var+set} = xset \ 13252 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13253done 13254PS1='$ ' 13255PS2='> ' 13256PS4='+ ' 13257 13258# NLS nuisances. 13259LC_ALL=C 13260export LC_ALL 13261LANGUAGE=C 13262export LANGUAGE 13263 13264# CDPATH. 13265(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13266 13267 13268# as_fn_error STATUS ERROR [LINENO LOG_FD] 13269# ---------------------------------------- 13270# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13271# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13272# script with STATUS, using 1 if that was 0. 13273as_fn_error () 13274{ 13275 as_status=$1; test $as_status -eq 0 && as_status=1 13276 if test "$4"; then 13277 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13278 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13279 fi 13280 $as_echo "$as_me: error: $2" >&2 13281 as_fn_exit $as_status 13282} # as_fn_error 13283 13284 13285# as_fn_set_status STATUS 13286# ----------------------- 13287# Set $? to STATUS, without forking. 13288as_fn_set_status () 13289{ 13290 return $1 13291} # as_fn_set_status 13292 13293# as_fn_exit STATUS 13294# ----------------- 13295# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13296as_fn_exit () 13297{ 13298 set +e 13299 as_fn_set_status $1 13300 exit $1 13301} # as_fn_exit 13302 13303# as_fn_unset VAR 13304# --------------- 13305# Portably unset VAR. 13306as_fn_unset () 13307{ 13308 { eval $1=; unset $1;} 13309} 13310as_unset=as_fn_unset 13311# as_fn_append VAR VALUE 13312# ---------------------- 13313# Append the text in VALUE to the end of the definition contained in VAR. Take 13314# advantage of any shell optimizations that allow amortized linear growth over 13315# repeated appends, instead of the typical quadratic growth present in naive 13316# implementations. 13317if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13318 eval 'as_fn_append () 13319 { 13320 eval $1+=\$2 13321 }' 13322else 13323 as_fn_append () 13324 { 13325 eval $1=\$$1\$2 13326 } 13327fi # as_fn_append 13328 13329# as_fn_arith ARG... 13330# ------------------ 13331# Perform arithmetic evaluation on the ARGs, and store the result in the 13332# global $as_val. Take advantage of shells that can avoid forks. The arguments 13333# must be portable across $(()) and expr. 13334if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13335 eval 'as_fn_arith () 13336 { 13337 as_val=$(( $* )) 13338 }' 13339else 13340 as_fn_arith () 13341 { 13342 as_val=`expr "$@" || test $? -eq 1` 13343 } 13344fi # as_fn_arith 13345 13346 13347if expr a : '\(a\)' >/dev/null 2>&1 && 13348 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13349 as_expr=expr 13350else 13351 as_expr=false 13352fi 13353 13354if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13355 as_basename=basename 13356else 13357 as_basename=false 13358fi 13359 13360if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13361 as_dirname=dirname 13362else 13363 as_dirname=false 13364fi 13365 13366as_me=`$as_basename -- "$0" || 13367$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13368 X"$0" : 'X\(//\)$' \| \ 13369 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13370$as_echo X/"$0" | 13371 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13372 s//\1/ 13373 q 13374 } 13375 /^X\/\(\/\/\)$/{ 13376 s//\1/ 13377 q 13378 } 13379 /^X\/\(\/\).*/{ 13380 s//\1/ 13381 q 13382 } 13383 s/.*/./; q'` 13384 13385# Avoid depending upon Character Ranges. 13386as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13387as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13388as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13389as_cr_digits='0123456789' 13390as_cr_alnum=$as_cr_Letters$as_cr_digits 13391 13392ECHO_C= ECHO_N= ECHO_T= 13393case `echo -n x` in #((((( 13394-n*) 13395 case `echo 'xy\c'` in 13396 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13397 xy) ECHO_C='\c';; 13398 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13399 ECHO_T=' ';; 13400 esac;; 13401*) 13402 ECHO_N='-n';; 13403esac 13404 13405rm -f conf$$ conf$$.exe conf$$.file 13406if test -d conf$$.dir; then 13407 rm -f conf$$.dir/conf$$.file 13408else 13409 rm -f conf$$.dir 13410 mkdir conf$$.dir 2>/dev/null 13411fi 13412if (echo >conf$$.file) 2>/dev/null; then 13413 if ln -s conf$$.file conf$$ 2>/dev/null; then 13414 as_ln_s='ln -s' 13415 # ... but there are two gotchas: 13416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13418 # In both cases, we have to default to `cp -pR'. 13419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13420 as_ln_s='cp -pR' 13421 elif ln conf$$.file conf$$ 2>/dev/null; then 13422 as_ln_s=ln 13423 else 13424 as_ln_s='cp -pR' 13425 fi 13426else 13427 as_ln_s='cp -pR' 13428fi 13429rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13430rmdir conf$$.dir 2>/dev/null 13431 13432 13433# as_fn_mkdir_p 13434# ------------- 13435# Create "$as_dir" as a directory, including parents if necessary. 13436as_fn_mkdir_p () 13437{ 13438 13439 case $as_dir in #( 13440 -*) as_dir=./$as_dir;; 13441 esac 13442 test -d "$as_dir" || eval $as_mkdir_p || { 13443 as_dirs= 13444 while :; do 13445 case $as_dir in #( 13446 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13447 *) as_qdir=$as_dir;; 13448 esac 13449 as_dirs="'$as_qdir' $as_dirs" 13450 as_dir=`$as_dirname -- "$as_dir" || 13451$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13452 X"$as_dir" : 'X\(//\)[^/]' \| \ 13453 X"$as_dir" : 'X\(//\)$' \| \ 13454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13455$as_echo X"$as_dir" | 13456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13457 s//\1/ 13458 q 13459 } 13460 /^X\(\/\/\)[^/].*/{ 13461 s//\1/ 13462 q 13463 } 13464 /^X\(\/\/\)$/{ 13465 s//\1/ 13466 q 13467 } 13468 /^X\(\/\).*/{ 13469 s//\1/ 13470 q 13471 } 13472 s/.*/./; q'` 13473 test -d "$as_dir" && break 13474 done 13475 test -z "$as_dirs" || eval "mkdir $as_dirs" 13476 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13477 13478 13479} # as_fn_mkdir_p 13480if mkdir -p . 2>/dev/null; then 13481 as_mkdir_p='mkdir -p "$as_dir"' 13482else 13483 test -d ./-p && rmdir ./-p 13484 as_mkdir_p=false 13485fi 13486 13487 13488# as_fn_executable_p FILE 13489# ----------------------- 13490# Test if FILE is an executable regular file. 13491as_fn_executable_p () 13492{ 13493 test -f "$1" && test -x "$1" 13494} # as_fn_executable_p 13495as_test_x='test -x' 13496as_executable_p=as_fn_executable_p 13497 13498# Sed expression to map a string onto a valid CPP name. 13499as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13500 13501# Sed expression to map a string onto a valid variable name. 13502as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13503 13504 13505exec 6>&1 13506## ----------------------------------- ## 13507## Main body of $CONFIG_STATUS script. ## 13508## ----------------------------------- ## 13509_ASEOF 13510test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13511 13512cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13513# Save the log message, to keep $0 and so on meaningful, and to 13514# report actual input values of CONFIG_FILES etc. instead of their 13515# values after options handling. 13516ac_log=" 13517This file was extended by idzebra $as_me 2.0.55, which was 13518generated by GNU Autoconf 2.69. Invocation command line was 13519 13520 CONFIG_FILES = $CONFIG_FILES 13521 CONFIG_HEADERS = $CONFIG_HEADERS 13522 CONFIG_LINKS = $CONFIG_LINKS 13523 CONFIG_COMMANDS = $CONFIG_COMMANDS 13524 $ $0 $@ 13525 13526on `(hostname || uname -n) 2>/dev/null | sed 1q` 13527" 13528 13529_ACEOF 13530 13531case $ac_config_files in *" 13532"*) set x $ac_config_files; shift; ac_config_files=$*;; 13533esac 13534 13535case $ac_config_headers in *" 13536"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13537esac 13538 13539 13540cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13541# Files that config.status was made for. 13542config_files="$ac_config_files" 13543config_headers="$ac_config_headers" 13544config_commands="$ac_config_commands" 13545 13546_ACEOF 13547 13548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13549ac_cs_usage="\ 13550\`$as_me' instantiates files and other configuration actions 13551from templates according to the current configuration. Unless the files 13552and actions are specified as TAGs, all are instantiated by default. 13553 13554Usage: $0 [OPTION]... [TAG]... 13555 13556 -h, --help print this help, then exit 13557 -V, --version print version number and configuration settings, then exit 13558 --config print configuration, then exit 13559 -q, --quiet, --silent 13560 do not print progress messages 13561 -d, --debug don't remove temporary files 13562 --recheck update $as_me by reconfiguring in the same conditions 13563 --file=FILE[:TEMPLATE] 13564 instantiate the configuration file FILE 13565 --header=FILE[:TEMPLATE] 13566 instantiate the configuration header FILE 13567 13568Configuration files: 13569$config_files 13570 13571Configuration headers: 13572$config_headers 13573 13574Configuration commands: 13575$config_commands 13576 13577Report bugs to <zebra-help@indexdata.dk>." 13578 13579_ACEOF 13580cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13581ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13582ac_cs_version="\\ 13583idzebra config.status 2.0.55 13584configured by $0, generated by GNU Autoconf 2.69, 13585 with options \\"\$ac_cs_config\\" 13586 13587Copyright (C) 2012 Free Software Foundation, Inc. 13588This config.status script is free software; the Free Software Foundation 13589gives unlimited permission to copy, distribute and modify it." 13590 13591ac_pwd='$ac_pwd' 13592srcdir='$srcdir' 13593INSTALL='$INSTALL' 13594MKDIR_P='$MKDIR_P' 13595AWK='$AWK' 13596test -n "\$AWK" || AWK=awk 13597_ACEOF 13598 13599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13600# The default lists apply if the user does not specify any file. 13601ac_need_defaults=: 13602while test $# != 0 13603do 13604 case $1 in 13605 --*=?*) 13606 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13608 ac_shift=: 13609 ;; 13610 --*=) 13611 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13612 ac_optarg= 13613 ac_shift=: 13614 ;; 13615 *) 13616 ac_option=$1 13617 ac_optarg=$2 13618 ac_shift=shift 13619 ;; 13620 esac 13621 13622 case $ac_option in 13623 # Handling of the options. 13624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13625 ac_cs_recheck=: ;; 13626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13627 $as_echo "$ac_cs_version"; exit ;; 13628 --config | --confi | --conf | --con | --co | --c ) 13629 $as_echo "$ac_cs_config"; exit ;; 13630 --debug | --debu | --deb | --de | --d | -d ) 13631 debug=: ;; 13632 --file | --fil | --fi | --f ) 13633 $ac_shift 13634 case $ac_optarg in 13635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13636 '') as_fn_error $? "missing file argument" ;; 13637 esac 13638 as_fn_append CONFIG_FILES " '$ac_optarg'" 13639 ac_need_defaults=false;; 13640 --header | --heade | --head | --hea ) 13641 $ac_shift 13642 case $ac_optarg in 13643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13644 esac 13645 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13646 ac_need_defaults=false;; 13647 --he | --h) 13648 # Conflict between --help and --header 13649 as_fn_error $? "ambiguous option: \`$1' 13650Try \`$0 --help' for more information.";; 13651 --help | --hel | -h ) 13652 $as_echo "$ac_cs_usage"; exit ;; 13653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13654 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13655 ac_cs_silent=: ;; 13656 13657 # This is an error. 13658 -*) as_fn_error $? "unrecognized option: \`$1' 13659Try \`$0 --help' for more information." ;; 13660 13661 *) as_fn_append ac_config_targets " $1" 13662 ac_need_defaults=false ;; 13663 13664 esac 13665 shift 13666done 13667 13668ac_configure_extra_args= 13669 13670if $ac_cs_silent; then 13671 exec 6>/dev/null 13672 ac_configure_extra_args="$ac_configure_extra_args --silent" 13673fi 13674 13675_ACEOF 13676cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13677if \$ac_cs_recheck; then 13678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13679 shift 13680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13681 CONFIG_SHELL='$SHELL' 13682 export CONFIG_SHELL 13683 exec "\$@" 13684fi 13685 13686_ACEOF 13687cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13688exec 5>>config.log 13689{ 13690 echo 13691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13692## Running $as_me. ## 13693_ASBOX 13694 $as_echo "$ac_log" 13695} >&5 13696 13697_ACEOF 13698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13699# 13700# INIT-COMMANDS 13701# 13702AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13703 13704 13705# The HP-UX ksh and POSIX shell print the target directory to stdout 13706# if CDPATH is set. 13707(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13708 13709sed_quote_subst='$sed_quote_subst' 13710double_quote_subst='$double_quote_subst' 13711delay_variable_subst='$delay_variable_subst' 13712macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13713macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13714enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13715enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13716pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13717enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13718SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13719ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13720PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13721host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13722host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13723host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13724build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13725build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13726build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13727SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13728Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13729GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13730EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13731FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13732LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13733NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13734LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13735max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13736ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13737exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13738lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13739lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13740lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13741lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13742lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13743reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13744reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13745OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13746deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13747file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13748file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13749want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13750DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13751sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13752AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13753AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13754archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13755STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13756RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13757old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13758old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13759old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13760lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13761CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13762CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13763compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13764GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13765lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13766lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13767lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13768lt_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"`' 13769nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13770lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13771objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13772MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13773lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13774lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13775lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13776lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13777lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13778need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13779MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13780DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13781NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13782LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13783OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13784OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13785libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13786shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13787extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13788archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13789enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13790export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13791whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13792compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13793old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13794old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13795archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13796archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13797module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13798module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13799with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 13800allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 13801no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 13802hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 13803hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 13804hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 13805hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 13806hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 13807hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 13808hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 13809inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 13810link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 13811always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 13812export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 13813exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 13814include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 13815prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 13816postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 13817file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 13818variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 13819need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 13820need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 13821version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 13822runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 13823shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 13824shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 13825libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 13826library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 13827soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 13828install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 13829postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13830postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13831finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 13832finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 13833hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 13834sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 13835sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 13836hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 13837enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 13838enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 13839enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 13840old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 13841striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 13842 13843LTCC='$LTCC' 13844LTCFLAGS='$LTCFLAGS' 13845compiler='$compiler_DEFAULT' 13846 13847# A function that is used when there is no print builtin or printf. 13848func_fallback_echo () 13849{ 13850 eval 'cat <<_LTECHO_EOF 13851\$1 13852_LTECHO_EOF' 13853} 13854 13855# Quote evaled strings. 13856for var in SHELL \ 13857ECHO \ 13858PATH_SEPARATOR \ 13859SED \ 13860GREP \ 13861EGREP \ 13862FGREP \ 13863LD \ 13864NM \ 13865LN_S \ 13866lt_SP2NL \ 13867lt_NL2SP \ 13868reload_flag \ 13869OBJDUMP \ 13870deplibs_check_method \ 13871file_magic_cmd \ 13872file_magic_glob \ 13873want_nocaseglob \ 13874DLLTOOL \ 13875sharedlib_from_linklib_cmd \ 13876AR \ 13877AR_FLAGS \ 13878archiver_list_spec \ 13879STRIP \ 13880RANLIB \ 13881CC \ 13882CFLAGS \ 13883compiler \ 13884lt_cv_sys_global_symbol_pipe \ 13885lt_cv_sys_global_symbol_to_cdecl \ 13886lt_cv_sys_global_symbol_to_c_name_address \ 13887lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13888nm_file_list_spec \ 13889lt_prog_compiler_no_builtin_flag \ 13890lt_prog_compiler_pic \ 13891lt_prog_compiler_wl \ 13892lt_prog_compiler_static \ 13893lt_cv_prog_compiler_c_o \ 13894need_locks \ 13895MANIFEST_TOOL \ 13896DSYMUTIL \ 13897NMEDIT \ 13898LIPO \ 13899OTOOL \ 13900OTOOL64 \ 13901shrext_cmds \ 13902export_dynamic_flag_spec \ 13903whole_archive_flag_spec \ 13904compiler_needs_object \ 13905with_gnu_ld \ 13906allow_undefined_flag \ 13907no_undefined_flag \ 13908hardcode_libdir_flag_spec \ 13909hardcode_libdir_separator \ 13910exclude_expsyms \ 13911include_expsyms \ 13912file_list_spec \ 13913variables_saved_for_relink \ 13914libname_spec \ 13915library_names_spec \ 13916soname_spec \ 13917install_override_mode \ 13918finish_eval \ 13919old_striplib \ 13920striplib; do 13921 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13922 *[\\\\\\\`\\"\\\$]*) 13923 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13924 ;; 13925 *) 13926 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13927 ;; 13928 esac 13929done 13930 13931# Double-quote double-evaled strings. 13932for var in reload_cmds \ 13933old_postinstall_cmds \ 13934old_postuninstall_cmds \ 13935old_archive_cmds \ 13936extract_expsyms_cmds \ 13937old_archive_from_new_cmds \ 13938old_archive_from_expsyms_cmds \ 13939archive_cmds \ 13940archive_expsym_cmds \ 13941module_cmds \ 13942module_expsym_cmds \ 13943export_symbols_cmds \ 13944prelink_cmds \ 13945postlink_cmds \ 13946postinstall_cmds \ 13947postuninstall_cmds \ 13948finish_cmds \ 13949sys_lib_search_path_spec \ 13950sys_lib_dlsearch_path_spec; do 13951 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 13952 *[\\\\\\\`\\"\\\$]*) 13953 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13954 ;; 13955 *) 13956 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13957 ;; 13958 esac 13959done 13960 13961ac_aux_dir='$ac_aux_dir' 13962xsi_shell='$xsi_shell' 13963lt_shell_append='$lt_shell_append' 13964 13965# See if we are running on zsh, and set the options which allow our 13966# commands through without removal of \ escapes INIT. 13967if test -n "\${ZSH_VERSION+set}" ; then 13968 setopt NO_GLOB_SUBST 13969fi 13970 13971 13972 PACKAGE='$PACKAGE' 13973 VERSION='$VERSION' 13974 TIMESTAMP='$TIMESTAMP' 13975 RM='$RM' 13976 ofile='$ofile' 13977 13978 13979 13980 13981_ACEOF 13982 13983cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13984 13985# Handling of arguments. 13986for ac_config_target in $ac_config_targets 13987do 13988 case $ac_config_target in 13989 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 13990 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13991 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13992 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13993 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; 13994 "bfile/Makefile") CONFIG_FILES="$CONFIG_FILES bfile/Makefile" ;; 13995 "dfa/Makefile") CONFIG_FILES="$CONFIG_FILES dfa/Makefile" ;; 13996 "dict/Makefile") CONFIG_FILES="$CONFIG_FILES dict/Makefile" ;; 13997 "isamb/Makefile") CONFIG_FILES="$CONFIG_FILES isamb/Makefile" ;; 13998 "isams/Makefile") CONFIG_FILES="$CONFIG_FILES isams/Makefile" ;; 13999 "isamc/Makefile") CONFIG_FILES="$CONFIG_FILES isamc/Makefile" ;; 14000 "rset/Makefile") CONFIG_FILES="$CONFIG_FILES rset/Makefile" ;; 14001 "data1/Makefile") CONFIG_FILES="$CONFIG_FILES data1/Makefile" ;; 14002 "index/Makefile") CONFIG_FILES="$CONFIG_FILES index/Makefile" ;; 14003 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 14004 "include/idzebra/Makefile") CONFIG_FILES="$CONFIG_FILES include/idzebra/Makefile" ;; 14005 "tab/Makefile") CONFIG_FILES="$CONFIG_FILES tab/Makefile" ;; 14006 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14007 "doc/local0.ent") CONFIG_FILES="$CONFIG_FILES doc/local0.ent" ;; 14008 "doc/common/Makefile") CONFIG_FILES="$CONFIG_FILES doc/common/Makefile" ;; 14009 "doc/common/print.dsl") CONFIG_FILES="$CONFIG_FILES doc/common/print.dsl" ;; 14010 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 14011 "test/gils/Makefile") CONFIG_FILES="$CONFIG_FILES test/gils/Makefile" ;; 14012 "test/usmarc/Makefile") CONFIG_FILES="$CONFIG_FILES test/usmarc/Makefile" ;; 14013 "test/api/Makefile") CONFIG_FILES="$CONFIG_FILES test/api/Makefile" ;; 14014 "test/xslt/Makefile") CONFIG_FILES="$CONFIG_FILES test/xslt/Makefile" ;; 14015 "test/xpath/Makefile") CONFIG_FILES="$CONFIG_FILES test/xpath/Makefile" ;; 14016 "test/rusmarc/Makefile") CONFIG_FILES="$CONFIG_FILES test/rusmarc/Makefile" ;; 14017 "test/cddb/Makefile") CONFIG_FILES="$CONFIG_FILES test/cddb/Makefile" ;; 14018 "test/malxml/Makefile") CONFIG_FILES="$CONFIG_FILES test/malxml/Makefile" ;; 14019 "test/mbox/Makefile") CONFIG_FILES="$CONFIG_FILES test/mbox/Makefile" ;; 14020 "test/config/Makefile") CONFIG_FILES="$CONFIG_FILES test/config/Makefile" ;; 14021 "test/dmoz/Makefile") CONFIG_FILES="$CONFIG_FILES test/dmoz/Makefile" ;; 14022 "test/zsh/Makefile") CONFIG_FILES="$CONFIG_FILES test/zsh/Makefile" ;; 14023 "test/marcxml/Makefile") CONFIG_FILES="$CONFIG_FILES test/marcxml/Makefile" ;; 14024 "test/charmap/Makefile") CONFIG_FILES="$CONFIG_FILES test/charmap/Makefile" ;; 14025 "test/codec/Makefile") CONFIG_FILES="$CONFIG_FILES test/codec/Makefile" ;; 14026 "test/espec/Makefile") CONFIG_FILES="$CONFIG_FILES test/espec/Makefile" ;; 14027 "test/filters/Makefile") CONFIG_FILES="$CONFIG_FILES test/filters/Makefile" ;; 14028 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 14029 "examples/gils/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gils/Makefile" ;; 14030 "examples/marc21/Makefile") CONFIG_FILES="$CONFIG_FILES examples/marc21/Makefile" ;; 14031 "examples/marcxml/Makefile") CONFIG_FILES="$CONFIG_FILES examples/marcxml/Makefile" ;; 14032 "examples/oai-pmh/Makefile") CONFIG_FILES="$CONFIG_FILES examples/oai-pmh/Makefile" ;; 14033 "examples/zthes/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zthes/Makefile" ;; 14034 "idzebra-config-2.0") CONFIG_FILES="$CONFIG_FILES idzebra-config-2.0" ;; 14035 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; 14036 "win/version.nsi") CONFIG_FILES="$CONFIG_FILES win/version.nsi" ;; 14037 "include/idzebra/version.h") CONFIG_FILES="$CONFIG_FILES include/idzebra/version.h" ;; 14038 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 14039 14040 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14041 esac 14042done 14043 14044 14045# If the user did not use the arguments to specify the items to instantiate, 14046# then the envvar interface is used. Set only those that are not. 14047# We use the long form for the default assignment because of an extremely 14048# bizarre bug on SunOS 4.1.3. 14049if $ac_need_defaults; then 14050 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14051 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14053fi 14054 14055# Have a temporary directory for convenience. Make it in the build tree 14056# simply because there is no reason against having it here, and in addition, 14057# creating and moving files from /tmp can sometimes cause problems. 14058# Hook for its removal unless debugging. 14059# Note that there is a small window in which the directory will not be cleaned: 14060# after its creation but before its name has been assigned to `$tmp'. 14061$debug || 14062{ 14063 tmp= ac_tmp= 14064 trap 'exit_status=$? 14065 : "${ac_tmp:=$tmp}" 14066 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14067' 0 14068 trap 'as_fn_exit 1' 1 2 13 15 14069} 14070# Create a (secure) tmp directory for tmp files. 14071 14072{ 14073 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14074 test -d "$tmp" 14075} || 14076{ 14077 tmp=./conf$$-$RANDOM 14078 (umask 077 && mkdir "$tmp") 14079} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14080ac_tmp=$tmp 14081 14082# Set up the scripts for CONFIG_FILES section. 14083# No need to generate them if there are no CONFIG_FILES. 14084# This happens for instance with `./config.status config.h'. 14085if test -n "$CONFIG_FILES"; then 14086 14087 14088ac_cr=`echo X | tr X '\015'` 14089# On cygwin, bash can eat \r inside `` if the user requested igncr. 14090# But we know of no other shell where ac_cr would be empty at this 14091# point, so we can use a bashism as a fallback. 14092if test "x$ac_cr" = x; then 14093 eval ac_cr=\$\'\\r\' 14094fi 14095ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14096if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14097 ac_cs_awk_cr='\\r' 14098else 14099 ac_cs_awk_cr=$ac_cr 14100fi 14101 14102echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14103_ACEOF 14104 14105 14106{ 14107 echo "cat >conf$$subs.awk <<_ACEOF" && 14108 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14109 echo "_ACEOF" 14110} >conf$$subs.sh || 14111 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14112ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14113ac_delim='%!_!# ' 14114for ac_last_try in false false false false false :; do 14115 . ./conf$$subs.sh || 14116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14117 14118 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14119 if test $ac_delim_n = $ac_delim_num; then 14120 break 14121 elif $ac_last_try; then 14122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14123 else 14124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14125 fi 14126done 14127rm -f conf$$subs.sh 14128 14129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14130cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14131_ACEOF 14132sed -n ' 14133h 14134s/^/S["/; s/!.*/"]=/ 14135p 14136g 14137s/^[^!]*!// 14138:repl 14139t repl 14140s/'"$ac_delim"'$// 14141t delim 14142:nl 14143h 14144s/\(.\{148\}\)..*/\1/ 14145t more1 14146s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14147p 14148n 14149b repl 14150:more1 14151s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14152p 14153g 14154s/.\{148\}// 14155t nl 14156:delim 14157h 14158s/\(.\{148\}\)..*/\1/ 14159t more2 14160s/["\\]/\\&/g; s/^/"/; s/$/"/ 14161p 14162b 14163:more2 14164s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14165p 14166g 14167s/.\{148\}// 14168t delim 14169' <conf$$subs.awk | sed ' 14170/^[^""]/{ 14171 N 14172 s/\n// 14173} 14174' >>$CONFIG_STATUS || ac_write_fail=1 14175rm -f conf$$subs.awk 14176cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14177_ACAWK 14178cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14179 for (key in S) S_is_set[key] = 1 14180 FS = "" 14181 14182} 14183{ 14184 line = $ 0 14185 nfields = split(line, field, "@") 14186 substed = 0 14187 len = length(field[1]) 14188 for (i = 2; i < nfields; i++) { 14189 key = field[i] 14190 keylen = length(key) 14191 if (S_is_set[key]) { 14192 value = S[key] 14193 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14194 len += length(value) + length(field[++i]) 14195 substed = 1 14196 } else 14197 len += 1 + keylen 14198 } 14199 14200 print line 14201} 14202 14203_ACAWK 14204_ACEOF 14205cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14206if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14207 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14208else 14209 cat 14210fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14211 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14212_ACEOF 14213 14214# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14215# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14216# trailing colons and then remove the whole line if VPATH becomes empty 14217# (actually we leave an empty line to preserve line numbers). 14218if test "x$srcdir" = x.; then 14219 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14220h 14221s/// 14222s/^/:/ 14223s/[ ]*$/:/ 14224s/:\$(srcdir):/:/g 14225s/:\${srcdir}:/:/g 14226s/:@srcdir@:/:/g 14227s/^:*// 14228s/:*$// 14229x 14230s/\(=[ ]*\).*/\1/ 14231G 14232s/\n// 14233s/^[^=]*=[ ]*$// 14234}' 14235fi 14236 14237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14238fi # test -n "$CONFIG_FILES" 14239 14240# Set up the scripts for CONFIG_HEADERS section. 14241# No need to generate them if there are no CONFIG_HEADERS. 14242# This happens for instance with `./config.status Makefile'. 14243if test -n "$CONFIG_HEADERS"; then 14244cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14245BEGIN { 14246_ACEOF 14247 14248# Transform confdefs.h into an awk script `defines.awk', embedded as 14249# here-document in config.status, that substitutes the proper values into 14250# config.h.in to produce config.h. 14251 14252# Create a delimiter string that does not exist in confdefs.h, to ease 14253# handling of long lines. 14254ac_delim='%!_!# ' 14255for ac_last_try in false false :; do 14256 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14257 if test -z "$ac_tt"; then 14258 break 14259 elif $ac_last_try; then 14260 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14261 else 14262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14263 fi 14264done 14265 14266# For the awk script, D is an array of macro values keyed by name, 14267# likewise P contains macro parameters if any. Preserve backslash 14268# newline sequences. 14269 14270ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14271sed -n ' 14272s/.\{148\}/&'"$ac_delim"'/g 14273t rset 14274:rset 14275s/^[ ]*#[ ]*define[ ][ ]*/ / 14276t def 14277d 14278:def 14279s/\\$// 14280t bsnl 14281s/["\\]/\\&/g 14282s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14283D["\1"]=" \3"/p 14284s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14285d 14286:bsnl 14287s/["\\]/\\&/g 14288s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14289D["\1"]=" \3\\\\\\n"\\/p 14290t cont 14291s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14292t cont 14293d 14294:cont 14295n 14296s/.\{148\}/&'"$ac_delim"'/g 14297t clear 14298:clear 14299s/\\$// 14300t bsnlc 14301s/["\\]/\\&/g; s/^/"/; s/$/"/p 14302d 14303:bsnlc 14304s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14305b cont 14306' <confdefs.h | sed ' 14307s/'"$ac_delim"'/"\\\ 14308"/g' >>$CONFIG_STATUS || ac_write_fail=1 14309 14310cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14311 for (key in D) D_is_set[key] = 1 14312 FS = "" 14313} 14314/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14315 line = \$ 0 14316 split(line, arg, " ") 14317 if (arg[1] == "#") { 14318 defundef = arg[2] 14319 mac1 = arg[3] 14320 } else { 14321 defundef = substr(arg[1], 2) 14322 mac1 = arg[2] 14323 } 14324 split(mac1, mac2, "(") #) 14325 macro = mac2[1] 14326 prefix = substr(line, 1, index(line, defundef) - 1) 14327 if (D_is_set[macro]) { 14328 # Preserve the white space surrounding the "#". 14329 print prefix "define", macro P[macro] D[macro] 14330 next 14331 } else { 14332 # Replace #undef with comments. This is necessary, for example, 14333 # in the case of _POSIX_SOURCE, which is predefined and required 14334 # on some systems where configure will not decide to define it. 14335 if (defundef == "undef") { 14336 print "/*", prefix defundef, macro, "*/" 14337 next 14338 } 14339 } 14340} 14341{ print } 14342_ACAWK 14343_ACEOF 14344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14345 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14346fi # test -n "$CONFIG_HEADERS" 14347 14348 14349eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14350shift 14351for ac_tag 14352do 14353 case $ac_tag in 14354 :[FHLC]) ac_mode=$ac_tag; continue;; 14355 esac 14356 case $ac_mode$ac_tag in 14357 :[FHL]*:*);; 14358 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14359 :[FH]-) ac_tag=-:-;; 14360 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14361 esac 14362 ac_save_IFS=$IFS 14363 IFS=: 14364 set x $ac_tag 14365 IFS=$ac_save_IFS 14366 shift 14367 ac_file=$1 14368 shift 14369 14370 case $ac_mode in 14371 :L) ac_source=$1;; 14372 :[FH]) 14373 ac_file_inputs= 14374 for ac_f 14375 do 14376 case $ac_f in 14377 -) ac_f="$ac_tmp/stdin";; 14378 *) # Look for the file first in the build tree, then in the source tree 14379 # (if the path is not absolute). The absolute path cannot be DOS-style, 14380 # because $ac_f cannot contain `:'. 14381 test -f "$ac_f" || 14382 case $ac_f in 14383 [\\/$]*) false;; 14384 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14385 esac || 14386 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14387 esac 14388 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14389 as_fn_append ac_file_inputs " '$ac_f'" 14390 done 14391 14392 # Let's still pretend it is `configure' which instantiates (i.e., don't 14393 # use $as_me), people would be surprised to read: 14394 # /* config.h. Generated by config.status. */ 14395 configure_input='Generated from '` 14396 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14397 `' by configure.' 14398 if test x"$ac_file" != x-; then 14399 configure_input="$ac_file. $configure_input" 14400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14401$as_echo "$as_me: creating $ac_file" >&6;} 14402 fi 14403 # Neutralize special characters interpreted by sed in replacement strings. 14404 case $configure_input in #( 14405 *\&* | *\|* | *\\* ) 14406 ac_sed_conf_input=`$as_echo "$configure_input" | 14407 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14408 *) ac_sed_conf_input=$configure_input;; 14409 esac 14410 14411 case $ac_tag in 14412 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14414 esac 14415 ;; 14416 esac 14417 14418 ac_dir=`$as_dirname -- "$ac_file" || 14419$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14420 X"$ac_file" : 'X\(//\)[^/]' \| \ 14421 X"$ac_file" : 'X\(//\)$' \| \ 14422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14423$as_echo X"$ac_file" | 14424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14425 s//\1/ 14426 q 14427 } 14428 /^X\(\/\/\)[^/].*/{ 14429 s//\1/ 14430 q 14431 } 14432 /^X\(\/\/\)$/{ 14433 s//\1/ 14434 q 14435 } 14436 /^X\(\/\).*/{ 14437 s//\1/ 14438 q 14439 } 14440 s/.*/./; q'` 14441 as_dir="$ac_dir"; as_fn_mkdir_p 14442 ac_builddir=. 14443 14444case "$ac_dir" in 14445.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14446*) 14447 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14448 # A ".." for each directory in $ac_dir_suffix. 14449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14450 case $ac_top_builddir_sub in 14451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14453 esac ;; 14454esac 14455ac_abs_top_builddir=$ac_pwd 14456ac_abs_builddir=$ac_pwd$ac_dir_suffix 14457# for backward compatibility: 14458ac_top_builddir=$ac_top_build_prefix 14459 14460case $srcdir in 14461 .) # We are building in place. 14462 ac_srcdir=. 14463 ac_top_srcdir=$ac_top_builddir_sub 14464 ac_abs_top_srcdir=$ac_pwd ;; 14465 [\\/]* | ?:[\\/]* ) # Absolute name. 14466 ac_srcdir=$srcdir$ac_dir_suffix; 14467 ac_top_srcdir=$srcdir 14468 ac_abs_top_srcdir=$srcdir ;; 14469 *) # Relative name. 14470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14471 ac_top_srcdir=$ac_top_build_prefix$srcdir 14472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14473esac 14474ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14475 14476 14477 case $ac_mode in 14478 :F) 14479 # 14480 # CONFIG_FILE 14481 # 14482 14483 case $INSTALL in 14484 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14485 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14486 esac 14487 ac_MKDIR_P=$MKDIR_P 14488 case $MKDIR_P in 14489 [\\/$]* | ?:[\\/]* ) ;; 14490 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14491 esac 14492_ACEOF 14493 14494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14495# If the template does not know about datarootdir, expand it. 14496# FIXME: This hack should be removed a few years after 2.60. 14497ac_datarootdir_hack=; ac_datarootdir_seen= 14498ac_sed_dataroot=' 14499/datarootdir/ { 14500 p 14501 q 14502} 14503/@datadir@/p 14504/@docdir@/p 14505/@infodir@/p 14506/@localedir@/p 14507/@mandir@/p' 14508case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14509*datarootdir*) ac_datarootdir_seen=yes;; 14510*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14512$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14513_ACEOF 14514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14515 ac_datarootdir_hack=' 14516 s&@datadir@&$datadir&g 14517 s&@docdir@&$docdir&g 14518 s&@infodir@&$infodir&g 14519 s&@localedir@&$localedir&g 14520 s&@mandir@&$mandir&g 14521 s&\\\${datarootdir}&$datarootdir&g' ;; 14522esac 14523_ACEOF 14524 14525# Neutralize VPATH when `$srcdir' = `.'. 14526# Shell code in configure.ac might set extrasub. 14527# FIXME: do we really want to maintain this feature? 14528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14529ac_sed_extra="$ac_vpsub 14530$extrasub 14531_ACEOF 14532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14533:t 14534/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14535s|@configure_input@|$ac_sed_conf_input|;t t 14536s&@top_builddir@&$ac_top_builddir_sub&;t t 14537s&@top_build_prefix@&$ac_top_build_prefix&;t t 14538s&@srcdir@&$ac_srcdir&;t t 14539s&@abs_srcdir@&$ac_abs_srcdir&;t t 14540s&@top_srcdir@&$ac_top_srcdir&;t t 14541s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14542s&@builddir@&$ac_builddir&;t t 14543s&@abs_builddir@&$ac_abs_builddir&;t t 14544s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14545s&@INSTALL@&$ac_INSTALL&;t t 14546s&@MKDIR_P@&$ac_MKDIR_P&;t t 14547$ac_datarootdir_hack 14548" 14549eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14550 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14551 14552test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14553 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14554 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14555 "$ac_tmp/out"`; test -z "$ac_out"; } && 14556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14557which seems to be undefined. Please make sure it is defined" >&5 14558$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14559which seems to be undefined. Please make sure it is defined" >&2;} 14560 14561 rm -f "$ac_tmp/stdin" 14562 case $ac_file in 14563 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14564 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14565 esac \ 14566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14567 ;; 14568 :H) 14569 # 14570 # CONFIG_HEADER 14571 # 14572 if test x"$ac_file" != x-; then 14573 { 14574 $as_echo "/* $configure_input */" \ 14575 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14576 } >"$ac_tmp/config.h" \ 14577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14578 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14579 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14580$as_echo "$as_me: $ac_file is unchanged" >&6;} 14581 else 14582 rm -f "$ac_file" 14583 mv "$ac_tmp/config.h" "$ac_file" \ 14584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14585 fi 14586 else 14587 $as_echo "/* $configure_input */" \ 14588 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14589 || as_fn_error $? "could not create -" "$LINENO" 5 14590 fi 14591# Compute "$ac_file"'s index in $config_headers. 14592_am_arg="$ac_file" 14593_am_stamp_count=1 14594for _am_header in $config_headers :; do 14595 case $_am_header in 14596 $_am_arg | $_am_arg:* ) 14597 break ;; 14598 * ) 14599 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14600 esac 14601done 14602echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14603$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14604 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14605 X"$_am_arg" : 'X\(//\)$' \| \ 14606 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14607$as_echo X"$_am_arg" | 14608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14609 s//\1/ 14610 q 14611 } 14612 /^X\(\/\/\)[^/].*/{ 14613 s//\1/ 14614 q 14615 } 14616 /^X\(\/\/\)$/{ 14617 s//\1/ 14618 q 14619 } 14620 /^X\(\/\).*/{ 14621 s//\1/ 14622 q 14623 } 14624 s/.*/./; q'`/stamp-h$_am_stamp_count 14625 ;; 14626 14627 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14628$as_echo "$as_me: executing $ac_file commands" >&6;} 14629 ;; 14630 esac 14631 14632 14633 case $ac_file$ac_mode in 14634 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14635 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14636 # are listed without --file. Let's play safe and only enable the eval 14637 # if we detect the quoting. 14638 case $CONFIG_FILES in 14639 *\'*) eval set x "$CONFIG_FILES" ;; 14640 *) set x $CONFIG_FILES ;; 14641 esac 14642 shift 14643 for mf 14644 do 14645 # Strip MF so we end up with the name of the file. 14646 mf=`echo "$mf" | sed -e 's/:.*$//'` 14647 # Check whether this is an Automake generated Makefile or not. 14648 # We used to match only the files named `Makefile.in', but 14649 # some people rename them; so instead we look at the file content. 14650 # Grep'ing the first line is not enough: some people post-process 14651 # each Makefile.in and add a new line on top of each file to say so. 14652 # Grep'ing the whole file is not good either: AIX grep has a line 14653 # limit of 2048, but all sed's we know have understand at least 4000. 14654 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14655 dirpart=`$as_dirname -- "$mf" || 14656$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14657 X"$mf" : 'X\(//\)[^/]' \| \ 14658 X"$mf" : 'X\(//\)$' \| \ 14659 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14660$as_echo X"$mf" | 14661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14662 s//\1/ 14663 q 14664 } 14665 /^X\(\/\/\)[^/].*/{ 14666 s//\1/ 14667 q 14668 } 14669 /^X\(\/\/\)$/{ 14670 s//\1/ 14671 q 14672 } 14673 /^X\(\/\).*/{ 14674 s//\1/ 14675 q 14676 } 14677 s/.*/./; q'` 14678 else 14679 continue 14680 fi 14681 # Extract the definition of DEPDIR, am__include, and am__quote 14682 # from the Makefile without running `make'. 14683 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14684 test -z "$DEPDIR" && continue 14685 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14686 test -z "am__include" && continue 14687 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14688 # When using ansi2knr, U may be empty or an underscore; expand it 14689 U=`sed -n 's/^U = //p' < "$mf"` 14690 # Find all dependency output files, they are included files with 14691 # $(DEPDIR) in their names. We invoke sed twice because it is the 14692 # simplest approach to changing $(DEPDIR) to its actual value in the 14693 # expansion. 14694 for file in `sed -n " 14695 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14696 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14697 # Make sure the directory exists. 14698 test -f "$dirpart/$file" && continue 14699 fdir=`$as_dirname -- "$file" || 14700$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14701 X"$file" : 'X\(//\)[^/]' \| \ 14702 X"$file" : 'X\(//\)$' \| \ 14703 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14704$as_echo X"$file" | 14705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14706 s//\1/ 14707 q 14708 } 14709 /^X\(\/\/\)[^/].*/{ 14710 s//\1/ 14711 q 14712 } 14713 /^X\(\/\/\)$/{ 14714 s//\1/ 14715 q 14716 } 14717 /^X\(\/\).*/{ 14718 s//\1/ 14719 q 14720 } 14721 s/.*/./; q'` 14722 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14723 # echo "creating $dirpart/$file" 14724 echo '# dummy' > "$dirpart/$file" 14725 done 14726 done 14727} 14728 ;; 14729 "libtool":C) 14730 14731 # See if we are running on zsh, and set the options which allow our 14732 # commands through without removal of \ escapes. 14733 if test -n "${ZSH_VERSION+set}" ; then 14734 setopt NO_GLOB_SUBST 14735 fi 14736 14737 cfgfile="${ofile}T" 14738 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14739 $RM "$cfgfile" 14740 14741 cat <<_LT_EOF >> "$cfgfile" 14742#! $SHELL 14743 14744# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14745# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14746# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14747# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14748# 14749# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14750# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14751# Foundation, Inc. 14752# Written by Gordon Matzigkeit, 1996 14753# 14754# This file is part of GNU Libtool. 14755# 14756# GNU Libtool is free software; you can redistribute it and/or 14757# modify it under the terms of the GNU General Public License as 14758# published by the Free Software Foundation; either version 2 of 14759# the License, or (at your option) any later version. 14760# 14761# As a special exception to the GNU General Public License, 14762# if you distribute this file as part of a program or library that 14763# is built using GNU Libtool, you may include this file under the 14764# same distribution terms that you use for the rest of that program. 14765# 14766# GNU Libtool is distributed in the hope that it will be useful, 14767# but WITHOUT ANY WARRANTY; without even the implied warranty of 14768# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14769# GNU General Public License for more details. 14770# 14771# You should have received a copy of the GNU General Public License 14772# along with GNU Libtool; see the file COPYING. If not, a copy 14773# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14774# obtained by writing to the Free Software Foundation, Inc., 14775# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14776 14777 14778# The names of the tagged configurations supported by this script. 14779available_tags="" 14780 14781# ### BEGIN LIBTOOL CONFIG 14782 14783# Which release of libtool.m4 was used? 14784macro_version=$macro_version 14785macro_revision=$macro_revision 14786 14787# Whether or not to build shared libraries. 14788build_libtool_libs=$enable_shared 14789 14790# Whether or not to build static libraries. 14791build_old_libs=$enable_static 14792 14793# What type of objects to build. 14794pic_mode=$pic_mode 14795 14796# Whether or not to optimize for fast installation. 14797fast_install=$enable_fast_install 14798 14799# Shell to use when invoking shell scripts. 14800SHELL=$lt_SHELL 14801 14802# An echo program that protects backslashes. 14803ECHO=$lt_ECHO 14804 14805# The PATH separator for the build system. 14806PATH_SEPARATOR=$lt_PATH_SEPARATOR 14807 14808# The host system. 14809host_alias=$host_alias 14810host=$host 14811host_os=$host_os 14812 14813# The build system. 14814build_alias=$build_alias 14815build=$build 14816build_os=$build_os 14817 14818# A sed program that does not truncate output. 14819SED=$lt_SED 14820 14821# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14822Xsed="\$SED -e 1s/^X//" 14823 14824# A grep program that handles long lines. 14825GREP=$lt_GREP 14826 14827# An ERE matcher. 14828EGREP=$lt_EGREP 14829 14830# A literal string matcher. 14831FGREP=$lt_FGREP 14832 14833# A BSD- or MS-compatible name lister. 14834NM=$lt_NM 14835 14836# Whether we need soft or hard links. 14837LN_S=$lt_LN_S 14838 14839# What is the maximum length of a command? 14840max_cmd_len=$max_cmd_len 14841 14842# Object file suffix (normally "o"). 14843objext=$ac_objext 14844 14845# Executable file suffix (normally ""). 14846exeext=$exeext 14847 14848# whether the shell understands "unset". 14849lt_unset=$lt_unset 14850 14851# turn spaces into newlines. 14852SP2NL=$lt_lt_SP2NL 14853 14854# turn newlines into spaces. 14855NL2SP=$lt_lt_NL2SP 14856 14857# convert \$build file names to \$host format. 14858to_host_file_cmd=$lt_cv_to_host_file_cmd 14859 14860# convert \$build files to toolchain format. 14861to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14862 14863# An object symbol dumper. 14864OBJDUMP=$lt_OBJDUMP 14865 14866# Method to check whether dependent libraries are shared objects. 14867deplibs_check_method=$lt_deplibs_check_method 14868 14869# Command to use when deplibs_check_method = "file_magic". 14870file_magic_cmd=$lt_file_magic_cmd 14871 14872# How to find potential files when deplibs_check_method = "file_magic". 14873file_magic_glob=$lt_file_magic_glob 14874 14875# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14876want_nocaseglob=$lt_want_nocaseglob 14877 14878# DLL creation program. 14879DLLTOOL=$lt_DLLTOOL 14880 14881# Command to associate shared and link libraries. 14882sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14883 14884# The archiver. 14885AR=$lt_AR 14886 14887# Flags to create an archive. 14888AR_FLAGS=$lt_AR_FLAGS 14889 14890# How to feed a file listing to the archiver. 14891archiver_list_spec=$lt_archiver_list_spec 14892 14893# A symbol stripping program. 14894STRIP=$lt_STRIP 14895 14896# Commands used to install an old-style archive. 14897RANLIB=$lt_RANLIB 14898old_postinstall_cmds=$lt_old_postinstall_cmds 14899old_postuninstall_cmds=$lt_old_postuninstall_cmds 14900 14901# Whether to use a lock for old archive extraction. 14902lock_old_archive_extraction=$lock_old_archive_extraction 14903 14904# A C compiler. 14905LTCC=$lt_CC 14906 14907# LTCC compiler flags. 14908LTCFLAGS=$lt_CFLAGS 14909 14910# Take the output of nm and produce a listing of raw symbols and C names. 14911global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14912 14913# Transform the output of nm in a proper C declaration. 14914global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14915 14916# Transform the output of nm in a C name address pair. 14917global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14918 14919# Transform the output of nm in a C name address pair when lib prefix is needed. 14920global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14921 14922# Specify filename containing input files for \$NM. 14923nm_file_list_spec=$lt_nm_file_list_spec 14924 14925# The root where to search for dependent libraries,and in which our libraries should be installed. 14926lt_sysroot=$lt_sysroot 14927 14928# The name of the directory that contains temporary libtool files. 14929objdir=$objdir 14930 14931# Used to examine libraries when file_magic_cmd begins with "file". 14932MAGIC_CMD=$MAGIC_CMD 14933 14934# Must we lock files when doing compilation? 14935need_locks=$lt_need_locks 14936 14937# Manifest tool. 14938MANIFEST_TOOL=$lt_MANIFEST_TOOL 14939 14940# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14941DSYMUTIL=$lt_DSYMUTIL 14942 14943# Tool to change global to local symbols on Mac OS X. 14944NMEDIT=$lt_NMEDIT 14945 14946# Tool to manipulate fat objects and archives on Mac OS X. 14947LIPO=$lt_LIPO 14948 14949# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14950OTOOL=$lt_OTOOL 14951 14952# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14953OTOOL64=$lt_OTOOL64 14954 14955# Old archive suffix (normally "a"). 14956libext=$libext 14957 14958# Shared library suffix (normally ".so"). 14959shrext_cmds=$lt_shrext_cmds 14960 14961# The commands to extract the exported symbol list from a shared archive. 14962extract_expsyms_cmds=$lt_extract_expsyms_cmds 14963 14964# Variables whose values should be saved in libtool wrapper scripts and 14965# restored at link time. 14966variables_saved_for_relink=$lt_variables_saved_for_relink 14967 14968# Do we need the "lib" prefix for modules? 14969need_lib_prefix=$need_lib_prefix 14970 14971# Do we need a version for libraries? 14972need_version=$need_version 14973 14974# Library versioning type. 14975version_type=$version_type 14976 14977# Shared library runtime path variable. 14978runpath_var=$runpath_var 14979 14980# Shared library path variable. 14981shlibpath_var=$shlibpath_var 14982 14983# Is shlibpath searched before the hard-coded library search path? 14984shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14985 14986# Format of library name prefix. 14987libname_spec=$lt_libname_spec 14988 14989# List of archive names. First name is the real one, the rest are links. 14990# The last name is the one that the linker finds with -lNAME 14991library_names_spec=$lt_library_names_spec 14992 14993# The coded name of the library, if different from the real name. 14994soname_spec=$lt_soname_spec 14995 14996# Permission mode override for installation of shared libraries. 14997install_override_mode=$lt_install_override_mode 14998 14999# Command to use after installation of a shared archive. 15000postinstall_cmds=$lt_postinstall_cmds 15001 15002# Command to use after uninstallation of a shared archive. 15003postuninstall_cmds=$lt_postuninstall_cmds 15004 15005# Commands used to finish a libtool library installation in a directory. 15006finish_cmds=$lt_finish_cmds 15007 15008# As "finish_cmds", except a single script fragment to be evaled but 15009# not shown. 15010finish_eval=$lt_finish_eval 15011 15012# Whether we should hardcode library paths into libraries. 15013hardcode_into_libs=$hardcode_into_libs 15014 15015# Compile-time system search path for libraries. 15016sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15017 15018# Run-time system search path for libraries. 15019sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15020 15021# Whether dlopen is supported. 15022dlopen_support=$enable_dlopen 15023 15024# Whether dlopen of programs is supported. 15025dlopen_self=$enable_dlopen_self 15026 15027# Whether dlopen of statically linked programs is supported. 15028dlopen_self_static=$enable_dlopen_self_static 15029 15030# Commands to strip libraries. 15031old_striplib=$lt_old_striplib 15032striplib=$lt_striplib 15033 15034 15035# The linker used to build libraries. 15036LD=$lt_LD 15037 15038# How to create reloadable object files. 15039reload_flag=$lt_reload_flag 15040reload_cmds=$lt_reload_cmds 15041 15042# Commands used to build an old-style archive. 15043old_archive_cmds=$lt_old_archive_cmds 15044 15045# A language specific compiler. 15046CC=$lt_compiler 15047 15048# Is the compiler the GNU compiler? 15049with_gcc=$GCC 15050 15051# Compiler flag to turn off builtin functions. 15052no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15053 15054# Additional compiler flags for building library objects. 15055pic_flag=$lt_lt_prog_compiler_pic 15056 15057# How to pass a linker flag through the compiler. 15058wl=$lt_lt_prog_compiler_wl 15059 15060# Compiler flag to prevent dynamic linking. 15061link_static_flag=$lt_lt_prog_compiler_static 15062 15063# Does compiler simultaneously support -c and -o options? 15064compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15065 15066# Whether or not to add -lc for building shared libraries. 15067build_libtool_need_lc=$archive_cmds_need_lc 15068 15069# Whether or not to disallow shared libs when runtime libs are static. 15070allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15071 15072# Compiler flag to allow reflexive dlopens. 15073export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15074 15075# Compiler flag to generate shared objects directly from archives. 15076whole_archive_flag_spec=$lt_whole_archive_flag_spec 15077 15078# Whether the compiler copes with passing no objects directly. 15079compiler_needs_object=$lt_compiler_needs_object 15080 15081# Create an old-style archive from a shared archive. 15082old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15083 15084# Create a temporary old-style archive to link instead of a shared archive. 15085old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15086 15087# Commands used to build a shared archive. 15088archive_cmds=$lt_archive_cmds 15089archive_expsym_cmds=$lt_archive_expsym_cmds 15090 15091# Commands used to build a loadable module if different from building 15092# a shared archive. 15093module_cmds=$lt_module_cmds 15094module_expsym_cmds=$lt_module_expsym_cmds 15095 15096# Whether we are building with GNU ld or not. 15097with_gnu_ld=$lt_with_gnu_ld 15098 15099# Flag that allows shared libraries with undefined symbols to be built. 15100allow_undefined_flag=$lt_allow_undefined_flag 15101 15102# Flag that enforces no undefined symbols. 15103no_undefined_flag=$lt_no_undefined_flag 15104 15105# Flag to hardcode \$libdir into a binary during linking. 15106# This must work even if \$libdir does not exist 15107hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15108 15109# Whether we need a single "-rpath" flag with a separated argument. 15110hardcode_libdir_separator=$lt_hardcode_libdir_separator 15111 15112# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15113# DIR into the resulting binary. 15114hardcode_direct=$hardcode_direct 15115 15116# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15117# DIR into the resulting binary and the resulting library dependency is 15118# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15119# library is relocated. 15120hardcode_direct_absolute=$hardcode_direct_absolute 15121 15122# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15123# into the resulting binary. 15124hardcode_minus_L=$hardcode_minus_L 15125 15126# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15127# into the resulting binary. 15128hardcode_shlibpath_var=$hardcode_shlibpath_var 15129 15130# Set to "yes" if building a shared library automatically hardcodes DIR 15131# into the library and all subsequent libraries and executables linked 15132# against it. 15133hardcode_automatic=$hardcode_automatic 15134 15135# Set to yes if linker adds runtime paths of dependent libraries 15136# to runtime path list. 15137inherit_rpath=$inherit_rpath 15138 15139# Whether libtool must link a program against all its dependency libraries. 15140link_all_deplibs=$link_all_deplibs 15141 15142# Set to "yes" if exported symbols are required. 15143always_export_symbols=$always_export_symbols 15144 15145# The commands to list exported symbols. 15146export_symbols_cmds=$lt_export_symbols_cmds 15147 15148# Symbols that should not be listed in the preloaded symbols. 15149exclude_expsyms=$lt_exclude_expsyms 15150 15151# Symbols that must always be exported. 15152include_expsyms=$lt_include_expsyms 15153 15154# Commands necessary for linking programs (against libraries) with templates. 15155prelink_cmds=$lt_prelink_cmds 15156 15157# Commands necessary for finishing linking programs. 15158postlink_cmds=$lt_postlink_cmds 15159 15160# Specify filename containing input files. 15161file_list_spec=$lt_file_list_spec 15162 15163# How to hardcode a shared library path into an executable. 15164hardcode_action=$hardcode_action 15165 15166# ### END LIBTOOL CONFIG 15167 15168_LT_EOF 15169 15170 case $host_os in 15171 aix3*) 15172 cat <<\_LT_EOF >> "$cfgfile" 15173# AIX sometimes has problems with the GCC collect2 program. For some 15174# reason, if we set the COLLECT_NAMES environment variable, the problems 15175# vanish in a puff of smoke. 15176if test "X${COLLECT_NAMES+set}" != Xset; then 15177 COLLECT_NAMES= 15178 export COLLECT_NAMES 15179fi 15180_LT_EOF 15181 ;; 15182 esac 15183 15184 15185ltmain="$ac_aux_dir/ltmain.sh" 15186 15187 15188 # We use sed instead of cat because bash on DJGPP gets confused if 15189 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15190 # text mode, it properly converts lines to CR/LF. This bash problem 15191 # is reportedly fixed, but why not run on old versions too? 15192 sed '$q' "$ltmain" >> "$cfgfile" \ 15193 || (rm -f "$cfgfile"; exit 1) 15194 15195 if test x"$xsi_shell" = xyes; then 15196 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15197func_dirname ()\ 15198{\ 15199\ case ${1} in\ 15200\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15201\ * ) func_dirname_result="${3}" ;;\ 15202\ esac\ 15203} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15204 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15206test 0 -eq $? || _lt_function_replace_fail=: 15207 15208 15209 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15210func_basename ()\ 15211{\ 15212\ func_basename_result="${1##*/}"\ 15213} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15214 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15216test 0 -eq $? || _lt_function_replace_fail=: 15217 15218 15219 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15220func_dirname_and_basename ()\ 15221{\ 15222\ case ${1} in\ 15223\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15224\ * ) func_dirname_result="${3}" ;;\ 15225\ esac\ 15226\ func_basename_result="${1##*/}"\ 15227} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15228 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15230test 0 -eq $? || _lt_function_replace_fail=: 15231 15232 15233 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15234func_stripname ()\ 15235{\ 15236\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15237\ # positional parameters, so assign one to ordinary parameter first.\ 15238\ func_stripname_result=${3}\ 15239\ func_stripname_result=${func_stripname_result#"${1}"}\ 15240\ func_stripname_result=${func_stripname_result%"${2}"}\ 15241} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15242 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15243 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15244test 0 -eq $? || _lt_function_replace_fail=: 15245 15246 15247 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15248func_split_long_opt ()\ 15249{\ 15250\ func_split_long_opt_name=${1%%=*}\ 15251\ func_split_long_opt_arg=${1#*=}\ 15252} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15253 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15254 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15255test 0 -eq $? || _lt_function_replace_fail=: 15256 15257 15258 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15259func_split_short_opt ()\ 15260{\ 15261\ func_split_short_opt_arg=${1#??}\ 15262\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15263} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15264 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15266test 0 -eq $? || _lt_function_replace_fail=: 15267 15268 15269 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15270func_lo2o ()\ 15271{\ 15272\ case ${1} in\ 15273\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15274\ *) func_lo2o_result=${1} ;;\ 15275\ esac\ 15276} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15277 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15278 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15279test 0 -eq $? || _lt_function_replace_fail=: 15280 15281 15282 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15283func_xform ()\ 15284{\ 15285 func_xform_result=${1%.*}.lo\ 15286} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15287 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15289test 0 -eq $? || _lt_function_replace_fail=: 15290 15291 15292 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15293func_arith ()\ 15294{\ 15295 func_arith_result=$(( $* ))\ 15296} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15297 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15299test 0 -eq $? || _lt_function_replace_fail=: 15300 15301 15302 sed -e '/^func_len ()$/,/^} # func_len /c\ 15303func_len ()\ 15304{\ 15305 func_len_result=${#1}\ 15306} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15307 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15308 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15309test 0 -eq $? || _lt_function_replace_fail=: 15310 15311fi 15312 15313if test x"$lt_shell_append" = xyes; then 15314 sed -e '/^func_append ()$/,/^} # func_append /c\ 15315func_append ()\ 15316{\ 15317 eval "${1}+=\\${2}"\ 15318} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15319 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15320 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15321test 0 -eq $? || _lt_function_replace_fail=: 15322 15323 15324 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15325func_append_quoted ()\ 15326{\ 15327\ func_quote_for_eval "${2}"\ 15328\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15329} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15330 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15331 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15332test 0 -eq $? || _lt_function_replace_fail=: 15333 15334 15335 # Save a `func_append' function call where possible by direct use of '+=' 15336 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15337 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15338 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15339 test 0 -eq $? || _lt_function_replace_fail=: 15340else 15341 # Save a `func_append' function call even when '+=' is not available 15342 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15343 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15344 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15345 test 0 -eq $? || _lt_function_replace_fail=: 15346fi 15347 15348if test x"$_lt_function_replace_fail" = x":"; then 15349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15350$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15351fi 15352 15353 15354 mv -f "$cfgfile" "$ofile" || 15355 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15356 chmod +x "$ofile" 15357 15358 ;; 15359 "default":C) 15360 sed s%echo_source=yes%echo_source=no%g < idzebra-config-2.0 > util/idzebra-config-2.0 && chmod +x idzebra-config-2.0 util/idzebra-config-2.0 15361 diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ 15362 || cp doc/local0.ent doc/local.ent 15363 ;; 15364 15365 esac 15366done # for ac_tag 15367 15368 15369as_fn_exit 0 15370_ACEOF 15371ac_clean_files=$ac_clean_files_save 15372 15373test $ac_write_fail = 0 || 15374 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15375 15376 15377# configure is writing to config.log, and then calls config.status. 15378# config.status does its own redirection, appending to config.log. 15379# Unfortunately, on DOS this fails, as config.log is still kept open 15380# by configure, so config.status won't be able to write to it; its 15381# output is simply discarded. So we exec the FD to /dev/null, 15382# effectively closing config.log, so it can be properly (re)opened and 15383# appended to by config.status. When coming back to configure, we 15384# need to make the FD available again. 15385if test "$no_create" != yes; then 15386 ac_cs_success=: 15387 ac_config_status_args= 15388 test "$silent" = yes && 15389 ac_config_status_args="$ac_config_status_args --quiet" 15390 exec 5>/dev/null 15391 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15392 exec 5>>config.log 15393 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15394 # would make configure fail if this is the last instruction. 15395 $ac_cs_success || as_fn_exit 1 15396fi 15397if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15399$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15400fi 15401 15402 15403echo \ 15404"------------------------------------------------------------------------ 15405 15406 ZEBRA Package: ${PACKAGE} 15407 ZEBRA Version: ${VERSION} 15408 Source code location: ${srcdir} 15409 C Preprocessor: ${CPP} 15410 C Preprocessor flags: ${CPPFLAGS} 15411 C Compiler: ${CC} 15412 C Compiler flags: ${CFLAGS} 15413 Linker flags: ${LDFLAGS} 15414 Linked libs: ${LIBS} 15415 Host System Type: ${host} 15416 Install path: ${prefix} 15417 Automake: ${AUTOMAKE} 15418 Archiver: ${AR} 15419 Ranlib: ${RANLIB} 15420 YAZ Version: ${YAZVERSION} 15421 YAZ Include: ${YAZINC} 15422 YAZ La Lib: ${YAZLALIB} 15423 YAZ Lib: ${YAZLIB} 15424 Bugreport: ${PACKAGE_BUGREPORT} 15425 15426------------------------------------------------------------------------" 15427