1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for pstoedit 3.70. 4# 5# Report bugs to <wglunz35_AT_pstoedit.net>. 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: wglunz35_AT_pstoedit.net 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='pstoedit' 592PACKAGE_TARNAME='pstoedit' 593PACKAGE_VERSION='3.70' 594PACKAGE_STRING='pstoedit 3.70' 595PACKAGE_BUGREPORT='wglunz35_AT_pstoedit.net' 596PACKAGE_URL='' 597 598ac_unique_file="src/pstoedit.h" 599enable_option_checking=no 600# Factoring default headers for most tests. 601ac_includes_default="\ 602#include <stdio.h> 603#ifdef HAVE_SYS_TYPES_H 604# include <sys/types.h> 605#endif 606#ifdef HAVE_SYS_STAT_H 607# include <sys/stat.h> 608#endif 609#ifdef STDC_HEADERS 610# include <stdlib.h> 611# include <stddef.h> 612#else 613# ifdef HAVE_STDLIB_H 614# include <stdlib.h> 615# endif 616#endif 617#ifdef HAVE_STRING_H 618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619# include <memory.h> 620# endif 621# include <string.h> 622#endif 623#ifdef HAVE_STRINGS_H 624# include <strings.h> 625#endif 626#ifdef HAVE_INTTYPES_H 627# include <inttypes.h> 628#endif 629#ifdef HAVE_STDINT_H 630# include <stdint.h> 631#endif 632#ifdef HAVE_UNISTD_H 633# include <unistd.h> 634#endif" 635 636ac_subst_vars='LTLIBOBJS 637LIBOBJS 638CXX_RUNTIME_LIB 639CXX_STD_LIB 640SPECIAL_CXXFLAGS 641LDLIBS 642LINK 643LIBEMF_LDFLAGS 644LIBEMF_CFLAGS 645HAVE_LIBEMF_FALSE 646HAVE_LIBEMF_TRUE 647USE_EMFBYSOURCE_FALSE 648USE_EMFBYSOURCE_TRUE 649HAVE_LIBMAGICK_FALSE 650HAVE_LIBMAGICK_TRUE 651LIBMAGICK_LDFLAGS 652MAGICK_CONFIG 653LIBMAGICK_LIBS 654LIBMAGICK_CFLAGS 655HAVE_LIBZIP_FALSE 656HAVE_LIBZIP_TRUE 657LIBZIP_CFLAGS 658LIBZIP_LDFLAGS 659HAVE_LIBMING_FALSE 660HAVE_LIBMING_TRUE 661LIBMING_CFLAGS 662LIBMING_LDFLAGS 663MKSTEMP_CFLAGS 664HAVE_LIBPLOTTER_FALSE 665HAVE_LIBPLOTTER_TRUE 666LIBPLOTTER_CFLAGS 667LIBPLOTTER_LDFLAGS 668HAVE_PLUGINSRC_FALSE 669HAVE_PLUGINSRC_TRUE 670LIBLD_LDFLAGS 671PKG_CONFIG_LIBDIR 672PKG_CONFIG_PATH 673PKG_CONFIG 674GS 675CXXCPP 676CPP 677OTOOL64 678OTOOL 679LIPO 680NMEDIT 681DSYMUTIL 682MANIFEST_TOOL 683RANLIB 684ac_ct_AR 685AR 686LN_S 687NM 688ac_ct_DUMPBIN 689DUMPBIN 690LD 691FGREP 692EGREP 693GREP 694SED 695LIBTOOL 696OBJDUMP 697DLLTOOL 698AS 699host_os 700host_vendor 701host_cpu 702host 703build_os 704build_vendor 705build_cpu 706build 707YFLAGS 708YACC 709am__fastdepCXX_FALSE 710am__fastdepCXX_TRUE 711CXXDEPMODE 712ac_ct_CXX 713CXXFLAGS 714CXX 715am__fastdepCC_FALSE 716am__fastdepCC_TRUE 717CCDEPMODE 718AMDEPBACKSLASH 719AMDEP_FALSE 720AMDEP_TRUE 721am__quote 722am__include 723DEPDIR 724OBJEXT 725EXEEXT 726ac_ct_CC 727CPPFLAGS 728LDFLAGS 729CFLAGS 730CC 731subdirs 732MAINT 733MAINTAINER_MODE_FALSE 734MAINTAINER_MODE_TRUE 735am__untar 736am__tar 737AMTAR 738am__leading_dot 739SET_MAKE 740AWK 741mkdir_p 742MKDIR_P 743INSTALL_STRIP_PROGRAM 744STRIP 745install_sh 746MAKEINFO 747AUTOHEADER 748AUTOMAKE 749AUTOCONF 750ACLOCAL 751VERSION 752PACKAGE 753CYGPATH_W 754am__isrc 755INSTALL_DATA 756INSTALL_SCRIPT 757INSTALL_PROGRAM 758target_alias 759host_alias 760build_alias 761LIBS 762ECHO_T 763ECHO_N 764ECHO_C 765DEFS 766mandir 767localedir 768libdir 769psdir 770pdfdir 771dvidir 772htmldir 773infodir 774docdir 775oldincludedir 776includedir 777localstatedir 778sharedstatedir 779sysconfdir 780datadir 781datarootdir 782libexecdir 783sbindir 784bindir 785program_transform_name 786prefix 787exec_prefix 788PACKAGE_URL 789PACKAGE_BUGREPORT 790PACKAGE_STRING 791PACKAGE_VERSION 792PACKAGE_TARNAME 793PACKAGE_NAME 794PATH_SEPARATOR 795SHELL' 796ac_subst_files='' 797ac_user_opts=' 798enable_option_checking 799enable_maintainer_mode 800enable_dependency_tracking 801enable_static 802enable_shared 803with_pic 804enable_fast_install 805with_gnu_ld 806with_sysroot 807enable_libtool_lock 808with_emf 809with_magick 810with_libplot 811with_swf 812with_pptx 813with_libzip_lib 814with_libzip_include 815with_libemf_src 816with_libemf_lib 817with_libemf_include 818enable_wrapper 819' 820 ac_precious_vars='build_alias 821host_alias 822target_alias 823CC 824CFLAGS 825LDFLAGS 826LIBS 827CPPFLAGS 828CXX 829CXXFLAGS 830CCC 831YACC 832YFLAGS 833CPP 834CXXCPP 835PKG_CONFIG 836PKG_CONFIG_PATH 837PKG_CONFIG_LIBDIR 838LIBMAGICK_CFLAGS 839LIBMAGICK_LIBS' 840ac_subdirs_all='libEMF-1.0' 841 842# Initialize some variables set by options. 843ac_init_help= 844ac_init_version=false 845ac_unrecognized_opts= 846ac_unrecognized_sep= 847# The variables have the same names as the options, with 848# dashes changed to underlines. 849cache_file=/dev/null 850exec_prefix=NONE 851no_create= 852no_recursion= 853prefix=NONE 854program_prefix=NONE 855program_suffix=NONE 856program_transform_name=s,x,x, 857silent= 858site= 859srcdir= 860verbose= 861x_includes=NONE 862x_libraries=NONE 863 864# Installation directory options. 865# These are left unexpanded so users can "make install exec_prefix=/foo" 866# and all the variables that are supposed to be based on exec_prefix 867# by default will actually change. 868# Use braces instead of parens because sh, perl, etc. also accept them. 869# (The list follows the same order as the GNU Coding Standards.) 870bindir='${exec_prefix}/bin' 871sbindir='${exec_prefix}/sbin' 872libexecdir='${exec_prefix}/libexec' 873datarootdir='${prefix}/share' 874datadir='${datarootdir}' 875sysconfdir='${prefix}/etc' 876sharedstatedir='${prefix}/com' 877localstatedir='${prefix}/var' 878includedir='${prefix}/include' 879oldincludedir='/usr/include' 880docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 881infodir='${datarootdir}/info' 882htmldir='${docdir}' 883dvidir='${docdir}' 884pdfdir='${docdir}' 885psdir='${docdir}' 886libdir='${exec_prefix}/lib' 887localedir='${datarootdir}/locale' 888mandir='${datarootdir}/man' 889 890ac_prev= 891ac_dashdash= 892for ac_option 893do 894 # If the previous option needs an argument, assign it. 895 if test -n "$ac_prev"; then 896 eval $ac_prev=\$ac_option 897 ac_prev= 898 continue 899 fi 900 901 case $ac_option in 902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 903 *=) ac_optarg= ;; 904 *) ac_optarg=yes ;; 905 esac 906 907 # Accept the important Cygnus configure options, so we can diagnose typos. 908 909 case $ac_dashdash$ac_option in 910 --) 911 ac_dashdash=yes ;; 912 913 -bindir | --bindir | --bindi | --bind | --bin | --bi) 914 ac_prev=bindir ;; 915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 916 bindir=$ac_optarg ;; 917 918 -build | --build | --buil | --bui | --bu) 919 ac_prev=build_alias ;; 920 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 921 build_alias=$ac_optarg ;; 922 923 -cache-file | --cache-file | --cache-fil | --cache-fi \ 924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 925 ac_prev=cache_file ;; 926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 928 cache_file=$ac_optarg ;; 929 930 --config-cache | -C) 931 cache_file=config.cache ;; 932 933 -datadir | --datadir | --datadi | --datad) 934 ac_prev=datadir ;; 935 -datadir=* | --datadir=* | --datadi=* | --datad=*) 936 datadir=$ac_optarg ;; 937 938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 939 | --dataroo | --dataro | --datar) 940 ac_prev=datarootdir ;; 941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 943 datarootdir=$ac_optarg ;; 944 945 -disable-* | --disable-*) 946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 947 # Reject names that are not valid shell variable names. 948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 949 as_fn_error $? "invalid feature name: $ac_useropt" 950 ac_useropt_orig=$ac_useropt 951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 952 case $ac_user_opts in 953 *" 954"enable_$ac_useropt" 955"*) ;; 956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 957 ac_unrecognized_sep=', ';; 958 esac 959 eval enable_$ac_useropt=no ;; 960 961 -docdir | --docdir | --docdi | --doc | --do) 962 ac_prev=docdir ;; 963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 964 docdir=$ac_optarg ;; 965 966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 967 ac_prev=dvidir ;; 968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 969 dvidir=$ac_optarg ;; 970 971 -enable-* | --enable-*) 972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 973 # Reject names that are not valid shell variable names. 974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 975 as_fn_error $? "invalid feature name: $ac_useropt" 976 ac_useropt_orig=$ac_useropt 977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 978 case $ac_user_opts in 979 *" 980"enable_$ac_useropt" 981"*) ;; 982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 983 ac_unrecognized_sep=', ';; 984 esac 985 eval enable_$ac_useropt=\$ac_optarg ;; 986 987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 989 | --exec | --exe | --ex) 990 ac_prev=exec_prefix ;; 991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 993 | --exec=* | --exe=* | --ex=*) 994 exec_prefix=$ac_optarg ;; 995 996 -gas | --gas | --ga | --g) 997 # Obsolete; use --with-gas. 998 with_gas=yes ;; 999 1000 -help | --help | --hel | --he | -h) 1001 ac_init_help=long ;; 1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1003 ac_init_help=recursive ;; 1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1005 ac_init_help=short ;; 1006 1007 -host | --host | --hos | --ho) 1008 ac_prev=host_alias ;; 1009 -host=* | --host=* | --hos=* | --ho=*) 1010 host_alias=$ac_optarg ;; 1011 1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1013 ac_prev=htmldir ;; 1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1015 | --ht=*) 1016 htmldir=$ac_optarg ;; 1017 1018 -includedir | --includedir | --includedi | --included | --include \ 1019 | --includ | --inclu | --incl | --inc) 1020 ac_prev=includedir ;; 1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1022 | --includ=* | --inclu=* | --incl=* | --inc=*) 1023 includedir=$ac_optarg ;; 1024 1025 -infodir | --infodir | --infodi | --infod | --info | --inf) 1026 ac_prev=infodir ;; 1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1028 infodir=$ac_optarg ;; 1029 1030 -libdir | --libdir | --libdi | --libd) 1031 ac_prev=libdir ;; 1032 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1033 libdir=$ac_optarg ;; 1034 1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1036 | --libexe | --libex | --libe) 1037 ac_prev=libexecdir ;; 1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1039 | --libexe=* | --libex=* | --libe=*) 1040 libexecdir=$ac_optarg ;; 1041 1042 -localedir | --localedir | --localedi | --localed | --locale) 1043 ac_prev=localedir ;; 1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1045 localedir=$ac_optarg ;; 1046 1047 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1048 | --localstate | --localstat | --localsta | --localst | --locals) 1049 ac_prev=localstatedir ;; 1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1052 localstatedir=$ac_optarg ;; 1053 1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1055 ac_prev=mandir ;; 1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1057 mandir=$ac_optarg ;; 1058 1059 -nfp | --nfp | --nf) 1060 # Obsolete; use --without-fp. 1061 with_fp=no ;; 1062 1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1064 | --no-cr | --no-c | -n) 1065 no_create=yes ;; 1066 1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1069 no_recursion=yes ;; 1070 1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1073 | --oldin | --oldi | --old | --ol | --o) 1074 ac_prev=oldincludedir ;; 1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1078 oldincludedir=$ac_optarg ;; 1079 1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1081 ac_prev=prefix ;; 1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1083 prefix=$ac_optarg ;; 1084 1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1086 | --program-pre | --program-pr | --program-p) 1087 ac_prev=program_prefix ;; 1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1090 program_prefix=$ac_optarg ;; 1091 1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1093 | --program-suf | --program-su | --program-s) 1094 ac_prev=program_suffix ;; 1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1097 program_suffix=$ac_optarg ;; 1098 1099 -program-transform-name | --program-transform-name \ 1100 | --program-transform-nam | --program-transform-na \ 1101 | --program-transform-n | --program-transform- \ 1102 | --program-transform | --program-transfor \ 1103 | --program-transfo | --program-transf \ 1104 | --program-trans | --program-tran \ 1105 | --progr-tra | --program-tr | --program-t) 1106 ac_prev=program_transform_name ;; 1107 -program-transform-name=* | --program-transform-name=* \ 1108 | --program-transform-nam=* | --program-transform-na=* \ 1109 | --program-transform-n=* | --program-transform-=* \ 1110 | --program-transform=* | --program-transfor=* \ 1111 | --program-transfo=* | --program-transf=* \ 1112 | --program-trans=* | --program-tran=* \ 1113 | --progr-tra=* | --program-tr=* | --program-t=*) 1114 program_transform_name=$ac_optarg ;; 1115 1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1117 ac_prev=pdfdir ;; 1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1119 pdfdir=$ac_optarg ;; 1120 1121 -psdir | --psdir | --psdi | --psd | --ps) 1122 ac_prev=psdir ;; 1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1124 psdir=$ac_optarg ;; 1125 1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1127 | -silent | --silent | --silen | --sile | --sil) 1128 silent=yes ;; 1129 1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1131 ac_prev=sbindir ;; 1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1133 | --sbi=* | --sb=*) 1134 sbindir=$ac_optarg ;; 1135 1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1138 | --sharedst | --shareds | --shared | --share | --shar \ 1139 | --sha | --sh) 1140 ac_prev=sharedstatedir ;; 1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1144 | --sha=* | --sh=*) 1145 sharedstatedir=$ac_optarg ;; 1146 1147 -site | --site | --sit) 1148 ac_prev=site ;; 1149 -site=* | --site=* | --sit=*) 1150 site=$ac_optarg ;; 1151 1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1153 ac_prev=srcdir ;; 1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1155 srcdir=$ac_optarg ;; 1156 1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1158 | --syscon | --sysco | --sysc | --sys | --sy) 1159 ac_prev=sysconfdir ;; 1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1162 sysconfdir=$ac_optarg ;; 1163 1164 -target | --target | --targe | --targ | --tar | --ta | --t) 1165 ac_prev=target_alias ;; 1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1167 target_alias=$ac_optarg ;; 1168 1169 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1170 verbose=yes ;; 1171 1172 -version | --version | --versio | --versi | --vers | -V) 1173 ac_init_version=: ;; 1174 1175 -with-* | --with-*) 1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1177 # Reject names that are not valid shell variable names. 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1179 as_fn_error $? "invalid package name: $ac_useropt" 1180 ac_useropt_orig=$ac_useropt 1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 case $ac_user_opts in 1183 *" 1184"with_$ac_useropt" 1185"*) ;; 1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1187 ac_unrecognized_sep=', ';; 1188 esac 1189 eval with_$ac_useropt=\$ac_optarg ;; 1190 1191 -without-* | --without-*) 1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1193 # Reject names that are not valid shell variable names. 1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1195 as_fn_error $? "invalid package name: $ac_useropt" 1196 ac_useropt_orig=$ac_useropt 1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1198 case $ac_user_opts in 1199 *" 1200"with_$ac_useropt" 1201"*) ;; 1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1203 ac_unrecognized_sep=', ';; 1204 esac 1205 eval with_$ac_useropt=no ;; 1206 1207 --x) 1208 # Obsolete; use --with-x. 1209 with_x=yes ;; 1210 1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1212 | --x-incl | --x-inc | --x-in | --x-i) 1213 ac_prev=x_includes ;; 1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1216 x_includes=$ac_optarg ;; 1217 1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1220 ac_prev=x_libraries ;; 1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1223 x_libraries=$ac_optarg ;; 1224 1225 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1226Try \`$0 --help' for more information" 1227 ;; 1228 1229 *=*) 1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1231 # Reject names that are not valid shell variable names. 1232 case $ac_envvar in #( 1233 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1235 esac 1236 eval $ac_envvar=\$ac_optarg 1237 export $ac_envvar ;; 1238 1239 *) 1240 # FIXME: should be removed in autoconf 3.0. 1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1245 ;; 1246 1247 esac 1248done 1249 1250if test -n "$ac_prev"; then 1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1252 as_fn_error $? "missing argument to $ac_option" 1253fi 1254 1255if test -n "$ac_unrecognized_opts"; then 1256 case $enable_option_checking in 1257 no) ;; 1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1260 esac 1261fi 1262 1263# Check all directory arguments for consistency. 1264for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1265 datadir sysconfdir sharedstatedir localstatedir includedir \ 1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1267 libdir localedir mandir 1268do 1269 eval ac_val=\$$ac_var 1270 # Remove trailing slashes. 1271 case $ac_val in 1272 */ ) 1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1274 eval $ac_var=\$ac_val;; 1275 esac 1276 # Be sure to have absolute directory names. 1277 case $ac_val in 1278 [\\/$]* | ?:[\\/]* ) continue;; 1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1280 esac 1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1282done 1283 1284# There might be people who depend on the old broken behavior: `$host' 1285# used to hold the argument of --host etc. 1286# FIXME: To remove some day. 1287build=$build_alias 1288host=$host_alias 1289target=$target_alias 1290 1291# FIXME: To remove some day. 1292if test "x$host_alias" != x; then 1293 if test "x$build_alias" = x; then 1294 cross_compiling=maybe 1295 elif test "x$build_alias" != "x$host_alias"; then 1296 cross_compiling=yes 1297 fi 1298fi 1299 1300ac_tool_prefix= 1301test -n "$host_alias" && ac_tool_prefix=$host_alias- 1302 1303test "$silent" = yes && exec 6>/dev/null 1304 1305 1306ac_pwd=`pwd` && test -n "$ac_pwd" && 1307ac_ls_di=`ls -di .` && 1308ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1309 as_fn_error $? "working directory cannot be determined" 1310test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1311 as_fn_error $? "pwd does not report name of working directory" 1312 1313 1314# Find the source files, if location was not specified. 1315if test -z "$srcdir"; then 1316 ac_srcdir_defaulted=yes 1317 # Try the directory containing this script, then the parent directory. 1318 ac_confdir=`$as_dirname -- "$as_myself" || 1319$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1320 X"$as_myself" : 'X\(//\)[^/]' \| \ 1321 X"$as_myself" : 'X\(//\)$' \| \ 1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1323$as_echo X"$as_myself" | 1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1325 s//\1/ 1326 q 1327 } 1328 /^X\(\/\/\)[^/].*/{ 1329 s//\1/ 1330 q 1331 } 1332 /^X\(\/\/\)$/{ 1333 s//\1/ 1334 q 1335 } 1336 /^X\(\/\).*/{ 1337 s//\1/ 1338 q 1339 } 1340 s/.*/./; q'` 1341 srcdir=$ac_confdir 1342 if test ! -r "$srcdir/$ac_unique_file"; then 1343 srcdir=.. 1344 fi 1345else 1346 ac_srcdir_defaulted=no 1347fi 1348if test ! -r "$srcdir/$ac_unique_file"; then 1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1351fi 1352ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1353ac_abs_confdir=`( 1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1355 pwd)` 1356# When building in place, set srcdir=. 1357if test "$ac_abs_confdir" = "$ac_pwd"; then 1358 srcdir=. 1359fi 1360# Remove unnecessary trailing slashes from srcdir. 1361# Double slashes in file names in object file debugging info 1362# mess up M-x gdb in Emacs. 1363case $srcdir in 1364*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1365esac 1366for ac_var in $ac_precious_vars; do 1367 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1368 eval ac_env_${ac_var}_value=\$${ac_var} 1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1370 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1371done 1372 1373# 1374# Report the --help message. 1375# 1376if test "$ac_init_help" = "long"; then 1377 # Omit some internal or obsolete options to make the list less imposing. 1378 # This message is too long to be a string in the A/UX 3.1 sh. 1379 cat <<_ACEOF 1380\`configure' configures pstoedit 3.70 to adapt to many kinds of systems. 1381 1382Usage: $0 [OPTION]... [VAR=VALUE]... 1383 1384To assign environment variables (e.g., CC, CFLAGS...), specify them as 1385VAR=VALUE. See below for descriptions of some of the useful variables. 1386 1387Defaults for the options are specified in brackets. 1388 1389Configuration: 1390 -h, --help display this help and exit 1391 --help=short display options specific to this package 1392 --help=recursive display the short help of all the included packages 1393 -V, --version display version information and exit 1394 -q, --quiet, --silent do not print \`checking ...' messages 1395 --cache-file=FILE cache test results in FILE [disabled] 1396 -C, --config-cache alias for \`--cache-file=config.cache' 1397 -n, --no-create do not create output files 1398 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1399 1400Installation directories: 1401 --prefix=PREFIX install architecture-independent files in PREFIX 1402 [$ac_default_prefix] 1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1404 [PREFIX] 1405 1406By default, \`make install' will install all the files in 1407\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1408an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1409for instance \`--prefix=\$HOME'. 1410 1411For better control, use the options below. 1412 1413Fine tuning of the installation directories: 1414 --bindir=DIR user executables [EPREFIX/bin] 1415 --sbindir=DIR system admin executables [EPREFIX/sbin] 1416 --libexecdir=DIR program executables [EPREFIX/libexec] 1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1420 --libdir=DIR object code libraries [EPREFIX/lib] 1421 --includedir=DIR C header files [PREFIX/include] 1422 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1425 --infodir=DIR info documentation [DATAROOTDIR/info] 1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1427 --mandir=DIR man documentation [DATAROOTDIR/man] 1428 --docdir=DIR documentation root [DATAROOTDIR/doc/pstoedit] 1429 --htmldir=DIR html documentation [DOCDIR] 1430 --dvidir=DIR dvi documentation [DOCDIR] 1431 --pdfdir=DIR pdf documentation [DOCDIR] 1432 --psdir=DIR ps documentation [DOCDIR] 1433_ACEOF 1434 1435 cat <<\_ACEOF 1436 1437Program names: 1438 --program-prefix=PREFIX prepend PREFIX to installed program names 1439 --program-suffix=SUFFIX append SUFFIX to installed program names 1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1441 1442System types: 1443 --build=BUILD configure for building on BUILD [guessed] 1444 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1445_ACEOF 1446fi 1447 1448if test -n "$ac_init_help"; then 1449 case $ac_init_help in 1450 short | recursive ) echo "Configuration of pstoedit 3.70:";; 1451 esac 1452 cat <<\_ACEOF 1453 1454Optional Features: 1455 --disable-option-checking ignore unrecognized --enable/--with options 1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1458 --enable-maintainer-mode enable make rules and dependencies not useful 1459 (and sometimes confusing) to the casual installer 1460 --disable-dependency-tracking speeds up one-time build 1461 --enable-dependency-tracking do not reject slow dependency extractors 1462 --enable-static[=PKGS] build static libraries [default=no] 1463 --enable-shared[=PKGS] build shared libraries [default=yes] 1464 --enable-fast-install[=PKGS] 1465 optimize for fast installation [default=yes] 1466 --disable-libtool-lock avoid locking (might break parallel builds) 1467 --enable-wrapper=PROGRAM 1468 Wrap (i.e. prefix) compiler invocations with PROGRAM 1469 (e.g. \"insure\" or \"purify\") 1470 1471Optional Packages: 1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1474 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1475 both] 1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1477 --with-sysroot=DIR Search for dependent libraries within DIR 1478 (or the compiler's sysroot if not specified). 1479 --with-emf enable/disable emf interface (default: enabled - use --without-emf to disable) 1480 --with-magick enable/disable magick++ interface (default: enabled - use --without-magick to disable) 1481 --with-libplot enable/disable libplot interface (default: enabled - use --without-libplot to disable) 1482 --with-swf enable/disable swf interface (default: enabled - use --without-swf to disable) 1483 --with-pptx enable/disable pptx interface (default: enabled - use --without-pptX to disable) 1484 --with-libzip-lib=DIR look for libzip library in dir (e.g. /usr/local/lib) 1485 --with-libzip-include=DIR look for libzip header in dir (e.g. /usr/local/include/libzip) 1486 --with-libemf-src=DIR look for libEMF src in dir (e.g. /usr/local/lib) 1487 --with-libemf-lib=DIR look for libEMF library in dir (e.g. /usr/local/lib) 1488 --with-libemf-include=DIR look for libEMF header in dir (e.g. /usr/local/include/libEMF) 1489 1490Some influential environment variables: 1491 CC C compiler command 1492 CFLAGS C compiler flags 1493 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1494 nonstandard directory <lib dir> 1495 LIBS libraries to pass to the linker, e.g. -l<library> 1496 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1497 you have headers in a nonstandard directory <include dir> 1498 CXX C++ compiler command 1499 CXXFLAGS C++ compiler flags 1500 YACC The `Yet Another Compiler Compiler' implementation to use. 1501 Defaults to the first program found out of: `bison -y', `byacc', 1502 `yacc'. 1503 YFLAGS The list of arguments that will be passed by default to $YACC. 1504 This script will default YFLAGS to the empty string to avoid a 1505 default value of `-d' given by some make applications. 1506 CPP C preprocessor 1507 CXXCPP C++ preprocessor 1508 PKG_CONFIG path to pkg-config utility 1509 PKG_CONFIG_PATH 1510 directories to add to pkg-config's search path 1511 PKG_CONFIG_LIBDIR 1512 path overriding pkg-config's built-in search path 1513 LIBMAGICK_CFLAGS 1514 C compiler flags for LIBMAGICK, overriding pkg-config 1515 LIBMAGICK_LIBS 1516 linker flags for LIBMAGICK, overriding pkg-config 1517 1518Use these variables to override the choices made by `configure' or to help 1519it to find libraries and programs with nonstandard names/locations. 1520 1521Report bugs to <wglunz35_AT_pstoedit.net>. 1522_ACEOF 1523ac_status=$? 1524fi 1525 1526if test "$ac_init_help" = "recursive"; then 1527 # If there are subdirs, report their specific --help. 1528 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1529 test -d "$ac_dir" || 1530 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1531 continue 1532 ac_builddir=. 1533 1534case "$ac_dir" in 1535.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1536*) 1537 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1538 # A ".." for each directory in $ac_dir_suffix. 1539 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1540 case $ac_top_builddir_sub in 1541 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1542 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1543 esac ;; 1544esac 1545ac_abs_top_builddir=$ac_pwd 1546ac_abs_builddir=$ac_pwd$ac_dir_suffix 1547# for backward compatibility: 1548ac_top_builddir=$ac_top_build_prefix 1549 1550case $srcdir in 1551 .) # We are building in place. 1552 ac_srcdir=. 1553 ac_top_srcdir=$ac_top_builddir_sub 1554 ac_abs_top_srcdir=$ac_pwd ;; 1555 [\\/]* | ?:[\\/]* ) # Absolute name. 1556 ac_srcdir=$srcdir$ac_dir_suffix; 1557 ac_top_srcdir=$srcdir 1558 ac_abs_top_srcdir=$srcdir ;; 1559 *) # Relative name. 1560 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1561 ac_top_srcdir=$ac_top_build_prefix$srcdir 1562 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1563esac 1564ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1565 1566 cd "$ac_dir" || { ac_status=$?; continue; } 1567 # Check for guested configure. 1568 if test -f "$ac_srcdir/configure.gnu"; then 1569 echo && 1570 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1571 elif test -f "$ac_srcdir/configure"; then 1572 echo && 1573 $SHELL "$ac_srcdir/configure" --help=recursive 1574 else 1575 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1576 fi || ac_status=$? 1577 cd "$ac_pwd" || { ac_status=$?; break; } 1578 done 1579fi 1580 1581test -n "$ac_init_help" && exit $ac_status 1582if $ac_init_version; then 1583 cat <<\_ACEOF 1584pstoedit configure 3.70 1585generated by GNU Autoconf 2.69 1586 1587Copyright (C) 2012 Free Software Foundation, Inc. 1588This configure script is free software; the Free Software Foundation 1589gives unlimited permission to copy, distribute and modify it. 1590_ACEOF 1591 exit 1592fi 1593 1594## ------------------------ ## 1595## Autoconf initialization. ## 1596## ------------------------ ## 1597 1598# ac_fn_c_try_compile LINENO 1599# -------------------------- 1600# Try to compile conftest.$ac_ext, and return whether this succeeded. 1601ac_fn_c_try_compile () 1602{ 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 rm -f conftest.$ac_objext 1605 if { { ac_try="$ac_compile" 1606case "(($ac_try" in 1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1608 *) ac_try_echo=$ac_try;; 1609esac 1610eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1611$as_echo "$ac_try_echo"; } >&5 1612 (eval "$ac_compile") 2>conftest.err 1613 ac_status=$? 1614 if test -s conftest.err; then 1615 grep -v '^ *+' conftest.err >conftest.er1 1616 cat conftest.er1 >&5 1617 mv -f conftest.er1 conftest.err 1618 fi 1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1620 test $ac_status = 0; } && { 1621 test -z "$ac_c_werror_flag" || 1622 test ! -s conftest.err 1623 } && test -s conftest.$ac_objext; then : 1624 ac_retval=0 1625else 1626 $as_echo "$as_me: failed program was:" >&5 1627sed 's/^/| /' conftest.$ac_ext >&5 1628 1629 ac_retval=1 1630fi 1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1632 as_fn_set_status $ac_retval 1633 1634} # ac_fn_c_try_compile 1635 1636# ac_fn_cxx_try_compile LINENO 1637# ---------------------------- 1638# Try to compile conftest.$ac_ext, and return whether this succeeded. 1639ac_fn_cxx_try_compile () 1640{ 1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1642 rm -f conftest.$ac_objext 1643 if { { ac_try="$ac_compile" 1644case "(($ac_try" in 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1646 *) ac_try_echo=$ac_try;; 1647esac 1648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1649$as_echo "$ac_try_echo"; } >&5 1650 (eval "$ac_compile") 2>conftest.err 1651 ac_status=$? 1652 if test -s conftest.err; then 1653 grep -v '^ *+' conftest.err >conftest.er1 1654 cat conftest.er1 >&5 1655 mv -f conftest.er1 conftest.err 1656 fi 1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1658 test $ac_status = 0; } && { 1659 test -z "$ac_cxx_werror_flag" || 1660 test ! -s conftest.err 1661 } && test -s conftest.$ac_objext; then : 1662 ac_retval=0 1663else 1664 $as_echo "$as_me: failed program was:" >&5 1665sed 's/^/| /' conftest.$ac_ext >&5 1666 1667 ac_retval=1 1668fi 1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1670 as_fn_set_status $ac_retval 1671 1672} # ac_fn_cxx_try_compile 1673 1674# ac_fn_c_try_link LINENO 1675# ----------------------- 1676# Try to link conftest.$ac_ext, and return whether this succeeded. 1677ac_fn_c_try_link () 1678{ 1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1680 rm -f conftest.$ac_objext conftest$ac_exeext 1681 if { { ac_try="$ac_link" 1682case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685esac 1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687$as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_link") 2>conftest.err 1689 ac_status=$? 1690 if test -s conftest.err; then 1691 grep -v '^ *+' conftest.err >conftest.er1 1692 cat conftest.er1 >&5 1693 mv -f conftest.er1 conftest.err 1694 fi 1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1696 test $ac_status = 0; } && { 1697 test -z "$ac_c_werror_flag" || 1698 test ! -s conftest.err 1699 } && test -s conftest$ac_exeext && { 1700 test "$cross_compiling" = yes || 1701 test -x conftest$ac_exeext 1702 }; then : 1703 ac_retval=0 1704else 1705 $as_echo "$as_me: failed program was:" >&5 1706sed 's/^/| /' conftest.$ac_ext >&5 1707 1708 ac_retval=1 1709fi 1710 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1711 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1712 # interfere with the next link command; also delete a directory that is 1713 # left behind by Apple's compiler. We do this before executing the actions. 1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1716 as_fn_set_status $ac_retval 1717 1718} # ac_fn_c_try_link 1719 1720# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1721# ------------------------------------------------------- 1722# Tests whether HEADER exists and can be compiled using the include files in 1723# INCLUDES, setting the cache variable VAR accordingly. 1724ac_fn_c_check_header_compile () 1725{ 1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1728$as_echo_n "checking for $2... " >&6; } 1729if eval \${$3+:} false; then : 1730 $as_echo_n "(cached) " >&6 1731else 1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733/* end confdefs.h. */ 1734$4 1735#include <$2> 1736_ACEOF 1737if ac_fn_c_try_compile "$LINENO"; then : 1738 eval "$3=yes" 1739else 1740 eval "$3=no" 1741fi 1742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1743fi 1744eval ac_res=\$$3 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1746$as_echo "$ac_res" >&6; } 1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1748 1749} # ac_fn_c_check_header_compile 1750 1751# ac_fn_c_try_cpp LINENO 1752# ---------------------- 1753# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1754ac_fn_c_try_cpp () 1755{ 1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 if { { ac_try="$ac_cpp conftest.$ac_ext" 1758case "(($ac_try" in 1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1760 *) ac_try_echo=$ac_try;; 1761esac 1762eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1763$as_echo "$ac_try_echo"; } >&5 1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1765 ac_status=$? 1766 if test -s conftest.err; then 1767 grep -v '^ *+' conftest.err >conftest.er1 1768 cat conftest.er1 >&5 1769 mv -f conftest.er1 conftest.err 1770 fi 1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1772 test $ac_status = 0; } > conftest.i && { 1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1774 test ! -s conftest.err 1775 }; then : 1776 ac_retval=0 1777else 1778 $as_echo "$as_me: failed program was:" >&5 1779sed 's/^/| /' conftest.$ac_ext >&5 1780 1781 ac_retval=1 1782fi 1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1784 as_fn_set_status $ac_retval 1785 1786} # ac_fn_c_try_cpp 1787 1788# ac_fn_c_try_run LINENO 1789# ---------------------- 1790# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1791# that executables *can* be run. 1792ac_fn_c_try_run () 1793{ 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1795 if { { ac_try="$ac_link" 1796case "(($ac_try" in 1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1798 *) ac_try_echo=$ac_try;; 1799esac 1800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1801$as_echo "$ac_try_echo"; } >&5 1802 (eval "$ac_link") 2>&5 1803 ac_status=$? 1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1805 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1806 { { case "(($ac_try" in 1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1808 *) ac_try_echo=$ac_try;; 1809esac 1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1811$as_echo "$ac_try_echo"; } >&5 1812 (eval "$ac_try") 2>&5 1813 ac_status=$? 1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1815 test $ac_status = 0; }; }; then : 1816 ac_retval=0 1817else 1818 $as_echo "$as_me: program exited with status $ac_status" >&5 1819 $as_echo "$as_me: failed program was:" >&5 1820sed 's/^/| /' conftest.$ac_ext >&5 1821 1822 ac_retval=$ac_status 1823fi 1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1826 as_fn_set_status $ac_retval 1827 1828} # ac_fn_c_try_run 1829 1830# ac_fn_c_check_func LINENO FUNC VAR 1831# ---------------------------------- 1832# Tests whether FUNC exists, setting the cache variable VAR accordingly 1833ac_fn_c_check_func () 1834{ 1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1837$as_echo_n "checking for $2... " >&6; } 1838if eval \${$3+:} false; then : 1839 $as_echo_n "(cached) " >&6 1840else 1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1842/* end confdefs.h. */ 1843/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1844 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1845#define $2 innocuous_$2 1846 1847/* System header to define __stub macros and hopefully few prototypes, 1848 which can conflict with char $2 (); below. 1849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1850 <limits.h> exists even on freestanding compilers. */ 1851 1852#ifdef __STDC__ 1853# include <limits.h> 1854#else 1855# include <assert.h> 1856#endif 1857 1858#undef $2 1859 1860/* Override any GCC internal prototype to avoid an error. 1861 Use char because int might match the return type of a GCC 1862 builtin and then its argument prototype would still apply. */ 1863#ifdef __cplusplus 1864extern "C" 1865#endif 1866char $2 (); 1867/* The GNU C library defines this for functions which it implements 1868 to always fail with ENOSYS. Some functions are actually named 1869 something starting with __ and the normal name is an alias. */ 1870#if defined __stub_$2 || defined __stub___$2 1871choke me 1872#endif 1873 1874int 1875main () 1876{ 1877return $2 (); 1878 ; 1879 return 0; 1880} 1881_ACEOF 1882if ac_fn_c_try_link "$LINENO"; then : 1883 eval "$3=yes" 1884else 1885 eval "$3=no" 1886fi 1887rm -f core conftest.err conftest.$ac_objext \ 1888 conftest$ac_exeext conftest.$ac_ext 1889fi 1890eval ac_res=\$$3 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1892$as_echo "$ac_res" >&6; } 1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1894 1895} # ac_fn_c_check_func 1896 1897# ac_fn_cxx_try_cpp LINENO 1898# ------------------------ 1899# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1900ac_fn_cxx_try_cpp () 1901{ 1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1903 if { { ac_try="$ac_cpp conftest.$ac_ext" 1904case "(($ac_try" in 1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1906 *) ac_try_echo=$ac_try;; 1907esac 1908eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1909$as_echo "$ac_try_echo"; } >&5 1910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1911 ac_status=$? 1912 if test -s conftest.err; then 1913 grep -v '^ *+' conftest.err >conftest.er1 1914 cat conftest.er1 >&5 1915 mv -f conftest.er1 conftest.err 1916 fi 1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1918 test $ac_status = 0; } > conftest.i && { 1919 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1920 test ! -s conftest.err 1921 }; then : 1922 ac_retval=0 1923else 1924 $as_echo "$as_me: failed program was:" >&5 1925sed 's/^/| /' conftest.$ac_ext >&5 1926 1927 ac_retval=1 1928fi 1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1930 as_fn_set_status $ac_retval 1931 1932} # ac_fn_cxx_try_cpp 1933 1934# ac_fn_cxx_try_link LINENO 1935# ------------------------- 1936# Try to link conftest.$ac_ext, and return whether this succeeded. 1937ac_fn_cxx_try_link () 1938{ 1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1940 rm -f conftest.$ac_objext conftest$ac_exeext 1941 if { { ac_try="$ac_link" 1942case "(($ac_try" in 1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1944 *) ac_try_echo=$ac_try;; 1945esac 1946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1947$as_echo "$ac_try_echo"; } >&5 1948 (eval "$ac_link") 2>conftest.err 1949 ac_status=$? 1950 if test -s conftest.err; then 1951 grep -v '^ *+' conftest.err >conftest.er1 1952 cat conftest.er1 >&5 1953 mv -f conftest.er1 conftest.err 1954 fi 1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1956 test $ac_status = 0; } && { 1957 test -z "$ac_cxx_werror_flag" || 1958 test ! -s conftest.err 1959 } && test -s conftest$ac_exeext && { 1960 test "$cross_compiling" = yes || 1961 test -x conftest$ac_exeext 1962 }; then : 1963 ac_retval=0 1964else 1965 $as_echo "$as_me: failed program was:" >&5 1966sed 's/^/| /' conftest.$ac_ext >&5 1967 1968 ac_retval=1 1969fi 1970 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1971 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1972 # interfere with the next link command; also delete a directory that is 1973 # left behind by Apple's compiler. We do this before executing the actions. 1974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1976 as_fn_set_status $ac_retval 1977 1978} # ac_fn_cxx_try_link 1979 1980# ac_fn_cxx_try_run LINENO 1981# ------------------------ 1982# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1983# that executables *can* be run. 1984ac_fn_cxx_try_run () 1985{ 1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1987 if { { ac_try="$ac_link" 1988case "(($ac_try" in 1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1990 *) ac_try_echo=$ac_try;; 1991esac 1992eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1993$as_echo "$ac_try_echo"; } >&5 1994 (eval "$ac_link") 2>&5 1995 ac_status=$? 1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1997 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1998 { { case "(($ac_try" in 1999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2000 *) ac_try_echo=$ac_try;; 2001esac 2002eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2003$as_echo "$ac_try_echo"; } >&5 2004 (eval "$ac_try") 2>&5 2005 ac_status=$? 2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2007 test $ac_status = 0; }; }; then : 2008 ac_retval=0 2009else 2010 $as_echo "$as_me: program exited with status $ac_status" >&5 2011 $as_echo "$as_me: failed program was:" >&5 2012sed 's/^/| /' conftest.$ac_ext >&5 2013 2014 ac_retval=$ac_status 2015fi 2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2018 as_fn_set_status $ac_retval 2019 2020} # ac_fn_cxx_try_run 2021 2022# ac_fn_cxx_check_func LINENO FUNC VAR 2023# ------------------------------------ 2024# Tests whether FUNC exists, setting the cache variable VAR accordingly 2025ac_fn_cxx_check_func () 2026{ 2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2029$as_echo_n "checking for $2... " >&6; } 2030if eval \${$3+:} false; then : 2031 $as_echo_n "(cached) " >&6 2032else 2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2034/* end confdefs.h. */ 2035/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2036 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2037#define $2 innocuous_$2 2038 2039/* System header to define __stub macros and hopefully few prototypes, 2040 which can conflict with char $2 (); below. 2041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2042 <limits.h> exists even on freestanding compilers. */ 2043 2044#ifdef __STDC__ 2045# include <limits.h> 2046#else 2047# include <assert.h> 2048#endif 2049 2050#undef $2 2051 2052/* Override any GCC internal prototype to avoid an error. 2053 Use char because int might match the return type of a GCC 2054 builtin and then its argument prototype would still apply. */ 2055#ifdef __cplusplus 2056extern "C" 2057#endif 2058char $2 (); 2059/* The GNU C library defines this for functions which it implements 2060 to always fail with ENOSYS. Some functions are actually named 2061 something starting with __ and the normal name is an alias. */ 2062#if defined __stub_$2 || defined __stub___$2 2063choke me 2064#endif 2065 2066int 2067main () 2068{ 2069return $2 (); 2070 ; 2071 return 0; 2072} 2073_ACEOF 2074if ac_fn_cxx_try_link "$LINENO"; then : 2075 eval "$3=yes" 2076else 2077 eval "$3=no" 2078fi 2079rm -f core conftest.err conftest.$ac_objext \ 2080 conftest$ac_exeext conftest.$ac_ext 2081fi 2082eval ac_res=\$$3 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2084$as_echo "$ac_res" >&6; } 2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2086 2087} # ac_fn_cxx_check_func 2088 2089# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2090# --------------------------------------------------------- 2091# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2092# the include files in INCLUDES and setting the cache variable VAR 2093# accordingly. 2094ac_fn_cxx_check_header_mongrel () 2095{ 2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2097 if eval \${$3+:} false; then : 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2099$as_echo_n "checking for $2... " >&6; } 2100if eval \${$3+:} false; then : 2101 $as_echo_n "(cached) " >&6 2102fi 2103eval ac_res=\$$3 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2105$as_echo "$ac_res" >&6; } 2106else 2107 # Is the header compilable? 2108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2109$as_echo_n "checking $2 usability... " >&6; } 2110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2111/* end confdefs.h. */ 2112$4 2113#include <$2> 2114_ACEOF 2115if ac_fn_cxx_try_compile "$LINENO"; then : 2116 ac_header_compiler=yes 2117else 2118 ac_header_compiler=no 2119fi 2120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2122$as_echo "$ac_header_compiler" >&6; } 2123 2124# Is the header present? 2125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2126$as_echo_n "checking $2 presence... " >&6; } 2127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2128/* end confdefs.h. */ 2129#include <$2> 2130_ACEOF 2131if ac_fn_cxx_try_cpp "$LINENO"; then : 2132 ac_header_preproc=yes 2133else 2134 ac_header_preproc=no 2135fi 2136rm -f conftest.err conftest.i conftest.$ac_ext 2137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2138$as_echo "$ac_header_preproc" >&6; } 2139 2140# So? What about this header? 2141case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2142 yes:no: ) 2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2144$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2146$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2147 ;; 2148 no:yes:* ) 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2150$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2152$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2154$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2156$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2158$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2159( $as_echo "## --------------------------------------- ## 2160## Report this to wglunz35_AT_pstoedit.net ## 2161## --------------------------------------- ##" 2162 ) | sed "s/^/$as_me: WARNING: /" >&2 2163 ;; 2164esac 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2166$as_echo_n "checking for $2... " >&6; } 2167if eval \${$3+:} false; then : 2168 $as_echo_n "(cached) " >&6 2169else 2170 eval "$3=\$ac_header_compiler" 2171fi 2172eval ac_res=\$$3 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2174$as_echo "$ac_res" >&6; } 2175fi 2176 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2177 2178} # ac_fn_cxx_check_header_mongrel 2179cat >config.log <<_ACEOF 2180This file contains any messages produced by compilers while 2181running configure, to aid debugging if configure makes a mistake. 2182 2183It was created by pstoedit $as_me 3.70, which was 2184generated by GNU Autoconf 2.69. Invocation command line was 2185 2186 $ $0 $@ 2187 2188_ACEOF 2189exec 5>>config.log 2190{ 2191cat <<_ASUNAME 2192## --------- ## 2193## Platform. ## 2194## --------- ## 2195 2196hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2197uname -m = `(uname -m) 2>/dev/null || echo unknown` 2198uname -r = `(uname -r) 2>/dev/null || echo unknown` 2199uname -s = `(uname -s) 2>/dev/null || echo unknown` 2200uname -v = `(uname -v) 2>/dev/null || echo unknown` 2201 2202/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2203/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2204 2205/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2206/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2207/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2208/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2209/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2210/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2211/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2212 2213_ASUNAME 2214 2215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2216for as_dir in $PATH 2217do 2218 IFS=$as_save_IFS 2219 test -z "$as_dir" && as_dir=. 2220 $as_echo "PATH: $as_dir" 2221 done 2222IFS=$as_save_IFS 2223 2224} >&5 2225 2226cat >&5 <<_ACEOF 2227 2228 2229## ----------- ## 2230## Core tests. ## 2231## ----------- ## 2232 2233_ACEOF 2234 2235 2236# Keep a trace of the command line. 2237# Strip out --no-create and --no-recursion so they do not pile up. 2238# Strip out --silent because we don't want to record it for future runs. 2239# Also quote any args containing shell meta-characters. 2240# Make two passes to allow for proper duplicate-argument suppression. 2241ac_configure_args= 2242ac_configure_args0= 2243ac_configure_args1= 2244ac_must_keep_next=false 2245for ac_pass in 1 2 2246do 2247 for ac_arg 2248 do 2249 case $ac_arg in 2250 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2252 | -silent | --silent | --silen | --sile | --sil) 2253 continue ;; 2254 *\'*) 2255 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2256 esac 2257 case $ac_pass in 2258 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2259 2) 2260 as_fn_append ac_configure_args1 " '$ac_arg'" 2261 if test $ac_must_keep_next = true; then 2262 ac_must_keep_next=false # Got value, back to normal. 2263 else 2264 case $ac_arg in 2265 *=* | --config-cache | -C | -disable-* | --disable-* \ 2266 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2267 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2268 | -with-* | --with-* | -without-* | --without-* | --x) 2269 case "$ac_configure_args0 " in 2270 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2271 esac 2272 ;; 2273 -* ) ac_must_keep_next=true ;; 2274 esac 2275 fi 2276 as_fn_append ac_configure_args " '$ac_arg'" 2277 ;; 2278 esac 2279 done 2280done 2281{ ac_configure_args0=; unset ac_configure_args0;} 2282{ ac_configure_args1=; unset ac_configure_args1;} 2283 2284# When interrupted or exit'd, cleanup temporary files, and complete 2285# config.log. We remove comments because anyway the quotes in there 2286# would cause problems or look ugly. 2287# WARNING: Use '\'' to represent an apostrophe within the trap. 2288# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2289trap 'exit_status=$? 2290 # Save into config.log some information that might help in debugging. 2291 { 2292 echo 2293 2294 $as_echo "## ---------------- ## 2295## Cache variables. ## 2296## ---------------- ##" 2297 echo 2298 # The following way of writing the cache mishandles newlines in values, 2299( 2300 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2301 eval ac_val=\$$ac_var 2302 case $ac_val in #( 2303 *${as_nl}*) 2304 case $ac_var in #( 2305 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2306$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2307 esac 2308 case $ac_var in #( 2309 _ | IFS | as_nl) ;; #( 2310 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2311 *) { eval $ac_var=; unset $ac_var;} ;; 2312 esac ;; 2313 esac 2314 done 2315 (set) 2>&1 | 2316 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2317 *${as_nl}ac_space=\ *) 2318 sed -n \ 2319 "s/'\''/'\''\\\\'\'''\''/g; 2320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2321 ;; #( 2322 *) 2323 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2324 ;; 2325 esac | 2326 sort 2327) 2328 echo 2329 2330 $as_echo "## ----------------- ## 2331## Output variables. ## 2332## ----------------- ##" 2333 echo 2334 for ac_var in $ac_subst_vars 2335 do 2336 eval ac_val=\$$ac_var 2337 case $ac_val in 2338 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2339 esac 2340 $as_echo "$ac_var='\''$ac_val'\''" 2341 done | sort 2342 echo 2343 2344 if test -n "$ac_subst_files"; then 2345 $as_echo "## ------------------- ## 2346## File substitutions. ## 2347## ------------------- ##" 2348 echo 2349 for ac_var in $ac_subst_files 2350 do 2351 eval ac_val=\$$ac_var 2352 case $ac_val in 2353 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2354 esac 2355 $as_echo "$ac_var='\''$ac_val'\''" 2356 done | sort 2357 echo 2358 fi 2359 2360 if test -s confdefs.h; then 2361 $as_echo "## ----------- ## 2362## confdefs.h. ## 2363## ----------- ##" 2364 echo 2365 cat confdefs.h 2366 echo 2367 fi 2368 test "$ac_signal" != 0 && 2369 $as_echo "$as_me: caught signal $ac_signal" 2370 $as_echo "$as_me: exit $exit_status" 2371 } >&5 2372 rm -f core *.core core.conftest.* && 2373 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2374 exit $exit_status 2375' 0 2376for ac_signal in 1 2 13 15; do 2377 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2378done 2379ac_signal=0 2380 2381# confdefs.h avoids OS command line length limits that DEFS can exceed. 2382rm -f -r conftest* confdefs.h 2383 2384$as_echo "/* confdefs.h */" > confdefs.h 2385 2386# Predefined preprocessor variables. 2387 2388cat >>confdefs.h <<_ACEOF 2389#define PACKAGE_NAME "$PACKAGE_NAME" 2390_ACEOF 2391 2392cat >>confdefs.h <<_ACEOF 2393#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2394_ACEOF 2395 2396cat >>confdefs.h <<_ACEOF 2397#define PACKAGE_VERSION "$PACKAGE_VERSION" 2398_ACEOF 2399 2400cat >>confdefs.h <<_ACEOF 2401#define PACKAGE_STRING "$PACKAGE_STRING" 2402_ACEOF 2403 2404cat >>confdefs.h <<_ACEOF 2405#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2406_ACEOF 2407 2408cat >>confdefs.h <<_ACEOF 2409#define PACKAGE_URL "$PACKAGE_URL" 2410_ACEOF 2411 2412 2413# Let the site file select an alternate cache file if it wants to. 2414# Prefer an explicitly selected file to automatically selected ones. 2415ac_site_file1=NONE 2416ac_site_file2=NONE 2417if test -n "$CONFIG_SITE"; then 2418 # We do not want a PATH search for config.site. 2419 case $CONFIG_SITE in #(( 2420 -*) ac_site_file1=./$CONFIG_SITE;; 2421 */*) ac_site_file1=$CONFIG_SITE;; 2422 *) ac_site_file1=./$CONFIG_SITE;; 2423 esac 2424elif test "x$prefix" != xNONE; then 2425 ac_site_file1=$prefix/share/config.site 2426 ac_site_file2=$prefix/etc/config.site 2427else 2428 ac_site_file1=$ac_default_prefix/share/config.site 2429 ac_site_file2=$ac_default_prefix/etc/config.site 2430fi 2431for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2432do 2433 test "x$ac_site_file" = xNONE && continue 2434 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2436$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2437 sed 's/^/| /' "$ac_site_file" >&5 2438 . "$ac_site_file" \ 2439 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2440$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2441as_fn_error $? "failed to load site script $ac_site_file 2442See \`config.log' for more details" "$LINENO" 5; } 2443 fi 2444done 2445 2446if test -r "$cache_file"; then 2447 # Some versions of bash will fail to source /dev/null (special files 2448 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2449 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2451$as_echo "$as_me: loading cache $cache_file" >&6;} 2452 case $cache_file in 2453 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2454 *) . "./$cache_file";; 2455 esac 2456 fi 2457else 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2459$as_echo "$as_me: creating cache $cache_file" >&6;} 2460 >$cache_file 2461fi 2462 2463# Check that the precious variables saved in the cache have kept the same 2464# value. 2465ac_cache_corrupted=false 2466for ac_var in $ac_precious_vars; do 2467 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2468 eval ac_new_set=\$ac_env_${ac_var}_set 2469 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2470 eval ac_new_val=\$ac_env_${ac_var}_value 2471 case $ac_old_set,$ac_new_set in 2472 set,) 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2474$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2475 ac_cache_corrupted=: ;; 2476 ,set) 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2478$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2479 ac_cache_corrupted=: ;; 2480 ,);; 2481 *) 2482 if test "x$ac_old_val" != "x$ac_new_val"; then 2483 # differences in whitespace do not lead to failure. 2484 ac_old_val_w=`echo x $ac_old_val` 2485 ac_new_val_w=`echo x $ac_new_val` 2486 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2488$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2489 ac_cache_corrupted=: 2490 else 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2492$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2493 eval $ac_var=\$ac_old_val 2494 fi 2495 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2496$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2498$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2499 fi;; 2500 esac 2501 # Pass precious variables to config.status. 2502 if test "$ac_new_set" = set; then 2503 case $ac_new_val in 2504 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2505 *) ac_arg=$ac_var=$ac_new_val ;; 2506 esac 2507 case " $ac_configure_args " in 2508 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2509 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2510 esac 2511 fi 2512done 2513if $ac_cache_corrupted; then 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2517$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2518 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2519fi 2520## -------------------- ## 2521## Main body of script. ## 2522## -------------------- ## 2523 2524ac_ext=c 2525ac_cpp='$CPP $CPPFLAGS' 2526ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2527ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2528ac_compiler_gnu=$ac_cv_c_compiler_gnu 2529 2530 2531ac_ext=cpp 2532ac_cpp='$CXXCPP $CPPFLAGS' 2533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2536 2537am__api_version='1.10' 2538 2539ac_aux_dir= 2540for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2541 if test -f "$ac_dir/install-sh"; then 2542 ac_aux_dir=$ac_dir 2543 ac_install_sh="$ac_aux_dir/install-sh -c" 2544 break 2545 elif test -f "$ac_dir/install.sh"; then 2546 ac_aux_dir=$ac_dir 2547 ac_install_sh="$ac_aux_dir/install.sh -c" 2548 break 2549 elif test -f "$ac_dir/shtool"; then 2550 ac_aux_dir=$ac_dir 2551 ac_install_sh="$ac_aux_dir/shtool install -c" 2552 break 2553 fi 2554done 2555if test -z "$ac_aux_dir"; then 2556 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2557fi 2558 2559# These three variables are undocumented and unsupported, 2560# and are intended to be withdrawn in a future Autoconf release. 2561# They can cause serious problems if a builder's source tree is in a directory 2562# whose full name contains unusual characters. 2563ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2564ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2565ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2566 2567 2568# Find a good install program. We prefer a C program (faster), 2569# so one script is as good as another. But avoid the broken or 2570# incompatible versions: 2571# SysV /etc/install, /usr/sbin/install 2572# SunOS /usr/etc/install 2573# IRIX /sbin/install 2574# AIX /bin/install 2575# AmigaOS /C/install, which installs bootblocks on floppy discs 2576# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2577# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2578# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2579# OS/2's system install, which has a completely different semantic 2580# ./install, which can be erroneously created by make from ./install.sh. 2581# Reject install programs that cannot install multiple files. 2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2583$as_echo_n "checking for a BSD-compatible install... " >&6; } 2584if test -z "$INSTALL"; then 2585if ${ac_cv_path_install+:} false; then : 2586 $as_echo_n "(cached) " >&6 2587else 2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2589for as_dir in $PATH 2590do 2591 IFS=$as_save_IFS 2592 test -z "$as_dir" && as_dir=. 2593 # Account for people who put trailing slashes in PATH elements. 2594case $as_dir/ in #(( 2595 ./ | .// | /[cC]/* | \ 2596 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2597 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2598 /usr/ucb/* ) ;; 2599 *) 2600 # OSF1 and SCO ODT 3.0 have their own names for install. 2601 # Don't use installbsd from OSF since it installs stuff as root 2602 # by default. 2603 for ac_prog in ginstall scoinst install; do 2604 for ac_exec_ext in '' $ac_executable_extensions; do 2605 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2606 if test $ac_prog = install && 2607 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2608 # AIX install. It has an incompatible calling convention. 2609 : 2610 elif test $ac_prog = install && 2611 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2612 # program-specific install script used by HP pwplus--don't use. 2613 : 2614 else 2615 rm -rf conftest.one conftest.two conftest.dir 2616 echo one > conftest.one 2617 echo two > conftest.two 2618 mkdir conftest.dir 2619 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2620 test -s conftest.one && test -s conftest.two && 2621 test -s conftest.dir/conftest.one && 2622 test -s conftest.dir/conftest.two 2623 then 2624 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2625 break 3 2626 fi 2627 fi 2628 fi 2629 done 2630 done 2631 ;; 2632esac 2633 2634 done 2635IFS=$as_save_IFS 2636 2637rm -rf conftest.one conftest.two conftest.dir 2638 2639fi 2640 if test "${ac_cv_path_install+set}" = set; then 2641 INSTALL=$ac_cv_path_install 2642 else 2643 # As a last resort, use the slow shell script. Don't cache a 2644 # value for INSTALL within a source directory, because that will 2645 # break other packages using the cache if that directory is 2646 # removed, or if the value is a relative name. 2647 INSTALL=$ac_install_sh 2648 fi 2649fi 2650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2651$as_echo "$INSTALL" >&6; } 2652 2653# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2654# It thinks the first close brace ends the variable substitution. 2655test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2656 2657test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2658 2659test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2660 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2662$as_echo_n "checking whether build environment is sane... " >&6; } 2663# Just in case 2664sleep 1 2665echo timestamp > conftest.file 2666# Do `set' in a subshell so we don't clobber the current shell's 2667# arguments. Must try -L first in case configure is actually a 2668# symlink; some systems play weird games with the mod time of symlinks 2669# (eg FreeBSD returns the mod time of the symlink's containing 2670# directory). 2671if ( 2672 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2673 if test "$*" = "X"; then 2674 # -L didn't work. 2675 set X `ls -t $srcdir/configure conftest.file` 2676 fi 2677 rm -f conftest.file 2678 if test "$*" != "X $srcdir/configure conftest.file" \ 2679 && test "$*" != "X conftest.file $srcdir/configure"; then 2680 2681 # If neither matched, then we have a broken ls. This can happen 2682 # if, for instance, CONFIG_SHELL is bash and it inherits a 2683 # broken ls alias from the environment. This has actually 2684 # happened. Such a system could not be considered "sane". 2685 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2686alias in your environment" "$LINENO" 5 2687 fi 2688 2689 test "$2" = conftest.file 2690 ) 2691then 2692 # Ok. 2693 : 2694else 2695 as_fn_error $? "newly created file is older than distributed files! 2696Check your system clock" "$LINENO" 5 2697fi 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2699$as_echo "yes" >&6; } 2700test "$program_prefix" != NONE && 2701 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2702# Use a double $ so make ignores it. 2703test "$program_suffix" != NONE && 2704 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2705# Double any \ or $. 2706# By default was `s,x,x', remove it if useless. 2707ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2708program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2709 2710# expand $ac_aux_dir to an absolute path 2711am_aux_dir=`cd $ac_aux_dir && pwd` 2712 2713test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2714# Use eval to expand $SHELL 2715if eval "$MISSING --run true"; then 2716 am_missing_run="$MISSING --run " 2717else 2718 am_missing_run= 2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2720$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2721fi 2722 2723install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2724 2725# Installed binaries are usually stripped using `strip' when the user 2726# run `make install-strip'. However `strip' might not be the right 2727# tool to use in cross-compilation environments, therefore Automake 2728# will honor the `STRIP' environment variable to overrule this program. 2729if test "$cross_compiling" != no; then 2730 if test -n "$ac_tool_prefix"; then 2731 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2732set dummy ${ac_tool_prefix}strip; ac_word=$2 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2734$as_echo_n "checking for $ac_word... " >&6; } 2735if ${ac_cv_prog_STRIP+:} false; then : 2736 $as_echo_n "(cached) " >&6 2737else 2738 if test -n "$STRIP"; then 2739 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2740else 2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2742for as_dir in $PATH 2743do 2744 IFS=$as_save_IFS 2745 test -z "$as_dir" && as_dir=. 2746 for ac_exec_ext in '' $ac_executable_extensions; do 2747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2748 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2750 break 2 2751 fi 2752done 2753 done 2754IFS=$as_save_IFS 2755 2756fi 2757fi 2758STRIP=$ac_cv_prog_STRIP 2759if test -n "$STRIP"; then 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2761$as_echo "$STRIP" >&6; } 2762else 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2764$as_echo "no" >&6; } 2765fi 2766 2767 2768fi 2769if test -z "$ac_cv_prog_STRIP"; then 2770 ac_ct_STRIP=$STRIP 2771 # Extract the first word of "strip", so it can be a program name with args. 2772set dummy strip; ac_word=$2 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2774$as_echo_n "checking for $ac_word... " >&6; } 2775if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 if test -n "$ac_ct_STRIP"; then 2779 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2780else 2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2782for as_dir in $PATH 2783do 2784 IFS=$as_save_IFS 2785 test -z "$as_dir" && as_dir=. 2786 for ac_exec_ext in '' $ac_executable_extensions; do 2787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2788 ac_cv_prog_ac_ct_STRIP="strip" 2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2790 break 2 2791 fi 2792done 2793 done 2794IFS=$as_save_IFS 2795 2796fi 2797fi 2798ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2799if test -n "$ac_ct_STRIP"; then 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2801$as_echo "$ac_ct_STRIP" >&6; } 2802else 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2804$as_echo "no" >&6; } 2805fi 2806 2807 if test "x$ac_ct_STRIP" = x; then 2808 STRIP=":" 2809 else 2810 case $cross_compiling:$ac_tool_warned in 2811yes:) 2812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2814ac_tool_warned=yes ;; 2815esac 2816 STRIP=$ac_ct_STRIP 2817 fi 2818else 2819 STRIP="$ac_cv_prog_STRIP" 2820fi 2821 2822fi 2823INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2824 2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2826$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2827if test -z "$MKDIR_P"; then 2828 if ${ac_cv_path_mkdir+:} false; then : 2829 $as_echo_n "(cached) " >&6 2830else 2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2832for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2833do 2834 IFS=$as_save_IFS 2835 test -z "$as_dir" && as_dir=. 2836 for ac_prog in mkdir gmkdir; do 2837 for ac_exec_ext in '' $ac_executable_extensions; do 2838 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2839 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2840 'mkdir (GNU coreutils) '* | \ 2841 'mkdir (coreutils) '* | \ 2842 'mkdir (fileutils) '4.1*) 2843 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2844 break 3;; 2845 esac 2846 done 2847 done 2848 done 2849IFS=$as_save_IFS 2850 2851fi 2852 2853 test -d ./--version && rmdir ./--version 2854 if test "${ac_cv_path_mkdir+set}" = set; then 2855 MKDIR_P="$ac_cv_path_mkdir -p" 2856 else 2857 # As a last resort, use the slow shell script. Don't cache a 2858 # value for MKDIR_P within a source directory, because that will 2859 # break other packages using the cache if that directory is 2860 # removed, or if the value is a relative name. 2861 MKDIR_P="$ac_install_sh -d" 2862 fi 2863fi 2864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2865$as_echo "$MKDIR_P" >&6; } 2866 2867mkdir_p="$MKDIR_P" 2868case $mkdir_p in 2869 [\\/$]* | ?:[\\/]*) ;; 2870 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2871esac 2872 2873for ac_prog in gawk mawk nawk awk 2874do 2875 # Extract the first word of "$ac_prog", so it can be a program name with args. 2876set dummy $ac_prog; ac_word=$2 2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2878$as_echo_n "checking for $ac_word... " >&6; } 2879if ${ac_cv_prog_AWK+:} false; then : 2880 $as_echo_n "(cached) " >&6 2881else 2882 if test -n "$AWK"; then 2883 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2884else 2885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2886for as_dir in $PATH 2887do 2888 IFS=$as_save_IFS 2889 test -z "$as_dir" && as_dir=. 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2892 ac_cv_prog_AWK="$ac_prog" 2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2894 break 2 2895 fi 2896done 2897 done 2898IFS=$as_save_IFS 2899 2900fi 2901fi 2902AWK=$ac_cv_prog_AWK 2903if test -n "$AWK"; then 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2905$as_echo "$AWK" >&6; } 2906else 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2908$as_echo "no" >&6; } 2909fi 2910 2911 2912 test -n "$AWK" && break 2913done 2914 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2916$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2917set x ${MAKE-make} 2918ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2919if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2920 $as_echo_n "(cached) " >&6 2921else 2922 cat >conftest.make <<\_ACEOF 2923SHELL = /bin/sh 2924all: 2925 @echo '@@@%%%=$(MAKE)=@@@%%%' 2926_ACEOF 2927# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2928case `${MAKE-make} -f conftest.make 2>/dev/null` in 2929 *@@@%%%=?*=@@@%%%*) 2930 eval ac_cv_prog_make_${ac_make}_set=yes;; 2931 *) 2932 eval ac_cv_prog_make_${ac_make}_set=no;; 2933esac 2934rm -f conftest.make 2935fi 2936if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2938$as_echo "yes" >&6; } 2939 SET_MAKE= 2940else 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2942$as_echo "no" >&6; } 2943 SET_MAKE="MAKE=${MAKE-make}" 2944fi 2945 2946rm -rf .tst 2>/dev/null 2947mkdir .tst 2>/dev/null 2948if test -d .tst; then 2949 am__leading_dot=. 2950else 2951 am__leading_dot=_ 2952fi 2953rmdir .tst 2>/dev/null 2954 2955if test "`cd $srcdir && pwd`" != "`pwd`"; then 2956 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2957 # is not polluted with repeated "-I." 2958 am__isrc=' -I$(srcdir)' 2959 # test to see if srcdir already configured 2960 if test -f $srcdir/config.status; then 2961 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2962 fi 2963fi 2964 2965# test whether we have cygpath 2966if test -z "$CYGPATH_W"; then 2967 if (cygpath --version) >/dev/null 2>/dev/null; then 2968 CYGPATH_W='cygpath -w' 2969 else 2970 CYGPATH_W=echo 2971 fi 2972fi 2973 2974 2975# Define the identity of the package. 2976 PACKAGE=pstoedit 2977 VERSION=3.70 2978 2979 2980cat >>confdefs.h <<_ACEOF 2981#define PACKAGE "$PACKAGE" 2982_ACEOF 2983 2984 2985cat >>confdefs.h <<_ACEOF 2986#define VERSION "$VERSION" 2987_ACEOF 2988 2989# Some tools Automake needs. 2990 2991ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2992 2993 2994AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2995 2996 2997AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2998 2999 3000AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3001 3002 3003MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3004 3005# We need awk for the "check" target. The system "awk" is bad on 3006# some platforms. 3007# Always define AMTAR for backward compatibility. 3008 3009AMTAR=${AMTAR-"${am_missing_run}tar"} 3010 3011am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3012 3013 3014 3015 3016 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3018$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3019 # Check whether --enable-maintainer-mode was given. 3020if test "${enable_maintainer_mode+set}" = set; then : 3021 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3022else 3023 USE_MAINTAINER_MODE=no 3024fi 3025 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3027$as_echo "$USE_MAINTAINER_MODE" >&6; } 3028 if test $USE_MAINTAINER_MODE = yes; then 3029 MAINTAINER_MODE_TRUE= 3030 MAINTAINER_MODE_FALSE='#' 3031else 3032 MAINTAINER_MODE_TRUE='#' 3033 MAINTAINER_MODE_FALSE= 3034fi 3035 3036 MAINT=$MAINTAINER_MODE_TRUE 3037 3038 3039 3040 3041 3042subdirs="$subdirs libEMF-1.0" 3043 3044 3045 3046 3047ac_ext=c 3048ac_cpp='$CPP $CPPFLAGS' 3049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3051ac_compiler_gnu=$ac_cv_c_compiler_gnu 3052if test -n "$ac_tool_prefix"; then 3053 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3054set dummy ${ac_tool_prefix}gcc; ac_word=$2 3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3056$as_echo_n "checking for $ac_word... " >&6; } 3057if ${ac_cv_prog_CC+:} false; then : 3058 $as_echo_n "(cached) " >&6 3059else 3060 if test -n "$CC"; then 3061 ac_cv_prog_CC="$CC" # Let the user override the test. 3062else 3063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3064for as_dir in $PATH 3065do 3066 IFS=$as_save_IFS 3067 test -z "$as_dir" && as_dir=. 3068 for ac_exec_ext in '' $ac_executable_extensions; do 3069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3070 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3072 break 2 3073 fi 3074done 3075 done 3076IFS=$as_save_IFS 3077 3078fi 3079fi 3080CC=$ac_cv_prog_CC 3081if test -n "$CC"; then 3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3083$as_echo "$CC" >&6; } 3084else 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3086$as_echo "no" >&6; } 3087fi 3088 3089 3090fi 3091if test -z "$ac_cv_prog_CC"; then 3092 ac_ct_CC=$CC 3093 # Extract the first word of "gcc", so it can be a program name with args. 3094set dummy gcc; ac_word=$2 3095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3096$as_echo_n "checking for $ac_word... " >&6; } 3097if ${ac_cv_prog_ac_ct_CC+:} false; then : 3098 $as_echo_n "(cached) " >&6 3099else 3100 if test -n "$ac_ct_CC"; then 3101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3102else 3103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3104for as_dir in $PATH 3105do 3106 IFS=$as_save_IFS 3107 test -z "$as_dir" && as_dir=. 3108 for ac_exec_ext in '' $ac_executable_extensions; do 3109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3110 ac_cv_prog_ac_ct_CC="gcc" 3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3112 break 2 3113 fi 3114done 3115 done 3116IFS=$as_save_IFS 3117 3118fi 3119fi 3120ac_ct_CC=$ac_cv_prog_ac_ct_CC 3121if test -n "$ac_ct_CC"; then 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3123$as_echo "$ac_ct_CC" >&6; } 3124else 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3126$as_echo "no" >&6; } 3127fi 3128 3129 if test "x$ac_ct_CC" = x; then 3130 CC="" 3131 else 3132 case $cross_compiling:$ac_tool_warned in 3133yes:) 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3136ac_tool_warned=yes ;; 3137esac 3138 CC=$ac_ct_CC 3139 fi 3140else 3141 CC="$ac_cv_prog_CC" 3142fi 3143 3144if test -z "$CC"; then 3145 if test -n "$ac_tool_prefix"; then 3146 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3147set dummy ${ac_tool_prefix}cc; ac_word=$2 3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3149$as_echo_n "checking for $ac_word... " >&6; } 3150if ${ac_cv_prog_CC+:} false; then : 3151 $as_echo_n "(cached) " >&6 3152else 3153 if test -n "$CC"; then 3154 ac_cv_prog_CC="$CC" # Let the user override the test. 3155else 3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3157for as_dir in $PATH 3158do 3159 IFS=$as_save_IFS 3160 test -z "$as_dir" && as_dir=. 3161 for ac_exec_ext in '' $ac_executable_extensions; do 3162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3163 ac_cv_prog_CC="${ac_tool_prefix}cc" 3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3165 break 2 3166 fi 3167done 3168 done 3169IFS=$as_save_IFS 3170 3171fi 3172fi 3173CC=$ac_cv_prog_CC 3174if test -n "$CC"; then 3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3176$as_echo "$CC" >&6; } 3177else 3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3179$as_echo "no" >&6; } 3180fi 3181 3182 3183 fi 3184fi 3185if test -z "$CC"; then 3186 # Extract the first word of "cc", so it can be a program name with args. 3187set dummy cc; ac_word=$2 3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3189$as_echo_n "checking for $ac_word... " >&6; } 3190if ${ac_cv_prog_CC+:} false; then : 3191 $as_echo_n "(cached) " >&6 3192else 3193 if test -n "$CC"; then 3194 ac_cv_prog_CC="$CC" # Let the user override the test. 3195else 3196 ac_prog_rejected=no 3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3198for as_dir in $PATH 3199do 3200 IFS=$as_save_IFS 3201 test -z "$as_dir" && as_dir=. 3202 for ac_exec_ext in '' $ac_executable_extensions; do 3203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3204 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3205 ac_prog_rejected=yes 3206 continue 3207 fi 3208 ac_cv_prog_CC="cc" 3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3210 break 2 3211 fi 3212done 3213 done 3214IFS=$as_save_IFS 3215 3216if test $ac_prog_rejected = yes; then 3217 # We found a bogon in the path, so make sure we never use it. 3218 set dummy $ac_cv_prog_CC 3219 shift 3220 if test $# != 0; then 3221 # We chose a different compiler from the bogus one. 3222 # However, it has the same basename, so the bogon will be chosen 3223 # first if we set CC to just the basename; use the full file name. 3224 shift 3225 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3226 fi 3227fi 3228fi 3229fi 3230CC=$ac_cv_prog_CC 3231if test -n "$CC"; then 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3233$as_echo "$CC" >&6; } 3234else 3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3236$as_echo "no" >&6; } 3237fi 3238 3239 3240fi 3241if test -z "$CC"; then 3242 if test -n "$ac_tool_prefix"; then 3243 for ac_prog in cl.exe 3244 do 3245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3246set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3248$as_echo_n "checking for $ac_word... " >&6; } 3249if ${ac_cv_prog_CC+:} false; then : 3250 $as_echo_n "(cached) " >&6 3251else 3252 if test -n "$CC"; then 3253 ac_cv_prog_CC="$CC" # Let the user override the test. 3254else 3255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3256for as_dir in $PATH 3257do 3258 IFS=$as_save_IFS 3259 test -z "$as_dir" && as_dir=. 3260 for ac_exec_ext in '' $ac_executable_extensions; do 3261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3262 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3264 break 2 3265 fi 3266done 3267 done 3268IFS=$as_save_IFS 3269 3270fi 3271fi 3272CC=$ac_cv_prog_CC 3273if test -n "$CC"; then 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3275$as_echo "$CC" >&6; } 3276else 3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3278$as_echo "no" >&6; } 3279fi 3280 3281 3282 test -n "$CC" && break 3283 done 3284fi 3285if test -z "$CC"; then 3286 ac_ct_CC=$CC 3287 for ac_prog in cl.exe 3288do 3289 # Extract the first word of "$ac_prog", so it can be a program name with args. 3290set dummy $ac_prog; ac_word=$2 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3292$as_echo_n "checking for $ac_word... " >&6; } 3293if ${ac_cv_prog_ac_ct_CC+:} false; then : 3294 $as_echo_n "(cached) " >&6 3295else 3296 if test -n "$ac_ct_CC"; then 3297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3298else 3299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3300for as_dir in $PATH 3301do 3302 IFS=$as_save_IFS 3303 test -z "$as_dir" && as_dir=. 3304 for ac_exec_ext in '' $ac_executable_extensions; do 3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3306 ac_cv_prog_ac_ct_CC="$ac_prog" 3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3308 break 2 3309 fi 3310done 3311 done 3312IFS=$as_save_IFS 3313 3314fi 3315fi 3316ac_ct_CC=$ac_cv_prog_ac_ct_CC 3317if test -n "$ac_ct_CC"; then 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3319$as_echo "$ac_ct_CC" >&6; } 3320else 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3322$as_echo "no" >&6; } 3323fi 3324 3325 3326 test -n "$ac_ct_CC" && break 3327done 3328 3329 if test "x$ac_ct_CC" = x; then 3330 CC="" 3331 else 3332 case $cross_compiling:$ac_tool_warned in 3333yes:) 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3336ac_tool_warned=yes ;; 3337esac 3338 CC=$ac_ct_CC 3339 fi 3340fi 3341 3342fi 3343 3344 3345test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3347as_fn_error $? "no acceptable C compiler found in \$PATH 3348See \`config.log' for more details" "$LINENO" 5; } 3349 3350# Provide some information about the compiler. 3351$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3352set X $ac_compile 3353ac_compiler=$2 3354for ac_option in --version -v -V -qversion; do 3355 { { ac_try="$ac_compiler $ac_option >&5" 3356case "(($ac_try" in 3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3358 *) ac_try_echo=$ac_try;; 3359esac 3360eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3361$as_echo "$ac_try_echo"; } >&5 3362 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3363 ac_status=$? 3364 if test -s conftest.err; then 3365 sed '10a\ 3366... rest of stderr output deleted ... 3367 10q' conftest.err >conftest.er1 3368 cat conftest.er1 >&5 3369 fi 3370 rm -f conftest.er1 conftest.err 3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3372 test $ac_status = 0; } 3373done 3374 3375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3376/* end confdefs.h. */ 3377 3378int 3379main () 3380{ 3381 3382 ; 3383 return 0; 3384} 3385_ACEOF 3386ac_clean_files_save=$ac_clean_files 3387ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3388# Try to create an executable without -o first, disregard a.out. 3389# It will help us diagnose broken compilers, and finding out an intuition 3390# of exeext. 3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3392$as_echo_n "checking whether the C compiler works... " >&6; } 3393ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3394 3395# The possible output files: 3396ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3397 3398ac_rmfiles= 3399for ac_file in $ac_files 3400do 3401 case $ac_file in 3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3403 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3404 esac 3405done 3406rm -f $ac_rmfiles 3407 3408if { { ac_try="$ac_link_default" 3409case "(($ac_try" in 3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3411 *) ac_try_echo=$ac_try;; 3412esac 3413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3414$as_echo "$ac_try_echo"; } >&5 3415 (eval "$ac_link_default") 2>&5 3416 ac_status=$? 3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3418 test $ac_status = 0; }; then : 3419 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3420# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3421# in a Makefile. We should not override ac_cv_exeext if it was cached, 3422# so that the user can short-circuit this test for compilers unknown to 3423# Autoconf. 3424for ac_file in $ac_files '' 3425do 3426 test -f "$ac_file" || continue 3427 case $ac_file in 3428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3429 ;; 3430 [ab].out ) 3431 # We found the default executable, but exeext='' is most 3432 # certainly right. 3433 break;; 3434 *.* ) 3435 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3436 then :; else 3437 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3438 fi 3439 # We set ac_cv_exeext here because the later test for it is not 3440 # safe: cross compilers may not add the suffix if given an `-o' 3441 # argument, so we may need to know it at that point already. 3442 # Even if this section looks crufty: it has the advantage of 3443 # actually working. 3444 break;; 3445 * ) 3446 break;; 3447 esac 3448done 3449test "$ac_cv_exeext" = no && ac_cv_exeext= 3450 3451else 3452 ac_file='' 3453fi 3454if test -z "$ac_file"; then : 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3456$as_echo "no" >&6; } 3457$as_echo "$as_me: failed program was:" >&5 3458sed 's/^/| /' conftest.$ac_ext >&5 3459 3460{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3462as_fn_error 77 "C compiler cannot create executables 3463See \`config.log' for more details" "$LINENO" 5; } 3464else 3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3466$as_echo "yes" >&6; } 3467fi 3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3469$as_echo_n "checking for C compiler default output file name... " >&6; } 3470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3471$as_echo "$ac_file" >&6; } 3472ac_exeext=$ac_cv_exeext 3473 3474rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3475ac_clean_files=$ac_clean_files_save 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3477$as_echo_n "checking for suffix of executables... " >&6; } 3478if { { ac_try="$ac_link" 3479case "(($ac_try" in 3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3481 *) ac_try_echo=$ac_try;; 3482esac 3483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3484$as_echo "$ac_try_echo"; } >&5 3485 (eval "$ac_link") 2>&5 3486 ac_status=$? 3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3488 test $ac_status = 0; }; then : 3489 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3490# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3491# work properly (i.e., refer to `conftest.exe'), while it won't with 3492# `rm'. 3493for ac_file in conftest.exe conftest conftest.*; do 3494 test -f "$ac_file" || continue 3495 case $ac_file in 3496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3497 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3498 break;; 3499 * ) break;; 3500 esac 3501done 3502else 3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3504$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3505as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3506See \`config.log' for more details" "$LINENO" 5; } 3507fi 3508rm -f conftest conftest$ac_cv_exeext 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3510$as_echo "$ac_cv_exeext" >&6; } 3511 3512rm -f conftest.$ac_ext 3513EXEEXT=$ac_cv_exeext 3514ac_exeext=$EXEEXT 3515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3516/* end confdefs.h. */ 3517#include <stdio.h> 3518int 3519main () 3520{ 3521FILE *f = fopen ("conftest.out", "w"); 3522 return ferror (f) || fclose (f) != 0; 3523 3524 ; 3525 return 0; 3526} 3527_ACEOF 3528ac_clean_files="$ac_clean_files conftest.out" 3529# Check that the compiler produces executables we can run. If not, either 3530# the compiler is broken, or we cross compile. 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3532$as_echo_n "checking whether we are cross compiling... " >&6; } 3533if test "$cross_compiling" != yes; then 3534 { { ac_try="$ac_link" 3535case "(($ac_try" in 3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3537 *) ac_try_echo=$ac_try;; 3538esac 3539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3540$as_echo "$ac_try_echo"; } >&5 3541 (eval "$ac_link") 2>&5 3542 ac_status=$? 3543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3544 test $ac_status = 0; } 3545 if { ac_try='./conftest$ac_cv_exeext' 3546 { { case "(($ac_try" in 3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3548 *) ac_try_echo=$ac_try;; 3549esac 3550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3551$as_echo "$ac_try_echo"; } >&5 3552 (eval "$ac_try") 2>&5 3553 ac_status=$? 3554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3555 test $ac_status = 0; }; }; then 3556 cross_compiling=no 3557 else 3558 if test "$cross_compiling" = maybe; then 3559 cross_compiling=yes 3560 else 3561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3562$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3563as_fn_error $? "cannot run C compiled programs. 3564If you meant to cross compile, use \`--host'. 3565See \`config.log' for more details" "$LINENO" 5; } 3566 fi 3567 fi 3568fi 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3570$as_echo "$cross_compiling" >&6; } 3571 3572rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3573ac_clean_files=$ac_clean_files_save 3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3575$as_echo_n "checking for suffix of object files... " >&6; } 3576if ${ac_cv_objext+:} false; then : 3577 $as_echo_n "(cached) " >&6 3578else 3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3580/* end confdefs.h. */ 3581 3582int 3583main () 3584{ 3585 3586 ; 3587 return 0; 3588} 3589_ACEOF 3590rm -f conftest.o conftest.obj 3591if { { ac_try="$ac_compile" 3592case "(($ac_try" in 3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3594 *) ac_try_echo=$ac_try;; 3595esac 3596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3597$as_echo "$ac_try_echo"; } >&5 3598 (eval "$ac_compile") 2>&5 3599 ac_status=$? 3600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3601 test $ac_status = 0; }; then : 3602 for ac_file in conftest.o conftest.obj conftest.*; do 3603 test -f "$ac_file" || continue; 3604 case $ac_file in 3605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3607 break;; 3608 esac 3609done 3610else 3611 $as_echo "$as_me: failed program was:" >&5 3612sed 's/^/| /' conftest.$ac_ext >&5 3613 3614{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3616as_fn_error $? "cannot compute suffix of object files: cannot compile 3617See \`config.log' for more details" "$LINENO" 5; } 3618fi 3619rm -f conftest.$ac_cv_objext conftest.$ac_ext 3620fi 3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3622$as_echo "$ac_cv_objext" >&6; } 3623OBJEXT=$ac_cv_objext 3624ac_objext=$OBJEXT 3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3626$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3627if ${ac_cv_c_compiler_gnu+:} false; then : 3628 $as_echo_n "(cached) " >&6 3629else 3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3631/* end confdefs.h. */ 3632 3633int 3634main () 3635{ 3636#ifndef __GNUC__ 3637 choke me 3638#endif 3639 3640 ; 3641 return 0; 3642} 3643_ACEOF 3644if ac_fn_c_try_compile "$LINENO"; then : 3645 ac_compiler_gnu=yes 3646else 3647 ac_compiler_gnu=no 3648fi 3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3650ac_cv_c_compiler_gnu=$ac_compiler_gnu 3651 3652fi 3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3654$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3655if test $ac_compiler_gnu = yes; then 3656 GCC=yes 3657else 3658 GCC= 3659fi 3660ac_test_CFLAGS=${CFLAGS+set} 3661ac_save_CFLAGS=$CFLAGS 3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3663$as_echo_n "checking whether $CC accepts -g... " >&6; } 3664if ${ac_cv_prog_cc_g+:} false; then : 3665 $as_echo_n "(cached) " >&6 3666else 3667 ac_save_c_werror_flag=$ac_c_werror_flag 3668 ac_c_werror_flag=yes 3669 ac_cv_prog_cc_g=no 3670 CFLAGS="-g" 3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3672/* end confdefs.h. */ 3673 3674int 3675main () 3676{ 3677 3678 ; 3679 return 0; 3680} 3681_ACEOF 3682if ac_fn_c_try_compile "$LINENO"; then : 3683 ac_cv_prog_cc_g=yes 3684else 3685 CFLAGS="" 3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3687/* end confdefs.h. */ 3688 3689int 3690main () 3691{ 3692 3693 ; 3694 return 0; 3695} 3696_ACEOF 3697if ac_fn_c_try_compile "$LINENO"; then : 3698 3699else 3700 ac_c_werror_flag=$ac_save_c_werror_flag 3701 CFLAGS="-g" 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3703/* end confdefs.h. */ 3704 3705int 3706main () 3707{ 3708 3709 ; 3710 return 0; 3711} 3712_ACEOF 3713if ac_fn_c_try_compile "$LINENO"; then : 3714 ac_cv_prog_cc_g=yes 3715fi 3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3717fi 3718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3719fi 3720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3721 ac_c_werror_flag=$ac_save_c_werror_flag 3722fi 3723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3724$as_echo "$ac_cv_prog_cc_g" >&6; } 3725if test "$ac_test_CFLAGS" = set; then 3726 CFLAGS=$ac_save_CFLAGS 3727elif test $ac_cv_prog_cc_g = yes; then 3728 if test "$GCC" = yes; then 3729 CFLAGS="-g -O2" 3730 else 3731 CFLAGS="-g" 3732 fi 3733else 3734 if test "$GCC" = yes; then 3735 CFLAGS="-O2" 3736 else 3737 CFLAGS= 3738 fi 3739fi 3740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3741$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3742if ${ac_cv_prog_cc_c89+:} false; then : 3743 $as_echo_n "(cached) " >&6 3744else 3745 ac_cv_prog_cc_c89=no 3746ac_save_CC=$CC 3747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3748/* end confdefs.h. */ 3749#include <stdarg.h> 3750#include <stdio.h> 3751struct stat; 3752/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3753struct buf { int x; }; 3754FILE * (*rcsopen) (struct buf *, struct stat *, int); 3755static char *e (p, i) 3756 char **p; 3757 int i; 3758{ 3759 return p[i]; 3760} 3761static char *f (char * (*g) (char **, int), char **p, ...) 3762{ 3763 char *s; 3764 va_list v; 3765 va_start (v,p); 3766 s = g (p, va_arg (v,int)); 3767 va_end (v); 3768 return s; 3769} 3770 3771/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3772 function prototypes and stuff, but not '\xHH' hex character constants. 3773 These don't provoke an error unfortunately, instead are silently treated 3774 as 'x'. The following induces an error, until -std is added to get 3775 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3776 array size at least. It's necessary to write '\x00'==0 to get something 3777 that's true only with -std. */ 3778int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3779 3780/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3781 inside strings and character constants. */ 3782#define FOO(x) 'x' 3783int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3784 3785int test (int i, double x); 3786struct s1 {int (*f) (int a);}; 3787struct s2 {int (*f) (double a);}; 3788int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3789int argc; 3790char **argv; 3791int 3792main () 3793{ 3794return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3795 ; 3796 return 0; 3797} 3798_ACEOF 3799for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3800 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3801do 3802 CC="$ac_save_CC $ac_arg" 3803 if ac_fn_c_try_compile "$LINENO"; then : 3804 ac_cv_prog_cc_c89=$ac_arg 3805fi 3806rm -f core conftest.err conftest.$ac_objext 3807 test "x$ac_cv_prog_cc_c89" != "xno" && break 3808done 3809rm -f conftest.$ac_ext 3810CC=$ac_save_CC 3811 3812fi 3813# AC_CACHE_VAL 3814case "x$ac_cv_prog_cc_c89" in 3815 x) 3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3817$as_echo "none needed" >&6; } ;; 3818 xno) 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3820$as_echo "unsupported" >&6; } ;; 3821 *) 3822 CC="$CC $ac_cv_prog_cc_c89" 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3824$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3825esac 3826if test "x$ac_cv_prog_cc_c89" != xno; then : 3827 3828fi 3829 3830ac_ext=cpp 3831ac_cpp='$CXXCPP $CPPFLAGS' 3832ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3833ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3834ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3835DEPDIR="${am__leading_dot}deps" 3836 3837ac_config_commands="$ac_config_commands depfiles" 3838 3839 3840am_make=${MAKE-make} 3841cat > confinc << 'END' 3842am__doit: 3843 @echo done 3844.PHONY: am__doit 3845END 3846# If we don't find an include directive, just comment out the code. 3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3848$as_echo_n "checking for style of include used by $am_make... " >&6; } 3849am__include="#" 3850am__quote= 3851_am_result=none 3852# First try GNU make style include. 3853echo "include confinc" > confmf 3854# We grep out `Entering directory' and `Leaving directory' 3855# messages which can occur if `w' ends up in MAKEFLAGS. 3856# In particular we don't look at `^make:' because GNU make might 3857# be invoked under some other name (usually "gmake"), in which 3858# case it prints its new name instead of `make'. 3859if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3860 am__include=include 3861 am__quote= 3862 _am_result=GNU 3863fi 3864# Now try BSD make style include. 3865if test "$am__include" = "#"; then 3866 echo '.include "confinc"' > confmf 3867 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3868 am__include=.include 3869 am__quote="\"" 3870 _am_result=BSD 3871 fi 3872fi 3873 3874 3875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3876$as_echo "$_am_result" >&6; } 3877rm -f confinc confmf 3878 3879# Check whether --enable-dependency-tracking was given. 3880if test "${enable_dependency_tracking+set}" = set; then : 3881 enableval=$enable_dependency_tracking; 3882fi 3883 3884if test "x$enable_dependency_tracking" != xno; then 3885 am_depcomp="$ac_aux_dir/depcomp" 3886 AMDEPBACKSLASH='\' 3887fi 3888 if test "x$enable_dependency_tracking" != xno; then 3889 AMDEP_TRUE= 3890 AMDEP_FALSE='#' 3891else 3892 AMDEP_TRUE='#' 3893 AMDEP_FALSE= 3894fi 3895 3896 3897 3898depcc="$CC" am_compiler_list= 3899 3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3901$as_echo_n "checking dependency style of $depcc... " >&6; } 3902if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3903 $as_echo_n "(cached) " >&6 3904else 3905 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3906 # We make a subdir and do the tests there. Otherwise we can end up 3907 # making bogus files that we don't know about and never remove. For 3908 # instance it was reported that on HP-UX the gcc test will end up 3909 # making a dummy file named `D' -- because `-MD' means `put the output 3910 # in D'. 3911 mkdir conftest.dir 3912 # Copy depcomp to subdir because otherwise we won't find it if we're 3913 # using a relative directory. 3914 cp "$am_depcomp" conftest.dir 3915 cd conftest.dir 3916 # We will build objects and dependencies in a subdirectory because 3917 # it helps to detect inapplicable dependency modes. For instance 3918 # both Tru64's cc and ICC support -MD to output dependencies as a 3919 # side effect of compilation, but ICC will put the dependencies in 3920 # the current directory while Tru64 will put them in the object 3921 # directory. 3922 mkdir sub 3923 3924 am_cv_CC_dependencies_compiler_type=none 3925 if test "$am_compiler_list" = ""; then 3926 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3927 fi 3928 am__universal=false 3929 case " $depcc " in #( 3930 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3931 esac 3932 3933 for depmode in $am_compiler_list; do 3934 # Setup a source with many dependencies, because some compilers 3935 # like to wrap large dependency lists on column 80 (with \), and 3936 # we should not choose a depcomp mode which is confused by this. 3937 # 3938 # We need to recreate these files for each test, as the compiler may 3939 # overwrite some of them when testing with obscure command lines. 3940 # This happens at least with the AIX C compiler. 3941 : > sub/conftest.c 3942 for i in 1 2 3 4 5 6; do 3943 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3944 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3945 # Solaris 8's {/usr,}/bin/sh. 3946 touch sub/conftst$i.h 3947 done 3948 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3949 3950 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3951 # mode. It turns out that the SunPro C++ compiler does not properly 3952 # handle `-M -o', and we need to detect this. Also, some Intel 3953 # versions had trouble with output in subdirs 3954 am__obj=sub/conftest.${OBJEXT-o} 3955 am__minus_obj="-o $am__obj" 3956 case $depmode in 3957 gcc) 3958 # This depmode causes a compiler race in universal mode. 3959 test "$am__universal" = false || continue 3960 ;; 3961 nosideeffect) 3962 # after this tag, mechanisms are not by side-effect, so they'll 3963 # only be used when explicitly requested 3964 if test "x$enable_dependency_tracking" = xyes; then 3965 continue 3966 else 3967 break 3968 fi 3969 ;; 3970 msvisualcpp | msvcmsys) 3971 # This compiler won't grok `-c -o', but also, the minuso test has 3972 # not run yet. These depmodes are late enough in the game, and 3973 # so weak that their functioning should not be impacted. 3974 am__obj=conftest.${OBJEXT-o} 3975 am__minus_obj= 3976 ;; 3977 none) break ;; 3978 esac 3979 if depmode=$depmode \ 3980 source=sub/conftest.c object=$am__obj \ 3981 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3982 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3983 >/dev/null 2>conftest.err && 3984 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3985 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3986 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3987 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3988 # icc doesn't choke on unknown options, it will just issue warnings 3989 # or remarks (even with -Werror). So we grep stderr for any message 3990 # that says an option was ignored or not supported. 3991 # When given -MP, icc 7.0 and 7.1 complain thusly: 3992 # icc: Command line warning: ignoring option '-M'; no argument required 3993 # The diagnosis changed in icc 8.0: 3994 # icc: Command line remark: option '-MP' not supported 3995 if (grep 'ignoring option' conftest.err || 3996 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3997 am_cv_CC_dependencies_compiler_type=$depmode 3998 break 3999 fi 4000 fi 4001 done 4002 4003 cd .. 4004 rm -rf conftest.dir 4005else 4006 am_cv_CC_dependencies_compiler_type=none 4007fi 4008 4009fi 4010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4011$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4012CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4013 4014 if 4015 test "x$enable_dependency_tracking" != xno \ 4016 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4017 am__fastdepCC_TRUE= 4018 am__fastdepCC_FALSE='#' 4019else 4020 am__fastdepCC_TRUE='#' 4021 am__fastdepCC_FALSE= 4022fi 4023 4024 4025ac_ext=cpp 4026ac_cpp='$CXXCPP $CPPFLAGS' 4027ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4028ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4029ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4030if test -z "$CXX"; then 4031 if test -n "$CCC"; then 4032 CXX=$CCC 4033 else 4034 if test -n "$ac_tool_prefix"; then 4035 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4036 do 4037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4038set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4040$as_echo_n "checking for $ac_word... " >&6; } 4041if ${ac_cv_prog_CXX+:} false; then : 4042 $as_echo_n "(cached) " >&6 4043else 4044 if test -n "$CXX"; then 4045 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4046else 4047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4048for as_dir in $PATH 4049do 4050 IFS=$as_save_IFS 4051 test -z "$as_dir" && as_dir=. 4052 for ac_exec_ext in '' $ac_executable_extensions; do 4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4054 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4056 break 2 4057 fi 4058done 4059 done 4060IFS=$as_save_IFS 4061 4062fi 4063fi 4064CXX=$ac_cv_prog_CXX 4065if test -n "$CXX"; then 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4067$as_echo "$CXX" >&6; } 4068else 4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4070$as_echo "no" >&6; } 4071fi 4072 4073 4074 test -n "$CXX" && break 4075 done 4076fi 4077if test -z "$CXX"; then 4078 ac_ct_CXX=$CXX 4079 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4080do 4081 # Extract the first word of "$ac_prog", so it can be a program name with args. 4082set dummy $ac_prog; ac_word=$2 4083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4084$as_echo_n "checking for $ac_word... " >&6; } 4085if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4086 $as_echo_n "(cached) " >&6 4087else 4088 if test -n "$ac_ct_CXX"; then 4089 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4090else 4091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4092for as_dir in $PATH 4093do 4094 IFS=$as_save_IFS 4095 test -z "$as_dir" && as_dir=. 4096 for ac_exec_ext in '' $ac_executable_extensions; do 4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4098 ac_cv_prog_ac_ct_CXX="$ac_prog" 4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4100 break 2 4101 fi 4102done 4103 done 4104IFS=$as_save_IFS 4105 4106fi 4107fi 4108ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4109if test -n "$ac_ct_CXX"; then 4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4111$as_echo "$ac_ct_CXX" >&6; } 4112else 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4114$as_echo "no" >&6; } 4115fi 4116 4117 4118 test -n "$ac_ct_CXX" && break 4119done 4120 4121 if test "x$ac_ct_CXX" = x; then 4122 CXX="g++" 4123 else 4124 case $cross_compiling:$ac_tool_warned in 4125yes:) 4126{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4127$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4128ac_tool_warned=yes ;; 4129esac 4130 CXX=$ac_ct_CXX 4131 fi 4132fi 4133 4134 fi 4135fi 4136# Provide some information about the compiler. 4137$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4138set X $ac_compile 4139ac_compiler=$2 4140for ac_option in --version -v -V -qversion; do 4141 { { ac_try="$ac_compiler $ac_option >&5" 4142case "(($ac_try" in 4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4144 *) ac_try_echo=$ac_try;; 4145esac 4146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4147$as_echo "$ac_try_echo"; } >&5 4148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4149 ac_status=$? 4150 if test -s conftest.err; then 4151 sed '10a\ 4152... rest of stderr output deleted ... 4153 10q' conftest.err >conftest.er1 4154 cat conftest.er1 >&5 4155 fi 4156 rm -f conftest.er1 conftest.err 4157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4158 test $ac_status = 0; } 4159done 4160 4161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4162$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4163if ${ac_cv_cxx_compiler_gnu+:} false; then : 4164 $as_echo_n "(cached) " >&6 4165else 4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4167/* end confdefs.h. */ 4168 4169int 4170main () 4171{ 4172#ifndef __GNUC__ 4173 choke me 4174#endif 4175 4176 ; 4177 return 0; 4178} 4179_ACEOF 4180if ac_fn_cxx_try_compile "$LINENO"; then : 4181 ac_compiler_gnu=yes 4182else 4183 ac_compiler_gnu=no 4184fi 4185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4186ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4187 4188fi 4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4190$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4191if test $ac_compiler_gnu = yes; then 4192 GXX=yes 4193else 4194 GXX= 4195fi 4196ac_test_CXXFLAGS=${CXXFLAGS+set} 4197ac_save_CXXFLAGS=$CXXFLAGS 4198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4199$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4200if ${ac_cv_prog_cxx_g+:} false; then : 4201 $as_echo_n "(cached) " >&6 4202else 4203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4204 ac_cxx_werror_flag=yes 4205 ac_cv_prog_cxx_g=no 4206 CXXFLAGS="$CXXFLAGS" 4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4208/* end confdefs.h. */ 4209 4210int 4211main () 4212{ 4213 4214 ; 4215 return 0; 4216} 4217_ACEOF 4218if ac_fn_cxx_try_compile "$LINENO"; then : 4219 ac_cv_prog_cxx_g=yes 4220else 4221 CXXFLAGS="" 4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223/* end confdefs.h. */ 4224 4225int 4226main () 4227{ 4228 4229 ; 4230 return 0; 4231} 4232_ACEOF 4233if ac_fn_cxx_try_compile "$LINENO"; then : 4234 4235else 4236 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4237 CXXFLAGS="$CXXFLAGS" 4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4239/* end confdefs.h. */ 4240 4241int 4242main () 4243{ 4244 4245 ; 4246 return 0; 4247} 4248_ACEOF 4249if ac_fn_cxx_try_compile "$LINENO"; then : 4250 ac_cv_prog_cxx_g=yes 4251fi 4252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4253fi 4254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4255fi 4256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4258fi 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4260$as_echo "$ac_cv_prog_cxx_g" >&6; } 4261if test "$ac_test_CXXFLAGS" = set; then 4262 CXXFLAGS=$ac_save_CXXFLAGS 4263elif test $ac_cv_prog_cxx_g = yes; then 4264 if test "$GXX" = yes; then 4265 CXXFLAGS="-g -O2" 4266 else 4267 CXXFLAGS="$CXXFLAGS" 4268 fi 4269else 4270 if test "$GXX" = yes; then 4271 CXXFLAGS="-O2" 4272 else 4273 CXXFLAGS= 4274 fi 4275fi 4276ac_ext=cpp 4277ac_cpp='$CXXCPP $CPPFLAGS' 4278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4281 4282depcc="$CXX" am_compiler_list= 4283 4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4285$as_echo_n "checking dependency style of $depcc... " >&6; } 4286if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4287 $as_echo_n "(cached) " >&6 4288else 4289 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4290 # We make a subdir and do the tests there. Otherwise we can end up 4291 # making bogus files that we don't know about and never remove. For 4292 # instance it was reported that on HP-UX the gcc test will end up 4293 # making a dummy file named `D' -- because `-MD' means `put the output 4294 # in D'. 4295 mkdir conftest.dir 4296 # Copy depcomp to subdir because otherwise we won't find it if we're 4297 # using a relative directory. 4298 cp "$am_depcomp" conftest.dir 4299 cd conftest.dir 4300 # We will build objects and dependencies in a subdirectory because 4301 # it helps to detect inapplicable dependency modes. For instance 4302 # both Tru64's cc and ICC support -MD to output dependencies as a 4303 # side effect of compilation, but ICC will put the dependencies in 4304 # the current directory while Tru64 will put them in the object 4305 # directory. 4306 mkdir sub 4307 4308 am_cv_CXX_dependencies_compiler_type=none 4309 if test "$am_compiler_list" = ""; then 4310 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4311 fi 4312 am__universal=false 4313 case " $depcc " in #( 4314 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4315 esac 4316 4317 for depmode in $am_compiler_list; do 4318 # Setup a source with many dependencies, because some compilers 4319 # like to wrap large dependency lists on column 80 (with \), and 4320 # we should not choose a depcomp mode which is confused by this. 4321 # 4322 # We need to recreate these files for each test, as the compiler may 4323 # overwrite some of them when testing with obscure command lines. 4324 # This happens at least with the AIX C compiler. 4325 : > sub/conftest.c 4326 for i in 1 2 3 4 5 6; do 4327 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4328 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4329 # Solaris 8's {/usr,}/bin/sh. 4330 touch sub/conftst$i.h 4331 done 4332 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4333 4334 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4335 # mode. It turns out that the SunPro C++ compiler does not properly 4336 # handle `-M -o', and we need to detect this. Also, some Intel 4337 # versions had trouble with output in subdirs 4338 am__obj=sub/conftest.${OBJEXT-o} 4339 am__minus_obj="-o $am__obj" 4340 case $depmode in 4341 gcc) 4342 # This depmode causes a compiler race in universal mode. 4343 test "$am__universal" = false || continue 4344 ;; 4345 nosideeffect) 4346 # after this tag, mechanisms are not by side-effect, so they'll 4347 # only be used when explicitly requested 4348 if test "x$enable_dependency_tracking" = xyes; then 4349 continue 4350 else 4351 break 4352 fi 4353 ;; 4354 msvisualcpp | msvcmsys) 4355 # This compiler won't grok `-c -o', but also, the minuso test has 4356 # not run yet. These depmodes are late enough in the game, and 4357 # so weak that their functioning should not be impacted. 4358 am__obj=conftest.${OBJEXT-o} 4359 am__minus_obj= 4360 ;; 4361 none) break ;; 4362 esac 4363 if depmode=$depmode \ 4364 source=sub/conftest.c object=$am__obj \ 4365 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4366 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4367 >/dev/null 2>conftest.err && 4368 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4369 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4370 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4371 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4372 # icc doesn't choke on unknown options, it will just issue warnings 4373 # or remarks (even with -Werror). So we grep stderr for any message 4374 # that says an option was ignored or not supported. 4375 # When given -MP, icc 7.0 and 7.1 complain thusly: 4376 # icc: Command line warning: ignoring option '-M'; no argument required 4377 # The diagnosis changed in icc 8.0: 4378 # icc: Command line remark: option '-MP' not supported 4379 if (grep 'ignoring option' conftest.err || 4380 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4381 am_cv_CXX_dependencies_compiler_type=$depmode 4382 break 4383 fi 4384 fi 4385 done 4386 4387 cd .. 4388 rm -rf conftest.dir 4389else 4390 am_cv_CXX_dependencies_compiler_type=none 4391fi 4392 4393fi 4394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4395$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4396CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4397 4398 if 4399 test "x$enable_dependency_tracking" != xno \ 4400 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4401 am__fastdepCXX_TRUE= 4402 am__fastdepCXX_FALSE='#' 4403else 4404 am__fastdepCXX_TRUE='#' 4405 am__fastdepCXX_FALSE= 4406fi 4407 4408 4409for ac_prog in gawk mawk nawk awk 4410do 4411 # Extract the first word of "$ac_prog", so it can be a program name with args. 4412set dummy $ac_prog; ac_word=$2 4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4414$as_echo_n "checking for $ac_word... " >&6; } 4415if ${ac_cv_prog_AWK+:} false; then : 4416 $as_echo_n "(cached) " >&6 4417else 4418 if test -n "$AWK"; then 4419 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4420else 4421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4422for as_dir in $PATH 4423do 4424 IFS=$as_save_IFS 4425 test -z "$as_dir" && as_dir=. 4426 for ac_exec_ext in '' $ac_executable_extensions; do 4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4428 ac_cv_prog_AWK="$ac_prog" 4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4430 break 2 4431 fi 4432done 4433 done 4434IFS=$as_save_IFS 4435 4436fi 4437fi 4438AWK=$ac_cv_prog_AWK 4439if test -n "$AWK"; then 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4441$as_echo "$AWK" >&6; } 4442else 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4444$as_echo "no" >&6; } 4445fi 4446 4447 4448 test -n "$AWK" && break 4449done 4450 4451for ac_prog in 'bison -y' byacc 4452do 4453 # Extract the first word of "$ac_prog", so it can be a program name with args. 4454set dummy $ac_prog; ac_word=$2 4455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4456$as_echo_n "checking for $ac_word... " >&6; } 4457if ${ac_cv_prog_YACC+:} false; then : 4458 $as_echo_n "(cached) " >&6 4459else 4460 if test -n "$YACC"; then 4461 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4462else 4463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4464for as_dir in $PATH 4465do 4466 IFS=$as_save_IFS 4467 test -z "$as_dir" && as_dir=. 4468 for ac_exec_ext in '' $ac_executable_extensions; do 4469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4470 ac_cv_prog_YACC="$ac_prog" 4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4472 break 2 4473 fi 4474done 4475 done 4476IFS=$as_save_IFS 4477 4478fi 4479fi 4480YACC=$ac_cv_prog_YACC 4481if test -n "$YACC"; then 4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4483$as_echo "$YACC" >&6; } 4484else 4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4486$as_echo "no" >&6; } 4487fi 4488 4489 4490 test -n "$YACC" && break 4491done 4492test -n "$YACC" || YACC="yacc" 4493 4494 4495# Check whether --enable-static was given. 4496if test "${enable_static+set}" = set; then : 4497 enableval=$enable_static; p=${PACKAGE-default} 4498 case $enableval in 4499 yes) enable_static=yes ;; 4500 no) enable_static=no ;; 4501 *) 4502 enable_static=no 4503 # Look at the argument we got. We use all the common list separators. 4504 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4505 for pkg in $enableval; do 4506 IFS="$lt_save_ifs" 4507 if test "X$pkg" = "X$p"; then 4508 enable_static=yes 4509 fi 4510 done 4511 IFS="$lt_save_ifs" 4512 ;; 4513 esac 4514else 4515 enable_static=no 4516fi 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527# Make sure we can run config.sub. 4528$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4529 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4530 4531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4532$as_echo_n "checking build system type... " >&6; } 4533if ${ac_cv_build+:} false; then : 4534 $as_echo_n "(cached) " >&6 4535else 4536 ac_build_alias=$build_alias 4537test "x$ac_build_alias" = x && 4538 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4539test "x$ac_build_alias" = x && 4540 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4541ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4542 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4543 4544fi 4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4546$as_echo "$ac_cv_build" >&6; } 4547case $ac_cv_build in 4548*-*-*) ;; 4549*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4550esac 4551build=$ac_cv_build 4552ac_save_IFS=$IFS; IFS='-' 4553set x $ac_cv_build 4554shift 4555build_cpu=$1 4556build_vendor=$2 4557shift; shift 4558# Remember, the first character of IFS is used to create $*, 4559# except with old shells: 4560build_os=$* 4561IFS=$ac_save_IFS 4562case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4563 4564 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4566$as_echo_n "checking host system type... " >&6; } 4567if ${ac_cv_host+:} false; then : 4568 $as_echo_n "(cached) " >&6 4569else 4570 if test "x$host_alias" = x; then 4571 ac_cv_host=$ac_cv_build 4572else 4573 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4574 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4575fi 4576 4577fi 4578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4579$as_echo "$ac_cv_host" >&6; } 4580case $ac_cv_host in 4581*-*-*) ;; 4582*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4583esac 4584host=$ac_cv_host 4585ac_save_IFS=$IFS; IFS='-' 4586set x $ac_cv_host 4587shift 4588host_cpu=$1 4589host_vendor=$2 4590shift; shift 4591# Remember, the first character of IFS is used to create $*, 4592# except with old shells: 4593host_os=$* 4594IFS=$ac_save_IFS 4595case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4596 4597 4598enable_win32_dll=yes 4599 4600case $host in 4601*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4602 if test -n "$ac_tool_prefix"; then 4603 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4604set dummy ${ac_tool_prefix}as; ac_word=$2 4605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4606$as_echo_n "checking for $ac_word... " >&6; } 4607if ${ac_cv_prog_AS+:} false; then : 4608 $as_echo_n "(cached) " >&6 4609else 4610 if test -n "$AS"; then 4611 ac_cv_prog_AS="$AS" # Let the user override the test. 4612else 4613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4614for as_dir in $PATH 4615do 4616 IFS=$as_save_IFS 4617 test -z "$as_dir" && as_dir=. 4618 for ac_exec_ext in '' $ac_executable_extensions; do 4619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4620 ac_cv_prog_AS="${ac_tool_prefix}as" 4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4622 break 2 4623 fi 4624done 4625 done 4626IFS=$as_save_IFS 4627 4628fi 4629fi 4630AS=$ac_cv_prog_AS 4631if test -n "$AS"; then 4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4633$as_echo "$AS" >&6; } 4634else 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4636$as_echo "no" >&6; } 4637fi 4638 4639 4640fi 4641if test -z "$ac_cv_prog_AS"; then 4642 ac_ct_AS=$AS 4643 # Extract the first word of "as", so it can be a program name with args. 4644set dummy as; ac_word=$2 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4646$as_echo_n "checking for $ac_word... " >&6; } 4647if ${ac_cv_prog_ac_ct_AS+:} false; then : 4648 $as_echo_n "(cached) " >&6 4649else 4650 if test -n "$ac_ct_AS"; then 4651 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4652else 4653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4654for as_dir in $PATH 4655do 4656 IFS=$as_save_IFS 4657 test -z "$as_dir" && as_dir=. 4658 for ac_exec_ext in '' $ac_executable_extensions; do 4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4660 ac_cv_prog_ac_ct_AS="as" 4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4662 break 2 4663 fi 4664done 4665 done 4666IFS=$as_save_IFS 4667 4668fi 4669fi 4670ac_ct_AS=$ac_cv_prog_ac_ct_AS 4671if test -n "$ac_ct_AS"; then 4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4673$as_echo "$ac_ct_AS" >&6; } 4674else 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4676$as_echo "no" >&6; } 4677fi 4678 4679 if test "x$ac_ct_AS" = x; then 4680 AS="false" 4681 else 4682 case $cross_compiling:$ac_tool_warned in 4683yes:) 4684{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4685$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4686ac_tool_warned=yes ;; 4687esac 4688 AS=$ac_ct_AS 4689 fi 4690else 4691 AS="$ac_cv_prog_AS" 4692fi 4693 4694 if test -n "$ac_tool_prefix"; then 4695 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4696set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4698$as_echo_n "checking for $ac_word... " >&6; } 4699if ${ac_cv_prog_DLLTOOL+:} false; then : 4700 $as_echo_n "(cached) " >&6 4701else 4702 if test -n "$DLLTOOL"; then 4703 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4704else 4705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4706for as_dir in $PATH 4707do 4708 IFS=$as_save_IFS 4709 test -z "$as_dir" && as_dir=. 4710 for ac_exec_ext in '' $ac_executable_extensions; do 4711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4712 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4714 break 2 4715 fi 4716done 4717 done 4718IFS=$as_save_IFS 4719 4720fi 4721fi 4722DLLTOOL=$ac_cv_prog_DLLTOOL 4723if test -n "$DLLTOOL"; then 4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4725$as_echo "$DLLTOOL" >&6; } 4726else 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4728$as_echo "no" >&6; } 4729fi 4730 4731 4732fi 4733if test -z "$ac_cv_prog_DLLTOOL"; then 4734 ac_ct_DLLTOOL=$DLLTOOL 4735 # Extract the first word of "dlltool", so it can be a program name with args. 4736set dummy dlltool; ac_word=$2 4737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4738$as_echo_n "checking for $ac_word... " >&6; } 4739if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4740 $as_echo_n "(cached) " >&6 4741else 4742 if test -n "$ac_ct_DLLTOOL"; then 4743 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4744else 4745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4746for as_dir in $PATH 4747do 4748 IFS=$as_save_IFS 4749 test -z "$as_dir" && as_dir=. 4750 for ac_exec_ext in '' $ac_executable_extensions; do 4751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4752 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4754 break 2 4755 fi 4756done 4757 done 4758IFS=$as_save_IFS 4759 4760fi 4761fi 4762ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4763if test -n "$ac_ct_DLLTOOL"; then 4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4765$as_echo "$ac_ct_DLLTOOL" >&6; } 4766else 4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4768$as_echo "no" >&6; } 4769fi 4770 4771 if test "x$ac_ct_DLLTOOL" = x; then 4772 DLLTOOL="false" 4773 else 4774 case $cross_compiling:$ac_tool_warned in 4775yes:) 4776{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4777$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4778ac_tool_warned=yes ;; 4779esac 4780 DLLTOOL=$ac_ct_DLLTOOL 4781 fi 4782else 4783 DLLTOOL="$ac_cv_prog_DLLTOOL" 4784fi 4785 4786 if test -n "$ac_tool_prefix"; then 4787 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4788set dummy ${ac_tool_prefix}objdump; ac_word=$2 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4790$as_echo_n "checking for $ac_word... " >&6; } 4791if ${ac_cv_prog_OBJDUMP+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 if test -n "$OBJDUMP"; then 4795 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4796else 4797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4798for as_dir in $PATH 4799do 4800 IFS=$as_save_IFS 4801 test -z "$as_dir" && as_dir=. 4802 for ac_exec_ext in '' $ac_executable_extensions; do 4803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4804 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4806 break 2 4807 fi 4808done 4809 done 4810IFS=$as_save_IFS 4811 4812fi 4813fi 4814OBJDUMP=$ac_cv_prog_OBJDUMP 4815if test -n "$OBJDUMP"; then 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4817$as_echo "$OBJDUMP" >&6; } 4818else 4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4820$as_echo "no" >&6; } 4821fi 4822 4823 4824fi 4825if test -z "$ac_cv_prog_OBJDUMP"; then 4826 ac_ct_OBJDUMP=$OBJDUMP 4827 # Extract the first word of "objdump", so it can be a program name with args. 4828set dummy objdump; ac_word=$2 4829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4830$as_echo_n "checking for $ac_word... " >&6; } 4831if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4832 $as_echo_n "(cached) " >&6 4833else 4834 if test -n "$ac_ct_OBJDUMP"; then 4835 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4836else 4837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4838for as_dir in $PATH 4839do 4840 IFS=$as_save_IFS 4841 test -z "$as_dir" && as_dir=. 4842 for ac_exec_ext in '' $ac_executable_extensions; do 4843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4844 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4846 break 2 4847 fi 4848done 4849 done 4850IFS=$as_save_IFS 4851 4852fi 4853fi 4854ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4855if test -n "$ac_ct_OBJDUMP"; then 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4857$as_echo "$ac_ct_OBJDUMP" >&6; } 4858else 4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4860$as_echo "no" >&6; } 4861fi 4862 4863 if test "x$ac_ct_OBJDUMP" = x; then 4864 OBJDUMP="false" 4865 else 4866 case $cross_compiling:$ac_tool_warned in 4867yes:) 4868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4870ac_tool_warned=yes ;; 4871esac 4872 OBJDUMP=$ac_ct_OBJDUMP 4873 fi 4874else 4875 OBJDUMP="$ac_cv_prog_OBJDUMP" 4876fi 4877 4878 ;; 4879esac 4880 4881test -z "$AS" && AS=as 4882 4883 4884 4885 4886 4887test -z "$DLLTOOL" && DLLTOOL=dlltool 4888 4889 4890 4891 4892 4893test -z "$OBJDUMP" && OBJDUMP=objdump 4894 4895 4896 4897 4898 4899 4900 4901 4902case `pwd` in 4903 *\ * | *\ *) 4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4905$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4906esac 4907 4908 4909 4910macro_version='2.4.2' 4911macro_revision='1.3337' 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925ltmain="$ac_aux_dir/ltmain.sh" 4926 4927# Backslashify metacharacters that are still active within 4928# double-quoted strings. 4929sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4930 4931# Same as above, but do not quote variable references. 4932double_quote_subst='s/\(["`\\]\)/\\\1/g' 4933 4934# Sed substitution to delay expansion of an escaped shell variable in a 4935# double_quote_subst'ed string. 4936delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4937 4938# Sed substitution to delay expansion of an escaped single quote. 4939delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4940 4941# Sed substitution to avoid accidental globbing in evaled expressions 4942no_glob_subst='s/\*/\\\*/g' 4943 4944ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4945ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4946ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4947 4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4949$as_echo_n "checking how to print strings... " >&6; } 4950# Test print first, because it will be a builtin if present. 4951if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4952 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4953 ECHO='print -r --' 4954elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4955 ECHO='printf %s\n' 4956else 4957 # Use this function as a fallback that always works. 4958 func_fallback_echo () 4959 { 4960 eval 'cat <<_LTECHO_EOF 4961$1 4962_LTECHO_EOF' 4963 } 4964 ECHO='func_fallback_echo' 4965fi 4966 4967# func_echo_all arg... 4968# Invoke $ECHO with all args, space-separated. 4969func_echo_all () 4970{ 4971 $ECHO "" 4972} 4973 4974case "$ECHO" in 4975 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4976$as_echo "printf" >&6; } ;; 4977 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4978$as_echo "print -r" >&6; } ;; 4979 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4980$as_echo "cat" >&6; } ;; 4981esac 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4997$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4998if ${ac_cv_path_SED+:} false; then : 4999 $as_echo_n "(cached) " >&6 5000else 5001 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5002 for ac_i in 1 2 3 4 5 6 7; do 5003 ac_script="$ac_script$as_nl$ac_script" 5004 done 5005 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5006 { ac_script=; unset ac_script;} 5007 if test -z "$SED"; then 5008 ac_path_SED_found=false 5009 # Loop through the user's path and test for each of PROGNAME-LIST 5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5011for as_dir in $PATH 5012do 5013 IFS=$as_save_IFS 5014 test -z "$as_dir" && as_dir=. 5015 for ac_prog in sed gsed; do 5016 for ac_exec_ext in '' $ac_executable_extensions; do 5017 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5018 as_fn_executable_p "$ac_path_SED" || continue 5019# Check for GNU ac_path_SED and select it if it is found. 5020 # Check for GNU $ac_path_SED 5021case `"$ac_path_SED" --version 2>&1` in 5022*GNU*) 5023 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5024*) 5025 ac_count=0 5026 $as_echo_n 0123456789 >"conftest.in" 5027 while : 5028 do 5029 cat "conftest.in" "conftest.in" >"conftest.tmp" 5030 mv "conftest.tmp" "conftest.in" 5031 cp "conftest.in" "conftest.nl" 5032 $as_echo '' >> "conftest.nl" 5033 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5035 as_fn_arith $ac_count + 1 && ac_count=$as_val 5036 if test $ac_count -gt ${ac_path_SED_max-0}; then 5037 # Best one so far, save it but keep looking for a better one 5038 ac_cv_path_SED="$ac_path_SED" 5039 ac_path_SED_max=$ac_count 5040 fi 5041 # 10*(2^10) chars as input seems more than enough 5042 test $ac_count -gt 10 && break 5043 done 5044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5045esac 5046 5047 $ac_path_SED_found && break 3 5048 done 5049 done 5050 done 5051IFS=$as_save_IFS 5052 if test -z "$ac_cv_path_SED"; then 5053 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5054 fi 5055else 5056 ac_cv_path_SED=$SED 5057fi 5058 5059fi 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5061$as_echo "$ac_cv_path_SED" >&6; } 5062 SED="$ac_cv_path_SED" 5063 rm -f conftest.sed 5064 5065test -z "$SED" && SED=sed 5066Xsed="$SED -e 1s/^X//" 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5079$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5080if ${ac_cv_path_GREP+:} false; then : 5081 $as_echo_n "(cached) " >&6 5082else 5083 if test -z "$GREP"; then 5084 ac_path_GREP_found=false 5085 # Loop through the user's path and test for each of PROGNAME-LIST 5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5087for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5088do 5089 IFS=$as_save_IFS 5090 test -z "$as_dir" && as_dir=. 5091 for ac_prog in grep ggrep; do 5092 for ac_exec_ext in '' $ac_executable_extensions; do 5093 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5094 as_fn_executable_p "$ac_path_GREP" || continue 5095# Check for GNU ac_path_GREP and select it if it is found. 5096 # Check for GNU $ac_path_GREP 5097case `"$ac_path_GREP" --version 2>&1` in 5098*GNU*) 5099 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5100*) 5101 ac_count=0 5102 $as_echo_n 0123456789 >"conftest.in" 5103 while : 5104 do 5105 cat "conftest.in" "conftest.in" >"conftest.tmp" 5106 mv "conftest.tmp" "conftest.in" 5107 cp "conftest.in" "conftest.nl" 5108 $as_echo 'GREP' >> "conftest.nl" 5109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5111 as_fn_arith $ac_count + 1 && ac_count=$as_val 5112 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5113 # Best one so far, save it but keep looking for a better one 5114 ac_cv_path_GREP="$ac_path_GREP" 5115 ac_path_GREP_max=$ac_count 5116 fi 5117 # 10*(2^10) chars as input seems more than enough 5118 test $ac_count -gt 10 && break 5119 done 5120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5121esac 5122 5123 $ac_path_GREP_found && break 3 5124 done 5125 done 5126 done 5127IFS=$as_save_IFS 5128 if test -z "$ac_cv_path_GREP"; then 5129 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5130 fi 5131else 5132 ac_cv_path_GREP=$GREP 5133fi 5134 5135fi 5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5137$as_echo "$ac_cv_path_GREP" >&6; } 5138 GREP="$ac_cv_path_GREP" 5139 5140 5141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5142$as_echo_n "checking for egrep... " >&6; } 5143if ${ac_cv_path_EGREP+:} false; then : 5144 $as_echo_n "(cached) " >&6 5145else 5146 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5147 then ac_cv_path_EGREP="$GREP -E" 5148 else 5149 if test -z "$EGREP"; then 5150 ac_path_EGREP_found=false 5151 # Loop through the user's path and test for each of PROGNAME-LIST 5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5153for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5154do 5155 IFS=$as_save_IFS 5156 test -z "$as_dir" && as_dir=. 5157 for ac_prog in egrep; do 5158 for ac_exec_ext in '' $ac_executable_extensions; do 5159 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5160 as_fn_executable_p "$ac_path_EGREP" || continue 5161# Check for GNU ac_path_EGREP and select it if it is found. 5162 # Check for GNU $ac_path_EGREP 5163case `"$ac_path_EGREP" --version 2>&1` in 5164*GNU*) 5165 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5166*) 5167 ac_count=0 5168 $as_echo_n 0123456789 >"conftest.in" 5169 while : 5170 do 5171 cat "conftest.in" "conftest.in" >"conftest.tmp" 5172 mv "conftest.tmp" "conftest.in" 5173 cp "conftest.in" "conftest.nl" 5174 $as_echo 'EGREP' >> "conftest.nl" 5175 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5176 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5177 as_fn_arith $ac_count + 1 && ac_count=$as_val 5178 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5179 # Best one so far, save it but keep looking for a better one 5180 ac_cv_path_EGREP="$ac_path_EGREP" 5181 ac_path_EGREP_max=$ac_count 5182 fi 5183 # 10*(2^10) chars as input seems more than enough 5184 test $ac_count -gt 10 && break 5185 done 5186 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5187esac 5188 5189 $ac_path_EGREP_found && break 3 5190 done 5191 done 5192 done 5193IFS=$as_save_IFS 5194 if test -z "$ac_cv_path_EGREP"; then 5195 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5196 fi 5197else 5198 ac_cv_path_EGREP=$EGREP 5199fi 5200 5201 fi 5202fi 5203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5204$as_echo "$ac_cv_path_EGREP" >&6; } 5205 EGREP="$ac_cv_path_EGREP" 5206 5207 5208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5209$as_echo_n "checking for fgrep... " >&6; } 5210if ${ac_cv_path_FGREP+:} false; then : 5211 $as_echo_n "(cached) " >&6 5212else 5213 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5214 then ac_cv_path_FGREP="$GREP -F" 5215 else 5216 if test -z "$FGREP"; then 5217 ac_path_FGREP_found=false 5218 # Loop through the user's path and test for each of PROGNAME-LIST 5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5220for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5221do 5222 IFS=$as_save_IFS 5223 test -z "$as_dir" && as_dir=. 5224 for ac_prog in fgrep; do 5225 for ac_exec_ext in '' $ac_executable_extensions; do 5226 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5227 as_fn_executable_p "$ac_path_FGREP" || continue 5228# Check for GNU ac_path_FGREP and select it if it is found. 5229 # Check for GNU $ac_path_FGREP 5230case `"$ac_path_FGREP" --version 2>&1` in 5231*GNU*) 5232 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5233*) 5234 ac_count=0 5235 $as_echo_n 0123456789 >"conftest.in" 5236 while : 5237 do 5238 cat "conftest.in" "conftest.in" >"conftest.tmp" 5239 mv "conftest.tmp" "conftest.in" 5240 cp "conftest.in" "conftest.nl" 5241 $as_echo 'FGREP' >> "conftest.nl" 5242 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5244 as_fn_arith $ac_count + 1 && ac_count=$as_val 5245 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5246 # Best one so far, save it but keep looking for a better one 5247 ac_cv_path_FGREP="$ac_path_FGREP" 5248 ac_path_FGREP_max=$ac_count 5249 fi 5250 # 10*(2^10) chars as input seems more than enough 5251 test $ac_count -gt 10 && break 5252 done 5253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5254esac 5255 5256 $ac_path_FGREP_found && break 3 5257 done 5258 done 5259 done 5260IFS=$as_save_IFS 5261 if test -z "$ac_cv_path_FGREP"; then 5262 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5263 fi 5264else 5265 ac_cv_path_FGREP=$FGREP 5266fi 5267 5268 fi 5269fi 5270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5271$as_echo "$ac_cv_path_FGREP" >&6; } 5272 FGREP="$ac_cv_path_FGREP" 5273 5274 5275test -z "$GREP" && GREP=grep 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295# Check whether --with-gnu-ld was given. 5296if test "${with_gnu_ld+set}" = set; then : 5297 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5298else 5299 with_gnu_ld=no 5300fi 5301 5302ac_prog=ld 5303if test "$GCC" = yes; then 5304 # Check if gcc -print-prog-name=ld gives a path. 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5306$as_echo_n "checking for ld used by $CC... " >&6; } 5307 case $host in 5308 *-*-mingw*) 5309 # gcc leaves a trailing carriage return which upsets mingw 5310 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5311 *) 5312 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5313 esac 5314 case $ac_prog in 5315 # Accept absolute paths. 5316 [\\/]* | ?:[\\/]*) 5317 re_direlt='/[^/][^/]*/\.\./' 5318 # Canonicalize the pathname of ld 5319 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5320 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5321 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5322 done 5323 test -z "$LD" && LD="$ac_prog" 5324 ;; 5325 "") 5326 # If it fails, then pretend we aren't using GCC. 5327 ac_prog=ld 5328 ;; 5329 *) 5330 # If it is relative, then search for the first ld in PATH. 5331 with_gnu_ld=unknown 5332 ;; 5333 esac 5334elif test "$with_gnu_ld" = yes; then 5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5336$as_echo_n "checking for GNU ld... " >&6; } 5337else 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5339$as_echo_n "checking for non-GNU ld... " >&6; } 5340fi 5341if ${lt_cv_path_LD+:} false; then : 5342 $as_echo_n "(cached) " >&6 5343else 5344 if test -z "$LD"; then 5345 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5346 for ac_dir in $PATH; do 5347 IFS="$lt_save_ifs" 5348 test -z "$ac_dir" && ac_dir=. 5349 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5350 lt_cv_path_LD="$ac_dir/$ac_prog" 5351 # Check to see if the program is GNU ld. I'd rather use --version, 5352 # but apparently some variants of GNU ld only accept -v. 5353 # Break only if it was the GNU/non-GNU ld that we prefer. 5354 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5355 *GNU* | *'with BFD'*) 5356 test "$with_gnu_ld" != no && break 5357 ;; 5358 *) 5359 test "$with_gnu_ld" != yes && break 5360 ;; 5361 esac 5362 fi 5363 done 5364 IFS="$lt_save_ifs" 5365else 5366 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5367fi 5368fi 5369 5370LD="$lt_cv_path_LD" 5371if test -n "$LD"; then 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5373$as_echo "$LD" >&6; } 5374else 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5376$as_echo "no" >&6; } 5377fi 5378test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5380$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5381if ${lt_cv_prog_gnu_ld+:} false; then : 5382 $as_echo_n "(cached) " >&6 5383else 5384 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5385case `$LD -v 2>&1 </dev/null` in 5386*GNU* | *'with BFD'*) 5387 lt_cv_prog_gnu_ld=yes 5388 ;; 5389*) 5390 lt_cv_prog_gnu_ld=no 5391 ;; 5392esac 5393fi 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5395$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5396with_gnu_ld=$lt_cv_prog_gnu_ld 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5407$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5408if ${lt_cv_path_NM+:} false; then : 5409 $as_echo_n "(cached) " >&6 5410else 5411 if test -n "$NM"; then 5412 # Let the user override the test. 5413 lt_cv_path_NM="$NM" 5414else 5415 lt_nm_to_check="${ac_tool_prefix}nm" 5416 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5417 lt_nm_to_check="$lt_nm_to_check nm" 5418 fi 5419 for lt_tmp_nm in $lt_nm_to_check; do 5420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5421 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5422 IFS="$lt_save_ifs" 5423 test -z "$ac_dir" && ac_dir=. 5424 tmp_nm="$ac_dir/$lt_tmp_nm" 5425 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5426 # Check to see if the nm accepts a BSD-compat flag. 5427 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5428 # nm: unknown option "B" ignored 5429 # Tru64's nm complains that /dev/null is an invalid object file 5430 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5431 */dev/null* | *'Invalid file or object type'*) 5432 lt_cv_path_NM="$tmp_nm -B" 5433 break 5434 ;; 5435 *) 5436 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5437 */dev/null*) 5438 lt_cv_path_NM="$tmp_nm -p" 5439 break 5440 ;; 5441 *) 5442 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5443 continue # so that we can try to find one that supports BSD flags 5444 ;; 5445 esac 5446 ;; 5447 esac 5448 fi 5449 done 5450 IFS="$lt_save_ifs" 5451 done 5452 : ${lt_cv_path_NM=no} 5453fi 5454fi 5455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5456$as_echo "$lt_cv_path_NM" >&6; } 5457if test "$lt_cv_path_NM" != "no"; then 5458 NM="$lt_cv_path_NM" 5459else 5460 # Didn't find any BSD compatible name lister, look for dumpbin. 5461 if test -n "$DUMPBIN"; then : 5462 # Let the user override the test. 5463 else 5464 if test -n "$ac_tool_prefix"; then 5465 for ac_prog in dumpbin "link -dump" 5466 do 5467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5468set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5470$as_echo_n "checking for $ac_word... " >&6; } 5471if ${ac_cv_prog_DUMPBIN+:} false; then : 5472 $as_echo_n "(cached) " >&6 5473else 5474 if test -n "$DUMPBIN"; then 5475 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5476else 5477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5478for as_dir in $PATH 5479do 5480 IFS=$as_save_IFS 5481 test -z "$as_dir" && as_dir=. 5482 for ac_exec_ext in '' $ac_executable_extensions; do 5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5484 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5486 break 2 5487 fi 5488done 5489 done 5490IFS=$as_save_IFS 5491 5492fi 5493fi 5494DUMPBIN=$ac_cv_prog_DUMPBIN 5495if test -n "$DUMPBIN"; then 5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5497$as_echo "$DUMPBIN" >&6; } 5498else 5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5500$as_echo "no" >&6; } 5501fi 5502 5503 5504 test -n "$DUMPBIN" && break 5505 done 5506fi 5507if test -z "$DUMPBIN"; then 5508 ac_ct_DUMPBIN=$DUMPBIN 5509 for ac_prog in dumpbin "link -dump" 5510do 5511 # Extract the first word of "$ac_prog", so it can be a program name with args. 5512set dummy $ac_prog; ac_word=$2 5513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5514$as_echo_n "checking for $ac_word... " >&6; } 5515if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5516 $as_echo_n "(cached) " >&6 5517else 5518 if test -n "$ac_ct_DUMPBIN"; then 5519 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5520else 5521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5522for as_dir in $PATH 5523do 5524 IFS=$as_save_IFS 5525 test -z "$as_dir" && as_dir=. 5526 for ac_exec_ext in '' $ac_executable_extensions; do 5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5528 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5530 break 2 5531 fi 5532done 5533 done 5534IFS=$as_save_IFS 5535 5536fi 5537fi 5538ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5539if test -n "$ac_ct_DUMPBIN"; then 5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5541$as_echo "$ac_ct_DUMPBIN" >&6; } 5542else 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5544$as_echo "no" >&6; } 5545fi 5546 5547 5548 test -n "$ac_ct_DUMPBIN" && break 5549done 5550 5551 if test "x$ac_ct_DUMPBIN" = x; then 5552 DUMPBIN=":" 5553 else 5554 case $cross_compiling:$ac_tool_warned in 5555yes:) 5556{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5557$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5558ac_tool_warned=yes ;; 5559esac 5560 DUMPBIN=$ac_ct_DUMPBIN 5561 fi 5562fi 5563 5564 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5565 *COFF*) 5566 DUMPBIN="$DUMPBIN -symbols" 5567 ;; 5568 *) 5569 DUMPBIN=: 5570 ;; 5571 esac 5572 fi 5573 5574 if test "$DUMPBIN" != ":"; then 5575 NM="$DUMPBIN" 5576 fi 5577fi 5578test -z "$NM" && NM=nm 5579 5580 5581 5582 5583 5584 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5586$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5587if ${lt_cv_nm_interface+:} false; then : 5588 $as_echo_n "(cached) " >&6 5589else 5590 lt_cv_nm_interface="BSD nm" 5591 echo "int some_variable = 0;" > conftest.$ac_ext 5592 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5593 (eval "$ac_compile" 2>conftest.err) 5594 cat conftest.err >&5 5595 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5596 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5597 cat conftest.err >&5 5598 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5599 cat conftest.out >&5 5600 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5601 lt_cv_nm_interface="MS dumpbin" 5602 fi 5603 rm -f conftest* 5604fi 5605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5606$as_echo "$lt_cv_nm_interface" >&6; } 5607 5608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5609$as_echo_n "checking whether ln -s works... " >&6; } 5610LN_S=$as_ln_s 5611if test "$LN_S" = "ln -s"; then 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5613$as_echo "yes" >&6; } 5614else 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5616$as_echo "no, using $LN_S" >&6; } 5617fi 5618 5619# find the maximum length of command line arguments 5620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5621$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5622if ${lt_cv_sys_max_cmd_len+:} false; then : 5623 $as_echo_n "(cached) " >&6 5624else 5625 i=0 5626 teststring="ABCD" 5627 5628 case $build_os in 5629 msdosdjgpp*) 5630 # On DJGPP, this test can blow up pretty badly due to problems in libc 5631 # (any single argument exceeding 2000 bytes causes a buffer overrun 5632 # during glob expansion). Even if it were fixed, the result of this 5633 # check would be larger than it should be. 5634 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5635 ;; 5636 5637 gnu*) 5638 # Under GNU Hurd, this test is not required because there is 5639 # no limit to the length of command line arguments. 5640 # Libtool will interpret -1 as no limit whatsoever 5641 lt_cv_sys_max_cmd_len=-1; 5642 ;; 5643 5644 cygwin* | mingw* | cegcc*) 5645 # On Win9x/ME, this test blows up -- it succeeds, but takes 5646 # about 5 minutes as the teststring grows exponentially. 5647 # Worse, since 9x/ME are not pre-emptively multitasking, 5648 # you end up with a "frozen" computer, even though with patience 5649 # the test eventually succeeds (with a max line length of 256k). 5650 # Instead, let's just punt: use the minimum linelength reported by 5651 # all of the supported platforms: 8192 (on NT/2K/XP). 5652 lt_cv_sys_max_cmd_len=8192; 5653 ;; 5654 5655 mint*) 5656 # On MiNT this can take a long time and run out of memory. 5657 lt_cv_sys_max_cmd_len=8192; 5658 ;; 5659 5660 amigaos*) 5661 # On AmigaOS with pdksh, this test takes hours, literally. 5662 # So we just punt and use a minimum line length of 8192. 5663 lt_cv_sys_max_cmd_len=8192; 5664 ;; 5665 5666 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5667 # This has been around since 386BSD, at least. Likely further. 5668 if test -x /sbin/sysctl; then 5669 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5670 elif test -x /usr/sbin/sysctl; then 5671 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5672 else 5673 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5674 fi 5675 # And add a safety zone 5676 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5678 ;; 5679 5680 interix*) 5681 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5682 lt_cv_sys_max_cmd_len=196608 5683 ;; 5684 5685 os2*) 5686 # The test takes a long time on OS/2. 5687 lt_cv_sys_max_cmd_len=8192 5688 ;; 5689 5690 osf*) 5691 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5692 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5693 # nice to cause kernel panics so lets avoid the loop below. 5694 # First set a reasonable default. 5695 lt_cv_sys_max_cmd_len=16384 5696 # 5697 if test -x /sbin/sysconfig; then 5698 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5699 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5700 esac 5701 fi 5702 ;; 5703 sco3.2v5*) 5704 lt_cv_sys_max_cmd_len=102400 5705 ;; 5706 sysv5* | sco5v6* | sysv4.2uw2*) 5707 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5708 if test -n "$kargmax"; then 5709 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5710 else 5711 lt_cv_sys_max_cmd_len=32768 5712 fi 5713 ;; 5714 *) 5715 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5716 if test -n "$lt_cv_sys_max_cmd_len"; then 5717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5719 else 5720 # Make teststring a little bigger before we do anything with it. 5721 # a 1K string should be a reasonable start. 5722 for i in 1 2 3 4 5 6 7 8 ; do 5723 teststring=$teststring$teststring 5724 done 5725 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5726 # If test is not a shell built-in, we'll probably end up computing a 5727 # maximum length that is only half of the actual maximum length, but 5728 # we can't tell. 5729 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5730 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5731 test $i != 17 # 1/2 MB should be enough 5732 do 5733 i=`expr $i + 1` 5734 teststring=$teststring$teststring 5735 done 5736 # Only check the string length outside the loop. 5737 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5738 teststring= 5739 # Add a significant safety factor because C++ compilers can tack on 5740 # massive amounts of additional arguments before passing them to the 5741 # linker. It appears as though 1/2 is a usable value. 5742 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5743 fi 5744 ;; 5745 esac 5746 5747fi 5748 5749if test -n $lt_cv_sys_max_cmd_len ; then 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5751$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5752else 5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5754$as_echo "none" >&6; } 5755fi 5756max_cmd_len=$lt_cv_sys_max_cmd_len 5757 5758 5759 5760 5761 5762 5763: ${CP="cp -f"} 5764: ${MV="mv -f"} 5765: ${RM="rm -f"} 5766 5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5768$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5769# Try some XSI features 5770xsi_shell=no 5771( _lt_dummy="a/b/c" 5772 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5773 = c,a/b,b/c, \ 5774 && eval 'test $(( 1 + 1 )) -eq 2 \ 5775 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5776 && xsi_shell=yes 5777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5778$as_echo "$xsi_shell" >&6; } 5779 5780 5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5782$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5783lt_shell_append=no 5784( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5785 >/dev/null 2>&1 \ 5786 && lt_shell_append=yes 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5788$as_echo "$lt_shell_append" >&6; } 5789 5790 5791if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5792 lt_unset=unset 5793else 5794 lt_unset=false 5795fi 5796 5797 5798 5799 5800 5801# test EBCDIC or ASCII 5802case `echo X|tr X '\101'` in 5803 A) # ASCII based system 5804 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5805 lt_SP2NL='tr \040 \012' 5806 lt_NL2SP='tr \015\012 \040\040' 5807 ;; 5808 *) # EBCDIC based system 5809 lt_SP2NL='tr \100 \n' 5810 lt_NL2SP='tr \r\n \100\100' 5811 ;; 5812esac 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5823$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5824if ${lt_cv_to_host_file_cmd+:} false; then : 5825 $as_echo_n "(cached) " >&6 5826else 5827 case $host in 5828 *-*-mingw* ) 5829 case $build in 5830 *-*-mingw* ) # actually msys 5831 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5832 ;; 5833 *-*-cygwin* ) 5834 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5835 ;; 5836 * ) # otherwise, assume *nix 5837 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5838 ;; 5839 esac 5840 ;; 5841 *-*-cygwin* ) 5842 case $build in 5843 *-*-mingw* ) # actually msys 5844 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5845 ;; 5846 *-*-cygwin* ) 5847 lt_cv_to_host_file_cmd=func_convert_file_noop 5848 ;; 5849 * ) # otherwise, assume *nix 5850 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5851 ;; 5852 esac 5853 ;; 5854 * ) # unhandled hosts (and "normal" native builds) 5855 lt_cv_to_host_file_cmd=func_convert_file_noop 5856 ;; 5857esac 5858 5859fi 5860 5861to_host_file_cmd=$lt_cv_to_host_file_cmd 5862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5863$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5864 5865 5866 5867 5868 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5870$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5871if ${lt_cv_to_tool_file_cmd+:} false; then : 5872 $as_echo_n "(cached) " >&6 5873else 5874 #assume ordinary cross tools, or native build. 5875lt_cv_to_tool_file_cmd=func_convert_file_noop 5876case $host in 5877 *-*-mingw* ) 5878 case $build in 5879 *-*-mingw* ) # actually msys 5880 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5881 ;; 5882 esac 5883 ;; 5884esac 5885 5886fi 5887 5888to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5890$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5891 5892 5893 5894 5895 5896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5897$as_echo_n "checking for $LD option to reload object files... " >&6; } 5898if ${lt_cv_ld_reload_flag+:} false; then : 5899 $as_echo_n "(cached) " >&6 5900else 5901 lt_cv_ld_reload_flag='-r' 5902fi 5903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5904$as_echo "$lt_cv_ld_reload_flag" >&6; } 5905reload_flag=$lt_cv_ld_reload_flag 5906case $reload_flag in 5907"" | " "*) ;; 5908*) reload_flag=" $reload_flag" ;; 5909esac 5910reload_cmds='$LD$reload_flag -o $output$reload_objs' 5911case $host_os in 5912 cygwin* | mingw* | pw32* | cegcc*) 5913 if test "$GCC" != yes; then 5914 reload_cmds=false 5915 fi 5916 ;; 5917 darwin*) 5918 if test "$GCC" = yes; then 5919 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5920 else 5921 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5922 fi 5923 ;; 5924esac 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934if test -n "$ac_tool_prefix"; then 5935 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5936set dummy ${ac_tool_prefix}objdump; ac_word=$2 5937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5938$as_echo_n "checking for $ac_word... " >&6; } 5939if ${ac_cv_prog_OBJDUMP+:} false; then : 5940 $as_echo_n "(cached) " >&6 5941else 5942 if test -n "$OBJDUMP"; then 5943 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5944else 5945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5946for as_dir in $PATH 5947do 5948 IFS=$as_save_IFS 5949 test -z "$as_dir" && as_dir=. 5950 for ac_exec_ext in '' $ac_executable_extensions; do 5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5952 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5954 break 2 5955 fi 5956done 5957 done 5958IFS=$as_save_IFS 5959 5960fi 5961fi 5962OBJDUMP=$ac_cv_prog_OBJDUMP 5963if test -n "$OBJDUMP"; then 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5965$as_echo "$OBJDUMP" >&6; } 5966else 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5968$as_echo "no" >&6; } 5969fi 5970 5971 5972fi 5973if test -z "$ac_cv_prog_OBJDUMP"; then 5974 ac_ct_OBJDUMP=$OBJDUMP 5975 # Extract the first word of "objdump", so it can be a program name with args. 5976set dummy objdump; ac_word=$2 5977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5978$as_echo_n "checking for $ac_word... " >&6; } 5979if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5980 $as_echo_n "(cached) " >&6 5981else 5982 if test -n "$ac_ct_OBJDUMP"; then 5983 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5984else 5985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5986for as_dir in $PATH 5987do 5988 IFS=$as_save_IFS 5989 test -z "$as_dir" && as_dir=. 5990 for ac_exec_ext in '' $ac_executable_extensions; do 5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5992 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5994 break 2 5995 fi 5996done 5997 done 5998IFS=$as_save_IFS 5999 6000fi 6001fi 6002ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6003if test -n "$ac_ct_OBJDUMP"; then 6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6005$as_echo "$ac_ct_OBJDUMP" >&6; } 6006else 6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6008$as_echo "no" >&6; } 6009fi 6010 6011 if test "x$ac_ct_OBJDUMP" = x; then 6012 OBJDUMP="false" 6013 else 6014 case $cross_compiling:$ac_tool_warned in 6015yes:) 6016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6018ac_tool_warned=yes ;; 6019esac 6020 OBJDUMP=$ac_ct_OBJDUMP 6021 fi 6022else 6023 OBJDUMP="$ac_cv_prog_OBJDUMP" 6024fi 6025 6026test -z "$OBJDUMP" && OBJDUMP=objdump 6027 6028 6029 6030 6031 6032 6033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6034$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6035if ${lt_cv_deplibs_check_method+:} false; then : 6036 $as_echo_n "(cached) " >&6 6037else 6038 lt_cv_file_magic_cmd='$MAGIC_CMD' 6039lt_cv_file_magic_test_file= 6040lt_cv_deplibs_check_method='unknown' 6041# Need to set the preceding variable on all platforms that support 6042# interlibrary dependencies. 6043# 'none' -- dependencies not supported. 6044# `unknown' -- same as none, but documents that we really don't know. 6045# 'pass_all' -- all dependencies passed with no checks. 6046# 'test_compile' -- check by making test program. 6047# 'file_magic [[regex]]' -- check by looking for files in library path 6048# which responds to the $file_magic_cmd with a given extended regex. 6049# If you have `file' or equivalent on your system and you're not sure 6050# whether `pass_all' will *always* work, you probably want this one. 6051 6052case $host_os in 6053aix[4-9]*) 6054 lt_cv_deplibs_check_method=pass_all 6055 ;; 6056 6057beos*) 6058 lt_cv_deplibs_check_method=pass_all 6059 ;; 6060 6061bsdi[45]*) 6062 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6063 lt_cv_file_magic_cmd='/usr/bin/file -L' 6064 lt_cv_file_magic_test_file=/shlib/libc.so 6065 ;; 6066 6067cygwin*) 6068 # func_win32_libid is a shell function defined in ltmain.sh 6069 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6070 lt_cv_file_magic_cmd='func_win32_libid' 6071 ;; 6072 6073mingw* | pw32*) 6074 # Base MSYS/MinGW do not provide the 'file' command needed by 6075 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6076 # unless we find 'file', for example because we are cross-compiling. 6077 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6078 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6079 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6080 lt_cv_file_magic_cmd='func_win32_libid' 6081 else 6082 # Keep this pattern in sync with the one in func_win32_libid. 6083 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6084 lt_cv_file_magic_cmd='$OBJDUMP -f' 6085 fi 6086 ;; 6087 6088cegcc*) 6089 # use the weaker test based on 'objdump'. See mingw*. 6090 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6091 lt_cv_file_magic_cmd='$OBJDUMP -f' 6092 ;; 6093 6094darwin* | rhapsody*) 6095 lt_cv_deplibs_check_method=pass_all 6096 ;; 6097 6098freebsd* | dragonfly*) 6099 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6100 case $host_cpu in 6101 i*86 ) 6102 # Not sure whether the presence of OpenBSD here was a mistake. 6103 # Let's accept both of them until this is cleared up. 6104 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6105 lt_cv_file_magic_cmd=/usr/bin/file 6106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6107 ;; 6108 esac 6109 else 6110 lt_cv_deplibs_check_method=pass_all 6111 fi 6112 ;; 6113 6114gnu*) 6115 lt_cv_deplibs_check_method=pass_all 6116 ;; 6117 6118haiku*) 6119 lt_cv_deplibs_check_method=pass_all 6120 ;; 6121 6122hpux10.20* | hpux11*) 6123 lt_cv_file_magic_cmd=/usr/bin/file 6124 case $host_cpu in 6125 ia64*) 6126 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6127 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6128 ;; 6129 hppa*64*) 6130 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]' 6131 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6132 ;; 6133 *) 6134 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6135 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6136 ;; 6137 esac 6138 ;; 6139 6140interix[3-9]*) 6141 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6142 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6143 ;; 6144 6145irix5* | irix6* | nonstopux*) 6146 case $LD in 6147 *-32|*"-32 ") libmagic=32-bit;; 6148 *-n32|*"-n32 ") libmagic=N32;; 6149 *-64|*"-64 ") libmagic=64-bit;; 6150 *) libmagic=never-match;; 6151 esac 6152 lt_cv_deplibs_check_method=pass_all 6153 ;; 6154 6155# This must be glibc/ELF. 6156linux* | k*bsd*-gnu | kopensolaris*-gnu) 6157 lt_cv_deplibs_check_method=pass_all 6158 ;; 6159 6160netbsd*) 6161 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6162 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6163 else 6164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6165 fi 6166 ;; 6167 6168newos6*) 6169 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6170 lt_cv_file_magic_cmd=/usr/bin/file 6171 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6172 ;; 6173 6174*nto* | *qnx*) 6175 lt_cv_deplibs_check_method=pass_all 6176 ;; 6177 6178openbsd*) 6179 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6181 else 6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6183 fi 6184 ;; 6185 6186osf3* | osf4* | osf5*) 6187 lt_cv_deplibs_check_method=pass_all 6188 ;; 6189 6190rdos*) 6191 lt_cv_deplibs_check_method=pass_all 6192 ;; 6193 6194solaris*) 6195 lt_cv_deplibs_check_method=pass_all 6196 ;; 6197 6198sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6199 lt_cv_deplibs_check_method=pass_all 6200 ;; 6201 6202sysv4 | sysv4.3*) 6203 case $host_vendor in 6204 motorola) 6205 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]' 6206 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6207 ;; 6208 ncr) 6209 lt_cv_deplibs_check_method=pass_all 6210 ;; 6211 sequent) 6212 lt_cv_file_magic_cmd='/bin/file' 6213 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6214 ;; 6215 sni) 6216 lt_cv_file_magic_cmd='/bin/file' 6217 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6218 lt_cv_file_magic_test_file=/lib/libc.so 6219 ;; 6220 siemens) 6221 lt_cv_deplibs_check_method=pass_all 6222 ;; 6223 pc) 6224 lt_cv_deplibs_check_method=pass_all 6225 ;; 6226 esac 6227 ;; 6228 6229tpf*) 6230 lt_cv_deplibs_check_method=pass_all 6231 ;; 6232esac 6233 6234fi 6235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6236$as_echo "$lt_cv_deplibs_check_method" >&6; } 6237 6238file_magic_glob= 6239want_nocaseglob=no 6240if test "$build" = "$host"; then 6241 case $host_os in 6242 mingw* | pw32*) 6243 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6244 want_nocaseglob=yes 6245 else 6246 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6247 fi 6248 ;; 6249 esac 6250fi 6251 6252file_magic_cmd=$lt_cv_file_magic_cmd 6253deplibs_check_method=$lt_cv_deplibs_check_method 6254test -z "$deplibs_check_method" && deplibs_check_method=unknown 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277if test -n "$ac_tool_prefix"; then 6278 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6279set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6281$as_echo_n "checking for $ac_word... " >&6; } 6282if ${ac_cv_prog_DLLTOOL+:} false; then : 6283 $as_echo_n "(cached) " >&6 6284else 6285 if test -n "$DLLTOOL"; then 6286 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6287else 6288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6289for as_dir in $PATH 6290do 6291 IFS=$as_save_IFS 6292 test -z "$as_dir" && as_dir=. 6293 for ac_exec_ext in '' $ac_executable_extensions; do 6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6295 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6297 break 2 6298 fi 6299done 6300 done 6301IFS=$as_save_IFS 6302 6303fi 6304fi 6305DLLTOOL=$ac_cv_prog_DLLTOOL 6306if test -n "$DLLTOOL"; then 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6308$as_echo "$DLLTOOL" >&6; } 6309else 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6311$as_echo "no" >&6; } 6312fi 6313 6314 6315fi 6316if test -z "$ac_cv_prog_DLLTOOL"; then 6317 ac_ct_DLLTOOL=$DLLTOOL 6318 # Extract the first word of "dlltool", so it can be a program name with args. 6319set dummy dlltool; ac_word=$2 6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6321$as_echo_n "checking for $ac_word... " >&6; } 6322if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6323 $as_echo_n "(cached) " >&6 6324else 6325 if test -n "$ac_ct_DLLTOOL"; then 6326 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6327else 6328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6329for as_dir in $PATH 6330do 6331 IFS=$as_save_IFS 6332 test -z "$as_dir" && as_dir=. 6333 for ac_exec_ext in '' $ac_executable_extensions; do 6334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6335 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6337 break 2 6338 fi 6339done 6340 done 6341IFS=$as_save_IFS 6342 6343fi 6344fi 6345ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6346if test -n "$ac_ct_DLLTOOL"; then 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6348$as_echo "$ac_ct_DLLTOOL" >&6; } 6349else 6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6351$as_echo "no" >&6; } 6352fi 6353 6354 if test "x$ac_ct_DLLTOOL" = x; then 6355 DLLTOOL="false" 6356 else 6357 case $cross_compiling:$ac_tool_warned in 6358yes:) 6359{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6360$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6361ac_tool_warned=yes ;; 6362esac 6363 DLLTOOL=$ac_ct_DLLTOOL 6364 fi 6365else 6366 DLLTOOL="$ac_cv_prog_DLLTOOL" 6367fi 6368 6369test -z "$DLLTOOL" && DLLTOOL=dlltool 6370 6371 6372 6373 6374 6375 6376 6377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6378$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6379if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6380 $as_echo_n "(cached) " >&6 6381else 6382 lt_cv_sharedlib_from_linklib_cmd='unknown' 6383 6384case $host_os in 6385cygwin* | mingw* | pw32* | cegcc*) 6386 # two different shell functions defined in ltmain.sh 6387 # decide which to use based on capabilities of $DLLTOOL 6388 case `$DLLTOOL --help 2>&1` in 6389 *--identify-strict*) 6390 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6391 ;; 6392 *) 6393 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6394 ;; 6395 esac 6396 ;; 6397*) 6398 # fallback: assume linklib IS sharedlib 6399 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6400 ;; 6401esac 6402 6403fi 6404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6405$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6406sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6407test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6408 6409 6410 6411 6412 6413 6414 6415 6416if test -n "$ac_tool_prefix"; then 6417 for ac_prog in ar 6418 do 6419 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6420set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6422$as_echo_n "checking for $ac_word... " >&6; } 6423if ${ac_cv_prog_AR+:} false; then : 6424 $as_echo_n "(cached) " >&6 6425else 6426 if test -n "$AR"; then 6427 ac_cv_prog_AR="$AR" # Let the user override the test. 6428else 6429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6430for as_dir in $PATH 6431do 6432 IFS=$as_save_IFS 6433 test -z "$as_dir" && as_dir=. 6434 for ac_exec_ext in '' $ac_executable_extensions; do 6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6436 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6438 break 2 6439 fi 6440done 6441 done 6442IFS=$as_save_IFS 6443 6444fi 6445fi 6446AR=$ac_cv_prog_AR 6447if test -n "$AR"; then 6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6449$as_echo "$AR" >&6; } 6450else 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6452$as_echo "no" >&6; } 6453fi 6454 6455 6456 test -n "$AR" && break 6457 done 6458fi 6459if test -z "$AR"; then 6460 ac_ct_AR=$AR 6461 for ac_prog in ar 6462do 6463 # Extract the first word of "$ac_prog", so it can be a program name with args. 6464set dummy $ac_prog; ac_word=$2 6465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6466$as_echo_n "checking for $ac_word... " >&6; } 6467if ${ac_cv_prog_ac_ct_AR+:} false; then : 6468 $as_echo_n "(cached) " >&6 6469else 6470 if test -n "$ac_ct_AR"; then 6471 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6472else 6473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6474for as_dir in $PATH 6475do 6476 IFS=$as_save_IFS 6477 test -z "$as_dir" && as_dir=. 6478 for ac_exec_ext in '' $ac_executable_extensions; do 6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6480 ac_cv_prog_ac_ct_AR="$ac_prog" 6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6482 break 2 6483 fi 6484done 6485 done 6486IFS=$as_save_IFS 6487 6488fi 6489fi 6490ac_ct_AR=$ac_cv_prog_ac_ct_AR 6491if test -n "$ac_ct_AR"; then 6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6493$as_echo "$ac_ct_AR" >&6; } 6494else 6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6496$as_echo "no" >&6; } 6497fi 6498 6499 6500 test -n "$ac_ct_AR" && break 6501done 6502 6503 if test "x$ac_ct_AR" = x; then 6504 AR="false" 6505 else 6506 case $cross_compiling:$ac_tool_warned in 6507yes:) 6508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6510ac_tool_warned=yes ;; 6511esac 6512 AR=$ac_ct_AR 6513 fi 6514fi 6515 6516: ${AR=ar} 6517: ${AR_FLAGS=cru} 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6530$as_echo_n "checking for archiver @FILE support... " >&6; } 6531if ${lt_cv_ar_at_file+:} false; then : 6532 $as_echo_n "(cached) " >&6 6533else 6534 lt_cv_ar_at_file=no 6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6536/* end confdefs.h. */ 6537 6538int 6539main () 6540{ 6541 6542 ; 6543 return 0; 6544} 6545_ACEOF 6546if ac_fn_cxx_try_compile "$LINENO"; then : 6547 echo conftest.$ac_objext > conftest.lst 6548 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6549 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6550 (eval $lt_ar_try) 2>&5 6551 ac_status=$? 6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6553 test $ac_status = 0; } 6554 if test "$ac_status" -eq 0; then 6555 # Ensure the archiver fails upon bogus file names. 6556 rm -f conftest.$ac_objext libconftest.a 6557 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6558 (eval $lt_ar_try) 2>&5 6559 ac_status=$? 6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6561 test $ac_status = 0; } 6562 if test "$ac_status" -ne 0; then 6563 lt_cv_ar_at_file=@ 6564 fi 6565 fi 6566 rm -f conftest.* libconftest.a 6567 6568fi 6569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6570 6571fi 6572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6573$as_echo "$lt_cv_ar_at_file" >&6; } 6574 6575if test "x$lt_cv_ar_at_file" = xno; then 6576 archiver_list_spec= 6577else 6578 archiver_list_spec=$lt_cv_ar_at_file 6579fi 6580 6581 6582 6583 6584 6585 6586 6587if test -n "$ac_tool_prefix"; then 6588 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6589set dummy ${ac_tool_prefix}strip; ac_word=$2 6590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6591$as_echo_n "checking for $ac_word... " >&6; } 6592if ${ac_cv_prog_STRIP+:} false; then : 6593 $as_echo_n "(cached) " >&6 6594else 6595 if test -n "$STRIP"; then 6596 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6597else 6598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6599for as_dir in $PATH 6600do 6601 IFS=$as_save_IFS 6602 test -z "$as_dir" && as_dir=. 6603 for ac_exec_ext in '' $ac_executable_extensions; do 6604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6605 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6607 break 2 6608 fi 6609done 6610 done 6611IFS=$as_save_IFS 6612 6613fi 6614fi 6615STRIP=$ac_cv_prog_STRIP 6616if test -n "$STRIP"; then 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6618$as_echo "$STRIP" >&6; } 6619else 6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6621$as_echo "no" >&6; } 6622fi 6623 6624 6625fi 6626if test -z "$ac_cv_prog_STRIP"; then 6627 ac_ct_STRIP=$STRIP 6628 # Extract the first word of "strip", so it can be a program name with args. 6629set dummy strip; ac_word=$2 6630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6631$as_echo_n "checking for $ac_word... " >&6; } 6632if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6633 $as_echo_n "(cached) " >&6 6634else 6635 if test -n "$ac_ct_STRIP"; then 6636 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6637else 6638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6639for as_dir in $PATH 6640do 6641 IFS=$as_save_IFS 6642 test -z "$as_dir" && as_dir=. 6643 for ac_exec_ext in '' $ac_executable_extensions; do 6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6645 ac_cv_prog_ac_ct_STRIP="strip" 6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6647 break 2 6648 fi 6649done 6650 done 6651IFS=$as_save_IFS 6652 6653fi 6654fi 6655ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6656if test -n "$ac_ct_STRIP"; then 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6658$as_echo "$ac_ct_STRIP" >&6; } 6659else 6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6661$as_echo "no" >&6; } 6662fi 6663 6664 if test "x$ac_ct_STRIP" = x; then 6665 STRIP=":" 6666 else 6667 case $cross_compiling:$ac_tool_warned in 6668yes:) 6669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6671ac_tool_warned=yes ;; 6672esac 6673 STRIP=$ac_ct_STRIP 6674 fi 6675else 6676 STRIP="$ac_cv_prog_STRIP" 6677fi 6678 6679test -z "$STRIP" && STRIP=: 6680 6681 6682 6683 6684 6685 6686if test -n "$ac_tool_prefix"; then 6687 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6688set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6690$as_echo_n "checking for $ac_word... " >&6; } 6691if ${ac_cv_prog_RANLIB+:} false; then : 6692 $as_echo_n "(cached) " >&6 6693else 6694 if test -n "$RANLIB"; then 6695 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6696else 6697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6698for as_dir in $PATH 6699do 6700 IFS=$as_save_IFS 6701 test -z "$as_dir" && as_dir=. 6702 for ac_exec_ext in '' $ac_executable_extensions; do 6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6704 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6706 break 2 6707 fi 6708done 6709 done 6710IFS=$as_save_IFS 6711 6712fi 6713fi 6714RANLIB=$ac_cv_prog_RANLIB 6715if test -n "$RANLIB"; then 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6717$as_echo "$RANLIB" >&6; } 6718else 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6720$as_echo "no" >&6; } 6721fi 6722 6723 6724fi 6725if test -z "$ac_cv_prog_RANLIB"; then 6726 ac_ct_RANLIB=$RANLIB 6727 # Extract the first word of "ranlib", so it can be a program name with args. 6728set dummy ranlib; ac_word=$2 6729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6730$as_echo_n "checking for $ac_word... " >&6; } 6731if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6732 $as_echo_n "(cached) " >&6 6733else 6734 if test -n "$ac_ct_RANLIB"; then 6735 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6736else 6737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6738for as_dir in $PATH 6739do 6740 IFS=$as_save_IFS 6741 test -z "$as_dir" && as_dir=. 6742 for ac_exec_ext in '' $ac_executable_extensions; do 6743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6744 ac_cv_prog_ac_ct_RANLIB="ranlib" 6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6746 break 2 6747 fi 6748done 6749 done 6750IFS=$as_save_IFS 6751 6752fi 6753fi 6754ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6755if test -n "$ac_ct_RANLIB"; then 6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6757$as_echo "$ac_ct_RANLIB" >&6; } 6758else 6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6760$as_echo "no" >&6; } 6761fi 6762 6763 if test "x$ac_ct_RANLIB" = x; then 6764 RANLIB=":" 6765 else 6766 case $cross_compiling:$ac_tool_warned in 6767yes:) 6768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6770ac_tool_warned=yes ;; 6771esac 6772 RANLIB=$ac_ct_RANLIB 6773 fi 6774else 6775 RANLIB="$ac_cv_prog_RANLIB" 6776fi 6777 6778test -z "$RANLIB" && RANLIB=: 6779 6780 6781 6782 6783 6784 6785# Determine commands to create old-style static archives. 6786old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6787old_postinstall_cmds='chmod 644 $oldlib' 6788old_postuninstall_cmds= 6789 6790if test -n "$RANLIB"; then 6791 case $host_os in 6792 openbsd*) 6793 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6794 ;; 6795 *) 6796 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6797 ;; 6798 esac 6799 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6800fi 6801 6802case $host_os in 6803 darwin*) 6804 lock_old_archive_extraction=yes ;; 6805 *) 6806 lock_old_archive_extraction=no ;; 6807esac 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847# If no C compiler was specified, use CC. 6848LTCC=${LTCC-"$CC"} 6849 6850# If no C compiler flags were specified, use CFLAGS. 6851LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6852 6853# Allow CC to be a program name with arguments. 6854compiler=$CC 6855 6856 6857# Check for command to grab the raw symbol name followed by C symbol from nm. 6858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6859$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6860if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6861 $as_echo_n "(cached) " >&6 6862else 6863 6864# These are sane defaults that work on at least a few old systems. 6865# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6866 6867# Character class describing NM global symbol codes. 6868symcode='[BCDEGRST]' 6869 6870# Regexp to match symbols that can be accessed directly from C. 6871sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6872 6873# Define system-specific variables. 6874case $host_os in 6875aix*) 6876 symcode='[BCDT]' 6877 ;; 6878cygwin* | mingw* | pw32* | cegcc*) 6879 symcode='[ABCDGISTW]' 6880 ;; 6881hpux*) 6882 if test "$host_cpu" = ia64; then 6883 symcode='[ABCDEGRST]' 6884 fi 6885 ;; 6886irix* | nonstopux*) 6887 symcode='[BCDEGRST]' 6888 ;; 6889osf*) 6890 symcode='[BCDEGQRST]' 6891 ;; 6892solaris*) 6893 symcode='[BDRT]' 6894 ;; 6895sco3.2v5*) 6896 symcode='[DT]' 6897 ;; 6898sysv4.2uw2*) 6899 symcode='[DT]' 6900 ;; 6901sysv5* | sco5v6* | unixware* | OpenUNIX*) 6902 symcode='[ABDT]' 6903 ;; 6904sysv4) 6905 symcode='[DFNSTU]' 6906 ;; 6907esac 6908 6909# If we're using GNU nm, then use its standard symbol codes. 6910case `$NM -V 2>&1` in 6911*GNU* | *'with BFD'*) 6912 symcode='[ABCDGIRSTW]' ;; 6913esac 6914 6915# Transform an extracted symbol line into a proper C declaration. 6916# Some systems (esp. on ia64) link data and code symbols differently, 6917# so use this general approach. 6918lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6919 6920# Transform an extracted symbol line into symbol name and symbol address 6921lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6922lt_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'" 6923 6924# Handle CRLF in mingw tool chain 6925opt_cr= 6926case $build_os in 6927mingw*) 6928 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6929 ;; 6930esac 6931 6932# Try without a prefix underscore, then with it. 6933for ac_symprfx in "" "_"; do 6934 6935 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6936 symxfrm="\\1 $ac_symprfx\\2 \\2" 6937 6938 # Write the raw and C identifiers. 6939 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6940 # Fake it for dumpbin and say T for any non-static function 6941 # and D for any global variable. 6942 # Also find C++ and __fastcall symbols from MSVC++, 6943 # which start with @ or ?. 6944 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6945" {last_section=section; section=\$ 3};"\ 6946" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6947" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6948" \$ 0!~/External *\|/{next};"\ 6949" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6950" {if(hide[section]) next};"\ 6951" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6952" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6953" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6954" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6955" ' prfx=^$ac_symprfx" 6956 else 6957 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6958 fi 6959 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6960 6961 # Check to see that the pipe works correctly. 6962 pipe_works=no 6963 6964 rm -f conftest* 6965 cat > conftest.$ac_ext <<_LT_EOF 6966#ifdef __cplusplus 6967extern "C" { 6968#endif 6969char nm_test_var; 6970void nm_test_func(void); 6971void nm_test_func(void){} 6972#ifdef __cplusplus 6973} 6974#endif 6975int main(){nm_test_var='a';nm_test_func();return(0);} 6976_LT_EOF 6977 6978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6979 (eval $ac_compile) 2>&5 6980 ac_status=$? 6981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6982 test $ac_status = 0; }; then 6983 # Now try to grab the symbols. 6984 nlist=conftest.nm 6985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6986 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6987 ac_status=$? 6988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6989 test $ac_status = 0; } && test -s "$nlist"; then 6990 # Try sorting and uniquifying the output. 6991 if sort "$nlist" | uniq > "$nlist"T; then 6992 mv -f "$nlist"T "$nlist" 6993 else 6994 rm -f "$nlist"T 6995 fi 6996 6997 # Make sure that we snagged all the symbols we need. 6998 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6999 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7000 cat <<_LT_EOF > conftest.$ac_ext 7001/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7002#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 7003/* DATA imports from DLLs on WIN32 con't be const, because runtime 7004 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7005# define LT_DLSYM_CONST 7006#elif defined(__osf__) 7007/* This system does not cope well with relocations in const data. */ 7008# define LT_DLSYM_CONST 7009#else 7010# define LT_DLSYM_CONST const 7011#endif 7012 7013#ifdef __cplusplus 7014extern "C" { 7015#endif 7016 7017_LT_EOF 7018 # Now generate the symbol file. 7019 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7020 7021 cat <<_LT_EOF >> conftest.$ac_ext 7022 7023/* The mapping between symbol names and symbols. */ 7024LT_DLSYM_CONST struct { 7025 const char *name; 7026 void *address; 7027} 7028lt__PROGRAM__LTX_preloaded_symbols[] = 7029{ 7030 { "@PROGRAM@", (void *) 0 }, 7031_LT_EOF 7032 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7033 cat <<\_LT_EOF >> conftest.$ac_ext 7034 {0, (void *) 0} 7035}; 7036 7037/* This works around a problem in FreeBSD linker */ 7038#ifdef FREEBSD_WORKAROUND 7039static const void *lt_preloaded_setup() { 7040 return lt__PROGRAM__LTX_preloaded_symbols; 7041} 7042#endif 7043 7044#ifdef __cplusplus 7045} 7046#endif 7047_LT_EOF 7048 # Now try linking the two files. 7049 mv conftest.$ac_objext conftstm.$ac_objext 7050 lt_globsym_save_LIBS=$LIBS 7051 lt_globsym_save_CFLAGS=$CFLAGS 7052 LIBS="conftstm.$ac_objext" 7053 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7055 (eval $ac_link) 2>&5 7056 ac_status=$? 7057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7058 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7059 pipe_works=yes 7060 fi 7061 LIBS=$lt_globsym_save_LIBS 7062 CFLAGS=$lt_globsym_save_CFLAGS 7063 else 7064 echo "cannot find nm_test_func in $nlist" >&5 7065 fi 7066 else 7067 echo "cannot find nm_test_var in $nlist" >&5 7068 fi 7069 else 7070 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7071 fi 7072 else 7073 echo "$progname: failed program was:" >&5 7074 cat conftest.$ac_ext >&5 7075 fi 7076 rm -rf conftest* conftst* 7077 7078 # Do not use the global_symbol_pipe unless it works. 7079 if test "$pipe_works" = yes; then 7080 break 7081 else 7082 lt_cv_sys_global_symbol_pipe= 7083 fi 7084done 7085 7086fi 7087 7088if test -z "$lt_cv_sys_global_symbol_pipe"; then 7089 lt_cv_sys_global_symbol_to_cdecl= 7090fi 7091if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7093$as_echo "failed" >&6; } 7094else 7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7096$as_echo "ok" >&6; } 7097fi 7098 7099# Response file support. 7100if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7101 nm_file_list_spec='@' 7102elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7103 nm_file_list_spec='@' 7104fi 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7133$as_echo_n "checking for sysroot... " >&6; } 7134 7135# Check whether --with-sysroot was given. 7136if test "${with_sysroot+set}" = set; then : 7137 withval=$with_sysroot; 7138else 7139 with_sysroot=no 7140fi 7141 7142 7143lt_sysroot= 7144case ${with_sysroot} in #( 7145 yes) 7146 if test "$GCC" = yes; then 7147 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7148 fi 7149 ;; #( 7150 /*) 7151 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7152 ;; #( 7153 no|'') 7154 ;; #( 7155 *) 7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 7157$as_echo "${with_sysroot}" >&6; } 7158 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7159 ;; 7160esac 7161 7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7163$as_echo "${lt_sysroot:-no}" >&6; } 7164 7165 7166 7167 7168 7169 7170# Check whether --enable-libtool-lock was given. 7171if test "${enable_libtool_lock+set}" = set; then : 7172 enableval=$enable_libtool_lock; 7173fi 7174 7175test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7176 7177# Some flags need to be propagated to the compiler or linker for good 7178# libtool support. 7179case $host in 7180ia64-*-hpux*) 7181 # Find out which ABI we are using. 7182 echo 'int i;' > conftest.$ac_ext 7183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7184 (eval $ac_compile) 2>&5 7185 ac_status=$? 7186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7187 test $ac_status = 0; }; then 7188 case `/usr/bin/file conftest.$ac_objext` in 7189 *ELF-32*) 7190 HPUX_IA64_MODE="32" 7191 ;; 7192 *ELF-64*) 7193 HPUX_IA64_MODE="64" 7194 ;; 7195 esac 7196 fi 7197 rm -rf conftest* 7198 ;; 7199*-*-irix6*) 7200 # Find out which ABI we are using. 7201 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7203 (eval $ac_compile) 2>&5 7204 ac_status=$? 7205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7206 test $ac_status = 0; }; then 7207 if test "$lt_cv_prog_gnu_ld" = yes; then 7208 case `/usr/bin/file conftest.$ac_objext` in 7209 *32-bit*) 7210 LD="${LD-ld} -melf32bsmip" 7211 ;; 7212 *N32*) 7213 LD="${LD-ld} -melf32bmipn32" 7214 ;; 7215 *64-bit*) 7216 LD="${LD-ld} -melf64bmip" 7217 ;; 7218 esac 7219 else 7220 case `/usr/bin/file conftest.$ac_objext` in 7221 *32-bit*) 7222 LD="${LD-ld} -32" 7223 ;; 7224 *N32*) 7225 LD="${LD-ld} -n32" 7226 ;; 7227 *64-bit*) 7228 LD="${LD-ld} -64" 7229 ;; 7230 esac 7231 fi 7232 fi 7233 rm -rf conftest* 7234 ;; 7235 7236x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7237s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7238 # Find out which ABI we are using. 7239 echo 'int i;' > conftest.$ac_ext 7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7241 (eval $ac_compile) 2>&5 7242 ac_status=$? 7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7244 test $ac_status = 0; }; then 7245 case `/usr/bin/file conftest.o` in 7246 *32-bit*) 7247 case $host in 7248 x86_64-*kfreebsd*-gnu) 7249 LD="${LD-ld} -m elf_i386_fbsd" 7250 ;; 7251 x86_64-*linux*) 7252 LD="${LD-ld} -m elf_i386" 7253 ;; 7254 ppc64-*linux*|powerpc64-*linux*) 7255 LD="${LD-ld} -m elf32ppclinux" 7256 ;; 7257 s390x-*linux*) 7258 LD="${LD-ld} -m elf_s390" 7259 ;; 7260 sparc64-*linux*) 7261 LD="${LD-ld} -m elf32_sparc" 7262 ;; 7263 esac 7264 ;; 7265 *64-bit*) 7266 case $host in 7267 x86_64-*kfreebsd*-gnu) 7268 LD="${LD-ld} -m elf_x86_64_fbsd" 7269 ;; 7270 x86_64-*linux*) 7271 LD="${LD-ld} -m elf_x86_64" 7272 ;; 7273 ppc*-*linux*|powerpc*-*linux*) 7274 LD="${LD-ld} -m elf64ppc" 7275 ;; 7276 s390*-*linux*|s390*-*tpf*) 7277 LD="${LD-ld} -m elf64_s390" 7278 ;; 7279 sparc*-*linux*) 7280 LD="${LD-ld} -m elf64_sparc" 7281 ;; 7282 esac 7283 ;; 7284 esac 7285 fi 7286 rm -rf conftest* 7287 ;; 7288 7289*-*-sco3.2v5*) 7290 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7291 SAVE_CFLAGS="$CFLAGS" 7292 CFLAGS="$CFLAGS -belf" 7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7294$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7295if ${lt_cv_cc_needs_belf+:} false; then : 7296 $as_echo_n "(cached) " >&6 7297else 7298 ac_ext=c 7299ac_cpp='$CPP $CPPFLAGS' 7300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7302ac_compiler_gnu=$ac_cv_c_compiler_gnu 7303 7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7305/* end confdefs.h. */ 7306 7307int 7308main () 7309{ 7310 7311 ; 7312 return 0; 7313} 7314_ACEOF 7315if ac_fn_c_try_link "$LINENO"; then : 7316 lt_cv_cc_needs_belf=yes 7317else 7318 lt_cv_cc_needs_belf=no 7319fi 7320rm -f core conftest.err conftest.$ac_objext \ 7321 conftest$ac_exeext conftest.$ac_ext 7322 ac_ext=c 7323ac_cpp='$CPP $CPPFLAGS' 7324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7326ac_compiler_gnu=$ac_cv_c_compiler_gnu 7327 7328fi 7329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7330$as_echo "$lt_cv_cc_needs_belf" >&6; } 7331 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7332 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7333 CFLAGS="$SAVE_CFLAGS" 7334 fi 7335 ;; 7336*-*solaris*) 7337 # Find out which ABI we are using. 7338 echo 'int i;' > conftest.$ac_ext 7339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7340 (eval $ac_compile) 2>&5 7341 ac_status=$? 7342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7343 test $ac_status = 0; }; then 7344 case `/usr/bin/file conftest.o` in 7345 *64-bit*) 7346 case $lt_cv_prog_gnu_ld in 7347 yes*) 7348 case $host in 7349 i?86-*-solaris*) 7350 LD="${LD-ld} -m elf_x86_64" 7351 ;; 7352 sparc*-*-solaris*) 7353 LD="${LD-ld} -m elf64_sparc" 7354 ;; 7355 esac 7356 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7357 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7358 LD="${LD-ld}_sol2" 7359 fi 7360 ;; 7361 *) 7362 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7363 LD="${LD-ld} -64" 7364 fi 7365 ;; 7366 esac 7367 ;; 7368 esac 7369 fi 7370 rm -rf conftest* 7371 ;; 7372esac 7373 7374need_locks="$enable_libtool_lock" 7375 7376if test -n "$ac_tool_prefix"; then 7377 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7378set dummy ${ac_tool_prefix}mt; ac_word=$2 7379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7380$as_echo_n "checking for $ac_word... " >&6; } 7381if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7382 $as_echo_n "(cached) " >&6 7383else 7384 if test -n "$MANIFEST_TOOL"; then 7385 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7386else 7387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7388for as_dir in $PATH 7389do 7390 IFS=$as_save_IFS 7391 test -z "$as_dir" && as_dir=. 7392 for ac_exec_ext in '' $ac_executable_extensions; do 7393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7394 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7396 break 2 7397 fi 7398done 7399 done 7400IFS=$as_save_IFS 7401 7402fi 7403fi 7404MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7405if test -n "$MANIFEST_TOOL"; then 7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7407$as_echo "$MANIFEST_TOOL" >&6; } 7408else 7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7410$as_echo "no" >&6; } 7411fi 7412 7413 7414fi 7415if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7416 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7417 # Extract the first word of "mt", so it can be a program name with args. 7418set dummy mt; ac_word=$2 7419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7420$as_echo_n "checking for $ac_word... " >&6; } 7421if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7422 $as_echo_n "(cached) " >&6 7423else 7424 if test -n "$ac_ct_MANIFEST_TOOL"; then 7425 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7426else 7427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7428for as_dir in $PATH 7429do 7430 IFS=$as_save_IFS 7431 test -z "$as_dir" && as_dir=. 7432 for ac_exec_ext in '' $ac_executable_extensions; do 7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7434 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7436 break 2 7437 fi 7438done 7439 done 7440IFS=$as_save_IFS 7441 7442fi 7443fi 7444ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7445if test -n "$ac_ct_MANIFEST_TOOL"; then 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7447$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7448else 7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7450$as_echo "no" >&6; } 7451fi 7452 7453 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7454 MANIFEST_TOOL=":" 7455 else 7456 case $cross_compiling:$ac_tool_warned in 7457yes:) 7458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7460ac_tool_warned=yes ;; 7461esac 7462 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7463 fi 7464else 7465 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7466fi 7467 7468test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7470$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7471if ${lt_cv_path_mainfest_tool+:} false; then : 7472 $as_echo_n "(cached) " >&6 7473else 7474 lt_cv_path_mainfest_tool=no 7475 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7476 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7477 cat conftest.err >&5 7478 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7479 lt_cv_path_mainfest_tool=yes 7480 fi 7481 rm -f conftest* 7482fi 7483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7484$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7485if test "x$lt_cv_path_mainfest_tool" != xyes; then 7486 MANIFEST_TOOL=: 7487fi 7488 7489 7490 7491 7492 7493 7494 case $host_os in 7495 rhapsody* | darwin*) 7496 if test -n "$ac_tool_prefix"; then 7497 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7498set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7500$as_echo_n "checking for $ac_word... " >&6; } 7501if ${ac_cv_prog_DSYMUTIL+:} false; then : 7502 $as_echo_n "(cached) " >&6 7503else 7504 if test -n "$DSYMUTIL"; then 7505 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7506else 7507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7508for as_dir in $PATH 7509do 7510 IFS=$as_save_IFS 7511 test -z "$as_dir" && as_dir=. 7512 for ac_exec_ext in '' $ac_executable_extensions; do 7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7514 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7516 break 2 7517 fi 7518done 7519 done 7520IFS=$as_save_IFS 7521 7522fi 7523fi 7524DSYMUTIL=$ac_cv_prog_DSYMUTIL 7525if test -n "$DSYMUTIL"; then 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7527$as_echo "$DSYMUTIL" >&6; } 7528else 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7530$as_echo "no" >&6; } 7531fi 7532 7533 7534fi 7535if test -z "$ac_cv_prog_DSYMUTIL"; then 7536 ac_ct_DSYMUTIL=$DSYMUTIL 7537 # Extract the first word of "dsymutil", so it can be a program name with args. 7538set dummy dsymutil; ac_word=$2 7539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7540$as_echo_n "checking for $ac_word... " >&6; } 7541if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7542 $as_echo_n "(cached) " >&6 7543else 7544 if test -n "$ac_ct_DSYMUTIL"; then 7545 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7546else 7547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7548for as_dir in $PATH 7549do 7550 IFS=$as_save_IFS 7551 test -z "$as_dir" && as_dir=. 7552 for ac_exec_ext in '' $ac_executable_extensions; do 7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7554 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7556 break 2 7557 fi 7558done 7559 done 7560IFS=$as_save_IFS 7561 7562fi 7563fi 7564ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7565if test -n "$ac_ct_DSYMUTIL"; then 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7567$as_echo "$ac_ct_DSYMUTIL" >&6; } 7568else 7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7570$as_echo "no" >&6; } 7571fi 7572 7573 if test "x$ac_ct_DSYMUTIL" = x; then 7574 DSYMUTIL=":" 7575 else 7576 case $cross_compiling:$ac_tool_warned in 7577yes:) 7578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7580ac_tool_warned=yes ;; 7581esac 7582 DSYMUTIL=$ac_ct_DSYMUTIL 7583 fi 7584else 7585 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7586fi 7587 7588 if test -n "$ac_tool_prefix"; then 7589 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7590set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7592$as_echo_n "checking for $ac_word... " >&6; } 7593if ${ac_cv_prog_NMEDIT+:} false; then : 7594 $as_echo_n "(cached) " >&6 7595else 7596 if test -n "$NMEDIT"; then 7597 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7598else 7599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7600for as_dir in $PATH 7601do 7602 IFS=$as_save_IFS 7603 test -z "$as_dir" && as_dir=. 7604 for ac_exec_ext in '' $ac_executable_extensions; do 7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7606 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7608 break 2 7609 fi 7610done 7611 done 7612IFS=$as_save_IFS 7613 7614fi 7615fi 7616NMEDIT=$ac_cv_prog_NMEDIT 7617if test -n "$NMEDIT"; then 7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7619$as_echo "$NMEDIT" >&6; } 7620else 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7622$as_echo "no" >&6; } 7623fi 7624 7625 7626fi 7627if test -z "$ac_cv_prog_NMEDIT"; then 7628 ac_ct_NMEDIT=$NMEDIT 7629 # Extract the first word of "nmedit", so it can be a program name with args. 7630set dummy nmedit; ac_word=$2 7631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7632$as_echo_n "checking for $ac_word... " >&6; } 7633if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7634 $as_echo_n "(cached) " >&6 7635else 7636 if test -n "$ac_ct_NMEDIT"; then 7637 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7638else 7639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7640for as_dir in $PATH 7641do 7642 IFS=$as_save_IFS 7643 test -z "$as_dir" && as_dir=. 7644 for ac_exec_ext in '' $ac_executable_extensions; do 7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7646 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7648 break 2 7649 fi 7650done 7651 done 7652IFS=$as_save_IFS 7653 7654fi 7655fi 7656ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7657if test -n "$ac_ct_NMEDIT"; then 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7659$as_echo "$ac_ct_NMEDIT" >&6; } 7660else 7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7662$as_echo "no" >&6; } 7663fi 7664 7665 if test "x$ac_ct_NMEDIT" = x; then 7666 NMEDIT=":" 7667 else 7668 case $cross_compiling:$ac_tool_warned in 7669yes:) 7670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7672ac_tool_warned=yes ;; 7673esac 7674 NMEDIT=$ac_ct_NMEDIT 7675 fi 7676else 7677 NMEDIT="$ac_cv_prog_NMEDIT" 7678fi 7679 7680 if test -n "$ac_tool_prefix"; then 7681 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7682set dummy ${ac_tool_prefix}lipo; ac_word=$2 7683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7684$as_echo_n "checking for $ac_word... " >&6; } 7685if ${ac_cv_prog_LIPO+:} false; then : 7686 $as_echo_n "(cached) " >&6 7687else 7688 if test -n "$LIPO"; then 7689 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7690else 7691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7692for as_dir in $PATH 7693do 7694 IFS=$as_save_IFS 7695 test -z "$as_dir" && as_dir=. 7696 for ac_exec_ext in '' $ac_executable_extensions; do 7697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7698 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7700 break 2 7701 fi 7702done 7703 done 7704IFS=$as_save_IFS 7705 7706fi 7707fi 7708LIPO=$ac_cv_prog_LIPO 7709if test -n "$LIPO"; then 7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7711$as_echo "$LIPO" >&6; } 7712else 7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7714$as_echo "no" >&6; } 7715fi 7716 7717 7718fi 7719if test -z "$ac_cv_prog_LIPO"; then 7720 ac_ct_LIPO=$LIPO 7721 # Extract the first word of "lipo", so it can be a program name with args. 7722set dummy lipo; ac_word=$2 7723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7724$as_echo_n "checking for $ac_word... " >&6; } 7725if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7726 $as_echo_n "(cached) " >&6 7727else 7728 if test -n "$ac_ct_LIPO"; then 7729 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7730else 7731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7732for as_dir in $PATH 7733do 7734 IFS=$as_save_IFS 7735 test -z "$as_dir" && as_dir=. 7736 for ac_exec_ext in '' $ac_executable_extensions; do 7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7738 ac_cv_prog_ac_ct_LIPO="lipo" 7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7740 break 2 7741 fi 7742done 7743 done 7744IFS=$as_save_IFS 7745 7746fi 7747fi 7748ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7749if test -n "$ac_ct_LIPO"; then 7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7751$as_echo "$ac_ct_LIPO" >&6; } 7752else 7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7754$as_echo "no" >&6; } 7755fi 7756 7757 if test "x$ac_ct_LIPO" = x; then 7758 LIPO=":" 7759 else 7760 case $cross_compiling:$ac_tool_warned in 7761yes:) 7762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7764ac_tool_warned=yes ;; 7765esac 7766 LIPO=$ac_ct_LIPO 7767 fi 7768else 7769 LIPO="$ac_cv_prog_LIPO" 7770fi 7771 7772 if test -n "$ac_tool_prefix"; then 7773 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7774set dummy ${ac_tool_prefix}otool; ac_word=$2 7775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7776$as_echo_n "checking for $ac_word... " >&6; } 7777if ${ac_cv_prog_OTOOL+:} false; then : 7778 $as_echo_n "(cached) " >&6 7779else 7780 if test -n "$OTOOL"; then 7781 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7782else 7783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7784for as_dir in $PATH 7785do 7786 IFS=$as_save_IFS 7787 test -z "$as_dir" && as_dir=. 7788 for ac_exec_ext in '' $ac_executable_extensions; do 7789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7790 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7792 break 2 7793 fi 7794done 7795 done 7796IFS=$as_save_IFS 7797 7798fi 7799fi 7800OTOOL=$ac_cv_prog_OTOOL 7801if test -n "$OTOOL"; then 7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7803$as_echo "$OTOOL" >&6; } 7804else 7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7806$as_echo "no" >&6; } 7807fi 7808 7809 7810fi 7811if test -z "$ac_cv_prog_OTOOL"; then 7812 ac_ct_OTOOL=$OTOOL 7813 # Extract the first word of "otool", so it can be a program name with args. 7814set dummy otool; ac_word=$2 7815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7816$as_echo_n "checking for $ac_word... " >&6; } 7817if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7818 $as_echo_n "(cached) " >&6 7819else 7820 if test -n "$ac_ct_OTOOL"; then 7821 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7822else 7823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7824for as_dir in $PATH 7825do 7826 IFS=$as_save_IFS 7827 test -z "$as_dir" && as_dir=. 7828 for ac_exec_ext in '' $ac_executable_extensions; do 7829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7830 ac_cv_prog_ac_ct_OTOOL="otool" 7831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7832 break 2 7833 fi 7834done 7835 done 7836IFS=$as_save_IFS 7837 7838fi 7839fi 7840ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7841if test -n "$ac_ct_OTOOL"; then 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7843$as_echo "$ac_ct_OTOOL" >&6; } 7844else 7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7846$as_echo "no" >&6; } 7847fi 7848 7849 if test "x$ac_ct_OTOOL" = x; then 7850 OTOOL=":" 7851 else 7852 case $cross_compiling:$ac_tool_warned in 7853yes:) 7854{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7856ac_tool_warned=yes ;; 7857esac 7858 OTOOL=$ac_ct_OTOOL 7859 fi 7860else 7861 OTOOL="$ac_cv_prog_OTOOL" 7862fi 7863 7864 if test -n "$ac_tool_prefix"; then 7865 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7866set dummy ${ac_tool_prefix}otool64; ac_word=$2 7867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7868$as_echo_n "checking for $ac_word... " >&6; } 7869if ${ac_cv_prog_OTOOL64+:} false; then : 7870 $as_echo_n "(cached) " >&6 7871else 7872 if test -n "$OTOOL64"; then 7873 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7874else 7875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7876for as_dir in $PATH 7877do 7878 IFS=$as_save_IFS 7879 test -z "$as_dir" && as_dir=. 7880 for ac_exec_ext in '' $ac_executable_extensions; do 7881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7882 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7884 break 2 7885 fi 7886done 7887 done 7888IFS=$as_save_IFS 7889 7890fi 7891fi 7892OTOOL64=$ac_cv_prog_OTOOL64 7893if test -n "$OTOOL64"; then 7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7895$as_echo "$OTOOL64" >&6; } 7896else 7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7898$as_echo "no" >&6; } 7899fi 7900 7901 7902fi 7903if test -z "$ac_cv_prog_OTOOL64"; then 7904 ac_ct_OTOOL64=$OTOOL64 7905 # Extract the first word of "otool64", so it can be a program name with args. 7906set dummy otool64; ac_word=$2 7907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7908$as_echo_n "checking for $ac_word... " >&6; } 7909if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7910 $as_echo_n "(cached) " >&6 7911else 7912 if test -n "$ac_ct_OTOOL64"; then 7913 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7914else 7915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7916for as_dir in $PATH 7917do 7918 IFS=$as_save_IFS 7919 test -z "$as_dir" && as_dir=. 7920 for ac_exec_ext in '' $ac_executable_extensions; do 7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7922 ac_cv_prog_ac_ct_OTOOL64="otool64" 7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7924 break 2 7925 fi 7926done 7927 done 7928IFS=$as_save_IFS 7929 7930fi 7931fi 7932ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7933if test -n "$ac_ct_OTOOL64"; then 7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7935$as_echo "$ac_ct_OTOOL64" >&6; } 7936else 7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7938$as_echo "no" >&6; } 7939fi 7940 7941 if test "x$ac_ct_OTOOL64" = x; then 7942 OTOOL64=":" 7943 else 7944 case $cross_compiling:$ac_tool_warned in 7945yes:) 7946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7948ac_tool_warned=yes ;; 7949esac 7950 OTOOL64=$ac_ct_OTOOL64 7951 fi 7952else 7953 OTOOL64="$ac_cv_prog_OTOOL64" 7954fi 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7983$as_echo_n "checking for -single_module linker flag... " >&6; } 7984if ${lt_cv_apple_cc_single_mod+:} false; then : 7985 $as_echo_n "(cached) " >&6 7986else 7987 lt_cv_apple_cc_single_mod=no 7988 if test -z "${LT_MULTI_MODULE}"; then 7989 # By default we will add the -single_module flag. You can override 7990 # by either setting the environment variable LT_MULTI_MODULE 7991 # non-empty at configure time, or by adding -multi_module to the 7992 # link flags. 7993 rm -rf libconftest.dylib* 7994 echo "int foo(void){return 1;}" > conftest.c 7995 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7996-dynamiclib -Wl,-single_module conftest.c" >&5 7997 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7998 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7999 _lt_result=$? 8000 # If there is a non-empty error log, and "single_module" 8001 # appears in it, assume the flag caused a linker warning 8002 if test -s conftest.err && $GREP single_module conftest.err; then 8003 cat conftest.err >&5 8004 # Otherwise, if the output was created with a 0 exit code from 8005 # the compiler, it worked. 8006 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 8007 lt_cv_apple_cc_single_mod=yes 8008 else 8009 cat conftest.err >&5 8010 fi 8011 rm -rf libconftest.dylib* 8012 rm -f conftest.* 8013 fi 8014fi 8015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8016$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8017 8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8019$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8020if ${lt_cv_ld_exported_symbols_list+:} false; then : 8021 $as_echo_n "(cached) " >&6 8022else 8023 lt_cv_ld_exported_symbols_list=no 8024 save_LDFLAGS=$LDFLAGS 8025 echo "_main" > conftest.sym 8026 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8028/* end confdefs.h. */ 8029 8030int 8031main () 8032{ 8033 8034 ; 8035 return 0; 8036} 8037_ACEOF 8038if ac_fn_c_try_link "$LINENO"; then : 8039 lt_cv_ld_exported_symbols_list=yes 8040else 8041 lt_cv_ld_exported_symbols_list=no 8042fi 8043rm -f core conftest.err conftest.$ac_objext \ 8044 conftest$ac_exeext conftest.$ac_ext 8045 LDFLAGS="$save_LDFLAGS" 8046 8047fi 8048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8049$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8050 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8052$as_echo_n "checking for -force_load linker flag... " >&6; } 8053if ${lt_cv_ld_force_load+:} false; then : 8054 $as_echo_n "(cached) " >&6 8055else 8056 lt_cv_ld_force_load=no 8057 cat > conftest.c << _LT_EOF 8058int forced_loaded() { return 2;} 8059_LT_EOF 8060 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8061 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8062 echo "$AR cru libconftest.a conftest.o" >&5 8063 $AR cru libconftest.a conftest.o 2>&5 8064 echo "$RANLIB libconftest.a" >&5 8065 $RANLIB libconftest.a 2>&5 8066 cat > conftest.c << _LT_EOF 8067int main() { return 0;} 8068_LT_EOF 8069 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8070 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8071 _lt_result=$? 8072 if test -s conftest.err && $GREP force_load conftest.err; then 8073 cat conftest.err >&5 8074 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 8075 lt_cv_ld_force_load=yes 8076 else 8077 cat conftest.err >&5 8078 fi 8079 rm -f conftest.err libconftest.a conftest conftest.c 8080 rm -rf conftest.dSYM 8081 8082fi 8083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8084$as_echo "$lt_cv_ld_force_load" >&6; } 8085 case $host_os in 8086 rhapsody* | darwin1.[012]) 8087 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8088 darwin1.*) 8089 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8090 darwin*) # darwin 5.x on 8091 # if running on 10.5 or later, the deployment target defaults 8092 # to the OS version, if on x86, and 10.4, the deployment 8093 # target defaults to 10.4. Don't you love it? 8094 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8095 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8096 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8097 10.[012]*) 8098 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8099 10.*) 8100 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8101 esac 8102 ;; 8103 esac 8104 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8105 _lt_dar_single_mod='$single_module' 8106 fi 8107 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8108 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8109 else 8110 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8111 fi 8112 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 8113 _lt_dsymutil='~$DSYMUTIL $lib || :' 8114 else 8115 _lt_dsymutil= 8116 fi 8117 ;; 8118 esac 8119 8120ac_ext=c 8121ac_cpp='$CPP $CPPFLAGS' 8122ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8123ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8124ac_compiler_gnu=$ac_cv_c_compiler_gnu 8125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8126$as_echo_n "checking how to run the C preprocessor... " >&6; } 8127# On Suns, sometimes $CPP names a directory. 8128if test -n "$CPP" && test -d "$CPP"; then 8129 CPP= 8130fi 8131if test -z "$CPP"; then 8132 if ${ac_cv_prog_CPP+:} false; then : 8133 $as_echo_n "(cached) " >&6 8134else 8135 # Double quotes because CPP needs to be expanded 8136 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8137 do 8138 ac_preproc_ok=false 8139for ac_c_preproc_warn_flag in '' yes 8140do 8141 # Use a header file that comes with gcc, so configuring glibc 8142 # with a fresh cross-compiler works. 8143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8144 # <limits.h> exists even on freestanding compilers. 8145 # On the NeXT, cc -E runs the code through the compiler's parser, 8146 # not just through cpp. "Syntax error" is here to catch this case. 8147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8148/* end confdefs.h. */ 8149#ifdef __STDC__ 8150# include <limits.h> 8151#else 8152# include <assert.h> 8153#endif 8154 Syntax error 8155_ACEOF 8156if ac_fn_c_try_cpp "$LINENO"; then : 8157 8158else 8159 # Broken: fails on valid input. 8160continue 8161fi 8162rm -f conftest.err conftest.i conftest.$ac_ext 8163 8164 # OK, works on sane cases. Now check whether nonexistent headers 8165 # can be detected and how. 8166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8167/* end confdefs.h. */ 8168#include <ac_nonexistent.h> 8169_ACEOF 8170if ac_fn_c_try_cpp "$LINENO"; then : 8171 # Broken: success on invalid input. 8172continue 8173else 8174 # Passes both tests. 8175ac_preproc_ok=: 8176break 8177fi 8178rm -f conftest.err conftest.i conftest.$ac_ext 8179 8180done 8181# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8182rm -f conftest.i conftest.err conftest.$ac_ext 8183if $ac_preproc_ok; then : 8184 break 8185fi 8186 8187 done 8188 ac_cv_prog_CPP=$CPP 8189 8190fi 8191 CPP=$ac_cv_prog_CPP 8192else 8193 ac_cv_prog_CPP=$CPP 8194fi 8195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8196$as_echo "$CPP" >&6; } 8197ac_preproc_ok=false 8198for ac_c_preproc_warn_flag in '' yes 8199do 8200 # Use a header file that comes with gcc, so configuring glibc 8201 # with a fresh cross-compiler works. 8202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8203 # <limits.h> exists even on freestanding compilers. 8204 # On the NeXT, cc -E runs the code through the compiler's parser, 8205 # not just through cpp. "Syntax error" is here to catch this case. 8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8207/* end confdefs.h. */ 8208#ifdef __STDC__ 8209# include <limits.h> 8210#else 8211# include <assert.h> 8212#endif 8213 Syntax error 8214_ACEOF 8215if ac_fn_c_try_cpp "$LINENO"; then : 8216 8217else 8218 # Broken: fails on valid input. 8219continue 8220fi 8221rm -f conftest.err conftest.i conftest.$ac_ext 8222 8223 # OK, works on sane cases. Now check whether nonexistent headers 8224 # can be detected and how. 8225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8226/* end confdefs.h. */ 8227#include <ac_nonexistent.h> 8228_ACEOF 8229if ac_fn_c_try_cpp "$LINENO"; then : 8230 # Broken: success on invalid input. 8231continue 8232else 8233 # Passes both tests. 8234ac_preproc_ok=: 8235break 8236fi 8237rm -f conftest.err conftest.i conftest.$ac_ext 8238 8239done 8240# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8241rm -f conftest.i conftest.err conftest.$ac_ext 8242if $ac_preproc_ok; then : 8243 8244else 8245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8247as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8248See \`config.log' for more details" "$LINENO" 5; } 8249fi 8250 8251ac_ext=c 8252ac_cpp='$CPP $CPPFLAGS' 8253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8255ac_compiler_gnu=$ac_cv_c_compiler_gnu 8256 8257 8258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8259$as_echo_n "checking for ANSI C header files... " >&6; } 8260if ${ac_cv_header_stdc+:} false; then : 8261 $as_echo_n "(cached) " >&6 8262else 8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8264/* end confdefs.h. */ 8265#include <stdlib.h> 8266#include <unistd.h> 8267#include <stdarg.h> 8268#include <string.h> 8269#include <float.h> 8270 8271int 8272main () 8273{ 8274 8275 ; 8276 return 0; 8277} 8278_ACEOF 8279if ac_fn_c_try_compile "$LINENO"; then : 8280 ac_cv_header_stdc=yes 8281else 8282 ac_cv_header_stdc=no 8283fi 8284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8285 8286if test $ac_cv_header_stdc = yes; then 8287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8289/* end confdefs.h. */ 8290#include <string.h> 8291 8292_ACEOF 8293if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8294 $EGREP "memchr" >/dev/null 2>&1; then : 8295 8296else 8297 ac_cv_header_stdc=no 8298fi 8299rm -f conftest* 8300 8301fi 8302 8303if test $ac_cv_header_stdc = yes; then 8304 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8306/* end confdefs.h. */ 8307#include <stdlib.h> 8308 8309_ACEOF 8310if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8311 $EGREP "free" >/dev/null 2>&1; then : 8312 8313else 8314 ac_cv_header_stdc=no 8315fi 8316rm -f conftest* 8317 8318fi 8319 8320if test $ac_cv_header_stdc = yes; then 8321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8322 if test "$cross_compiling" = yes; then : 8323 : 8324else 8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8326/* end confdefs.h. */ 8327#include <ctype.h> 8328#include <stdlib.h> 8329#if ((' ' & 0x0FF) == 0x020) 8330# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8331# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8332#else 8333# define ISLOWER(c) \ 8334 (('a' <= (c) && (c) <= 'i') \ 8335 || ('j' <= (c) && (c) <= 'r') \ 8336 || ('s' <= (c) && (c) <= 'z')) 8337# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8338#endif 8339 8340#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8341int 8342main () 8343{ 8344 int i; 8345 for (i = 0; i < 256; i++) 8346 if (XOR (islower (i), ISLOWER (i)) 8347 || toupper (i) != TOUPPER (i)) 8348 return 2; 8349 return 0; 8350} 8351_ACEOF 8352if ac_fn_c_try_run "$LINENO"; then : 8353 8354else 8355 ac_cv_header_stdc=no 8356fi 8357rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8358 conftest.$ac_objext conftest.beam conftest.$ac_ext 8359fi 8360 8361fi 8362fi 8363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8364$as_echo "$ac_cv_header_stdc" >&6; } 8365if test $ac_cv_header_stdc = yes; then 8366 8367$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8368 8369fi 8370 8371# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8372for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8373 inttypes.h stdint.h unistd.h 8374do : 8375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8376ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8377" 8378if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8379 cat >>confdefs.h <<_ACEOF 8380#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8381_ACEOF 8382 8383fi 8384 8385done 8386 8387 8388for ac_header in dlfcn.h 8389do : 8390 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8391" 8392if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8393 cat >>confdefs.h <<_ACEOF 8394#define HAVE_DLFCN_H 1 8395_ACEOF 8396 8397fi 8398 8399done 8400 8401 8402 8403func_stripname_cnf () 8404{ 8405 case ${2} in 8406 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 8407 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 8408 esac 8409} # func_stripname_cnf 8410 8411 8412 8413 8414 8415# Set options 8416 8417 8418 8419 enable_dlopen=no 8420 8421 8422 8423 # Check whether --enable-shared was given. 8424if test "${enable_shared+set}" = set; then : 8425 enableval=$enable_shared; p=${PACKAGE-default} 8426 case $enableval in 8427 yes) enable_shared=yes ;; 8428 no) enable_shared=no ;; 8429 *) 8430 enable_shared=no 8431 # Look at the argument we got. We use all the common list separators. 8432 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8433 for pkg in $enableval; do 8434 IFS="$lt_save_ifs" 8435 if test "X$pkg" = "X$p"; then 8436 enable_shared=yes 8437 fi 8438 done 8439 IFS="$lt_save_ifs" 8440 ;; 8441 esac 8442else 8443 enable_shared=yes 8444fi 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456# Check whether --with-pic was given. 8457if test "${with_pic+set}" = set; then : 8458 withval=$with_pic; lt_p=${PACKAGE-default} 8459 case $withval in 8460 yes|no) pic_mode=$withval ;; 8461 *) 8462 pic_mode=default 8463 # Look at the argument we got. We use all the common list separators. 8464 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8465 for lt_pkg in $withval; do 8466 IFS="$lt_save_ifs" 8467 if test "X$lt_pkg" = "X$lt_p"; then 8468 pic_mode=yes 8469 fi 8470 done 8471 IFS="$lt_save_ifs" 8472 ;; 8473 esac 8474else 8475 pic_mode=default 8476fi 8477 8478 8479test -z "$pic_mode" && pic_mode=default 8480 8481 8482 8483 8484 8485 8486 8487 # Check whether --enable-fast-install was given. 8488if test "${enable_fast_install+set}" = set; then : 8489 enableval=$enable_fast_install; p=${PACKAGE-default} 8490 case $enableval in 8491 yes) enable_fast_install=yes ;; 8492 no) enable_fast_install=no ;; 8493 *) 8494 enable_fast_install=no 8495 # Look at the argument we got. We use all the common list separators. 8496 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8497 for pkg in $enableval; do 8498 IFS="$lt_save_ifs" 8499 if test "X$pkg" = "X$p"; then 8500 enable_fast_install=yes 8501 fi 8502 done 8503 IFS="$lt_save_ifs" 8504 ;; 8505 esac 8506else 8507 enable_fast_install=yes 8508fi 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520# This can be used to rebuild libtool when needed 8521LIBTOOL_DEPS="$ltmain" 8522 8523# Always use our own libtool. 8524LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555test -z "$LN_S" && LN_S="ln -s" 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570if test -n "${ZSH_VERSION+set}" ; then 8571 setopt NO_GLOB_SUBST 8572fi 8573 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8575$as_echo_n "checking for objdir... " >&6; } 8576if ${lt_cv_objdir+:} false; then : 8577 $as_echo_n "(cached) " >&6 8578else 8579 rm -f .libs 2>/dev/null 8580mkdir .libs 2>/dev/null 8581if test -d .libs; then 8582 lt_cv_objdir=.libs 8583else 8584 # MS-DOS does not allow filenames that begin with a dot. 8585 lt_cv_objdir=_libs 8586fi 8587rmdir .libs 2>/dev/null 8588fi 8589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8590$as_echo "$lt_cv_objdir" >&6; } 8591objdir=$lt_cv_objdir 8592 8593 8594 8595 8596 8597cat >>confdefs.h <<_ACEOF 8598#define LT_OBJDIR "$lt_cv_objdir/" 8599_ACEOF 8600 8601 8602 8603 8604case $host_os in 8605aix3*) 8606 # AIX sometimes has problems with the GCC collect2 program. For some 8607 # reason, if we set the COLLECT_NAMES environment variable, the problems 8608 # vanish in a puff of smoke. 8609 if test "X${COLLECT_NAMES+set}" != Xset; then 8610 COLLECT_NAMES= 8611 export COLLECT_NAMES 8612 fi 8613 ;; 8614esac 8615 8616# Global variables: 8617ofile=libtool 8618can_build_shared=yes 8619 8620# All known linkers require a `.a' archive for static linking (except MSVC, 8621# which needs '.lib'). 8622libext=a 8623 8624with_gnu_ld="$lt_cv_prog_gnu_ld" 8625 8626old_CC="$CC" 8627old_CFLAGS="$CFLAGS" 8628 8629# Set sane defaults for various variables 8630test -z "$CC" && CC=cc 8631test -z "$LTCC" && LTCC=$CC 8632test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8633test -z "$LD" && LD=ld 8634test -z "$ac_objext" && ac_objext=o 8635 8636for cc_temp in $compiler""; do 8637 case $cc_temp in 8638 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8639 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8640 \-*) ;; 8641 *) break;; 8642 esac 8643done 8644cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8645 8646 8647# Only perform the check for file, if the check method requires it 8648test -z "$MAGIC_CMD" && MAGIC_CMD=file 8649case $deplibs_check_method in 8650file_magic*) 8651 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8653$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8654if ${lt_cv_path_MAGIC_CMD+:} false; then : 8655 $as_echo_n "(cached) " >&6 8656else 8657 case $MAGIC_CMD in 8658[\\/*] | ?:[\\/]*) 8659 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8660 ;; 8661*) 8662 lt_save_MAGIC_CMD="$MAGIC_CMD" 8663 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8664 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8665 for ac_dir in $ac_dummy; do 8666 IFS="$lt_save_ifs" 8667 test -z "$ac_dir" && ac_dir=. 8668 if test -f $ac_dir/${ac_tool_prefix}file; then 8669 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8670 if test -n "$file_magic_test_file"; then 8671 case $deplibs_check_method in 8672 "file_magic "*) 8673 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8674 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8675 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8676 $EGREP "$file_magic_regex" > /dev/null; then 8677 : 8678 else 8679 cat <<_LT_EOF 1>&2 8680 8681*** Warning: the command libtool uses to detect shared libraries, 8682*** $file_magic_cmd, produces output that libtool cannot recognize. 8683*** The result is that libtool may fail to recognize shared libraries 8684*** as such. This will affect the creation of libtool libraries that 8685*** depend on shared libraries, but programs linked with such libtool 8686*** libraries will work regardless of this problem. Nevertheless, you 8687*** may want to report the problem to your system manager and/or to 8688*** bug-libtool@gnu.org 8689 8690_LT_EOF 8691 fi ;; 8692 esac 8693 fi 8694 break 8695 fi 8696 done 8697 IFS="$lt_save_ifs" 8698 MAGIC_CMD="$lt_save_MAGIC_CMD" 8699 ;; 8700esac 8701fi 8702 8703MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8704if test -n "$MAGIC_CMD"; then 8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8706$as_echo "$MAGIC_CMD" >&6; } 8707else 8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8709$as_echo "no" >&6; } 8710fi 8711 8712 8713 8714 8715 8716if test -z "$lt_cv_path_MAGIC_CMD"; then 8717 if test -n "$ac_tool_prefix"; then 8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8719$as_echo_n "checking for file... " >&6; } 8720if ${lt_cv_path_MAGIC_CMD+:} false; then : 8721 $as_echo_n "(cached) " >&6 8722else 8723 case $MAGIC_CMD in 8724[\\/*] | ?:[\\/]*) 8725 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8726 ;; 8727*) 8728 lt_save_MAGIC_CMD="$MAGIC_CMD" 8729 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8730 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8731 for ac_dir in $ac_dummy; do 8732 IFS="$lt_save_ifs" 8733 test -z "$ac_dir" && ac_dir=. 8734 if test -f $ac_dir/file; then 8735 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8736 if test -n "$file_magic_test_file"; then 8737 case $deplibs_check_method in 8738 "file_magic "*) 8739 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8740 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8741 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8742 $EGREP "$file_magic_regex" > /dev/null; then 8743 : 8744 else 8745 cat <<_LT_EOF 1>&2 8746 8747*** Warning: the command libtool uses to detect shared libraries, 8748*** $file_magic_cmd, produces output that libtool cannot recognize. 8749*** The result is that libtool may fail to recognize shared libraries 8750*** as such. This will affect the creation of libtool libraries that 8751*** depend on shared libraries, but programs linked with such libtool 8752*** libraries will work regardless of this problem. Nevertheless, you 8753*** may want to report the problem to your system manager and/or to 8754*** bug-libtool@gnu.org 8755 8756_LT_EOF 8757 fi ;; 8758 esac 8759 fi 8760 break 8761 fi 8762 done 8763 IFS="$lt_save_ifs" 8764 MAGIC_CMD="$lt_save_MAGIC_CMD" 8765 ;; 8766esac 8767fi 8768 8769MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8770if test -n "$MAGIC_CMD"; then 8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8772$as_echo "$MAGIC_CMD" >&6; } 8773else 8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8775$as_echo "no" >&6; } 8776fi 8777 8778 8779 else 8780 MAGIC_CMD=: 8781 fi 8782fi 8783 8784 fi 8785 ;; 8786esac 8787 8788# Use C for the default configuration in the libtool script 8789 8790lt_save_CC="$CC" 8791ac_ext=c 8792ac_cpp='$CPP $CPPFLAGS' 8793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8795ac_compiler_gnu=$ac_cv_c_compiler_gnu 8796 8797 8798# Source file extension for C test sources. 8799ac_ext=c 8800 8801# Object file extension for compiled C test sources. 8802objext=o 8803objext=$objext 8804 8805# Code to be used in simple compile tests 8806lt_simple_compile_test_code="int some_variable = 0;" 8807 8808# Code to be used in simple link tests 8809lt_simple_link_test_code='int main(){return(0);}' 8810 8811 8812 8813 8814 8815 8816 8817# If no C compiler was specified, use CC. 8818LTCC=${LTCC-"$CC"} 8819 8820# If no C compiler flags were specified, use CFLAGS. 8821LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8822 8823# Allow CC to be a program name with arguments. 8824compiler=$CC 8825 8826# Save the default compiler, since it gets overwritten when the other 8827# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8828compiler_DEFAULT=$CC 8829 8830# save warnings/boilerplate of simple test code 8831ac_outfile=conftest.$ac_objext 8832echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8833eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8834_lt_compiler_boilerplate=`cat conftest.err` 8835$RM conftest* 8836 8837ac_outfile=conftest.$ac_objext 8838echo "$lt_simple_link_test_code" >conftest.$ac_ext 8839eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8840_lt_linker_boilerplate=`cat conftest.err` 8841$RM -r conftest* 8842 8843 8844if test -n "$compiler"; then 8845 8846lt_prog_compiler_no_builtin_flag= 8847 8848if test "$GCC" = yes; then 8849 case $cc_basename in 8850 nvcc*) 8851 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8852 *) 8853 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8854 esac 8855 8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8857$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8858if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8859 $as_echo_n "(cached) " >&6 8860else 8861 lt_cv_prog_compiler_rtti_exceptions=no 8862 ac_outfile=conftest.$ac_objext 8863 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8864 lt_compiler_flag="-fno-rtti -fno-exceptions" 8865 # Insert the option either (1) after the last *FLAGS variable, or 8866 # (2) before a word containing "conftest.", or (3) at the end. 8867 # Note that $ac_compile itself does not contain backslashes and begins 8868 # with a dollar sign (not a hyphen), so the echo should work correctly. 8869 # The option is referenced via a variable to avoid confusing sed. 8870 lt_compile=`echo "$ac_compile" | $SED \ 8871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8873 -e 's:$: $lt_compiler_flag:'` 8874 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8875 (eval "$lt_compile" 2>conftest.err) 8876 ac_status=$? 8877 cat conftest.err >&5 8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8879 if (exit $ac_status) && test -s "$ac_outfile"; then 8880 # The compiler can only warn and ignore the option if not recognized 8881 # So say no if there are warnings other than the usual output. 8882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8883 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8884 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8885 lt_cv_prog_compiler_rtti_exceptions=yes 8886 fi 8887 fi 8888 $RM conftest* 8889 8890fi 8891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8892$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8893 8894if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8895 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8896else 8897 : 8898fi 8899 8900fi 8901 8902 8903 8904 8905 8906 8907 lt_prog_compiler_wl= 8908lt_prog_compiler_pic= 8909lt_prog_compiler_static= 8910 8911 8912 if test "$GCC" = yes; then 8913 lt_prog_compiler_wl='-Wl,' 8914 lt_prog_compiler_static='-static' 8915 8916 case $host_os in 8917 aix*) 8918 # All AIX code is PIC. 8919 if test "$host_cpu" = ia64; then 8920 # AIX 5 now supports IA64 processor 8921 lt_prog_compiler_static='-Bstatic' 8922 fi 8923 ;; 8924 8925 amigaos*) 8926 case $host_cpu in 8927 powerpc) 8928 # see comment about AmigaOS4 .so support 8929 lt_prog_compiler_pic='-fPIC' 8930 ;; 8931 m68k) 8932 # FIXME: we need at least 68020 code to build shared libraries, but 8933 # adding the `-m68020' flag to GCC prevents building anything better, 8934 # like `-m68040'. 8935 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8936 ;; 8937 esac 8938 ;; 8939 8940 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8941 # PIC is the default for these OSes. 8942 ;; 8943 8944 mingw* | cygwin* | pw32* | os2* | cegcc*) 8945 # This hack is so that the source file can tell whether it is being 8946 # built for inclusion in a dll (and should export symbols for example). 8947 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8948 # (--disable-auto-import) libraries 8949 lt_prog_compiler_pic='-DDLL_EXPORT' 8950 ;; 8951 8952 darwin* | rhapsody*) 8953 # PIC is the default on this platform 8954 # Common symbols not allowed in MH_DYLIB files 8955 lt_prog_compiler_pic='-fno-common' 8956 ;; 8957 8958 haiku*) 8959 # PIC is the default for Haiku. 8960 # The "-static" flag exists, but is broken. 8961 lt_prog_compiler_static= 8962 ;; 8963 8964 hpux*) 8965 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8966 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8967 # sets the default TLS model and affects inlining. 8968 case $host_cpu in 8969 hppa*64*) 8970 # +Z the default 8971 ;; 8972 *) 8973 lt_prog_compiler_pic='-fPIC' 8974 ;; 8975 esac 8976 ;; 8977 8978 interix[3-9]*) 8979 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8980 # Instead, we relocate shared libraries at runtime. 8981 ;; 8982 8983 msdosdjgpp*) 8984 # Just because we use GCC doesn't mean we suddenly get shared libraries 8985 # on systems that don't support them. 8986 lt_prog_compiler_can_build_shared=no 8987 enable_shared=no 8988 ;; 8989 8990 *nto* | *qnx*) 8991 # QNX uses GNU C++, but need to define -shared option too, otherwise 8992 # it will coredump. 8993 lt_prog_compiler_pic='-fPIC -shared' 8994 ;; 8995 8996 sysv4*MP*) 8997 if test -d /usr/nec; then 8998 lt_prog_compiler_pic=-Kconform_pic 8999 fi 9000 ;; 9001 9002 *) 9003 lt_prog_compiler_pic='-fPIC' 9004 ;; 9005 esac 9006 9007 case $cc_basename in 9008 nvcc*) # Cuda Compiler Driver 2.2 9009 lt_prog_compiler_wl='-Xlinker ' 9010 if test -n "$lt_prog_compiler_pic"; then 9011 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9012 fi 9013 ;; 9014 esac 9015 else 9016 # PORTME Check for flag to pass linker flags through the system compiler. 9017 case $host_os in 9018 aix*) 9019 lt_prog_compiler_wl='-Wl,' 9020 if test "$host_cpu" = ia64; then 9021 # AIX 5 now supports IA64 processor 9022 lt_prog_compiler_static='-Bstatic' 9023 else 9024 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9025 fi 9026 ;; 9027 9028 mingw* | cygwin* | pw32* | os2* | cegcc*) 9029 # This hack is so that the source file can tell whether it is being 9030 # built for inclusion in a dll (and should export symbols for example). 9031 lt_prog_compiler_pic='-DDLL_EXPORT' 9032 ;; 9033 9034 hpux9* | hpux10* | hpux11*) 9035 lt_prog_compiler_wl='-Wl,' 9036 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9037 # not for PA HP-UX. 9038 case $host_cpu in 9039 hppa*64*|ia64*) 9040 # +Z the default 9041 ;; 9042 *) 9043 lt_prog_compiler_pic='+Z' 9044 ;; 9045 esac 9046 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9047 lt_prog_compiler_static='${wl}-a ${wl}archive' 9048 ;; 9049 9050 irix5* | irix6* | nonstopux*) 9051 lt_prog_compiler_wl='-Wl,' 9052 # PIC (with -KPIC) is the default. 9053 lt_prog_compiler_static='-non_shared' 9054 ;; 9055 9056 linux* | k*bsd*-gnu | kopensolaris*-gnu) 9057 case $cc_basename in 9058 # old Intel for x86_64 which still supported -KPIC. 9059 ecc*) 9060 lt_prog_compiler_wl='-Wl,' 9061 lt_prog_compiler_pic='-KPIC' 9062 lt_prog_compiler_static='-static' 9063 ;; 9064 # icc used to be incompatible with GCC. 9065 # ICC 10 doesn't accept -KPIC any more. 9066 icc* | ifort*) 9067 lt_prog_compiler_wl='-Wl,' 9068 lt_prog_compiler_pic='-fPIC' 9069 lt_prog_compiler_static='-static' 9070 ;; 9071 # Lahey Fortran 8.1. 9072 lf95*) 9073 lt_prog_compiler_wl='-Wl,' 9074 lt_prog_compiler_pic='--shared' 9075 lt_prog_compiler_static='--static' 9076 ;; 9077 nagfor*) 9078 # NAG Fortran compiler 9079 lt_prog_compiler_wl='-Wl,-Wl,,' 9080 lt_prog_compiler_pic='-PIC' 9081 lt_prog_compiler_static='-Bstatic' 9082 ;; 9083 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9084 # Portland Group compilers (*not* the Pentium gcc compiler, 9085 # which looks to be a dead project) 9086 lt_prog_compiler_wl='-Wl,' 9087 lt_prog_compiler_pic='-fpic' 9088 lt_prog_compiler_static='-Bstatic' 9089 ;; 9090 ccc*) 9091 lt_prog_compiler_wl='-Wl,' 9092 # All Alpha code is PIC. 9093 lt_prog_compiler_static='-non_shared' 9094 ;; 9095 xl* | bgxl* | bgf* | mpixl*) 9096 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9097 lt_prog_compiler_wl='-Wl,' 9098 lt_prog_compiler_pic='-qpic' 9099 lt_prog_compiler_static='-qstaticlink' 9100 ;; 9101 *) 9102 case `$CC -V 2>&1 | sed 5q` in 9103 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9104 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9105 lt_prog_compiler_pic='-KPIC' 9106 lt_prog_compiler_static='-Bstatic' 9107 lt_prog_compiler_wl='' 9108 ;; 9109 *Sun\ F* | *Sun*Fortran*) 9110 lt_prog_compiler_pic='-KPIC' 9111 lt_prog_compiler_static='-Bstatic' 9112 lt_prog_compiler_wl='-Qoption ld ' 9113 ;; 9114 *Sun\ C*) 9115 # Sun C 5.9 9116 lt_prog_compiler_pic='-KPIC' 9117 lt_prog_compiler_static='-Bstatic' 9118 lt_prog_compiler_wl='-Wl,' 9119 ;; 9120 *Intel*\ [CF]*Compiler*) 9121 lt_prog_compiler_wl='-Wl,' 9122 lt_prog_compiler_pic='-fPIC' 9123 lt_prog_compiler_static='-static' 9124 ;; 9125 *Portland\ Group*) 9126 lt_prog_compiler_wl='-Wl,' 9127 lt_prog_compiler_pic='-fpic' 9128 lt_prog_compiler_static='-Bstatic' 9129 ;; 9130 esac 9131 ;; 9132 esac 9133 ;; 9134 9135 newsos6) 9136 lt_prog_compiler_pic='-KPIC' 9137 lt_prog_compiler_static='-Bstatic' 9138 ;; 9139 9140 *nto* | *qnx*) 9141 # QNX uses GNU C++, but need to define -shared option too, otherwise 9142 # it will coredump. 9143 lt_prog_compiler_pic='-fPIC -shared' 9144 ;; 9145 9146 osf3* | osf4* | osf5*) 9147 lt_prog_compiler_wl='-Wl,' 9148 # All OSF/1 code is PIC. 9149 lt_prog_compiler_static='-non_shared' 9150 ;; 9151 9152 rdos*) 9153 lt_prog_compiler_static='-non_shared' 9154 ;; 9155 9156 solaris*) 9157 lt_prog_compiler_pic='-KPIC' 9158 lt_prog_compiler_static='-Bstatic' 9159 case $cc_basename in 9160 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9161 lt_prog_compiler_wl='-Qoption ld ';; 9162 *) 9163 lt_prog_compiler_wl='-Wl,';; 9164 esac 9165 ;; 9166 9167 sunos4*) 9168 lt_prog_compiler_wl='-Qoption ld ' 9169 lt_prog_compiler_pic='-PIC' 9170 lt_prog_compiler_static='-Bstatic' 9171 ;; 9172 9173 sysv4 | sysv4.2uw2* | sysv4.3*) 9174 lt_prog_compiler_wl='-Wl,' 9175 lt_prog_compiler_pic='-KPIC' 9176 lt_prog_compiler_static='-Bstatic' 9177 ;; 9178 9179 sysv4*MP*) 9180 if test -d /usr/nec ;then 9181 lt_prog_compiler_pic='-Kconform_pic' 9182 lt_prog_compiler_static='-Bstatic' 9183 fi 9184 ;; 9185 9186 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9187 lt_prog_compiler_wl='-Wl,' 9188 lt_prog_compiler_pic='-KPIC' 9189 lt_prog_compiler_static='-Bstatic' 9190 ;; 9191 9192 unicos*) 9193 lt_prog_compiler_wl='-Wl,' 9194 lt_prog_compiler_can_build_shared=no 9195 ;; 9196 9197 uts4*) 9198 lt_prog_compiler_pic='-pic' 9199 lt_prog_compiler_static='-Bstatic' 9200 ;; 9201 9202 *) 9203 lt_prog_compiler_can_build_shared=no 9204 ;; 9205 esac 9206 fi 9207 9208case $host_os in 9209 # For platforms which do not support PIC, -DPIC is meaningless: 9210 *djgpp*) 9211 lt_prog_compiler_pic= 9212 ;; 9213 *) 9214 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9215 ;; 9216esac 9217 9218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9219$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9220if ${lt_cv_prog_compiler_pic+:} false; then : 9221 $as_echo_n "(cached) " >&6 9222else 9223 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9224fi 9225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9226$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9227lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9228 9229# 9230# Check to make sure the PIC flag actually works. 9231# 9232if test -n "$lt_prog_compiler_pic"; then 9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9234$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9235if ${lt_cv_prog_compiler_pic_works+:} false; then : 9236 $as_echo_n "(cached) " >&6 9237else 9238 lt_cv_prog_compiler_pic_works=no 9239 ac_outfile=conftest.$ac_objext 9240 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9241 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9242 # Insert the option either (1) after the last *FLAGS variable, or 9243 # (2) before a word containing "conftest.", or (3) at the end. 9244 # Note that $ac_compile itself does not contain backslashes and begins 9245 # with a dollar sign (not a hyphen), so the echo should work correctly. 9246 # The option is referenced via a variable to avoid confusing sed. 9247 lt_compile=`echo "$ac_compile" | $SED \ 9248 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9250 -e 's:$: $lt_compiler_flag:'` 9251 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9252 (eval "$lt_compile" 2>conftest.err) 9253 ac_status=$? 9254 cat conftest.err >&5 9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9256 if (exit $ac_status) && test -s "$ac_outfile"; then 9257 # The compiler can only warn and ignore the option if not recognized 9258 # So say no if there are warnings other than the usual output. 9259 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9260 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9261 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9262 lt_cv_prog_compiler_pic_works=yes 9263 fi 9264 fi 9265 $RM conftest* 9266 9267fi 9268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9269$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9270 9271if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9272 case $lt_prog_compiler_pic in 9273 "" | " "*) ;; 9274 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9275 esac 9276else 9277 lt_prog_compiler_pic= 9278 lt_prog_compiler_can_build_shared=no 9279fi 9280 9281fi 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293# 9294# Check to make sure the static flag actually works. 9295# 9296wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9298$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9299if ${lt_cv_prog_compiler_static_works+:} false; then : 9300 $as_echo_n "(cached) " >&6 9301else 9302 lt_cv_prog_compiler_static_works=no 9303 save_LDFLAGS="$LDFLAGS" 9304 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9305 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9306 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9307 # The linker can only warn and ignore the option if not recognized 9308 # So say no if there are warnings 9309 if test -s conftest.err; then 9310 # Append any errors to the config.log. 9311 cat conftest.err 1>&5 9312 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9313 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9314 if diff conftest.exp conftest.er2 >/dev/null; then 9315 lt_cv_prog_compiler_static_works=yes 9316 fi 9317 else 9318 lt_cv_prog_compiler_static_works=yes 9319 fi 9320 fi 9321 $RM -r conftest* 9322 LDFLAGS="$save_LDFLAGS" 9323 9324fi 9325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9326$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9327 9328if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9329 : 9330else 9331 lt_prog_compiler_static= 9332fi 9333 9334 9335 9336 9337 9338 9339 9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9341$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9342if ${lt_cv_prog_compiler_c_o+:} false; then : 9343 $as_echo_n "(cached) " >&6 9344else 9345 lt_cv_prog_compiler_c_o=no 9346 $RM -r conftest 2>/dev/null 9347 mkdir conftest 9348 cd conftest 9349 mkdir out 9350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9351 9352 lt_compiler_flag="-o out/conftest2.$ac_objext" 9353 # Insert the option either (1) after the last *FLAGS variable, or 9354 # (2) before a word containing "conftest.", or (3) at the end. 9355 # Note that $ac_compile itself does not contain backslashes and begins 9356 # with a dollar sign (not a hyphen), so the echo should work correctly. 9357 lt_compile=`echo "$ac_compile" | $SED \ 9358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9360 -e 's:$: $lt_compiler_flag:'` 9361 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9362 (eval "$lt_compile" 2>out/conftest.err) 9363 ac_status=$? 9364 cat out/conftest.err >&5 9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9366 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9367 then 9368 # The compiler can only warn and ignore the option if not recognized 9369 # So say no if there are warnings 9370 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9371 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9372 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9373 lt_cv_prog_compiler_c_o=yes 9374 fi 9375 fi 9376 chmod u+w . 2>&5 9377 $RM conftest* 9378 # SGI C++ compiler will create directory out/ii_files/ for 9379 # template instantiation 9380 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9381 $RM out/* && rmdir out 9382 cd .. 9383 $RM -r conftest 9384 $RM conftest* 9385 9386fi 9387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9388$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9389 9390 9391 9392 9393 9394 9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9396$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9397if ${lt_cv_prog_compiler_c_o+:} false; then : 9398 $as_echo_n "(cached) " >&6 9399else 9400 lt_cv_prog_compiler_c_o=no 9401 $RM -r conftest 2>/dev/null 9402 mkdir conftest 9403 cd conftest 9404 mkdir out 9405 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9406 9407 lt_compiler_flag="-o out/conftest2.$ac_objext" 9408 # Insert the option either (1) after the last *FLAGS variable, or 9409 # (2) before a word containing "conftest.", or (3) at the end. 9410 # Note that $ac_compile itself does not contain backslashes and begins 9411 # with a dollar sign (not a hyphen), so the echo should work correctly. 9412 lt_compile=`echo "$ac_compile" | $SED \ 9413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9415 -e 's:$: $lt_compiler_flag:'` 9416 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9417 (eval "$lt_compile" 2>out/conftest.err) 9418 ac_status=$? 9419 cat out/conftest.err >&5 9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9421 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9422 then 9423 # The compiler can only warn and ignore the option if not recognized 9424 # So say no if there are warnings 9425 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9426 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9427 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9428 lt_cv_prog_compiler_c_o=yes 9429 fi 9430 fi 9431 chmod u+w . 2>&5 9432 $RM conftest* 9433 # SGI C++ compiler will create directory out/ii_files/ for 9434 # template instantiation 9435 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9436 $RM out/* && rmdir out 9437 cd .. 9438 $RM -r conftest 9439 $RM conftest* 9440 9441fi 9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9443$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9444 9445 9446 9447 9448hard_links="nottested" 9449if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9450 # do not overwrite the value of need_locks provided by the user 9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9452$as_echo_n "checking if we can lock with hard links... " >&6; } 9453 hard_links=yes 9454 $RM conftest* 9455 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9456 touch conftest.a 9457 ln conftest.a conftest.b 2>&5 || hard_links=no 9458 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9460$as_echo "$hard_links" >&6; } 9461 if test "$hard_links" = no; then 9462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9463$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9464 need_locks=warn 9465 fi 9466else 9467 need_locks=no 9468fi 9469 9470 9471 9472 9473 9474 9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9476$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9477 9478 runpath_var= 9479 allow_undefined_flag= 9480 always_export_symbols=no 9481 archive_cmds= 9482 archive_expsym_cmds= 9483 compiler_needs_object=no 9484 enable_shared_with_static_runtimes=no 9485 export_dynamic_flag_spec= 9486 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9487 hardcode_automatic=no 9488 hardcode_direct=no 9489 hardcode_direct_absolute=no 9490 hardcode_libdir_flag_spec= 9491 hardcode_libdir_separator= 9492 hardcode_minus_L=no 9493 hardcode_shlibpath_var=unsupported 9494 inherit_rpath=no 9495 link_all_deplibs=unknown 9496 module_cmds= 9497 module_expsym_cmds= 9498 old_archive_from_new_cmds= 9499 old_archive_from_expsyms_cmds= 9500 thread_safe_flag_spec= 9501 whole_archive_flag_spec= 9502 # include_expsyms should be a list of space-separated symbols to be *always* 9503 # included in the symbol list 9504 include_expsyms= 9505 # exclude_expsyms can be an extended regexp of symbols to exclude 9506 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9507 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9508 # as well as any symbol that contains `d'. 9509 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9510 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9511 # platforms (ab)use it in PIC code, but their linkers get confused if 9512 # the symbol is explicitly referenced. Since portable code cannot 9513 # rely on this symbol name, it's probably fine to never include it in 9514 # preloaded symbol tables. 9515 # Exclude shared library initialization/finalization symbols. 9516 extract_expsyms_cmds= 9517 9518 case $host_os in 9519 cygwin* | mingw* | pw32* | cegcc*) 9520 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9521 # When not using gcc, we currently assume that we are using 9522 # Microsoft Visual C++. 9523 if test "$GCC" != yes; then 9524 with_gnu_ld=no 9525 fi 9526 ;; 9527 interix*) 9528 # we just hope/assume this is gcc and not c89 (= MSVC++) 9529 with_gnu_ld=yes 9530 ;; 9531 openbsd*) 9532 with_gnu_ld=no 9533 ;; 9534 esac 9535 9536 ld_shlibs=yes 9537 9538 # On some targets, GNU ld is compatible enough with the native linker 9539 # that we're better off using the native interface for both. 9540 lt_use_gnu_ld_interface=no 9541 if test "$with_gnu_ld" = yes; then 9542 case $host_os in 9543 aix*) 9544 # The AIX port of GNU ld has always aspired to compatibility 9545 # with the native linker. However, as the warning in the GNU ld 9546 # block says, versions before 2.19.5* couldn't really create working 9547 # shared libraries, regardless of the interface used. 9548 case `$LD -v 2>&1` in 9549 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9550 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9551 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9552 *) 9553 lt_use_gnu_ld_interface=yes 9554 ;; 9555 esac 9556 ;; 9557 *) 9558 lt_use_gnu_ld_interface=yes 9559 ;; 9560 esac 9561 fi 9562 9563 if test "$lt_use_gnu_ld_interface" = yes; then 9564 # If archive_cmds runs LD, not CC, wlarc should be empty 9565 wlarc='${wl}' 9566 9567 # Set some defaults for GNU ld with shared library support. These 9568 # are reset later if shared libraries are not supported. Putting them 9569 # here allows them to be overridden if necessary. 9570 runpath_var=LD_RUN_PATH 9571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9572 export_dynamic_flag_spec='${wl}--export-dynamic' 9573 # ancient GNU ld didn't support --whole-archive et. al. 9574 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9575 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9576 else 9577 whole_archive_flag_spec= 9578 fi 9579 supports_anon_versioning=no 9580 case `$LD -v 2>&1` in 9581 *GNU\ gold*) supports_anon_versioning=yes ;; 9582 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9583 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9584 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9585 *\ 2.11.*) ;; # other 2.11 versions 9586 *) supports_anon_versioning=yes ;; 9587 esac 9588 9589 # See if GNU ld supports shared libraries. 9590 case $host_os in 9591 aix[3-9]*) 9592 # On AIX/PPC, the GNU linker is very broken 9593 if test "$host_cpu" != ia64; then 9594 ld_shlibs=no 9595 cat <<_LT_EOF 1>&2 9596 9597*** Warning: the GNU linker, at least up to release 2.19, is reported 9598*** to be unable to reliably create shared libraries on AIX. 9599*** Therefore, libtool is disabling shared libraries support. If you 9600*** really care for shared libraries, you may want to install binutils 9601*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9602*** You will then need to restart the configuration process. 9603 9604_LT_EOF 9605 fi 9606 ;; 9607 9608 amigaos*) 9609 case $host_cpu in 9610 powerpc) 9611 # see comment about AmigaOS4 .so support 9612 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9613 archive_expsym_cmds='' 9614 ;; 9615 m68k) 9616 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)' 9617 hardcode_libdir_flag_spec='-L$libdir' 9618 hardcode_minus_L=yes 9619 ;; 9620 esac 9621 ;; 9622 9623 beos*) 9624 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9625 allow_undefined_flag=unsupported 9626 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9627 # support --undefined. This deserves some investigation. FIXME 9628 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9629 else 9630 ld_shlibs=no 9631 fi 9632 ;; 9633 9634 cygwin* | mingw* | pw32* | cegcc*) 9635 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9636 # as there is no search path for DLLs. 9637 hardcode_libdir_flag_spec='-L$libdir' 9638 export_dynamic_flag_spec='${wl}--export-all-symbols' 9639 allow_undefined_flag=unsupported 9640 always_export_symbols=no 9641 enable_shared_with_static_runtimes=yes 9642 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' 9643 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9644 9645 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9647 # If the export-symbols file already is a .def file (1st line 9648 # is EXPORTS), use it as is; otherwise, prepend... 9649 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9650 cp $export_symbols $output_objdir/$soname.def; 9651 else 9652 echo EXPORTS > $output_objdir/$soname.def; 9653 cat $export_symbols >> $output_objdir/$soname.def; 9654 fi~ 9655 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9656 else 9657 ld_shlibs=no 9658 fi 9659 ;; 9660 9661 haiku*) 9662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9663 link_all_deplibs=yes 9664 ;; 9665 9666 interix[3-9]*) 9667 hardcode_direct=no 9668 hardcode_shlibpath_var=no 9669 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9670 export_dynamic_flag_spec='${wl}-E' 9671 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9672 # Instead, shared libraries are loaded at an image base (0x10000000 by 9673 # default) and relocated if they conflict, which is a slow very memory 9674 # consuming and fragmenting process. To avoid this, we pick a random, 9675 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9676 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9677 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9678 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' 9679 ;; 9680 9681 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9682 tmp_diet=no 9683 if test "$host_os" = linux-dietlibc; then 9684 case $cc_basename in 9685 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9686 esac 9687 fi 9688 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9689 && test "$tmp_diet" = no 9690 then 9691 tmp_addflag=' $pic_flag' 9692 tmp_sharedflag='-shared' 9693 case $cc_basename,$host_cpu in 9694 pgcc*) # Portland Group C compiler 9695 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' 9696 tmp_addflag=' $pic_flag' 9697 ;; 9698 pgf77* | pgf90* | pgf95* | pgfortran*) 9699 # Portland Group f77 and f90 compilers 9700 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' 9701 tmp_addflag=' $pic_flag -Mnomain' ;; 9702 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9703 tmp_addflag=' -i_dynamic' ;; 9704 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9705 tmp_addflag=' -i_dynamic -nofor_main' ;; 9706 ifc* | ifort*) # Intel Fortran compiler 9707 tmp_addflag=' -nofor_main' ;; 9708 lf95*) # Lahey Fortran 8.1 9709 whole_archive_flag_spec= 9710 tmp_sharedflag='--shared' ;; 9711 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9712 tmp_sharedflag='-qmkshrobj' 9713 tmp_addflag= ;; 9714 nvcc*) # Cuda Compiler Driver 2.2 9715 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' 9716 compiler_needs_object=yes 9717 ;; 9718 esac 9719 case `$CC -V 2>&1 | sed 5q` in 9720 *Sun\ C*) # Sun C 5.9 9721 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' 9722 compiler_needs_object=yes 9723 tmp_sharedflag='-G' ;; 9724 *Sun\ F*) # Sun Fortran 8.3 9725 tmp_sharedflag='-G' ;; 9726 esac 9727 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9728 9729 if test "x$supports_anon_versioning" = xyes; then 9730 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9732 echo "local: *; };" >> $output_objdir/$libname.ver~ 9733 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9734 fi 9735 9736 case $cc_basename in 9737 xlf* | bgf* | bgxlf* | mpixlf*) 9738 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9739 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9740 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9741 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9742 if test "x$supports_anon_versioning" = xyes; then 9743 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9745 echo "local: *; };" >> $output_objdir/$libname.ver~ 9746 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9747 fi 9748 ;; 9749 esac 9750 else 9751 ld_shlibs=no 9752 fi 9753 ;; 9754 9755 netbsd*) 9756 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9757 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9758 wlarc= 9759 else 9760 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9761 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9762 fi 9763 ;; 9764 9765 solaris*) 9766 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9767 ld_shlibs=no 9768 cat <<_LT_EOF 1>&2 9769 9770*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9771*** create shared libraries on Solaris systems. Therefore, libtool 9772*** is disabling shared libraries support. We urge you to upgrade GNU 9773*** binutils to release 2.9.1 or newer. Another option is to modify 9774*** your PATH or compiler configuration so that the native linker is 9775*** used, and then restart. 9776 9777_LT_EOF 9778 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9779 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9780 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9781 else 9782 ld_shlibs=no 9783 fi 9784 ;; 9785 9786 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9787 case `$LD -v 2>&1` in 9788 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9789 ld_shlibs=no 9790 cat <<_LT_EOF 1>&2 9791 9792*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9793*** reliably create shared libraries on SCO systems. Therefore, libtool 9794*** is disabling shared libraries support. We urge you to upgrade GNU 9795*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9796*** your PATH or compiler configuration so that the native linker is 9797*** used, and then restart. 9798 9799_LT_EOF 9800 ;; 9801 *) 9802 # For security reasons, it is highly recommended that you always 9803 # use absolute paths for naming shared libraries, and exclude the 9804 # DT_RUNPATH tag from executables and libraries. But doing so 9805 # requires that you compile everything twice, which is a pain. 9806 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9807 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9808 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9809 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9810 else 9811 ld_shlibs=no 9812 fi 9813 ;; 9814 esac 9815 ;; 9816 9817 sunos4*) 9818 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9819 wlarc= 9820 hardcode_direct=yes 9821 hardcode_shlibpath_var=no 9822 ;; 9823 9824 *) 9825 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9826 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9827 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9828 else 9829 ld_shlibs=no 9830 fi 9831 ;; 9832 esac 9833 9834 if test "$ld_shlibs" = no; then 9835 runpath_var= 9836 hardcode_libdir_flag_spec= 9837 export_dynamic_flag_spec= 9838 whole_archive_flag_spec= 9839 fi 9840 else 9841 # PORTME fill in a description of your system's linker (not GNU ld) 9842 case $host_os in 9843 aix3*) 9844 allow_undefined_flag=unsupported 9845 always_export_symbols=yes 9846 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' 9847 # Note: this linker hardcodes the directories in LIBPATH if there 9848 # are no directories specified by -L. 9849 hardcode_minus_L=yes 9850 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9851 # Neither direct hardcoding nor static linking is supported with a 9852 # broken collect2. 9853 hardcode_direct=unsupported 9854 fi 9855 ;; 9856 9857 aix[4-9]*) 9858 if test "$host_cpu" = ia64; then 9859 # On IA64, the linker does run time linking by default, so we don't 9860 # have to do anything special. 9861 aix_use_runtimelinking=no 9862 exp_sym_flag='-Bexport' 9863 no_entry_flag="" 9864 else 9865 # If we're using GNU nm, then we don't want the "-C" option. 9866 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9867 # Also, AIX nm treats weak defined symbols like other global 9868 # defined symbols, whereas GNU nm marks them as "W". 9869 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9870 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' 9871 else 9872 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' 9873 fi 9874 aix_use_runtimelinking=no 9875 9876 # Test if we are trying to use run time linking or normal 9877 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9878 # need to do runtime linking. 9879 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9880 for ld_flag in $LDFLAGS; do 9881 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9882 aix_use_runtimelinking=yes 9883 break 9884 fi 9885 done 9886 ;; 9887 esac 9888 9889 exp_sym_flag='-bexport' 9890 no_entry_flag='-bnoentry' 9891 fi 9892 9893 # When large executables or shared objects are built, AIX ld can 9894 # have problems creating the table of contents. If linking a library 9895 # or program results in "error TOC overflow" add -mminimal-toc to 9896 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9897 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9898 9899 archive_cmds='' 9900 hardcode_direct=yes 9901 hardcode_direct_absolute=yes 9902 hardcode_libdir_separator=':' 9903 link_all_deplibs=yes 9904 file_list_spec='${wl}-f,' 9905 9906 if test "$GCC" = yes; then 9907 case $host_os in aix4.[012]|aix4.[012].*) 9908 # We only want to do this on AIX 4.2 and lower, the check 9909 # below for broken collect2 doesn't work under 4.3+ 9910 collect2name=`${CC} -print-prog-name=collect2` 9911 if test -f "$collect2name" && 9912 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9913 then 9914 # We have reworked collect2 9915 : 9916 else 9917 # We have old collect2 9918 hardcode_direct=unsupported 9919 # It fails to find uninstalled libraries when the uninstalled 9920 # path is not listed in the libpath. Setting hardcode_minus_L 9921 # to unsupported forces relinking 9922 hardcode_minus_L=yes 9923 hardcode_libdir_flag_spec='-L$libdir' 9924 hardcode_libdir_separator= 9925 fi 9926 ;; 9927 esac 9928 shared_flag='-shared' 9929 if test "$aix_use_runtimelinking" = yes; then 9930 shared_flag="$shared_flag "'${wl}-G' 9931 fi 9932 else 9933 # not using gcc 9934 if test "$host_cpu" = ia64; then 9935 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9936 # chokes on -Wl,-G. The following line is correct: 9937 shared_flag='-G' 9938 else 9939 if test "$aix_use_runtimelinking" = yes; then 9940 shared_flag='${wl}-G' 9941 else 9942 shared_flag='${wl}-bM:SRE' 9943 fi 9944 fi 9945 fi 9946 9947 export_dynamic_flag_spec='${wl}-bexpall' 9948 # It seems that -bexpall does not export symbols beginning with 9949 # underscore (_), so it is better to generate a list of symbols to export. 9950 always_export_symbols=yes 9951 if test "$aix_use_runtimelinking" = yes; then 9952 # Warning - without using the other runtime loading flags (-brtl), 9953 # -berok will link without error, but may produce a broken library. 9954 allow_undefined_flag='-berok' 9955 # Determine the default libpath from the value encoded in an 9956 # empty executable. 9957 if test "${lt_cv_aix_libpath+set}" = set; then 9958 aix_libpath=$lt_cv_aix_libpath 9959else 9960 if ${lt_cv_aix_libpath_+:} false; then : 9961 $as_echo_n "(cached) " >&6 9962else 9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9964/* end confdefs.h. */ 9965 9966int 9967main () 9968{ 9969 9970 ; 9971 return 0; 9972} 9973_ACEOF 9974if ac_fn_c_try_link "$LINENO"; then : 9975 9976 lt_aix_libpath_sed=' 9977 /Import File Strings/,/^$/ { 9978 /^0/ { 9979 s/^0 *\([^ ]*\) *$/\1/ 9980 p 9981 } 9982 }' 9983 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9984 # Check for a 64-bit object if we didn't find anything. 9985 if test -z "$lt_cv_aix_libpath_"; then 9986 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9987 fi 9988fi 9989rm -f core conftest.err conftest.$ac_objext \ 9990 conftest$ac_exeext conftest.$ac_ext 9991 if test -z "$lt_cv_aix_libpath_"; then 9992 lt_cv_aix_libpath_="/usr/lib:/lib" 9993 fi 9994 9995fi 9996 9997 aix_libpath=$lt_cv_aix_libpath_ 9998fi 9999 10000 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10001 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" 10002 else 10003 if test "$host_cpu" = ia64; then 10004 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 10005 allow_undefined_flag="-z nodefs" 10006 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" 10007 else 10008 # Determine the default libpath from the value encoded in an 10009 # empty executable. 10010 if test "${lt_cv_aix_libpath+set}" = set; then 10011 aix_libpath=$lt_cv_aix_libpath 10012else 10013 if ${lt_cv_aix_libpath_+:} false; then : 10014 $as_echo_n "(cached) " >&6 10015else 10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10017/* end confdefs.h. */ 10018 10019int 10020main () 10021{ 10022 10023 ; 10024 return 0; 10025} 10026_ACEOF 10027if ac_fn_c_try_link "$LINENO"; then : 10028 10029 lt_aix_libpath_sed=' 10030 /Import File Strings/,/^$/ { 10031 /^0/ { 10032 s/^0 *\([^ ]*\) *$/\1/ 10033 p 10034 } 10035 }' 10036 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10037 # Check for a 64-bit object if we didn't find anything. 10038 if test -z "$lt_cv_aix_libpath_"; then 10039 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10040 fi 10041fi 10042rm -f core conftest.err conftest.$ac_objext \ 10043 conftest$ac_exeext conftest.$ac_ext 10044 if test -z "$lt_cv_aix_libpath_"; then 10045 lt_cv_aix_libpath_="/usr/lib:/lib" 10046 fi 10047 10048fi 10049 10050 aix_libpath=$lt_cv_aix_libpath_ 10051fi 10052 10053 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10054 # Warning - without using the other run time loading flags, 10055 # -berok will link without error, but may produce a broken library. 10056 no_undefined_flag=' ${wl}-bernotok' 10057 allow_undefined_flag=' ${wl}-berok' 10058 if test "$with_gnu_ld" = yes; then 10059 # We only use this code for GNU lds that support --whole-archive. 10060 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 10061 else 10062 # Exported symbols can be pulled into shared objects from archives 10063 whole_archive_flag_spec='$convenience' 10064 fi 10065 archive_cmds_need_lc=yes 10066 # This is similar to how AIX traditionally builds its shared libraries. 10067 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' 10068 fi 10069 fi 10070 ;; 10071 10072 amigaos*) 10073 case $host_cpu in 10074 powerpc) 10075 # see comment about AmigaOS4 .so support 10076 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10077 archive_expsym_cmds='' 10078 ;; 10079 m68k) 10080 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)' 10081 hardcode_libdir_flag_spec='-L$libdir' 10082 hardcode_minus_L=yes 10083 ;; 10084 esac 10085 ;; 10086 10087 bsdi[45]*) 10088 export_dynamic_flag_spec=-rdynamic 10089 ;; 10090 10091 cygwin* | mingw* | pw32* | cegcc*) 10092 # When not using gcc, we currently assume that we are using 10093 # Microsoft Visual C++. 10094 # hardcode_libdir_flag_spec is actually meaningless, as there is 10095 # no search path for DLLs. 10096 case $cc_basename in 10097 cl*) 10098 # Native MSVC 10099 hardcode_libdir_flag_spec=' ' 10100 allow_undefined_flag=unsupported 10101 always_export_symbols=yes 10102 file_list_spec='@' 10103 # Tell ltmain to make .lib files, not .a files. 10104 libext=lib 10105 # Tell ltmain to make .dll files, not .so files. 10106 shrext_cmds=".dll" 10107 # FIXME: Setting linknames here is a bad hack. 10108 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10109 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10110 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10111 else 10112 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10113 fi~ 10114 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10115 linknames=' 10116 # The linker will not automatically build a static lib if we build a DLL. 10117 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10118 enable_shared_with_static_runtimes=yes 10119 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10120 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10121 # Don't use ranlib 10122 old_postinstall_cmds='chmod 644 $oldlib' 10123 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10124 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10125 case $lt_outputfile in 10126 *.exe|*.EXE) ;; 10127 *) 10128 lt_outputfile="$lt_outputfile.exe" 10129 lt_tool_outputfile="$lt_tool_outputfile.exe" 10130 ;; 10131 esac~ 10132 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 10133 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10134 $RM "$lt_outputfile.manifest"; 10135 fi' 10136 ;; 10137 *) 10138 # Assume MSVC wrapper 10139 hardcode_libdir_flag_spec=' ' 10140 allow_undefined_flag=unsupported 10141 # Tell ltmain to make .lib files, not .a files. 10142 libext=lib 10143 # Tell ltmain to make .dll files, not .so files. 10144 shrext_cmds=".dll" 10145 # FIXME: Setting linknames here is a bad hack. 10146 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10147 # The linker will automatically build a .lib file if we build a DLL. 10148 old_archive_from_new_cmds='true' 10149 # FIXME: Should let the user specify the lib program. 10150 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10151 enable_shared_with_static_runtimes=yes 10152 ;; 10153 esac 10154 ;; 10155 10156 darwin* | rhapsody*) 10157 10158 10159 archive_cmds_need_lc=no 10160 hardcode_direct=no 10161 hardcode_automatic=yes 10162 hardcode_shlibpath_var=unsupported 10163 if test "$lt_cv_ld_force_load" = "yes"; then 10164 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\"`' 10165 10166 else 10167 whole_archive_flag_spec='' 10168 fi 10169 link_all_deplibs=yes 10170 allow_undefined_flag="$_lt_dar_allow_undefined" 10171 case $cc_basename in 10172 ifort*) _lt_dar_can_shared=yes ;; 10173 *) _lt_dar_can_shared=$GCC ;; 10174 esac 10175 if test "$_lt_dar_can_shared" = "yes"; then 10176 output_verbose_link_cmd=func_echo_all 10177 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10178 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10179 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}" 10180 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}" 10181 10182 else 10183 ld_shlibs=no 10184 fi 10185 10186 ;; 10187 10188 dgux*) 10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10190 hardcode_libdir_flag_spec='-L$libdir' 10191 hardcode_shlibpath_var=no 10192 ;; 10193 10194 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10195 # support. Future versions do this automatically, but an explicit c++rt0.o 10196 # does not break anything, and helps significantly (at the cost of a little 10197 # extra space). 10198 freebsd2.2*) 10199 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10200 hardcode_libdir_flag_spec='-R$libdir' 10201 hardcode_direct=yes 10202 hardcode_shlibpath_var=no 10203 ;; 10204 10205 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10206 freebsd2.*) 10207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10208 hardcode_direct=yes 10209 hardcode_minus_L=yes 10210 hardcode_shlibpath_var=no 10211 ;; 10212 10213 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10214 freebsd* | dragonfly*) 10215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10216 hardcode_libdir_flag_spec='-R$libdir' 10217 hardcode_direct=yes 10218 hardcode_shlibpath_var=no 10219 ;; 10220 10221 hpux9*) 10222 if test "$GCC" = yes; then 10223 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' 10224 else 10225 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' 10226 fi 10227 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10228 hardcode_libdir_separator=: 10229 hardcode_direct=yes 10230 10231 # hardcode_minus_L: Not really in the search PATH, 10232 # but as the default location of the library. 10233 hardcode_minus_L=yes 10234 export_dynamic_flag_spec='${wl}-E' 10235 ;; 10236 10237 hpux10*) 10238 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10239 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10240 else 10241 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10242 fi 10243 if test "$with_gnu_ld" = no; then 10244 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10245 hardcode_libdir_separator=: 10246 hardcode_direct=yes 10247 hardcode_direct_absolute=yes 10248 export_dynamic_flag_spec='${wl}-E' 10249 # hardcode_minus_L: Not really in the search PATH, 10250 # but as the default location of the library. 10251 hardcode_minus_L=yes 10252 fi 10253 ;; 10254 10255 hpux11*) 10256 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10257 case $host_cpu in 10258 hppa*64*) 10259 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10260 ;; 10261 ia64*) 10262 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10263 ;; 10264 *) 10265 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10266 ;; 10267 esac 10268 else 10269 case $host_cpu in 10270 hppa*64*) 10271 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10272 ;; 10273 ia64*) 10274 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10275 ;; 10276 *) 10277 10278 # Older versions of the 11.00 compiler do not understand -b yet 10279 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10281$as_echo_n "checking if $CC understands -b... " >&6; } 10282if ${lt_cv_prog_compiler__b+:} false; then : 10283 $as_echo_n "(cached) " >&6 10284else 10285 lt_cv_prog_compiler__b=no 10286 save_LDFLAGS="$LDFLAGS" 10287 LDFLAGS="$LDFLAGS -b" 10288 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10289 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10290 # The linker can only warn and ignore the option if not recognized 10291 # So say no if there are warnings 10292 if test -s conftest.err; then 10293 # Append any errors to the config.log. 10294 cat conftest.err 1>&5 10295 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10296 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10297 if diff conftest.exp conftest.er2 >/dev/null; then 10298 lt_cv_prog_compiler__b=yes 10299 fi 10300 else 10301 lt_cv_prog_compiler__b=yes 10302 fi 10303 fi 10304 $RM -r conftest* 10305 LDFLAGS="$save_LDFLAGS" 10306 10307fi 10308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10309$as_echo "$lt_cv_prog_compiler__b" >&6; } 10310 10311if test x"$lt_cv_prog_compiler__b" = xyes; then 10312 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10313else 10314 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10315fi 10316 10317 ;; 10318 esac 10319 fi 10320 if test "$with_gnu_ld" = no; then 10321 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10322 hardcode_libdir_separator=: 10323 10324 case $host_cpu in 10325 hppa*64*|ia64*) 10326 hardcode_direct=no 10327 hardcode_shlibpath_var=no 10328 ;; 10329 *) 10330 hardcode_direct=yes 10331 hardcode_direct_absolute=yes 10332 export_dynamic_flag_spec='${wl}-E' 10333 10334 # hardcode_minus_L: Not really in the search PATH, 10335 # but as the default location of the library. 10336 hardcode_minus_L=yes 10337 ;; 10338 esac 10339 fi 10340 ;; 10341 10342 irix5* | irix6* | nonstopux*) 10343 if test "$GCC" = yes; then 10344 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' 10345 # Try to use the -exported_symbol ld option, if it does not 10346 # work, assume that -exports_file does not work either and 10347 # implicitly export all symbols. 10348 # This should be the same for all languages, so no per-tag cache variable. 10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10350$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10351if ${lt_cv_irix_exported_symbol+:} false; then : 10352 $as_echo_n "(cached) " >&6 10353else 10354 save_LDFLAGS="$LDFLAGS" 10355 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10357/* end confdefs.h. */ 10358int foo (void) { return 0; } 10359_ACEOF 10360if ac_fn_c_try_link "$LINENO"; then : 10361 lt_cv_irix_exported_symbol=yes 10362else 10363 lt_cv_irix_exported_symbol=no 10364fi 10365rm -f core conftest.err conftest.$ac_objext \ 10366 conftest$ac_exeext conftest.$ac_ext 10367 LDFLAGS="$save_LDFLAGS" 10368fi 10369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10370$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10371 if test "$lt_cv_irix_exported_symbol" = yes; then 10372 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' 10373 fi 10374 else 10375 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' 10376 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' 10377 fi 10378 archive_cmds_need_lc='no' 10379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10380 hardcode_libdir_separator=: 10381 inherit_rpath=yes 10382 link_all_deplibs=yes 10383 ;; 10384 10385 netbsd*) 10386 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10387 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10388 else 10389 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10390 fi 10391 hardcode_libdir_flag_spec='-R$libdir' 10392 hardcode_direct=yes 10393 hardcode_shlibpath_var=no 10394 ;; 10395 10396 newsos6) 10397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10398 hardcode_direct=yes 10399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10400 hardcode_libdir_separator=: 10401 hardcode_shlibpath_var=no 10402 ;; 10403 10404 *nto* | *qnx*) 10405 ;; 10406 10407 openbsd*) 10408 if test -f /usr/libexec/ld.so; then 10409 hardcode_direct=yes 10410 hardcode_shlibpath_var=no 10411 hardcode_direct_absolute=yes 10412 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10413 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10414 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10415 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10416 export_dynamic_flag_spec='${wl}-E' 10417 else 10418 case $host_os in 10419 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10421 hardcode_libdir_flag_spec='-R$libdir' 10422 ;; 10423 *) 10424 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10425 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10426 ;; 10427 esac 10428 fi 10429 else 10430 ld_shlibs=no 10431 fi 10432 ;; 10433 10434 os2*) 10435 hardcode_libdir_flag_spec='-L$libdir' 10436 hardcode_minus_L=yes 10437 allow_undefined_flag=unsupported 10438 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' 10439 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10440 ;; 10441 10442 osf3*) 10443 if test "$GCC" = yes; then 10444 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10445 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' 10446 else 10447 allow_undefined_flag=' -expect_unresolved \*' 10448 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' 10449 fi 10450 archive_cmds_need_lc='no' 10451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10452 hardcode_libdir_separator=: 10453 ;; 10454 10455 osf4* | osf5*) # as osf3* with the addition of -msym flag 10456 if test "$GCC" = yes; then 10457 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10458 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' 10459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10460 else 10461 allow_undefined_flag=' -expect_unresolved \*' 10462 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' 10463 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~ 10464 $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' 10465 10466 # Both c and cxx compiler support -rpath directly 10467 hardcode_libdir_flag_spec='-rpath $libdir' 10468 fi 10469 archive_cmds_need_lc='no' 10470 hardcode_libdir_separator=: 10471 ;; 10472 10473 solaris*) 10474 no_undefined_flag=' -z defs' 10475 if test "$GCC" = yes; then 10476 wlarc='${wl}' 10477 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10478 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10479 $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' 10480 else 10481 case `$CC -V 2>&1` in 10482 *"Compilers 5.0"*) 10483 wlarc='' 10484 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10485 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10486 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10487 ;; 10488 *) 10489 wlarc='${wl}' 10490 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10491 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10492 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10493 ;; 10494 esac 10495 fi 10496 hardcode_libdir_flag_spec='-R$libdir' 10497 hardcode_shlibpath_var=no 10498 case $host_os in 10499 solaris2.[0-5] | solaris2.[0-5].*) ;; 10500 *) 10501 # The compiler driver will combine and reorder linker options, 10502 # but understands `-z linker_flag'. GCC discards it without `$wl', 10503 # but is careful enough not to reorder. 10504 # Supported since Solaris 2.6 (maybe 2.5.1?) 10505 if test "$GCC" = yes; then 10506 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10507 else 10508 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10509 fi 10510 ;; 10511 esac 10512 link_all_deplibs=yes 10513 ;; 10514 10515 sunos4*) 10516 if test "x$host_vendor" = xsequent; then 10517 # Use $CC to link under sequent, because it throws in some extra .o 10518 # files that make .init and .fini sections work. 10519 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10520 else 10521 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10522 fi 10523 hardcode_libdir_flag_spec='-L$libdir' 10524 hardcode_direct=yes 10525 hardcode_minus_L=yes 10526 hardcode_shlibpath_var=no 10527 ;; 10528 10529 sysv4) 10530 case $host_vendor in 10531 sni) 10532 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10533 hardcode_direct=yes # is this really true??? 10534 ;; 10535 siemens) 10536 ## LD is ld it makes a PLAMLIB 10537 ## CC just makes a GrossModule. 10538 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10539 reload_cmds='$CC -r -o $output$reload_objs' 10540 hardcode_direct=no 10541 ;; 10542 motorola) 10543 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10544 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10545 ;; 10546 esac 10547 runpath_var='LD_RUN_PATH' 10548 hardcode_shlibpath_var=no 10549 ;; 10550 10551 sysv4.3*) 10552 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10553 hardcode_shlibpath_var=no 10554 export_dynamic_flag_spec='-Bexport' 10555 ;; 10556 10557 sysv4*MP*) 10558 if test -d /usr/nec; then 10559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10560 hardcode_shlibpath_var=no 10561 runpath_var=LD_RUN_PATH 10562 hardcode_runpath_var=yes 10563 ld_shlibs=yes 10564 fi 10565 ;; 10566 10567 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10568 no_undefined_flag='${wl}-z,text' 10569 archive_cmds_need_lc=no 10570 hardcode_shlibpath_var=no 10571 runpath_var='LD_RUN_PATH' 10572 10573 if test "$GCC" = yes; then 10574 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10575 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10576 else 10577 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10578 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10579 fi 10580 ;; 10581 10582 sysv5* | sco3.2v5* | sco5v6*) 10583 # Note: We can NOT use -z defs as we might desire, because we do not 10584 # link with -lc, and that would cause any symbols used from libc to 10585 # always be unresolved, which means just about no library would 10586 # ever link correctly. If we're not using GNU ld we use -z text 10587 # though, which does catch some bad symbols but isn't as heavy-handed 10588 # as -z defs. 10589 no_undefined_flag='${wl}-z,text' 10590 allow_undefined_flag='${wl}-z,nodefs' 10591 archive_cmds_need_lc=no 10592 hardcode_shlibpath_var=no 10593 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10594 hardcode_libdir_separator=':' 10595 link_all_deplibs=yes 10596 export_dynamic_flag_spec='${wl}-Bexport' 10597 runpath_var='LD_RUN_PATH' 10598 10599 if test "$GCC" = yes; then 10600 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10601 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10602 else 10603 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10604 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10605 fi 10606 ;; 10607 10608 uts4*) 10609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10610 hardcode_libdir_flag_spec='-L$libdir' 10611 hardcode_shlibpath_var=no 10612 ;; 10613 10614 *) 10615 ld_shlibs=no 10616 ;; 10617 esac 10618 10619 if test x$host_vendor = xsni; then 10620 case $host in 10621 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10622 export_dynamic_flag_spec='${wl}-Blargedynsym' 10623 ;; 10624 esac 10625 fi 10626 fi 10627 10628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10629$as_echo "$ld_shlibs" >&6; } 10630test "$ld_shlibs" = no && can_build_shared=no 10631 10632with_gnu_ld=$with_gnu_ld 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648# 10649# Do we need to explicitly link libc? 10650# 10651case "x$archive_cmds_need_lc" in 10652x|xyes) 10653 # Assume -lc should be added 10654 archive_cmds_need_lc=yes 10655 10656 if test "$enable_shared" = yes && test "$GCC" = yes; then 10657 case $archive_cmds in 10658 *'~'*) 10659 # FIXME: we may have to deal with multi-command sequences. 10660 ;; 10661 '$CC '*) 10662 # Test whether the compiler implicitly links with -lc since on some 10663 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10664 # to ld, don't add -lc before -lgcc. 10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10666$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10667if ${lt_cv_archive_cmds_need_lc+:} false; then : 10668 $as_echo_n "(cached) " >&6 10669else 10670 $RM conftest* 10671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10672 10673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10674 (eval $ac_compile) 2>&5 10675 ac_status=$? 10676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10677 test $ac_status = 0; } 2>conftest.err; then 10678 soname=conftest 10679 lib=conftest 10680 libobjs=conftest.$ac_objext 10681 deplibs= 10682 wl=$lt_prog_compiler_wl 10683 pic_flag=$lt_prog_compiler_pic 10684 compiler_flags=-v 10685 linker_flags=-v 10686 verstring= 10687 output_objdir=. 10688 libname=conftest 10689 lt_save_allow_undefined_flag=$allow_undefined_flag 10690 allow_undefined_flag= 10691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10692 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10693 ac_status=$? 10694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10695 test $ac_status = 0; } 10696 then 10697 lt_cv_archive_cmds_need_lc=no 10698 else 10699 lt_cv_archive_cmds_need_lc=yes 10700 fi 10701 allow_undefined_flag=$lt_save_allow_undefined_flag 10702 else 10703 cat conftest.err 1>&5 10704 fi 10705 $RM conftest* 10706 10707fi 10708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10709$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10710 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10711 ;; 10712 esac 10713 fi 10714 ;; 10715esac 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10869$as_echo_n "checking dynamic linker characteristics... " >&6; } 10870 10871if test "$GCC" = yes; then 10872 case $host_os in 10873 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10874 *) lt_awk_arg="/^libraries:/" ;; 10875 esac 10876 case $host_os in 10877 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10878 *) lt_sed_strip_eq="s,=/,/,g" ;; 10879 esac 10880 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10881 case $lt_search_path_spec in 10882 *\;*) 10883 # if the path contains ";" then we assume it to be the separator 10884 # otherwise default to the standard path separator (i.e. ":") - it is 10885 # assumed that no part of a normal pathname contains ";" but that should 10886 # okay in the real world where ";" in dirpaths is itself problematic. 10887 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10888 ;; 10889 *) 10890 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10891 ;; 10892 esac 10893 # Ok, now we have the path, separated by spaces, we can step through it 10894 # and add multilib dir if necessary. 10895 lt_tmp_lt_search_path_spec= 10896 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10897 for lt_sys_path in $lt_search_path_spec; do 10898 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10900 else 10901 test -d "$lt_sys_path" && \ 10902 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10903 fi 10904 done 10905 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10906BEGIN {RS=" "; FS="/|\n";} { 10907 lt_foo=""; 10908 lt_count=0; 10909 for (lt_i = NF; lt_i > 0; lt_i--) { 10910 if ($lt_i != "" && $lt_i != ".") { 10911 if ($lt_i == "..") { 10912 lt_count++; 10913 } else { 10914 if (lt_count == 0) { 10915 lt_foo="/" $lt_i lt_foo; 10916 } else { 10917 lt_count--; 10918 } 10919 } 10920 } 10921 } 10922 if (lt_foo != "") { lt_freq[lt_foo]++; } 10923 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10924}'` 10925 # AWK program above erroneously prepends '/' to C:/dos/paths 10926 # for these hosts. 10927 case $host_os in 10928 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10929 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10930 esac 10931 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10932else 10933 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10934fi 10935library_names_spec= 10936libname_spec='lib$name' 10937soname_spec= 10938shrext_cmds=".so" 10939postinstall_cmds= 10940postuninstall_cmds= 10941finish_cmds= 10942finish_eval= 10943shlibpath_var= 10944shlibpath_overrides_runpath=unknown 10945version_type=none 10946dynamic_linker="$host_os ld.so" 10947sys_lib_dlsearch_path_spec="/lib /usr/lib" 10948need_lib_prefix=unknown 10949hardcode_into_libs=no 10950 10951# when you set need_version to no, make sure it does not cause -set_version 10952# flags to be left without arguments 10953need_version=unknown 10954 10955case $host_os in 10956aix3*) 10957 version_type=linux # correct to gnu/linux during the next big refactor 10958 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10959 shlibpath_var=LIBPATH 10960 10961 # AIX 3 has no versioning support, so we append a major version to the name. 10962 soname_spec='${libname}${release}${shared_ext}$major' 10963 ;; 10964 10965aix[4-9]*) 10966 version_type=linux # correct to gnu/linux during the next big refactor 10967 need_lib_prefix=no 10968 need_version=no 10969 hardcode_into_libs=yes 10970 if test "$host_cpu" = ia64; then 10971 # AIX 5 supports IA64 10972 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10973 shlibpath_var=LD_LIBRARY_PATH 10974 else 10975 # With GCC up to 2.95.x, collect2 would create an import file 10976 # for dependence libraries. The import file would start with 10977 # the line `#! .'. This would cause the generated library to 10978 # depend on `.', always an invalid library. This was fixed in 10979 # development snapshots of GCC prior to 3.0. 10980 case $host_os in 10981 aix4 | aix4.[01] | aix4.[01].*) 10982 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10983 echo ' yes ' 10984 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10985 : 10986 else 10987 can_build_shared=no 10988 fi 10989 ;; 10990 esac 10991 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10992 # soname into executable. Probably we can add versioning support to 10993 # collect2, so additional links can be useful in future. 10994 if test "$aix_use_runtimelinking" = yes; then 10995 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10996 # instead of lib<name>.a to let people know that these are not 10997 # typical AIX shared libraries. 10998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10999 else 11000 # We preserve .a as extension for shared libraries through AIX4.2 11001 # and later when we are not doing run time linking. 11002 library_names_spec='${libname}${release}.a $libname.a' 11003 soname_spec='${libname}${release}${shared_ext}$major' 11004 fi 11005 shlibpath_var=LIBPATH 11006 fi 11007 ;; 11008 11009amigaos*) 11010 case $host_cpu in 11011 powerpc) 11012 # Since July 2007 AmigaOS4 officially supports .so libraries. 11013 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11015 ;; 11016 m68k) 11017 library_names_spec='$libname.ixlibrary $libname.a' 11018 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11019 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' 11020 ;; 11021 esac 11022 ;; 11023 11024beos*) 11025 library_names_spec='${libname}${shared_ext}' 11026 dynamic_linker="$host_os ld.so" 11027 shlibpath_var=LIBRARY_PATH 11028 ;; 11029 11030bsdi[45]*) 11031 version_type=linux # correct to gnu/linux during the next big refactor 11032 need_version=no 11033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11034 soname_spec='${libname}${release}${shared_ext}$major' 11035 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11036 shlibpath_var=LD_LIBRARY_PATH 11037 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11038 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11039 # the default ld.so.conf also contains /usr/contrib/lib and 11040 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11041 # libtool to hard-code these into programs 11042 ;; 11043 11044cygwin* | mingw* | pw32* | cegcc*) 11045 version_type=windows 11046 shrext_cmds=".dll" 11047 need_version=no 11048 need_lib_prefix=no 11049 11050 case $GCC,$cc_basename in 11051 yes,*) 11052 # gcc 11053 library_names_spec='$libname.dll.a' 11054 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11055 postinstall_cmds='base_file=`basename \${file}`~ 11056 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11057 dldir=$destdir/`dirname \$dlpath`~ 11058 test -d \$dldir || mkdir -p \$dldir~ 11059 $install_prog $dir/$dlname \$dldir/$dlname~ 11060 chmod a+x \$dldir/$dlname~ 11061 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11062 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11063 fi' 11064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11065 dlpath=$dir/\$dldll~ 11066 $RM \$dlpath' 11067 shlibpath_overrides_runpath=yes 11068 11069 case $host_os in 11070 cygwin*) 11071 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11072 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11073 11074 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11075 ;; 11076 mingw* | cegcc*) 11077 # MinGW DLLs use traditional 'lib' prefix 11078 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11079 ;; 11080 pw32*) 11081 # pw32 DLLs use 'pw' prefix rather than 'lib' 11082 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11083 ;; 11084 esac 11085 dynamic_linker='Win32 ld.exe' 11086 ;; 11087 11088 *,cl*) 11089 # Native MSVC 11090 libname_spec='$name' 11091 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11092 library_names_spec='${libname}.dll.lib' 11093 11094 case $build_os in 11095 mingw*) 11096 sys_lib_search_path_spec= 11097 lt_save_ifs=$IFS 11098 IFS=';' 11099 for lt_path in $LIB 11100 do 11101 IFS=$lt_save_ifs 11102 # Let DOS variable expansion print the short 8.3 style file name. 11103 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11104 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11105 done 11106 IFS=$lt_save_ifs 11107 # Convert to MSYS style. 11108 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11109 ;; 11110 cygwin*) 11111 # Convert to unix form, then to dos form, then back to unix form 11112 # but this time dos style (no spaces!) so that the unix form looks 11113 # like /cygdrive/c/PROGRA~1:/cygdr... 11114 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11115 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11116 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11117 ;; 11118 *) 11119 sys_lib_search_path_spec="$LIB" 11120 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11121 # It is most probably a Windows format PATH. 11122 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11123 else 11124 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11125 fi 11126 # FIXME: find the short name or the path components, as spaces are 11127 # common. (e.g. "Program Files" -> "PROGRA~1") 11128 ;; 11129 esac 11130 11131 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11132 postinstall_cmds='base_file=`basename \${file}`~ 11133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 11134 dldir=$destdir/`dirname \$dlpath`~ 11135 test -d \$dldir || mkdir -p \$dldir~ 11136 $install_prog $dir/$dlname \$dldir/$dlname' 11137 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11138 dlpath=$dir/\$dldll~ 11139 $RM \$dlpath' 11140 shlibpath_overrides_runpath=yes 11141 dynamic_linker='Win32 link.exe' 11142 ;; 11143 11144 *) 11145 # Assume MSVC wrapper 11146 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 11147 dynamic_linker='Win32 ld.exe' 11148 ;; 11149 esac 11150 # FIXME: first we should search . and the directory the executable is in 11151 shlibpath_var=PATH 11152 ;; 11153 11154darwin* | rhapsody*) 11155 dynamic_linker="$host_os dyld" 11156 version_type=darwin 11157 need_lib_prefix=no 11158 need_version=no 11159 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11160 soname_spec='${libname}${release}${major}$shared_ext' 11161 shlibpath_overrides_runpath=yes 11162 shlibpath_var=DYLD_LIBRARY_PATH 11163 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11164 11165 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11166 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11167 ;; 11168 11169dgux*) 11170 version_type=linux # correct to gnu/linux during the next big refactor 11171 need_lib_prefix=no 11172 need_version=no 11173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11174 soname_spec='${libname}${release}${shared_ext}$major' 11175 shlibpath_var=LD_LIBRARY_PATH 11176 ;; 11177 11178freebsd* | dragonfly*) 11179 # DragonFly does not have aout. When/if they implement a new 11180 # versioning mechanism, adjust this. 11181 if test -x /usr/bin/objformat; then 11182 objformat=`/usr/bin/objformat` 11183 else 11184 case $host_os in 11185 freebsd[23].*) objformat=aout ;; 11186 *) objformat=elf ;; 11187 esac 11188 fi 11189 version_type=freebsd-$objformat 11190 case $version_type in 11191 freebsd-elf*) 11192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11193 need_version=no 11194 need_lib_prefix=no 11195 ;; 11196 freebsd-*) 11197 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11198 need_version=yes 11199 ;; 11200 esac 11201 shlibpath_var=LD_LIBRARY_PATH 11202 case $host_os in 11203 freebsd2.*) 11204 shlibpath_overrides_runpath=yes 11205 ;; 11206 freebsd3.[01]* | freebsdelf3.[01]*) 11207 shlibpath_overrides_runpath=yes 11208 hardcode_into_libs=yes 11209 ;; 11210 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11211 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11212 shlibpath_overrides_runpath=no 11213 hardcode_into_libs=yes 11214 ;; 11215 *) # from 4.6 on, and DragonFly 11216 shlibpath_overrides_runpath=yes 11217 hardcode_into_libs=yes 11218 ;; 11219 esac 11220 ;; 11221 11222gnu*) 11223 version_type=linux # correct to gnu/linux during the next big refactor 11224 need_lib_prefix=no 11225 need_version=no 11226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11227 soname_spec='${libname}${release}${shared_ext}$major' 11228 shlibpath_var=LD_LIBRARY_PATH 11229 shlibpath_overrides_runpath=no 11230 hardcode_into_libs=yes 11231 ;; 11232 11233haiku*) 11234 version_type=linux # correct to gnu/linux during the next big refactor 11235 need_lib_prefix=no 11236 need_version=no 11237 dynamic_linker="$host_os runtime_loader" 11238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11239 soname_spec='${libname}${release}${shared_ext}$major' 11240 shlibpath_var=LIBRARY_PATH 11241 shlibpath_overrides_runpath=yes 11242 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11243 hardcode_into_libs=yes 11244 ;; 11245 11246hpux9* | hpux10* | hpux11*) 11247 # Give a soname corresponding to the major version so that dld.sl refuses to 11248 # link against other versions. 11249 version_type=sunos 11250 need_lib_prefix=no 11251 need_version=no 11252 case $host_cpu in 11253 ia64*) 11254 shrext_cmds='.so' 11255 hardcode_into_libs=yes 11256 dynamic_linker="$host_os dld.so" 11257 shlibpath_var=LD_LIBRARY_PATH 11258 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11260 soname_spec='${libname}${release}${shared_ext}$major' 11261 if test "X$HPUX_IA64_MODE" = X32; then 11262 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11263 else 11264 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11265 fi 11266 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11267 ;; 11268 hppa*64*) 11269 shrext_cmds='.sl' 11270 hardcode_into_libs=yes 11271 dynamic_linker="$host_os dld.sl" 11272 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11273 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11275 soname_spec='${libname}${release}${shared_ext}$major' 11276 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11277 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11278 ;; 11279 *) 11280 shrext_cmds='.sl' 11281 dynamic_linker="$host_os dld.sl" 11282 shlibpath_var=SHLIB_PATH 11283 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11285 soname_spec='${libname}${release}${shared_ext}$major' 11286 ;; 11287 esac 11288 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11289 postinstall_cmds='chmod 555 $lib' 11290 # or fails outright, so override atomically: 11291 install_override_mode=555 11292 ;; 11293 11294interix[3-9]*) 11295 version_type=linux # correct to gnu/linux during the next big refactor 11296 need_lib_prefix=no 11297 need_version=no 11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11299 soname_spec='${libname}${release}${shared_ext}$major' 11300 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11301 shlibpath_var=LD_LIBRARY_PATH 11302 shlibpath_overrides_runpath=no 11303 hardcode_into_libs=yes 11304 ;; 11305 11306irix5* | irix6* | nonstopux*) 11307 case $host_os in 11308 nonstopux*) version_type=nonstopux ;; 11309 *) 11310 if test "$lt_cv_prog_gnu_ld" = yes; then 11311 version_type=linux # correct to gnu/linux during the next big refactor 11312 else 11313 version_type=irix 11314 fi ;; 11315 esac 11316 need_lib_prefix=no 11317 need_version=no 11318 soname_spec='${libname}${release}${shared_ext}$major' 11319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11320 case $host_os in 11321 irix5* | nonstopux*) 11322 libsuff= shlibsuff= 11323 ;; 11324 *) 11325 case $LD in # libtool.m4 will add one of these switches to LD 11326 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11327 libsuff= shlibsuff= libmagic=32-bit;; 11328 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11329 libsuff=32 shlibsuff=N32 libmagic=N32;; 11330 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11331 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11332 *) libsuff= shlibsuff= libmagic=never-match;; 11333 esac 11334 ;; 11335 esac 11336 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11337 shlibpath_overrides_runpath=no 11338 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11339 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11340 hardcode_into_libs=yes 11341 ;; 11342 11343# No shared lib support for Linux oldld, aout, or coff. 11344linux*oldld* | linux*aout* | linux*coff*) 11345 dynamic_linker=no 11346 ;; 11347 11348# This must be glibc/ELF. 11349linux* | k*bsd*-gnu | kopensolaris*-gnu) 11350 version_type=linux # correct to gnu/linux during the next big refactor 11351 need_lib_prefix=no 11352 need_version=no 11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11354 soname_spec='${libname}${release}${shared_ext}$major' 11355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11356 shlibpath_var=LD_LIBRARY_PATH 11357 shlibpath_overrides_runpath=no 11358 11359 # Some binutils ld are patched to set DT_RUNPATH 11360 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11361 $as_echo_n "(cached) " >&6 11362else 11363 lt_cv_shlibpath_overrides_runpath=no 11364 save_LDFLAGS=$LDFLAGS 11365 save_libdir=$libdir 11366 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11367 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11369/* end confdefs.h. */ 11370 11371int 11372main () 11373{ 11374 11375 ; 11376 return 0; 11377} 11378_ACEOF 11379if ac_fn_c_try_link "$LINENO"; then : 11380 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11381 lt_cv_shlibpath_overrides_runpath=yes 11382fi 11383fi 11384rm -f core conftest.err conftest.$ac_objext \ 11385 conftest$ac_exeext conftest.$ac_ext 11386 LDFLAGS=$save_LDFLAGS 11387 libdir=$save_libdir 11388 11389fi 11390 11391 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11392 11393 # This implies no fast_install, which is unacceptable. 11394 # Some rework will be needed to allow for fast_install 11395 # before this can be enabled. 11396 hardcode_into_libs=yes 11397 11398 # Append ld.so.conf contents to the search path 11399 if test -f /etc/ld.so.conf; then 11400 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' ' '` 11401 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11402 fi 11403 11404 # We used to test for /lib/ld.so.1 and disable shared libraries on 11405 # powerpc, because MkLinux only supported shared libraries with the 11406 # GNU dynamic linker. Since this was broken with cross compilers, 11407 # most powerpc-linux boxes support dynamic linking these days and 11408 # people can always --disable-shared, the test was removed, and we 11409 # assume the GNU/Linux dynamic linker is in use. 11410 dynamic_linker='GNU/Linux ld.so' 11411 ;; 11412 11413netbsd*) 11414 version_type=sunos 11415 need_lib_prefix=no 11416 need_version=no 11417 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11419 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11420 dynamic_linker='NetBSD (a.out) ld.so' 11421 else 11422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11423 soname_spec='${libname}${release}${shared_ext}$major' 11424 dynamic_linker='NetBSD ld.elf_so' 11425 fi 11426 shlibpath_var=LD_LIBRARY_PATH 11427 shlibpath_overrides_runpath=yes 11428 hardcode_into_libs=yes 11429 ;; 11430 11431newsos6) 11432 version_type=linux # correct to gnu/linux during the next big refactor 11433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11434 shlibpath_var=LD_LIBRARY_PATH 11435 shlibpath_overrides_runpath=yes 11436 ;; 11437 11438*nto* | *qnx*) 11439 version_type=qnx 11440 need_lib_prefix=no 11441 need_version=no 11442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11443 soname_spec='${libname}${release}${shared_ext}$major' 11444 shlibpath_var=LD_LIBRARY_PATH 11445 shlibpath_overrides_runpath=no 11446 hardcode_into_libs=yes 11447 dynamic_linker='ldqnx.so' 11448 ;; 11449 11450openbsd*) 11451 version_type=sunos 11452 sys_lib_dlsearch_path_spec="/usr/lib" 11453 need_lib_prefix=no 11454 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11455 case $host_os in 11456 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11457 *) need_version=no ;; 11458 esac 11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11461 shlibpath_var=LD_LIBRARY_PATH 11462 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11463 case $host_os in 11464 openbsd2.[89] | openbsd2.[89].*) 11465 shlibpath_overrides_runpath=no 11466 ;; 11467 *) 11468 shlibpath_overrides_runpath=yes 11469 ;; 11470 esac 11471 else 11472 shlibpath_overrides_runpath=yes 11473 fi 11474 ;; 11475 11476os2*) 11477 libname_spec='$name' 11478 shrext_cmds=".dll" 11479 need_lib_prefix=no 11480 library_names_spec='$libname${shared_ext} $libname.a' 11481 dynamic_linker='OS/2 ld.exe' 11482 shlibpath_var=LIBPATH 11483 ;; 11484 11485osf3* | osf4* | osf5*) 11486 version_type=osf 11487 need_lib_prefix=no 11488 need_version=no 11489 soname_spec='${libname}${release}${shared_ext}$major' 11490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11491 shlibpath_var=LD_LIBRARY_PATH 11492 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11493 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11494 ;; 11495 11496rdos*) 11497 dynamic_linker=no 11498 ;; 11499 11500solaris*) 11501 version_type=linux # correct to gnu/linux during the next big refactor 11502 need_lib_prefix=no 11503 need_version=no 11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11505 soname_spec='${libname}${release}${shared_ext}$major' 11506 shlibpath_var=LD_LIBRARY_PATH 11507 shlibpath_overrides_runpath=yes 11508 hardcode_into_libs=yes 11509 # ldd complains unless libraries are executable 11510 postinstall_cmds='chmod +x $lib' 11511 ;; 11512 11513sunos4*) 11514 version_type=sunos 11515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11516 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11517 shlibpath_var=LD_LIBRARY_PATH 11518 shlibpath_overrides_runpath=yes 11519 if test "$with_gnu_ld" = yes; then 11520 need_lib_prefix=no 11521 fi 11522 need_version=yes 11523 ;; 11524 11525sysv4 | sysv4.3*) 11526 version_type=linux # correct to gnu/linux during the next big refactor 11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11528 soname_spec='${libname}${release}${shared_ext}$major' 11529 shlibpath_var=LD_LIBRARY_PATH 11530 case $host_vendor in 11531 sni) 11532 shlibpath_overrides_runpath=no 11533 need_lib_prefix=no 11534 runpath_var=LD_RUN_PATH 11535 ;; 11536 siemens) 11537 need_lib_prefix=no 11538 ;; 11539 motorola) 11540 need_lib_prefix=no 11541 need_version=no 11542 shlibpath_overrides_runpath=no 11543 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11544 ;; 11545 esac 11546 ;; 11547 11548sysv4*MP*) 11549 if test -d /usr/nec ;then 11550 version_type=linux # correct to gnu/linux during the next big refactor 11551 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11552 soname_spec='$libname${shared_ext}.$major' 11553 shlibpath_var=LD_LIBRARY_PATH 11554 fi 11555 ;; 11556 11557sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11558 version_type=freebsd-elf 11559 need_lib_prefix=no 11560 need_version=no 11561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11562 soname_spec='${libname}${release}${shared_ext}$major' 11563 shlibpath_var=LD_LIBRARY_PATH 11564 shlibpath_overrides_runpath=yes 11565 hardcode_into_libs=yes 11566 if test "$with_gnu_ld" = yes; then 11567 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11568 else 11569 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11570 case $host_os in 11571 sco3.2v5*) 11572 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11573 ;; 11574 esac 11575 fi 11576 sys_lib_dlsearch_path_spec='/usr/lib' 11577 ;; 11578 11579tpf*) 11580 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11581 version_type=linux # correct to gnu/linux during the next big refactor 11582 need_lib_prefix=no 11583 need_version=no 11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11585 shlibpath_var=LD_LIBRARY_PATH 11586 shlibpath_overrides_runpath=no 11587 hardcode_into_libs=yes 11588 ;; 11589 11590uts4*) 11591 version_type=linux # correct to gnu/linux during the next big refactor 11592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11593 soname_spec='${libname}${release}${shared_ext}$major' 11594 shlibpath_var=LD_LIBRARY_PATH 11595 ;; 11596 11597*) 11598 dynamic_linker=no 11599 ;; 11600esac 11601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11602$as_echo "$dynamic_linker" >&6; } 11603test "$dynamic_linker" = no && can_build_shared=no 11604 11605variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11606if test "$GCC" = yes; then 11607 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11608fi 11609 11610if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11611 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11612fi 11613if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11614 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11615fi 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11709$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11710hardcode_action= 11711if test -n "$hardcode_libdir_flag_spec" || 11712 test -n "$runpath_var" || 11713 test "X$hardcode_automatic" = "Xyes" ; then 11714 11715 # We can hardcode non-existent directories. 11716 if test "$hardcode_direct" != no && 11717 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11718 # have to relink, otherwise we might link with an installed library 11719 # when we should be linking with a yet-to-be-installed one 11720 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11721 test "$hardcode_minus_L" != no; then 11722 # Linking always hardcodes the temporary library directory. 11723 hardcode_action=relink 11724 else 11725 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11726 hardcode_action=immediate 11727 fi 11728else 11729 # We cannot hardcode anything, or else we can only hardcode existing 11730 # directories. 11731 hardcode_action=unsupported 11732fi 11733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11734$as_echo "$hardcode_action" >&6; } 11735 11736if test "$hardcode_action" = relink || 11737 test "$inherit_rpath" = yes; then 11738 # Fast installation is not supported 11739 enable_fast_install=no 11740elif test "$shlibpath_overrides_runpath" = yes || 11741 test "$enable_shared" = no; then 11742 # Fast installation is not necessary 11743 enable_fast_install=needless 11744fi 11745 11746 11747 11748 11749 11750 11751 if test "x$enable_dlopen" != xyes; then 11752 enable_dlopen=unknown 11753 enable_dlopen_self=unknown 11754 enable_dlopen_self_static=unknown 11755else 11756 lt_cv_dlopen=no 11757 lt_cv_dlopen_libs= 11758 11759 case $host_os in 11760 beos*) 11761 lt_cv_dlopen="load_add_on" 11762 lt_cv_dlopen_libs= 11763 lt_cv_dlopen_self=yes 11764 ;; 11765 11766 mingw* | pw32* | cegcc*) 11767 lt_cv_dlopen="LoadLibrary" 11768 lt_cv_dlopen_libs= 11769 ;; 11770 11771 cygwin*) 11772 lt_cv_dlopen="dlopen" 11773 lt_cv_dlopen_libs= 11774 ;; 11775 11776 darwin*) 11777 # if libdl is installed we need to link against it 11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11779$as_echo_n "checking for dlopen in -ldl... " >&6; } 11780if ${ac_cv_lib_dl_dlopen+:} false; then : 11781 $as_echo_n "(cached) " >&6 11782else 11783 ac_check_lib_save_LIBS=$LIBS 11784LIBS="-ldl $LIBS" 11785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11786/* end confdefs.h. */ 11787 11788/* Override any GCC internal prototype to avoid an error. 11789 Use char because int might match the return type of a GCC 11790 builtin and then its argument prototype would still apply. */ 11791#ifdef __cplusplus 11792extern "C" 11793#endif 11794char dlopen (); 11795int 11796main () 11797{ 11798return dlopen (); 11799 ; 11800 return 0; 11801} 11802_ACEOF 11803if ac_fn_c_try_link "$LINENO"; then : 11804 ac_cv_lib_dl_dlopen=yes 11805else 11806 ac_cv_lib_dl_dlopen=no 11807fi 11808rm -f core conftest.err conftest.$ac_objext \ 11809 conftest$ac_exeext conftest.$ac_ext 11810LIBS=$ac_check_lib_save_LIBS 11811fi 11812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11813$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11814if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11815 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11816else 11817 11818 lt_cv_dlopen="dyld" 11819 lt_cv_dlopen_libs= 11820 lt_cv_dlopen_self=yes 11821 11822fi 11823 11824 ;; 11825 11826 *) 11827 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11828if test "x$ac_cv_func_shl_load" = xyes; then : 11829 lt_cv_dlopen="shl_load" 11830else 11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11832$as_echo_n "checking for shl_load in -ldld... " >&6; } 11833if ${ac_cv_lib_dld_shl_load+:} false; then : 11834 $as_echo_n "(cached) " >&6 11835else 11836 ac_check_lib_save_LIBS=$LIBS 11837LIBS="-ldld $LIBS" 11838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11839/* end confdefs.h. */ 11840 11841/* Override any GCC internal prototype to avoid an error. 11842 Use char because int might match the return type of a GCC 11843 builtin and then its argument prototype would still apply. */ 11844#ifdef __cplusplus 11845extern "C" 11846#endif 11847char shl_load (); 11848int 11849main () 11850{ 11851return shl_load (); 11852 ; 11853 return 0; 11854} 11855_ACEOF 11856if ac_fn_c_try_link "$LINENO"; then : 11857 ac_cv_lib_dld_shl_load=yes 11858else 11859 ac_cv_lib_dld_shl_load=no 11860fi 11861rm -f core conftest.err conftest.$ac_objext \ 11862 conftest$ac_exeext conftest.$ac_ext 11863LIBS=$ac_check_lib_save_LIBS 11864fi 11865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11866$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11867if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11868 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11869else 11870 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11871if test "x$ac_cv_func_dlopen" = xyes; then : 11872 lt_cv_dlopen="dlopen" 11873else 11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11875$as_echo_n "checking for dlopen in -ldl... " >&6; } 11876if ${ac_cv_lib_dl_dlopen+:} false; then : 11877 $as_echo_n "(cached) " >&6 11878else 11879 ac_check_lib_save_LIBS=$LIBS 11880LIBS="-ldl $LIBS" 11881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11882/* end confdefs.h. */ 11883 11884/* Override any GCC internal prototype to avoid an error. 11885 Use char because int might match the return type of a GCC 11886 builtin and then its argument prototype would still apply. */ 11887#ifdef __cplusplus 11888extern "C" 11889#endif 11890char dlopen (); 11891int 11892main () 11893{ 11894return dlopen (); 11895 ; 11896 return 0; 11897} 11898_ACEOF 11899if ac_fn_c_try_link "$LINENO"; then : 11900 ac_cv_lib_dl_dlopen=yes 11901else 11902 ac_cv_lib_dl_dlopen=no 11903fi 11904rm -f core conftest.err conftest.$ac_objext \ 11905 conftest$ac_exeext conftest.$ac_ext 11906LIBS=$ac_check_lib_save_LIBS 11907fi 11908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11909$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11910if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11911 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11912else 11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11914$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11915if ${ac_cv_lib_svld_dlopen+:} false; then : 11916 $as_echo_n "(cached) " >&6 11917else 11918 ac_check_lib_save_LIBS=$LIBS 11919LIBS="-lsvld $LIBS" 11920cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11921/* end confdefs.h. */ 11922 11923/* Override any GCC internal prototype to avoid an error. 11924 Use char because int might match the return type of a GCC 11925 builtin and then its argument prototype would still apply. */ 11926#ifdef __cplusplus 11927extern "C" 11928#endif 11929char dlopen (); 11930int 11931main () 11932{ 11933return dlopen (); 11934 ; 11935 return 0; 11936} 11937_ACEOF 11938if ac_fn_c_try_link "$LINENO"; then : 11939 ac_cv_lib_svld_dlopen=yes 11940else 11941 ac_cv_lib_svld_dlopen=no 11942fi 11943rm -f core conftest.err conftest.$ac_objext \ 11944 conftest$ac_exeext conftest.$ac_ext 11945LIBS=$ac_check_lib_save_LIBS 11946fi 11947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11948$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11949if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11950 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11951else 11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11953$as_echo_n "checking for dld_link in -ldld... " >&6; } 11954if ${ac_cv_lib_dld_dld_link+:} false; then : 11955 $as_echo_n "(cached) " >&6 11956else 11957 ac_check_lib_save_LIBS=$LIBS 11958LIBS="-ldld $LIBS" 11959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11960/* end confdefs.h. */ 11961 11962/* Override any GCC internal prototype to avoid an error. 11963 Use char because int might match the return type of a GCC 11964 builtin and then its argument prototype would still apply. */ 11965#ifdef __cplusplus 11966extern "C" 11967#endif 11968char dld_link (); 11969int 11970main () 11971{ 11972return dld_link (); 11973 ; 11974 return 0; 11975} 11976_ACEOF 11977if ac_fn_c_try_link "$LINENO"; then : 11978 ac_cv_lib_dld_dld_link=yes 11979else 11980 ac_cv_lib_dld_dld_link=no 11981fi 11982rm -f core conftest.err conftest.$ac_objext \ 11983 conftest$ac_exeext conftest.$ac_ext 11984LIBS=$ac_check_lib_save_LIBS 11985fi 11986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11987$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11988if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11989 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11990fi 11991 11992 11993fi 11994 11995 11996fi 11997 11998 11999fi 12000 12001 12002fi 12003 12004 12005fi 12006 12007 ;; 12008 esac 12009 12010 if test "x$lt_cv_dlopen" != xno; then 12011 enable_dlopen=yes 12012 else 12013 enable_dlopen=no 12014 fi 12015 12016 case $lt_cv_dlopen in 12017 dlopen) 12018 save_CPPFLAGS="$CPPFLAGS" 12019 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12020 12021 save_LDFLAGS="$LDFLAGS" 12022 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12023 12024 save_LIBS="$LIBS" 12025 LIBS="$lt_cv_dlopen_libs $LIBS" 12026 12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12028$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12029if ${lt_cv_dlopen_self+:} false; then : 12030 $as_echo_n "(cached) " >&6 12031else 12032 if test "$cross_compiling" = yes; then : 12033 lt_cv_dlopen_self=cross 12034else 12035 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12036 lt_status=$lt_dlunknown 12037 cat > conftest.$ac_ext <<_LT_EOF 12038#line $LINENO "configure" 12039#include "confdefs.h" 12040 12041#if HAVE_DLFCN_H 12042#include <dlfcn.h> 12043#endif 12044 12045#include <stdio.h> 12046 12047#ifdef RTLD_GLOBAL 12048# define LT_DLGLOBAL RTLD_GLOBAL 12049#else 12050# ifdef DL_GLOBAL 12051# define LT_DLGLOBAL DL_GLOBAL 12052# else 12053# define LT_DLGLOBAL 0 12054# endif 12055#endif 12056 12057/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12058 find out it does not work in some platform. */ 12059#ifndef LT_DLLAZY_OR_NOW 12060# ifdef RTLD_LAZY 12061# define LT_DLLAZY_OR_NOW RTLD_LAZY 12062# else 12063# ifdef DL_LAZY 12064# define LT_DLLAZY_OR_NOW DL_LAZY 12065# else 12066# ifdef RTLD_NOW 12067# define LT_DLLAZY_OR_NOW RTLD_NOW 12068# else 12069# ifdef DL_NOW 12070# define LT_DLLAZY_OR_NOW DL_NOW 12071# else 12072# define LT_DLLAZY_OR_NOW 0 12073# endif 12074# endif 12075# endif 12076# endif 12077#endif 12078 12079/* When -fvisbility=hidden is used, assume the code has been annotated 12080 correspondingly for the symbols needed. */ 12081#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12082int fnord () __attribute__((visibility("default"))); 12083#endif 12084 12085int fnord () { return 42; } 12086int main () 12087{ 12088 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12089 int status = $lt_dlunknown; 12090 12091 if (self) 12092 { 12093 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12094 else 12095 { 12096 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12097 else puts (dlerror ()); 12098 } 12099 /* dlclose (self); */ 12100 } 12101 else 12102 puts (dlerror ()); 12103 12104 return status; 12105} 12106_LT_EOF 12107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12108 (eval $ac_link) 2>&5 12109 ac_status=$? 12110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12111 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12112 (./conftest; exit; ) >&5 2>/dev/null 12113 lt_status=$? 12114 case x$lt_status in 12115 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12116 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12117 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12118 esac 12119 else : 12120 # compilation failed 12121 lt_cv_dlopen_self=no 12122 fi 12123fi 12124rm -fr conftest* 12125 12126 12127fi 12128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12129$as_echo "$lt_cv_dlopen_self" >&6; } 12130 12131 if test "x$lt_cv_dlopen_self" = xyes; then 12132 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12134$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12135if ${lt_cv_dlopen_self_static+:} false; then : 12136 $as_echo_n "(cached) " >&6 12137else 12138 if test "$cross_compiling" = yes; then : 12139 lt_cv_dlopen_self_static=cross 12140else 12141 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12142 lt_status=$lt_dlunknown 12143 cat > conftest.$ac_ext <<_LT_EOF 12144#line $LINENO "configure" 12145#include "confdefs.h" 12146 12147#if HAVE_DLFCN_H 12148#include <dlfcn.h> 12149#endif 12150 12151#include <stdio.h> 12152 12153#ifdef RTLD_GLOBAL 12154# define LT_DLGLOBAL RTLD_GLOBAL 12155#else 12156# ifdef DL_GLOBAL 12157# define LT_DLGLOBAL DL_GLOBAL 12158# else 12159# define LT_DLGLOBAL 0 12160# endif 12161#endif 12162 12163/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12164 find out it does not work in some platform. */ 12165#ifndef LT_DLLAZY_OR_NOW 12166# ifdef RTLD_LAZY 12167# define LT_DLLAZY_OR_NOW RTLD_LAZY 12168# else 12169# ifdef DL_LAZY 12170# define LT_DLLAZY_OR_NOW DL_LAZY 12171# else 12172# ifdef RTLD_NOW 12173# define LT_DLLAZY_OR_NOW RTLD_NOW 12174# else 12175# ifdef DL_NOW 12176# define LT_DLLAZY_OR_NOW DL_NOW 12177# else 12178# define LT_DLLAZY_OR_NOW 0 12179# endif 12180# endif 12181# endif 12182# endif 12183#endif 12184 12185/* When -fvisbility=hidden is used, assume the code has been annotated 12186 correspondingly for the symbols needed. */ 12187#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12188int fnord () __attribute__((visibility("default"))); 12189#endif 12190 12191int fnord () { return 42; } 12192int main () 12193{ 12194 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12195 int status = $lt_dlunknown; 12196 12197 if (self) 12198 { 12199 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12200 else 12201 { 12202 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12203 else puts (dlerror ()); 12204 } 12205 /* dlclose (self); */ 12206 } 12207 else 12208 puts (dlerror ()); 12209 12210 return status; 12211} 12212_LT_EOF 12213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12214 (eval $ac_link) 2>&5 12215 ac_status=$? 12216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12217 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12218 (./conftest; exit; ) >&5 2>/dev/null 12219 lt_status=$? 12220 case x$lt_status in 12221 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12222 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12223 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12224 esac 12225 else : 12226 # compilation failed 12227 lt_cv_dlopen_self_static=no 12228 fi 12229fi 12230rm -fr conftest* 12231 12232 12233fi 12234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12235$as_echo "$lt_cv_dlopen_self_static" >&6; } 12236 fi 12237 12238 CPPFLAGS="$save_CPPFLAGS" 12239 LDFLAGS="$save_LDFLAGS" 12240 LIBS="$save_LIBS" 12241 ;; 12242 esac 12243 12244 case $lt_cv_dlopen_self in 12245 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12246 *) enable_dlopen_self=unknown ;; 12247 esac 12248 12249 case $lt_cv_dlopen_self_static in 12250 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12251 *) enable_dlopen_self_static=unknown ;; 12252 esac 12253fi 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271striplib= 12272old_striplib= 12273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12274$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12275if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12276 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12277 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12279$as_echo "yes" >&6; } 12280else 12281# FIXME - insert some real tests, host_os isn't really good enough 12282 case $host_os in 12283 darwin*) 12284 if test -n "$STRIP" ; then 12285 striplib="$STRIP -x" 12286 old_striplib="$STRIP -S" 12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12288$as_echo "yes" >&6; } 12289 else 12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12291$as_echo "no" >&6; } 12292 fi 12293 ;; 12294 *) 12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12296$as_echo "no" >&6; } 12297 ;; 12298 esac 12299fi 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 # Report which library types will actually be built 12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12314$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12316$as_echo "$can_build_shared" >&6; } 12317 12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12319$as_echo_n "checking whether to build shared libraries... " >&6; } 12320 test "$can_build_shared" = "no" && enable_shared=no 12321 12322 # On AIX, shared libraries and static libraries use the same namespace, and 12323 # are all built from PIC. 12324 case $host_os in 12325 aix3*) 12326 test "$enable_shared" = yes && enable_static=no 12327 if test -n "$RANLIB"; then 12328 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12329 postinstall_cmds='$RANLIB $lib' 12330 fi 12331 ;; 12332 12333 aix[4-9]*) 12334 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12335 test "$enable_shared" = yes && enable_static=no 12336 fi 12337 ;; 12338 esac 12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12340$as_echo "$enable_shared" >&6; } 12341 12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12343$as_echo_n "checking whether to build static libraries... " >&6; } 12344 # Make sure either enable_shared or enable_static is yes. 12345 test "$enable_shared" = yes || enable_static=yes 12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12347$as_echo "$enable_static" >&6; } 12348 12349 12350 12351 12352fi 12353ac_ext=cpp 12354ac_cpp='$CXXCPP $CPPFLAGS' 12355ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12356ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12357ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12358 12359CC="$lt_save_CC" 12360 12361 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 12362 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 12363 (test "X$CXX" != "Xg++"))) ; then 12364 ac_ext=cpp 12365ac_cpp='$CXXCPP $CPPFLAGS' 12366ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12367ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12368ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12370$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12371if test -z "$CXXCPP"; then 12372 if ${ac_cv_prog_CXXCPP+:} false; then : 12373 $as_echo_n "(cached) " >&6 12374else 12375 # Double quotes because CXXCPP needs to be expanded 12376 for CXXCPP in "$CXX -E" "/lib/cpp" 12377 do 12378 ac_preproc_ok=false 12379for ac_cxx_preproc_warn_flag in '' yes 12380do 12381 # Use a header file that comes with gcc, so configuring glibc 12382 # with a fresh cross-compiler works. 12383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12384 # <limits.h> exists even on freestanding compilers. 12385 # On the NeXT, cc -E runs the code through the compiler's parser, 12386 # not just through cpp. "Syntax error" is here to catch this case. 12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12388/* end confdefs.h. */ 12389#ifdef __STDC__ 12390# include <limits.h> 12391#else 12392# include <assert.h> 12393#endif 12394 Syntax error 12395_ACEOF 12396if ac_fn_cxx_try_cpp "$LINENO"; then : 12397 12398else 12399 # Broken: fails on valid input. 12400continue 12401fi 12402rm -f conftest.err conftest.i conftest.$ac_ext 12403 12404 # OK, works on sane cases. Now check whether nonexistent headers 12405 # can be detected and how. 12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12407/* end confdefs.h. */ 12408#include <ac_nonexistent.h> 12409_ACEOF 12410if ac_fn_cxx_try_cpp "$LINENO"; then : 12411 # Broken: success on invalid input. 12412continue 12413else 12414 # Passes both tests. 12415ac_preproc_ok=: 12416break 12417fi 12418rm -f conftest.err conftest.i conftest.$ac_ext 12419 12420done 12421# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12422rm -f conftest.i conftest.err conftest.$ac_ext 12423if $ac_preproc_ok; then : 12424 break 12425fi 12426 12427 done 12428 ac_cv_prog_CXXCPP=$CXXCPP 12429 12430fi 12431 CXXCPP=$ac_cv_prog_CXXCPP 12432else 12433 ac_cv_prog_CXXCPP=$CXXCPP 12434fi 12435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12436$as_echo "$CXXCPP" >&6; } 12437ac_preproc_ok=false 12438for ac_cxx_preproc_warn_flag in '' yes 12439do 12440 # Use a header file that comes with gcc, so configuring glibc 12441 # with a fresh cross-compiler works. 12442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12443 # <limits.h> exists even on freestanding compilers. 12444 # On the NeXT, cc -E runs the code through the compiler's parser, 12445 # not just through cpp. "Syntax error" is here to catch this case. 12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12447/* end confdefs.h. */ 12448#ifdef __STDC__ 12449# include <limits.h> 12450#else 12451# include <assert.h> 12452#endif 12453 Syntax error 12454_ACEOF 12455if ac_fn_cxx_try_cpp "$LINENO"; then : 12456 12457else 12458 # Broken: fails on valid input. 12459continue 12460fi 12461rm -f conftest.err conftest.i conftest.$ac_ext 12462 12463 # OK, works on sane cases. Now check whether nonexistent headers 12464 # can be detected and how. 12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12466/* end confdefs.h. */ 12467#include <ac_nonexistent.h> 12468_ACEOF 12469if ac_fn_cxx_try_cpp "$LINENO"; then : 12470 # Broken: success on invalid input. 12471continue 12472else 12473 # Passes both tests. 12474ac_preproc_ok=: 12475break 12476fi 12477rm -f conftest.err conftest.i conftest.$ac_ext 12478 12479done 12480# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12481rm -f conftest.i conftest.err conftest.$ac_ext 12482if $ac_preproc_ok; then : 12483 12484else 12485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12487as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12488See \`config.log' for more details" "$LINENO" 5; } 12489fi 12490 12491ac_ext=cpp 12492ac_cpp='$CXXCPP $CPPFLAGS' 12493ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12494ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12495ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12496 12497else 12498 _lt_caught_CXX_error=yes 12499fi 12500 12501ac_ext=cpp 12502ac_cpp='$CXXCPP $CPPFLAGS' 12503ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12504ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12505ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12506 12507archive_cmds_need_lc_CXX=no 12508allow_undefined_flag_CXX= 12509always_export_symbols_CXX=no 12510archive_expsym_cmds_CXX= 12511compiler_needs_object_CXX=no 12512export_dynamic_flag_spec_CXX= 12513hardcode_direct_CXX=no 12514hardcode_direct_absolute_CXX=no 12515hardcode_libdir_flag_spec_CXX= 12516hardcode_libdir_separator_CXX= 12517hardcode_minus_L_CXX=no 12518hardcode_shlibpath_var_CXX=unsupported 12519hardcode_automatic_CXX=no 12520inherit_rpath_CXX=no 12521module_cmds_CXX= 12522module_expsym_cmds_CXX= 12523link_all_deplibs_CXX=unknown 12524old_archive_cmds_CXX=$old_archive_cmds 12525reload_flag_CXX=$reload_flag 12526reload_cmds_CXX=$reload_cmds 12527no_undefined_flag_CXX= 12528whole_archive_flag_spec_CXX= 12529enable_shared_with_static_runtimes_CXX=no 12530 12531# Source file extension for C++ test sources. 12532ac_ext=cpp 12533 12534# Object file extension for compiled C++ test sources. 12535objext=o 12536objext_CXX=$objext 12537 12538# No sense in running all these tests if we already determined that 12539# the CXX compiler isn't working. Some variables (like enable_shared) 12540# are currently assumed to apply to all compilers on this platform, 12541# and will be corrupted by setting them based on a non-working compiler. 12542if test "$_lt_caught_CXX_error" != yes; then 12543 # Code to be used in simple compile tests 12544 lt_simple_compile_test_code="int some_variable = 0;" 12545 12546 # Code to be used in simple link tests 12547 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12548 12549 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12550 12551 12552 12553 12554 12555 12556# If no C compiler was specified, use CC. 12557LTCC=${LTCC-"$CC"} 12558 12559# If no C compiler flags were specified, use CFLAGS. 12560LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12561 12562# Allow CC to be a program name with arguments. 12563compiler=$CC 12564 12565 12566 # save warnings/boilerplate of simple test code 12567 ac_outfile=conftest.$ac_objext 12568echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12569eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12570_lt_compiler_boilerplate=`cat conftest.err` 12571$RM conftest* 12572 12573 ac_outfile=conftest.$ac_objext 12574echo "$lt_simple_link_test_code" >conftest.$ac_ext 12575eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12576_lt_linker_boilerplate=`cat conftest.err` 12577$RM -r conftest* 12578 12579 12580 # Allow CC to be a program name with arguments. 12581 lt_save_CC=$CC 12582 lt_save_CFLAGS=$CFLAGS 12583 lt_save_LD=$LD 12584 lt_save_GCC=$GCC 12585 GCC=$GXX 12586 lt_save_with_gnu_ld=$with_gnu_ld 12587 lt_save_path_LD=$lt_cv_path_LD 12588 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12589 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12590 else 12591 $as_unset lt_cv_prog_gnu_ld 12592 fi 12593 if test -n "${lt_cv_path_LDCXX+set}"; then 12594 lt_cv_path_LD=$lt_cv_path_LDCXX 12595 else 12596 $as_unset lt_cv_path_LD 12597 fi 12598 test -z "${LDCXX+set}" || LD=$LDCXX 12599 CC=${CXX-"c++"} 12600 CFLAGS=$CXXFLAGS 12601 compiler=$CC 12602 compiler_CXX=$CC 12603 for cc_temp in $compiler""; do 12604 case $cc_temp in 12605 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12606 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12607 \-*) ;; 12608 *) break;; 12609 esac 12610done 12611cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 12612 12613 12614 if test -n "$compiler"; then 12615 # We don't want -fno-exception when compiling C++ code, so set the 12616 # no_builtin_flag separately 12617 if test "$GXX" = yes; then 12618 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12619 else 12620 lt_prog_compiler_no_builtin_flag_CXX= 12621 fi 12622 12623 if test "$GXX" = yes; then 12624 # Set up default GNU C++ configuration 12625 12626 12627 12628# Check whether --with-gnu-ld was given. 12629if test "${with_gnu_ld+set}" = set; then : 12630 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12631else 12632 with_gnu_ld=no 12633fi 12634 12635ac_prog=ld 12636if test "$GCC" = yes; then 12637 # Check if gcc -print-prog-name=ld gives a path. 12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12639$as_echo_n "checking for ld used by $CC... " >&6; } 12640 case $host in 12641 *-*-mingw*) 12642 # gcc leaves a trailing carriage return which upsets mingw 12643 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12644 *) 12645 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12646 esac 12647 case $ac_prog in 12648 # Accept absolute paths. 12649 [\\/]* | ?:[\\/]*) 12650 re_direlt='/[^/][^/]*/\.\./' 12651 # Canonicalize the pathname of ld 12652 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12653 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12654 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12655 done 12656 test -z "$LD" && LD="$ac_prog" 12657 ;; 12658 "") 12659 # If it fails, then pretend we aren't using GCC. 12660 ac_prog=ld 12661 ;; 12662 *) 12663 # If it is relative, then search for the first ld in PATH. 12664 with_gnu_ld=unknown 12665 ;; 12666 esac 12667elif test "$with_gnu_ld" = yes; then 12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12669$as_echo_n "checking for GNU ld... " >&6; } 12670else 12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12672$as_echo_n "checking for non-GNU ld... " >&6; } 12673fi 12674if ${lt_cv_path_LD+:} false; then : 12675 $as_echo_n "(cached) " >&6 12676else 12677 if test -z "$LD"; then 12678 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12679 for ac_dir in $PATH; do 12680 IFS="$lt_save_ifs" 12681 test -z "$ac_dir" && ac_dir=. 12682 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12683 lt_cv_path_LD="$ac_dir/$ac_prog" 12684 # Check to see if the program is GNU ld. I'd rather use --version, 12685 # but apparently some variants of GNU ld only accept -v. 12686 # Break only if it was the GNU/non-GNU ld that we prefer. 12687 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12688 *GNU* | *'with BFD'*) 12689 test "$with_gnu_ld" != no && break 12690 ;; 12691 *) 12692 test "$with_gnu_ld" != yes && break 12693 ;; 12694 esac 12695 fi 12696 done 12697 IFS="$lt_save_ifs" 12698else 12699 lt_cv_path_LD="$LD" # Let the user override the test with a path. 12700fi 12701fi 12702 12703LD="$lt_cv_path_LD" 12704if test -n "$LD"; then 12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12706$as_echo "$LD" >&6; } 12707else 12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12709$as_echo "no" >&6; } 12710fi 12711test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12713$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12714if ${lt_cv_prog_gnu_ld+:} false; then : 12715 $as_echo_n "(cached) " >&6 12716else 12717 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12718case `$LD -v 2>&1 </dev/null` in 12719*GNU* | *'with BFD'*) 12720 lt_cv_prog_gnu_ld=yes 12721 ;; 12722*) 12723 lt_cv_prog_gnu_ld=no 12724 ;; 12725esac 12726fi 12727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12728$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12729with_gnu_ld=$lt_cv_prog_gnu_ld 12730 12731 12732 12733 12734 12735 12736 12737 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12738 # archiving commands below assume that GNU ld is being used. 12739 if test "$with_gnu_ld" = yes; then 12740 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12741 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12742 12743 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12744 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12745 12746 # If archive_cmds runs LD, not CC, wlarc should be empty 12747 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12748 # investigate it a little bit more. (MM) 12749 wlarc='${wl}' 12750 12751 # ancient GNU ld didn't support --whole-archive et. al. 12752 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12753 $GREP 'no-whole-archive' > /dev/null; then 12754 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12755 else 12756 whole_archive_flag_spec_CXX= 12757 fi 12758 else 12759 with_gnu_ld=no 12760 wlarc= 12761 12762 # A generic and very simple default shared library creation 12763 # command for GNU C++ for the case where it uses the native 12764 # linker, instead of GNU ld. If possible, this setting should 12765 # overridden to take advantage of the native linker features on 12766 # the platform it is being used on. 12767 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12768 fi 12769 12770 # Commands to make compiler produce verbose output that lists 12771 # what "hidden" libraries, object files and flags are used when 12772 # linking a shared library. 12773 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 12774 12775 else 12776 GXX=no 12777 with_gnu_ld=no 12778 wlarc= 12779 fi 12780 12781 # PORTME: fill in a description of your system's C++ link characteristics 12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12783$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12784 ld_shlibs_CXX=yes 12785 case $host_os in 12786 aix3*) 12787 # FIXME: insert proper C++ library support 12788 ld_shlibs_CXX=no 12789 ;; 12790 aix[4-9]*) 12791 if test "$host_cpu" = ia64; then 12792 # On IA64, the linker does run time linking by default, so we don't 12793 # have to do anything special. 12794 aix_use_runtimelinking=no 12795 exp_sym_flag='-Bexport' 12796 no_entry_flag="" 12797 else 12798 aix_use_runtimelinking=no 12799 12800 # Test if we are trying to use run time linking or normal 12801 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12802 # need to do runtime linking. 12803 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12804 for ld_flag in $LDFLAGS; do 12805 case $ld_flag in 12806 *-brtl*) 12807 aix_use_runtimelinking=yes 12808 break 12809 ;; 12810 esac 12811 done 12812 ;; 12813 esac 12814 12815 exp_sym_flag='-bexport' 12816 no_entry_flag='-bnoentry' 12817 fi 12818 12819 # When large executables or shared objects are built, AIX ld can 12820 # have problems creating the table of contents. If linking a library 12821 # or program results in "error TOC overflow" add -mminimal-toc to 12822 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12823 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12824 12825 archive_cmds_CXX='' 12826 hardcode_direct_CXX=yes 12827 hardcode_direct_absolute_CXX=yes 12828 hardcode_libdir_separator_CXX=':' 12829 link_all_deplibs_CXX=yes 12830 file_list_spec_CXX='${wl}-f,' 12831 12832 if test "$GXX" = yes; then 12833 case $host_os in aix4.[012]|aix4.[012].*) 12834 # We only want to do this on AIX 4.2 and lower, the check 12835 # below for broken collect2 doesn't work under 4.3+ 12836 collect2name=`${CC} -print-prog-name=collect2` 12837 if test -f "$collect2name" && 12838 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12839 then 12840 # We have reworked collect2 12841 : 12842 else 12843 # We have old collect2 12844 hardcode_direct_CXX=unsupported 12845 # It fails to find uninstalled libraries when the uninstalled 12846 # path is not listed in the libpath. Setting hardcode_minus_L 12847 # to unsupported forces relinking 12848 hardcode_minus_L_CXX=yes 12849 hardcode_libdir_flag_spec_CXX='-L$libdir' 12850 hardcode_libdir_separator_CXX= 12851 fi 12852 esac 12853 shared_flag='-shared' 12854 if test "$aix_use_runtimelinking" = yes; then 12855 shared_flag="$shared_flag "'${wl}-G' 12856 fi 12857 else 12858 # not using gcc 12859 if test "$host_cpu" = ia64; then 12860 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12861 # chokes on -Wl,-G. The following line is correct: 12862 shared_flag='-G' 12863 else 12864 if test "$aix_use_runtimelinking" = yes; then 12865 shared_flag='${wl}-G' 12866 else 12867 shared_flag='${wl}-bM:SRE' 12868 fi 12869 fi 12870 fi 12871 12872 export_dynamic_flag_spec_CXX='${wl}-bexpall' 12873 # It seems that -bexpall does not export symbols beginning with 12874 # underscore (_), so it is better to generate a list of symbols to 12875 # export. 12876 always_export_symbols_CXX=yes 12877 if test "$aix_use_runtimelinking" = yes; then 12878 # Warning - without using the other runtime loading flags (-brtl), 12879 # -berok will link without error, but may produce a broken library. 12880 allow_undefined_flag_CXX='-berok' 12881 # Determine the default libpath from the value encoded in an empty 12882 # executable. 12883 if test "${lt_cv_aix_libpath+set}" = set; then 12884 aix_libpath=$lt_cv_aix_libpath 12885else 12886 if ${lt_cv_aix_libpath__CXX+:} false; then : 12887 $as_echo_n "(cached) " >&6 12888else 12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12890/* end confdefs.h. */ 12891 12892int 12893main () 12894{ 12895 12896 ; 12897 return 0; 12898} 12899_ACEOF 12900if ac_fn_cxx_try_link "$LINENO"; then : 12901 12902 lt_aix_libpath_sed=' 12903 /Import File Strings/,/^$/ { 12904 /^0/ { 12905 s/^0 *\([^ ]*\) *$/\1/ 12906 p 12907 } 12908 }' 12909 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12910 # Check for a 64-bit object if we didn't find anything. 12911 if test -z "$lt_cv_aix_libpath__CXX"; then 12912 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12913 fi 12914fi 12915rm -f core conftest.err conftest.$ac_objext \ 12916 conftest$ac_exeext conftest.$ac_ext 12917 if test -z "$lt_cv_aix_libpath__CXX"; then 12918 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12919 fi 12920 12921fi 12922 12923 aix_libpath=$lt_cv_aix_libpath__CXX 12924fi 12925 12926 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12927 12928 archive_expsym_cmds_CXX='$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" 12929 else 12930 if test "$host_cpu" = ia64; then 12931 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12932 allow_undefined_flag_CXX="-z nodefs" 12933 archive_expsym_cmds_CXX="\$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" 12934 else 12935 # Determine the default libpath from the value encoded in an 12936 # empty executable. 12937 if test "${lt_cv_aix_libpath+set}" = set; then 12938 aix_libpath=$lt_cv_aix_libpath 12939else 12940 if ${lt_cv_aix_libpath__CXX+:} false; then : 12941 $as_echo_n "(cached) " >&6 12942else 12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12944/* end confdefs.h. */ 12945 12946int 12947main () 12948{ 12949 12950 ; 12951 return 0; 12952} 12953_ACEOF 12954if ac_fn_cxx_try_link "$LINENO"; then : 12955 12956 lt_aix_libpath_sed=' 12957 /Import File Strings/,/^$/ { 12958 /^0/ { 12959 s/^0 *\([^ ]*\) *$/\1/ 12960 p 12961 } 12962 }' 12963 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12964 # Check for a 64-bit object if we didn't find anything. 12965 if test -z "$lt_cv_aix_libpath__CXX"; then 12966 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12967 fi 12968fi 12969rm -f core conftest.err conftest.$ac_objext \ 12970 conftest$ac_exeext conftest.$ac_ext 12971 if test -z "$lt_cv_aix_libpath__CXX"; then 12972 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 12973 fi 12974 12975fi 12976 12977 aix_libpath=$lt_cv_aix_libpath__CXX 12978fi 12979 12980 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12981 # Warning - without using the other run time loading flags, 12982 # -berok will link without error, but may produce a broken library. 12983 no_undefined_flag_CXX=' ${wl}-bernotok' 12984 allow_undefined_flag_CXX=' ${wl}-berok' 12985 if test "$with_gnu_ld" = yes; then 12986 # We only use this code for GNU lds that support --whole-archive. 12987 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12988 else 12989 # Exported symbols can be pulled into shared objects from archives 12990 whole_archive_flag_spec_CXX='$convenience' 12991 fi 12992 archive_cmds_need_lc_CXX=yes 12993 # This is similar to how AIX traditionally builds its shared 12994 # libraries. 12995 archive_expsym_cmds_CXX="\$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' 12996 fi 12997 fi 12998 ;; 12999 13000 beos*) 13001 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13002 allow_undefined_flag_CXX=unsupported 13003 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13004 # support --undefined. This deserves some investigation. FIXME 13005 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13006 else 13007 ld_shlibs_CXX=no 13008 fi 13009 ;; 13010 13011 chorus*) 13012 case $cc_basename in 13013 *) 13014 # FIXME: insert proper C++ library support 13015 ld_shlibs_CXX=no 13016 ;; 13017 esac 13018 ;; 13019 13020 cygwin* | mingw* | pw32* | cegcc*) 13021 case $GXX,$cc_basename in 13022 ,cl* | no,cl*) 13023 # Native MSVC 13024 # hardcode_libdir_flag_spec is actually meaningless, as there is 13025 # no search path for DLLs. 13026 hardcode_libdir_flag_spec_CXX=' ' 13027 allow_undefined_flag_CXX=unsupported 13028 always_export_symbols_CXX=yes 13029 file_list_spec_CXX='@' 13030 # Tell ltmain to make .lib files, not .a files. 13031 libext=lib 13032 # Tell ltmain to make .dll files, not .so files. 13033 shrext_cmds=".dll" 13034 # FIXME: Setting linknames here is a bad hack. 13035 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 13036 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13037 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 13038 else 13039 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 13040 fi~ 13041 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13042 linknames=' 13043 # The linker will not automatically build a static lib if we build a DLL. 13044 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13045 enable_shared_with_static_runtimes_CXX=yes 13046 # Don't use ranlib 13047 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13048 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13049 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13050 case $lt_outputfile in 13051 *.exe|*.EXE) ;; 13052 *) 13053 lt_outputfile="$lt_outputfile.exe" 13054 lt_tool_outputfile="$lt_tool_outputfile.exe" 13055 ;; 13056 esac~ 13057 func_to_tool_file "$lt_outputfile"~ 13058 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 13059 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13060 $RM "$lt_outputfile.manifest"; 13061 fi' 13062 ;; 13063 *) 13064 # g++ 13065 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13066 # as there is no search path for DLLs. 13067 hardcode_libdir_flag_spec_CXX='-L$libdir' 13068 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 13069 allow_undefined_flag_CXX=unsupported 13070 always_export_symbols_CXX=no 13071 enable_shared_with_static_runtimes_CXX=yes 13072 13073 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13074 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13075 # If the export-symbols file already is a .def file (1st line 13076 # is EXPORTS), use it as is; otherwise, prepend... 13077 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 13078 cp $export_symbols $output_objdir/$soname.def; 13079 else 13080 echo EXPORTS > $output_objdir/$soname.def; 13081 cat $export_symbols >> $output_objdir/$soname.def; 13082 fi~ 13083 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13084 else 13085 ld_shlibs_CXX=no 13086 fi 13087 ;; 13088 esac 13089 ;; 13090 darwin* | rhapsody*) 13091 13092 13093 archive_cmds_need_lc_CXX=no 13094 hardcode_direct_CXX=no 13095 hardcode_automatic_CXX=yes 13096 hardcode_shlibpath_var_CXX=unsupported 13097 if test "$lt_cv_ld_force_load" = "yes"; then 13098 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13099 13100 else 13101 whole_archive_flag_spec_CXX='' 13102 fi 13103 link_all_deplibs_CXX=yes 13104 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 13105 case $cc_basename in 13106 ifort*) _lt_dar_can_shared=yes ;; 13107 *) _lt_dar_can_shared=$GCC ;; 13108 esac 13109 if test "$_lt_dar_can_shared" = "yes"; then 13110 output_verbose_link_cmd=func_echo_all 13111 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 13112 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 13113 archive_expsym_cmds_CXX="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}" 13114 module_expsym_cmds_CXX="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}" 13115 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 13116 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 13117 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 13118 fi 13119 13120 else 13121 ld_shlibs_CXX=no 13122 fi 13123 13124 ;; 13125 13126 dgux*) 13127 case $cc_basename in 13128 ec++*) 13129 # FIXME: insert proper C++ library support 13130 ld_shlibs_CXX=no 13131 ;; 13132 ghcx*) 13133 # Green Hills C++ Compiler 13134 # FIXME: insert proper C++ library support 13135 ld_shlibs_CXX=no 13136 ;; 13137 *) 13138 # FIXME: insert proper C++ library support 13139 ld_shlibs_CXX=no 13140 ;; 13141 esac 13142 ;; 13143 13144 freebsd2.*) 13145 # C++ shared libraries reported to be fairly broken before 13146 # switch to ELF 13147 ld_shlibs_CXX=no 13148 ;; 13149 13150 freebsd-elf*) 13151 archive_cmds_need_lc_CXX=no 13152 ;; 13153 13154 freebsd* | dragonfly*) 13155 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13156 # conventions 13157 ld_shlibs_CXX=yes 13158 ;; 13159 13160 gnu*) 13161 ;; 13162 13163 haiku*) 13164 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13165 link_all_deplibs_CXX=yes 13166 ;; 13167 13168 hpux9*) 13169 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 13170 hardcode_libdir_separator_CXX=: 13171 export_dynamic_flag_spec_CXX='${wl}-E' 13172 hardcode_direct_CXX=yes 13173 hardcode_minus_L_CXX=yes # Not in the search PATH, 13174 # but as the default 13175 # location of the library. 13176 13177 case $cc_basename in 13178 CC*) 13179 # FIXME: insert proper C++ library support 13180 ld_shlibs_CXX=no 13181 ;; 13182 aCC*) 13183 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13184 # Commands to make compiler produce verbose output that lists 13185 # what "hidden" libraries, object files and flags are used when 13186 # linking a shared library. 13187 # 13188 # There doesn't appear to be a way to prevent this compiler from 13189 # explicitly linking system object files so we need to strip them 13190 # from the output so that they don't get included in the library 13191 # dependencies. 13192 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13193 ;; 13194 *) 13195 if test "$GXX" = yes; then 13196 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 13197 else 13198 # FIXME: insert proper C++ library support 13199 ld_shlibs_CXX=no 13200 fi 13201 ;; 13202 esac 13203 ;; 13204 13205 hpux10*|hpux11*) 13206 if test $with_gnu_ld = no; then 13207 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 13208 hardcode_libdir_separator_CXX=: 13209 13210 case $host_cpu in 13211 hppa*64*|ia64*) 13212 ;; 13213 *) 13214 export_dynamic_flag_spec_CXX='${wl}-E' 13215 ;; 13216 esac 13217 fi 13218 case $host_cpu in 13219 hppa*64*|ia64*) 13220 hardcode_direct_CXX=no 13221 hardcode_shlibpath_var_CXX=no 13222 ;; 13223 *) 13224 hardcode_direct_CXX=yes 13225 hardcode_direct_absolute_CXX=yes 13226 hardcode_minus_L_CXX=yes # Not in the search PATH, 13227 # but as the default 13228 # location of the library. 13229 ;; 13230 esac 13231 13232 case $cc_basename in 13233 CC*) 13234 # FIXME: insert proper C++ library support 13235 ld_shlibs_CXX=no 13236 ;; 13237 aCC*) 13238 case $host_cpu in 13239 hppa*64*) 13240 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13241 ;; 13242 ia64*) 13243 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13244 ;; 13245 *) 13246 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13247 ;; 13248 esac 13249 # Commands to make compiler produce verbose output that lists 13250 # what "hidden" libraries, object files and flags are used when 13251 # linking a shared library. 13252 # 13253 # There doesn't appear to be a way to prevent this compiler from 13254 # explicitly linking system object files so we need to strip them 13255 # from the output so that they don't get included in the library 13256 # dependencies. 13257 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13258 ;; 13259 *) 13260 if test "$GXX" = yes; then 13261 if test $with_gnu_ld = no; then 13262 case $host_cpu in 13263 hppa*64*) 13264 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13265 ;; 13266 ia64*) 13267 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13268 ;; 13269 *) 13270 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13271 ;; 13272 esac 13273 fi 13274 else 13275 # FIXME: insert proper C++ library support 13276 ld_shlibs_CXX=no 13277 fi 13278 ;; 13279 esac 13280 ;; 13281 13282 interix[3-9]*) 13283 hardcode_direct_CXX=no 13284 hardcode_shlibpath_var_CXX=no 13285 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13286 export_dynamic_flag_spec_CXX='${wl}-E' 13287 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13288 # Instead, shared libraries are loaded at an image base (0x10000000 by 13289 # default) and relocated if they conflict, which is a slow very memory 13290 # consuming and fragmenting process. To avoid this, we pick a random, 13291 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13292 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13293 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13294 archive_expsym_cmds_CXX='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' 13295 ;; 13296 irix5* | irix6*) 13297 case $cc_basename in 13298 CC*) 13299 # SGI C++ 13300 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13301 13302 # Archives containing C++ object files must be created using 13303 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13304 # necessary to make sure instantiated templates are included 13305 # in the archive. 13306 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13307 ;; 13308 *) 13309 if test "$GXX" = yes; then 13310 if test "$with_gnu_ld" = no; then 13311 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 13312 else 13313 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' 13314 fi 13315 fi 13316 link_all_deplibs_CXX=yes 13317 ;; 13318 esac 13319 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13320 hardcode_libdir_separator_CXX=: 13321 inherit_rpath_CXX=yes 13322 ;; 13323 13324 linux* | k*bsd*-gnu | kopensolaris*-gnu) 13325 case $cc_basename in 13326 KCC*) 13327 # Kuck and Associates, Inc. (KAI) C++ Compiler 13328 13329 # KCC will only create a shared library if the output file 13330 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13331 # to its proper name (with version) after linking. 13332 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13333 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 13334 # Commands to make compiler produce verbose output that lists 13335 # what "hidden" libraries, object files and flags are used when 13336 # linking a shared library. 13337 # 13338 # There doesn't appear to be a way to prevent this compiler from 13339 # explicitly linking system object files so we need to strip them 13340 # from the output so that they don't get included in the library 13341 # dependencies. 13342 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13343 13344 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13345 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13346 13347 # Archives containing C++ object files must be created using 13348 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 13349 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 13350 ;; 13351 icpc* | ecpc* ) 13352 # Intel C++ 13353 with_gnu_ld=yes 13354 # version 8.0 and above of icpc choke on multiply defined symbols 13355 # if we add $predep_objects and $postdep_objects, however 7.1 and 13356 # earlier do not add the objects themselves. 13357 case `$CC -V 2>&1` in 13358 *"Version 7."*) 13359 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13360 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13361 ;; 13362 *) # Version 8.0 or newer 13363 tmp_idyn= 13364 case $host_cpu in 13365 ia64*) tmp_idyn=' -i_dynamic';; 13366 esac 13367 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13368 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 13369 ;; 13370 esac 13371 archive_cmds_need_lc_CXX=no 13372 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13373 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13374 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 13375 ;; 13376 pgCC* | pgcpp*) 13377 # Portland Group C++ compiler 13378 case `$CC -V` in 13379 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13380 prelink_cmds_CXX='tpldir=Template.dir~ 13381 rm -rf $tpldir~ 13382 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13383 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13384 old_archive_cmds_CXX='tpldir=Template.dir~ 13385 rm -rf $tpldir~ 13386 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13387 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13388 $RANLIB $oldlib' 13389 archive_cmds_CXX='tpldir=Template.dir~ 13390 rm -rf $tpldir~ 13391 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13392 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13393 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13394 rm -rf $tpldir~ 13395 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13396 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13397 ;; 13398 *) # Version 6 and above use weak symbols 13399 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13400 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 13401 ;; 13402 esac 13403 13404 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13405 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13406 whole_archive_flag_spec_CXX='${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' 13407 ;; 13408 cxx*) 13409 # Compaq C++ 13410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13411 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 13412 13413 runpath_var=LD_RUN_PATH 13414 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13415 hardcode_libdir_separator_CXX=: 13416 13417 # Commands to make compiler produce verbose output that lists 13418 # what "hidden" libraries, object files and flags are used when 13419 # linking a shared library. 13420 # 13421 # There doesn't appear to be a way to prevent this compiler from 13422 # explicitly linking system object files so we need to strip them 13423 # from the output so that they don't get included in the library 13424 # dependencies. 13425 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 13426 ;; 13427 xl* | mpixl* | bgxl*) 13428 # IBM XL 8.0 on PPC, with GNU ld 13429 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13430 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13431 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13432 if test "x$supports_anon_versioning" = xyes; then 13433 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13435 echo "local: *; };" >> $output_objdir/$libname.ver~ 13436 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13437 fi 13438 ;; 13439 *) 13440 case `$CC -V 2>&1 | sed 5q` in 13441 *Sun\ C*) 13442 # Sun C++ 5.9 13443 no_undefined_flag_CXX=' -zdefs' 13444 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13445 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 13446 hardcode_libdir_flag_spec_CXX='-R$libdir' 13447 whole_archive_flag_spec_CXX='${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' 13448 compiler_needs_object_CXX=yes 13449 13450 # Not sure whether something based on 13451 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13452 # would be better. 13453 output_verbose_link_cmd='func_echo_all' 13454 13455 # Archives containing C++ object files must be created using 13456 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13457 # necessary to make sure instantiated templates are included 13458 # in the archive. 13459 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13460 ;; 13461 esac 13462 ;; 13463 esac 13464 ;; 13465 13466 lynxos*) 13467 # FIXME: insert proper C++ library support 13468 ld_shlibs_CXX=no 13469 ;; 13470 13471 m88k*) 13472 # FIXME: insert proper C++ library support 13473 ld_shlibs_CXX=no 13474 ;; 13475 13476 mvs*) 13477 case $cc_basename in 13478 cxx*) 13479 # FIXME: insert proper C++ library support 13480 ld_shlibs_CXX=no 13481 ;; 13482 *) 13483 # FIXME: insert proper C++ library support 13484 ld_shlibs_CXX=no 13485 ;; 13486 esac 13487 ;; 13488 13489 netbsd*) 13490 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13491 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13492 wlarc= 13493 hardcode_libdir_flag_spec_CXX='-R$libdir' 13494 hardcode_direct_CXX=yes 13495 hardcode_shlibpath_var_CXX=no 13496 fi 13497 # Workaround some broken pre-1.5 toolchains 13498 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13499 ;; 13500 13501 *nto* | *qnx*) 13502 ld_shlibs_CXX=yes 13503 ;; 13504 13505 openbsd2*) 13506 # C++ shared libraries are fairly broken 13507 ld_shlibs_CXX=no 13508 ;; 13509 13510 openbsd*) 13511 if test -f /usr/libexec/ld.so; then 13512 hardcode_direct_CXX=yes 13513 hardcode_shlibpath_var_CXX=no 13514 hardcode_direct_absolute_CXX=yes 13515 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13516 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13517 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13518 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13519 export_dynamic_flag_spec_CXX='${wl}-E' 13520 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13521 fi 13522 output_verbose_link_cmd=func_echo_all 13523 else 13524 ld_shlibs_CXX=no 13525 fi 13526 ;; 13527 13528 osf3* | osf4* | osf5*) 13529 case $cc_basename in 13530 KCC*) 13531 # Kuck and Associates, Inc. (KAI) C++ Compiler 13532 13533 # KCC will only create a shared library if the output file 13534 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13535 # to its proper name (with version) after linking. 13536 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13537 13538 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13539 hardcode_libdir_separator_CXX=: 13540 13541 # Archives containing C++ object files must be created using 13542 # the KAI C++ compiler. 13543 case $host in 13544 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13545 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13546 esac 13547 ;; 13548 RCC*) 13549 # Rational C++ 2.4.1 13550 # FIXME: insert proper C++ library support 13551 ld_shlibs_CXX=no 13552 ;; 13553 cxx*) 13554 case $host in 13555 osf3*) 13556 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13557 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13558 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13559 ;; 13560 *) 13561 allow_undefined_flag_CXX=' -expect_unresolved \*' 13562 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 13563 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13564 echo "-hidden">> $lib.exp~ 13565 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ 13566 $RM $lib.exp' 13567 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13568 ;; 13569 esac 13570 13571 hardcode_libdir_separator_CXX=: 13572 13573 # Commands to make compiler produce verbose output that lists 13574 # what "hidden" libraries, object files and flags are used when 13575 # linking a shared library. 13576 # 13577 # There doesn't appear to be a way to prevent this compiler from 13578 # explicitly linking system object files so we need to strip them 13579 # from the output so that they don't get included in the library 13580 # dependencies. 13581 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13582 ;; 13583 *) 13584 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13585 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13586 case $host in 13587 osf3*) 13588 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 13589 ;; 13590 *) 13591 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 13592 ;; 13593 esac 13594 13595 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13596 hardcode_libdir_separator_CXX=: 13597 13598 # Commands to make compiler produce verbose output that lists 13599 # what "hidden" libraries, object files and flags are used when 13600 # linking a shared library. 13601 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13602 13603 else 13604 # FIXME: insert proper C++ library support 13605 ld_shlibs_CXX=no 13606 fi 13607 ;; 13608 esac 13609 ;; 13610 13611 psos*) 13612 # FIXME: insert proper C++ library support 13613 ld_shlibs_CXX=no 13614 ;; 13615 13616 sunos4*) 13617 case $cc_basename in 13618 CC*) 13619 # Sun C++ 4.x 13620 # FIXME: insert proper C++ library support 13621 ld_shlibs_CXX=no 13622 ;; 13623 lcc*) 13624 # Lucid 13625 # FIXME: insert proper C++ library support 13626 ld_shlibs_CXX=no 13627 ;; 13628 *) 13629 # FIXME: insert proper C++ library support 13630 ld_shlibs_CXX=no 13631 ;; 13632 esac 13633 ;; 13634 13635 solaris*) 13636 case $cc_basename in 13637 CC* | sunCC*) 13638 # Sun C++ 4.2, 5.x and Centerline C++ 13639 archive_cmds_need_lc_CXX=yes 13640 no_undefined_flag_CXX=' -zdefs' 13641 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13642 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13643 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13644 13645 hardcode_libdir_flag_spec_CXX='-R$libdir' 13646 hardcode_shlibpath_var_CXX=no 13647 case $host_os in 13648 solaris2.[0-5] | solaris2.[0-5].*) ;; 13649 *) 13650 # The compiler driver will combine and reorder linker options, 13651 # but understands `-z linker_flag'. 13652 # Supported since Solaris 2.6 (maybe 2.5.1?) 13653 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13654 ;; 13655 esac 13656 link_all_deplibs_CXX=yes 13657 13658 output_verbose_link_cmd='func_echo_all' 13659 13660 # Archives containing C++ object files must be created using 13661 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13662 # necessary to make sure instantiated templates are included 13663 # in the archive. 13664 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13665 ;; 13666 gcx*) 13667 # Green Hills C++ Compiler 13668 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13669 13670 # The C++ compiler must be used to create the archive. 13671 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13672 ;; 13673 *) 13674 # GNU C++ compiler with Solaris linker 13675 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13676 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 13677 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13678 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13679 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13680 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13681 13682 # Commands to make compiler produce verbose output that lists 13683 # what "hidden" libraries, object files and flags are used when 13684 # linking a shared library. 13685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13686 else 13687 # g++ 2.7 appears to require `-G' NOT `-shared' on this 13688 # platform. 13689 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13690 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13691 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13692 13693 # Commands to make compiler produce verbose output that lists 13694 # what "hidden" libraries, object files and flags are used when 13695 # linking a shared library. 13696 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13697 fi 13698 13699 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 13700 case $host_os in 13701 solaris2.[0-5] | solaris2.[0-5].*) ;; 13702 *) 13703 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 13704 ;; 13705 esac 13706 fi 13707 ;; 13708 esac 13709 ;; 13710 13711 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13712 no_undefined_flag_CXX='${wl}-z,text' 13713 archive_cmds_need_lc_CXX=no 13714 hardcode_shlibpath_var_CXX=no 13715 runpath_var='LD_RUN_PATH' 13716 13717 case $cc_basename in 13718 CC*) 13719 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13720 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13721 ;; 13722 *) 13723 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13724 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13725 ;; 13726 esac 13727 ;; 13728 13729 sysv5* | sco3.2v5* | sco5v6*) 13730 # Note: We can NOT use -z defs as we might desire, because we do not 13731 # link with -lc, and that would cause any symbols used from libc to 13732 # always be unresolved, which means just about no library would 13733 # ever link correctly. If we're not using GNU ld we use -z text 13734 # though, which does catch some bad symbols but isn't as heavy-handed 13735 # as -z defs. 13736 no_undefined_flag_CXX='${wl}-z,text' 13737 allow_undefined_flag_CXX='${wl}-z,nodefs' 13738 archive_cmds_need_lc_CXX=no 13739 hardcode_shlibpath_var_CXX=no 13740 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 13741 hardcode_libdir_separator_CXX=':' 13742 link_all_deplibs_CXX=yes 13743 export_dynamic_flag_spec_CXX='${wl}-Bexport' 13744 runpath_var='LD_RUN_PATH' 13745 13746 case $cc_basename in 13747 CC*) 13748 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13749 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13750 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 13751 '"$old_archive_cmds_CXX" 13752 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 13753 '"$reload_cmds_CXX" 13754 ;; 13755 *) 13756 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13757 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13758 ;; 13759 esac 13760 ;; 13761 13762 tandem*) 13763 case $cc_basename in 13764 NCC*) 13765 # NonStop-UX NCC 3.20 13766 # FIXME: insert proper C++ library support 13767 ld_shlibs_CXX=no 13768 ;; 13769 *) 13770 # FIXME: insert proper C++ library support 13771 ld_shlibs_CXX=no 13772 ;; 13773 esac 13774 ;; 13775 13776 vxworks*) 13777 # FIXME: insert proper C++ library support 13778 ld_shlibs_CXX=no 13779 ;; 13780 13781 *) 13782 # FIXME: insert proper C++ library support 13783 ld_shlibs_CXX=no 13784 ;; 13785 esac 13786 13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13788$as_echo "$ld_shlibs_CXX" >&6; } 13789 test "$ld_shlibs_CXX" = no && can_build_shared=no 13790 13791 GCC_CXX="$GXX" 13792 LD_CXX="$LD" 13793 13794 ## CAVEAT EMPTOR: 13795 ## There is no encapsulation within the following macros, do not change 13796 ## the running order or otherwise move them around unless you know exactly 13797 ## what you are doing... 13798 # Dependencies to place before and after the object being linked: 13799predep_objects_CXX= 13800postdep_objects_CXX= 13801predeps_CXX= 13802postdeps_CXX= 13803compiler_lib_search_path_CXX= 13804 13805cat > conftest.$ac_ext <<_LT_EOF 13806class Foo 13807{ 13808public: 13809 Foo (void) { a = 0; } 13810private: 13811 int a; 13812}; 13813_LT_EOF 13814 13815 13816_lt_libdeps_save_CFLAGS=$CFLAGS 13817case "$CC $CFLAGS " in #( 13818*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13819*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 13820*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 13821esac 13822 13823if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13824 (eval $ac_compile) 2>&5 13825 ac_status=$? 13826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13827 test $ac_status = 0; }; then 13828 # Parse the compiler output and extract the necessary 13829 # objects, libraries and library flags. 13830 13831 # Sentinel used to keep track of whether or not we are before 13832 # the conftest object file. 13833 pre_test_object_deps_done=no 13834 13835 for p in `eval "$output_verbose_link_cmd"`; do 13836 case ${prev}${p} in 13837 13838 -L* | -R* | -l*) 13839 # Some compilers place space between "-{L,R}" and the path. 13840 # Remove the space. 13841 if test $p = "-L" || 13842 test $p = "-R"; then 13843 prev=$p 13844 continue 13845 fi 13846 13847 # Expand the sysroot to ease extracting the directories later. 13848 if test -z "$prev"; then 13849 case $p in 13850 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 13851 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 13852 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 13853 esac 13854 fi 13855 case $p in 13856 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13857 esac 13858 if test "$pre_test_object_deps_done" = no; then 13859 case ${prev} in 13860 -L | -R) 13861 # Internal compiler library paths should come after those 13862 # provided the user. The postdeps already come after the 13863 # user supplied libs so there is no need to process them. 13864 if test -z "$compiler_lib_search_path_CXX"; then 13865 compiler_lib_search_path_CXX="${prev}${p}" 13866 else 13867 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 13868 fi 13869 ;; 13870 # The "-l" case would never come before the object being 13871 # linked, so don't bother handling this case. 13872 esac 13873 else 13874 if test -z "$postdeps_CXX"; then 13875 postdeps_CXX="${prev}${p}" 13876 else 13877 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 13878 fi 13879 fi 13880 prev= 13881 ;; 13882 13883 *.lto.$objext) ;; # Ignore GCC LTO objects 13884 *.$objext) 13885 # This assumes that the test object file only shows up 13886 # once in the compiler output. 13887 if test "$p" = "conftest.$objext"; then 13888 pre_test_object_deps_done=yes 13889 continue 13890 fi 13891 13892 if test "$pre_test_object_deps_done" = no; then 13893 if test -z "$predep_objects_CXX"; then 13894 predep_objects_CXX="$p" 13895 else 13896 predep_objects_CXX="$predep_objects_CXX $p" 13897 fi 13898 else 13899 if test -z "$postdep_objects_CXX"; then 13900 postdep_objects_CXX="$p" 13901 else 13902 postdep_objects_CXX="$postdep_objects_CXX $p" 13903 fi 13904 fi 13905 ;; 13906 13907 *) ;; # Ignore the rest. 13908 13909 esac 13910 done 13911 13912 # Clean up. 13913 rm -f a.out a.exe 13914else 13915 echo "libtool.m4: error: problem compiling CXX test program" 13916fi 13917 13918$RM -f confest.$objext 13919CFLAGS=$_lt_libdeps_save_CFLAGS 13920 13921# PORTME: override above test on systems where it is broken 13922case $host_os in 13923interix[3-9]*) 13924 # Interix 3.5 installs completely hosed .la files for C++, so rather than 13925 # hack all around it, let's just trust "g++" to DTRT. 13926 predep_objects_CXX= 13927 postdep_objects_CXX= 13928 postdeps_CXX= 13929 ;; 13930 13931linux*) 13932 case `$CC -V 2>&1 | sed 5q` in 13933 *Sun\ C*) 13934 # Sun C++ 5.9 13935 13936 # The more standards-conforming stlport4 library is 13937 # incompatible with the Cstd library. Avoid specifying 13938 # it if it's in CXXFLAGS. Ignore libCrun as 13939 # -library=stlport4 depends on it. 13940 case " $CXX $CXXFLAGS " in 13941 *" -library=stlport4 "*) 13942 solaris_use_stlport4=yes 13943 ;; 13944 esac 13945 13946 if test "$solaris_use_stlport4" != yes; then 13947 postdeps_CXX='-library=Cstd -library=Crun' 13948 fi 13949 ;; 13950 esac 13951 ;; 13952 13953solaris*) 13954 case $cc_basename in 13955 CC* | sunCC*) 13956 # The more standards-conforming stlport4 library is 13957 # incompatible with the Cstd library. Avoid specifying 13958 # it if it's in CXXFLAGS. Ignore libCrun as 13959 # -library=stlport4 depends on it. 13960 case " $CXX $CXXFLAGS " in 13961 *" -library=stlport4 "*) 13962 solaris_use_stlport4=yes 13963 ;; 13964 esac 13965 13966 # Adding this requires a known-good setup of shared libraries for 13967 # Sun compiler versions before 5.6, else PIC objects from an old 13968 # archive will be linked into the output, leading to subtle bugs. 13969 if test "$solaris_use_stlport4" != yes; then 13970 postdeps_CXX='-library=Cstd -library=Crun' 13971 fi 13972 ;; 13973 esac 13974 ;; 13975esac 13976 13977 13978case " $postdeps_CXX " in 13979*" -lc "*) archive_cmds_need_lc_CXX=no ;; 13980esac 13981 compiler_lib_search_dirs_CXX= 13982if test -n "${compiler_lib_search_path_CXX}"; then 13983 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13984fi 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 lt_prog_compiler_wl_CXX= 14017lt_prog_compiler_pic_CXX= 14018lt_prog_compiler_static_CXX= 14019 14020 14021 # C++ specific cases for pic, static, wl, etc. 14022 if test "$GXX" = yes; then 14023 lt_prog_compiler_wl_CXX='-Wl,' 14024 lt_prog_compiler_static_CXX='-static' 14025 14026 case $host_os in 14027 aix*) 14028 # All AIX code is PIC. 14029 if test "$host_cpu" = ia64; then 14030 # AIX 5 now supports IA64 processor 14031 lt_prog_compiler_static_CXX='-Bstatic' 14032 fi 14033 ;; 14034 14035 amigaos*) 14036 case $host_cpu in 14037 powerpc) 14038 # see comment about AmigaOS4 .so support 14039 lt_prog_compiler_pic_CXX='-fPIC' 14040 ;; 14041 m68k) 14042 # FIXME: we need at least 68020 code to build shared libraries, but 14043 # adding the `-m68020' flag to GCC prevents building anything better, 14044 # like `-m68040'. 14045 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14046 ;; 14047 esac 14048 ;; 14049 14050 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14051 # PIC is the default for these OSes. 14052 ;; 14053 mingw* | cygwin* | os2* | pw32* | cegcc*) 14054 # This hack is so that the source file can tell whether it is being 14055 # built for inclusion in a dll (and should export symbols for example). 14056 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14057 # (--disable-auto-import) libraries 14058 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14059 ;; 14060 darwin* | rhapsody*) 14061 # PIC is the default on this platform 14062 # Common symbols not allowed in MH_DYLIB files 14063 lt_prog_compiler_pic_CXX='-fno-common' 14064 ;; 14065 *djgpp*) 14066 # DJGPP does not support shared libraries at all 14067 lt_prog_compiler_pic_CXX= 14068 ;; 14069 haiku*) 14070 # PIC is the default for Haiku. 14071 # The "-static" flag exists, but is broken. 14072 lt_prog_compiler_static_CXX= 14073 ;; 14074 interix[3-9]*) 14075 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14076 # Instead, we relocate shared libraries at runtime. 14077 ;; 14078 sysv4*MP*) 14079 if test -d /usr/nec; then 14080 lt_prog_compiler_pic_CXX=-Kconform_pic 14081 fi 14082 ;; 14083 hpux*) 14084 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14085 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14086 # sets the default TLS model and affects inlining. 14087 case $host_cpu in 14088 hppa*64*) 14089 ;; 14090 *) 14091 lt_prog_compiler_pic_CXX='-fPIC' 14092 ;; 14093 esac 14094 ;; 14095 *qnx* | *nto*) 14096 # QNX uses GNU C++, but need to define -shared option too, otherwise 14097 # it will coredump. 14098 lt_prog_compiler_pic_CXX='-fPIC -shared' 14099 ;; 14100 *) 14101 lt_prog_compiler_pic_CXX='-fPIC' 14102 ;; 14103 esac 14104 else 14105 case $host_os in 14106 aix[4-9]*) 14107 # All AIX code is PIC. 14108 if test "$host_cpu" = ia64; then 14109 # AIX 5 now supports IA64 processor 14110 lt_prog_compiler_static_CXX='-Bstatic' 14111 else 14112 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14113 fi 14114 ;; 14115 chorus*) 14116 case $cc_basename in 14117 cxch68*) 14118 # Green Hills C++ Compiler 14119 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14120 ;; 14121 esac 14122 ;; 14123 mingw* | cygwin* | os2* | pw32* | cegcc*) 14124 # This hack is so that the source file can tell whether it is being 14125 # built for inclusion in a dll (and should export symbols for example). 14126 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14127 ;; 14128 dgux*) 14129 case $cc_basename in 14130 ec++*) 14131 lt_prog_compiler_pic_CXX='-KPIC' 14132 ;; 14133 ghcx*) 14134 # Green Hills C++ Compiler 14135 lt_prog_compiler_pic_CXX='-pic' 14136 ;; 14137 *) 14138 ;; 14139 esac 14140 ;; 14141 freebsd* | dragonfly*) 14142 # FreeBSD uses GNU C++ 14143 ;; 14144 hpux9* | hpux10* | hpux11*) 14145 case $cc_basename in 14146 CC*) 14147 lt_prog_compiler_wl_CXX='-Wl,' 14148 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 14149 if test "$host_cpu" != ia64; then 14150 lt_prog_compiler_pic_CXX='+Z' 14151 fi 14152 ;; 14153 aCC*) 14154 lt_prog_compiler_wl_CXX='-Wl,' 14155 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 14156 case $host_cpu in 14157 hppa*64*|ia64*) 14158 # +Z the default 14159 ;; 14160 *) 14161 lt_prog_compiler_pic_CXX='+Z' 14162 ;; 14163 esac 14164 ;; 14165 *) 14166 ;; 14167 esac 14168 ;; 14169 interix*) 14170 # This is c89, which is MS Visual C++ (no shared libs) 14171 # Anyone wants to do a port? 14172 ;; 14173 irix5* | irix6* | nonstopux*) 14174 case $cc_basename in 14175 CC*) 14176 lt_prog_compiler_wl_CXX='-Wl,' 14177 lt_prog_compiler_static_CXX='-non_shared' 14178 # CC pic flag -KPIC is the default. 14179 ;; 14180 *) 14181 ;; 14182 esac 14183 ;; 14184 linux* | k*bsd*-gnu | kopensolaris*-gnu) 14185 case $cc_basename in 14186 KCC*) 14187 # KAI C++ Compiler 14188 lt_prog_compiler_wl_CXX='--backend -Wl,' 14189 lt_prog_compiler_pic_CXX='-fPIC' 14190 ;; 14191 ecpc* ) 14192 # old Intel C++ for x86_64 which still supported -KPIC. 14193 lt_prog_compiler_wl_CXX='-Wl,' 14194 lt_prog_compiler_pic_CXX='-KPIC' 14195 lt_prog_compiler_static_CXX='-static' 14196 ;; 14197 icpc* ) 14198 # Intel C++, used to be incompatible with GCC. 14199 # ICC 10 doesn't accept -KPIC any more. 14200 lt_prog_compiler_wl_CXX='-Wl,' 14201 lt_prog_compiler_pic_CXX='-fPIC' 14202 lt_prog_compiler_static_CXX='-static' 14203 ;; 14204 pgCC* | pgcpp*) 14205 # Portland Group C++ compiler 14206 lt_prog_compiler_wl_CXX='-Wl,' 14207 lt_prog_compiler_pic_CXX='-fpic' 14208 lt_prog_compiler_static_CXX='-Bstatic' 14209 ;; 14210 cxx*) 14211 # Compaq C++ 14212 # Make sure the PIC flag is empty. It appears that all Alpha 14213 # Linux and Compaq Tru64 Unix objects are PIC. 14214 lt_prog_compiler_pic_CXX= 14215 lt_prog_compiler_static_CXX='-non_shared' 14216 ;; 14217 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14218 # IBM XL 8.0, 9.0 on PPC and BlueGene 14219 lt_prog_compiler_wl_CXX='-Wl,' 14220 lt_prog_compiler_pic_CXX='-qpic' 14221 lt_prog_compiler_static_CXX='-qstaticlink' 14222 ;; 14223 *) 14224 case `$CC -V 2>&1 | sed 5q` in 14225 *Sun\ C*) 14226 # Sun C++ 5.9 14227 lt_prog_compiler_pic_CXX='-KPIC' 14228 lt_prog_compiler_static_CXX='-Bstatic' 14229 lt_prog_compiler_wl_CXX='-Qoption ld ' 14230 ;; 14231 esac 14232 ;; 14233 esac 14234 ;; 14235 lynxos*) 14236 ;; 14237 m88k*) 14238 ;; 14239 mvs*) 14240 case $cc_basename in 14241 cxx*) 14242 lt_prog_compiler_pic_CXX='-W c,exportall' 14243 ;; 14244 *) 14245 ;; 14246 esac 14247 ;; 14248 netbsd*) 14249 ;; 14250 *qnx* | *nto*) 14251 # QNX uses GNU C++, but need to define -shared option too, otherwise 14252 # it will coredump. 14253 lt_prog_compiler_pic_CXX='-fPIC -shared' 14254 ;; 14255 osf3* | osf4* | osf5*) 14256 case $cc_basename in 14257 KCC*) 14258 lt_prog_compiler_wl_CXX='--backend -Wl,' 14259 ;; 14260 RCC*) 14261 # Rational C++ 2.4.1 14262 lt_prog_compiler_pic_CXX='-pic' 14263 ;; 14264 cxx*) 14265 # Digital/Compaq C++ 14266 lt_prog_compiler_wl_CXX='-Wl,' 14267 # Make sure the PIC flag is empty. It appears that all Alpha 14268 # Linux and Compaq Tru64 Unix objects are PIC. 14269 lt_prog_compiler_pic_CXX= 14270 lt_prog_compiler_static_CXX='-non_shared' 14271 ;; 14272 *) 14273 ;; 14274 esac 14275 ;; 14276 psos*) 14277 ;; 14278 solaris*) 14279 case $cc_basename in 14280 CC* | sunCC*) 14281 # Sun C++ 4.2, 5.x and Centerline C++ 14282 lt_prog_compiler_pic_CXX='-KPIC' 14283 lt_prog_compiler_static_CXX='-Bstatic' 14284 lt_prog_compiler_wl_CXX='-Qoption ld ' 14285 ;; 14286 gcx*) 14287 # Green Hills C++ Compiler 14288 lt_prog_compiler_pic_CXX='-PIC' 14289 ;; 14290 *) 14291 ;; 14292 esac 14293 ;; 14294 sunos4*) 14295 case $cc_basename in 14296 CC*) 14297 # Sun C++ 4.x 14298 lt_prog_compiler_pic_CXX='-pic' 14299 lt_prog_compiler_static_CXX='-Bstatic' 14300 ;; 14301 lcc*) 14302 # Lucid 14303 lt_prog_compiler_pic_CXX='-pic' 14304 ;; 14305 *) 14306 ;; 14307 esac 14308 ;; 14309 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14310 case $cc_basename in 14311 CC*) 14312 lt_prog_compiler_wl_CXX='-Wl,' 14313 lt_prog_compiler_pic_CXX='-KPIC' 14314 lt_prog_compiler_static_CXX='-Bstatic' 14315 ;; 14316 esac 14317 ;; 14318 tandem*) 14319 case $cc_basename in 14320 NCC*) 14321 # NonStop-UX NCC 3.20 14322 lt_prog_compiler_pic_CXX='-KPIC' 14323 ;; 14324 *) 14325 ;; 14326 esac 14327 ;; 14328 vxworks*) 14329 ;; 14330 *) 14331 lt_prog_compiler_can_build_shared_CXX=no 14332 ;; 14333 esac 14334 fi 14335 14336case $host_os in 14337 # For platforms which do not support PIC, -DPIC is meaningless: 14338 *djgpp*) 14339 lt_prog_compiler_pic_CXX= 14340 ;; 14341 *) 14342 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 14343 ;; 14344esac 14345 14346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14347$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14348if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 14349 $as_echo_n "(cached) " >&6 14350else 14351 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 14352fi 14353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 14354$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 14355lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 14356 14357# 14358# Check to make sure the PIC flag actually works. 14359# 14360if test -n "$lt_prog_compiler_pic_CXX"; then 14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14362$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14363if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 14364 $as_echo_n "(cached) " >&6 14365else 14366 lt_cv_prog_compiler_pic_works_CXX=no 14367 ac_outfile=conftest.$ac_objext 14368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14369 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 14370 # Insert the option either (1) after the last *FLAGS variable, or 14371 # (2) before a word containing "conftest.", or (3) at the end. 14372 # Note that $ac_compile itself does not contain backslashes and begins 14373 # with a dollar sign (not a hyphen), so the echo should work correctly. 14374 # The option is referenced via a variable to avoid confusing sed. 14375 lt_compile=`echo "$ac_compile" | $SED \ 14376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14378 -e 's:$: $lt_compiler_flag:'` 14379 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14380 (eval "$lt_compile" 2>conftest.err) 14381 ac_status=$? 14382 cat conftest.err >&5 14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14384 if (exit $ac_status) && test -s "$ac_outfile"; then 14385 # The compiler can only warn and ignore the option if not recognized 14386 # So say no if there are warnings other than the usual output. 14387 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14388 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14389 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14390 lt_cv_prog_compiler_pic_works_CXX=yes 14391 fi 14392 fi 14393 $RM conftest* 14394 14395fi 14396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14397$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14398 14399if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 14400 case $lt_prog_compiler_pic_CXX in 14401 "" | " "*) ;; 14402 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14403 esac 14404else 14405 lt_prog_compiler_pic_CXX= 14406 lt_prog_compiler_can_build_shared_CXX=no 14407fi 14408 14409fi 14410 14411 14412 14413 14414 14415# 14416# Check to make sure the static flag actually works. 14417# 14418wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14420$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14421if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14422 $as_echo_n "(cached) " >&6 14423else 14424 lt_cv_prog_compiler_static_works_CXX=no 14425 save_LDFLAGS="$LDFLAGS" 14426 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14427 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14428 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14429 # The linker can only warn and ignore the option if not recognized 14430 # So say no if there are warnings 14431 if test -s conftest.err; then 14432 # Append any errors to the config.log. 14433 cat conftest.err 1>&5 14434 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14436 if diff conftest.exp conftest.er2 >/dev/null; then 14437 lt_cv_prog_compiler_static_works_CXX=yes 14438 fi 14439 else 14440 lt_cv_prog_compiler_static_works_CXX=yes 14441 fi 14442 fi 14443 $RM -r conftest* 14444 LDFLAGS="$save_LDFLAGS" 14445 14446fi 14447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14448$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14449 14450if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14451 : 14452else 14453 lt_prog_compiler_static_CXX= 14454fi 14455 14456 14457 14458 14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14460$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14461if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14462 $as_echo_n "(cached) " >&6 14463else 14464 lt_cv_prog_compiler_c_o_CXX=no 14465 $RM -r conftest 2>/dev/null 14466 mkdir conftest 14467 cd conftest 14468 mkdir out 14469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14470 14471 lt_compiler_flag="-o out/conftest2.$ac_objext" 14472 # Insert the option either (1) after the last *FLAGS variable, or 14473 # (2) before a word containing "conftest.", or (3) at the end. 14474 # Note that $ac_compile itself does not contain backslashes and begins 14475 # with a dollar sign (not a hyphen), so the echo should work correctly. 14476 lt_compile=`echo "$ac_compile" | $SED \ 14477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14479 -e 's:$: $lt_compiler_flag:'` 14480 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14481 (eval "$lt_compile" 2>out/conftest.err) 14482 ac_status=$? 14483 cat out/conftest.err >&5 14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14485 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14486 then 14487 # The compiler can only warn and ignore the option if not recognized 14488 # So say no if there are warnings 14489 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14490 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14491 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14492 lt_cv_prog_compiler_c_o_CXX=yes 14493 fi 14494 fi 14495 chmod u+w . 2>&5 14496 $RM conftest* 14497 # SGI C++ compiler will create directory out/ii_files/ for 14498 # template instantiation 14499 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14500 $RM out/* && rmdir out 14501 cd .. 14502 $RM -r conftest 14503 $RM conftest* 14504 14505fi 14506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14507$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14508 14509 14510 14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14512$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14513if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14514 $as_echo_n "(cached) " >&6 14515else 14516 lt_cv_prog_compiler_c_o_CXX=no 14517 $RM -r conftest 2>/dev/null 14518 mkdir conftest 14519 cd conftest 14520 mkdir out 14521 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14522 14523 lt_compiler_flag="-o out/conftest2.$ac_objext" 14524 # Insert the option either (1) after the last *FLAGS variable, or 14525 # (2) before a word containing "conftest.", or (3) at the end. 14526 # Note that $ac_compile itself does not contain backslashes and begins 14527 # with a dollar sign (not a hyphen), so the echo should work correctly. 14528 lt_compile=`echo "$ac_compile" | $SED \ 14529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14531 -e 's:$: $lt_compiler_flag:'` 14532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14533 (eval "$lt_compile" 2>out/conftest.err) 14534 ac_status=$? 14535 cat out/conftest.err >&5 14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14537 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14538 then 14539 # The compiler can only warn and ignore the option if not recognized 14540 # So say no if there are warnings 14541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14542 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14543 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14544 lt_cv_prog_compiler_c_o_CXX=yes 14545 fi 14546 fi 14547 chmod u+w . 2>&5 14548 $RM conftest* 14549 # SGI C++ compiler will create directory out/ii_files/ for 14550 # template instantiation 14551 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14552 $RM out/* && rmdir out 14553 cd .. 14554 $RM -r conftest 14555 $RM conftest* 14556 14557fi 14558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14559$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14560 14561 14562 14563 14564hard_links="nottested" 14565if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14566 # do not overwrite the value of need_locks provided by the user 14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14568$as_echo_n "checking if we can lock with hard links... " >&6; } 14569 hard_links=yes 14570 $RM conftest* 14571 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14572 touch conftest.a 14573 ln conftest.a conftest.b 2>&5 || hard_links=no 14574 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14576$as_echo "$hard_links" >&6; } 14577 if test "$hard_links" = no; then 14578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14579$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14580 need_locks=warn 14581 fi 14582else 14583 need_locks=no 14584fi 14585 14586 14587 14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14589$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14590 14591 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14592 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14593 case $host_os in 14594 aix[4-9]*) 14595 # If we're using GNU nm, then we don't want the "-C" option. 14596 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14597 # Also, AIX nm treats weak defined symbols like other global defined 14598 # symbols, whereas GNU nm marks them as "W". 14599 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14600 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14601 else 14602 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 14603 fi 14604 ;; 14605 pw32*) 14606 export_symbols_cmds_CXX="$ltdll_cmds" 14607 ;; 14608 cygwin* | mingw* | cegcc*) 14609 case $cc_basename in 14610 cl*) 14611 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14612 ;; 14613 *) 14614 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14615 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14616 ;; 14617 esac 14618 ;; 14619 *) 14620 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14621 ;; 14622 esac 14623 14624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14625$as_echo "$ld_shlibs_CXX" >&6; } 14626test "$ld_shlibs_CXX" = no && can_build_shared=no 14627 14628with_gnu_ld_CXX=$with_gnu_ld 14629 14630 14631 14632 14633 14634 14635# 14636# Do we need to explicitly link libc? 14637# 14638case "x$archive_cmds_need_lc_CXX" in 14639x|xyes) 14640 # Assume -lc should be added 14641 archive_cmds_need_lc_CXX=yes 14642 14643 if test "$enable_shared" = yes && test "$GCC" = yes; then 14644 case $archive_cmds_CXX in 14645 *'~'*) 14646 # FIXME: we may have to deal with multi-command sequences. 14647 ;; 14648 '$CC '*) 14649 # Test whether the compiler implicitly links with -lc since on some 14650 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14651 # to ld, don't add -lc before -lgcc. 14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14653$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14654if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 14655 $as_echo_n "(cached) " >&6 14656else 14657 $RM conftest* 14658 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14659 14660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14661 (eval $ac_compile) 2>&5 14662 ac_status=$? 14663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14664 test $ac_status = 0; } 2>conftest.err; then 14665 soname=conftest 14666 lib=conftest 14667 libobjs=conftest.$ac_objext 14668 deplibs= 14669 wl=$lt_prog_compiler_wl_CXX 14670 pic_flag=$lt_prog_compiler_pic_CXX 14671 compiler_flags=-v 14672 linker_flags=-v 14673 verstring= 14674 output_objdir=. 14675 libname=conftest 14676 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14677 allow_undefined_flag_CXX= 14678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14679 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14680 ac_status=$? 14681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14682 test $ac_status = 0; } 14683 then 14684 lt_cv_archive_cmds_need_lc_CXX=no 14685 else 14686 lt_cv_archive_cmds_need_lc_CXX=yes 14687 fi 14688 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14689 else 14690 cat conftest.err 1>&5 14691 fi 14692 $RM conftest* 14693 14694fi 14695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 14696$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 14697 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 14698 ;; 14699 esac 14700 fi 14701 ;; 14702esac 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14766$as_echo_n "checking dynamic linker characteristics... " >&6; } 14767 14768library_names_spec= 14769libname_spec='lib$name' 14770soname_spec= 14771shrext_cmds=".so" 14772postinstall_cmds= 14773postuninstall_cmds= 14774finish_cmds= 14775finish_eval= 14776shlibpath_var= 14777shlibpath_overrides_runpath=unknown 14778version_type=none 14779dynamic_linker="$host_os ld.so" 14780sys_lib_dlsearch_path_spec="/lib /usr/lib" 14781need_lib_prefix=unknown 14782hardcode_into_libs=no 14783 14784# when you set need_version to no, make sure it does not cause -set_version 14785# flags to be left without arguments 14786need_version=unknown 14787 14788case $host_os in 14789aix3*) 14790 version_type=linux # correct to gnu/linux during the next big refactor 14791 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 14792 shlibpath_var=LIBPATH 14793 14794 # AIX 3 has no versioning support, so we append a major version to the name. 14795 soname_spec='${libname}${release}${shared_ext}$major' 14796 ;; 14797 14798aix[4-9]*) 14799 version_type=linux # correct to gnu/linux during the next big refactor 14800 need_lib_prefix=no 14801 need_version=no 14802 hardcode_into_libs=yes 14803 if test "$host_cpu" = ia64; then 14804 # AIX 5 supports IA64 14805 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 14806 shlibpath_var=LD_LIBRARY_PATH 14807 else 14808 # With GCC up to 2.95.x, collect2 would create an import file 14809 # for dependence libraries. The import file would start with 14810 # the line `#! .'. This would cause the generated library to 14811 # depend on `.', always an invalid library. This was fixed in 14812 # development snapshots of GCC prior to 3.0. 14813 case $host_os in 14814 aix4 | aix4.[01] | aix4.[01].*) 14815 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14816 echo ' yes ' 14817 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 14818 : 14819 else 14820 can_build_shared=no 14821 fi 14822 ;; 14823 esac 14824 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 14825 # soname into executable. Probably we can add versioning support to 14826 # collect2, so additional links can be useful in future. 14827 if test "$aix_use_runtimelinking" = yes; then 14828 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14829 # instead of lib<name>.a to let people know that these are not 14830 # typical AIX shared libraries. 14831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14832 else 14833 # We preserve .a as extension for shared libraries through AIX4.2 14834 # and later when we are not doing run time linking. 14835 library_names_spec='${libname}${release}.a $libname.a' 14836 soname_spec='${libname}${release}${shared_ext}$major' 14837 fi 14838 shlibpath_var=LIBPATH 14839 fi 14840 ;; 14841 14842amigaos*) 14843 case $host_cpu in 14844 powerpc) 14845 # Since July 2007 AmigaOS4 officially supports .so libraries. 14846 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14848 ;; 14849 m68k) 14850 library_names_spec='$libname.ixlibrary $libname.a' 14851 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14852 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' 14853 ;; 14854 esac 14855 ;; 14856 14857beos*) 14858 library_names_spec='${libname}${shared_ext}' 14859 dynamic_linker="$host_os ld.so" 14860 shlibpath_var=LIBRARY_PATH 14861 ;; 14862 14863bsdi[45]*) 14864 version_type=linux # correct to gnu/linux during the next big refactor 14865 need_version=no 14866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14867 soname_spec='${libname}${release}${shared_ext}$major' 14868 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14869 shlibpath_var=LD_LIBRARY_PATH 14870 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14871 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14872 # the default ld.so.conf also contains /usr/contrib/lib and 14873 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14874 # libtool to hard-code these into programs 14875 ;; 14876 14877cygwin* | mingw* | pw32* | cegcc*) 14878 version_type=windows 14879 shrext_cmds=".dll" 14880 need_version=no 14881 need_lib_prefix=no 14882 14883 case $GCC,$cc_basename in 14884 yes,*) 14885 # gcc 14886 library_names_spec='$libname.dll.a' 14887 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14888 postinstall_cmds='base_file=`basename \${file}`~ 14889 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14890 dldir=$destdir/`dirname \$dlpath`~ 14891 test -d \$dldir || mkdir -p \$dldir~ 14892 $install_prog $dir/$dlname \$dldir/$dlname~ 14893 chmod a+x \$dldir/$dlname~ 14894 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14895 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14896 fi' 14897 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14898 dlpath=$dir/\$dldll~ 14899 $RM \$dlpath' 14900 shlibpath_overrides_runpath=yes 14901 14902 case $host_os in 14903 cygwin*) 14904 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14905 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14906 14907 ;; 14908 mingw* | cegcc*) 14909 # MinGW DLLs use traditional 'lib' prefix 14910 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14911 ;; 14912 pw32*) 14913 # pw32 DLLs use 'pw' prefix rather than 'lib' 14914 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14915 ;; 14916 esac 14917 dynamic_linker='Win32 ld.exe' 14918 ;; 14919 14920 *,cl*) 14921 # Native MSVC 14922 libname_spec='$name' 14923 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14924 library_names_spec='${libname}.dll.lib' 14925 14926 case $build_os in 14927 mingw*) 14928 sys_lib_search_path_spec= 14929 lt_save_ifs=$IFS 14930 IFS=';' 14931 for lt_path in $LIB 14932 do 14933 IFS=$lt_save_ifs 14934 # Let DOS variable expansion print the short 8.3 style file name. 14935 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 14936 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 14937 done 14938 IFS=$lt_save_ifs 14939 # Convert to MSYS style. 14940 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 14941 ;; 14942 cygwin*) 14943 # Convert to unix form, then to dos form, then back to unix form 14944 # but this time dos style (no spaces!) so that the unix form looks 14945 # like /cygdrive/c/PROGRA~1:/cygdr... 14946 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 14947 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 14948 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14949 ;; 14950 *) 14951 sys_lib_search_path_spec="$LIB" 14952 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14953 # It is most probably a Windows format PATH. 14954 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14955 else 14956 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14957 fi 14958 # FIXME: find the short name or the path components, as spaces are 14959 # common. (e.g. "Program Files" -> "PROGRA~1") 14960 ;; 14961 esac 14962 14963 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14964 postinstall_cmds='base_file=`basename \${file}`~ 14965 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14966 dldir=$destdir/`dirname \$dlpath`~ 14967 test -d \$dldir || mkdir -p \$dldir~ 14968 $install_prog $dir/$dlname \$dldir/$dlname' 14969 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14970 dlpath=$dir/\$dldll~ 14971 $RM \$dlpath' 14972 shlibpath_overrides_runpath=yes 14973 dynamic_linker='Win32 link.exe' 14974 ;; 14975 14976 *) 14977 # Assume MSVC wrapper 14978 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 14979 dynamic_linker='Win32 ld.exe' 14980 ;; 14981 esac 14982 # FIXME: first we should search . and the directory the executable is in 14983 shlibpath_var=PATH 14984 ;; 14985 14986darwin* | rhapsody*) 14987 dynamic_linker="$host_os dyld" 14988 version_type=darwin 14989 need_lib_prefix=no 14990 need_version=no 14991 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14992 soname_spec='${libname}${release}${major}$shared_ext' 14993 shlibpath_overrides_runpath=yes 14994 shlibpath_var=DYLD_LIBRARY_PATH 14995 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14996 14997 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14998 ;; 14999 15000dgux*) 15001 version_type=linux # correct to gnu/linux during the next big refactor 15002 need_lib_prefix=no 15003 need_version=no 15004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15005 soname_spec='${libname}${release}${shared_ext}$major' 15006 shlibpath_var=LD_LIBRARY_PATH 15007 ;; 15008 15009freebsd* | dragonfly*) 15010 # DragonFly does not have aout. When/if they implement a new 15011 # versioning mechanism, adjust this. 15012 if test -x /usr/bin/objformat; then 15013 objformat=`/usr/bin/objformat` 15014 else 15015 case $host_os in 15016 freebsd[23].*) objformat=aout ;; 15017 *) objformat=elf ;; 15018 esac 15019 fi 15020 version_type=freebsd-$objformat 15021 case $version_type in 15022 freebsd-elf*) 15023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15024 need_version=no 15025 need_lib_prefix=no 15026 ;; 15027 freebsd-*) 15028 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15029 need_version=yes 15030 ;; 15031 esac 15032 shlibpath_var=LD_LIBRARY_PATH 15033 case $host_os in 15034 freebsd2.*) 15035 shlibpath_overrides_runpath=yes 15036 ;; 15037 freebsd3.[01]* | freebsdelf3.[01]*) 15038 shlibpath_overrides_runpath=yes 15039 hardcode_into_libs=yes 15040 ;; 15041 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15042 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15043 shlibpath_overrides_runpath=no 15044 hardcode_into_libs=yes 15045 ;; 15046 *) # from 4.6 on, and DragonFly 15047 shlibpath_overrides_runpath=yes 15048 hardcode_into_libs=yes 15049 ;; 15050 esac 15051 ;; 15052 15053gnu*) 15054 version_type=linux # correct to gnu/linux during the next big refactor 15055 need_lib_prefix=no 15056 need_version=no 15057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15058 soname_spec='${libname}${release}${shared_ext}$major' 15059 shlibpath_var=LD_LIBRARY_PATH 15060 shlibpath_overrides_runpath=no 15061 hardcode_into_libs=yes 15062 ;; 15063 15064haiku*) 15065 version_type=linux # correct to gnu/linux during the next big refactor 15066 need_lib_prefix=no 15067 need_version=no 15068 dynamic_linker="$host_os runtime_loader" 15069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15070 soname_spec='${libname}${release}${shared_ext}$major' 15071 shlibpath_var=LIBRARY_PATH 15072 shlibpath_overrides_runpath=yes 15073 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15074 hardcode_into_libs=yes 15075 ;; 15076 15077hpux9* | hpux10* | hpux11*) 15078 # Give a soname corresponding to the major version so that dld.sl refuses to 15079 # link against other versions. 15080 version_type=sunos 15081 need_lib_prefix=no 15082 need_version=no 15083 case $host_cpu in 15084 ia64*) 15085 shrext_cmds='.so' 15086 hardcode_into_libs=yes 15087 dynamic_linker="$host_os dld.so" 15088 shlibpath_var=LD_LIBRARY_PATH 15089 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15091 soname_spec='${libname}${release}${shared_ext}$major' 15092 if test "X$HPUX_IA64_MODE" = X32; then 15093 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15094 else 15095 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15096 fi 15097 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15098 ;; 15099 hppa*64*) 15100 shrext_cmds='.sl' 15101 hardcode_into_libs=yes 15102 dynamic_linker="$host_os dld.sl" 15103 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15104 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15106 soname_spec='${libname}${release}${shared_ext}$major' 15107 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15108 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15109 ;; 15110 *) 15111 shrext_cmds='.sl' 15112 dynamic_linker="$host_os dld.sl" 15113 shlibpath_var=SHLIB_PATH 15114 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15116 soname_spec='${libname}${release}${shared_ext}$major' 15117 ;; 15118 esac 15119 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15120 postinstall_cmds='chmod 555 $lib' 15121 # or fails outright, so override atomically: 15122 install_override_mode=555 15123 ;; 15124 15125interix[3-9]*) 15126 version_type=linux # correct to gnu/linux during the next big refactor 15127 need_lib_prefix=no 15128 need_version=no 15129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15130 soname_spec='${libname}${release}${shared_ext}$major' 15131 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15132 shlibpath_var=LD_LIBRARY_PATH 15133 shlibpath_overrides_runpath=no 15134 hardcode_into_libs=yes 15135 ;; 15136 15137irix5* | irix6* | nonstopux*) 15138 case $host_os in 15139 nonstopux*) version_type=nonstopux ;; 15140 *) 15141 if test "$lt_cv_prog_gnu_ld" = yes; then 15142 version_type=linux # correct to gnu/linux during the next big refactor 15143 else 15144 version_type=irix 15145 fi ;; 15146 esac 15147 need_lib_prefix=no 15148 need_version=no 15149 soname_spec='${libname}${release}${shared_ext}$major' 15150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 15151 case $host_os in 15152 irix5* | nonstopux*) 15153 libsuff= shlibsuff= 15154 ;; 15155 *) 15156 case $LD in # libtool.m4 will add one of these switches to LD 15157 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15158 libsuff= shlibsuff= libmagic=32-bit;; 15159 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15160 libsuff=32 shlibsuff=N32 libmagic=N32;; 15161 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15162 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15163 *) libsuff= shlibsuff= libmagic=never-match;; 15164 esac 15165 ;; 15166 esac 15167 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15168 shlibpath_overrides_runpath=no 15169 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 15170 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 15171 hardcode_into_libs=yes 15172 ;; 15173 15174# No shared lib support for Linux oldld, aout, or coff. 15175linux*oldld* | linux*aout* | linux*coff*) 15176 dynamic_linker=no 15177 ;; 15178 15179# This must be glibc/ELF. 15180linux* | k*bsd*-gnu | kopensolaris*-gnu) 15181 version_type=linux # correct to gnu/linux during the next big refactor 15182 need_lib_prefix=no 15183 need_version=no 15184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15185 soname_spec='${libname}${release}${shared_ext}$major' 15186 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15187 shlibpath_var=LD_LIBRARY_PATH 15188 shlibpath_overrides_runpath=no 15189 15190 # Some binutils ld are patched to set DT_RUNPATH 15191 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15192 $as_echo_n "(cached) " >&6 15193else 15194 lt_cv_shlibpath_overrides_runpath=no 15195 save_LDFLAGS=$LDFLAGS 15196 save_libdir=$libdir 15197 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15198 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15200/* end confdefs.h. */ 15201 15202int 15203main () 15204{ 15205 15206 ; 15207 return 0; 15208} 15209_ACEOF 15210if ac_fn_cxx_try_link "$LINENO"; then : 15211 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15212 lt_cv_shlibpath_overrides_runpath=yes 15213fi 15214fi 15215rm -f core conftest.err conftest.$ac_objext \ 15216 conftest$ac_exeext conftest.$ac_ext 15217 LDFLAGS=$save_LDFLAGS 15218 libdir=$save_libdir 15219 15220fi 15221 15222 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15223 15224 # This implies no fast_install, which is unacceptable. 15225 # Some rework will be needed to allow for fast_install 15226 # before this can be enabled. 15227 hardcode_into_libs=yes 15228 15229 # Append ld.so.conf contents to the search path 15230 if test -f /etc/ld.so.conf; then 15231 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' ' '` 15232 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15233 fi 15234 15235 # We used to test for /lib/ld.so.1 and disable shared libraries on 15236 # powerpc, because MkLinux only supported shared libraries with the 15237 # GNU dynamic linker. Since this was broken with cross compilers, 15238 # most powerpc-linux boxes support dynamic linking these days and 15239 # people can always --disable-shared, the test was removed, and we 15240 # assume the GNU/Linux dynamic linker is in use. 15241 dynamic_linker='GNU/Linux ld.so' 15242 ;; 15243 15244netbsd*) 15245 version_type=sunos 15246 need_lib_prefix=no 15247 need_version=no 15248 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15251 dynamic_linker='NetBSD (a.out) ld.so' 15252 else 15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15254 soname_spec='${libname}${release}${shared_ext}$major' 15255 dynamic_linker='NetBSD ld.elf_so' 15256 fi 15257 shlibpath_var=LD_LIBRARY_PATH 15258 shlibpath_overrides_runpath=yes 15259 hardcode_into_libs=yes 15260 ;; 15261 15262newsos6) 15263 version_type=linux # correct to gnu/linux during the next big refactor 15264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15265 shlibpath_var=LD_LIBRARY_PATH 15266 shlibpath_overrides_runpath=yes 15267 ;; 15268 15269*nto* | *qnx*) 15270 version_type=qnx 15271 need_lib_prefix=no 15272 need_version=no 15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15274 soname_spec='${libname}${release}${shared_ext}$major' 15275 shlibpath_var=LD_LIBRARY_PATH 15276 shlibpath_overrides_runpath=no 15277 hardcode_into_libs=yes 15278 dynamic_linker='ldqnx.so' 15279 ;; 15280 15281openbsd*) 15282 version_type=sunos 15283 sys_lib_dlsearch_path_spec="/usr/lib" 15284 need_lib_prefix=no 15285 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 15286 case $host_os in 15287 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 15288 *) need_version=no ;; 15289 esac 15290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15291 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15292 shlibpath_var=LD_LIBRARY_PATH 15293 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15294 case $host_os in 15295 openbsd2.[89] | openbsd2.[89].*) 15296 shlibpath_overrides_runpath=no 15297 ;; 15298 *) 15299 shlibpath_overrides_runpath=yes 15300 ;; 15301 esac 15302 else 15303 shlibpath_overrides_runpath=yes 15304 fi 15305 ;; 15306 15307os2*) 15308 libname_spec='$name' 15309 shrext_cmds=".dll" 15310 need_lib_prefix=no 15311 library_names_spec='$libname${shared_ext} $libname.a' 15312 dynamic_linker='OS/2 ld.exe' 15313 shlibpath_var=LIBPATH 15314 ;; 15315 15316osf3* | osf4* | osf5*) 15317 version_type=osf 15318 need_lib_prefix=no 15319 need_version=no 15320 soname_spec='${libname}${release}${shared_ext}$major' 15321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15322 shlibpath_var=LD_LIBRARY_PATH 15323 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15324 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 15325 ;; 15326 15327rdos*) 15328 dynamic_linker=no 15329 ;; 15330 15331solaris*) 15332 version_type=linux # correct to gnu/linux during the next big refactor 15333 need_lib_prefix=no 15334 need_version=no 15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15336 soname_spec='${libname}${release}${shared_ext}$major' 15337 shlibpath_var=LD_LIBRARY_PATH 15338 shlibpath_overrides_runpath=yes 15339 hardcode_into_libs=yes 15340 # ldd complains unless libraries are executable 15341 postinstall_cmds='chmod +x $lib' 15342 ;; 15343 15344sunos4*) 15345 version_type=sunos 15346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15347 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15348 shlibpath_var=LD_LIBRARY_PATH 15349 shlibpath_overrides_runpath=yes 15350 if test "$with_gnu_ld" = yes; then 15351 need_lib_prefix=no 15352 fi 15353 need_version=yes 15354 ;; 15355 15356sysv4 | sysv4.3*) 15357 version_type=linux # correct to gnu/linux during the next big refactor 15358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15359 soname_spec='${libname}${release}${shared_ext}$major' 15360 shlibpath_var=LD_LIBRARY_PATH 15361 case $host_vendor in 15362 sni) 15363 shlibpath_overrides_runpath=no 15364 need_lib_prefix=no 15365 runpath_var=LD_RUN_PATH 15366 ;; 15367 siemens) 15368 need_lib_prefix=no 15369 ;; 15370 motorola) 15371 need_lib_prefix=no 15372 need_version=no 15373 shlibpath_overrides_runpath=no 15374 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15375 ;; 15376 esac 15377 ;; 15378 15379sysv4*MP*) 15380 if test -d /usr/nec ;then 15381 version_type=linux # correct to gnu/linux during the next big refactor 15382 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 15383 soname_spec='$libname${shared_ext}.$major' 15384 shlibpath_var=LD_LIBRARY_PATH 15385 fi 15386 ;; 15387 15388sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15389 version_type=freebsd-elf 15390 need_lib_prefix=no 15391 need_version=no 15392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15393 soname_spec='${libname}${release}${shared_ext}$major' 15394 shlibpath_var=LD_LIBRARY_PATH 15395 shlibpath_overrides_runpath=yes 15396 hardcode_into_libs=yes 15397 if test "$with_gnu_ld" = yes; then 15398 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15399 else 15400 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15401 case $host_os in 15402 sco3.2v5*) 15403 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15404 ;; 15405 esac 15406 fi 15407 sys_lib_dlsearch_path_spec='/usr/lib' 15408 ;; 15409 15410tpf*) 15411 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15412 version_type=linux # correct to gnu/linux during the next big refactor 15413 need_lib_prefix=no 15414 need_version=no 15415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15416 shlibpath_var=LD_LIBRARY_PATH 15417 shlibpath_overrides_runpath=no 15418 hardcode_into_libs=yes 15419 ;; 15420 15421uts4*) 15422 version_type=linux # correct to gnu/linux during the next big refactor 15423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15424 soname_spec='${libname}${release}${shared_ext}$major' 15425 shlibpath_var=LD_LIBRARY_PATH 15426 ;; 15427 15428*) 15429 dynamic_linker=no 15430 ;; 15431esac 15432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15433$as_echo "$dynamic_linker" >&6; } 15434test "$dynamic_linker" = no && can_build_shared=no 15435 15436variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15437if test "$GCC" = yes; then 15438 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15439fi 15440 15441if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15442 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15443fi 15444if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15445 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15446fi 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15486$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15487hardcode_action_CXX= 15488if test -n "$hardcode_libdir_flag_spec_CXX" || 15489 test -n "$runpath_var_CXX" || 15490 test "X$hardcode_automatic_CXX" = "Xyes" ; then 15491 15492 # We can hardcode non-existent directories. 15493 if test "$hardcode_direct_CXX" != no && 15494 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15495 # have to relink, otherwise we might link with an installed library 15496 # when we should be linking with a yet-to-be-installed one 15497 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15498 test "$hardcode_minus_L_CXX" != no; then 15499 # Linking always hardcodes the temporary library directory. 15500 hardcode_action_CXX=relink 15501 else 15502 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15503 hardcode_action_CXX=immediate 15504 fi 15505else 15506 # We cannot hardcode anything, or else we can only hardcode existing 15507 # directories. 15508 hardcode_action_CXX=unsupported 15509fi 15510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15511$as_echo "$hardcode_action_CXX" >&6; } 15512 15513if test "$hardcode_action_CXX" = relink || 15514 test "$inherit_rpath_CXX" = yes; then 15515 # Fast installation is not supported 15516 enable_fast_install=no 15517elif test "$shlibpath_overrides_runpath" = yes || 15518 test "$enable_shared" = no; then 15519 # Fast installation is not necessary 15520 enable_fast_install=needless 15521fi 15522 15523 15524 15525 15526 15527 15528 15529 fi # test -n "$compiler" 15530 15531 CC=$lt_save_CC 15532 CFLAGS=$lt_save_CFLAGS 15533 LDCXX=$LD 15534 LD=$lt_save_LD 15535 GCC=$lt_save_GCC 15536 with_gnu_ld=$lt_save_with_gnu_ld 15537 lt_cv_path_LDCXX=$lt_cv_path_LD 15538 lt_cv_path_LD=$lt_save_path_LD 15539 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15540 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15541fi # test "$_lt_caught_CXX_error" != yes 15542 15543ac_ext=cpp 15544ac_cpp='$CXXCPP $CPPFLAGS' 15545ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15546ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15547ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 ac_config_commands="$ac_config_commands libtool" 15564 15565 15566 15567 15568# Only expand once: 15569 15570 15571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 15572$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 15573set x ${MAKE-make} 15574ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 15575if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 15576 $as_echo_n "(cached) " >&6 15577else 15578 cat >conftest.make <<\_ACEOF 15579SHELL = /bin/sh 15580all: 15581 @echo '@@@%%%=$(MAKE)=@@@%%%' 15582_ACEOF 15583# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 15584case `${MAKE-make} -f conftest.make 2>/dev/null` in 15585 *@@@%%%=?*=@@@%%%*) 15586 eval ac_cv_prog_make_${ac_make}_set=yes;; 15587 *) 15588 eval ac_cv_prog_make_${ac_make}_set=no;; 15589esac 15590rm -f conftest.make 15591fi 15592if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15594$as_echo "yes" >&6; } 15595 SET_MAKE= 15596else 15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15598$as_echo "no" >&6; } 15599 SET_MAKE="MAKE=${MAKE-make}" 15600fi 15601 15602 15603ac_config_headers="$ac_config_headers src/pstoedit_config.h" 15604 15605 15606 15607GS="" 15608# Extract the first word of "gs", so it can be a program name with args. 15609set dummy gs; ac_word=$2 15610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15611$as_echo_n "checking for $ac_word... " >&6; } 15612if ${ac_cv_path_GS+:} false; then : 15613 $as_echo_n "(cached) " >&6 15614else 15615 case $GS in 15616 [\\/]* | ?:[\\/]*) 15617 ac_cv_path_GS="$GS" # Let the user override the test with a path. 15618 ;; 15619 *) 15620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15621for as_dir in $PATH 15622do 15623 IFS=$as_save_IFS 15624 test -z "$as_dir" && as_dir=. 15625 for ac_exec_ext in '' $ac_executable_extensions; do 15626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15627 ac_cv_path_GS="$as_dir/$ac_word$ac_exec_ext" 15628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15629 break 2 15630 fi 15631done 15632 done 15633IFS=$as_save_IFS 15634 15635 ;; 15636esac 15637fi 15638GS=$ac_cv_path_GS 15639if test -n "$GS"; then 15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5 15641$as_echo "$GS" >&6; } 15642else 15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15644$as_echo "no" >&6; } 15645fi 15646 15647 15648if test -z "${GS}"; then 15649 as_fn_error $? "** Cannot find ghostscript. If it is already installed, Check PATH." "$LINENO" 5 15650else 15651 GS=`echo $GS | sed -e 's/\/\//\//g'` 15652fi 15653 15654 15655 15656 15657 15658 15659 15660 15661if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15662 if test -n "$ac_tool_prefix"; then 15663 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15664set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15666$as_echo_n "checking for $ac_word... " >&6; } 15667if ${ac_cv_path_PKG_CONFIG+:} false; then : 15668 $as_echo_n "(cached) " >&6 15669else 15670 case $PKG_CONFIG in 15671 [\\/]* | ?:[\\/]*) 15672 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15673 ;; 15674 *) 15675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15676for as_dir in $PATH 15677do 15678 IFS=$as_save_IFS 15679 test -z "$as_dir" && as_dir=. 15680 for ac_exec_ext in '' $ac_executable_extensions; do 15681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15682 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15684 break 2 15685 fi 15686done 15687 done 15688IFS=$as_save_IFS 15689 15690 ;; 15691esac 15692fi 15693PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15694if test -n "$PKG_CONFIG"; then 15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15696$as_echo "$PKG_CONFIG" >&6; } 15697else 15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15699$as_echo "no" >&6; } 15700fi 15701 15702 15703fi 15704if test -z "$ac_cv_path_PKG_CONFIG"; then 15705 ac_pt_PKG_CONFIG=$PKG_CONFIG 15706 # Extract the first word of "pkg-config", so it can be a program name with args. 15707set dummy pkg-config; ac_word=$2 15708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15709$as_echo_n "checking for $ac_word... " >&6; } 15710if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15711 $as_echo_n "(cached) " >&6 15712else 15713 case $ac_pt_PKG_CONFIG in 15714 [\\/]* | ?:[\\/]*) 15715 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15716 ;; 15717 *) 15718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15719for as_dir in $PATH 15720do 15721 IFS=$as_save_IFS 15722 test -z "$as_dir" && as_dir=. 15723 for ac_exec_ext in '' $ac_executable_extensions; do 15724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15725 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15727 break 2 15728 fi 15729done 15730 done 15731IFS=$as_save_IFS 15732 15733 ;; 15734esac 15735fi 15736ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15737if test -n "$ac_pt_PKG_CONFIG"; then 15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15739$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15740else 15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15742$as_echo "no" >&6; } 15743fi 15744 15745 if test "x$ac_pt_PKG_CONFIG" = x; then 15746 PKG_CONFIG="" 15747 else 15748 case $cross_compiling:$ac_tool_warned in 15749yes:) 15750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15752ac_tool_warned=yes ;; 15753esac 15754 PKG_CONFIG=$ac_pt_PKG_CONFIG 15755 fi 15756else 15757 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15758fi 15759 15760fi 15761if test -n "$PKG_CONFIG"; then 15762 _pkg_min_version=0.9.0 15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15764$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15765 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15767$as_echo "yes" >&6; } 15768 else 15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15770$as_echo "no" >&6; } 15771 PKG_CONFIG="" 15772 fi 15773fi 15774 15775 15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 15777$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 15778if ${ac_cv_c_bigendian+:} false; then : 15779 $as_echo_n "(cached) " >&6 15780else 15781 ac_cv_c_bigendian=unknown 15782 # See if we're dealing with a universal compiler. 15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15784/* end confdefs.h. */ 15785#ifndef __APPLE_CC__ 15786 not a universal capable compiler 15787 #endif 15788 typedef int dummy; 15789 15790_ACEOF 15791if ac_fn_cxx_try_compile "$LINENO"; then : 15792 15793 # Check for potential -arch flags. It is not universal unless 15794 # there are at least two -arch flags with different values. 15795 ac_arch= 15796 ac_prev= 15797 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 15798 if test -n "$ac_prev"; then 15799 case $ac_word in 15800 i?86 | x86_64 | ppc | ppc64) 15801 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 15802 ac_arch=$ac_word 15803 else 15804 ac_cv_c_bigendian=universal 15805 break 15806 fi 15807 ;; 15808 esac 15809 ac_prev= 15810 elif test "x$ac_word" = "x-arch"; then 15811 ac_prev=arch 15812 fi 15813 done 15814fi 15815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15816 if test $ac_cv_c_bigendian = unknown; then 15817 # See if sys/param.h defines the BYTE_ORDER macro. 15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15819/* end confdefs.h. */ 15820#include <sys/types.h> 15821 #include <sys/param.h> 15822 15823int 15824main () 15825{ 15826#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 15827 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 15828 && LITTLE_ENDIAN) 15829 bogus endian macros 15830 #endif 15831 15832 ; 15833 return 0; 15834} 15835_ACEOF 15836if ac_fn_cxx_try_compile "$LINENO"; then : 15837 # It does; now see whether it defined to BIG_ENDIAN or not. 15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15839/* end confdefs.h. */ 15840#include <sys/types.h> 15841 #include <sys/param.h> 15842 15843int 15844main () 15845{ 15846#if BYTE_ORDER != BIG_ENDIAN 15847 not big endian 15848 #endif 15849 15850 ; 15851 return 0; 15852} 15853_ACEOF 15854if ac_fn_cxx_try_compile "$LINENO"; then : 15855 ac_cv_c_bigendian=yes 15856else 15857 ac_cv_c_bigendian=no 15858fi 15859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15860fi 15861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15862 fi 15863 if test $ac_cv_c_bigendian = unknown; then 15864 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15866/* end confdefs.h. */ 15867#include <limits.h> 15868 15869int 15870main () 15871{ 15872#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 15873 bogus endian macros 15874 #endif 15875 15876 ; 15877 return 0; 15878} 15879_ACEOF 15880if ac_fn_cxx_try_compile "$LINENO"; then : 15881 # It does; now see whether it defined to _BIG_ENDIAN or not. 15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15883/* end confdefs.h. */ 15884#include <limits.h> 15885 15886int 15887main () 15888{ 15889#ifndef _BIG_ENDIAN 15890 not big endian 15891 #endif 15892 15893 ; 15894 return 0; 15895} 15896_ACEOF 15897if ac_fn_cxx_try_compile "$LINENO"; then : 15898 ac_cv_c_bigendian=yes 15899else 15900 ac_cv_c_bigendian=no 15901fi 15902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15903fi 15904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15905 fi 15906 if test $ac_cv_c_bigendian = unknown; then 15907 # Compile a test program. 15908 if test "$cross_compiling" = yes; then : 15909 # Try to guess by grepping values from an object file. 15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15911/* end confdefs.h. */ 15912short int ascii_mm[] = 15913 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 15914 short int ascii_ii[] = 15915 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 15916 int use_ascii (int i) { 15917 return ascii_mm[i] + ascii_ii[i]; 15918 } 15919 short int ebcdic_ii[] = 15920 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 15921 short int ebcdic_mm[] = 15922 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 15923 int use_ebcdic (int i) { 15924 return ebcdic_mm[i] + ebcdic_ii[i]; 15925 } 15926 extern int foo; 15927 15928int 15929main () 15930{ 15931return use_ascii (foo) == use_ebcdic (foo); 15932 ; 15933 return 0; 15934} 15935_ACEOF 15936if ac_fn_cxx_try_compile "$LINENO"; then : 15937 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 15938 ac_cv_c_bigendian=yes 15939 fi 15940 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 15941 if test "$ac_cv_c_bigendian" = unknown; then 15942 ac_cv_c_bigendian=no 15943 else 15944 # finding both strings is unlikely to happen, but who knows? 15945 ac_cv_c_bigendian=unknown 15946 fi 15947 fi 15948fi 15949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15950else 15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15952/* end confdefs.h. */ 15953$ac_includes_default 15954int 15955main () 15956{ 15957 15958 /* Are we little or big endian? From Harbison&Steele. */ 15959 union 15960 { 15961 long int l; 15962 char c[sizeof (long int)]; 15963 } u; 15964 u.l = 1; 15965 return u.c[sizeof (long int) - 1] == 1; 15966 15967 ; 15968 return 0; 15969} 15970_ACEOF 15971if ac_fn_cxx_try_run "$LINENO"; then : 15972 ac_cv_c_bigendian=no 15973else 15974 ac_cv_c_bigendian=yes 15975fi 15976rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 15977 conftest.$ac_objext conftest.beam conftest.$ac_ext 15978fi 15979 15980 fi 15981fi 15982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 15983$as_echo "$ac_cv_c_bigendian" >&6; } 15984 case $ac_cv_c_bigendian in #( 15985 yes) 15986 CPPFLAGS="$CPPFLAGS -DPS_BIG_ENDIAN";; #( 15987 no) 15988 CPPFLAGS="$CPPFLAGS -DPS_LITTLE_ENDIAN" ;; #( 15989 universal) 15990 15991$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 15992 15993 ;; #( 15994 *) 15995 as_fn_error $? "unknown endianness 15996 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 15997 esac 15998 15999 16000ac_header_dirent=no 16001for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 16002 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 16003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 16004$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 16005if eval \${$as_ac_Header+:} false; then : 16006 $as_echo_n "(cached) " >&6 16007else 16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16009/* end confdefs.h. */ 16010#include <sys/types.h> 16011#include <$ac_hdr> 16012 16013int 16014main () 16015{ 16016if ((DIR *) 0) 16017return 0; 16018 ; 16019 return 0; 16020} 16021_ACEOF 16022if ac_fn_cxx_try_compile "$LINENO"; then : 16023 eval "$as_ac_Header=yes" 16024else 16025 eval "$as_ac_Header=no" 16026fi 16027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16028fi 16029eval ac_res=\$$as_ac_Header 16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16031$as_echo "$ac_res" >&6; } 16032if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 16033 cat >>confdefs.h <<_ACEOF 16034#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 16035_ACEOF 16036 16037ac_header_dirent=$ac_hdr; break 16038fi 16039 16040done 16041# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 16042if test $ac_header_dirent = dirent.h; then 16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 16044$as_echo_n "checking for library containing opendir... " >&6; } 16045if ${ac_cv_search_opendir+:} false; then : 16046 $as_echo_n "(cached) " >&6 16047else 16048 ac_func_search_save_LIBS=$LIBS 16049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16050/* end confdefs.h. */ 16051 16052/* Override any GCC internal prototype to avoid an error. 16053 Use char because int might match the return type of a GCC 16054 builtin and then its argument prototype would still apply. */ 16055#ifdef __cplusplus 16056extern "C" 16057#endif 16058char opendir (); 16059int 16060main () 16061{ 16062return opendir (); 16063 ; 16064 return 0; 16065} 16066_ACEOF 16067for ac_lib in '' dir; do 16068 if test -z "$ac_lib"; then 16069 ac_res="none required" 16070 else 16071 ac_res=-l$ac_lib 16072 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16073 fi 16074 if ac_fn_cxx_try_link "$LINENO"; then : 16075 ac_cv_search_opendir=$ac_res 16076fi 16077rm -f core conftest.err conftest.$ac_objext \ 16078 conftest$ac_exeext 16079 if ${ac_cv_search_opendir+:} false; then : 16080 break 16081fi 16082done 16083if ${ac_cv_search_opendir+:} false; then : 16084 16085else 16086 ac_cv_search_opendir=no 16087fi 16088rm conftest.$ac_ext 16089LIBS=$ac_func_search_save_LIBS 16090fi 16091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 16092$as_echo "$ac_cv_search_opendir" >&6; } 16093ac_res=$ac_cv_search_opendir 16094if test "$ac_res" != no; then : 16095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16096 16097fi 16098 16099else 16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 16101$as_echo_n "checking for library containing opendir... " >&6; } 16102if ${ac_cv_search_opendir+:} false; then : 16103 $as_echo_n "(cached) " >&6 16104else 16105 ac_func_search_save_LIBS=$LIBS 16106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16107/* end confdefs.h. */ 16108 16109/* Override any GCC internal prototype to avoid an error. 16110 Use char because int might match the return type of a GCC 16111 builtin and then its argument prototype would still apply. */ 16112#ifdef __cplusplus 16113extern "C" 16114#endif 16115char opendir (); 16116int 16117main () 16118{ 16119return opendir (); 16120 ; 16121 return 0; 16122} 16123_ACEOF 16124for ac_lib in '' x; do 16125 if test -z "$ac_lib"; then 16126 ac_res="none required" 16127 else 16128 ac_res=-l$ac_lib 16129 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16130 fi 16131 if ac_fn_cxx_try_link "$LINENO"; then : 16132 ac_cv_search_opendir=$ac_res 16133fi 16134rm -f core conftest.err conftest.$ac_objext \ 16135 conftest$ac_exeext 16136 if ${ac_cv_search_opendir+:} false; then : 16137 break 16138fi 16139done 16140if ${ac_cv_search_opendir+:} false; then : 16141 16142else 16143 ac_cv_search_opendir=no 16144fi 16145rm conftest.$ac_ext 16146LIBS=$ac_func_search_save_LIBS 16147fi 16148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 16149$as_echo "$ac_cv_search_opendir" >&6; } 16150ac_res=$ac_cv_search_opendir 16151if test "$ac_res" != no; then : 16152 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16153 16154fi 16155 16156fi 16157 16158 16159ac_fn_cxx_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" 16160if test "x$ac_cv_func_snprintf" = xyes; then : 16161 16162$as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h 16163 16164fi 16165 16166 16167 16168HAVE_LD=no 16169LIBLD_LDFLAGS= 16170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5 16171$as_echo_n "checking for main in -ldl... " >&6; } 16172if ${ac_cv_lib_dl_main+:} false; then : 16173 $as_echo_n "(cached) " >&6 16174else 16175 ac_check_lib_save_LIBS=$LIBS 16176LIBS="-ldl $LIBS" 16177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16178/* end confdefs.h. */ 16179 16180 16181int 16182main () 16183{ 16184return main (); 16185 ; 16186 return 0; 16187} 16188_ACEOF 16189if ac_fn_cxx_try_link "$LINENO"; then : 16190 ac_cv_lib_dl_main=yes 16191else 16192 ac_cv_lib_dl_main=no 16193fi 16194rm -f core conftest.err conftest.$ac_objext \ 16195 conftest$ac_exeext conftest.$ac_ext 16196LIBS=$ac_check_lib_save_LIBS 16197fi 16198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5 16199$as_echo "$ac_cv_lib_dl_main" >&6; } 16200if test "x$ac_cv_lib_dl_main" = xyes; then : 16201 LIBLD_LDFLAGS=-ldl 16202fi 16203 16204if test -n "${LIBLD_LDFLAGS}"; then 16205 HAVE_LD=yes 16206fi 16207 16208 16209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreateFromPng in -lgd" >&5 16210$as_echo_n "checking for gdImageCreateFromPng in -lgd... " >&6; } 16211if ${ac_cv_lib_gd_gdImageCreateFromPng+:} false; then : 16212 $as_echo_n "(cached) " >&6 16213else 16214 ac_check_lib_save_LIBS=$LIBS 16215LIBS="-lgd $LIBS" 16216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16217/* end confdefs.h. */ 16218 16219/* Override any GCC internal prototype to avoid an error. 16220 Use char because int might match the return type of a GCC 16221 builtin and then its argument prototype would still apply. */ 16222#ifdef __cplusplus 16223extern "C" 16224#endif 16225char gdImageCreateFromPng (); 16226int 16227main () 16228{ 16229return gdImageCreateFromPng (); 16230 ; 16231 return 0; 16232} 16233_ACEOF 16234if ac_fn_cxx_try_link "$LINENO"; then : 16235 ac_cv_lib_gd_gdImageCreateFromPng=yes 16236else 16237 ac_cv_lib_gd_gdImageCreateFromPng=no 16238fi 16239rm -f core conftest.err conftest.$ac_objext \ 16240 conftest$ac_exeext conftest.$ac_ext 16241LIBS=$ac_check_lib_save_LIBS 16242fi 16243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreateFromPng" >&5 16244$as_echo "$ac_cv_lib_gd_gdImageCreateFromPng" >&6; } 16245if test "x$ac_cv_lib_gd_gdImageCreateFromPng" = xyes; then : 16246 cat >>confdefs.h <<_ACEOF 16247#define HAVE_LIBGD 1 16248_ACEOF 16249 16250 LIBS="-lgd $LIBS" 16251 16252fi 16253 16254 16255 16256 16257 16258# Check whether --with-emf was given. 16259if test "${with_emf+set}" = set; then : 16260 withval=$with_emf; with_emf=$withval 16261else 16262 with_emf=yes 16263fi 16264 16265 16266# Check whether --with-magick was given. 16267if test "${with_magick+set}" = set; then : 16268 withval=$with_magick; with_magick=$withval 16269else 16270 with_magick=yes 16271fi 16272 16273 16274# Check whether --with-libplot was given. 16275if test "${with_libplot+set}" = set; then : 16276 withval=$with_libplot; with_libplot=$withval 16277else 16278 with_libplot=yes 16279fi 16280 16281 16282# Check whether --with-swf was given. 16283if test "${with_swf+set}" = set; then : 16284 withval=$with_swf; with_swf=$withval 16285else 16286 with_swf=yes 16287fi 16288 16289 16290# Check whether --with-pptx was given. 16291if test "${with_pptx+set}" = set; then : 16292 withval=$with_pptx; with_pptx=$withval 16293else 16294 with_pptx=yes 16295fi 16296 16297 16298 16299OLD_CPPFLAGS=${CPPFLAGS} 16300CPPFLAGS="$CPPFLAGS -DX_DISPLAY_MISSING" 16301 16302if test -f src/drvwwmf.cpp ; then 16303 HAVE_PLUGINSRC=true; 16304 if true; then 16305 HAVE_PLUGINSRC_TRUE= 16306 HAVE_PLUGINSRC_FALSE='#' 16307else 16308 HAVE_PLUGINSRC_TRUE='#' 16309 HAVE_PLUGINSRC_FALSE= 16310fi 16311 16312else 16313 HAVE_PLUGINSRC=false; 16314 if false; then 16315 HAVE_PLUGINSRC_TRUE= 16316 HAVE_PLUGINSRC_FALSE='#' 16317else 16318 HAVE_PLUGINSRC_TRUE='#' 16319 HAVE_PLUGINSRC_FALSE= 16320fi 16321 16322fi 16323 16324if test "${with_libplot}" = "yes" ; then 16325HAVE_LIBPLOTTER=no 16326LIBPLOTTER_LDFLAGS= 16327LIBPLOTTER_CFLAGS= 16328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lplotter" >&5 16329$as_echo_n "checking for main in -lplotter... " >&6; } 16330if ${ac_cv_lib_plotter_main+:} false; then : 16331 $as_echo_n "(cached) " >&6 16332else 16333 ac_check_lib_save_LIBS=$LIBS 16334LIBS="-lplotter $LIBS" 16335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16336/* end confdefs.h. */ 16337 16338 16339int 16340main () 16341{ 16342return main (); 16343 ; 16344 return 0; 16345} 16346_ACEOF 16347if ac_fn_cxx_try_link "$LINENO"; then : 16348 ac_cv_lib_plotter_main=yes 16349else 16350 ac_cv_lib_plotter_main=no 16351fi 16352rm -f core conftest.err conftest.$ac_objext \ 16353 conftest$ac_exeext conftest.$ac_ext 16354LIBS=$ac_check_lib_save_LIBS 16355fi 16356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_plotter_main" >&5 16357$as_echo "$ac_cv_lib_plotter_main" >&6; } 16358if test "x$ac_cv_lib_plotter_main" = xyes; then : 16359 LIBPLOTTER_LDFLAGS=-lplotter 16360fi 16361 16362 16363ac_fn_cxx_check_header_mongrel "$LINENO" "plotter.h" "ac_cv_header_plotter_h" "$ac_includes_default" 16364if test "x$ac_cv_header_plotter_h" = xyes; then : 16365 LIBPLOTTER_CFLAGS="-DHAVE_LIBPLOTTER" 16366fi 16367 16368 16369 16370if test -n "${LIBPLOTTER_LDFLAGS}" && test -n "${LIBPLOTTER_CFLAGS}"; then 16371 HAVE_LIBPLOTTER=yes 16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of \"lib plot\" " >&5 16373$as_echo_n "checking for version of \"lib plot\" ... " >&6; } 16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16375/* end confdefs.h. */ 16376 16377 #include <plotter.h> 16378 typedef int Point; 16379 16380int 16381main () 16382{ 16383 16384 ; 16385 return 0; 16386} 16387_ACEOF 16388if ac_fn_cxx_try_compile "$LINENO"; then : 16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: you seem to have a compatible version " >&5 16390$as_echo "you seem to have a compatible version " >&6; } 16391else 16392 LIBPLOTTER_CFLAGS="$LIBPLOTTER_CFLAGS -DOLD_LIBPLOTTER"; 16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: you seem to have an older version - need at least version 2.3" >&5 16394$as_echo "you seem to have an older version - need at least version 2.3" >&6; } 16395fi 16396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16397else 16398 LIBPLOTTER_LDFLAGS= 16399 LIBPLOTTER_CFLAGS= 16400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libplotter driver is disabled." >&5 16401$as_echo "$as_me: WARNING: ** libplotter driver is disabled." >&2;} 16402fi 16403 16404 16405 if test "$HAVE_LIBPLOTTER" = yes; then 16406 HAVE_LIBPLOTTER_TRUE= 16407 HAVE_LIBPLOTTER_FALSE='#' 16408else 16409 HAVE_LIBPLOTTER_TRUE='#' 16410 HAVE_LIBPLOTTER_FALSE= 16411fi 16412 16413else 16414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libplot support disabled by configure argument ." >&5 16415$as_echo "$as_me: WARNING: libplot support disabled by configure argument ." >&2;} 16416 if false ; then 16417 HAVE_LIBPLOTTER_TRUE= 16418 HAVE_LIBPLOTTER_FALSE='#' 16419else 16420 HAVE_LIBPLOTTER_TRUE='#' 16421 HAVE_LIBPLOTTER_FALSE= 16422fi 16423 16424fi 16425 16426CPPFLAGS=${OLD_CPPFLAGS} 16427 16428 16429 16430 16431 16432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mkstemp" >&5 16433$as_echo_n "checking for mkstemp... " >&6; } 16434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16435/* end confdefs.h. */ 16436#include <stdlib.h> 16437 char buffer[] = "aaaXXXXXX"; 16438 int i = mkstemp(buffer); 16439int 16440main () 16441{ 16442 16443 ; 16444 return 0; 16445} 16446_ACEOF 16447if ac_fn_cxx_try_compile "$LINENO"; then : 16448 HAVE_MKSTEMP=yes; 16449 MKSTEMP_CFLAGS="-DHAVE_MKSTEMP"; 16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: you seem to have mkstemp " >&5 16451$as_echo "you seem to have mkstemp " >&6; } 16452else 16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: you do not have mkstemp - so will try using tempnam instead" >&5 16454$as_echo "you do not have mkstemp - so will try using tempnam instead" >&6; } 16455fi 16456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16457 16458 16459 16460 16461 16462if test "${with_swf}" = "yes" ; then 16463HAVE_LIBMING=no 16464LIBMING_LDFLAGS= 16465LIBMING_CFLAGS= 16466 16467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lming" >&5 16468$as_echo_n "checking for main in -lming... " >&6; } 16469if ${ac_cv_lib_ming_main+:} false; then : 16470 $as_echo_n "(cached) " >&6 16471else 16472 ac_check_lib_save_LIBS=$LIBS 16473LIBS="-lming -lm $LIBS" 16474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16475/* end confdefs.h. */ 16476 16477 16478int 16479main () 16480{ 16481return main (); 16482 ; 16483 return 0; 16484} 16485_ACEOF 16486if ac_fn_cxx_try_link "$LINENO"; then : 16487 ac_cv_lib_ming_main=yes 16488else 16489 ac_cv_lib_ming_main=no 16490fi 16491rm -f core conftest.err conftest.$ac_objext \ 16492 conftest$ac_exeext conftest.$ac_ext 16493LIBS=$ac_check_lib_save_LIBS 16494fi 16495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ming_main" >&5 16496$as_echo "$ac_cv_lib_ming_main" >&6; } 16497if test "x$ac_cv_lib_ming_main" = xyes; then : 16498 LIBMING_LDFLAGS=-lming 16499fi 16500 16501ac_fn_cxx_check_header_mongrel "$LINENO" "mingpp.h" "ac_cv_header_mingpp_h" "$ac_includes_default" 16502if test "x$ac_cv_header_mingpp_h" = xyes; then : 16503 LIBMING_CFLAGS="-DHAVE_LIBMING" 16504fi 16505 16506 16507if test -n "${LIBMING_LDFLAGS}" && test -n "${LIBMING_CFLAGS}"; then 16508 HAVE_LIBMING=yes 16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** libming driver is enabled." >&5 16510$as_echo "** libming driver is enabled." >&6; } 16511else 16512 LIBMING_LDFLAGS= 16513 LIBMING_CFLAGS= 16514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libming driver is disabled." >&5 16515$as_echo "$as_me: WARNING: ** libming driver is disabled." >&2;} 16516fi 16517 16518 16519 if test "$HAVE_LIBMING" = yes; then 16520 HAVE_LIBMING_TRUE= 16521 HAVE_LIBMING_FALSE='#' 16522else 16523 HAVE_LIBMING_TRUE='#' 16524 HAVE_LIBMING_FALSE= 16525fi 16526 16527else 16528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: swf support disabled by configure argument ." >&5 16529$as_echo "$as_me: WARNING: swf support disabled by configure argument ." >&2;} 16530 if false ; then 16531 HAVE_LIBMING_TRUE= 16532 HAVE_LIBMING_FALSE='#' 16533else 16534 HAVE_LIBMING_TRUE='#' 16535 HAVE_LIBMING_FALSE= 16536fi 16537 16538fi 16539 16540if test "${with_pptx}" = "yes" ; then 16541HAVE_LIBZIP=no 16542LIBZIP_LDFLAGS= 16543LIBZIP_CFLAGS= 16544 16545 16546# Check whether --with-libzip-lib was given. 16547if test "${with_libzip_lib+set}" = set; then : 16548 withval=$with_libzip_lib; libzip_lib_dir=$withval 16549else 16550 libzip_lib_dir= 16551fi 16552 16553 16554 16555# Check whether --with-libzip-include was given. 16556if test "${with_libzip_include+set}" = set; then : 16557 withval=$with_libzip_include; libzip_include_dir=$withval 16558else 16559 libzip_include_dir= 16560fi 16561 16562 16563OLD_LIBS=${LIBS} 16564if test -n "${libzip_lib_dir}"; then 16565 LIBS="-L${libzip_lib_dir} ${LIBS}" 16566fi 16567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zip_add in -lzip" >&5 16568$as_echo_n "checking for zip_add in -lzip... " >&6; } 16569if ${ac_cv_lib_zip_zip_add+:} false; then : 16570 $as_echo_n "(cached) " >&6 16571else 16572 ac_check_lib_save_LIBS=$LIBS 16573LIBS="-lzip -lz $LIBS" 16574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16575/* end confdefs.h. */ 16576 16577/* Override any GCC internal prototype to avoid an error. 16578 Use char because int might match the return type of a GCC 16579 builtin and then its argument prototype would still apply. */ 16580#ifdef __cplusplus 16581extern "C" 16582#endif 16583char zip_add (); 16584int 16585main () 16586{ 16587return zip_add (); 16588 ; 16589 return 0; 16590} 16591_ACEOF 16592if ac_fn_cxx_try_link "$LINENO"; then : 16593 ac_cv_lib_zip_zip_add=yes 16594else 16595 ac_cv_lib_zip_zip_add=no 16596fi 16597rm -f core conftest.err conftest.$ac_objext \ 16598 conftest$ac_exeext conftest.$ac_ext 16599LIBS=$ac_check_lib_save_LIBS 16600fi 16601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zip_zip_add" >&5 16602$as_echo "$ac_cv_lib_zip_zip_add" >&6; } 16603if test "x$ac_cv_lib_zip_zip_add" = xyes; then : 16604 LIBZIP_LDFLAGS="-lzip -lz" 16605fi 16606 16607LIBS=${OLD_LIBS} 16608 16609OLD_CPPFLAGS=${CPPFLAGS} 16610if test -n "${libzip_include_dir}"; then 16611 CPPFLAGS="-I${libzip_include_dir} ${CPPFLAGS}" 16612fi 16613ac_fn_cxx_check_header_mongrel "$LINENO" "zip.h" "ac_cv_header_zip_h" "$ac_includes_default" 16614if test "x$ac_cv_header_zip_h" = xyes; then : 16615 LIBZIP_CFLAGS="-DHAVE_LIBZIP" 16616fi 16617 16618 16619CPPFLAGS=${OLD_CPPFLAGS} 16620 16621if test -n "${LIBZIP_LDFLAGS}" && test -n "${LIBZIP_CFLAGS}"; then 16622 HAVE_LIBZIP=yes 16623 if test -n "${libzip_include_dir}"; then 16624 LIBZIP_CFLAGS="-I${libzip_include_dir} ${LIBZIP_CFLAGS}" 16625 fi 16626 if test -n "${libzip_lib_dir}"; then 16627 LIBZIP_LDFLAGS="-L${libzip_lib_dir} ${LIBZIP_LDFLAGS}" 16628 fi 16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** libpptx driver is enabled." >&5 16630$as_echo "** libpptx driver is enabled." >&6; } 16631else 16632 LIBZIP_LDFLAGS= 16633 LIBZIP_CFLAGS= 16634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libpptx driver is disabled." >&5 16635$as_echo "$as_me: WARNING: ** libpptx driver is disabled." >&2;} 16636fi 16637 16638 16639 if test "$HAVE_LIBZIP" = yes; then 16640 HAVE_LIBZIP_TRUE= 16641 HAVE_LIBZIP_FALSE='#' 16642else 16643 HAVE_LIBZIP_TRUE='#' 16644 HAVE_LIBZIP_FALSE= 16645fi 16646 16647else 16648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pptx support disabled by configure argument ." >&5 16649$as_echo "$as_me: WARNING: pptx support disabled by configure argument ." >&2;} 16650 if false ; then 16651 HAVE_LIBZIP_TRUE= 16652 HAVE_LIBZIP_FALSE='#' 16653else 16654 HAVE_LIBZIP_TRUE='#' 16655 HAVE_LIBZIP_FALSE= 16656fi 16657 16658fi 16659 16660 16661 16662 16663 16664 16665if test "${with_magick}" = "yes" ; then 16666HAVE_LIBMAGICK=no 16667LIBMAGICK_CFLAGS= 16668LIBMAGICK_LDFLAGS= 16669PSTOEDIT_GCC_OK=yes 16670if test "x${CC}" = xgcc; then 16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version" >&5 16672$as_echo_n "checking for gcc version... " >&6; } 16673 GCC_VERSION=`${CC} --version` 16674 GCC_MAJOR_VERSION=`echo $GCC_VERSION \ 16675 | sed -e "s/^\([0-9]*\)\.[0-9]*/\1/"` 16676 GCC_MINOR_VERSION=`echo $GCC_VERSION \ 16677 | sed -e "s/^[0-9]*\.\([0-9]*\)/\1/"` 16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GCC_MAJOR_VERSION}.${GCC_MINOR_VERSION}" >&5 16679$as_echo "${GCC_MAJOR_VERSION}.${GCC_MINOR_VERSION}" >&6; } 16680 if test "x${GCC_MAJOR_VERSION}" = x2; then 16681 PSTOEDIT_GCC_OK=no 16682 fi 16683fi 16684 16685if test "x${PSTOEDIT_GCC_OK}" = xno ; then 16686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** gcc version is too old to use Magick++ in pstoedit" >&5 16687$as_echo "$as_me: WARNING: ** gcc version is too old to use Magick++ in pstoedit" >&2;} 16688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** gcc version >= 3 is required." >&5 16689$as_echo "$as_me: WARNING: ** gcc version >= 3 is required." >&2;} 16690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libMagick++ driver is disabled." >&5 16691$as_echo "$as_me: WARNING: ** libMagick++ driver is disabled." >&2;} 16692else 16693 if test -n "$PKG_CONFIG"; then 16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ImageMagick flags through pkg-config" >&5 16695$as_echo_n "checking ImageMagick flags through pkg-config... " >&6; } 16696 16697pkg_failed=no 16698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMAGICK" >&5 16699$as_echo_n "checking for LIBMAGICK... " >&6; } 16700 16701if test -n "$LIBMAGICK_CFLAGS"; then 16702 pkg_cv_LIBMAGICK_CFLAGS="$LIBMAGICK_CFLAGS" 16703 elif test -n "$PKG_CONFIG"; then 16704 if test -n "$PKG_CONFIG" && \ 16705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Magick++\""; } >&5 16706 ($PKG_CONFIG --exists --print-errors "Magick++") 2>&5 16707 ac_status=$? 16708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16709 test $ac_status = 0; }; then 16710 pkg_cv_LIBMAGICK_CFLAGS=`$PKG_CONFIG --cflags "Magick++" 2>/dev/null` 16711 test "x$?" != "x0" && pkg_failed=yes 16712else 16713 pkg_failed=yes 16714fi 16715 else 16716 pkg_failed=untried 16717fi 16718if test -n "$LIBMAGICK_LIBS"; then 16719 pkg_cv_LIBMAGICK_LIBS="$LIBMAGICK_LIBS" 16720 elif test -n "$PKG_CONFIG"; then 16721 if test -n "$PKG_CONFIG" && \ 16722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Magick++\""; } >&5 16723 ($PKG_CONFIG --exists --print-errors "Magick++") 2>&5 16724 ac_status=$? 16725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16726 test $ac_status = 0; }; then 16727 pkg_cv_LIBMAGICK_LIBS=`$PKG_CONFIG --libs "Magick++" 2>/dev/null` 16728 test "x$?" != "x0" && pkg_failed=yes 16729else 16730 pkg_failed=yes 16731fi 16732 else 16733 pkg_failed=untried 16734fi 16735 16736 16737 16738if test $pkg_failed = yes; then 16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16740$as_echo "no" >&6; } 16741 16742if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16743 _pkg_short_errors_supported=yes 16744else 16745 _pkg_short_errors_supported=no 16746fi 16747 if test $_pkg_short_errors_supported = yes; then 16748 LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Magick++" 2>&1` 16749 else 16750 LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Magick++" 2>&1` 16751 fi 16752 # Put the nasty error message in config.log where it belongs 16753 echo "$LIBMAGICK_PKG_ERRORS" >&5 16754 16755 echo "trying other methods for finding ImageMagick" 16756elif test $pkg_failed = untried; then 16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16758$as_echo "no" >&6; } 16759 echo "trying other methods for finding ImageMagick" 16760else 16761 LIBMAGICK_CFLAGS=$pkg_cv_LIBMAGICK_CFLAGS 16762 LIBMAGICK_LIBS=$pkg_cv_LIBMAGICK_LIBS 16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16764$as_echo "yes" >&6; } 16765 HAVE_LIBMAGICK=yes 16766 LIBMAGICK_CFLAGS="-DHAVE_MAGIC $LIBMAGICK_CFLAGS" 16767 LIBMAGICK_LDFLAGS="$LIBMAGICK_LIBS" 16768fi 16769 else 16770 # Extract the first word of "Magick++-config", so it can be a program name with args. 16771set dummy Magick++-config; ac_word=$2 16772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16773$as_echo_n "checking for $ac_word... " >&6; } 16774if ${ac_cv_path_MAGICK_CONFIG+:} false; then : 16775 $as_echo_n "(cached) " >&6 16776else 16777 case $MAGICK_CONFIG in 16778 [\\/]* | ?:[\\/]*) 16779 ac_cv_path_MAGICK_CONFIG="$MAGICK_CONFIG" # Let the user override the test with a path. 16780 ;; 16781 *) 16782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16783for as_dir in $PATH 16784do 16785 IFS=$as_save_IFS 16786 test -z "$as_dir" && as_dir=. 16787 for ac_exec_ext in '' $ac_executable_extensions; do 16788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16789 ac_cv_path_MAGICK_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16791 break 2 16792 fi 16793done 16794 done 16795IFS=$as_save_IFS 16796 16797 ;; 16798esac 16799fi 16800MAGICK_CONFIG=$ac_cv_path_MAGICK_CONFIG 16801if test -n "$MAGICK_CONFIG"; then 16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGICK_CONFIG" >&5 16803$as_echo "$MAGICK_CONFIG" >&6; } 16804else 16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16806$as_echo "no" >&6; } 16807fi 16808 16809 16810 if test -n "${MAGICK_CONFIG}"; then 16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of \"Magick++\" " >&5 16812$as_echo_n "checking for version of \"Magick++\" ... " >&6; } 16813 OLD_CPPFLAGS=${CPPFLAGS} 16814 CPPFLAGS="$CPPFLAGS `Magick++-config --cppflags`" 16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16816/* end confdefs.h. */ 16817#include <Magick++.h> 16818 #if MagickLibVersion >= 0x000008 16819 int correct; 16820 #else 16821 old version of Magick; 16822 #endif 16823int 16824main () 16825{ 16826 16827 ; 16828 return 0; 16829} 16830_ACEOF 16831if ac_fn_cxx_try_compile "$LINENO"; then : 16832 MAGICKCORRECTVERSION="YES";{ $as_echo "$as_me:${as_lineno-$LINENO}: result: you seem to have a compatible version " >&5 16833$as_echo "you seem to have a compatible version " >&6; } 16834else 16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: you seem to have an older version - need at least version 1.0.6" >&5 16836$as_echo "you seem to have an older version - need at least version 1.0.6" >&6; } 16837fi 16838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16839 CPPFLAGS=$OLD_CPPFLAGS 16840 if test -n "${MAGICKCORRECTVERSION}"; then 16841 HAVE_LIBMAGICK=yes 16842 LIBMAGICK_CFLAGS="-DHAVE_MAGIC `Magick++-config --cppflags`" 16843 LIBMAGICK_LDFLAGS="`Magick++-config --libs` `Magick++-config --ldflags`" 16844 else 16845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libMagick++ driver is disabled because of too old version of Magick (need at least 1.0.6)." >&5 16846$as_echo "$as_me: WARNING: ** libMagick++ driver is disabled because of too old version of Magick (need at least 1.0.6)." >&2;} 16847 fi 16848 else 16849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** libMagick++ driver is disabled." >&5 16850$as_echo "$as_me: WARNING: ** libMagick++ driver is disabled." >&2;} 16851 fi 16852 fi 16853fi 16854 16855 16856 if test "$HAVE_LIBMAGICK" = yes; then 16857 HAVE_LIBMAGICK_TRUE= 16858 HAVE_LIBMAGICK_FALSE='#' 16859else 16860 HAVE_LIBMAGICK_TRUE='#' 16861 HAVE_LIBMAGICK_FALSE= 16862fi 16863 16864else 16865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: magick support disabled by configure argument ." >&5 16866$as_echo "$as_me: WARNING: magick support disabled by configure argument ." >&2;} 16867 if false ; then 16868 HAVE_LIBMAGICK_TRUE= 16869 HAVE_LIBMAGICK_FALSE='#' 16870else 16871 HAVE_LIBMAGICK_TRUE='#' 16872 HAVE_LIBMAGICK_FALSE= 16873fi 16874 16875fi 16876 16877 16878 16879 16880 16881if test "${with_emf}" = "yes" ; then 16882HAVE_LIBEMF=no 16883LIBEMF_CFLAGS= 16884LIBEMF_LDFLAGS= 16885 16886OLD_CPPFLAGS= 16887OLD_LIBS= 16888 16889 16890 16891# Check whether --with-libemf-src was given. 16892if test "${with_libemf_src+set}" = set; then : 16893 withval=$with_libemf_src; libemf_lib_src=$withval 16894else 16895 libemf_lib_src= 16896fi 16897 16898 16899if test -n "${libemf_lib_src}"; then 16900HAVE_LIBEMF=yes 16901 if true ; then 16902 USE_EMFBYSOURCE_TRUE= 16903 USE_EMFBYSOURCE_FALSE='#' 16904else 16905 USE_EMFBYSOURCE_TRUE='#' 16906 USE_EMFBYSOURCE_FALSE= 16907fi 16908 16909 if true ; then 16910 HAVE_LIBEMF_TRUE= 16911 HAVE_LIBEMF_FALSE='#' 16912else 16913 HAVE_LIBEMF_TRUE='#' 16914 HAVE_LIBEMF_FALSE= 16915fi 16916 16917LIBEMF_CFLAGS="-DHAVE_LIBEMF -I${libemf_lib_src}/include -I${libemf_lib_src}/libemf -I${libemf_lib_src}/config " 16918 16919 16920else 16921 if false ; then 16922 USE_EMFBYSOURCE_TRUE= 16923 USE_EMFBYSOURCE_FALSE='#' 16924else 16925 USE_EMFBYSOURCE_TRUE='#' 16926 USE_EMFBYSOURCE_FALSE= 16927fi 16928 16929 16930 16931# Check whether --with-libemf-lib was given. 16932if test "${with_libemf_lib+set}" = set; then : 16933 withval=$with_libemf_lib; libemf_lib_dir=$withval 16934else 16935 libemf_lib_dir= 16936fi 16937 16938 16939 16940# Check whether --with-libemf-include was given. 16941if test "${with_libemf_include+set}" = set; then : 16942 withval=$with_libemf_include; libemf_include_dir=$withval 16943else 16944 libemf_include_dir= 16945fi 16946 16947 16948OLD_LIBS=${LIBS} 16949if test -n "${libemf_lib_dir}"; then 16950 LIBS="-L${libemf_lib_dir} ${LIBS}" 16951fi 16952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lEMF" >&5 16953$as_echo_n "checking for main in -lEMF... " >&6; } 16954if ${ac_cv_lib_EMF_main+:} false; then : 16955 $as_echo_n "(cached) " >&6 16956else 16957 ac_check_lib_save_LIBS=$LIBS 16958LIBS="-lEMF -lm $LIBS" 16959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16960/* end confdefs.h. */ 16961 16962 16963int 16964main () 16965{ 16966return main (); 16967 ; 16968 return 0; 16969} 16970_ACEOF 16971if ac_fn_cxx_try_link "$LINENO"; then : 16972 ac_cv_lib_EMF_main=yes 16973else 16974 ac_cv_lib_EMF_main=no 16975fi 16976rm -f core conftest.err conftest.$ac_objext \ 16977 conftest$ac_exeext conftest.$ac_ext 16978LIBS=$ac_check_lib_save_LIBS 16979fi 16980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_EMF_main" >&5 16981$as_echo "$ac_cv_lib_EMF_main" >&6; } 16982if test "x$ac_cv_lib_EMF_main" = xyes; then : 16983 LIBEMF_LDFLAGS="-lEMF -lm" 16984fi 16985 16986if test -n "${LIBEMF_LDFLAGS}"; then 16987 if test -n "${libemf_lib_dir}"; then 16988 LIBEMF_LDFLAGS="-L${libemf_lib_dir} ${LIBEMF_LDFLAGS}" 16989 fi 16990else 16991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find libEMF. libEMF supports are disabled." >&5 16992$as_echo "$as_me: WARNING: ** Cannot find libEMF. libEMF supports are disabled." >&2;} 16993fi 16994LIBS=${OLD_LIBS} 16995 16996OLD_CPPFLAGS=${CPPFLAGS} 16997if test -n "${libemf_include_dir}"; then 16998 CPPFLAGS="-I${libemf_include_dir} ${CPPFLAGS}" 16999fi 17000ac_fn_cxx_check_header_mongrel "$LINENO" "emf.h" "ac_cv_header_emf_h" "$ac_includes_default" 17001if test "x$ac_cv_header_emf_h" = xyes; then : 17002 LIBEMF_CFLAGS="-DHAVE_LIBEMF -DOLDLIBEMF" 17003fi 17004 17005 17006ac_fn_cxx_check_header_mongrel "$LINENO" "libEMF/emf.h" "ac_cv_header_libEMF_emf_h" "$ac_includes_default" 17007if test "x$ac_cv_header_libEMF_emf_h" = xyes; then : 17008 LIBEMF_CFLAGS="-DHAVE_LIBEMF" 17009fi 17010 17011 17012if test -n "${LIBEMF_CFLAGS}"; then 17013 if test -n "${libemf_include_dir}"; then 17014 LIBEMF_CFLAGS="-I${libemf_include_dir} ${LIBEMF_CFLAGS}" 17015 fi 17016else 17017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find emf.h. libEMF supports are disabled." >&5 17018$as_echo "$as_me: WARNING: ** Cannot find emf.h. libEMF supports are disabled." >&2;} 17019fi 17020CPPFLAGS=${OLD_CPPFLAGS} 17021 17022if test -n "${LIBEMF_LDFLAGS}" && test -n "${LIBEMF_CFLAGS}"; then 17023 HAVE_LIBEMF=yes 17024else 17025 LIBEMF_CFLAGS= 17026 LIBEMF_LDFLAGS= 17027fi 17028 17029 17030 17031 if test "$HAVE_LIBEMF" = yes; then 17032 HAVE_LIBEMF_TRUE= 17033 HAVE_LIBEMF_FALSE='#' 17034else 17035 HAVE_LIBEMF_TRUE='#' 17036 HAVE_LIBEMF_FALSE= 17037fi 17038 17039fi 17040else 17041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: EMF support disabled by configure argument ." >&5 17042$as_echo "$as_me: WARNING: EMF support disabled by configure argument ." >&2;} 17043 if false ; then 17044 USE_EMFBYSOURCE_TRUE= 17045 USE_EMFBYSOURCE_FALSE='#' 17046else 17047 USE_EMFBYSOURCE_TRUE='#' 17048 USE_EMFBYSOURCE_FALSE= 17049fi 17050 17051 if false ; then 17052 HAVE_LIBEMF_TRUE= 17053 HAVE_LIBEMF_FALSE='#' 17054else 17055 HAVE_LIBEMF_TRUE='#' 17056 HAVE_LIBEMF_FALSE= 17057fi 17058 17059fi 17060 17061 17062 17063 17064 17065 17066 17067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for built-in \"bool\" datatype" >&5 17068$as_echo_n "checking for built-in \"bool\" datatype... " >&6; } 17069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17070/* end confdefs.h. */ 17071 17072int 17073main () 17074{ 17075bool testing_bool; testing_bool=true; 17076 ; 17077 return 0; 17078} 17079_ACEOF 17080if ac_fn_cxx_try_compile "$LINENO"; then : 17081 CXXFLAGS="$CXXFLAGS -DINTERNALBOOL"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17082$as_echo "yes" >&6; } 17083else 17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17085$as_echo "no" >&6; } 17086fi 17087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17088 17089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking C++ compiler model" >&5 17090$as_echo_n "checking C++ compiler model... " >&6; } 17091if test "$GXX" = yes; then 17092 if test "$host_os" = riscos; then 17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU on RiscOS" >&5 17094$as_echo "GNU on RiscOS" >&6; } 17095 SPECIAL_CXXFLAGS="-Wall -Dunix -Ilibgpp: -Ilibstdc: -Ilibio:" 17096 LDLIBS="-rescan libgpp:o.libg++ libstdc:o.libstdc++ libio:o.libiostrea gcc:o.libgcc Unix:o.UnixLib" 17097 LINK=link 17098 17099 17100 else 17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU" >&5 17102$as_echo "GNU" >&6; } 17103# need to disable long long warning here because of ImageMagick using it 17104 SPECIAL_CXXFLAGS="-DBUGGYGPP_NOLONGERNEEDE -Wall -Wextra -Wuninitialized -Wswitch-default -Wunused -Wshadow -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long" 17105 fi 17106elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then 17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: AIX xlC" >&5 17108$as_echo "AIX xlC" >&6; } 17109 SPECIAL_CXXFLAGS="-D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude" 17110elif test `echo "$CXX" | egrep -c 'cxx$'` -eq 1; then 17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OSF/1 cxx" >&5 17112$as_echo "OSF/1 cxx" >&6; } 17113 SPECIAL_CXXFLAGS="-w -define_templates" 17114elif test `echo "$CXX" | egrep -c 'CC$'` -eq 1; then 17115 if test "$host_os" = irix5.3; then 17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Irix 5.3" >&5 17117$as_echo "Irix 5.3" >&6; } 17118 SPECIAL_CXXFLAGS="-O2 -mips2 -Olimit 2400" 17119 elif test "$host_os" = irix6.2; then 17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Irix 6.2" >&5 17121$as_echo "Irix 6.2" >&6; } 17122 SPECIAL_CXXFLAGS="-mips3 -n32 -O2 -OPT:fold_arith_limit=2500" 17123 elif test "$host_vendor" = sun; then 17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun" >&5 17125$as_echo "Sun" >&6; } 17126 SPECIAL_CXXFLAGS="-w" 17127 fi 17128else 17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 17130$as_echo "unknown" >&6; } 17131fi 17132 17133# Check whether --enable-wrapper was given. 17134if test "${enable_wrapper+set}" = set; then : 17135 enableval=$enable_wrapper; CXX="$enableval $CXX" 17136fi 17137 17138 17139 17140CXX_RUNTIME_LIB= 17141CXX_STD_LIB= 17142if test x"$GXX" = xyes; then 17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg++" >&5 17144$as_echo_n "checking for main in -lg++... " >&6; } 17145if ${ac_cv_lib_gpp_main+:} false; then : 17146 $as_echo_n "(cached) " >&6 17147else 17148 ac_check_lib_save_LIBS=$LIBS 17149LIBS="-lg++ $LIBS" 17150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17151/* end confdefs.h. */ 17152 17153 17154int 17155main () 17156{ 17157return main (); 17158 ; 17159 return 0; 17160} 17161_ACEOF 17162if ac_fn_cxx_try_link "$LINENO"; then : 17163 ac_cv_lib_gpp_main=yes 17164else 17165 ac_cv_lib_gpp_main=no 17166fi 17167rm -f core conftest.err conftest.$ac_objext \ 17168 conftest$ac_exeext conftest.$ac_ext 17169LIBS=$ac_check_lib_save_LIBS 17170fi 17171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpp_main" >&5 17172$as_echo "$ac_cv_lib_gpp_main" >&6; } 17173if test "x$ac_cv_lib_gpp_main" = xyes; then : 17174 CXX_RUNTIME_LIB=-lg++ 17175fi 17176 17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in " >&5 17178$as_echo_n "checking for main in ... " >&6; } 17179if ${ac_cv_lib_stdcpp_main+:} false; then : 17180 $as_echo_n "(cached) " >&6 17181else 17182 ac_check_lib_save_LIBS=$LIBS 17183LIBS=" ${CXX_RUNTIME_LIB} $LIBS" 17184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17185/* end confdefs.h. */ 17186 17187 17188int 17189main () 17190{ 17191return main (); 17192 ; 17193 return 0; 17194} 17195_ACEOF 17196if ac_fn_cxx_try_link "$LINENO"; then : 17197 ac_cv_lib_stdcpp_main=yes 17198else 17199 ac_cv_lib_stdcpp_main=no 17200fi 17201rm -f core conftest.err conftest.$ac_objext \ 17202 conftest$ac_exeext conftest.$ac_ext 17203LIBS=$ac_check_lib_save_LIBS 17204fi 17205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 17206$as_echo "$ac_cv_lib_stdcpp_main" >&6; } 17207if test "x$ac_cv_lib_stdcpp_main" = xyes; then : 17208 CXX_STD_LIB= 17209fi 17210 17211fi 17212 17213 17214 17215ac_config_files="$ac_config_files Makefile src/Makefile config/Makefile config/pstoedit.pc doc/Makefile m4/Makefile examples/Makefile contrib/Makefile contrib/cairo/Makefile contrib/java/Makefile contrib/java/java1/Makefile contrib/java/java2/Makefile misc/Makefile misc/swffonts/Makefile os2/Makefile msdev/Makefile othersrc/Makefile othersrc/gsdllinc/Makefile" 17216 17217 17218cat >confcache <<\_ACEOF 17219# This file is a shell script that caches the results of configure 17220# tests run on this system so they can be shared between configure 17221# scripts and configure runs, see configure's option --config-cache. 17222# It is not useful on other systems. If it contains results you don't 17223# want to keep, you may remove or edit it. 17224# 17225# config.status only pays attention to the cache file if you give it 17226# the --recheck option to rerun configure. 17227# 17228# `ac_cv_env_foo' variables (set or unset) will be overridden when 17229# loading this file, other *unset* `ac_cv_foo' will be assigned the 17230# following values. 17231 17232_ACEOF 17233 17234# The following way of writing the cache mishandles newlines in values, 17235# but we know of no workaround that is simple, portable, and efficient. 17236# So, we kill variables containing newlines. 17237# Ultrix sh set writes to stderr and can't be redirected directly, 17238# and sets the high bit in the cache file unless we assign to the vars. 17239( 17240 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17241 eval ac_val=\$$ac_var 17242 case $ac_val in #( 17243 *${as_nl}*) 17244 case $ac_var in #( 17245 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17246$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17247 esac 17248 case $ac_var in #( 17249 _ | IFS | as_nl) ;; #( 17250 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17251 *) { eval $ac_var=; unset $ac_var;} ;; 17252 esac ;; 17253 esac 17254 done 17255 17256 (set) 2>&1 | 17257 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17258 *${as_nl}ac_space=\ *) 17259 # `set' does not quote correctly, so add quotes: double-quote 17260 # substitution turns \\\\ into \\, and sed turns \\ into \. 17261 sed -n \ 17262 "s/'/'\\\\''/g; 17263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17264 ;; #( 17265 *) 17266 # `set' quotes correctly as required by POSIX, so do not add quotes. 17267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17268 ;; 17269 esac | 17270 sort 17271) | 17272 sed ' 17273 /^ac_cv_env_/b end 17274 t clear 17275 :clear 17276 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17277 t end 17278 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17279 :end' >>confcache 17280if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17281 if test -w "$cache_file"; then 17282 if test "x$cache_file" != "x/dev/null"; then 17283 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17284$as_echo "$as_me: updating cache $cache_file" >&6;} 17285 if test ! -f "$cache_file" || test -h "$cache_file"; then 17286 cat confcache >"$cache_file" 17287 else 17288 case $cache_file in #( 17289 */* | ?:*) 17290 mv -f confcache "$cache_file"$$ && 17291 mv -f "$cache_file"$$ "$cache_file" ;; #( 17292 *) 17293 mv -f confcache "$cache_file" ;; 17294 esac 17295 fi 17296 fi 17297 else 17298 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17299$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17300 fi 17301fi 17302rm -f confcache 17303 17304test "x$prefix" = xNONE && prefix=$ac_default_prefix 17305# Let make expand exec_prefix. 17306test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17307 17308DEFS=-DHAVE_CONFIG_H 17309 17310ac_libobjs= 17311ac_ltlibobjs= 17312U= 17313for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17314 # 1. Remove the extension, and $U if already installed. 17315 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17316 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17317 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17318 # will be set to the directory where LIBOBJS objects are built. 17319 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17320 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17321done 17322LIBOBJS=$ac_libobjs 17323 17324LTLIBOBJS=$ac_ltlibobjs 17325 17326 17327if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17328 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17329Usually this means the macro was only invoked conditionally." "$LINENO" 5 17330fi 17331if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17332 as_fn_error $? "conditional \"AMDEP\" was never defined. 17333Usually this means the macro was only invoked conditionally." "$LINENO" 5 17334fi 17335if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17336 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17337Usually this means the macro was only invoked conditionally." "$LINENO" 5 17338fi 17339if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17340 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 17341Usually this means the macro was only invoked conditionally." "$LINENO" 5 17342fi 17343 17344if test -z "${HAVE_PLUGINSRC_TRUE}" && test -z "${HAVE_PLUGINSRC_FALSE}"; then 17345 as_fn_error $? "conditional \"HAVE_PLUGINSRC\" was never defined. 17346Usually this means the macro was only invoked conditionally." "$LINENO" 5 17347fi 17348if test -z "${HAVE_PLUGINSRC_TRUE}" && test -z "${HAVE_PLUGINSRC_FALSE}"; then 17349 as_fn_error $? "conditional \"HAVE_PLUGINSRC\" was never defined. 17350Usually this means the macro was only invoked conditionally." "$LINENO" 5 17351fi 17352if test -z "${HAVE_LIBPLOTTER_TRUE}" && test -z "${HAVE_LIBPLOTTER_FALSE}"; then 17353 as_fn_error $? "conditional \"HAVE_LIBPLOTTER\" was never defined. 17354Usually this means the macro was only invoked conditionally." "$LINENO" 5 17355fi 17356if test -z "${HAVE_LIBPLOTTER_TRUE}" && test -z "${HAVE_LIBPLOTTER_FALSE}"; then 17357 as_fn_error $? "conditional \"HAVE_LIBPLOTTER\" was never defined. 17358Usually this means the macro was only invoked conditionally." "$LINENO" 5 17359fi 17360if test -z "${HAVE_LIBMING_TRUE}" && test -z "${HAVE_LIBMING_FALSE}"; then 17361 as_fn_error $? "conditional \"HAVE_LIBMING\" was never defined. 17362Usually this means the macro was only invoked conditionally." "$LINENO" 5 17363fi 17364if test -z "${HAVE_LIBMING_TRUE}" && test -z "${HAVE_LIBMING_FALSE}"; then 17365 as_fn_error $? "conditional \"HAVE_LIBMING\" was never defined. 17366Usually this means the macro was only invoked conditionally." "$LINENO" 5 17367fi 17368if test -z "${HAVE_LIBZIP_TRUE}" && test -z "${HAVE_LIBZIP_FALSE}"; then 17369 as_fn_error $? "conditional \"HAVE_LIBZIP\" was never defined. 17370Usually this means the macro was only invoked conditionally." "$LINENO" 5 17371fi 17372if test -z "${HAVE_LIBZIP_TRUE}" && test -z "${HAVE_LIBZIP_FALSE}"; then 17373 as_fn_error $? "conditional \"HAVE_LIBZIP\" was never defined. 17374Usually this means the macro was only invoked conditionally." "$LINENO" 5 17375fi 17376if test -z "${HAVE_LIBMAGICK_TRUE}" && test -z "${HAVE_LIBMAGICK_FALSE}"; then 17377 as_fn_error $? "conditional \"HAVE_LIBMAGICK\" was never defined. 17378Usually this means the macro was only invoked conditionally." "$LINENO" 5 17379fi 17380if test -z "${HAVE_LIBMAGICK_TRUE}" && test -z "${HAVE_LIBMAGICK_FALSE}"; then 17381 as_fn_error $? "conditional \"HAVE_LIBMAGICK\" was never defined. 17382Usually this means the macro was only invoked conditionally." "$LINENO" 5 17383fi 17384if test -z "${USE_EMFBYSOURCE_TRUE}" && test -z "${USE_EMFBYSOURCE_FALSE}"; then 17385 as_fn_error $? "conditional \"USE_EMFBYSOURCE\" was never defined. 17386Usually this means the macro was only invoked conditionally." "$LINENO" 5 17387fi 17388if test -z "${HAVE_LIBEMF_TRUE}" && test -z "${HAVE_LIBEMF_FALSE}"; then 17389 as_fn_error $? "conditional \"HAVE_LIBEMF\" was never defined. 17390Usually this means the macro was only invoked conditionally." "$LINENO" 5 17391fi 17392if test -z "${USE_EMFBYSOURCE_TRUE}" && test -z "${USE_EMFBYSOURCE_FALSE}"; then 17393 as_fn_error $? "conditional \"USE_EMFBYSOURCE\" was never defined. 17394Usually this means the macro was only invoked conditionally." "$LINENO" 5 17395fi 17396if test -z "${HAVE_LIBEMF_TRUE}" && test -z "${HAVE_LIBEMF_FALSE}"; then 17397 as_fn_error $? "conditional \"HAVE_LIBEMF\" was never defined. 17398Usually this means the macro was only invoked conditionally." "$LINENO" 5 17399fi 17400if test -z "${USE_EMFBYSOURCE_TRUE}" && test -z "${USE_EMFBYSOURCE_FALSE}"; then 17401 as_fn_error $? "conditional \"USE_EMFBYSOURCE\" was never defined. 17402Usually this means the macro was only invoked conditionally." "$LINENO" 5 17403fi 17404if test -z "${HAVE_LIBEMF_TRUE}" && test -z "${HAVE_LIBEMF_FALSE}"; then 17405 as_fn_error $? "conditional \"HAVE_LIBEMF\" was never defined. 17406Usually this means the macro was only invoked conditionally." "$LINENO" 5 17407fi 17408 17409: "${CONFIG_STATUS=./config.status}" 17410ac_write_fail=0 17411ac_clean_files_save=$ac_clean_files 17412ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17413{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17414$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17415as_write_fail=0 17416cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17417#! $SHELL 17418# Generated by $as_me. 17419# Run this file to recreate the current configuration. 17420# Compiler output produced by configure, useful for debugging 17421# configure, is in config.log if it exists. 17422 17423debug=false 17424ac_cs_recheck=false 17425ac_cs_silent=false 17426 17427SHELL=\${CONFIG_SHELL-$SHELL} 17428export SHELL 17429_ASEOF 17430cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17431## -------------------- ## 17432## M4sh Initialization. ## 17433## -------------------- ## 17434 17435# Be more Bourne compatible 17436DUALCASE=1; export DUALCASE # for MKS sh 17437if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17438 emulate sh 17439 NULLCMD=: 17440 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17441 # is contrary to our usage. Disable this feature. 17442 alias -g '${1+"$@"}'='"$@"' 17443 setopt NO_GLOB_SUBST 17444else 17445 case `(set -o) 2>/dev/null` in #( 17446 *posix*) : 17447 set -o posix ;; #( 17448 *) : 17449 ;; 17450esac 17451fi 17452 17453 17454as_nl=' 17455' 17456export as_nl 17457# Printing a long string crashes Solaris 7 /usr/bin/printf. 17458as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17459as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17460as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17461# Prefer a ksh shell builtin over an external printf program on Solaris, 17462# but without wasting forks for bash or zsh. 17463if test -z "$BASH_VERSION$ZSH_VERSION" \ 17464 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17465 as_echo='print -r --' 17466 as_echo_n='print -rn --' 17467elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17468 as_echo='printf %s\n' 17469 as_echo_n='printf %s' 17470else 17471 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17472 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17473 as_echo_n='/usr/ucb/echo -n' 17474 else 17475 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17476 as_echo_n_body='eval 17477 arg=$1; 17478 case $arg in #( 17479 *"$as_nl"*) 17480 expr "X$arg" : "X\\(.*\\)$as_nl"; 17481 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17482 esac; 17483 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17484 ' 17485 export as_echo_n_body 17486 as_echo_n='sh -c $as_echo_n_body as_echo' 17487 fi 17488 export as_echo_body 17489 as_echo='sh -c $as_echo_body as_echo' 17490fi 17491 17492# The user is always right. 17493if test "${PATH_SEPARATOR+set}" != set; then 17494 PATH_SEPARATOR=: 17495 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17496 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17497 PATH_SEPARATOR=';' 17498 } 17499fi 17500 17501 17502# IFS 17503# We need space, tab and new line, in precisely that order. Quoting is 17504# there to prevent editors from complaining about space-tab. 17505# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17506# splitting by setting IFS to empty value.) 17507IFS=" "" $as_nl" 17508 17509# Find who we are. Look in the path if we contain no directory separator. 17510as_myself= 17511case $0 in #(( 17512 *[\\/]* ) as_myself=$0 ;; 17513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17514for as_dir in $PATH 17515do 17516 IFS=$as_save_IFS 17517 test -z "$as_dir" && as_dir=. 17518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17519 done 17520IFS=$as_save_IFS 17521 17522 ;; 17523esac 17524# We did not find ourselves, most probably we were run as `sh COMMAND' 17525# in which case we are not to be found in the path. 17526if test "x$as_myself" = x; then 17527 as_myself=$0 17528fi 17529if test ! -f "$as_myself"; then 17530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17531 exit 1 17532fi 17533 17534# Unset variables that we do not need and which cause bugs (e.g. in 17535# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17536# suppresses any "Segmentation fault" message there. '((' could 17537# trigger a bug in pdksh 5.2.14. 17538for as_var in BASH_ENV ENV MAIL MAILPATH 17539do eval test x\${$as_var+set} = xset \ 17540 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17541done 17542PS1='$ ' 17543PS2='> ' 17544PS4='+ ' 17545 17546# NLS nuisances. 17547LC_ALL=C 17548export LC_ALL 17549LANGUAGE=C 17550export LANGUAGE 17551 17552# CDPATH. 17553(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17554 17555 17556# as_fn_error STATUS ERROR [LINENO LOG_FD] 17557# ---------------------------------------- 17558# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17559# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17560# script with STATUS, using 1 if that was 0. 17561as_fn_error () 17562{ 17563 as_status=$1; test $as_status -eq 0 && as_status=1 17564 if test "$4"; then 17565 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17566 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17567 fi 17568 $as_echo "$as_me: error: $2" >&2 17569 as_fn_exit $as_status 17570} # as_fn_error 17571 17572 17573# as_fn_set_status STATUS 17574# ----------------------- 17575# Set $? to STATUS, without forking. 17576as_fn_set_status () 17577{ 17578 return $1 17579} # as_fn_set_status 17580 17581# as_fn_exit STATUS 17582# ----------------- 17583# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17584as_fn_exit () 17585{ 17586 set +e 17587 as_fn_set_status $1 17588 exit $1 17589} # as_fn_exit 17590 17591# as_fn_unset VAR 17592# --------------- 17593# Portably unset VAR. 17594as_fn_unset () 17595{ 17596 { eval $1=; unset $1;} 17597} 17598as_unset=as_fn_unset 17599# as_fn_append VAR VALUE 17600# ---------------------- 17601# Append the text in VALUE to the end of the definition contained in VAR. Take 17602# advantage of any shell optimizations that allow amortized linear growth over 17603# repeated appends, instead of the typical quadratic growth present in naive 17604# implementations. 17605if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17606 eval 'as_fn_append () 17607 { 17608 eval $1+=\$2 17609 }' 17610else 17611 as_fn_append () 17612 { 17613 eval $1=\$$1\$2 17614 } 17615fi # as_fn_append 17616 17617# as_fn_arith ARG... 17618# ------------------ 17619# Perform arithmetic evaluation on the ARGs, and store the result in the 17620# global $as_val. Take advantage of shells that can avoid forks. The arguments 17621# must be portable across $(()) and expr. 17622if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17623 eval 'as_fn_arith () 17624 { 17625 as_val=$(( $* )) 17626 }' 17627else 17628 as_fn_arith () 17629 { 17630 as_val=`expr "$@" || test $? -eq 1` 17631 } 17632fi # as_fn_arith 17633 17634 17635if expr a : '\(a\)' >/dev/null 2>&1 && 17636 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17637 as_expr=expr 17638else 17639 as_expr=false 17640fi 17641 17642if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17643 as_basename=basename 17644else 17645 as_basename=false 17646fi 17647 17648if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17649 as_dirname=dirname 17650else 17651 as_dirname=false 17652fi 17653 17654as_me=`$as_basename -- "$0" || 17655$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17656 X"$0" : 'X\(//\)$' \| \ 17657 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17658$as_echo X/"$0" | 17659 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17660 s//\1/ 17661 q 17662 } 17663 /^X\/\(\/\/\)$/{ 17664 s//\1/ 17665 q 17666 } 17667 /^X\/\(\/\).*/{ 17668 s//\1/ 17669 q 17670 } 17671 s/.*/./; q'` 17672 17673# Avoid depending upon Character Ranges. 17674as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17675as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17676as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17677as_cr_digits='0123456789' 17678as_cr_alnum=$as_cr_Letters$as_cr_digits 17679 17680ECHO_C= ECHO_N= ECHO_T= 17681case `echo -n x` in #((((( 17682-n*) 17683 case `echo 'xy\c'` in 17684 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17685 xy) ECHO_C='\c';; 17686 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17687 ECHO_T=' ';; 17688 esac;; 17689*) 17690 ECHO_N='-n';; 17691esac 17692 17693rm -f conf$$ conf$$.exe conf$$.file 17694if test -d conf$$.dir; then 17695 rm -f conf$$.dir/conf$$.file 17696else 17697 rm -f conf$$.dir 17698 mkdir conf$$.dir 2>/dev/null 17699fi 17700if (echo >conf$$.file) 2>/dev/null; then 17701 if ln -s conf$$.file conf$$ 2>/dev/null; then 17702 as_ln_s='ln -s' 17703 # ... but there are two gotchas: 17704 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17705 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17706 # In both cases, we have to default to `cp -pR'. 17707 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17708 as_ln_s='cp -pR' 17709 elif ln conf$$.file conf$$ 2>/dev/null; then 17710 as_ln_s=ln 17711 else 17712 as_ln_s='cp -pR' 17713 fi 17714else 17715 as_ln_s='cp -pR' 17716fi 17717rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17718rmdir conf$$.dir 2>/dev/null 17719 17720 17721# as_fn_mkdir_p 17722# ------------- 17723# Create "$as_dir" as a directory, including parents if necessary. 17724as_fn_mkdir_p () 17725{ 17726 17727 case $as_dir in #( 17728 -*) as_dir=./$as_dir;; 17729 esac 17730 test -d "$as_dir" || eval $as_mkdir_p || { 17731 as_dirs= 17732 while :; do 17733 case $as_dir in #( 17734 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17735 *) as_qdir=$as_dir;; 17736 esac 17737 as_dirs="'$as_qdir' $as_dirs" 17738 as_dir=`$as_dirname -- "$as_dir" || 17739$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17740 X"$as_dir" : 'X\(//\)[^/]' \| \ 17741 X"$as_dir" : 'X\(//\)$' \| \ 17742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17743$as_echo X"$as_dir" | 17744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17745 s//\1/ 17746 q 17747 } 17748 /^X\(\/\/\)[^/].*/{ 17749 s//\1/ 17750 q 17751 } 17752 /^X\(\/\/\)$/{ 17753 s//\1/ 17754 q 17755 } 17756 /^X\(\/\).*/{ 17757 s//\1/ 17758 q 17759 } 17760 s/.*/./; q'` 17761 test -d "$as_dir" && break 17762 done 17763 test -z "$as_dirs" || eval "mkdir $as_dirs" 17764 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17765 17766 17767} # as_fn_mkdir_p 17768if mkdir -p . 2>/dev/null; then 17769 as_mkdir_p='mkdir -p "$as_dir"' 17770else 17771 test -d ./-p && rmdir ./-p 17772 as_mkdir_p=false 17773fi 17774 17775 17776# as_fn_executable_p FILE 17777# ----------------------- 17778# Test if FILE is an executable regular file. 17779as_fn_executable_p () 17780{ 17781 test -f "$1" && test -x "$1" 17782} # as_fn_executable_p 17783as_test_x='test -x' 17784as_executable_p=as_fn_executable_p 17785 17786# Sed expression to map a string onto a valid CPP name. 17787as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17788 17789# Sed expression to map a string onto a valid variable name. 17790as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17791 17792 17793exec 6>&1 17794## ----------------------------------- ## 17795## Main body of $CONFIG_STATUS script. ## 17796## ----------------------------------- ## 17797_ASEOF 17798test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17799 17800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17801# Save the log message, to keep $0 and so on meaningful, and to 17802# report actual input values of CONFIG_FILES etc. instead of their 17803# values after options handling. 17804ac_log=" 17805This file was extended by pstoedit $as_me 3.70, which was 17806generated by GNU Autoconf 2.69. Invocation command line was 17807 17808 CONFIG_FILES = $CONFIG_FILES 17809 CONFIG_HEADERS = $CONFIG_HEADERS 17810 CONFIG_LINKS = $CONFIG_LINKS 17811 CONFIG_COMMANDS = $CONFIG_COMMANDS 17812 $ $0 $@ 17813 17814on `(hostname || uname -n) 2>/dev/null | sed 1q` 17815" 17816 17817_ACEOF 17818 17819case $ac_config_files in *" 17820"*) set x $ac_config_files; shift; ac_config_files=$*;; 17821esac 17822 17823case $ac_config_headers in *" 17824"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17825esac 17826 17827 17828cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17829# Files that config.status was made for. 17830config_files="$ac_config_files" 17831config_headers="$ac_config_headers" 17832config_commands="$ac_config_commands" 17833 17834_ACEOF 17835 17836cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17837ac_cs_usage="\ 17838\`$as_me' instantiates files and other configuration actions 17839from templates according to the current configuration. Unless the files 17840and actions are specified as TAGs, all are instantiated by default. 17841 17842Usage: $0 [OPTION]... [TAG]... 17843 17844 -h, --help print this help, then exit 17845 -V, --version print version number and configuration settings, then exit 17846 --config print configuration, then exit 17847 -q, --quiet, --silent 17848 do not print progress messages 17849 -d, --debug don't remove temporary files 17850 --recheck update $as_me by reconfiguring in the same conditions 17851 --file=FILE[:TEMPLATE] 17852 instantiate the configuration file FILE 17853 --header=FILE[:TEMPLATE] 17854 instantiate the configuration header FILE 17855 17856Configuration files: 17857$config_files 17858 17859Configuration headers: 17860$config_headers 17861 17862Configuration commands: 17863$config_commands 17864 17865Report bugs to <wglunz35_AT_pstoedit.net>." 17866 17867_ACEOF 17868cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17869ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17870ac_cs_version="\\ 17871pstoedit config.status 3.70 17872configured by $0, generated by GNU Autoconf 2.69, 17873 with options \\"\$ac_cs_config\\" 17874 17875Copyright (C) 2012 Free Software Foundation, Inc. 17876This config.status script is free software; the Free Software Foundation 17877gives unlimited permission to copy, distribute and modify it." 17878 17879ac_pwd='$ac_pwd' 17880srcdir='$srcdir' 17881INSTALL='$INSTALL' 17882MKDIR_P='$MKDIR_P' 17883AWK='$AWK' 17884test -n "\$AWK" || AWK=awk 17885_ACEOF 17886 17887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17888# The default lists apply if the user does not specify any file. 17889ac_need_defaults=: 17890while test $# != 0 17891do 17892 case $1 in 17893 --*=?*) 17894 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17896 ac_shift=: 17897 ;; 17898 --*=) 17899 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17900 ac_optarg= 17901 ac_shift=: 17902 ;; 17903 *) 17904 ac_option=$1 17905 ac_optarg=$2 17906 ac_shift=shift 17907 ;; 17908 esac 17909 17910 case $ac_option in 17911 # Handling of the options. 17912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17913 ac_cs_recheck=: ;; 17914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17915 $as_echo "$ac_cs_version"; exit ;; 17916 --config | --confi | --conf | --con | --co | --c ) 17917 $as_echo "$ac_cs_config"; exit ;; 17918 --debug | --debu | --deb | --de | --d | -d ) 17919 debug=: ;; 17920 --file | --fil | --fi | --f ) 17921 $ac_shift 17922 case $ac_optarg in 17923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17924 '') as_fn_error $? "missing file argument" ;; 17925 esac 17926 as_fn_append CONFIG_FILES " '$ac_optarg'" 17927 ac_need_defaults=false;; 17928 --header | --heade | --head | --hea ) 17929 $ac_shift 17930 case $ac_optarg in 17931 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17932 esac 17933 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17934 ac_need_defaults=false;; 17935 --he | --h) 17936 # Conflict between --help and --header 17937 as_fn_error $? "ambiguous option: \`$1' 17938Try \`$0 --help' for more information.";; 17939 --help | --hel | -h ) 17940 $as_echo "$ac_cs_usage"; exit ;; 17941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17942 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17943 ac_cs_silent=: ;; 17944 17945 # This is an error. 17946 -*) as_fn_error $? "unrecognized option: \`$1' 17947Try \`$0 --help' for more information." ;; 17948 17949 *) as_fn_append ac_config_targets " $1" 17950 ac_need_defaults=false ;; 17951 17952 esac 17953 shift 17954done 17955 17956ac_configure_extra_args= 17957 17958if $ac_cs_silent; then 17959 exec 6>/dev/null 17960 ac_configure_extra_args="$ac_configure_extra_args --silent" 17961fi 17962 17963_ACEOF 17964cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17965if \$ac_cs_recheck; then 17966 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17967 shift 17968 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17969 CONFIG_SHELL='$SHELL' 17970 export CONFIG_SHELL 17971 exec "\$@" 17972fi 17973 17974_ACEOF 17975cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17976exec 5>>config.log 17977{ 17978 echo 17979 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17980## Running $as_me. ## 17981_ASBOX 17982 $as_echo "$ac_log" 17983} >&5 17984 17985_ACEOF 17986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17987# 17988# INIT-COMMANDS 17989# 17990AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17991 17992 17993# The HP-UX ksh and POSIX shell print the target directory to stdout 17994# if CDPATH is set. 17995(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17996 17997sed_quote_subst='$sed_quote_subst' 17998double_quote_subst='$double_quote_subst' 17999delay_variable_subst='$delay_variable_subst' 18000enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 18001AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 18002DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 18003OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 18004macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 18005macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 18006enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 18007pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 18008enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 18009SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 18010ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 18011PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 18012host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 18013host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 18014host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 18015build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 18016build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 18017build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 18018SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 18019Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 18020GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 18021EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 18022FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 18023LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 18024NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 18025LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 18026max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 18027ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 18028exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 18029lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18030lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18031lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18032lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 18033lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 18034reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 18035reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 18036deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 18037file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 18038file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 18039want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 18040sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 18041AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 18042AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 18043archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 18044STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18045RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18046old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18047old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18048old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 18049lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 18050CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 18051CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 18052compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 18053GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 18054lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 18055lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18056lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18057lt_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"`' 18058nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 18059lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 18060objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 18061MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 18062lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 18063lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 18064lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 18065lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 18066lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 18067need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 18068MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 18069DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18070NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18071LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18072OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18073OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18074libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18075shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18076extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18077archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18078enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18079export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18080whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18081compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18082old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18083old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18084archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18085archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18086module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18087module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18088with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18089allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18090no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18091hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18092hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18093hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18094hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18095hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18096hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18097hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18098inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18099link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18100always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18101export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18102exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18103include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18104prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18105postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18106file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18107variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18108need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18109need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18110version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18111runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18112shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18113shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18114libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18115library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18116soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18117install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18118postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18119postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18120finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18121finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18122hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18123sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18124sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 18125hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18126enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18127enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18128enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18129old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18130striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18131compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18132predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18133postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18134predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18135postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18136compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18137LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18138reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18139reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18140old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18141compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18142GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18143lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18144lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18145lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18146lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18147lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18148archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18149enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18150export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18151whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18152compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18153old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18154old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18155archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18156archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18157module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18158module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18159with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18160allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18161no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18162hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18163hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18164hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18165hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18166hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18167hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18168hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18169inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18170link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18171always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18172export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18173exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18174include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18175prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18176postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18177file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18178hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18179compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18180predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18181postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18182predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18183postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18184compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18185 18186LTCC='$LTCC' 18187LTCFLAGS='$LTCFLAGS' 18188compiler='$compiler_DEFAULT' 18189 18190# A function that is used when there is no print builtin or printf. 18191func_fallback_echo () 18192{ 18193 eval 'cat <<_LTECHO_EOF 18194\$1 18195_LTECHO_EOF' 18196} 18197 18198# Quote evaled strings. 18199for var in AS \ 18200DLLTOOL \ 18201OBJDUMP \ 18202SHELL \ 18203ECHO \ 18204PATH_SEPARATOR \ 18205SED \ 18206GREP \ 18207EGREP \ 18208FGREP \ 18209LD \ 18210NM \ 18211LN_S \ 18212lt_SP2NL \ 18213lt_NL2SP \ 18214reload_flag \ 18215deplibs_check_method \ 18216file_magic_cmd \ 18217file_magic_glob \ 18218want_nocaseglob \ 18219sharedlib_from_linklib_cmd \ 18220AR \ 18221AR_FLAGS \ 18222archiver_list_spec \ 18223STRIP \ 18224RANLIB \ 18225CC \ 18226CFLAGS \ 18227compiler \ 18228lt_cv_sys_global_symbol_pipe \ 18229lt_cv_sys_global_symbol_to_cdecl \ 18230lt_cv_sys_global_symbol_to_c_name_address \ 18231lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18232nm_file_list_spec \ 18233lt_prog_compiler_no_builtin_flag \ 18234lt_prog_compiler_pic \ 18235lt_prog_compiler_wl \ 18236lt_prog_compiler_static \ 18237lt_cv_prog_compiler_c_o \ 18238need_locks \ 18239MANIFEST_TOOL \ 18240DSYMUTIL \ 18241NMEDIT \ 18242LIPO \ 18243OTOOL \ 18244OTOOL64 \ 18245shrext_cmds \ 18246export_dynamic_flag_spec \ 18247whole_archive_flag_spec \ 18248compiler_needs_object \ 18249with_gnu_ld \ 18250allow_undefined_flag \ 18251no_undefined_flag \ 18252hardcode_libdir_flag_spec \ 18253hardcode_libdir_separator \ 18254exclude_expsyms \ 18255include_expsyms \ 18256file_list_spec \ 18257variables_saved_for_relink \ 18258libname_spec \ 18259library_names_spec \ 18260soname_spec \ 18261install_override_mode \ 18262finish_eval \ 18263old_striplib \ 18264striplib \ 18265compiler_lib_search_dirs \ 18266predep_objects \ 18267postdep_objects \ 18268predeps \ 18269postdeps \ 18270compiler_lib_search_path \ 18271LD_CXX \ 18272reload_flag_CXX \ 18273compiler_CXX \ 18274lt_prog_compiler_no_builtin_flag_CXX \ 18275lt_prog_compiler_pic_CXX \ 18276lt_prog_compiler_wl_CXX \ 18277lt_prog_compiler_static_CXX \ 18278lt_cv_prog_compiler_c_o_CXX \ 18279export_dynamic_flag_spec_CXX \ 18280whole_archive_flag_spec_CXX \ 18281compiler_needs_object_CXX \ 18282with_gnu_ld_CXX \ 18283allow_undefined_flag_CXX \ 18284no_undefined_flag_CXX \ 18285hardcode_libdir_flag_spec_CXX \ 18286hardcode_libdir_separator_CXX \ 18287exclude_expsyms_CXX \ 18288include_expsyms_CXX \ 18289file_list_spec_CXX \ 18290compiler_lib_search_dirs_CXX \ 18291predep_objects_CXX \ 18292postdep_objects_CXX \ 18293predeps_CXX \ 18294postdeps_CXX \ 18295compiler_lib_search_path_CXX; do 18296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18297 *[\\\\\\\`\\"\\\$]*) 18298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 18299 ;; 18300 *) 18301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18302 ;; 18303 esac 18304done 18305 18306# Double-quote double-evaled strings. 18307for var in reload_cmds \ 18308old_postinstall_cmds \ 18309old_postuninstall_cmds \ 18310old_archive_cmds \ 18311extract_expsyms_cmds \ 18312old_archive_from_new_cmds \ 18313old_archive_from_expsyms_cmds \ 18314archive_cmds \ 18315archive_expsym_cmds \ 18316module_cmds \ 18317module_expsym_cmds \ 18318export_symbols_cmds \ 18319prelink_cmds \ 18320postlink_cmds \ 18321postinstall_cmds \ 18322postuninstall_cmds \ 18323finish_cmds \ 18324sys_lib_search_path_spec \ 18325sys_lib_dlsearch_path_spec \ 18326reload_cmds_CXX \ 18327old_archive_cmds_CXX \ 18328old_archive_from_new_cmds_CXX \ 18329old_archive_from_expsyms_cmds_CXX \ 18330archive_cmds_CXX \ 18331archive_expsym_cmds_CXX \ 18332module_cmds_CXX \ 18333module_expsym_cmds_CXX \ 18334export_symbols_cmds_CXX \ 18335prelink_cmds_CXX \ 18336postlink_cmds_CXX; do 18337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18338 *[\\\\\\\`\\"\\\$]*) 18339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 18340 ;; 18341 *) 18342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18343 ;; 18344 esac 18345done 18346 18347ac_aux_dir='$ac_aux_dir' 18348xsi_shell='$xsi_shell' 18349lt_shell_append='$lt_shell_append' 18350 18351# See if we are running on zsh, and set the options which allow our 18352# commands through without removal of \ escapes INIT. 18353if test -n "\${ZSH_VERSION+set}" ; then 18354 setopt NO_GLOB_SUBST 18355fi 18356 18357 18358 PACKAGE='$PACKAGE' 18359 VERSION='$VERSION' 18360 TIMESTAMP='$TIMESTAMP' 18361 RM='$RM' 18362 ofile='$ofile' 18363 18364 18365 18366 18367 18368 18369_ACEOF 18370 18371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18372 18373# Handling of arguments. 18374for ac_config_target in $ac_config_targets 18375do 18376 case $ac_config_target in 18377 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18378 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18379 "src/pstoedit_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/pstoedit_config.h" ;; 18380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18381 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 18382 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 18383 "config/pstoedit.pc") CONFIG_FILES="$CONFIG_FILES config/pstoedit.pc" ;; 18384 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 18385 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 18386 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 18387 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; 18388 "contrib/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/cairo/Makefile" ;; 18389 "contrib/java/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/java/Makefile" ;; 18390 "contrib/java/java1/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/java/java1/Makefile" ;; 18391 "contrib/java/java2/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/java/java2/Makefile" ;; 18392 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 18393 "misc/swffonts/Makefile") CONFIG_FILES="$CONFIG_FILES misc/swffonts/Makefile" ;; 18394 "os2/Makefile") CONFIG_FILES="$CONFIG_FILES os2/Makefile" ;; 18395 "msdev/Makefile") CONFIG_FILES="$CONFIG_FILES msdev/Makefile" ;; 18396 "othersrc/Makefile") CONFIG_FILES="$CONFIG_FILES othersrc/Makefile" ;; 18397 "othersrc/gsdllinc/Makefile") CONFIG_FILES="$CONFIG_FILES othersrc/gsdllinc/Makefile" ;; 18398 18399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18400 esac 18401done 18402 18403 18404# If the user did not use the arguments to specify the items to instantiate, 18405# then the envvar interface is used. Set only those that are not. 18406# We use the long form for the default assignment because of an extremely 18407# bizarre bug on SunOS 4.1.3. 18408if $ac_need_defaults; then 18409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18411 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18412fi 18413 18414# Have a temporary directory for convenience. Make it in the build tree 18415# simply because there is no reason against having it here, and in addition, 18416# creating and moving files from /tmp can sometimes cause problems. 18417# Hook for its removal unless debugging. 18418# Note that there is a small window in which the directory will not be cleaned: 18419# after its creation but before its name has been assigned to `$tmp'. 18420$debug || 18421{ 18422 tmp= ac_tmp= 18423 trap 'exit_status=$? 18424 : "${ac_tmp:=$tmp}" 18425 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18426' 0 18427 trap 'as_fn_exit 1' 1 2 13 15 18428} 18429# Create a (secure) tmp directory for tmp files. 18430 18431{ 18432 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18433 test -d "$tmp" 18434} || 18435{ 18436 tmp=./conf$$-$RANDOM 18437 (umask 077 && mkdir "$tmp") 18438} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18439ac_tmp=$tmp 18440 18441# Set up the scripts for CONFIG_FILES section. 18442# No need to generate them if there are no CONFIG_FILES. 18443# This happens for instance with `./config.status config.h'. 18444if test -n "$CONFIG_FILES"; then 18445 18446 18447ac_cr=`echo X | tr X '\015'` 18448# On cygwin, bash can eat \r inside `` if the user requested igncr. 18449# But we know of no other shell where ac_cr would be empty at this 18450# point, so we can use a bashism as a fallback. 18451if test "x$ac_cr" = x; then 18452 eval ac_cr=\$\'\\r\' 18453fi 18454ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18455if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18456 ac_cs_awk_cr='\\r' 18457else 18458 ac_cs_awk_cr=$ac_cr 18459fi 18460 18461echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18462_ACEOF 18463 18464 18465{ 18466 echo "cat >conf$$subs.awk <<_ACEOF" && 18467 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18468 echo "_ACEOF" 18469} >conf$$subs.sh || 18470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18471ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18472ac_delim='%!_!# ' 18473for ac_last_try in false false false false false :; do 18474 . ./conf$$subs.sh || 18475 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18476 18477 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18478 if test $ac_delim_n = $ac_delim_num; then 18479 break 18480 elif $ac_last_try; then 18481 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18482 else 18483 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18484 fi 18485done 18486rm -f conf$$subs.sh 18487 18488cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18489cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18490_ACEOF 18491sed -n ' 18492h 18493s/^/S["/; s/!.*/"]=/ 18494p 18495g 18496s/^[^!]*!// 18497:repl 18498t repl 18499s/'"$ac_delim"'$// 18500t delim 18501:nl 18502h 18503s/\(.\{148\}\)..*/\1/ 18504t more1 18505s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18506p 18507n 18508b repl 18509:more1 18510s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18511p 18512g 18513s/.\{148\}// 18514t nl 18515:delim 18516h 18517s/\(.\{148\}\)..*/\1/ 18518t more2 18519s/["\\]/\\&/g; s/^/"/; s/$/"/ 18520p 18521b 18522:more2 18523s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18524p 18525g 18526s/.\{148\}// 18527t delim 18528' <conf$$subs.awk | sed ' 18529/^[^""]/{ 18530 N 18531 s/\n// 18532} 18533' >>$CONFIG_STATUS || ac_write_fail=1 18534rm -f conf$$subs.awk 18535cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18536_ACAWK 18537cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18538 for (key in S) S_is_set[key] = 1 18539 FS = "" 18540 18541} 18542{ 18543 line = $ 0 18544 nfields = split(line, field, "@") 18545 substed = 0 18546 len = length(field[1]) 18547 for (i = 2; i < nfields; i++) { 18548 key = field[i] 18549 keylen = length(key) 18550 if (S_is_set[key]) { 18551 value = S[key] 18552 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18553 len += length(value) + length(field[++i]) 18554 substed = 1 18555 } else 18556 len += 1 + keylen 18557 } 18558 18559 print line 18560} 18561 18562_ACAWK 18563_ACEOF 18564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18565if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18566 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18567else 18568 cat 18569fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18570 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18571_ACEOF 18572 18573# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18574# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18575# trailing colons and then remove the whole line if VPATH becomes empty 18576# (actually we leave an empty line to preserve line numbers). 18577if test "x$srcdir" = x.; then 18578 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18579h 18580s/// 18581s/^/:/ 18582s/[ ]*$/:/ 18583s/:\$(srcdir):/:/g 18584s/:\${srcdir}:/:/g 18585s/:@srcdir@:/:/g 18586s/^:*// 18587s/:*$// 18588x 18589s/\(=[ ]*\).*/\1/ 18590G 18591s/\n// 18592s/^[^=]*=[ ]*$// 18593}' 18594fi 18595 18596cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18597fi # test -n "$CONFIG_FILES" 18598 18599# Set up the scripts for CONFIG_HEADERS section. 18600# No need to generate them if there are no CONFIG_HEADERS. 18601# This happens for instance with `./config.status Makefile'. 18602if test -n "$CONFIG_HEADERS"; then 18603cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18604BEGIN { 18605_ACEOF 18606 18607# Transform confdefs.h into an awk script `defines.awk', embedded as 18608# here-document in config.status, that substitutes the proper values into 18609# config.h.in to produce config.h. 18610 18611# Create a delimiter string that does not exist in confdefs.h, to ease 18612# handling of long lines. 18613ac_delim='%!_!# ' 18614for ac_last_try in false false :; do 18615 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18616 if test -z "$ac_tt"; then 18617 break 18618 elif $ac_last_try; then 18619 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18620 else 18621 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18622 fi 18623done 18624 18625# For the awk script, D is an array of macro values keyed by name, 18626# likewise P contains macro parameters if any. Preserve backslash 18627# newline sequences. 18628 18629ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18630sed -n ' 18631s/.\{148\}/&'"$ac_delim"'/g 18632t rset 18633:rset 18634s/^[ ]*#[ ]*define[ ][ ]*/ / 18635t def 18636d 18637:def 18638s/\\$// 18639t bsnl 18640s/["\\]/\\&/g 18641s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18642D["\1"]=" \3"/p 18643s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18644d 18645:bsnl 18646s/["\\]/\\&/g 18647s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18648D["\1"]=" \3\\\\\\n"\\/p 18649t cont 18650s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18651t cont 18652d 18653:cont 18654n 18655s/.\{148\}/&'"$ac_delim"'/g 18656t clear 18657:clear 18658s/\\$// 18659t bsnlc 18660s/["\\]/\\&/g; s/^/"/; s/$/"/p 18661d 18662:bsnlc 18663s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18664b cont 18665' <confdefs.h | sed ' 18666s/'"$ac_delim"'/"\\\ 18667"/g' >>$CONFIG_STATUS || ac_write_fail=1 18668 18669cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18670 for (key in D) D_is_set[key] = 1 18671 FS = "" 18672} 18673/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18674 line = \$ 0 18675 split(line, arg, " ") 18676 if (arg[1] == "#") { 18677 defundef = arg[2] 18678 mac1 = arg[3] 18679 } else { 18680 defundef = substr(arg[1], 2) 18681 mac1 = arg[2] 18682 } 18683 split(mac1, mac2, "(") #) 18684 macro = mac2[1] 18685 prefix = substr(line, 1, index(line, defundef) - 1) 18686 if (D_is_set[macro]) { 18687 # Preserve the white space surrounding the "#". 18688 print prefix "define", macro P[macro] D[macro] 18689 next 18690 } else { 18691 # Replace #undef with comments. This is necessary, for example, 18692 # in the case of _POSIX_SOURCE, which is predefined and required 18693 # on some systems where configure will not decide to define it. 18694 if (defundef == "undef") { 18695 print "/*", prefix defundef, macro, "*/" 18696 next 18697 } 18698 } 18699} 18700{ print } 18701_ACAWK 18702_ACEOF 18703cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18704 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18705fi # test -n "$CONFIG_HEADERS" 18706 18707 18708eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18709shift 18710for ac_tag 18711do 18712 case $ac_tag in 18713 :[FHLC]) ac_mode=$ac_tag; continue;; 18714 esac 18715 case $ac_mode$ac_tag in 18716 :[FHL]*:*);; 18717 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18718 :[FH]-) ac_tag=-:-;; 18719 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18720 esac 18721 ac_save_IFS=$IFS 18722 IFS=: 18723 set x $ac_tag 18724 IFS=$ac_save_IFS 18725 shift 18726 ac_file=$1 18727 shift 18728 18729 case $ac_mode in 18730 :L) ac_source=$1;; 18731 :[FH]) 18732 ac_file_inputs= 18733 for ac_f 18734 do 18735 case $ac_f in 18736 -) ac_f="$ac_tmp/stdin";; 18737 *) # Look for the file first in the build tree, then in the source tree 18738 # (if the path is not absolute). The absolute path cannot be DOS-style, 18739 # because $ac_f cannot contain `:'. 18740 test -f "$ac_f" || 18741 case $ac_f in 18742 [\\/$]*) false;; 18743 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18744 esac || 18745 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18746 esac 18747 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18748 as_fn_append ac_file_inputs " '$ac_f'" 18749 done 18750 18751 # Let's still pretend it is `configure' which instantiates (i.e., don't 18752 # use $as_me), people would be surprised to read: 18753 # /* config.h. Generated by config.status. */ 18754 configure_input='Generated from '` 18755 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18756 `' by configure.' 18757 if test x"$ac_file" != x-; then 18758 configure_input="$ac_file. $configure_input" 18759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18760$as_echo "$as_me: creating $ac_file" >&6;} 18761 fi 18762 # Neutralize special characters interpreted by sed in replacement strings. 18763 case $configure_input in #( 18764 *\&* | *\|* | *\\* ) 18765 ac_sed_conf_input=`$as_echo "$configure_input" | 18766 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18767 *) ac_sed_conf_input=$configure_input;; 18768 esac 18769 18770 case $ac_tag in 18771 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18773 esac 18774 ;; 18775 esac 18776 18777 ac_dir=`$as_dirname -- "$ac_file" || 18778$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18779 X"$ac_file" : 'X\(//\)[^/]' \| \ 18780 X"$ac_file" : 'X\(//\)$' \| \ 18781 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18782$as_echo X"$ac_file" | 18783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18784 s//\1/ 18785 q 18786 } 18787 /^X\(\/\/\)[^/].*/{ 18788 s//\1/ 18789 q 18790 } 18791 /^X\(\/\/\)$/{ 18792 s//\1/ 18793 q 18794 } 18795 /^X\(\/\).*/{ 18796 s//\1/ 18797 q 18798 } 18799 s/.*/./; q'` 18800 as_dir="$ac_dir"; as_fn_mkdir_p 18801 ac_builddir=. 18802 18803case "$ac_dir" in 18804.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18805*) 18806 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18807 # A ".." for each directory in $ac_dir_suffix. 18808 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18809 case $ac_top_builddir_sub in 18810 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18811 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18812 esac ;; 18813esac 18814ac_abs_top_builddir=$ac_pwd 18815ac_abs_builddir=$ac_pwd$ac_dir_suffix 18816# for backward compatibility: 18817ac_top_builddir=$ac_top_build_prefix 18818 18819case $srcdir in 18820 .) # We are building in place. 18821 ac_srcdir=. 18822 ac_top_srcdir=$ac_top_builddir_sub 18823 ac_abs_top_srcdir=$ac_pwd ;; 18824 [\\/]* | ?:[\\/]* ) # Absolute name. 18825 ac_srcdir=$srcdir$ac_dir_suffix; 18826 ac_top_srcdir=$srcdir 18827 ac_abs_top_srcdir=$srcdir ;; 18828 *) # Relative name. 18829 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18830 ac_top_srcdir=$ac_top_build_prefix$srcdir 18831 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18832esac 18833ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18834 18835 18836 case $ac_mode in 18837 :F) 18838 # 18839 # CONFIG_FILE 18840 # 18841 18842 case $INSTALL in 18843 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18844 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18845 esac 18846 ac_MKDIR_P=$MKDIR_P 18847 case $MKDIR_P in 18848 [\\/$]* | ?:[\\/]* ) ;; 18849 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18850 esac 18851_ACEOF 18852 18853cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18854# If the template does not know about datarootdir, expand it. 18855# FIXME: This hack should be removed a few years after 2.60. 18856ac_datarootdir_hack=; ac_datarootdir_seen= 18857ac_sed_dataroot=' 18858/datarootdir/ { 18859 p 18860 q 18861} 18862/@datadir@/p 18863/@docdir@/p 18864/@infodir@/p 18865/@localedir@/p 18866/@mandir@/p' 18867case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18868*datarootdir*) ac_datarootdir_seen=yes;; 18869*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18871$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18872_ACEOF 18873cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18874 ac_datarootdir_hack=' 18875 s&@datadir@&$datadir&g 18876 s&@docdir@&$docdir&g 18877 s&@infodir@&$infodir&g 18878 s&@localedir@&$localedir&g 18879 s&@mandir@&$mandir&g 18880 s&\\\${datarootdir}&$datarootdir&g' ;; 18881esac 18882_ACEOF 18883 18884# Neutralize VPATH when `$srcdir' = `.'. 18885# Shell code in configure.ac might set extrasub. 18886# FIXME: do we really want to maintain this feature? 18887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18888ac_sed_extra="$ac_vpsub 18889$extrasub 18890_ACEOF 18891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18892:t 18893/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18894s|@configure_input@|$ac_sed_conf_input|;t t 18895s&@top_builddir@&$ac_top_builddir_sub&;t t 18896s&@top_build_prefix@&$ac_top_build_prefix&;t t 18897s&@srcdir@&$ac_srcdir&;t t 18898s&@abs_srcdir@&$ac_abs_srcdir&;t t 18899s&@top_srcdir@&$ac_top_srcdir&;t t 18900s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18901s&@builddir@&$ac_builddir&;t t 18902s&@abs_builddir@&$ac_abs_builddir&;t t 18903s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18904s&@INSTALL@&$ac_INSTALL&;t t 18905s&@MKDIR_P@&$ac_MKDIR_P&;t t 18906$ac_datarootdir_hack 18907" 18908eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18909 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18910 18911test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18912 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18913 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18914 "$ac_tmp/out"`; test -z "$ac_out"; } && 18915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18916which seems to be undefined. Please make sure it is defined" >&5 18917$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18918which seems to be undefined. Please make sure it is defined" >&2;} 18919 18920 rm -f "$ac_tmp/stdin" 18921 case $ac_file in 18922 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18923 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18924 esac \ 18925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18926 ;; 18927 :H) 18928 # 18929 # CONFIG_HEADER 18930 # 18931 if test x"$ac_file" != x-; then 18932 { 18933 $as_echo "/* $configure_input */" \ 18934 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18935 } >"$ac_tmp/config.h" \ 18936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18937 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18938 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18939$as_echo "$as_me: $ac_file is unchanged" >&6;} 18940 else 18941 rm -f "$ac_file" 18942 mv "$ac_tmp/config.h" "$ac_file" \ 18943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18944 fi 18945 else 18946 $as_echo "/* $configure_input */" \ 18947 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18948 || as_fn_error $? "could not create -" "$LINENO" 5 18949 fi 18950# Compute "$ac_file"'s index in $config_headers. 18951_am_arg="$ac_file" 18952_am_stamp_count=1 18953for _am_header in $config_headers :; do 18954 case $_am_header in 18955 $_am_arg | $_am_arg:* ) 18956 break ;; 18957 * ) 18958 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18959 esac 18960done 18961echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18962$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18963 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18964 X"$_am_arg" : 'X\(//\)$' \| \ 18965 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18966$as_echo X"$_am_arg" | 18967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18968 s//\1/ 18969 q 18970 } 18971 /^X\(\/\/\)[^/].*/{ 18972 s//\1/ 18973 q 18974 } 18975 /^X\(\/\/\)$/{ 18976 s//\1/ 18977 q 18978 } 18979 /^X\(\/\).*/{ 18980 s//\1/ 18981 q 18982 } 18983 s/.*/./; q'`/stamp-h$_am_stamp_count 18984 ;; 18985 18986 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18987$as_echo "$as_me: executing $ac_file commands" >&6;} 18988 ;; 18989 esac 18990 18991 18992 case $ac_file$ac_mode in 18993 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18994 # Autoconf 2.62 quotes --file arguments for eval, but not when files 18995 # are listed without --file. Let's play safe and only enable the eval 18996 # if we detect the quoting. 18997 case $CONFIG_FILES in 18998 *\'*) eval set x "$CONFIG_FILES" ;; 18999 *) set x $CONFIG_FILES ;; 19000 esac 19001 shift 19002 for mf 19003 do 19004 # Strip MF so we end up with the name of the file. 19005 mf=`echo "$mf" | sed -e 's/:.*$//'` 19006 # Check whether this is an Automake generated Makefile or not. 19007 # We used to match only the files named `Makefile.in', but 19008 # some people rename them; so instead we look at the file content. 19009 # Grep'ing the first line is not enough: some people post-process 19010 # each Makefile.in and add a new line on top of each file to say so. 19011 # Grep'ing the whole file is not good either: AIX grep has a line 19012 # limit of 2048, but all sed's we know have understand at least 4000. 19013 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19014 dirpart=`$as_dirname -- "$mf" || 19015$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19016 X"$mf" : 'X\(//\)[^/]' \| \ 19017 X"$mf" : 'X\(//\)$' \| \ 19018 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19019$as_echo X"$mf" | 19020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19021 s//\1/ 19022 q 19023 } 19024 /^X\(\/\/\)[^/].*/{ 19025 s//\1/ 19026 q 19027 } 19028 /^X\(\/\/\)$/{ 19029 s//\1/ 19030 q 19031 } 19032 /^X\(\/\).*/{ 19033 s//\1/ 19034 q 19035 } 19036 s/.*/./; q'` 19037 else 19038 continue 19039 fi 19040 # Extract the definition of DEPDIR, am__include, and am__quote 19041 # from the Makefile without running `make'. 19042 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19043 test -z "$DEPDIR" && continue 19044 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19045 test -z "am__include" && continue 19046 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19047 # When using ansi2knr, U may be empty or an underscore; expand it 19048 U=`sed -n 's/^U = //p' < "$mf"` 19049 # Find all dependency output files, they are included files with 19050 # $(DEPDIR) in their names. We invoke sed twice because it is the 19051 # simplest approach to changing $(DEPDIR) to its actual value in the 19052 # expansion. 19053 for file in `sed -n " 19054 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19055 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 19056 # Make sure the directory exists. 19057 test -f "$dirpart/$file" && continue 19058 fdir=`$as_dirname -- "$file" || 19059$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19060 X"$file" : 'X\(//\)[^/]' \| \ 19061 X"$file" : 'X\(//\)$' \| \ 19062 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19063$as_echo X"$file" | 19064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19065 s//\1/ 19066 q 19067 } 19068 /^X\(\/\/\)[^/].*/{ 19069 s//\1/ 19070 q 19071 } 19072 /^X\(\/\/\)$/{ 19073 s//\1/ 19074 q 19075 } 19076 /^X\(\/\).*/{ 19077 s//\1/ 19078 q 19079 } 19080 s/.*/./; q'` 19081 as_dir=$dirpart/$fdir; as_fn_mkdir_p 19082 # echo "creating $dirpart/$file" 19083 echo '# dummy' > "$dirpart/$file" 19084 done 19085 done 19086} 19087 ;; 19088 "libtool":C) 19089 19090 # See if we are running on zsh, and set the options which allow our 19091 # commands through without removal of \ escapes. 19092 if test -n "${ZSH_VERSION+set}" ; then 19093 setopt NO_GLOB_SUBST 19094 fi 19095 19096 cfgfile="${ofile}T" 19097 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19098 $RM "$cfgfile" 19099 19100 cat <<_LT_EOF >> "$cfgfile" 19101#! $SHELL 19102 19103# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 19104# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 19105# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19106# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19107# 19108# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19109# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 19110# Foundation, Inc. 19111# Written by Gordon Matzigkeit, 1996 19112# 19113# This file is part of GNU Libtool. 19114# 19115# GNU Libtool is free software; you can redistribute it and/or 19116# modify it under the terms of the GNU General Public License as 19117# published by the Free Software Foundation; either version 2 of 19118# the License, or (at your option) any later version. 19119# 19120# As a special exception to the GNU General Public License, 19121# if you distribute this file as part of a program or library that 19122# is built using GNU Libtool, you may include this file under the 19123# same distribution terms that you use for the rest of that program. 19124# 19125# GNU Libtool is distributed in the hope that it will be useful, 19126# but WITHOUT ANY WARRANTY; without even the implied warranty of 19127# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19128# GNU General Public License for more details. 19129# 19130# You should have received a copy of the GNU General Public License 19131# along with GNU Libtool; see the file COPYING. If not, a copy 19132# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 19133# obtained by writing to the Free Software Foundation, Inc., 19134# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19135 19136 19137# The names of the tagged configurations supported by this script. 19138available_tags="CXX " 19139 19140# ### BEGIN LIBTOOL CONFIG 19141 19142# Whether or not to build static libraries. 19143build_old_libs=$enable_static 19144 19145# Assembler program. 19146AS=$lt_AS 19147 19148# DLL creation program. 19149DLLTOOL=$lt_DLLTOOL 19150 19151# Object dumper program. 19152OBJDUMP=$lt_OBJDUMP 19153 19154# Which release of libtool.m4 was used? 19155macro_version=$macro_version 19156macro_revision=$macro_revision 19157 19158# Whether or not to build shared libraries. 19159build_libtool_libs=$enable_shared 19160 19161# What type of objects to build. 19162pic_mode=$pic_mode 19163 19164# Whether or not to optimize for fast installation. 19165fast_install=$enable_fast_install 19166 19167# Shell to use when invoking shell scripts. 19168SHELL=$lt_SHELL 19169 19170# An echo program that protects backslashes. 19171ECHO=$lt_ECHO 19172 19173# The PATH separator for the build system. 19174PATH_SEPARATOR=$lt_PATH_SEPARATOR 19175 19176# The host system. 19177host_alias=$host_alias 19178host=$host 19179host_os=$host_os 19180 19181# The build system. 19182build_alias=$build_alias 19183build=$build 19184build_os=$build_os 19185 19186# A sed program that does not truncate output. 19187SED=$lt_SED 19188 19189# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19190Xsed="\$SED -e 1s/^X//" 19191 19192# A grep program that handles long lines. 19193GREP=$lt_GREP 19194 19195# An ERE matcher. 19196EGREP=$lt_EGREP 19197 19198# A literal string matcher. 19199FGREP=$lt_FGREP 19200 19201# A BSD- or MS-compatible name lister. 19202NM=$lt_NM 19203 19204# Whether we need soft or hard links. 19205LN_S=$lt_LN_S 19206 19207# What is the maximum length of a command? 19208max_cmd_len=$max_cmd_len 19209 19210# Object file suffix (normally "o"). 19211objext=$ac_objext 19212 19213# Executable file suffix (normally ""). 19214exeext=$exeext 19215 19216# whether the shell understands "unset". 19217lt_unset=$lt_unset 19218 19219# turn spaces into newlines. 19220SP2NL=$lt_lt_SP2NL 19221 19222# turn newlines into spaces. 19223NL2SP=$lt_lt_NL2SP 19224 19225# convert \$build file names to \$host format. 19226to_host_file_cmd=$lt_cv_to_host_file_cmd 19227 19228# convert \$build files to toolchain format. 19229to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19230 19231# Method to check whether dependent libraries are shared objects. 19232deplibs_check_method=$lt_deplibs_check_method 19233 19234# Command to use when deplibs_check_method = "file_magic". 19235file_magic_cmd=$lt_file_magic_cmd 19236 19237# How to find potential files when deplibs_check_method = "file_magic". 19238file_magic_glob=$lt_file_magic_glob 19239 19240# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19241want_nocaseglob=$lt_want_nocaseglob 19242 19243# Command to associate shared and link libraries. 19244sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19245 19246# The archiver. 19247AR=$lt_AR 19248 19249# Flags to create an archive. 19250AR_FLAGS=$lt_AR_FLAGS 19251 19252# How to feed a file listing to the archiver. 19253archiver_list_spec=$lt_archiver_list_spec 19254 19255# A symbol stripping program. 19256STRIP=$lt_STRIP 19257 19258# Commands used to install an old-style archive. 19259RANLIB=$lt_RANLIB 19260old_postinstall_cmds=$lt_old_postinstall_cmds 19261old_postuninstall_cmds=$lt_old_postuninstall_cmds 19262 19263# Whether to use a lock for old archive extraction. 19264lock_old_archive_extraction=$lock_old_archive_extraction 19265 19266# A C compiler. 19267LTCC=$lt_CC 19268 19269# LTCC compiler flags. 19270LTCFLAGS=$lt_CFLAGS 19271 19272# Take the output of nm and produce a listing of raw symbols and C names. 19273global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19274 19275# Transform the output of nm in a proper C declaration. 19276global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19277 19278# Transform the output of nm in a C name address pair. 19279global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19280 19281# Transform the output of nm in a C name address pair when lib prefix is needed. 19282global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19283 19284# Specify filename containing input files for \$NM. 19285nm_file_list_spec=$lt_nm_file_list_spec 19286 19287# The root where to search for dependent libraries,and in which our libraries should be installed. 19288lt_sysroot=$lt_sysroot 19289 19290# The name of the directory that contains temporary libtool files. 19291objdir=$objdir 19292 19293# Used to examine libraries when file_magic_cmd begins with "file". 19294MAGIC_CMD=$MAGIC_CMD 19295 19296# Must we lock files when doing compilation? 19297need_locks=$lt_need_locks 19298 19299# Manifest tool. 19300MANIFEST_TOOL=$lt_MANIFEST_TOOL 19301 19302# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19303DSYMUTIL=$lt_DSYMUTIL 19304 19305# Tool to change global to local symbols on Mac OS X. 19306NMEDIT=$lt_NMEDIT 19307 19308# Tool to manipulate fat objects and archives on Mac OS X. 19309LIPO=$lt_LIPO 19310 19311# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19312OTOOL=$lt_OTOOL 19313 19314# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19315OTOOL64=$lt_OTOOL64 19316 19317# Old archive suffix (normally "a"). 19318libext=$libext 19319 19320# Shared library suffix (normally ".so"). 19321shrext_cmds=$lt_shrext_cmds 19322 19323# The commands to extract the exported symbol list from a shared archive. 19324extract_expsyms_cmds=$lt_extract_expsyms_cmds 19325 19326# Variables whose values should be saved in libtool wrapper scripts and 19327# restored at link time. 19328variables_saved_for_relink=$lt_variables_saved_for_relink 19329 19330# Do we need the "lib" prefix for modules? 19331need_lib_prefix=$need_lib_prefix 19332 19333# Do we need a version for libraries? 19334need_version=$need_version 19335 19336# Library versioning type. 19337version_type=$version_type 19338 19339# Shared library runtime path variable. 19340runpath_var=$runpath_var 19341 19342# Shared library path variable. 19343shlibpath_var=$shlibpath_var 19344 19345# Is shlibpath searched before the hard-coded library search path? 19346shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19347 19348# Format of library name prefix. 19349libname_spec=$lt_libname_spec 19350 19351# List of archive names. First name is the real one, the rest are links. 19352# The last name is the one that the linker finds with -lNAME 19353library_names_spec=$lt_library_names_spec 19354 19355# The coded name of the library, if different from the real name. 19356soname_spec=$lt_soname_spec 19357 19358# Permission mode override for installation of shared libraries. 19359install_override_mode=$lt_install_override_mode 19360 19361# Command to use after installation of a shared archive. 19362postinstall_cmds=$lt_postinstall_cmds 19363 19364# Command to use after uninstallation of a shared archive. 19365postuninstall_cmds=$lt_postuninstall_cmds 19366 19367# Commands used to finish a libtool library installation in a directory. 19368finish_cmds=$lt_finish_cmds 19369 19370# As "finish_cmds", except a single script fragment to be evaled but 19371# not shown. 19372finish_eval=$lt_finish_eval 19373 19374# Whether we should hardcode library paths into libraries. 19375hardcode_into_libs=$hardcode_into_libs 19376 19377# Compile-time system search path for libraries. 19378sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19379 19380# Run-time system search path for libraries. 19381sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19382 19383# Whether dlopen is supported. 19384dlopen_support=$enable_dlopen 19385 19386# Whether dlopen of programs is supported. 19387dlopen_self=$enable_dlopen_self 19388 19389# Whether dlopen of statically linked programs is supported. 19390dlopen_self_static=$enable_dlopen_self_static 19391 19392# Commands to strip libraries. 19393old_striplib=$lt_old_striplib 19394striplib=$lt_striplib 19395 19396 19397# The linker used to build libraries. 19398LD=$lt_LD 19399 19400# How to create reloadable object files. 19401reload_flag=$lt_reload_flag 19402reload_cmds=$lt_reload_cmds 19403 19404# Commands used to build an old-style archive. 19405old_archive_cmds=$lt_old_archive_cmds 19406 19407# A language specific compiler. 19408CC=$lt_compiler 19409 19410# Is the compiler the GNU compiler? 19411with_gcc=$GCC 19412 19413# Compiler flag to turn off builtin functions. 19414no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19415 19416# Additional compiler flags for building library objects. 19417pic_flag=$lt_lt_prog_compiler_pic 19418 19419# How to pass a linker flag through the compiler. 19420wl=$lt_lt_prog_compiler_wl 19421 19422# Compiler flag to prevent dynamic linking. 19423link_static_flag=$lt_lt_prog_compiler_static 19424 19425# Does compiler simultaneously support -c and -o options? 19426compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19427 19428# Whether or not to add -lc for building shared libraries. 19429build_libtool_need_lc=$archive_cmds_need_lc 19430 19431# Whether or not to disallow shared libs when runtime libs are static. 19432allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19433 19434# Compiler flag to allow reflexive dlopens. 19435export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19436 19437# Compiler flag to generate shared objects directly from archives. 19438whole_archive_flag_spec=$lt_whole_archive_flag_spec 19439 19440# Whether the compiler copes with passing no objects directly. 19441compiler_needs_object=$lt_compiler_needs_object 19442 19443# Create an old-style archive from a shared archive. 19444old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19445 19446# Create a temporary old-style archive to link instead of a shared archive. 19447old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19448 19449# Commands used to build a shared archive. 19450archive_cmds=$lt_archive_cmds 19451archive_expsym_cmds=$lt_archive_expsym_cmds 19452 19453# Commands used to build a loadable module if different from building 19454# a shared archive. 19455module_cmds=$lt_module_cmds 19456module_expsym_cmds=$lt_module_expsym_cmds 19457 19458# Whether we are building with GNU ld or not. 19459with_gnu_ld=$lt_with_gnu_ld 19460 19461# Flag that allows shared libraries with undefined symbols to be built. 19462allow_undefined_flag=$lt_allow_undefined_flag 19463 19464# Flag that enforces no undefined symbols. 19465no_undefined_flag=$lt_no_undefined_flag 19466 19467# Flag to hardcode \$libdir into a binary during linking. 19468# This must work even if \$libdir does not exist 19469hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19470 19471# Whether we need a single "-rpath" flag with a separated argument. 19472hardcode_libdir_separator=$lt_hardcode_libdir_separator 19473 19474# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19475# DIR into the resulting binary. 19476hardcode_direct=$hardcode_direct 19477 19478# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19479# DIR into the resulting binary and the resulting library dependency is 19480# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19481# library is relocated. 19482hardcode_direct_absolute=$hardcode_direct_absolute 19483 19484# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19485# into the resulting binary. 19486hardcode_minus_L=$hardcode_minus_L 19487 19488# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19489# into the resulting binary. 19490hardcode_shlibpath_var=$hardcode_shlibpath_var 19491 19492# Set to "yes" if building a shared library automatically hardcodes DIR 19493# into the library and all subsequent libraries and executables linked 19494# against it. 19495hardcode_automatic=$hardcode_automatic 19496 19497# Set to yes if linker adds runtime paths of dependent libraries 19498# to runtime path list. 19499inherit_rpath=$inherit_rpath 19500 19501# Whether libtool must link a program against all its dependency libraries. 19502link_all_deplibs=$link_all_deplibs 19503 19504# Set to "yes" if exported symbols are required. 19505always_export_symbols=$always_export_symbols 19506 19507# The commands to list exported symbols. 19508export_symbols_cmds=$lt_export_symbols_cmds 19509 19510# Symbols that should not be listed in the preloaded symbols. 19511exclude_expsyms=$lt_exclude_expsyms 19512 19513# Symbols that must always be exported. 19514include_expsyms=$lt_include_expsyms 19515 19516# Commands necessary for linking programs (against libraries) with templates. 19517prelink_cmds=$lt_prelink_cmds 19518 19519# Commands necessary for finishing linking programs. 19520postlink_cmds=$lt_postlink_cmds 19521 19522# Specify filename containing input files. 19523file_list_spec=$lt_file_list_spec 19524 19525# How to hardcode a shared library path into an executable. 19526hardcode_action=$hardcode_action 19527 19528# The directories searched by this compiler when creating a shared library. 19529compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 19530 19531# Dependencies to place before and after the objects being linked to 19532# create a shared library. 19533predep_objects=$lt_predep_objects 19534postdep_objects=$lt_postdep_objects 19535predeps=$lt_predeps 19536postdeps=$lt_postdeps 19537 19538# The library search path used internally by the compiler when linking 19539# a shared library. 19540compiler_lib_search_path=$lt_compiler_lib_search_path 19541 19542# ### END LIBTOOL CONFIG 19543 19544_LT_EOF 19545 19546 case $host_os in 19547 aix3*) 19548 cat <<\_LT_EOF >> "$cfgfile" 19549# AIX sometimes has problems with the GCC collect2 program. For some 19550# reason, if we set the COLLECT_NAMES environment variable, the problems 19551# vanish in a puff of smoke. 19552if test "X${COLLECT_NAMES+set}" != Xset; then 19553 COLLECT_NAMES= 19554 export COLLECT_NAMES 19555fi 19556_LT_EOF 19557 ;; 19558 esac 19559 19560 19561ltmain="$ac_aux_dir/ltmain.sh" 19562 19563 19564 # We use sed instead of cat because bash on DJGPP gets confused if 19565 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19566 # text mode, it properly converts lines to CR/LF. This bash problem 19567 # is reportedly fixed, but why not run on old versions too? 19568 sed '$q' "$ltmain" >> "$cfgfile" \ 19569 || (rm -f "$cfgfile"; exit 1) 19570 19571 if test x"$xsi_shell" = xyes; then 19572 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 19573func_dirname ()\ 19574{\ 19575\ case ${1} in\ 19576\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19577\ * ) func_dirname_result="${3}" ;;\ 19578\ esac\ 19579} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 19580 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19581 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19582test 0 -eq $? || _lt_function_replace_fail=: 19583 19584 19585 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 19586func_basename ()\ 19587{\ 19588\ func_basename_result="${1##*/}"\ 19589} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19590 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19592test 0 -eq $? || _lt_function_replace_fail=: 19593 19594 19595 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 19596func_dirname_and_basename ()\ 19597{\ 19598\ case ${1} in\ 19599\ */*) func_dirname_result="${1%/*}${2}" ;;\ 19600\ * ) func_dirname_result="${3}" ;;\ 19601\ esac\ 19602\ func_basename_result="${1##*/}"\ 19603} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 19604 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19606test 0 -eq $? || _lt_function_replace_fail=: 19607 19608 19609 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 19610func_stripname ()\ 19611{\ 19612\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 19613\ # positional parameters, so assign one to ordinary parameter first.\ 19614\ func_stripname_result=${3}\ 19615\ func_stripname_result=${func_stripname_result#"${1}"}\ 19616\ func_stripname_result=${func_stripname_result%"${2}"}\ 19617} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 19618 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19620test 0 -eq $? || _lt_function_replace_fail=: 19621 19622 19623 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 19624func_split_long_opt ()\ 19625{\ 19626\ func_split_long_opt_name=${1%%=*}\ 19627\ func_split_long_opt_arg=${1#*=}\ 19628} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19629 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19630 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19631test 0 -eq $? || _lt_function_replace_fail=: 19632 19633 19634 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 19635func_split_short_opt ()\ 19636{\ 19637\ func_split_short_opt_arg=${1#??}\ 19638\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 19639} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 19640 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19642test 0 -eq $? || _lt_function_replace_fail=: 19643 19644 19645 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 19646func_lo2o ()\ 19647{\ 19648\ case ${1} in\ 19649\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 19650\ *) func_lo2o_result=${1} ;;\ 19651\ esac\ 19652} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 19653 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19654 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19655test 0 -eq $? || _lt_function_replace_fail=: 19656 19657 19658 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 19659func_xform ()\ 19660{\ 19661 func_xform_result=${1%.*}.lo\ 19662} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 19663 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19665test 0 -eq $? || _lt_function_replace_fail=: 19666 19667 19668 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 19669func_arith ()\ 19670{\ 19671 func_arith_result=$(( $* ))\ 19672} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 19673 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19675test 0 -eq $? || _lt_function_replace_fail=: 19676 19677 19678 sed -e '/^func_len ()$/,/^} # func_len /c\ 19679func_len ()\ 19680{\ 19681 func_len_result=${#1}\ 19682} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 19683 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19684 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19685test 0 -eq $? || _lt_function_replace_fail=: 19686 19687fi 19688 19689if test x"$lt_shell_append" = xyes; then 19690 sed -e '/^func_append ()$/,/^} # func_append /c\ 19691func_append ()\ 19692{\ 19693 eval "${1}+=\\${2}"\ 19694} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 19695 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19696 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19697test 0 -eq $? || _lt_function_replace_fail=: 19698 19699 19700 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 19701func_append_quoted ()\ 19702{\ 19703\ func_quote_for_eval "${2}"\ 19704\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 19705} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 19706 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19707 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19708test 0 -eq $? || _lt_function_replace_fail=: 19709 19710 19711 # Save a `func_append' function call where possible by direct use of '+=' 19712 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 19713 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19714 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19715 test 0 -eq $? || _lt_function_replace_fail=: 19716else 19717 # Save a `func_append' function call even when '+=' is not available 19718 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 19719 && mv -f "$cfgfile.tmp" "$cfgfile" \ 19720 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 19721 test 0 -eq $? || _lt_function_replace_fail=: 19722fi 19723 19724if test x"$_lt_function_replace_fail" = x":"; then 19725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 19726$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 19727fi 19728 19729 19730 mv -f "$cfgfile" "$ofile" || 19731 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19732 chmod +x "$ofile" 19733 19734 19735 cat <<_LT_EOF >> "$ofile" 19736 19737# ### BEGIN LIBTOOL TAG CONFIG: CXX 19738 19739# The linker used to build libraries. 19740LD=$lt_LD_CXX 19741 19742# How to create reloadable object files. 19743reload_flag=$lt_reload_flag_CXX 19744reload_cmds=$lt_reload_cmds_CXX 19745 19746# Commands used to build an old-style archive. 19747old_archive_cmds=$lt_old_archive_cmds_CXX 19748 19749# A language specific compiler. 19750CC=$lt_compiler_CXX 19751 19752# Is the compiler the GNU compiler? 19753with_gcc=$GCC_CXX 19754 19755# Compiler flag to turn off builtin functions. 19756no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 19757 19758# Additional compiler flags for building library objects. 19759pic_flag=$lt_lt_prog_compiler_pic_CXX 19760 19761# How to pass a linker flag through the compiler. 19762wl=$lt_lt_prog_compiler_wl_CXX 19763 19764# Compiler flag to prevent dynamic linking. 19765link_static_flag=$lt_lt_prog_compiler_static_CXX 19766 19767# Does compiler simultaneously support -c and -o options? 19768compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 19769 19770# Whether or not to add -lc for building shared libraries. 19771build_libtool_need_lc=$archive_cmds_need_lc_CXX 19772 19773# Whether or not to disallow shared libs when runtime libs are static. 19774allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 19775 19776# Compiler flag to allow reflexive dlopens. 19777export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 19778 19779# Compiler flag to generate shared objects directly from archives. 19780whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 19781 19782# Whether the compiler copes with passing no objects directly. 19783compiler_needs_object=$lt_compiler_needs_object_CXX 19784 19785# Create an old-style archive from a shared archive. 19786old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 19787 19788# Create a temporary old-style archive to link instead of a shared archive. 19789old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 19790 19791# Commands used to build a shared archive. 19792archive_cmds=$lt_archive_cmds_CXX 19793archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 19794 19795# Commands used to build a loadable module if different from building 19796# a shared archive. 19797module_cmds=$lt_module_cmds_CXX 19798module_expsym_cmds=$lt_module_expsym_cmds_CXX 19799 19800# Whether we are building with GNU ld or not. 19801with_gnu_ld=$lt_with_gnu_ld_CXX 19802 19803# Flag that allows shared libraries with undefined symbols to be built. 19804allow_undefined_flag=$lt_allow_undefined_flag_CXX 19805 19806# Flag that enforces no undefined symbols. 19807no_undefined_flag=$lt_no_undefined_flag_CXX 19808 19809# Flag to hardcode \$libdir into a binary during linking. 19810# This must work even if \$libdir does not exist 19811hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 19812 19813# Whether we need a single "-rpath" flag with a separated argument. 19814hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 19815 19816# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19817# DIR into the resulting binary. 19818hardcode_direct=$hardcode_direct_CXX 19819 19820# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19821# DIR into the resulting binary and the resulting library dependency is 19822# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19823# library is relocated. 19824hardcode_direct_absolute=$hardcode_direct_absolute_CXX 19825 19826# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19827# into the resulting binary. 19828hardcode_minus_L=$hardcode_minus_L_CXX 19829 19830# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19831# into the resulting binary. 19832hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 19833 19834# Set to "yes" if building a shared library automatically hardcodes DIR 19835# into the library and all subsequent libraries and executables linked 19836# against it. 19837hardcode_automatic=$hardcode_automatic_CXX 19838 19839# Set to yes if linker adds runtime paths of dependent libraries 19840# to runtime path list. 19841inherit_rpath=$inherit_rpath_CXX 19842 19843# Whether libtool must link a program against all its dependency libraries. 19844link_all_deplibs=$link_all_deplibs_CXX 19845 19846# Set to "yes" if exported symbols are required. 19847always_export_symbols=$always_export_symbols_CXX 19848 19849# The commands to list exported symbols. 19850export_symbols_cmds=$lt_export_symbols_cmds_CXX 19851 19852# Symbols that should not be listed in the preloaded symbols. 19853exclude_expsyms=$lt_exclude_expsyms_CXX 19854 19855# Symbols that must always be exported. 19856include_expsyms=$lt_include_expsyms_CXX 19857 19858# Commands necessary for linking programs (against libraries) with templates. 19859prelink_cmds=$lt_prelink_cmds_CXX 19860 19861# Commands necessary for finishing linking programs. 19862postlink_cmds=$lt_postlink_cmds_CXX 19863 19864# Specify filename containing input files. 19865file_list_spec=$lt_file_list_spec_CXX 19866 19867# How to hardcode a shared library path into an executable. 19868hardcode_action=$hardcode_action_CXX 19869 19870# The directories searched by this compiler when creating a shared library. 19871compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 19872 19873# Dependencies to place before and after the objects being linked to 19874# create a shared library. 19875predep_objects=$lt_predep_objects_CXX 19876postdep_objects=$lt_postdep_objects_CXX 19877predeps=$lt_predeps_CXX 19878postdeps=$lt_postdeps_CXX 19879 19880# The library search path used internally by the compiler when linking 19881# a shared library. 19882compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 19883 19884# ### END LIBTOOL TAG CONFIG: CXX 19885_LT_EOF 19886 19887 ;; 19888 19889 esac 19890done # for ac_tag 19891 19892 19893as_fn_exit 0 19894_ACEOF 19895ac_clean_files=$ac_clean_files_save 19896 19897test $ac_write_fail = 0 || 19898 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19899 19900 19901# configure is writing to config.log, and then calls config.status. 19902# config.status does its own redirection, appending to config.log. 19903# Unfortunately, on DOS this fails, as config.log is still kept open 19904# by configure, so config.status won't be able to write to it; its 19905# output is simply discarded. So we exec the FD to /dev/null, 19906# effectively closing config.log, so it can be properly (re)opened and 19907# appended to by config.status. When coming back to configure, we 19908# need to make the FD available again. 19909if test "$no_create" != yes; then 19910 ac_cs_success=: 19911 ac_config_status_args= 19912 test "$silent" = yes && 19913 ac_config_status_args="$ac_config_status_args --quiet" 19914 exec 5>/dev/null 19915 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19916 exec 5>>config.log 19917 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19918 # would make configure fail if this is the last instruction. 19919 $ac_cs_success || as_fn_exit 1 19920fi 19921 19922# 19923# CONFIG_SUBDIRS section. 19924# 19925if test "$no_recursion" != yes; then 19926 19927 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 19928 # so they do not pile up. 19929 ac_sub_configure_args= 19930 ac_prev= 19931 eval "set x $ac_configure_args" 19932 shift 19933 for ac_arg 19934 do 19935 if test -n "$ac_prev"; then 19936 ac_prev= 19937 continue 19938 fi 19939 case $ac_arg in 19940 -cache-file | --cache-file | --cache-fil | --cache-fi \ 19941 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 19942 ac_prev=cache_file ;; 19943 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 19944 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 19945 | --c=*) 19946 ;; 19947 --config-cache | -C) 19948 ;; 19949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 19950 ac_prev=srcdir ;; 19951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 19952 ;; 19953 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 19954 ac_prev=prefix ;; 19955 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 19956 ;; 19957 --disable-option-checking) 19958 ;; 19959 *) 19960 case $ac_arg in 19961 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19962 esac 19963 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 19964 esac 19965 done 19966 19967 # Always prepend --prefix to ensure using the same prefix 19968 # in subdir configurations. 19969 ac_arg="--prefix=$prefix" 19970 case $ac_arg in 19971 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 19972 esac 19973 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 19974 19975 # Pass --silent 19976 if test "$silent" = yes; then 19977 ac_sub_configure_args="--silent $ac_sub_configure_args" 19978 fi 19979 19980 # Always prepend --disable-option-checking to silence warnings, since 19981 # different subdirs can have different --enable and --with options. 19982 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 19983 19984 ac_popdir=`pwd` 19985 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 19986 19987 # Do not complain, so a configure script can configure whichever 19988 # parts of a large source tree are present. 19989 test -d "$srcdir/$ac_dir" || continue 19990 19991 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 19992 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 19993 $as_echo "$ac_msg" >&6 19994 as_dir="$ac_dir"; as_fn_mkdir_p 19995 ac_builddir=. 19996 19997case "$ac_dir" in 19998.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19999*) 20000 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20001 # A ".." for each directory in $ac_dir_suffix. 20002 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20003 case $ac_top_builddir_sub in 20004 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20005 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20006 esac ;; 20007esac 20008ac_abs_top_builddir=$ac_pwd 20009ac_abs_builddir=$ac_pwd$ac_dir_suffix 20010# for backward compatibility: 20011ac_top_builddir=$ac_top_build_prefix 20012 20013case $srcdir in 20014 .) # We are building in place. 20015 ac_srcdir=. 20016 ac_top_srcdir=$ac_top_builddir_sub 20017 ac_abs_top_srcdir=$ac_pwd ;; 20018 [\\/]* | ?:[\\/]* ) # Absolute name. 20019 ac_srcdir=$srcdir$ac_dir_suffix; 20020 ac_top_srcdir=$srcdir 20021 ac_abs_top_srcdir=$srcdir ;; 20022 *) # Relative name. 20023 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20024 ac_top_srcdir=$ac_top_build_prefix$srcdir 20025 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20026esac 20027ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20028 20029 20030 cd "$ac_dir" 20031 20032 # Check for guested configure; otherwise get Cygnus style configure. 20033 if test -f "$ac_srcdir/configure.gnu"; then 20034 ac_sub_configure=$ac_srcdir/configure.gnu 20035 elif test -f "$ac_srcdir/configure"; then 20036 ac_sub_configure=$ac_srcdir/configure 20037 elif test -f "$ac_srcdir/configure.in"; then 20038 # This should be Cygnus configure. 20039 ac_sub_configure=$ac_aux_dir/configure 20040 else 20041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 20042$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 20043 ac_sub_configure= 20044 fi 20045 20046 # The recursion is here. 20047 if test -n "$ac_sub_configure"; then 20048 # Make the cache file name correct relative to the subdirectory. 20049 case $cache_file in 20050 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 20051 *) # Relative name. 20052 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 20053 esac 20054 20055 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 20056$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 20057 # The eval makes quoting arguments work. 20058 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 20059 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 20060 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 20061 fi 20062 20063 cd "$ac_popdir" 20064 done 20065fi 20066if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20068$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20069fi 20070 20071 20072