1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for the Parma Polyhedra Library 1.2. 4# 5# Report bugs to <ppl-devel@cs.unipr.it>. 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 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: ppl-devel@cs.unipr.it about your system, including any 279$0: error possibly output before this message. Then install 280$0: a modern shell, or manually run the script under such a 281$0: 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='the Parma Polyhedra Library' 592PACKAGE_TARNAME='ppl' 593PACKAGE_VERSION='1.2' 594PACKAGE_STRING='the Parma Polyhedra Library 1.2' 595PACKAGE_BUGREPORT='ppl-devel@cs.unipr.it' 596PACKAGE_URL='' 597 598ac_unique_file="src/Polyhedron_public.cc" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639mlgmp_dir 640required_instantiations_ocaml_cxx_objects 641required_instantiations_ocaml_cxx_sources 642required_instantiations_ocaml_cxx_headers 643required_instantiations_java_cxx_objects 644required_instantiations_java_cxx_sources 645required_instantiations_java_cxx_headers_sources 646required_instantiations_java_cxx_headers 647required_instantiations_java_classes 648required_instantiations_java_sources 649required_instantiations_prolog_generated_test_sources 650required_instantiations_prolog_cxx_objects 651required_instantiations_prolog_cxx_sources 652required_instantiations_prolog_cxx_headers 653required_instantiations_c_cxx_objects 654required_instantiations_c_cxx_sources 655required_instantiations_c_cxx_headers 656required_instantiations_canonical_names 657required_instantiations 658coefficient_mnemonic 659debug_flag 660extra_libraries 661extra_includes 662SHREXT 663LIBEXT 664HAVE_GLPK_FALSE 665HAVE_GLPK_TRUE 666TEXT_MD5SUM 667HAVE_MD5SUM_FALSE 668HAVE_MD5SUM_TRUE 669MD5SUM 670THOROUGH_MAKE_CHECK_FALSE 671THOROUGH_MAKE_CHECK_TRUE 672VALGRIND_TESTS_ENABLED_FALSE 673VALGRIND_TESTS_ENABLED_TRUE 674VALGRIND 675M4_DEBUGFILE 676M4 677BUILD_SOME_PROLOG_INTERFACES_FALSE 678BUILD_SOME_PROLOG_INTERFACES_TRUE 679BUILD_YAP_PROLOG_INTERFACE_FALSE 680BUILD_YAP_PROLOG_INTERFACE_TRUE 681YAP_PROLOG_LD_OPTIONS 682YAP_PROLOG_INCLUDE_OPTIONS 683YAP_PROLOG 684yap_prolog 685BUILD_XSB_PROLOG_INTERFACE_FALSE 686BUILD_XSB_PROLOG_INTERFACE_TRUE 687XSB_PROLOG_INCLUDE_OPTIONS 688xsb_prolog 689BUILD_SWI_PROLOG_INTERFACE_FALSE 690BUILD_SWI_PROLOG_INTERFACE_TRUE 691SWI_PROLOG_LD_OPTIONS 692SWI_PROLOG_INCLUDE_OPTIONS 693SWI_PROLOG_LD 694SWI_PROLOG 695swi_prolog_ld 696swi_prolog 697BUILD_SICSTUS_PROLOG_INTERFACE_FALSE 698BUILD_SICSTUS_PROLOG_INTERFACE_TRUE 699SICSTUS_PROLOG_INCLUDE_OPTIONS 700sicstus_prolog 701BUILD_GNU_PROLOG_INTERFACE_FALSE 702BUILD_GNU_PROLOG_INTERFACE_TRUE 703GNU_PROLOG 704BUILD_CIAO_PROLOG_INTERFACE_FALSE 705BUILD_CIAO_PROLOG_INTERFACE_TRUE 706CIAO_PROLOG_INCLUDE_OPTIONS 707CIAO_PROLOG 708ciao_prolog 709BUILD_OCAML_INTERFACE_FALSE 710BUILD_OCAML_INTERFACE_TRUE 711HAVE_OCAMLOPT_FALSE 712HAVE_OCAMLOPT_TRUE 713HAVE_OCAMLC_FALSE 714HAVE_OCAMLC_TRUE 715OCAMLBUILD 716OCAMLDOC 717OCAMLMKLIB 718OCAMLMKTOP 719OCAMLDEP 720OCAMLOPTDOTOPT 721OCAMLCDOTOPT 722OCAMLBEST 723OCAMLOPT 724OCAMLLIB 725OCAMLVERSION 726OCAMLC 727BUILD_JAVA_INTERFACE_FALSE 728BUILD_JAVA_INTERFACE_TRUE 729JNIFLAGS 730JAVAH 731JAR 732uudecode 733JAVA 734JAVAC 735BUILD_C_INTERFACE_FALSE 736BUILD_C_INTERFACE_TRUE 737BUILD_CXX_INTERFACE_FALSE 738BUILD_CXX_INTERFACE_TRUE 739BUILD_DOCUMENTATION_FALSE 740BUILD_DOCUMENTATION_TRUE 741BUILD_PPL_PIPS_FALSE 742BUILD_PPL_PIPS_TRUE 743BUILD_PPL_LPSOL_FALSE 744BUILD_PPL_LPSOL_TRUE 745BUILD_PPL_LCDD_FALSE 746BUILD_PPL_LCDD_TRUE 747ENABLE_STATIC_FALSE 748ENABLE_STATIC_TRUE 749ENABLE_SHARED_FALSE 750ENABLE_SHARED_TRUE 751OTOOL64 752OTOOL 753LIPO 754NMEDIT 755DSYMUTIL 756MANIFEST_TOOL 757RANLIB 758ac_ct_AR 759AR 760DLLTOOL 761OBJDUMP 762LN_S 763NM 764ac_ct_DUMPBIN 765DUMPBIN 766LD 767LIBTOOL 768SUPPORTED_SOME_FLOATING_POINT_TYPE_FALSE 769SUPPORTED_SOME_FLOATING_POINT_TYPE_TRUE 770SUPPORTED_LONG_DOUBLE_FALSE 771SUPPORTED_LONG_DOUBLE_TRUE 772SUPPORTED_DOUBLE_FALSE 773SUPPORTED_DOUBLE_TRUE 774SUPPORTED_FLOAT_FALSE 775SUPPORTED_FLOAT_TRUE 776CAN_CONTROL_FPU_FALSE 777CAN_CONTROL_FPU_TRUE 778HAVE_PERL_FALSE 779HAVE_PERL_TRUE 780PERL 781CPP 782USE_INT64_FALSE 783USE_INT64_TRUE 784USE_INT32_FALSE 785USE_INT32_TRUE 786USE_INT16_FALSE 787USE_INT16_TRUE 788USE_INT8_FALSE 789USE_INT8_TRUE 790USE_GMP_INTEGERS_FALSE 791USE_GMP_INTEGERS_TRUE 792USE_CHECKED_INTEGERS_FALSE 793USE_CHECKED_INTEGERS_TRUE 794USE_NATIVE_INTEGERS_FALSE 795USE_NATIVE_INTEGERS_TRUE 796NO_UNDEFINED_FALSE 797NO_UNDEFINED_TRUE 798HOST_CPU_X86_64_FALSE 799HOST_CPU_X86_64_TRUE 800HOST_OS_SOLARIS_FALSE 801HOST_OS_SOLARIS_TRUE 802HOST_OS_MINGW_FALSE 803HOST_OS_MINGW_TRUE 804HOST_OS_HPUX_FALSE 805HOST_OS_HPUX_TRUE 806HOST_OS_DARWIN_FALSE 807HOST_OS_DARWIN_TRUE 808HOST_OS_CYGWIN_FALSE 809HOST_OS_CYGWIN_TRUE 810USE_PRECOMPILED_HEADERS_FALSE 811USE_PRECOMPILED_HEADERS_TRUE 812ASSERTIONS_ENABLED_FALSE 813ASSERTIONS_ENABLED_TRUE 814DEBUGGING_ENABLED_FALSE 815DEBUGGING_ENABLED_TRUE 816CXXCPP 817SED 818EGREP 819FGREP 820GREP 821am__fastdepCXX_FALSE 822am__fastdepCXX_TRUE 823CXXDEPMODE 824ac_ct_CXX 825CXXFLAGS 826CXX 827ICC_FALSE 828ICC_TRUE 829GCC_FALSE 830GCC_TRUE 831am__fastdepCC_FALSE 832am__fastdepCC_TRUE 833CCDEPMODE 834am__nodep 835AMDEPBACKSLASH 836AMDEP_FALSE 837AMDEP_TRUE 838am__quote 839am__include 840DEPDIR 841OBJEXT 842EXEEXT 843ac_ct_CC 844CPPFLAGS 845LDFLAGS 846CFLAGS 847CC 848ISODATE 849CONFIGURE_OPTIONS 850PPL_VERSION_BETA 851PPL_VERSION_REVISION 852PPL_VERSION_MINOR 853PPL_VERSION_MAJOR 854AM_BACKSLASH 855AM_DEFAULT_VERBOSITY 856AM_DEFAULT_V 857AM_V 858am__untar 859am__tar 860AMTAR 861am__leading_dot 862SET_MAKE 863AWK 864mkdir_p 865MKDIR_P 866INSTALL_STRIP_PROGRAM 867STRIP 868install_sh 869MAKEINFO 870AUTOHEADER 871AUTOMAKE 872AUTOCONF 873ACLOCAL 874VERSION 875PACKAGE 876CYGPATH_W 877am__isrc 878INSTALL_DATA 879INSTALL_SCRIPT 880INSTALL_PROGRAM 881host_os 882host_vendor 883host_cpu 884host 885build_os 886build_vendor 887build_cpu 888build 889target_alias 890host_alias 891build_alias 892LIBS 893ECHO_T 894ECHO_N 895ECHO_C 896DEFS 897mandir 898localedir 899libdir 900psdir 901pdfdir 902dvidir 903htmldir 904infodir 905docdir 906oldincludedir 907includedir 908localstatedir 909sharedstatedir 910sysconfdir 911datadir 912datarootdir 913libexecdir 914sbindir 915bindir 916program_transform_name 917prefix 918exec_prefix 919PACKAGE_URL 920PACKAGE_BUGREPORT 921PACKAGE_STRING 922PACKAGE_VERSION 923PACKAGE_TARNAME 924PACKAGE_NAME 925PATH_SEPARATOR 926SHELL' 927ac_subst_files='' 928ac_user_opts=' 929enable_option_checking 930enable_silent_rules 931with_cc 932with_cxx 933enable_dependency_tracking 934enable_debugging 935enable_profiling 936enable_coverage 937enable_assertions 938enable_more_assertions 939enable_optimization 940enable_arch 941enable_fpmath 942enable_pch 943enable_coefficients 944with_cflags 945with_cxxflags 946enable_shared 947enable_static 948with_pic 949enable_fast_install 950with_gnu_ld 951with_sysroot 952enable_libtool_lock 953with_gmp 954with_gmp_include 955with_gmp_lib 956with_gmp_build 957enable_ppl_lcdd 958enable_ppl_lpsol 959enable_ppl_pips 960enable_documentation 961enable_interfaces 962with_java 963with_mlgmp 964enable_instantiations 965enable_valgrind_tests 966enable_check 967' 968 ac_precious_vars='build_alias 969host_alias 970target_alias 971CC 972CFLAGS 973LDFLAGS 974LIBS 975CPPFLAGS 976CXX 977CXXFLAGS 978CCC 979CXXCPP 980CPP 981M4' 982 983 984# Initialize some variables set by options. 985ac_init_help= 986ac_init_version=false 987ac_unrecognized_opts= 988ac_unrecognized_sep= 989# The variables have the same names as the options, with 990# dashes changed to underlines. 991cache_file=/dev/null 992exec_prefix=NONE 993no_create= 994no_recursion= 995prefix=NONE 996program_prefix=NONE 997program_suffix=NONE 998program_transform_name=s,x,x, 999silent= 1000site= 1001srcdir= 1002verbose= 1003x_includes=NONE 1004x_libraries=NONE 1005 1006# Installation directory options. 1007# These are left unexpanded so users can "make install exec_prefix=/foo" 1008# and all the variables that are supposed to be based on exec_prefix 1009# by default will actually change. 1010# Use braces instead of parens because sh, perl, etc. also accept them. 1011# (The list follows the same order as the GNU Coding Standards.) 1012bindir='${exec_prefix}/bin' 1013sbindir='${exec_prefix}/sbin' 1014libexecdir='${exec_prefix}/libexec' 1015datarootdir='${prefix}/share' 1016datadir='${datarootdir}' 1017sysconfdir='${prefix}/etc' 1018sharedstatedir='${prefix}/com' 1019localstatedir='${prefix}/var' 1020includedir='${prefix}/include' 1021oldincludedir='/usr/include' 1022docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1023infodir='${datarootdir}/info' 1024htmldir='${docdir}' 1025dvidir='${docdir}' 1026pdfdir='${docdir}' 1027psdir='${docdir}' 1028libdir='${exec_prefix}/lib' 1029localedir='${datarootdir}/locale' 1030mandir='${datarootdir}/man' 1031 1032ac_prev= 1033ac_dashdash= 1034for ac_option 1035do 1036 # If the previous option needs an argument, assign it. 1037 if test -n "$ac_prev"; then 1038 eval $ac_prev=\$ac_option 1039 ac_prev= 1040 continue 1041 fi 1042 1043 case $ac_option in 1044 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1045 *=) ac_optarg= ;; 1046 *) ac_optarg=yes ;; 1047 esac 1048 1049 # Accept the important Cygnus configure options, so we can diagnose typos. 1050 1051 case $ac_dashdash$ac_option in 1052 --) 1053 ac_dashdash=yes ;; 1054 1055 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1056 ac_prev=bindir ;; 1057 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1058 bindir=$ac_optarg ;; 1059 1060 -build | --build | --buil | --bui | --bu) 1061 ac_prev=build_alias ;; 1062 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1063 build_alias=$ac_optarg ;; 1064 1065 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1066 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1067 ac_prev=cache_file ;; 1068 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1069 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1070 cache_file=$ac_optarg ;; 1071 1072 --config-cache | -C) 1073 cache_file=config.cache ;; 1074 1075 -datadir | --datadir | --datadi | --datad) 1076 ac_prev=datadir ;; 1077 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1078 datadir=$ac_optarg ;; 1079 1080 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1081 | --dataroo | --dataro | --datar) 1082 ac_prev=datarootdir ;; 1083 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1084 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1085 datarootdir=$ac_optarg ;; 1086 1087 -disable-* | --disable-*) 1088 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1089 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error $? "invalid feature name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096"enable_$ac_useropt" 1097"*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval enable_$ac_useropt=no ;; 1102 1103 -docdir | --docdir | --docdi | --doc | --do) 1104 ac_prev=docdir ;; 1105 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1106 docdir=$ac_optarg ;; 1107 1108 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1109 ac_prev=dvidir ;; 1110 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1111 dvidir=$ac_optarg ;; 1112 1113 -enable-* | --enable-*) 1114 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1115 # Reject names that are not valid shell variable names. 1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 as_fn_error $? "invalid feature name: $ac_useropt" 1118 ac_useropt_orig=$ac_useropt 1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1120 case $ac_user_opts in 1121 *" 1122"enable_$ac_useropt" 1123"*) ;; 1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1125 ac_unrecognized_sep=', ';; 1126 esac 1127 eval enable_$ac_useropt=\$ac_optarg ;; 1128 1129 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1130 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1131 | --exec | --exe | --ex) 1132 ac_prev=exec_prefix ;; 1133 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1134 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1135 | --exec=* | --exe=* | --ex=*) 1136 exec_prefix=$ac_optarg ;; 1137 1138 -gas | --gas | --ga | --g) 1139 # Obsolete; use --with-gas. 1140 with_gas=yes ;; 1141 1142 -help | --help | --hel | --he | -h) 1143 ac_init_help=long ;; 1144 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1145 ac_init_help=recursive ;; 1146 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1147 ac_init_help=short ;; 1148 1149 -host | --host | --hos | --ho) 1150 ac_prev=host_alias ;; 1151 -host=* | --host=* | --hos=* | --ho=*) 1152 host_alias=$ac_optarg ;; 1153 1154 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1155 ac_prev=htmldir ;; 1156 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1157 | --ht=*) 1158 htmldir=$ac_optarg ;; 1159 1160 -includedir | --includedir | --includedi | --included | --include \ 1161 | --includ | --inclu | --incl | --inc) 1162 ac_prev=includedir ;; 1163 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1164 | --includ=* | --inclu=* | --incl=* | --inc=*) 1165 includedir=$ac_optarg ;; 1166 1167 -infodir | --infodir | --infodi | --infod | --info | --inf) 1168 ac_prev=infodir ;; 1169 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1170 infodir=$ac_optarg ;; 1171 1172 -libdir | --libdir | --libdi | --libd) 1173 ac_prev=libdir ;; 1174 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1175 libdir=$ac_optarg ;; 1176 1177 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1178 | --libexe | --libex | --libe) 1179 ac_prev=libexecdir ;; 1180 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1181 | --libexe=* | --libex=* | --libe=*) 1182 libexecdir=$ac_optarg ;; 1183 1184 -localedir | --localedir | --localedi | --localed | --locale) 1185 ac_prev=localedir ;; 1186 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1187 localedir=$ac_optarg ;; 1188 1189 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1190 | --localstate | --localstat | --localsta | --localst | --locals) 1191 ac_prev=localstatedir ;; 1192 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1193 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1194 localstatedir=$ac_optarg ;; 1195 1196 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1197 ac_prev=mandir ;; 1198 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1199 mandir=$ac_optarg ;; 1200 1201 -nfp | --nfp | --nf) 1202 # Obsolete; use --without-fp. 1203 with_fp=no ;; 1204 1205 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1206 | --no-cr | --no-c | -n) 1207 no_create=yes ;; 1208 1209 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1210 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1211 no_recursion=yes ;; 1212 1213 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1214 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1215 | --oldin | --oldi | --old | --ol | --o) 1216 ac_prev=oldincludedir ;; 1217 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1218 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1219 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1220 oldincludedir=$ac_optarg ;; 1221 1222 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1223 ac_prev=prefix ;; 1224 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1225 prefix=$ac_optarg ;; 1226 1227 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1228 | --program-pre | --program-pr | --program-p) 1229 ac_prev=program_prefix ;; 1230 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1231 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1232 program_prefix=$ac_optarg ;; 1233 1234 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1235 | --program-suf | --program-su | --program-s) 1236 ac_prev=program_suffix ;; 1237 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1238 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1239 program_suffix=$ac_optarg ;; 1240 1241 -program-transform-name | --program-transform-name \ 1242 | --program-transform-nam | --program-transform-na \ 1243 | --program-transform-n | --program-transform- \ 1244 | --program-transform | --program-transfor \ 1245 | --program-transfo | --program-transf \ 1246 | --program-trans | --program-tran \ 1247 | --progr-tra | --program-tr | --program-t) 1248 ac_prev=program_transform_name ;; 1249 -program-transform-name=* | --program-transform-name=* \ 1250 | --program-transform-nam=* | --program-transform-na=* \ 1251 | --program-transform-n=* | --program-transform-=* \ 1252 | --program-transform=* | --program-transfor=* \ 1253 | --program-transfo=* | --program-transf=* \ 1254 | --program-trans=* | --program-tran=* \ 1255 | --progr-tra=* | --program-tr=* | --program-t=*) 1256 program_transform_name=$ac_optarg ;; 1257 1258 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1259 ac_prev=pdfdir ;; 1260 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1261 pdfdir=$ac_optarg ;; 1262 1263 -psdir | --psdir | --psdi | --psd | --ps) 1264 ac_prev=psdir ;; 1265 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1266 psdir=$ac_optarg ;; 1267 1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1269 | -silent | --silent | --silen | --sile | --sil) 1270 silent=yes ;; 1271 1272 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1273 ac_prev=sbindir ;; 1274 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1275 | --sbi=* | --sb=*) 1276 sbindir=$ac_optarg ;; 1277 1278 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1279 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1280 | --sharedst | --shareds | --shared | --share | --shar \ 1281 | --sha | --sh) 1282 ac_prev=sharedstatedir ;; 1283 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1284 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1285 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1286 | --sha=* | --sh=*) 1287 sharedstatedir=$ac_optarg ;; 1288 1289 -site | --site | --sit) 1290 ac_prev=site ;; 1291 -site=* | --site=* | --sit=*) 1292 site=$ac_optarg ;; 1293 1294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1295 ac_prev=srcdir ;; 1296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1297 srcdir=$ac_optarg ;; 1298 1299 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1300 | --syscon | --sysco | --sysc | --sys | --sy) 1301 ac_prev=sysconfdir ;; 1302 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1303 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1304 sysconfdir=$ac_optarg ;; 1305 1306 -target | --target | --targe | --targ | --tar | --ta | --t) 1307 ac_prev=target_alias ;; 1308 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1309 target_alias=$ac_optarg ;; 1310 1311 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1312 verbose=yes ;; 1313 1314 -version | --version | --versio | --versi | --vers | -V) 1315 ac_init_version=: ;; 1316 1317 -with-* | --with-*) 1318 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1319 # Reject names that are not valid shell variable names. 1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1321 as_fn_error $? "invalid package name: $ac_useropt" 1322 ac_useropt_orig=$ac_useropt 1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1324 case $ac_user_opts in 1325 *" 1326"with_$ac_useropt" 1327"*) ;; 1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1329 ac_unrecognized_sep=', ';; 1330 esac 1331 eval with_$ac_useropt=\$ac_optarg ;; 1332 1333 -without-* | --without-*) 1334 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1335 # Reject names that are not valid shell variable names. 1336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1337 as_fn_error $? "invalid package name: $ac_useropt" 1338 ac_useropt_orig=$ac_useropt 1339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1340 case $ac_user_opts in 1341 *" 1342"with_$ac_useropt" 1343"*) ;; 1344 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1345 ac_unrecognized_sep=', ';; 1346 esac 1347 eval with_$ac_useropt=no ;; 1348 1349 --x) 1350 # Obsolete; use --with-x. 1351 with_x=yes ;; 1352 1353 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1354 | --x-incl | --x-inc | --x-in | --x-i) 1355 ac_prev=x_includes ;; 1356 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1357 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1358 x_includes=$ac_optarg ;; 1359 1360 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1361 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1362 ac_prev=x_libraries ;; 1363 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1364 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1365 x_libraries=$ac_optarg ;; 1366 1367 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1368Try \`$0 --help' for more information" 1369 ;; 1370 1371 *=*) 1372 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1373 # Reject names that are not valid shell variable names. 1374 case $ac_envvar in #( 1375 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1376 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1377 esac 1378 eval $ac_envvar=\$ac_optarg 1379 export $ac_envvar ;; 1380 1381 *) 1382 # FIXME: should be removed in autoconf 3.0. 1383 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1384 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1385 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1386 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1387 ;; 1388 1389 esac 1390done 1391 1392if test -n "$ac_prev"; then 1393 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1394 as_fn_error $? "missing argument to $ac_option" 1395fi 1396 1397if test -n "$ac_unrecognized_opts"; then 1398 case $enable_option_checking in 1399 no) ;; 1400 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1402 esac 1403fi 1404 1405# Check all directory arguments for consistency. 1406for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1407 datadir sysconfdir sharedstatedir localstatedir includedir \ 1408 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1409 libdir localedir mandir 1410do 1411 eval ac_val=\$$ac_var 1412 # Remove trailing slashes. 1413 case $ac_val in 1414 */ ) 1415 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1416 eval $ac_var=\$ac_val;; 1417 esac 1418 # Be sure to have absolute directory names. 1419 case $ac_val in 1420 [\\/$]* | ?:[\\/]* ) continue;; 1421 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1422 esac 1423 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1424done 1425 1426# There might be people who depend on the old broken behavior: `$host' 1427# used to hold the argument of --host etc. 1428# FIXME: To remove some day. 1429build=$build_alias 1430host=$host_alias 1431target=$target_alias 1432 1433# FIXME: To remove some day. 1434if test "x$host_alias" != x; then 1435 if test "x$build_alias" = x; then 1436 cross_compiling=maybe 1437 elif test "x$build_alias" != "x$host_alias"; then 1438 cross_compiling=yes 1439 fi 1440fi 1441 1442ac_tool_prefix= 1443test -n "$host_alias" && ac_tool_prefix=$host_alias- 1444 1445test "$silent" = yes && exec 6>/dev/null 1446 1447 1448ac_pwd=`pwd` && test -n "$ac_pwd" && 1449ac_ls_di=`ls -di .` && 1450ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1451 as_fn_error $? "working directory cannot be determined" 1452test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1453 as_fn_error $? "pwd does not report name of working directory" 1454 1455 1456# Find the source files, if location was not specified. 1457if test -z "$srcdir"; then 1458 ac_srcdir_defaulted=yes 1459 # Try the directory containing this script, then the parent directory. 1460 ac_confdir=`$as_dirname -- "$as_myself" || 1461$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1462 X"$as_myself" : 'X\(//\)[^/]' \| \ 1463 X"$as_myself" : 'X\(//\)$' \| \ 1464 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1465$as_echo X"$as_myself" | 1466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1467 s//\1/ 1468 q 1469 } 1470 /^X\(\/\/\)[^/].*/{ 1471 s//\1/ 1472 q 1473 } 1474 /^X\(\/\/\)$/{ 1475 s//\1/ 1476 q 1477 } 1478 /^X\(\/\).*/{ 1479 s//\1/ 1480 q 1481 } 1482 s/.*/./; q'` 1483 srcdir=$ac_confdir 1484 if test ! -r "$srcdir/$ac_unique_file"; then 1485 srcdir=.. 1486 fi 1487else 1488 ac_srcdir_defaulted=no 1489fi 1490if test ! -r "$srcdir/$ac_unique_file"; then 1491 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1492 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1493fi 1494ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1495ac_abs_confdir=`( 1496 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1497 pwd)` 1498# When building in place, set srcdir=. 1499if test "$ac_abs_confdir" = "$ac_pwd"; then 1500 srcdir=. 1501fi 1502# Remove unnecessary trailing slashes from srcdir. 1503# Double slashes in file names in object file debugging info 1504# mess up M-x gdb in Emacs. 1505case $srcdir in 1506*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1507esac 1508for ac_var in $ac_precious_vars; do 1509 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1510 eval ac_env_${ac_var}_value=\$${ac_var} 1511 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1512 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1513done 1514 1515# 1516# Report the --help message. 1517# 1518if test "$ac_init_help" = "long"; then 1519 # Omit some internal or obsolete options to make the list less imposing. 1520 # This message is too long to be a string in the A/UX 3.1 sh. 1521 cat <<_ACEOF 1522\`configure' configures the Parma Polyhedra Library 1.2 to adapt to many kinds of systems. 1523 1524Usage: $0 [OPTION]... [VAR=VALUE]... 1525 1526To assign environment variables (e.g., CC, CFLAGS...), specify them as 1527VAR=VALUE. See below for descriptions of some of the useful variables. 1528 1529Defaults for the options are specified in brackets. 1530 1531Configuration: 1532 -h, --help display this help and exit 1533 --help=short display options specific to this package 1534 --help=recursive display the short help of all the included packages 1535 -V, --version display version information and exit 1536 -q, --quiet, --silent do not print \`checking ...' messages 1537 --cache-file=FILE cache test results in FILE [disabled] 1538 -C, --config-cache alias for \`--cache-file=config.cache' 1539 -n, --no-create do not create output files 1540 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1541 1542Installation directories: 1543 --prefix=PREFIX install architecture-independent files in PREFIX 1544 [$ac_default_prefix] 1545 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1546 [PREFIX] 1547 1548By default, \`make install' will install all the files in 1549\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1550an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1551for instance \`--prefix=\$HOME'. 1552 1553For better control, use the options below. 1554 1555Fine tuning of the installation directories: 1556 --bindir=DIR user executables [EPREFIX/bin] 1557 --sbindir=DIR system admin executables [EPREFIX/sbin] 1558 --libexecdir=DIR program executables [EPREFIX/libexec] 1559 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1560 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1561 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1562 --libdir=DIR object code libraries [EPREFIX/lib] 1563 --includedir=DIR C header files [PREFIX/include] 1564 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1565 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1566 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1567 --infodir=DIR info documentation [DATAROOTDIR/info] 1568 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1569 --mandir=DIR man documentation [DATAROOTDIR/man] 1570 --docdir=DIR documentation root [DATAROOTDIR/doc/ppl] 1571 --htmldir=DIR html documentation [DOCDIR] 1572 --dvidir=DIR dvi documentation [DOCDIR] 1573 --pdfdir=DIR pdf documentation [DOCDIR] 1574 --psdir=DIR ps documentation [DOCDIR] 1575_ACEOF 1576 1577 cat <<\_ACEOF 1578 1579Program names: 1580 --program-prefix=PREFIX prepend PREFIX to installed program names 1581 --program-suffix=SUFFIX append SUFFIX to installed program names 1582 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1583 1584System types: 1585 --build=BUILD configure for building on BUILD [guessed] 1586 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1587_ACEOF 1588fi 1589 1590if test -n "$ac_init_help"; then 1591 case $ac_init_help in 1592 short | recursive ) echo "Configuration of the Parma Polyhedra Library 1.2:";; 1593 esac 1594 cat <<\_ACEOF 1595 1596Optional Features: 1597 --disable-option-checking ignore unrecognized --enable/--with options 1598 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1599 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1600 --enable-silent-rules less verbose build output (undo: "make V=1") 1601 --disable-silent-rules verbose build output (undo: "make V=0") 1602 --enable-dependency-tracking 1603 do not reject slow dependency extractors 1604 --disable-dependency-tracking 1605 speeds up one-time build 1606 --enable-debugging compile with debugging information 1607 --enable-profiling compile for profiling 1608 --enable-coverage compile for test coverage 1609 --enable-assertions check run-time assertions 1610 --enable-more-assertions 1611 break the ABI to check even more run-time assertions 1612 --enable-optimization[=LEVEL] 1613 enable compiler optimizations 1614 --enable-arch[=ARCH] optimize for architecture ARCH 1615 --enable-fpmath=INSTRUCTION_SET 1616 select floating point arithmetic 1617 --enable-pch use precompiled headers, if available 1618 --enable-coefficients=TYPE 1619 select the type of the coefficients 1620 --enable-shared[=PKGS] build shared libraries [default=yes] 1621 --enable-static[=PKGS] build static libraries [default=yes] 1622 --enable-fast-install[=PKGS] 1623 optimize for fast installation [default=yes] 1624 --disable-libtool-lock avoid locking (might break parallel builds) 1625 --enable-ppl_lcdd build the ppl_lcdd program 1626 --enable-ppl_lpsol build the ppl_lpsol program 1627 --enable-ppl_pips build the ppl_pips program 1628 --enable-documentation build the PPL documentation 1629 --enable-interfaces=INTERFACES 1630 enable some or all the library interfaces 1631 --enable-instantiations=INSTANTIATIONS 1632 enable instantiations for the non-C++ interfaces 1633 --enable-valgrind-tests run library tests under Valgrind 1634 --enable-check=KIND select thorough or quick `make check' 1635 1636Optional Packages: 1637 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1638 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1639 --with-cc=XXX use XXX as the C compiler 1640 --with-cxx=XXX use XXX as the C++ compiler 1641 --with-cflags=XXX add XXX to the options for the C compiler 1642 --with-cxxflags=XXX add XXX to the options for the C++ compiler 1643 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1644 both] 1645 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1646 --with-sysroot=DIR Search for dependent libraries within DIR 1647 (or the compiler's sysroot if not specified). 1648 --with-gmp=DIR search for libgmp/libgmpxx in DIR/include and 1649 DIR/lib 1650 --with-gmp-include=DIR search for libgmp/libgmpxx headers in DIR 1651 --with-gmp-lib=DIR search for libgmp/libgmpxx library objects in DIR 1652 --with-gmp-build=DIR use a non-installed build of GMP in DIR 1653 --with-java=DIR use the Java SDK installed in DIR 1654 --with-mlgmp=DIR use the ML GMP package installed in DIR 1655 1656Some influential environment variables: 1657 CC C compiler command 1658 CFLAGS C compiler flags 1659 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1660 nonstandard directory <lib dir> 1661 LIBS libraries to pass to the linker, e.g. -l<library> 1662 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1663 you have headers in a nonstandard directory <include dir> 1664 CXX C++ compiler command 1665 CXXFLAGS C++ compiler flags 1666 CXXCPP C++ preprocessor 1667 CPP C preprocessor 1668 M4 Location of GNU M4 1.4.5 or later. Defaults to the first program 1669 of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs. 1670 1671Use these variables to override the choices made by `configure' or to help 1672it to find libraries and programs with nonstandard names/locations. 1673 1674Report bugs to <ppl-devel@cs.unipr.it>. 1675_ACEOF 1676ac_status=$? 1677fi 1678 1679if test "$ac_init_help" = "recursive"; then 1680 # If there are subdirs, report their specific --help. 1681 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1682 test -d "$ac_dir" || 1683 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1684 continue 1685 ac_builddir=. 1686 1687case "$ac_dir" in 1688.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1689*) 1690 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1691 # A ".." for each directory in $ac_dir_suffix. 1692 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1693 case $ac_top_builddir_sub in 1694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1696 esac ;; 1697esac 1698ac_abs_top_builddir=$ac_pwd 1699ac_abs_builddir=$ac_pwd$ac_dir_suffix 1700# for backward compatibility: 1701ac_top_builddir=$ac_top_build_prefix 1702 1703case $srcdir in 1704 .) # We are building in place. 1705 ac_srcdir=. 1706 ac_top_srcdir=$ac_top_builddir_sub 1707 ac_abs_top_srcdir=$ac_pwd ;; 1708 [\\/]* | ?:[\\/]* ) # Absolute name. 1709 ac_srcdir=$srcdir$ac_dir_suffix; 1710 ac_top_srcdir=$srcdir 1711 ac_abs_top_srcdir=$srcdir ;; 1712 *) # Relative name. 1713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1714 ac_top_srcdir=$ac_top_build_prefix$srcdir 1715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1716esac 1717ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1718 1719 cd "$ac_dir" || { ac_status=$?; continue; } 1720 # Check for guested configure. 1721 if test -f "$ac_srcdir/configure.gnu"; then 1722 echo && 1723 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1724 elif test -f "$ac_srcdir/configure"; then 1725 echo && 1726 $SHELL "$ac_srcdir/configure" --help=recursive 1727 else 1728 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1729 fi || ac_status=$? 1730 cd "$ac_pwd" || { ac_status=$?; break; } 1731 done 1732fi 1733 1734test -n "$ac_init_help" && exit $ac_status 1735if $ac_init_version; then 1736 cat <<\_ACEOF 1737the Parma Polyhedra Library configure 1.2 1738generated by GNU Autoconf 2.69 1739 1740Copyright (C) 2012 Free Software Foundation, Inc. 1741This configure script is free software; the Free Software Foundation 1742gives unlimited permission to copy, distribute and modify it. 1743_ACEOF 1744 exit 1745fi 1746 1747## ------------------------ ## 1748## Autoconf initialization. ## 1749## ------------------------ ## 1750 1751# ac_fn_c_try_compile LINENO 1752# -------------------------- 1753# Try to compile conftest.$ac_ext, and return whether this succeeded. 1754ac_fn_c_try_compile () 1755{ 1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 rm -f conftest.$ac_objext 1758 if { { ac_try="$ac_compile" 1759case "(($ac_try" in 1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1761 *) ac_try_echo=$ac_try;; 1762esac 1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1764$as_echo "$ac_try_echo"; } >&5 1765 (eval "$ac_compile") 2>conftest.err 1766 ac_status=$? 1767 if test -s conftest.err; then 1768 grep -v '^ *+' conftest.err >conftest.er1 1769 cat conftest.er1 >&5 1770 mv -f conftest.er1 conftest.err 1771 fi 1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1773 test $ac_status = 0; } && { 1774 test -z "$ac_c_werror_flag" || 1775 test ! -s conftest.err 1776 } && test -s conftest.$ac_objext; then : 1777 ac_retval=0 1778else 1779 $as_echo "$as_me: failed program was:" >&5 1780sed 's/^/| /' conftest.$ac_ext >&5 1781 1782 ac_retval=1 1783fi 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1785 as_fn_set_status $ac_retval 1786 1787} # ac_fn_c_try_compile 1788 1789# ac_fn_cxx_try_compile LINENO 1790# ---------------------------- 1791# Try to compile conftest.$ac_ext, and return whether this succeeded. 1792ac_fn_cxx_try_compile () 1793{ 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1795 rm -f conftest.$ac_objext 1796 if { { ac_try="$ac_compile" 1797case "(($ac_try" in 1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1799 *) ac_try_echo=$ac_try;; 1800esac 1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1802$as_echo "$ac_try_echo"; } >&5 1803 (eval "$ac_compile") 2>conftest.err 1804 ac_status=$? 1805 if test -s conftest.err; then 1806 grep -v '^ *+' conftest.err >conftest.er1 1807 cat conftest.er1 >&5 1808 mv -f conftest.er1 conftest.err 1809 fi 1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1811 test $ac_status = 0; } && { 1812 test -z "$ac_cxx_werror_flag" || 1813 test ! -s conftest.err 1814 } && test -s conftest.$ac_objext; then : 1815 ac_retval=0 1816else 1817 $as_echo "$as_me: failed program was:" >&5 1818sed 's/^/| /' conftest.$ac_ext >&5 1819 1820 ac_retval=1 1821fi 1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1823 as_fn_set_status $ac_retval 1824 1825} # ac_fn_cxx_try_compile 1826 1827# ac_fn_cxx_try_cpp LINENO 1828# ------------------------ 1829# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1830ac_fn_cxx_try_cpp () 1831{ 1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1833 if { { ac_try="$ac_cpp conftest.$ac_ext" 1834case "(($ac_try" in 1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1836 *) ac_try_echo=$ac_try;; 1837esac 1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1839$as_echo "$ac_try_echo"; } >&5 1840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1841 ac_status=$? 1842 if test -s conftest.err; then 1843 grep -v '^ *+' conftest.err >conftest.er1 1844 cat conftest.er1 >&5 1845 mv -f conftest.er1 conftest.err 1846 fi 1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1848 test $ac_status = 0; } > conftest.i && { 1849 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1850 test ! -s conftest.err 1851 }; then : 1852 ac_retval=0 1853else 1854 $as_echo "$as_me: failed program was:" >&5 1855sed 's/^/| /' conftest.$ac_ext >&5 1856 1857 ac_retval=1 1858fi 1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1860 as_fn_set_status $ac_retval 1861 1862} # ac_fn_cxx_try_cpp 1863 1864# ac_fn_c_try_run LINENO 1865# ---------------------- 1866# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1867# that executables *can* be run. 1868ac_fn_c_try_run () 1869{ 1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1871 if { { ac_try="$ac_link" 1872case "(($ac_try" in 1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1874 *) ac_try_echo=$ac_try;; 1875esac 1876eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1877$as_echo "$ac_try_echo"; } >&5 1878 (eval "$ac_link") 2>&5 1879 ac_status=$? 1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1882 { { case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885esac 1886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1887$as_echo "$ac_try_echo"; } >&5 1888 (eval "$ac_try") 2>&5 1889 ac_status=$? 1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1891 test $ac_status = 0; }; }; then : 1892 ac_retval=0 1893else 1894 $as_echo "$as_me: program exited with status $ac_status" >&5 1895 $as_echo "$as_me: failed program was:" >&5 1896sed 's/^/| /' conftest.$ac_ext >&5 1897 1898 ac_retval=$ac_status 1899fi 1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1902 as_fn_set_status $ac_retval 1903 1904} # ac_fn_c_try_run 1905 1906# ac_fn_c_try_cpp LINENO 1907# ---------------------- 1908# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1909ac_fn_c_try_cpp () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 if { { ac_try="$ac_cpp conftest.$ac_ext" 1913case "(($ac_try" in 1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1915 *) ac_try_echo=$ac_try;; 1916esac 1917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1918$as_echo "$ac_try_echo"; } >&5 1919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1920 ac_status=$? 1921 if test -s conftest.err; then 1922 grep -v '^ *+' conftest.err >conftest.er1 1923 cat conftest.er1 >&5 1924 mv -f conftest.er1 conftest.err 1925 fi 1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1927 test $ac_status = 0; } > conftest.i && { 1928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1929 test ! -s conftest.err 1930 }; then : 1931 ac_retval=0 1932else 1933 $as_echo "$as_me: failed program was:" >&5 1934sed 's/^/| /' conftest.$ac_ext >&5 1935 1936 ac_retval=1 1937fi 1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1939 as_fn_set_status $ac_retval 1940 1941} # ac_fn_c_try_cpp 1942 1943# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1944# ------------------------------------------------------- 1945# Tests whether HEADER exists and can be compiled using the include files in 1946# INCLUDES, setting the cache variable VAR accordingly. 1947ac_fn_c_check_header_compile () 1948{ 1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1951$as_echo_n "checking for $2... " >&6; } 1952if eval \${$3+:} false; then : 1953 $as_echo_n "(cached) " >&6 1954else 1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1956/* end confdefs.h. */ 1957$4 1958#include <$2> 1959_ACEOF 1960if ac_fn_c_try_compile "$LINENO"; then : 1961 eval "$3=yes" 1962else 1963 eval "$3=no" 1964fi 1965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1966fi 1967eval ac_res=\$$3 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1969$as_echo "$ac_res" >&6; } 1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1971 1972} # ac_fn_c_check_header_compile 1973 1974# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1975# -------------------------------------------- 1976# Tries to find the compile-time value of EXPR in a program that includes 1977# INCLUDES, setting VAR accordingly. Returns whether the value could be 1978# computed 1979ac_fn_c_compute_int () 1980{ 1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1982 if test "$cross_compiling" = yes; then 1983 # Depending upon the size, compute the lo and hi bounds. 1984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1985/* end confdefs.h. */ 1986$4 1987int 1988main () 1989{ 1990static int test_array [1 - 2 * !(($2) >= 0)]; 1991test_array [0] = 0; 1992return test_array [0]; 1993 1994 ; 1995 return 0; 1996} 1997_ACEOF 1998if ac_fn_c_try_compile "$LINENO"; then : 1999 ac_lo=0 ac_mid=0 2000 while :; do 2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2002/* end confdefs.h. */ 2003$4 2004int 2005main () 2006{ 2007static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2008test_array [0] = 0; 2009return test_array [0]; 2010 2011 ; 2012 return 0; 2013} 2014_ACEOF 2015if ac_fn_c_try_compile "$LINENO"; then : 2016 ac_hi=$ac_mid; break 2017else 2018 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2019 if test $ac_lo -le $ac_mid; then 2020 ac_lo= ac_hi= 2021 break 2022 fi 2023 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2024fi 2025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2026 done 2027else 2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2029/* end confdefs.h. */ 2030$4 2031int 2032main () 2033{ 2034static int test_array [1 - 2 * !(($2) < 0)]; 2035test_array [0] = 0; 2036return test_array [0]; 2037 2038 ; 2039 return 0; 2040} 2041_ACEOF 2042if ac_fn_c_try_compile "$LINENO"; then : 2043 ac_hi=-1 ac_mid=-1 2044 while :; do 2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2046/* end confdefs.h. */ 2047$4 2048int 2049main () 2050{ 2051static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2052test_array [0] = 0; 2053return test_array [0]; 2054 2055 ; 2056 return 0; 2057} 2058_ACEOF 2059if ac_fn_c_try_compile "$LINENO"; then : 2060 ac_lo=$ac_mid; break 2061else 2062 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2063 if test $ac_mid -le $ac_hi; then 2064 ac_lo= ac_hi= 2065 break 2066 fi 2067 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2068fi 2069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2070 done 2071else 2072 ac_lo= ac_hi= 2073fi 2074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2075fi 2076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2077# Binary search between lo and hi bounds. 2078while test "x$ac_lo" != "x$ac_hi"; do 2079 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2081/* end confdefs.h. */ 2082$4 2083int 2084main () 2085{ 2086static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2087test_array [0] = 0; 2088return test_array [0]; 2089 2090 ; 2091 return 0; 2092} 2093_ACEOF 2094if ac_fn_c_try_compile "$LINENO"; then : 2095 ac_hi=$ac_mid 2096else 2097 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2098fi 2099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2100done 2101case $ac_lo in #(( 2102?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2103'') ac_retval=1 ;; 2104esac 2105 else 2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107/* end confdefs.h. */ 2108$4 2109static long int longval () { return $2; } 2110static unsigned long int ulongval () { return $2; } 2111#include <stdio.h> 2112#include <stdlib.h> 2113int 2114main () 2115{ 2116 2117 FILE *f = fopen ("conftest.val", "w"); 2118 if (! f) 2119 return 1; 2120 if (($2) < 0) 2121 { 2122 long int i = longval (); 2123 if (i != ($2)) 2124 return 1; 2125 fprintf (f, "%ld", i); 2126 } 2127 else 2128 { 2129 unsigned long int i = ulongval (); 2130 if (i != ($2)) 2131 return 1; 2132 fprintf (f, "%lu", i); 2133 } 2134 /* Do not output a trailing newline, as this causes \r\n confusion 2135 on some platforms. */ 2136 return ferror (f) || fclose (f) != 0; 2137 2138 ; 2139 return 0; 2140} 2141_ACEOF 2142if ac_fn_c_try_run "$LINENO"; then : 2143 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2144else 2145 ac_retval=1 2146fi 2147rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2148 conftest.$ac_objext conftest.beam conftest.$ac_ext 2149rm -f conftest.val 2150 2151 fi 2152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2153 as_fn_set_status $ac_retval 2154 2155} # ac_fn_c_compute_int 2156 2157# ac_fn_cxx_try_link LINENO 2158# ------------------------- 2159# Try to link conftest.$ac_ext, and return whether this succeeded. 2160ac_fn_cxx_try_link () 2161{ 2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2163 rm -f conftest.$ac_objext conftest$ac_exeext 2164 if { { ac_try="$ac_link" 2165case "(($ac_try" in 2166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2167 *) ac_try_echo=$ac_try;; 2168esac 2169eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2170$as_echo "$ac_try_echo"; } >&5 2171 (eval "$ac_link") 2>conftest.err 2172 ac_status=$? 2173 if test -s conftest.err; then 2174 grep -v '^ *+' conftest.err >conftest.er1 2175 cat conftest.er1 >&5 2176 mv -f conftest.er1 conftest.err 2177 fi 2178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2179 test $ac_status = 0; } && { 2180 test -z "$ac_cxx_werror_flag" || 2181 test ! -s conftest.err 2182 } && test -s conftest$ac_exeext && { 2183 test "$cross_compiling" = yes || 2184 test -x conftest$ac_exeext 2185 }; then : 2186 ac_retval=0 2187else 2188 $as_echo "$as_me: failed program was:" >&5 2189sed 's/^/| /' conftest.$ac_ext >&5 2190 2191 ac_retval=1 2192fi 2193 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2194 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2195 # interfere with the next link command; also delete a directory that is 2196 # left behind by Apple's compiler. We do this before executing the actions. 2197 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2199 as_fn_set_status $ac_retval 2200 2201} # ac_fn_cxx_try_link 2202 2203# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2204# --------------------------------------------------------- 2205# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2206# the include files in INCLUDES and setting the cache variable VAR 2207# accordingly. 2208ac_fn_cxx_check_header_mongrel () 2209{ 2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2211 if eval \${$3+:} false; then : 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2213$as_echo_n "checking for $2... " >&6; } 2214if eval \${$3+:} false; then : 2215 $as_echo_n "(cached) " >&6 2216fi 2217eval ac_res=\$$3 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2219$as_echo "$ac_res" >&6; } 2220else 2221 # Is the header compilable? 2222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2223$as_echo_n "checking $2 usability... " >&6; } 2224cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2225/* end confdefs.h. */ 2226$4 2227#include <$2> 2228_ACEOF 2229if ac_fn_cxx_try_compile "$LINENO"; then : 2230 ac_header_compiler=yes 2231else 2232 ac_header_compiler=no 2233fi 2234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2236$as_echo "$ac_header_compiler" >&6; } 2237 2238# Is the header present? 2239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2240$as_echo_n "checking $2 presence... " >&6; } 2241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2242/* end confdefs.h. */ 2243#include <$2> 2244_ACEOF 2245if ac_fn_cxx_try_cpp "$LINENO"; then : 2246 ac_header_preproc=yes 2247else 2248 ac_header_preproc=no 2249fi 2250rm -f conftest.err conftest.i conftest.$ac_ext 2251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2252$as_echo "$ac_header_preproc" >&6; } 2253 2254# So? What about this header? 2255case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2256 yes:no: ) 2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2258$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2260$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2261 ;; 2262 no:yes:* ) 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2264$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2266$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2268$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2270$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2272$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2273( $as_echo "## ------------------------------------ ## 2274## Report this to ppl-devel@cs.unipr.it ## 2275## ------------------------------------ ##" 2276 ) | sed "s/^/$as_me: WARNING: /" >&2 2277 ;; 2278esac 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2280$as_echo_n "checking for $2... " >&6; } 2281if eval \${$3+:} false; then : 2282 $as_echo_n "(cached) " >&6 2283else 2284 eval "$3=\$ac_header_compiler" 2285fi 2286eval ac_res=\$$3 2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2288$as_echo "$ac_res" >&6; } 2289fi 2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2291 2292} # ac_fn_cxx_check_header_mongrel 2293 2294# ac_fn_cxx_try_run LINENO 2295# ------------------------ 2296# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2297# that executables *can* be run. 2298ac_fn_cxx_try_run () 2299{ 2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2301 if { { ac_try="$ac_link" 2302case "(($ac_try" in 2303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2304 *) ac_try_echo=$ac_try;; 2305esac 2306eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2307$as_echo "$ac_try_echo"; } >&5 2308 (eval "$ac_link") 2>&5 2309 ac_status=$? 2310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2311 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2312 { { case "(($ac_try" in 2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2314 *) ac_try_echo=$ac_try;; 2315esac 2316eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2317$as_echo "$ac_try_echo"; } >&5 2318 (eval "$ac_try") 2>&5 2319 ac_status=$? 2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2321 test $ac_status = 0; }; }; then : 2322 ac_retval=0 2323else 2324 $as_echo "$as_me: program exited with status $ac_status" >&5 2325 $as_echo "$as_me: failed program was:" >&5 2326sed 's/^/| /' conftest.$ac_ext >&5 2327 2328 ac_retval=$ac_status 2329fi 2330 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2332 as_fn_set_status $ac_retval 2333 2334} # ac_fn_cxx_try_run 2335 2336# ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES 2337# ----------------------------------------------- 2338# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2339# accordingly. 2340ac_fn_cxx_check_decl () 2341{ 2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2343 as_decl_name=`echo $2|sed 's/ *(.*//'` 2344 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2346$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2347if eval \${$3+:} false; then : 2348 $as_echo_n "(cached) " >&6 2349else 2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2351/* end confdefs.h. */ 2352$4 2353int 2354main () 2355{ 2356#ifndef $as_decl_name 2357#ifdef __cplusplus 2358 (void) $as_decl_use; 2359#else 2360 (void) $as_decl_name; 2361#endif 2362#endif 2363 2364 ; 2365 return 0; 2366} 2367_ACEOF 2368if ac_fn_cxx_try_compile "$LINENO"; then : 2369 eval "$3=yes" 2370else 2371 eval "$3=no" 2372fi 2373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2374fi 2375eval ac_res=\$$3 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2377$as_echo "$ac_res" >&6; } 2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2379 2380} # ac_fn_cxx_check_decl 2381 2382# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2383# --------------------------------------------- 2384# Tests whether TYPE exists after having included INCLUDES, setting cache 2385# variable VAR accordingly. 2386ac_fn_cxx_check_type () 2387{ 2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2390$as_echo_n "checking for $2... " >&6; } 2391if eval \${$3+:} false; then : 2392 $as_echo_n "(cached) " >&6 2393else 2394 eval "$3=no" 2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2396/* end confdefs.h. */ 2397$4 2398int 2399main () 2400{ 2401if (sizeof ($2)) 2402 return 0; 2403 ; 2404 return 0; 2405} 2406_ACEOF 2407if ac_fn_cxx_try_compile "$LINENO"; then : 2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2409/* end confdefs.h. */ 2410$4 2411int 2412main () 2413{ 2414if (sizeof (($2))) 2415 return 0; 2416 ; 2417 return 0; 2418} 2419_ACEOF 2420if ac_fn_cxx_try_compile "$LINENO"; then : 2421 2422else 2423 eval "$3=yes" 2424fi 2425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2426fi 2427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2428fi 2429eval ac_res=\$$3 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2431$as_echo "$ac_res" >&6; } 2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2433 2434} # ac_fn_cxx_check_type 2435 2436# ac_fn_c_try_link LINENO 2437# ----------------------- 2438# Try to link conftest.$ac_ext, and return whether this succeeded. 2439ac_fn_c_try_link () 2440{ 2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2442 rm -f conftest.$ac_objext conftest$ac_exeext 2443 if { { ac_try="$ac_link" 2444case "(($ac_try" in 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 *) ac_try_echo=$ac_try;; 2447esac 2448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2449$as_echo "$ac_try_echo"; } >&5 2450 (eval "$ac_link") 2>conftest.err 2451 ac_status=$? 2452 if test -s conftest.err; then 2453 grep -v '^ *+' conftest.err >conftest.er1 2454 cat conftest.er1 >&5 2455 mv -f conftest.er1 conftest.err 2456 fi 2457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2458 test $ac_status = 0; } && { 2459 test -z "$ac_c_werror_flag" || 2460 test ! -s conftest.err 2461 } && test -s conftest$ac_exeext && { 2462 test "$cross_compiling" = yes || 2463 test -x conftest$ac_exeext 2464 }; then : 2465 ac_retval=0 2466else 2467 $as_echo "$as_me: failed program was:" >&5 2468sed 's/^/| /' conftest.$ac_ext >&5 2469 2470 ac_retval=1 2471fi 2472 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2473 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2474 # interfere with the next link command; also delete a directory that is 2475 # left behind by Apple's compiler. We do this before executing the actions. 2476 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2478 as_fn_set_status $ac_retval 2479 2480} # ac_fn_c_try_link 2481 2482# ac_fn_c_check_func LINENO FUNC VAR 2483# ---------------------------------- 2484# Tests whether FUNC exists, setting the cache variable VAR accordingly 2485ac_fn_c_check_func () 2486{ 2487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2489$as_echo_n "checking for $2... " >&6; } 2490if eval \${$3+:} false; then : 2491 $as_echo_n "(cached) " >&6 2492else 2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2494/* end confdefs.h. */ 2495/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2496 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2497#define $2 innocuous_$2 2498 2499/* System header to define __stub macros and hopefully few prototypes, 2500 which can conflict with char $2 (); below. 2501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2502 <limits.h> exists even on freestanding compilers. */ 2503 2504#ifdef __STDC__ 2505# include <limits.h> 2506#else 2507# include <assert.h> 2508#endif 2509 2510#undef $2 2511 2512/* Override any GCC internal prototype to avoid an error. 2513 Use char because int might match the return type of a GCC 2514 builtin and then its argument prototype would still apply. */ 2515#ifdef __cplusplus 2516extern "C" 2517#endif 2518char $2 (); 2519/* The GNU C library defines this for functions which it implements 2520 to always fail with ENOSYS. Some functions are actually named 2521 something starting with __ and the normal name is an alias. */ 2522#if defined __stub_$2 || defined __stub___$2 2523choke me 2524#endif 2525 2526int 2527main () 2528{ 2529return $2 (); 2530 ; 2531 return 0; 2532} 2533_ACEOF 2534if ac_fn_c_try_link "$LINENO"; then : 2535 eval "$3=yes" 2536else 2537 eval "$3=no" 2538fi 2539rm -f core conftest.err conftest.$ac_objext \ 2540 conftest$ac_exeext conftest.$ac_ext 2541fi 2542eval ac_res=\$$3 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2544$as_echo "$ac_res" >&6; } 2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2546 2547} # ac_fn_c_check_func 2548 2549# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 2550# ---------------------------------------------- 2551# Tries to find the compile-time value of EXPR in a program that includes 2552# INCLUDES, setting VAR accordingly. Returns whether the value could be 2553# computed 2554ac_fn_cxx_compute_int () 2555{ 2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2557 if test "$cross_compiling" = yes; then 2558 # Depending upon the size, compute the lo and hi bounds. 2559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2560/* end confdefs.h. */ 2561$4 2562int 2563main () 2564{ 2565static int test_array [1 - 2 * !(($2) >= 0)]; 2566test_array [0] = 0; 2567return test_array [0]; 2568 2569 ; 2570 return 0; 2571} 2572_ACEOF 2573if ac_fn_cxx_try_compile "$LINENO"; then : 2574 ac_lo=0 ac_mid=0 2575 while :; do 2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2577/* end confdefs.h. */ 2578$4 2579int 2580main () 2581{ 2582static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2583test_array [0] = 0; 2584return test_array [0]; 2585 2586 ; 2587 return 0; 2588} 2589_ACEOF 2590if ac_fn_cxx_try_compile "$LINENO"; then : 2591 ac_hi=$ac_mid; break 2592else 2593 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2594 if test $ac_lo -le $ac_mid; then 2595 ac_lo= ac_hi= 2596 break 2597 fi 2598 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2599fi 2600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2601 done 2602else 2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2604/* end confdefs.h. */ 2605$4 2606int 2607main () 2608{ 2609static int test_array [1 - 2 * !(($2) < 0)]; 2610test_array [0] = 0; 2611return test_array [0]; 2612 2613 ; 2614 return 0; 2615} 2616_ACEOF 2617if ac_fn_cxx_try_compile "$LINENO"; then : 2618 ac_hi=-1 ac_mid=-1 2619 while :; do 2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2621/* end confdefs.h. */ 2622$4 2623int 2624main () 2625{ 2626static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2627test_array [0] = 0; 2628return test_array [0]; 2629 2630 ; 2631 return 0; 2632} 2633_ACEOF 2634if ac_fn_cxx_try_compile "$LINENO"; then : 2635 ac_lo=$ac_mid; break 2636else 2637 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2638 if test $ac_mid -le $ac_hi; then 2639 ac_lo= ac_hi= 2640 break 2641 fi 2642 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2643fi 2644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2645 done 2646else 2647 ac_lo= ac_hi= 2648fi 2649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2650fi 2651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2652# Binary search between lo and hi bounds. 2653while test "x$ac_lo" != "x$ac_hi"; do 2654 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2656/* end confdefs.h. */ 2657$4 2658int 2659main () 2660{ 2661static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2662test_array [0] = 0; 2663return test_array [0]; 2664 2665 ; 2666 return 0; 2667} 2668_ACEOF 2669if ac_fn_cxx_try_compile "$LINENO"; then : 2670 ac_hi=$ac_mid 2671else 2672 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2673fi 2674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2675done 2676case $ac_lo in #(( 2677?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2678'') ac_retval=1 ;; 2679esac 2680 else 2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2682/* end confdefs.h. */ 2683$4 2684static long int longval () { return $2; } 2685static unsigned long int ulongval () { return $2; } 2686#include <stdio.h> 2687#include <stdlib.h> 2688int 2689main () 2690{ 2691 2692 FILE *f = fopen ("conftest.val", "w"); 2693 if (! f) 2694 return 1; 2695 if (($2) < 0) 2696 { 2697 long int i = longval (); 2698 if (i != ($2)) 2699 return 1; 2700 fprintf (f, "%ld", i); 2701 } 2702 else 2703 { 2704 unsigned long int i = ulongval (); 2705 if (i != ($2)) 2706 return 1; 2707 fprintf (f, "%lu", i); 2708 } 2709 /* Do not output a trailing newline, as this causes \r\n confusion 2710 on some platforms. */ 2711 return ferror (f) || fclose (f) != 0; 2712 2713 ; 2714 return 0; 2715} 2716_ACEOF 2717if ac_fn_cxx_try_run "$LINENO"; then : 2718 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2719else 2720 ac_retval=1 2721fi 2722rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2723 conftest.$ac_objext conftest.beam conftest.$ac_ext 2724rm -f conftest.val 2725 2726 fi 2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2728 as_fn_set_status $ac_retval 2729 2730} # ac_fn_cxx_compute_int 2731 2732# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES 2733# ------------------------------------------------------ 2734# Tries to find if the field MEMBER exists in type AGGR, after including 2735# INCLUDES, setting cache variable VAR accordingly. 2736ac_fn_cxx_check_member () 2737{ 2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2740$as_echo_n "checking for $2.$3... " >&6; } 2741if eval \${$4+:} false; then : 2742 $as_echo_n "(cached) " >&6 2743else 2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2745/* end confdefs.h. */ 2746$5 2747int 2748main () 2749{ 2750static $2 ac_aggr; 2751if (ac_aggr.$3) 2752return 0; 2753 ; 2754 return 0; 2755} 2756_ACEOF 2757if ac_fn_cxx_try_compile "$LINENO"; then : 2758 eval "$4=yes" 2759else 2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2761/* end confdefs.h. */ 2762$5 2763int 2764main () 2765{ 2766static $2 ac_aggr; 2767if (sizeof ac_aggr.$3) 2768return 0; 2769 ; 2770 return 0; 2771} 2772_ACEOF 2773if ac_fn_cxx_try_compile "$LINENO"; then : 2774 eval "$4=yes" 2775else 2776 eval "$4=no" 2777fi 2778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2779fi 2780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2781fi 2782eval ac_res=\$$4 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2784$as_echo "$ac_res" >&6; } 2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2786 2787} # ac_fn_cxx_check_member 2788 2789# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2790# ------------------------------------------------------- 2791# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2792# the include files in INCLUDES and setting the cache variable VAR 2793# accordingly. 2794ac_fn_c_check_header_mongrel () 2795{ 2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2797 if eval \${$3+:} false; then : 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2799$as_echo_n "checking for $2... " >&6; } 2800if eval \${$3+:} false; then : 2801 $as_echo_n "(cached) " >&6 2802fi 2803eval ac_res=\$$3 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2805$as_echo "$ac_res" >&6; } 2806else 2807 # Is the header compilable? 2808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2809$as_echo_n "checking $2 usability... " >&6; } 2810cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2811/* end confdefs.h. */ 2812$4 2813#include <$2> 2814_ACEOF 2815if ac_fn_c_try_compile "$LINENO"; then : 2816 ac_header_compiler=yes 2817else 2818 ac_header_compiler=no 2819fi 2820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2822$as_echo "$ac_header_compiler" >&6; } 2823 2824# Is the header present? 2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2826$as_echo_n "checking $2 presence... " >&6; } 2827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2828/* end confdefs.h. */ 2829#include <$2> 2830_ACEOF 2831if ac_fn_c_try_cpp "$LINENO"; then : 2832 ac_header_preproc=yes 2833else 2834 ac_header_preproc=no 2835fi 2836rm -f conftest.err conftest.i conftest.$ac_ext 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2838$as_echo "$ac_header_preproc" >&6; } 2839 2840# So? What about this header? 2841case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2842 yes:no: ) 2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2844$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2846$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2847 ;; 2848 no:yes:* ) 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2850$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2852$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2854$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2856$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2858$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2859( $as_echo "## ------------------------------------ ## 2860## Report this to ppl-devel@cs.unipr.it ## 2861## ------------------------------------ ##" 2862 ) | sed "s/^/$as_me: WARNING: /" >&2 2863 ;; 2864esac 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2866$as_echo_n "checking for $2... " >&6; } 2867if eval \${$3+:} false; then : 2868 $as_echo_n "(cached) " >&6 2869else 2870 eval "$3=\$ac_header_compiler" 2871fi 2872eval ac_res=\$$3 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2874$as_echo "$ac_res" >&6; } 2875fi 2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2877 2878} # ac_fn_c_check_header_mongrel 2879 2880# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2881# --------------------------------------------- 2882# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2883# accordingly. 2884ac_fn_c_check_decl () 2885{ 2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2887 as_decl_name=`echo $2|sed 's/ *(.*//'` 2888 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2890$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2891if eval \${$3+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893else 2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2895/* end confdefs.h. */ 2896$4 2897int 2898main () 2899{ 2900#ifndef $as_decl_name 2901#ifdef __cplusplus 2902 (void) $as_decl_use; 2903#else 2904 (void) $as_decl_name; 2905#endif 2906#endif 2907 2908 ; 2909 return 0; 2910} 2911_ACEOF 2912if ac_fn_c_try_compile "$LINENO"; then : 2913 eval "$3=yes" 2914else 2915 eval "$3=no" 2916fi 2917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2918fi 2919eval ac_res=\$$3 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2921$as_echo "$ac_res" >&6; } 2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2923 2924} # ac_fn_c_check_decl 2925cat >config.log <<_ACEOF 2926This file contains any messages produced by compilers while 2927running configure, to aid debugging if configure makes a mistake. 2928 2929It was created by the Parma Polyhedra Library $as_me 1.2, which was 2930generated by GNU Autoconf 2.69. Invocation command line was 2931 2932 $ $0 $@ 2933 2934_ACEOF 2935exec 5>>config.log 2936{ 2937cat <<_ASUNAME 2938## --------- ## 2939## Platform. ## 2940## --------- ## 2941 2942hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2943uname -m = `(uname -m) 2>/dev/null || echo unknown` 2944uname -r = `(uname -r) 2>/dev/null || echo unknown` 2945uname -s = `(uname -s) 2>/dev/null || echo unknown` 2946uname -v = `(uname -v) 2>/dev/null || echo unknown` 2947 2948/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2949/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2950 2951/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2952/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2953/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2954/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2955/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2956/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2957/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2958 2959_ASUNAME 2960 2961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2962for as_dir in $PATH 2963do 2964 IFS=$as_save_IFS 2965 test -z "$as_dir" && as_dir=. 2966 $as_echo "PATH: $as_dir" 2967 done 2968IFS=$as_save_IFS 2969 2970} >&5 2971 2972cat >&5 <<_ACEOF 2973 2974 2975## ----------- ## 2976## Core tests. ## 2977## ----------- ## 2978 2979_ACEOF 2980 2981 2982# Keep a trace of the command line. 2983# Strip out --no-create and --no-recursion so they do not pile up. 2984# Strip out --silent because we don't want to record it for future runs. 2985# Also quote any args containing shell meta-characters. 2986# Make two passes to allow for proper duplicate-argument suppression. 2987ac_configure_args= 2988ac_configure_args0= 2989ac_configure_args1= 2990ac_must_keep_next=false 2991for ac_pass in 1 2 2992do 2993 for ac_arg 2994 do 2995 case $ac_arg in 2996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2998 | -silent | --silent | --silen | --sile | --sil) 2999 continue ;; 3000 *\'*) 3001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3002 esac 3003 case $ac_pass in 3004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 3005 2) 3006 as_fn_append ac_configure_args1 " '$ac_arg'" 3007 if test $ac_must_keep_next = true; then 3008 ac_must_keep_next=false # Got value, back to normal. 3009 else 3010 case $ac_arg in 3011 *=* | --config-cache | -C | -disable-* | --disable-* \ 3012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 3013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 3014 | -with-* | --with-* | -without-* | --without-* | --x) 3015 case "$ac_configure_args0 " in 3016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 3017 esac 3018 ;; 3019 -* ) ac_must_keep_next=true ;; 3020 esac 3021 fi 3022 as_fn_append ac_configure_args " '$ac_arg'" 3023 ;; 3024 esac 3025 done 3026done 3027{ ac_configure_args0=; unset ac_configure_args0;} 3028{ ac_configure_args1=; unset ac_configure_args1;} 3029 3030# When interrupted or exit'd, cleanup temporary files, and complete 3031# config.log. We remove comments because anyway the quotes in there 3032# would cause problems or look ugly. 3033# WARNING: Use '\'' to represent an apostrophe within the trap. 3034# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 3035trap 'exit_status=$? 3036 # Save into config.log some information that might help in debugging. 3037 { 3038 echo 3039 3040 $as_echo "## ---------------- ## 3041## Cache variables. ## 3042## ---------------- ##" 3043 echo 3044 # The following way of writing the cache mishandles newlines in values, 3045( 3046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 3047 eval ac_val=\$$ac_var 3048 case $ac_val in #( 3049 *${as_nl}*) 3050 case $ac_var in #( 3051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3052$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3053 esac 3054 case $ac_var in #( 3055 _ | IFS | as_nl) ;; #( 3056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3057 *) { eval $ac_var=; unset $ac_var;} ;; 3058 esac ;; 3059 esac 3060 done 3061 (set) 2>&1 | 3062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 3063 *${as_nl}ac_space=\ *) 3064 sed -n \ 3065 "s/'\''/'\''\\\\'\'''\''/g; 3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 3067 ;; #( 3068 *) 3069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3070 ;; 3071 esac | 3072 sort 3073) 3074 echo 3075 3076 $as_echo "## ----------------- ## 3077## Output variables. ## 3078## ----------------- ##" 3079 echo 3080 for ac_var in $ac_subst_vars 3081 do 3082 eval ac_val=\$$ac_var 3083 case $ac_val in 3084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3085 esac 3086 $as_echo "$ac_var='\''$ac_val'\''" 3087 done | sort 3088 echo 3089 3090 if test -n "$ac_subst_files"; then 3091 $as_echo "## ------------------- ## 3092## File substitutions. ## 3093## ------------------- ##" 3094 echo 3095 for ac_var in $ac_subst_files 3096 do 3097 eval ac_val=\$$ac_var 3098 case $ac_val in 3099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3100 esac 3101 $as_echo "$ac_var='\''$ac_val'\''" 3102 done | sort 3103 echo 3104 fi 3105 3106 if test -s confdefs.h; then 3107 $as_echo "## ----------- ## 3108## confdefs.h. ## 3109## ----------- ##" 3110 echo 3111 cat confdefs.h 3112 echo 3113 fi 3114 test "$ac_signal" != 0 && 3115 $as_echo "$as_me: caught signal $ac_signal" 3116 $as_echo "$as_me: exit $exit_status" 3117 } >&5 3118 rm -f core *.core core.conftest.* && 3119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 3120 exit $exit_status 3121' 0 3122for ac_signal in 1 2 13 15; do 3123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 3124done 3125ac_signal=0 3126 3127# confdefs.h avoids OS command line length limits that DEFS can exceed. 3128rm -f -r conftest* confdefs.h 3129 3130$as_echo "/* confdefs.h */" > confdefs.h 3131 3132# Predefined preprocessor variables. 3133 3134cat >>confdefs.h <<_ACEOF 3135#define PACKAGE_NAME "$PACKAGE_NAME" 3136_ACEOF 3137 3138cat >>confdefs.h <<_ACEOF 3139#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 3140_ACEOF 3141 3142cat >>confdefs.h <<_ACEOF 3143#define PACKAGE_VERSION "$PACKAGE_VERSION" 3144_ACEOF 3145 3146cat >>confdefs.h <<_ACEOF 3147#define PACKAGE_STRING "$PACKAGE_STRING" 3148_ACEOF 3149 3150cat >>confdefs.h <<_ACEOF 3151#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3152_ACEOF 3153 3154cat >>confdefs.h <<_ACEOF 3155#define PACKAGE_URL "$PACKAGE_URL" 3156_ACEOF 3157 3158 3159# Let the site file select an alternate cache file if it wants to. 3160# Prefer an explicitly selected file to automatically selected ones. 3161ac_site_file1=NONE 3162ac_site_file2=NONE 3163if test -n "$CONFIG_SITE"; then 3164 # We do not want a PATH search for config.site. 3165 case $CONFIG_SITE in #(( 3166 -*) ac_site_file1=./$CONFIG_SITE;; 3167 */*) ac_site_file1=$CONFIG_SITE;; 3168 *) ac_site_file1=./$CONFIG_SITE;; 3169 esac 3170elif test "x$prefix" != xNONE; then 3171 ac_site_file1=$prefix/share/config.site 3172 ac_site_file2=$prefix/etc/config.site 3173else 3174 ac_site_file1=$ac_default_prefix/share/config.site 3175 ac_site_file2=$ac_default_prefix/etc/config.site 3176fi 3177for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3178do 3179 test "x$ac_site_file" = xNONE && continue 3180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3182$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3183 sed 's/^/| /' "$ac_site_file" >&5 3184 . "$ac_site_file" \ 3185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3187as_fn_error $? "failed to load site script $ac_site_file 3188See \`config.log' for more details" "$LINENO" 5; } 3189 fi 3190done 3191 3192if test -r "$cache_file"; then 3193 # Some versions of bash will fail to source /dev/null (special files 3194 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3197$as_echo "$as_me: loading cache $cache_file" >&6;} 3198 case $cache_file in 3199 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3200 *) . "./$cache_file";; 3201 esac 3202 fi 3203else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3205$as_echo "$as_me: creating cache $cache_file" >&6;} 3206 >$cache_file 3207fi 3208 3209# Check that the precious variables saved in the cache have kept the same 3210# value. 3211ac_cache_corrupted=false 3212for ac_var in $ac_precious_vars; do 3213 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3214 eval ac_new_set=\$ac_env_${ac_var}_set 3215 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3216 eval ac_new_val=\$ac_env_${ac_var}_value 3217 case $ac_old_set,$ac_new_set in 3218 set,) 3219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3220$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3221 ac_cache_corrupted=: ;; 3222 ,set) 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3224$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3225 ac_cache_corrupted=: ;; 3226 ,);; 3227 *) 3228 if test "x$ac_old_val" != "x$ac_new_val"; then 3229 # differences in whitespace do not lead to failure. 3230 ac_old_val_w=`echo x $ac_old_val` 3231 ac_new_val_w=`echo x $ac_new_val` 3232 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3234$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3235 ac_cache_corrupted=: 3236 else 3237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3238$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3239 eval $ac_var=\$ac_old_val 3240 fi 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3242$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3244$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3245 fi;; 3246 esac 3247 # Pass precious variables to config.status. 3248 if test "$ac_new_set" = set; then 3249 case $ac_new_val in 3250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3251 *) ac_arg=$ac_var=$ac_new_val ;; 3252 esac 3253 case " $ac_configure_args " in 3254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3255 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3256 esac 3257 fi 3258done 3259if $ac_cache_corrupted; then 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3263$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3265fi 3266## -------------------- ## 3267## Main body of script. ## 3268## -------------------- ## 3269 3270ac_ext=c 3271ac_cpp='$CPP $CPPFLAGS' 3272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3274ac_compiler_gnu=$ac_cv_c_compiler_gnu 3275 3276 3277 3278# Minimum Autoconf version required. 3279 3280 3281# Make sure the sources are there. 3282 3283 3284# Specify the location of additional local Autoconf macros. 3285 3286 3287# Determine the system type and set output variables to the names of 3288# the canonical system types. 3289ac_aux_dir= 3290for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3291 if test -f "$ac_dir/install-sh"; then 3292 ac_aux_dir=$ac_dir 3293 ac_install_sh="$ac_aux_dir/install-sh -c" 3294 break 3295 elif test -f "$ac_dir/install.sh"; then 3296 ac_aux_dir=$ac_dir 3297 ac_install_sh="$ac_aux_dir/install.sh -c" 3298 break 3299 elif test -f "$ac_dir/shtool"; then 3300 ac_aux_dir=$ac_dir 3301 ac_install_sh="$ac_aux_dir/shtool install -c" 3302 break 3303 fi 3304done 3305if test -z "$ac_aux_dir"; then 3306 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3307fi 3308 3309# These three variables are undocumented and unsupported, 3310# and are intended to be withdrawn in a future Autoconf release. 3311# They can cause serious problems if a builder's source tree is in a directory 3312# whose full name contains unusual characters. 3313ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3314ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3315ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3316 3317 3318# Make sure we can run config.sub. 3319$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3320 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3321 3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3323$as_echo_n "checking build system type... " >&6; } 3324if ${ac_cv_build+:} false; then : 3325 $as_echo_n "(cached) " >&6 3326else 3327 ac_build_alias=$build_alias 3328test "x$ac_build_alias" = x && 3329 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3330test "x$ac_build_alias" = x && 3331 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3332ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3333 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3334 3335fi 3336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3337$as_echo "$ac_cv_build" >&6; } 3338case $ac_cv_build in 3339*-*-*) ;; 3340*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3341esac 3342build=$ac_cv_build 3343ac_save_IFS=$IFS; IFS='-' 3344set x $ac_cv_build 3345shift 3346build_cpu=$1 3347build_vendor=$2 3348shift; shift 3349# Remember, the first character of IFS is used to create $*, 3350# except with old shells: 3351build_os=$* 3352IFS=$ac_save_IFS 3353case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3354 3355 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3357$as_echo_n "checking host system type... " >&6; } 3358if ${ac_cv_host+:} false; then : 3359 $as_echo_n "(cached) " >&6 3360else 3361 if test "x$host_alias" = x; then 3362 ac_cv_host=$ac_cv_build 3363else 3364 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3365 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3366fi 3367 3368fi 3369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3370$as_echo "$ac_cv_host" >&6; } 3371case $ac_cv_host in 3372*-*-*) ;; 3373*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3374esac 3375host=$ac_cv_host 3376ac_save_IFS=$IFS; IFS='-' 3377set x $ac_cv_host 3378shift 3379host_cpu=$1 3380host_vendor=$2 3381shift; shift 3382# Remember, the first character of IFS is used to create $*, 3383# except with old shells: 3384host_os=$* 3385IFS=$ac_save_IFS 3386case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3387 3388 3389 3390# Use Automake. 3391am__api_version='1.14' 3392 3393# Find a good install program. We prefer a C program (faster), 3394# so one script is as good as another. But avoid the broken or 3395# incompatible versions: 3396# SysV /etc/install, /usr/sbin/install 3397# SunOS /usr/etc/install 3398# IRIX /sbin/install 3399# AIX /bin/install 3400# AmigaOS /C/install, which installs bootblocks on floppy discs 3401# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3402# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3403# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3404# OS/2's system install, which has a completely different semantic 3405# ./install, which can be erroneously created by make from ./install.sh. 3406# Reject install programs that cannot install multiple files. 3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3408$as_echo_n "checking for a BSD-compatible install... " >&6; } 3409if test -z "$INSTALL"; then 3410if ${ac_cv_path_install+:} false; then : 3411 $as_echo_n "(cached) " >&6 3412else 3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3414for as_dir in $PATH 3415do 3416 IFS=$as_save_IFS 3417 test -z "$as_dir" && as_dir=. 3418 # Account for people who put trailing slashes in PATH elements. 3419case $as_dir/ in #(( 3420 ./ | .// | /[cC]/* | \ 3421 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3422 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3423 /usr/ucb/* ) ;; 3424 *) 3425 # OSF1 and SCO ODT 3.0 have their own names for install. 3426 # Don't use installbsd from OSF since it installs stuff as root 3427 # by default. 3428 for ac_prog in ginstall scoinst install; do 3429 for ac_exec_ext in '' $ac_executable_extensions; do 3430 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3431 if test $ac_prog = install && 3432 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3433 # AIX install. It has an incompatible calling convention. 3434 : 3435 elif test $ac_prog = install && 3436 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3437 # program-specific install script used by HP pwplus--don't use. 3438 : 3439 else 3440 rm -rf conftest.one conftest.two conftest.dir 3441 echo one > conftest.one 3442 echo two > conftest.two 3443 mkdir conftest.dir 3444 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3445 test -s conftest.one && test -s conftest.two && 3446 test -s conftest.dir/conftest.one && 3447 test -s conftest.dir/conftest.two 3448 then 3449 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3450 break 3 3451 fi 3452 fi 3453 fi 3454 done 3455 done 3456 ;; 3457esac 3458 3459 done 3460IFS=$as_save_IFS 3461 3462rm -rf conftest.one conftest.two conftest.dir 3463 3464fi 3465 if test "${ac_cv_path_install+set}" = set; then 3466 INSTALL=$ac_cv_path_install 3467 else 3468 # As a last resort, use the slow shell script. Don't cache a 3469 # value for INSTALL within a source directory, because that will 3470 # break other packages using the cache if that directory is 3471 # removed, or if the value is a relative name. 3472 INSTALL=$ac_install_sh 3473 fi 3474fi 3475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3476$as_echo "$INSTALL" >&6; } 3477 3478# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3479# It thinks the first close brace ends the variable substitution. 3480test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3481 3482test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3483 3484test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3485 3486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3487$as_echo_n "checking whether build environment is sane... " >&6; } 3488# Reject unsafe characters in $srcdir or the absolute working directory 3489# name. Accept space and tab only in the latter. 3490am_lf=' 3491' 3492case `pwd` in 3493 *[\\\"\#\$\&\'\`$am_lf]*) 3494 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3495esac 3496case $srcdir in 3497 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3498 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3499esac 3500 3501# Do 'set' in a subshell so we don't clobber the current shell's 3502# arguments. Must try -L first in case configure is actually a 3503# symlink; some systems play weird games with the mod time of symlinks 3504# (eg FreeBSD returns the mod time of the symlink's containing 3505# directory). 3506if ( 3507 am_has_slept=no 3508 for am_try in 1 2; do 3509 echo "timestamp, slept: $am_has_slept" > conftest.file 3510 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3511 if test "$*" = "X"; then 3512 # -L didn't work. 3513 set X `ls -t "$srcdir/configure" conftest.file` 3514 fi 3515 if test "$*" != "X $srcdir/configure conftest.file" \ 3516 && test "$*" != "X conftest.file $srcdir/configure"; then 3517 3518 # If neither matched, then we have a broken ls. This can happen 3519 # if, for instance, CONFIG_SHELL is bash and it inherits a 3520 # broken ls alias from the environment. This has actually 3521 # happened. Such a system could not be considered "sane". 3522 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3523 alias in your environment" "$LINENO" 5 3524 fi 3525 if test "$2" = conftest.file || test $am_try -eq 2; then 3526 break 3527 fi 3528 # Just in case. 3529 sleep 1 3530 am_has_slept=yes 3531 done 3532 test "$2" = conftest.file 3533 ) 3534then 3535 # Ok. 3536 : 3537else 3538 as_fn_error $? "newly created file is older than distributed files! 3539Check your system clock" "$LINENO" 5 3540fi 3541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3542$as_echo "yes" >&6; } 3543# If we didn't sleep, we still need to ensure time stamps of config.status and 3544# generated files are strictly newer. 3545am_sleep_pid= 3546if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3547 ( sleep 1 ) & 3548 am_sleep_pid=$! 3549fi 3550 3551rm -f conftest.file 3552 3553test "$program_prefix" != NONE && 3554 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3555# Use a double $ so make ignores it. 3556test "$program_suffix" != NONE && 3557 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3558# Double any \ or $. 3559# By default was `s,x,x', remove it if useless. 3560ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3561program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3562 3563# expand $ac_aux_dir to an absolute path 3564am_aux_dir=`cd $ac_aux_dir && pwd` 3565 3566if test x"${MISSING+set}" != xset; then 3567 case $am_aux_dir in 3568 *\ * | *\ *) 3569 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3570 *) 3571 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3572 esac 3573fi 3574# Use eval to expand $SHELL 3575if eval "$MISSING --is-lightweight"; then 3576 am_missing_run="$MISSING " 3577else 3578 am_missing_run= 3579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3580$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3581fi 3582 3583if test x"${install_sh}" != xset; then 3584 case $am_aux_dir in 3585 *\ * | *\ *) 3586 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3587 *) 3588 install_sh="\${SHELL} $am_aux_dir/install-sh" 3589 esac 3590fi 3591 3592# Installed binaries are usually stripped using 'strip' when the user 3593# run "make install-strip". However 'strip' might not be the right 3594# tool to use in cross-compilation environments, therefore Automake 3595# will honor the 'STRIP' environment variable to overrule this program. 3596if test "$cross_compiling" != no; then 3597 if test -n "$ac_tool_prefix"; then 3598 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3599set dummy ${ac_tool_prefix}strip; ac_word=$2 3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3601$as_echo_n "checking for $ac_word... " >&6; } 3602if ${ac_cv_prog_STRIP+:} false; then : 3603 $as_echo_n "(cached) " >&6 3604else 3605 if test -n "$STRIP"; then 3606 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3607else 3608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3609for as_dir in $PATH 3610do 3611 IFS=$as_save_IFS 3612 test -z "$as_dir" && as_dir=. 3613 for ac_exec_ext in '' $ac_executable_extensions; do 3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3615 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3617 break 2 3618 fi 3619done 3620 done 3621IFS=$as_save_IFS 3622 3623fi 3624fi 3625STRIP=$ac_cv_prog_STRIP 3626if test -n "$STRIP"; then 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3628$as_echo "$STRIP" >&6; } 3629else 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3631$as_echo "no" >&6; } 3632fi 3633 3634 3635fi 3636if test -z "$ac_cv_prog_STRIP"; then 3637 ac_ct_STRIP=$STRIP 3638 # Extract the first word of "strip", so it can be a program name with args. 3639set dummy strip; ac_word=$2 3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3641$as_echo_n "checking for $ac_word... " >&6; } 3642if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3643 $as_echo_n "(cached) " >&6 3644else 3645 if test -n "$ac_ct_STRIP"; then 3646 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3647else 3648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3649for as_dir in $PATH 3650do 3651 IFS=$as_save_IFS 3652 test -z "$as_dir" && as_dir=. 3653 for ac_exec_ext in '' $ac_executable_extensions; do 3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3655 ac_cv_prog_ac_ct_STRIP="strip" 3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3657 break 2 3658 fi 3659done 3660 done 3661IFS=$as_save_IFS 3662 3663fi 3664fi 3665ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3666if test -n "$ac_ct_STRIP"; then 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3668$as_echo "$ac_ct_STRIP" >&6; } 3669else 3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3671$as_echo "no" >&6; } 3672fi 3673 3674 if test "x$ac_ct_STRIP" = x; then 3675 STRIP=":" 3676 else 3677 case $cross_compiling:$ac_tool_warned in 3678yes:) 3679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3681ac_tool_warned=yes ;; 3682esac 3683 STRIP=$ac_ct_STRIP 3684 fi 3685else 3686 STRIP="$ac_cv_prog_STRIP" 3687fi 3688 3689fi 3690INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3691 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3693$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3694if test -z "$MKDIR_P"; then 3695 if ${ac_cv_path_mkdir+:} false; then : 3696 $as_echo_n "(cached) " >&6 3697else 3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3699for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3700do 3701 IFS=$as_save_IFS 3702 test -z "$as_dir" && as_dir=. 3703 for ac_prog in mkdir gmkdir; do 3704 for ac_exec_ext in '' $ac_executable_extensions; do 3705 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3706 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3707 'mkdir (GNU coreutils) '* | \ 3708 'mkdir (coreutils) '* | \ 3709 'mkdir (fileutils) '4.1*) 3710 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3711 break 3;; 3712 esac 3713 done 3714 done 3715 done 3716IFS=$as_save_IFS 3717 3718fi 3719 3720 test -d ./--version && rmdir ./--version 3721 if test "${ac_cv_path_mkdir+set}" = set; then 3722 MKDIR_P="$ac_cv_path_mkdir -p" 3723 else 3724 # As a last resort, use the slow shell script. Don't cache a 3725 # value for MKDIR_P within a source directory, because that will 3726 # break other packages using the cache if that directory is 3727 # removed, or if the value is a relative name. 3728 MKDIR_P="$ac_install_sh -d" 3729 fi 3730fi 3731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3732$as_echo "$MKDIR_P" >&6; } 3733 3734for ac_prog in gawk mawk nawk awk 3735do 3736 # Extract the first word of "$ac_prog", so it can be a program name with args. 3737set dummy $ac_prog; ac_word=$2 3738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3739$as_echo_n "checking for $ac_word... " >&6; } 3740if ${ac_cv_prog_AWK+:} false; then : 3741 $as_echo_n "(cached) " >&6 3742else 3743 if test -n "$AWK"; then 3744 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3745else 3746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3747for as_dir in $PATH 3748do 3749 IFS=$as_save_IFS 3750 test -z "$as_dir" && as_dir=. 3751 for ac_exec_ext in '' $ac_executable_extensions; do 3752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3753 ac_cv_prog_AWK="$ac_prog" 3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3755 break 2 3756 fi 3757done 3758 done 3759IFS=$as_save_IFS 3760 3761fi 3762fi 3763AWK=$ac_cv_prog_AWK 3764if test -n "$AWK"; then 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3766$as_echo "$AWK" >&6; } 3767else 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3769$as_echo "no" >&6; } 3770fi 3771 3772 3773 test -n "$AWK" && break 3774done 3775 3776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3777$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3778set x ${MAKE-make} 3779ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3780if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3781 $as_echo_n "(cached) " >&6 3782else 3783 cat >conftest.make <<\_ACEOF 3784SHELL = /bin/sh 3785all: 3786 @echo '@@@%%%=$(MAKE)=@@@%%%' 3787_ACEOF 3788# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3789case `${MAKE-make} -f conftest.make 2>/dev/null` in 3790 *@@@%%%=?*=@@@%%%*) 3791 eval ac_cv_prog_make_${ac_make}_set=yes;; 3792 *) 3793 eval ac_cv_prog_make_${ac_make}_set=no;; 3794esac 3795rm -f conftest.make 3796fi 3797if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3799$as_echo "yes" >&6; } 3800 SET_MAKE= 3801else 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3803$as_echo "no" >&6; } 3804 SET_MAKE="MAKE=${MAKE-make}" 3805fi 3806 3807rm -rf .tst 2>/dev/null 3808mkdir .tst 2>/dev/null 3809if test -d .tst; then 3810 am__leading_dot=. 3811else 3812 am__leading_dot=_ 3813fi 3814rmdir .tst 2>/dev/null 3815 3816# Check whether --enable-silent-rules was given. 3817if test "${enable_silent_rules+set}" = set; then : 3818 enableval=$enable_silent_rules; 3819fi 3820 3821case $enable_silent_rules in # ((( 3822 yes) AM_DEFAULT_VERBOSITY=0;; 3823 no) AM_DEFAULT_VERBOSITY=1;; 3824 *) AM_DEFAULT_VERBOSITY=1;; 3825esac 3826am_make=${MAKE-make} 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3828$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3829if ${am_cv_make_support_nested_variables+:} false; then : 3830 $as_echo_n "(cached) " >&6 3831else 3832 if $as_echo 'TRUE=$(BAR$(V)) 3833BAR0=false 3834BAR1=true 3835V=1 3836am__doit: 3837 @$(TRUE) 3838.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3839 am_cv_make_support_nested_variables=yes 3840else 3841 am_cv_make_support_nested_variables=no 3842fi 3843fi 3844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3845$as_echo "$am_cv_make_support_nested_variables" >&6; } 3846if test $am_cv_make_support_nested_variables = yes; then 3847 AM_V='$(V)' 3848 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3849else 3850 AM_V=$AM_DEFAULT_VERBOSITY 3851 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3852fi 3853AM_BACKSLASH='\' 3854 3855if test "`cd $srcdir && pwd`" != "`pwd`"; then 3856 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3857 # is not polluted with repeated "-I." 3858 am__isrc=' -I$(srcdir)' 3859 # test to see if srcdir already configured 3860 if test -f $srcdir/config.status; then 3861 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3862 fi 3863fi 3864 3865# test whether we have cygpath 3866if test -z "$CYGPATH_W"; then 3867 if (cygpath --version) >/dev/null 2>/dev/null; then 3868 CYGPATH_W='cygpath -w' 3869 else 3870 CYGPATH_W=echo 3871 fi 3872fi 3873 3874 3875# Define the identity of the package. 3876 PACKAGE='ppl' 3877 VERSION='1.2' 3878 3879 3880# Some tools Automake needs. 3881 3882ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3883 3884 3885AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3886 3887 3888AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3889 3890 3891AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3892 3893 3894MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3895 3896# For better backward compatibility. To be removed once Automake 1.9.x 3897# dies out for good. For more background, see: 3898# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3899# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3900mkdir_p='$(MKDIR_P)' 3901 3902# We need awk for the "check" target. The system "awk" is bad on 3903# some platforms. 3904# Always define AMTAR for backward compatibility. Yes, it's still used 3905# in the wild :-( We should find a proper way to deprecate it ... 3906AMTAR='$${TAR-tar}' 3907 3908 3909# We'll loop over all known methods to create a tar archive until one works. 3910_am_tools='gnutar plaintar pax cpio none' 3911 3912# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3913 # There is notably a 21 bits limit for the UID and the GID. In fact, 3914 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3915 # and bug#13588). 3916 am_max_uid=2097151 # 2^21 - 1 3917 am_max_gid=$am_max_uid 3918 # The $UID and $GID variables are not portable, so we need to resort 3919 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3920 # below are definitely unexpected, so allow the users to see them 3921 # (that is, avoid stderr redirection). 3922 am_uid=`id -u || echo unknown` 3923 am_gid=`id -g || echo unknown` 3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3925$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3926 if test $am_uid -le $am_max_uid; then 3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3928$as_echo "yes" >&6; } 3929 else 3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3931$as_echo "no" >&6; } 3932 _am_tools=none 3933 fi 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3935$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3936 if test $am_gid -le $am_max_gid; then 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3938$as_echo "yes" >&6; } 3939 else 3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3941$as_echo "no" >&6; } 3942 _am_tools=none 3943 fi 3944 3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3946$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3947 3948 # Go ahead even if we have the value already cached. We do so because we 3949 # need to set the values for the 'am__tar' and 'am__untar' variables. 3950 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3951 3952 for _am_tool in $_am_tools; do 3953 case $_am_tool in 3954 gnutar) 3955 for _am_tar in tar gnutar gtar; do 3956 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3957 ($_am_tar --version) >&5 2>&5 3958 ac_status=$? 3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3960 (exit $ac_status); } && break 3961 done 3962 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3963 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3964 am__untar="$_am_tar -xf -" 3965 ;; 3966 plaintar) 3967 # Must skip GNU tar: if it does not support --format= it doesn't create 3968 # ustar tarball either. 3969 (tar --version) >/dev/null 2>&1 && continue 3970 am__tar='tar chf - "$$tardir"' 3971 am__tar_='tar chf - "$tardir"' 3972 am__untar='tar xf -' 3973 ;; 3974 pax) 3975 am__tar='pax -L -x ustar -w "$$tardir"' 3976 am__tar_='pax -L -x ustar -w "$tardir"' 3977 am__untar='pax -r' 3978 ;; 3979 cpio) 3980 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3981 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3982 am__untar='cpio -i -H ustar -d' 3983 ;; 3984 none) 3985 am__tar=false 3986 am__tar_=false 3987 am__untar=false 3988 ;; 3989 esac 3990 3991 # If the value was cached, stop now. We just wanted to have am__tar 3992 # and am__untar set. 3993 test -n "${am_cv_prog_tar_ustar}" && break 3994 3995 # tar/untar a dummy directory, and stop if the command works. 3996 rm -rf conftest.dir 3997 mkdir conftest.dir 3998 echo GrepMe > conftest.dir/file 3999 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 4000 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 4001 ac_status=$? 4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4003 (exit $ac_status); } 4004 rm -rf conftest.dir 4005 if test -s conftest.tar; then 4006 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 4007 ($am__untar <conftest.tar) >&5 2>&5 4008 ac_status=$? 4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4010 (exit $ac_status); } 4011 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 4012 (cat conftest.dir/file) >&5 2>&5 4013 ac_status=$? 4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4015 (exit $ac_status); } 4016 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 4017 fi 4018 done 4019 rm -rf conftest.dir 4020 4021 if ${am_cv_prog_tar_ustar+:} false; then : 4022 $as_echo_n "(cached) " >&6 4023else 4024 am_cv_prog_tar_ustar=$_am_tool 4025fi 4026 4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 4028$as_echo "$am_cv_prog_tar_ustar" >&6; } 4029 4030 4031 4032 4033 4034 4035# POSIX will say in a future version that running "rm -f" with no argument 4036# is OK; and we want to be able to make that assumption in our Makefile 4037# recipes. So use an aggressive probe to check that the usage we want is 4038# actually supported "in the wild" to an acceptable degree. 4039# See automake bug#10828. 4040# To make any issue more visible, cause the running configure to be aborted 4041# by default if the 'rm' program in use doesn't match our expectations; the 4042# user can still override this though. 4043if rm -f && rm -fr && rm -rf; then : OK; else 4044 cat >&2 <<'END' 4045Oops! 4046 4047Your 'rm' program seems unable to run without file operands specified 4048on the command line, even when the '-f' option is present. This is contrary 4049to the behaviour of most rm programs out there, and not conforming with 4050the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 4051 4052Please tell bug-automake@gnu.org about your system, including the value 4053of your $PATH and any error possibly output before this message. This 4054can help us improve future automake versions. 4055 4056END 4057 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 4058 echo 'Configuration will proceed anyway, since you have set the' >&2 4059 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 4060 echo >&2 4061 else 4062 cat >&2 <<'END' 4063Aborting the configuration process, to ensure you take notice of the issue. 4064 4065You can download and install GNU coreutils to get an 'rm' implementation 4066that behaves properly: <http://www.gnu.org/software/coreutils/>. 4067 4068If you want to complete the configuration process using your problematic 4069'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 4070to "yes", and re-run configure. 4071 4072END 4073 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 4074 fi 4075fi 4076 4077 4078 4079 4080# Version number machinery. 4081if test -n "`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'`" 4082then 4083 PPL_VERSION_MAJOR=`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'` 4084 PPL_VERSION_MINOR=`expr $VERSION : '[0-9]*\.\([0-9]*\)\.[0-9]*'` 4085 PPL_VERSION_REVISION=`expr $VERSION : '[0-9]*\.[0-9]*\.\([0-9]*\)'` 4086 PPL_VERSION_BETA=`expr $VERSION : '[0-9]*\.[0-9]*\.[0-9]*pre\([0-9]*\)'` 4087else 4088 PPL_VERSION_MAJOR=`expr $VERSION : '\([0-9]*\)\.[0-9]*'` 4089 PPL_VERSION_MINOR=`expr $VERSION : '[0-9]*\.\([0-9]*\)'` 4090 PPL_VERSION_REVISION=0 4091 PPL_VERSION_BETA=`expr $VERSION : '[0-9]*\.[0-9]*pre\([0-9]*\)'` 4092fi 4093if test -z "$PPL_VERSION_BETA" 4094then 4095 PPL_VERSION_BETA=0 4096fi 4097 4098 4099 4100 4101 4102 4103cat >>confdefs.h <<_ACEOF 4104#define PPL_CONFIGURE_OPTIONS "$ac_configure_args" 4105_ACEOF 4106 4107PPL_CONFIGURE_OPTIONS="\"$ac_configure_args\"" 4108 4109 4110# Generate a configuration header file. 4111ac_config_headers="$ac_config_headers config.h" 4112 4113 4114ISODATE=`date +%Y-%m-%d` 4115 4116 4117 4118 4119 4120 4121 4122# C compiler. 4123 4124 4125# Check whether --with-cc was given. 4126if test "${with_cc+set}" = set; then : 4127 withval=$with_cc; CC=$with_cc 4128fi 4129 4130 4131# C++ compiler. 4132 4133 4134# Check whether --with-cxx was given. 4135if test "${with_cxx+set}" = set; then : 4136 withval=$with_cxx; CXX=$with_cxx 4137fi 4138 4139 4140# Checks for programs. 4141 4142# Note that AC_PROG_CC must precede the first use of $GCC and AC_PROG_CXX 4143# must precede the first use of $GXX. Note also that we do not allow 4144# AC_PROG_CC and AC_PROG_CXX to affect CFLAGS and CXXFLAGS. 4145save_CFLAGS="$CFLAGS" 4146ac_ext=c 4147ac_cpp='$CPP $CPPFLAGS' 4148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4150ac_compiler_gnu=$ac_cv_c_compiler_gnu 4151if test -n "$ac_tool_prefix"; then 4152 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4153set dummy ${ac_tool_prefix}gcc; ac_word=$2 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4155$as_echo_n "checking for $ac_word... " >&6; } 4156if ${ac_cv_prog_CC+:} false; then : 4157 $as_echo_n "(cached) " >&6 4158else 4159 if test -n "$CC"; then 4160 ac_cv_prog_CC="$CC" # Let the user override the test. 4161else 4162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4163for as_dir in $PATH 4164do 4165 IFS=$as_save_IFS 4166 test -z "$as_dir" && as_dir=. 4167 for ac_exec_ext in '' $ac_executable_extensions; do 4168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4169 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4171 break 2 4172 fi 4173done 4174 done 4175IFS=$as_save_IFS 4176 4177fi 4178fi 4179CC=$ac_cv_prog_CC 4180if test -n "$CC"; then 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4182$as_echo "$CC" >&6; } 4183else 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4185$as_echo "no" >&6; } 4186fi 4187 4188 4189fi 4190if test -z "$ac_cv_prog_CC"; then 4191 ac_ct_CC=$CC 4192 # Extract the first word of "gcc", so it can be a program name with args. 4193set dummy gcc; ac_word=$2 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4195$as_echo_n "checking for $ac_word... " >&6; } 4196if ${ac_cv_prog_ac_ct_CC+:} false; then : 4197 $as_echo_n "(cached) " >&6 4198else 4199 if test -n "$ac_ct_CC"; then 4200 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4201else 4202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4203for as_dir in $PATH 4204do 4205 IFS=$as_save_IFS 4206 test -z "$as_dir" && as_dir=. 4207 for ac_exec_ext in '' $ac_executable_extensions; do 4208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4209 ac_cv_prog_ac_ct_CC="gcc" 4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4211 break 2 4212 fi 4213done 4214 done 4215IFS=$as_save_IFS 4216 4217fi 4218fi 4219ac_ct_CC=$ac_cv_prog_ac_ct_CC 4220if test -n "$ac_ct_CC"; then 4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4222$as_echo "$ac_ct_CC" >&6; } 4223else 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4225$as_echo "no" >&6; } 4226fi 4227 4228 if test "x$ac_ct_CC" = x; then 4229 CC="" 4230 else 4231 case $cross_compiling:$ac_tool_warned in 4232yes:) 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4234$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4235ac_tool_warned=yes ;; 4236esac 4237 CC=$ac_ct_CC 4238 fi 4239else 4240 CC="$ac_cv_prog_CC" 4241fi 4242 4243if test -z "$CC"; then 4244 if test -n "$ac_tool_prefix"; then 4245 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4246set dummy ${ac_tool_prefix}cc; ac_word=$2 4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4248$as_echo_n "checking for $ac_word... " >&6; } 4249if ${ac_cv_prog_CC+:} false; then : 4250 $as_echo_n "(cached) " >&6 4251else 4252 if test -n "$CC"; then 4253 ac_cv_prog_CC="$CC" # Let the user override the test. 4254else 4255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4256for as_dir in $PATH 4257do 4258 IFS=$as_save_IFS 4259 test -z "$as_dir" && as_dir=. 4260 for ac_exec_ext in '' $ac_executable_extensions; do 4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4262 ac_cv_prog_CC="${ac_tool_prefix}cc" 4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4264 break 2 4265 fi 4266done 4267 done 4268IFS=$as_save_IFS 4269 4270fi 4271fi 4272CC=$ac_cv_prog_CC 4273if test -n "$CC"; then 4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4275$as_echo "$CC" >&6; } 4276else 4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4278$as_echo "no" >&6; } 4279fi 4280 4281 4282 fi 4283fi 4284if test -z "$CC"; then 4285 # Extract the first word of "cc", so it can be a program name with args. 4286set dummy cc; ac_word=$2 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4288$as_echo_n "checking for $ac_word... " >&6; } 4289if ${ac_cv_prog_CC+:} false; then : 4290 $as_echo_n "(cached) " >&6 4291else 4292 if test -n "$CC"; then 4293 ac_cv_prog_CC="$CC" # Let the user override the test. 4294else 4295 ac_prog_rejected=no 4296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4297for as_dir in $PATH 4298do 4299 IFS=$as_save_IFS 4300 test -z "$as_dir" && as_dir=. 4301 for ac_exec_ext in '' $ac_executable_extensions; do 4302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4303 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4304 ac_prog_rejected=yes 4305 continue 4306 fi 4307 ac_cv_prog_CC="cc" 4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4309 break 2 4310 fi 4311done 4312 done 4313IFS=$as_save_IFS 4314 4315if test $ac_prog_rejected = yes; then 4316 # We found a bogon in the path, so make sure we never use it. 4317 set dummy $ac_cv_prog_CC 4318 shift 4319 if test $# != 0; then 4320 # We chose a different compiler from the bogus one. 4321 # However, it has the same basename, so the bogon will be chosen 4322 # first if we set CC to just the basename; use the full file name. 4323 shift 4324 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4325 fi 4326fi 4327fi 4328fi 4329CC=$ac_cv_prog_CC 4330if test -n "$CC"; then 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4332$as_echo "$CC" >&6; } 4333else 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4335$as_echo "no" >&6; } 4336fi 4337 4338 4339fi 4340if test -z "$CC"; then 4341 if test -n "$ac_tool_prefix"; then 4342 for ac_prog in cl.exe 4343 do 4344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4345set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4347$as_echo_n "checking for $ac_word... " >&6; } 4348if ${ac_cv_prog_CC+:} false; then : 4349 $as_echo_n "(cached) " >&6 4350else 4351 if test -n "$CC"; then 4352 ac_cv_prog_CC="$CC" # Let the user override the test. 4353else 4354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4355for as_dir in $PATH 4356do 4357 IFS=$as_save_IFS 4358 test -z "$as_dir" && as_dir=. 4359 for ac_exec_ext in '' $ac_executable_extensions; do 4360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4361 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4363 break 2 4364 fi 4365done 4366 done 4367IFS=$as_save_IFS 4368 4369fi 4370fi 4371CC=$ac_cv_prog_CC 4372if test -n "$CC"; then 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4374$as_echo "$CC" >&6; } 4375else 4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4377$as_echo "no" >&6; } 4378fi 4379 4380 4381 test -n "$CC" && break 4382 done 4383fi 4384if test -z "$CC"; then 4385 ac_ct_CC=$CC 4386 for ac_prog in cl.exe 4387do 4388 # Extract the first word of "$ac_prog", so it can be a program name with args. 4389set dummy $ac_prog; ac_word=$2 4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4391$as_echo_n "checking for $ac_word... " >&6; } 4392if ${ac_cv_prog_ac_ct_CC+:} false; then : 4393 $as_echo_n "(cached) " >&6 4394else 4395 if test -n "$ac_ct_CC"; then 4396 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4397else 4398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4399for as_dir in $PATH 4400do 4401 IFS=$as_save_IFS 4402 test -z "$as_dir" && as_dir=. 4403 for ac_exec_ext in '' $ac_executable_extensions; do 4404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4405 ac_cv_prog_ac_ct_CC="$ac_prog" 4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4407 break 2 4408 fi 4409done 4410 done 4411IFS=$as_save_IFS 4412 4413fi 4414fi 4415ac_ct_CC=$ac_cv_prog_ac_ct_CC 4416if test -n "$ac_ct_CC"; then 4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4418$as_echo "$ac_ct_CC" >&6; } 4419else 4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4421$as_echo "no" >&6; } 4422fi 4423 4424 4425 test -n "$ac_ct_CC" && break 4426done 4427 4428 if test "x$ac_ct_CC" = x; then 4429 CC="" 4430 else 4431 case $cross_compiling:$ac_tool_warned in 4432yes:) 4433{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4434$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4435ac_tool_warned=yes ;; 4436esac 4437 CC=$ac_ct_CC 4438 fi 4439fi 4440 4441fi 4442 4443 4444test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4446as_fn_error $? "no acceptable C compiler found in \$PATH 4447See \`config.log' for more details" "$LINENO" 5; } 4448 4449# Provide some information about the compiler. 4450$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4451set X $ac_compile 4452ac_compiler=$2 4453for ac_option in --version -v -V -qversion; do 4454 { { ac_try="$ac_compiler $ac_option >&5" 4455case "(($ac_try" in 4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4457 *) ac_try_echo=$ac_try;; 4458esac 4459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4460$as_echo "$ac_try_echo"; } >&5 4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4462 ac_status=$? 4463 if test -s conftest.err; then 4464 sed '10a\ 4465... rest of stderr output deleted ... 4466 10q' conftest.err >conftest.er1 4467 cat conftest.er1 >&5 4468 fi 4469 rm -f conftest.er1 conftest.err 4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4471 test $ac_status = 0; } 4472done 4473 4474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4475/* end confdefs.h. */ 4476 4477int 4478main () 4479{ 4480 4481 ; 4482 return 0; 4483} 4484_ACEOF 4485ac_clean_files_save=$ac_clean_files 4486ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4487# Try to create an executable without -o first, disregard a.out. 4488# It will help us diagnose broken compilers, and finding out an intuition 4489# of exeext. 4490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4491$as_echo_n "checking whether the C compiler works... " >&6; } 4492ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4493 4494# The possible output files: 4495ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4496 4497ac_rmfiles= 4498for ac_file in $ac_files 4499do 4500 case $ac_file in 4501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4502 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4503 esac 4504done 4505rm -f $ac_rmfiles 4506 4507if { { ac_try="$ac_link_default" 4508case "(($ac_try" in 4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4510 *) ac_try_echo=$ac_try;; 4511esac 4512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4513$as_echo "$ac_try_echo"; } >&5 4514 (eval "$ac_link_default") 2>&5 4515 ac_status=$? 4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4517 test $ac_status = 0; }; then : 4518 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4519# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4520# in a Makefile. We should not override ac_cv_exeext if it was cached, 4521# so that the user can short-circuit this test for compilers unknown to 4522# Autoconf. 4523for ac_file in $ac_files '' 4524do 4525 test -f "$ac_file" || continue 4526 case $ac_file in 4527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4528 ;; 4529 [ab].out ) 4530 # We found the default executable, but exeext='' is most 4531 # certainly right. 4532 break;; 4533 *.* ) 4534 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4535 then :; else 4536 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4537 fi 4538 # We set ac_cv_exeext here because the later test for it is not 4539 # safe: cross compilers may not add the suffix if given an `-o' 4540 # argument, so we may need to know it at that point already. 4541 # Even if this section looks crufty: it has the advantage of 4542 # actually working. 4543 break;; 4544 * ) 4545 break;; 4546 esac 4547done 4548test "$ac_cv_exeext" = no && ac_cv_exeext= 4549 4550else 4551 ac_file='' 4552fi 4553if test -z "$ac_file"; then : 4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4555$as_echo "no" >&6; } 4556$as_echo "$as_me: failed program was:" >&5 4557sed 's/^/| /' conftest.$ac_ext >&5 4558 4559{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4560$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4561as_fn_error 77 "C compiler cannot create executables 4562See \`config.log' for more details" "$LINENO" 5; } 4563else 4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4565$as_echo "yes" >&6; } 4566fi 4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4568$as_echo_n "checking for C compiler default output file name... " >&6; } 4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4570$as_echo "$ac_file" >&6; } 4571ac_exeext=$ac_cv_exeext 4572 4573rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4574ac_clean_files=$ac_clean_files_save 4575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4576$as_echo_n "checking for suffix of executables... " >&6; } 4577if { { ac_try="$ac_link" 4578case "(($ac_try" in 4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4580 *) ac_try_echo=$ac_try;; 4581esac 4582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4583$as_echo "$ac_try_echo"; } >&5 4584 (eval "$ac_link") 2>&5 4585 ac_status=$? 4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4587 test $ac_status = 0; }; then : 4588 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4589# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4590# work properly (i.e., refer to `conftest.exe'), while it won't with 4591# `rm'. 4592for ac_file in conftest.exe conftest conftest.*; do 4593 test -f "$ac_file" || continue 4594 case $ac_file in 4595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4596 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4597 break;; 4598 * ) break;; 4599 esac 4600done 4601else 4602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4603$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4604as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4605See \`config.log' for more details" "$LINENO" 5; } 4606fi 4607rm -f conftest conftest$ac_cv_exeext 4608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4609$as_echo "$ac_cv_exeext" >&6; } 4610 4611rm -f conftest.$ac_ext 4612EXEEXT=$ac_cv_exeext 4613ac_exeext=$EXEEXT 4614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4615/* end confdefs.h. */ 4616#include <stdio.h> 4617int 4618main () 4619{ 4620FILE *f = fopen ("conftest.out", "w"); 4621 return ferror (f) || fclose (f) != 0; 4622 4623 ; 4624 return 0; 4625} 4626_ACEOF 4627ac_clean_files="$ac_clean_files conftest.out" 4628# Check that the compiler produces executables we can run. If not, either 4629# the compiler is broken, or we cross compile. 4630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4631$as_echo_n "checking whether we are cross compiling... " >&6; } 4632if test "$cross_compiling" != yes; then 4633 { { ac_try="$ac_link" 4634case "(($ac_try" in 4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4636 *) ac_try_echo=$ac_try;; 4637esac 4638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4639$as_echo "$ac_try_echo"; } >&5 4640 (eval "$ac_link") 2>&5 4641 ac_status=$? 4642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4643 test $ac_status = 0; } 4644 if { ac_try='./conftest$ac_cv_exeext' 4645 { { case "(($ac_try" in 4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4647 *) ac_try_echo=$ac_try;; 4648esac 4649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4650$as_echo "$ac_try_echo"; } >&5 4651 (eval "$ac_try") 2>&5 4652 ac_status=$? 4653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4654 test $ac_status = 0; }; }; then 4655 cross_compiling=no 4656 else 4657 if test "$cross_compiling" = maybe; then 4658 cross_compiling=yes 4659 else 4660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4662as_fn_error $? "cannot run C compiled programs. 4663If you meant to cross compile, use \`--host'. 4664See \`config.log' for more details" "$LINENO" 5; } 4665 fi 4666 fi 4667fi 4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4669$as_echo "$cross_compiling" >&6; } 4670 4671rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4672ac_clean_files=$ac_clean_files_save 4673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4674$as_echo_n "checking for suffix of object files... " >&6; } 4675if ${ac_cv_objext+:} false; then : 4676 $as_echo_n "(cached) " >&6 4677else 4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4679/* end confdefs.h. */ 4680 4681int 4682main () 4683{ 4684 4685 ; 4686 return 0; 4687} 4688_ACEOF 4689rm -f conftest.o conftest.obj 4690if { { ac_try="$ac_compile" 4691case "(($ac_try" in 4692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4693 *) ac_try_echo=$ac_try;; 4694esac 4695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4696$as_echo "$ac_try_echo"; } >&5 4697 (eval "$ac_compile") 2>&5 4698 ac_status=$? 4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4700 test $ac_status = 0; }; then : 4701 for ac_file in conftest.o conftest.obj conftest.*; do 4702 test -f "$ac_file" || continue; 4703 case $ac_file in 4704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4706 break;; 4707 esac 4708done 4709else 4710 $as_echo "$as_me: failed program was:" >&5 4711sed 's/^/| /' conftest.$ac_ext >&5 4712 4713{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4715as_fn_error $? "cannot compute suffix of object files: cannot compile 4716See \`config.log' for more details" "$LINENO" 5; } 4717fi 4718rm -f conftest.$ac_cv_objext conftest.$ac_ext 4719fi 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4721$as_echo "$ac_cv_objext" >&6; } 4722OBJEXT=$ac_cv_objext 4723ac_objext=$OBJEXT 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4725$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4726if ${ac_cv_c_compiler_gnu+:} false; then : 4727 $as_echo_n "(cached) " >&6 4728else 4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4730/* end confdefs.h. */ 4731 4732int 4733main () 4734{ 4735#ifndef __GNUC__ 4736 choke me 4737#endif 4738 4739 ; 4740 return 0; 4741} 4742_ACEOF 4743if ac_fn_c_try_compile "$LINENO"; then : 4744 ac_compiler_gnu=yes 4745else 4746 ac_compiler_gnu=no 4747fi 4748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4749ac_cv_c_compiler_gnu=$ac_compiler_gnu 4750 4751fi 4752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4753$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4754if test $ac_compiler_gnu = yes; then 4755 GCC=yes 4756else 4757 GCC= 4758fi 4759ac_test_CFLAGS=${CFLAGS+set} 4760ac_save_CFLAGS=$CFLAGS 4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4762$as_echo_n "checking whether $CC accepts -g... " >&6; } 4763if ${ac_cv_prog_cc_g+:} false; then : 4764 $as_echo_n "(cached) " >&6 4765else 4766 ac_save_c_werror_flag=$ac_c_werror_flag 4767 ac_c_werror_flag=yes 4768 ac_cv_prog_cc_g=no 4769 CFLAGS="-g" 4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4771/* end confdefs.h. */ 4772 4773int 4774main () 4775{ 4776 4777 ; 4778 return 0; 4779} 4780_ACEOF 4781if ac_fn_c_try_compile "$LINENO"; then : 4782 ac_cv_prog_cc_g=yes 4783else 4784 CFLAGS="" 4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4786/* end confdefs.h. */ 4787 4788int 4789main () 4790{ 4791 4792 ; 4793 return 0; 4794} 4795_ACEOF 4796if ac_fn_c_try_compile "$LINENO"; then : 4797 4798else 4799 ac_c_werror_flag=$ac_save_c_werror_flag 4800 CFLAGS="-g" 4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4802/* end confdefs.h. */ 4803 4804int 4805main () 4806{ 4807 4808 ; 4809 return 0; 4810} 4811_ACEOF 4812if ac_fn_c_try_compile "$LINENO"; then : 4813 ac_cv_prog_cc_g=yes 4814fi 4815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4816fi 4817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4818fi 4819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4820 ac_c_werror_flag=$ac_save_c_werror_flag 4821fi 4822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4823$as_echo "$ac_cv_prog_cc_g" >&6; } 4824if test "$ac_test_CFLAGS" = set; then 4825 CFLAGS=$ac_save_CFLAGS 4826elif test $ac_cv_prog_cc_g = yes; then 4827 if test "$GCC" = yes; then 4828 CFLAGS="-g -O2" 4829 else 4830 CFLAGS="-g" 4831 fi 4832else 4833 if test "$GCC" = yes; then 4834 CFLAGS="-O2" 4835 else 4836 CFLAGS= 4837 fi 4838fi 4839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4840$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4841if ${ac_cv_prog_cc_c89+:} false; then : 4842 $as_echo_n "(cached) " >&6 4843else 4844 ac_cv_prog_cc_c89=no 4845ac_save_CC=$CC 4846cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4847/* end confdefs.h. */ 4848#include <stdarg.h> 4849#include <stdio.h> 4850struct stat; 4851/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4852struct buf { int x; }; 4853FILE * (*rcsopen) (struct buf *, struct stat *, int); 4854static char *e (p, i) 4855 char **p; 4856 int i; 4857{ 4858 return p[i]; 4859} 4860static char *f (char * (*g) (char **, int), char **p, ...) 4861{ 4862 char *s; 4863 va_list v; 4864 va_start (v,p); 4865 s = g (p, va_arg (v,int)); 4866 va_end (v); 4867 return s; 4868} 4869 4870/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4871 function prototypes and stuff, but not '\xHH' hex character constants. 4872 These don't provoke an error unfortunately, instead are silently treated 4873 as 'x'. The following induces an error, until -std is added to get 4874 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4875 array size at least. It's necessary to write '\x00'==0 to get something 4876 that's true only with -std. */ 4877int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4878 4879/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4880 inside strings and character constants. */ 4881#define FOO(x) 'x' 4882int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4883 4884int test (int i, double x); 4885struct s1 {int (*f) (int a);}; 4886struct s2 {int (*f) (double a);}; 4887int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4888int argc; 4889char **argv; 4890int 4891main () 4892{ 4893return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4894 ; 4895 return 0; 4896} 4897_ACEOF 4898for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4899 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4900do 4901 CC="$ac_save_CC $ac_arg" 4902 if ac_fn_c_try_compile "$LINENO"; then : 4903 ac_cv_prog_cc_c89=$ac_arg 4904fi 4905rm -f core conftest.err conftest.$ac_objext 4906 test "x$ac_cv_prog_cc_c89" != "xno" && break 4907done 4908rm -f conftest.$ac_ext 4909CC=$ac_save_CC 4910 4911fi 4912# AC_CACHE_VAL 4913case "x$ac_cv_prog_cc_c89" in 4914 x) 4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4916$as_echo "none needed" >&6; } ;; 4917 xno) 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4919$as_echo "unsupported" >&6; } ;; 4920 *) 4921 CC="$CC $ac_cv_prog_cc_c89" 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4923$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4924esac 4925if test "x$ac_cv_prog_cc_c89" != xno; then : 4926 4927fi 4928 4929ac_ext=c 4930ac_cpp='$CPP $CPPFLAGS' 4931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4933ac_compiler_gnu=$ac_cv_c_compiler_gnu 4934 4935ac_ext=c 4936ac_cpp='$CPP $CPPFLAGS' 4937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4939ac_compiler_gnu=$ac_cv_c_compiler_gnu 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4941$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4942if ${am_cv_prog_cc_c_o+:} false; then : 4943 $as_echo_n "(cached) " >&6 4944else 4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946/* end confdefs.h. */ 4947 4948int 4949main () 4950{ 4951 4952 ; 4953 return 0; 4954} 4955_ACEOF 4956 # Make sure it works both with $CC and with simple cc. 4957 # Following AC_PROG_CC_C_O, we do the test twice because some 4958 # compilers refuse to overwrite an existing .o file with -o, 4959 # though they will create one. 4960 am_cv_prog_cc_c_o=yes 4961 for am_i in 1 2; do 4962 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4963 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4964 ac_status=$? 4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4966 (exit $ac_status); } \ 4967 && test -f conftest2.$ac_objext; then 4968 : OK 4969 else 4970 am_cv_prog_cc_c_o=no 4971 break 4972 fi 4973 done 4974 rm -f core conftest* 4975 unset am_i 4976fi 4977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4978$as_echo "$am_cv_prog_cc_c_o" >&6; } 4979if test "$am_cv_prog_cc_c_o" != yes; then 4980 # Losing compiler, so override with the script. 4981 # FIXME: It is wrong to rewrite CC. 4982 # But if we don't then we get into trouble of one sort or another. 4983 # A longer-term fix would be to have automake use am__CC in this case, 4984 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4985 CC="$am_aux_dir/compile $CC" 4986fi 4987ac_ext=c 4988ac_cpp='$CPP $CPPFLAGS' 4989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4991ac_compiler_gnu=$ac_cv_c_compiler_gnu 4992 4993DEPDIR="${am__leading_dot}deps" 4994 4995ac_config_commands="$ac_config_commands depfiles" 4996 4997 4998am_make=${MAKE-make} 4999cat > confinc << 'END' 5000am__doit: 5001 @echo this is the am__doit target 5002.PHONY: am__doit 5003END 5004# If we don't find an include directive, just comment out the code. 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 5006$as_echo_n "checking for style of include used by $am_make... " >&6; } 5007am__include="#" 5008am__quote= 5009_am_result=none 5010# First try GNU make style include. 5011echo "include confinc" > confmf 5012# Ignore all kinds of additional output from 'make'. 5013case `$am_make -s -f confmf 2> /dev/null` in #( 5014*the\ am__doit\ target*) 5015 am__include=include 5016 am__quote= 5017 _am_result=GNU 5018 ;; 5019esac 5020# Now try BSD make style include. 5021if test "$am__include" = "#"; then 5022 echo '.include "confinc"' > confmf 5023 case `$am_make -s -f confmf 2> /dev/null` in #( 5024 *the\ am__doit\ target*) 5025 am__include=.include 5026 am__quote="\"" 5027 _am_result=BSD 5028 ;; 5029 esac 5030fi 5031 5032 5033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 5034$as_echo "$_am_result" >&6; } 5035rm -f confinc confmf 5036 5037# Check whether --enable-dependency-tracking was given. 5038if test "${enable_dependency_tracking+set}" = set; then : 5039 enableval=$enable_dependency_tracking; 5040fi 5041 5042if test "x$enable_dependency_tracking" != xno; then 5043 am_depcomp="$ac_aux_dir/depcomp" 5044 AMDEPBACKSLASH='\' 5045 am__nodep='_no' 5046fi 5047 if test "x$enable_dependency_tracking" != xno; then 5048 AMDEP_TRUE= 5049 AMDEP_FALSE='#' 5050else 5051 AMDEP_TRUE='#' 5052 AMDEP_FALSE= 5053fi 5054 5055 5056 5057depcc="$CC" am_compiler_list= 5058 5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5060$as_echo_n "checking dependency style of $depcc... " >&6; } 5061if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5062 $as_echo_n "(cached) " >&6 5063else 5064 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5065 # We make a subdir and do the tests there. Otherwise we can end up 5066 # making bogus files that we don't know about and never remove. For 5067 # instance it was reported that on HP-UX the gcc test will end up 5068 # making a dummy file named 'D' -- because '-MD' means "put the output 5069 # in D". 5070 rm -rf conftest.dir 5071 mkdir conftest.dir 5072 # Copy depcomp to subdir because otherwise we won't find it if we're 5073 # using a relative directory. 5074 cp "$am_depcomp" conftest.dir 5075 cd conftest.dir 5076 # We will build objects and dependencies in a subdirectory because 5077 # it helps to detect inapplicable dependency modes. For instance 5078 # both Tru64's cc and ICC support -MD to output dependencies as a 5079 # side effect of compilation, but ICC will put the dependencies in 5080 # the current directory while Tru64 will put them in the object 5081 # directory. 5082 mkdir sub 5083 5084 am_cv_CC_dependencies_compiler_type=none 5085 if test "$am_compiler_list" = ""; then 5086 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5087 fi 5088 am__universal=false 5089 case " $depcc " in #( 5090 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5091 esac 5092 5093 for depmode in $am_compiler_list; do 5094 # Setup a source with many dependencies, because some compilers 5095 # like to wrap large dependency lists on column 80 (with \), and 5096 # we should not choose a depcomp mode which is confused by this. 5097 # 5098 # We need to recreate these files for each test, as the compiler may 5099 # overwrite some of them when testing with obscure command lines. 5100 # This happens at least with the AIX C compiler. 5101 : > sub/conftest.c 5102 for i in 1 2 3 4 5 6; do 5103 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5104 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5105 # Solaris 10 /bin/sh. 5106 echo '/* dummy */' > sub/conftst$i.h 5107 done 5108 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5109 5110 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5111 # mode. It turns out that the SunPro C++ compiler does not properly 5112 # handle '-M -o', and we need to detect this. Also, some Intel 5113 # versions had trouble with output in subdirs. 5114 am__obj=sub/conftest.${OBJEXT-o} 5115 am__minus_obj="-o $am__obj" 5116 case $depmode in 5117 gcc) 5118 # This depmode causes a compiler race in universal mode. 5119 test "$am__universal" = false || continue 5120 ;; 5121 nosideeffect) 5122 # After this tag, mechanisms are not by side-effect, so they'll 5123 # only be used when explicitly requested. 5124 if test "x$enable_dependency_tracking" = xyes; then 5125 continue 5126 else 5127 break 5128 fi 5129 ;; 5130 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5131 # This compiler won't grok '-c -o', but also, the minuso test has 5132 # not run yet. These depmodes are late enough in the game, and 5133 # so weak that their functioning should not be impacted. 5134 am__obj=conftest.${OBJEXT-o} 5135 am__minus_obj= 5136 ;; 5137 none) break ;; 5138 esac 5139 if depmode=$depmode \ 5140 source=sub/conftest.c object=$am__obj \ 5141 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5142 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5143 >/dev/null 2>conftest.err && 5144 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5145 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5146 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5147 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5148 # icc doesn't choke on unknown options, it will just issue warnings 5149 # or remarks (even with -Werror). So we grep stderr for any message 5150 # that says an option was ignored or not supported. 5151 # When given -MP, icc 7.0 and 7.1 complain thusly: 5152 # icc: Command line warning: ignoring option '-M'; no argument required 5153 # The diagnosis changed in icc 8.0: 5154 # icc: Command line remark: option '-MP' not supported 5155 if (grep 'ignoring option' conftest.err || 5156 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5157 am_cv_CC_dependencies_compiler_type=$depmode 5158 break 5159 fi 5160 fi 5161 done 5162 5163 cd .. 5164 rm -rf conftest.dir 5165else 5166 am_cv_CC_dependencies_compiler_type=none 5167fi 5168 5169fi 5170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5171$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5172CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5173 5174 if 5175 test "x$enable_dependency_tracking" != xno \ 5176 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5177 am__fastdepCC_TRUE= 5178 am__fastdepCC_FALSE='#' 5179else 5180 am__fastdepCC_TRUE='#' 5181 am__fastdepCC_FALSE= 5182fi 5183 5184 5185CFLAGS="$save_CFLAGS" 5186 5187 if test x"$GCC" = xyes; then 5188 GCC_TRUE= 5189 GCC_FALSE='#' 5190else 5191 GCC_TRUE='#' 5192 GCC_FALSE= 5193fi 5194 5195 5196# The Intel C compiler masquerades as gcc, but we want to know. 5197if test x"$GCC" = xyes 5198then 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using the Intel C compiler" >&5 5200$as_echo_n "checking whether we are actually using the Intel C compiler... " >&6; } 5201 ac_ext=c 5202ac_cpp='$CPP $CPPFLAGS' 5203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5205ac_compiler_gnu=$ac_cv_c_compiler_gnu 5206 5207 5208cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5209/* end confdefs.h. */ 5210 5211#ifndef __INTEL_COMPILER 5212choke me 5213#endif 5214 5215_ACEOF 5216if ac_fn_c_try_compile "$LINENO"; then : 5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5218$as_echo "yes" >&6; } 5219 ICC=yes 5220else 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5222$as_echo "no" >&6; } 5223 ICC=no 5224fi 5225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5226 ac_ext=c 5227ac_cpp='$CPP $CPPFLAGS' 5228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5230ac_compiler_gnu=$ac_cv_c_compiler_gnu 5231 5232fi 5233 5234 if test x"$ICC" = xyes; then 5235 ICC_TRUE= 5236 ICC_FALSE='#' 5237else 5238 ICC_TRUE='#' 5239 ICC_FALSE= 5240fi 5241 5242 5243# The clang compiler masquerades as gcc, but we want to know. 5244if test x"$GCC" = xyes 5245then 5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using clang" >&5 5247$as_echo_n "checking whether we are actually using clang... " >&6; } 5248 ac_ext=c 5249ac_cpp='$CPP $CPPFLAGS' 5250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5252ac_compiler_gnu=$ac_cv_c_compiler_gnu 5253 5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5255/* end confdefs.h. */ 5256 5257#ifndef __clang__ 5258choke me 5259#endif 5260 5261_ACEOF 5262if ac_fn_c_try_compile "$LINENO"; then : 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5264$as_echo "yes" >&6; } 5265 CLANG=yes 5266else 5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5268$as_echo "no" >&6; } 5269 CLANG=no 5270fi 5271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5272 ac_ext=c 5273ac_cpp='$CPP $CPPFLAGS' 5274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5276ac_compiler_gnu=$ac_cv_c_compiler_gnu 5277 5278fi 5279 5280# The llvm-gcc compiler masquerades as gcc, but we want to know. 5281if test x"$GCC" = xyes 5282then 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using llvm-gcc" >&5 5284$as_echo_n "checking whether we are actually using llvm-gcc... " >&6; } 5285 ac_ext=c 5286ac_cpp='$CPP $CPPFLAGS' 5287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5289ac_compiler_gnu=$ac_cv_c_compiler_gnu 5290 5291 save_CFLAGS="$CFLAGS" 5292 CFLAGS="-fplugin-arg-dragonegg-emit-ir -S" 5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5294/* end confdefs.h. */ 5295 5296int main() { 5297 return 0; 5298} 5299 5300_ACEOF 5301if ac_fn_c_try_compile "$LINENO"; then : 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5303$as_echo "yes" >&6; } 5304 LLVM_GCC=yes 5305else 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5307$as_echo "no" >&6; } 5308 LLVM_GCC=no 5309fi 5310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5311 CFLAGS="$save_CFLAGS" 5312 ac_ext=c 5313ac_cpp='$CPP $CPPFLAGS' 5314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5316ac_compiler_gnu=$ac_cv_c_compiler_gnu 5317 5318fi 5319 5320save_CXXFLAGS="$CXXFLAGS" 5321ac_ext=cpp 5322ac_cpp='$CXXCPP $CPPFLAGS' 5323ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5324ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5325ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5326if test -z "$CXX"; then 5327 if test -n "$CCC"; then 5328 CXX=$CCC 5329 else 5330 if test -n "$ac_tool_prefix"; then 5331 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5332 do 5333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5334set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5336$as_echo_n "checking for $ac_word... " >&6; } 5337if ${ac_cv_prog_CXX+:} false; then : 5338 $as_echo_n "(cached) " >&6 5339else 5340 if test -n "$CXX"; then 5341 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5342else 5343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5344for as_dir in $PATH 5345do 5346 IFS=$as_save_IFS 5347 test -z "$as_dir" && as_dir=. 5348 for ac_exec_ext in '' $ac_executable_extensions; do 5349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5350 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5352 break 2 5353 fi 5354done 5355 done 5356IFS=$as_save_IFS 5357 5358fi 5359fi 5360CXX=$ac_cv_prog_CXX 5361if test -n "$CXX"; then 5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5363$as_echo "$CXX" >&6; } 5364else 5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5366$as_echo "no" >&6; } 5367fi 5368 5369 5370 test -n "$CXX" && break 5371 done 5372fi 5373if test -z "$CXX"; then 5374 ac_ct_CXX=$CXX 5375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5376do 5377 # Extract the first word of "$ac_prog", so it can be a program name with args. 5378set dummy $ac_prog; ac_word=$2 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5380$as_echo_n "checking for $ac_word... " >&6; } 5381if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5382 $as_echo_n "(cached) " >&6 5383else 5384 if test -n "$ac_ct_CXX"; then 5385 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5386else 5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5388for as_dir in $PATH 5389do 5390 IFS=$as_save_IFS 5391 test -z "$as_dir" && as_dir=. 5392 for ac_exec_ext in '' $ac_executable_extensions; do 5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5394 ac_cv_prog_ac_ct_CXX="$ac_prog" 5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5396 break 2 5397 fi 5398done 5399 done 5400IFS=$as_save_IFS 5401 5402fi 5403fi 5404ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5405if test -n "$ac_ct_CXX"; then 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5407$as_echo "$ac_ct_CXX" >&6; } 5408else 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5410$as_echo "no" >&6; } 5411fi 5412 5413 5414 test -n "$ac_ct_CXX" && break 5415done 5416 5417 if test "x$ac_ct_CXX" = x; then 5418 CXX="g++" 5419 else 5420 case $cross_compiling:$ac_tool_warned in 5421yes:) 5422{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5423$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5424ac_tool_warned=yes ;; 5425esac 5426 CXX=$ac_ct_CXX 5427 fi 5428fi 5429 5430 fi 5431fi 5432# Provide some information about the compiler. 5433$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5434set X $ac_compile 5435ac_compiler=$2 5436for ac_option in --version -v -V -qversion; do 5437 { { ac_try="$ac_compiler $ac_option >&5" 5438case "(($ac_try" in 5439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5440 *) ac_try_echo=$ac_try;; 5441esac 5442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5443$as_echo "$ac_try_echo"; } >&5 5444 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5445 ac_status=$? 5446 if test -s conftest.err; then 5447 sed '10a\ 5448... rest of stderr output deleted ... 5449 10q' conftest.err >conftest.er1 5450 cat conftest.er1 >&5 5451 fi 5452 rm -f conftest.er1 conftest.err 5453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5454 test $ac_status = 0; } 5455done 5456 5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5458$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5459if ${ac_cv_cxx_compiler_gnu+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461else 5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5463/* end confdefs.h. */ 5464 5465int 5466main () 5467{ 5468#ifndef __GNUC__ 5469 choke me 5470#endif 5471 5472 ; 5473 return 0; 5474} 5475_ACEOF 5476if ac_fn_cxx_try_compile "$LINENO"; then : 5477 ac_compiler_gnu=yes 5478else 5479 ac_compiler_gnu=no 5480fi 5481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5482ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5483 5484fi 5485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5486$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5487if test $ac_compiler_gnu = yes; then 5488 GXX=yes 5489else 5490 GXX= 5491fi 5492ac_test_CXXFLAGS=${CXXFLAGS+set} 5493ac_save_CXXFLAGS=$CXXFLAGS 5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5495$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5496if ${ac_cv_prog_cxx_g+:} false; then : 5497 $as_echo_n "(cached) " >&6 5498else 5499 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5500 ac_cxx_werror_flag=yes 5501 ac_cv_prog_cxx_g=no 5502 CXXFLAGS="-g" 5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5504/* end confdefs.h. */ 5505 5506int 5507main () 5508{ 5509 5510 ; 5511 return 0; 5512} 5513_ACEOF 5514if ac_fn_cxx_try_compile "$LINENO"; then : 5515 ac_cv_prog_cxx_g=yes 5516else 5517 CXXFLAGS="" 5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5519/* end confdefs.h. */ 5520 5521int 5522main () 5523{ 5524 5525 ; 5526 return 0; 5527} 5528_ACEOF 5529if ac_fn_cxx_try_compile "$LINENO"; then : 5530 5531else 5532 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5533 CXXFLAGS="-g" 5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5535/* end confdefs.h. */ 5536 5537int 5538main () 5539{ 5540 5541 ; 5542 return 0; 5543} 5544_ACEOF 5545if ac_fn_cxx_try_compile "$LINENO"; then : 5546 ac_cv_prog_cxx_g=yes 5547fi 5548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5549fi 5550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5551fi 5552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5553 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5554fi 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5556$as_echo "$ac_cv_prog_cxx_g" >&6; } 5557if test "$ac_test_CXXFLAGS" = set; then 5558 CXXFLAGS=$ac_save_CXXFLAGS 5559elif test $ac_cv_prog_cxx_g = yes; then 5560 if test "$GXX" = yes; then 5561 CXXFLAGS="-g -O2" 5562 else 5563 CXXFLAGS="-g" 5564 fi 5565else 5566 if test "$GXX" = yes; then 5567 CXXFLAGS="-O2" 5568 else 5569 CXXFLAGS= 5570 fi 5571fi 5572ac_ext=c 5573ac_cpp='$CPP $CPPFLAGS' 5574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5576ac_compiler_gnu=$ac_cv_c_compiler_gnu 5577 5578depcc="$CXX" am_compiler_list= 5579 5580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5581$as_echo_n "checking dependency style of $depcc... " >&6; } 5582if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5583 $as_echo_n "(cached) " >&6 5584else 5585 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5586 # We make a subdir and do the tests there. Otherwise we can end up 5587 # making bogus files that we don't know about and never remove. For 5588 # instance it was reported that on HP-UX the gcc test will end up 5589 # making a dummy file named 'D' -- because '-MD' means "put the output 5590 # in D". 5591 rm -rf conftest.dir 5592 mkdir conftest.dir 5593 # Copy depcomp to subdir because otherwise we won't find it if we're 5594 # using a relative directory. 5595 cp "$am_depcomp" conftest.dir 5596 cd conftest.dir 5597 # We will build objects and dependencies in a subdirectory because 5598 # it helps to detect inapplicable dependency modes. For instance 5599 # both Tru64's cc and ICC support -MD to output dependencies as a 5600 # side effect of compilation, but ICC will put the dependencies in 5601 # the current directory while Tru64 will put them in the object 5602 # directory. 5603 mkdir sub 5604 5605 am_cv_CXX_dependencies_compiler_type=none 5606 if test "$am_compiler_list" = ""; then 5607 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5608 fi 5609 am__universal=false 5610 case " $depcc " in #( 5611 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5612 esac 5613 5614 for depmode in $am_compiler_list; do 5615 # Setup a source with many dependencies, because some compilers 5616 # like to wrap large dependency lists on column 80 (with \), and 5617 # we should not choose a depcomp mode which is confused by this. 5618 # 5619 # We need to recreate these files for each test, as the compiler may 5620 # overwrite some of them when testing with obscure command lines. 5621 # This happens at least with the AIX C compiler. 5622 : > sub/conftest.c 5623 for i in 1 2 3 4 5 6; do 5624 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5625 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5626 # Solaris 10 /bin/sh. 5627 echo '/* dummy */' > sub/conftst$i.h 5628 done 5629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5630 5631 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5632 # mode. It turns out that the SunPro C++ compiler does not properly 5633 # handle '-M -o', and we need to detect this. Also, some Intel 5634 # versions had trouble with output in subdirs. 5635 am__obj=sub/conftest.${OBJEXT-o} 5636 am__minus_obj="-o $am__obj" 5637 case $depmode in 5638 gcc) 5639 # This depmode causes a compiler race in universal mode. 5640 test "$am__universal" = false || continue 5641 ;; 5642 nosideeffect) 5643 # After this tag, mechanisms are not by side-effect, so they'll 5644 # only be used when explicitly requested. 5645 if test "x$enable_dependency_tracking" = xyes; then 5646 continue 5647 else 5648 break 5649 fi 5650 ;; 5651 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5652 # This compiler won't grok '-c -o', but also, the minuso test has 5653 # not run yet. These depmodes are late enough in the game, and 5654 # so weak that their functioning should not be impacted. 5655 am__obj=conftest.${OBJEXT-o} 5656 am__minus_obj= 5657 ;; 5658 none) break ;; 5659 esac 5660 if depmode=$depmode \ 5661 source=sub/conftest.c object=$am__obj \ 5662 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5663 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5664 >/dev/null 2>conftest.err && 5665 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5666 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5667 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5668 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5669 # icc doesn't choke on unknown options, it will just issue warnings 5670 # or remarks (even with -Werror). So we grep stderr for any message 5671 # that says an option was ignored or not supported. 5672 # When given -MP, icc 7.0 and 7.1 complain thusly: 5673 # icc: Command line warning: ignoring option '-M'; no argument required 5674 # The diagnosis changed in icc 8.0: 5675 # icc: Command line remark: option '-MP' not supported 5676 if (grep 'ignoring option' conftest.err || 5677 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5678 am_cv_CXX_dependencies_compiler_type=$depmode 5679 break 5680 fi 5681 fi 5682 done 5683 5684 cd .. 5685 rm -rf conftest.dir 5686else 5687 am_cv_CXX_dependencies_compiler_type=none 5688fi 5689 5690fi 5691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5692$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5693CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5694 5695 if 5696 test "x$enable_dependency_tracking" != xno \ 5697 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5698 am__fastdepCXX_TRUE= 5699 am__fastdepCXX_FALSE='#' 5700else 5701 am__fastdepCXX_TRUE='#' 5702 am__fastdepCXX_FALSE= 5703fi 5704 5705 5706CXXFLAGS="$save_CXXFLAGS" 5707 5708# The Intel C++ compiler masquerades as g++, but we want to know. 5709if test x"$GXX" = xyes 5710then 5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using the Intel C++ compiler" >&5 5712$as_echo_n "checking whether we are actually using the Intel C++ compiler... " >&6; } 5713 ac_ext=cpp 5714ac_cpp='$CXXCPP $CPPFLAGS' 5715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5718 5719 5720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5721/* end confdefs.h. */ 5722 5723#ifndef __INTEL_COMPILER 5724choke me 5725#endif 5726 5727_ACEOF 5728if ac_fn_cxx_try_compile "$LINENO"; then : 5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5730$as_echo "yes" >&6; } 5731 ICPC=yes 5732else 5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5734$as_echo "no" >&6; } 5735 ICPC=no 5736fi 5737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5738 ac_ext=c 5739ac_cpp='$CPP $CPPFLAGS' 5740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5742ac_compiler_gnu=$ac_cv_c_compiler_gnu 5743 5744fi 5745 5746# The clang++ compiler masquerades as g++, but we want to know. 5747if test x"$GXX" = xyes 5748then 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using clang++" >&5 5750$as_echo_n "checking whether we are actually using clang++... " >&6; } 5751 ac_ext=cpp 5752ac_cpp='$CXXCPP $CPPFLAGS' 5753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5756 5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5758/* end confdefs.h. */ 5759 5760#ifndef __clang__ 5761choke me 5762#endif 5763 5764_ACEOF 5765if ac_fn_cxx_try_compile "$LINENO"; then : 5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5767$as_echo "yes" >&6; } 5768 CLANGXX=yes 5769else 5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5771$as_echo "no" >&6; } 5772 CLANGXX=no 5773fi 5774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5775 ac_ext=c 5776ac_cpp='$CPP $CPPFLAGS' 5777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5779ac_compiler_gnu=$ac_cv_c_compiler_gnu 5780 5781fi 5782 5783# The llvm-++ compiler masquerades as g++, but we want to know. 5784if test x"$GXX" = xyes 5785then 5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are actually using llvm-g++" >&5 5787$as_echo_n "checking whether we are actually using llvm-g++... " >&6; } 5788 ac_ext=cpp 5789ac_cpp='$CXXCPP $CPPFLAGS' 5790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5793 5794 save_CXXFLAGS="$CXXFLAGS" 5795 CXXFLAGS="-fplugin-arg-dragonegg-emit-ir -S" 5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5797/* end confdefs.h. */ 5798 5799int main() { 5800 return 0; 5801} 5802 5803_ACEOF 5804if ac_fn_cxx_try_compile "$LINENO"; then : 5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5806$as_echo "yes" >&6; } 5807 LLVM_GXX=yes 5808else 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5810$as_echo "no" >&6; } 5811 LLVM_GXX=no 5812fi 5813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5814 CXXFLAGS="$save_CXXFLAGS" 5815 ac_ext=c 5816ac_cpp='$CPP $CPPFLAGS' 5817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5819ac_compiler_gnu=$ac_cv_c_compiler_gnu 5820 5821fi 5822 5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5824$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5825if ${ac_cv_path_GREP+:} false; then : 5826 $as_echo_n "(cached) " >&6 5827else 5828 if test -z "$GREP"; then 5829 ac_path_GREP_found=false 5830 # Loop through the user's path and test for each of PROGNAME-LIST 5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5832for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5833do 5834 IFS=$as_save_IFS 5835 test -z "$as_dir" && as_dir=. 5836 for ac_prog in grep ggrep; do 5837 for ac_exec_ext in '' $ac_executable_extensions; do 5838 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5839 as_fn_executable_p "$ac_path_GREP" || continue 5840# Check for GNU ac_path_GREP and select it if it is found. 5841 # Check for GNU $ac_path_GREP 5842case `"$ac_path_GREP" --version 2>&1` in 5843*GNU*) 5844 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5845*) 5846 ac_count=0 5847 $as_echo_n 0123456789 >"conftest.in" 5848 while : 5849 do 5850 cat "conftest.in" "conftest.in" >"conftest.tmp" 5851 mv "conftest.tmp" "conftest.in" 5852 cp "conftest.in" "conftest.nl" 5853 $as_echo 'GREP' >> "conftest.nl" 5854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5856 as_fn_arith $ac_count + 1 && ac_count=$as_val 5857 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5858 # Best one so far, save it but keep looking for a better one 5859 ac_cv_path_GREP="$ac_path_GREP" 5860 ac_path_GREP_max=$ac_count 5861 fi 5862 # 10*(2^10) chars as input seems more than enough 5863 test $ac_count -gt 10 && break 5864 done 5865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5866esac 5867 5868 $ac_path_GREP_found && break 3 5869 done 5870 done 5871 done 5872IFS=$as_save_IFS 5873 if test -z "$ac_cv_path_GREP"; then 5874 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5875 fi 5876else 5877 ac_cv_path_GREP=$GREP 5878fi 5879 5880fi 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5882$as_echo "$ac_cv_path_GREP" >&6; } 5883 GREP="$ac_cv_path_GREP" 5884 5885 5886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5887$as_echo_n "checking for fgrep... " >&6; } 5888if ${ac_cv_path_FGREP+:} false; then : 5889 $as_echo_n "(cached) " >&6 5890else 5891 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5892 then ac_cv_path_FGREP="$GREP -F" 5893 else 5894 if test -z "$FGREP"; then 5895 ac_path_FGREP_found=false 5896 # Loop through the user's path and test for each of PROGNAME-LIST 5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5898for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5899do 5900 IFS=$as_save_IFS 5901 test -z "$as_dir" && as_dir=. 5902 for ac_prog in fgrep; do 5903 for ac_exec_ext in '' $ac_executable_extensions; do 5904 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5905 as_fn_executable_p "$ac_path_FGREP" || continue 5906# Check for GNU ac_path_FGREP and select it if it is found. 5907 # Check for GNU $ac_path_FGREP 5908case `"$ac_path_FGREP" --version 2>&1` in 5909*GNU*) 5910 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5911*) 5912 ac_count=0 5913 $as_echo_n 0123456789 >"conftest.in" 5914 while : 5915 do 5916 cat "conftest.in" "conftest.in" >"conftest.tmp" 5917 mv "conftest.tmp" "conftest.in" 5918 cp "conftest.in" "conftest.nl" 5919 $as_echo 'FGREP' >> "conftest.nl" 5920 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5922 as_fn_arith $ac_count + 1 && ac_count=$as_val 5923 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5924 # Best one so far, save it but keep looking for a better one 5925 ac_cv_path_FGREP="$ac_path_FGREP" 5926 ac_path_FGREP_max=$ac_count 5927 fi 5928 # 10*(2^10) chars as input seems more than enough 5929 test $ac_count -gt 10 && break 5930 done 5931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5932esac 5933 5934 $ac_path_FGREP_found && break 3 5935 done 5936 done 5937 done 5938IFS=$as_save_IFS 5939 if test -z "$ac_cv_path_FGREP"; then 5940 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5941 fi 5942else 5943 ac_cv_path_FGREP=$FGREP 5944fi 5945 5946 fi 5947fi 5948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5949$as_echo "$ac_cv_path_FGREP" >&6; } 5950 FGREP="$ac_cv_path_FGREP" 5951 5952 5953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5954$as_echo_n "checking for egrep... " >&6; } 5955if ${ac_cv_path_EGREP+:} false; then : 5956 $as_echo_n "(cached) " >&6 5957else 5958 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5959 then ac_cv_path_EGREP="$GREP -E" 5960 else 5961 if test -z "$EGREP"; then 5962 ac_path_EGREP_found=false 5963 # Loop through the user's path and test for each of PROGNAME-LIST 5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5965for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5966do 5967 IFS=$as_save_IFS 5968 test -z "$as_dir" && as_dir=. 5969 for ac_prog in egrep; do 5970 for ac_exec_ext in '' $ac_executable_extensions; do 5971 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5972 as_fn_executable_p "$ac_path_EGREP" || continue 5973# Check for GNU ac_path_EGREP and select it if it is found. 5974 # Check for GNU $ac_path_EGREP 5975case `"$ac_path_EGREP" --version 2>&1` in 5976*GNU*) 5977 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5978*) 5979 ac_count=0 5980 $as_echo_n 0123456789 >"conftest.in" 5981 while : 5982 do 5983 cat "conftest.in" "conftest.in" >"conftest.tmp" 5984 mv "conftest.tmp" "conftest.in" 5985 cp "conftest.in" "conftest.nl" 5986 $as_echo 'EGREP' >> "conftest.nl" 5987 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5988 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5989 as_fn_arith $ac_count + 1 && ac_count=$as_val 5990 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5991 # Best one so far, save it but keep looking for a better one 5992 ac_cv_path_EGREP="$ac_path_EGREP" 5993 ac_path_EGREP_max=$ac_count 5994 fi 5995 # 10*(2^10) chars as input seems more than enough 5996 test $ac_count -gt 10 && break 5997 done 5998 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5999esac 6000 6001 $ac_path_EGREP_found && break 3 6002 done 6003 done 6004 done 6005IFS=$as_save_IFS 6006 if test -z "$ac_cv_path_EGREP"; then 6007 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6008 fi 6009else 6010 ac_cv_path_EGREP=$EGREP 6011fi 6012 6013 fi 6014fi 6015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6016$as_echo "$ac_cv_path_EGREP" >&6; } 6017 EGREP="$ac_cv_path_EGREP" 6018 6019 6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6021$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6022if ${ac_cv_path_SED+:} false; then : 6023 $as_echo_n "(cached) " >&6 6024else 6025 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6026 for ac_i in 1 2 3 4 5 6 7; do 6027 ac_script="$ac_script$as_nl$ac_script" 6028 done 6029 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6030 { ac_script=; unset ac_script;} 6031 if test -z "$SED"; then 6032 ac_path_SED_found=false 6033 # Loop through the user's path and test for each of PROGNAME-LIST 6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6035for as_dir in $PATH 6036do 6037 IFS=$as_save_IFS 6038 test -z "$as_dir" && as_dir=. 6039 for ac_prog in sed gsed; do 6040 for ac_exec_ext in '' $ac_executable_extensions; do 6041 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6042 as_fn_executable_p "$ac_path_SED" || continue 6043# Check for GNU ac_path_SED and select it if it is found. 6044 # Check for GNU $ac_path_SED 6045case `"$ac_path_SED" --version 2>&1` in 6046*GNU*) 6047 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6048*) 6049 ac_count=0 6050 $as_echo_n 0123456789 >"conftest.in" 6051 while : 6052 do 6053 cat "conftest.in" "conftest.in" >"conftest.tmp" 6054 mv "conftest.tmp" "conftest.in" 6055 cp "conftest.in" "conftest.nl" 6056 $as_echo '' >> "conftest.nl" 6057 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6059 as_fn_arith $ac_count + 1 && ac_count=$as_val 6060 if test $ac_count -gt ${ac_path_SED_max-0}; then 6061 # Best one so far, save it but keep looking for a better one 6062 ac_cv_path_SED="$ac_path_SED" 6063 ac_path_SED_max=$ac_count 6064 fi 6065 # 10*(2^10) chars as input seems more than enough 6066 test $ac_count -gt 10 && break 6067 done 6068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6069esac 6070 6071 $ac_path_SED_found && break 3 6072 done 6073 done 6074 done 6075IFS=$as_save_IFS 6076 if test -z "$ac_cv_path_SED"; then 6077 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6078 fi 6079else 6080 ac_cv_path_SED=$SED 6081fi 6082 6083fi 6084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6085$as_echo "$ac_cv_path_SED" >&6; } 6086 SED="$ac_cv_path_SED" 6087 rm -f conftest.sed 6088 6089ac_ext=cpp 6090ac_cpp='$CXXCPP $CPPFLAGS' 6091ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6092ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6093ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 6095$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6096if test -z "$CXXCPP"; then 6097 if ${ac_cv_prog_CXXCPP+:} false; then : 6098 $as_echo_n "(cached) " >&6 6099else 6100 # Double quotes because CXXCPP needs to be expanded 6101 for CXXCPP in "$CXX -E" "/lib/cpp" 6102 do 6103 ac_preproc_ok=false 6104for ac_cxx_preproc_warn_flag in '' yes 6105do 6106 # Use a header file that comes with gcc, so configuring glibc 6107 # with a fresh cross-compiler works. 6108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6109 # <limits.h> exists even on freestanding compilers. 6110 # On the NeXT, cc -E runs the code through the compiler's parser, 6111 # not just through cpp. "Syntax error" is here to catch this case. 6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6113/* end confdefs.h. */ 6114#ifdef __STDC__ 6115# include <limits.h> 6116#else 6117# include <assert.h> 6118#endif 6119 Syntax error 6120_ACEOF 6121if ac_fn_cxx_try_cpp "$LINENO"; then : 6122 6123else 6124 # Broken: fails on valid input. 6125continue 6126fi 6127rm -f conftest.err conftest.i conftest.$ac_ext 6128 6129 # OK, works on sane cases. Now check whether nonexistent headers 6130 # can be detected and how. 6131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6132/* end confdefs.h. */ 6133#include <ac_nonexistent.h> 6134_ACEOF 6135if ac_fn_cxx_try_cpp "$LINENO"; then : 6136 # Broken: success on invalid input. 6137continue 6138else 6139 # Passes both tests. 6140ac_preproc_ok=: 6141break 6142fi 6143rm -f conftest.err conftest.i conftest.$ac_ext 6144 6145done 6146# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6147rm -f conftest.i conftest.err conftest.$ac_ext 6148if $ac_preproc_ok; then : 6149 break 6150fi 6151 6152 done 6153 ac_cv_prog_CXXCPP=$CXXCPP 6154 6155fi 6156 CXXCPP=$ac_cv_prog_CXXCPP 6157else 6158 ac_cv_prog_CXXCPP=$CXXCPP 6159fi 6160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 6161$as_echo "$CXXCPP" >&6; } 6162ac_preproc_ok=false 6163for ac_cxx_preproc_warn_flag in '' yes 6164do 6165 # Use a header file that comes with gcc, so configuring glibc 6166 # with a fresh cross-compiler works. 6167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6168 # <limits.h> exists even on freestanding compilers. 6169 # On the NeXT, cc -E runs the code through the compiler's parser, 6170 # not just through cpp. "Syntax error" is here to catch this case. 6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6172/* end confdefs.h. */ 6173#ifdef __STDC__ 6174# include <limits.h> 6175#else 6176# include <assert.h> 6177#endif 6178 Syntax error 6179_ACEOF 6180if ac_fn_cxx_try_cpp "$LINENO"; then : 6181 6182else 6183 # Broken: fails on valid input. 6184continue 6185fi 6186rm -f conftest.err conftest.i conftest.$ac_ext 6187 6188 # OK, works on sane cases. Now check whether nonexistent headers 6189 # can be detected and how. 6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6191/* end confdefs.h. */ 6192#include <ac_nonexistent.h> 6193_ACEOF 6194if ac_fn_cxx_try_cpp "$LINENO"; then : 6195 # Broken: success on invalid input. 6196continue 6197else 6198 # Passes both tests. 6199ac_preproc_ok=: 6200break 6201fi 6202rm -f conftest.err conftest.i conftest.$ac_ext 6203 6204done 6205# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6206rm -f conftest.i conftest.err conftest.$ac_ext 6207if $ac_preproc_ok; then : 6208 6209else 6210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6212as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6213See \`config.log' for more details" "$LINENO" 5; } 6214fi 6215 6216ac_ext=c 6217ac_cpp='$CPP $CPPFLAGS' 6218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6220ac_compiler_gnu=$ac_cv_c_compiler_gnu 6221 6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6223$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6224set x ${MAKE-make} 6225ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6226if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 6227 $as_echo_n "(cached) " >&6 6228else 6229 cat >conftest.make <<\_ACEOF 6230SHELL = /bin/sh 6231all: 6232 @echo '@@@%%%=$(MAKE)=@@@%%%' 6233_ACEOF 6234# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6235case `${MAKE-make} -f conftest.make 2>/dev/null` in 6236 *@@@%%%=?*=@@@%%%*) 6237 eval ac_cv_prog_make_${ac_make}_set=yes;; 6238 *) 6239 eval ac_cv_prog_make_${ac_make}_set=no;; 6240esac 6241rm -f conftest.make 6242fi 6243if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6245$as_echo "yes" >&6; } 6246 SET_MAKE= 6247else 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6249$as_echo "no" >&6; } 6250 SET_MAKE="MAKE=${MAKE-make}" 6251fi 6252 6253 6254 6255# Compilation flags. 6256 6257COMP_FLAGS="" 6258OPT_FLAGS="" 6259 6260enableval=yes 6261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile with debug info" >&5 6262$as_echo_n "checking whether to compile with debug info... " >&6; } 6263# Check whether --enable-debugging was given. 6264if test "${enable_debugging+set}" = set; then : 6265 enableval=$enable_debugging; 6266fi 6267 6268case "${enableval}" in 6269yes) 6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6271$as_echo "yes" >&6; } 6272 OPT_FLAGS="-g" 6273 ;; 6274no) 6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6276$as_echo "no" >&6; } 6277 ;; 6278*) 6279 as_fn_error $? "bad value ${enableval} for --enable-debugging, needs yes or no" "$LINENO" 5 6280 ;; 6281esac 6282 if test x"$enableval" = xyes; then 6283 DEBUGGING_ENABLED_TRUE= 6284 DEBUGGING_ENABLED_FALSE='#' 6285else 6286 DEBUGGING_ENABLED_TRUE='#' 6287 DEBUGGING_ENABLED_FALSE= 6288fi 6289 6290 6291enableval=no 6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile for profiling" >&5 6293$as_echo_n "checking whether to compile for profiling... " >&6; } 6294# Check whether --enable-profiling was given. 6295if test "${enable_profiling+set}" = set; then : 6296 enableval=$enable_profiling; 6297fi 6298 6299case "${enableval}" in 6300yes) 6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6302$as_echo "yes" >&6; } 6303 OPT_FLAGS="-g" 6304 COMP_FLAGS="$COMP_FLAGS -pg -DPPL_PROFILING=1" 6305 ;; 6306no) 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6308$as_echo "no" >&6; } 6309 ;; 6310*) 6311 as_fn_error $? "bad value ${enableval} for --enable-profiling, needs yes or no" "$LINENO" 5 6312 ;; 6313esac 6314 6315enableval=no 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile for test coverage" >&5 6317$as_echo_n "checking whether to compile for test coverage... " >&6; } 6318# Check whether --enable-coverage was given. 6319if test "${enable_coverage+set}" = set; then : 6320 enableval=$enable_coverage; 6321fi 6322 6323case "${enableval}" in 6324yes) 6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6326$as_echo "yes" >&6; } 6327 OPT_FLAGS="-g" 6328 COMP_FLAGS="$COMP_FLAGS -fprofile-arcs -ftest-coverage" 6329 extra_libraries="${extra_libraries} -lgcov" 6330 ;; 6331no) 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6333$as_echo "no" >&6; } 6334 ;; 6335*) 6336 as_fn_error $? "bad value ${enableval} for --enable-coverage, needs yes or no" "$LINENO" 5 6337 ;; 6338esac 6339 6340enableval=no 6341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable checking of run-time assertions" >&5 6342$as_echo_n "checking whether to enable checking of run-time assertions... " >&6; } 6343# Check whether --enable-assertions was given. 6344if test "${enable_assertions+set}" = set; then : 6345 enableval=$enable_assertions; 6346fi 6347 6348case "${enableval}" in 6349yes) 6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6351$as_echo "yes" >&6; } 6352 ;; 6353no) 6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6355$as_echo "no" >&6; } 6356 ;; 6357*) 6358 as_fn_error $? "bad value ${enableval} for --enable-assertions, needs yes or no" "$LINENO" 5 6359 ;; 6360esac 6361enable_assertions=${enableval} 6362 6363enableval=no 6364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable even more run-time assertions" >&5 6365$as_echo_n "checking whether to enable even more run-time assertions... " >&6; } 6366# Check whether --enable-more-assertions was given. 6367if test "${enable_more_assertions+set}" = set; then : 6368 enableval=$enable_more_assertions; 6369fi 6370 6371case "${enableval}" in 6372yes) 6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6374$as_echo "yes" >&6; } 6375 ;; 6376no) 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6378$as_echo "no" >&6; } 6379 ;; 6380*) 6381 as_fn_error $? "bad value ${enableval} for --enable-more-assertions, needs yes or no" "$LINENO" 5 6382 ;; 6383esac 6384enable_more_assertions=${enableval} 6385 6386if test x"$enable_more_assertions" = xyes 6387then 6388 enable_assertions=yes 6389 6390$as_echo "#define PPL_ABI_BREAKING_EXTRA_DEBUG 1" >>confdefs.h 6391 6392 6393$as_echo "#define _GLIBCXX_DEBUG 1" >>confdefs.h 6394 6395 6396$as_echo "#define _GLIBCXX_DEBUG_PEDANTIC 1" >>confdefs.h 6397 6398fi 6399 6400if test x"$enable_assertions" = xno 6401then 6402 6403$as_echo "#define PPL_NDEBUG 1" >>confdefs.h 6404 6405 debug_flag="-DNDEBUG=1" 6406fi 6407 6408 if test x"$enable_assertions" = xyes; then 6409 ASSERTIONS_ENABLED_TRUE= 6410 ASSERTIONS_ENABLED_FALSE='#' 6411else 6412 ASSERTIONS_ENABLED_TRUE='#' 6413 ASSERTIONS_ENABLED_FALSE= 6414fi 6415 6416 6417 6418arch=no 6419enableval=standard 6420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable optimizations" >&5 6421$as_echo_n "checking whether to enable optimizations... " >&6; } 6422# Check whether --enable-optimization was given. 6423if test "${enable_optimization+set}" = set; then : 6424 enableval=$enable_optimization; 6425fi 6426 6427case "${enableval}" in 6428sspeed) 6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sspeed" >&5 6430$as_echo "sspeed" >&6; } 6431 OPT_FLAGS="$OPT_FLAGS -O3 -fomit-frame-pointer" 6432 arch=yes 6433 ;; 6434speed) 6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: speed" >&5 6436$as_echo "speed" >&6; } 6437 OPT_FLAGS="$OPT_FLAGS -O3" 6438 arch=yes 6439 ;; 6440size) 6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size" >&5 6442$as_echo "size" >&6; } 6443 OPT_FLAGS="$OPT_FLAGS -Os" 6444 arch=yes 6445 ;; 6446standard | yes) 6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: standard" >&5 6448$as_echo "standard" >&6; } 6449 OPT_FLAGS="$OPT_FLAGS " 6450 ;; 6451mild) 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mild" >&5 6453$as_echo "mild" >&6; } 6454 OPT_FLAGS="$OPT_FLAGS -O1" 6455 ;; 6456zero) 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: zero" >&5 6458$as_echo "zero" >&6; } 6459 OPT_FLAGS="$OPT_FLAGS -O0" 6460 ;; 6461no) 6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6463$as_echo "no" >&6; } 6464 ;; 6465*) 6466 as_fn_error $? "bad value ${enableval} for --enable-optimization, needs sspeed, speed, size, standard, mild, zero, yes or no" "$LINENO" 5 6467 ;; 6468esac 6469 6470enableval=$arch 6471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for which architecture to optimize" >&5 6472$as_echo_n "checking for which architecture to optimize... " >&6; } 6473# Check whether --enable-arch was given. 6474if test "${enable_arch+set}" = set; then : 6475 enableval=$enable_arch; 6476fi 6477 6478case "${enableval}" in 6479yes) 6480 m=`uname -m` 6481 case $m in 6482 i?86 | k6 | athlon) 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $m" >&5 6484$as_echo "$m" >&6; } 6485 OPT_FLAGS="$OPT_FLAGS -march=$m" 6486 ;; 6487 *) 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5 6489$as_echo "default" >&6; } 6490 ;; 6491 esac 6492 ;; 6493no) 6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5 6495$as_echo "default" >&6; } 6496 ;; 6497*) 6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5 6499$as_echo "$enableval" >&6; } 6500 OPT_FLAGS="$OPT_FLAGS -march=$enableval" 6501 ;; 6502esac 6503 6504enableval=default 6505use_fpmath=yes 6506fpmath_may_use_387=yes 6507fpmath_may_use_sse=yes 6508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use (a specific) floating point arithmetic" >&5 6509$as_echo_n "checking whether to use (a specific) floating point arithmetic... " >&6; } 6510# Check whether --enable-fpmath was given. 6511if test "${enable_fpmath+set}" = set; then : 6512 enableval=$enable_fpmath; 6513fi 6514 6515case "${enableval}" in 6516sse) 6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sse" >&5 6518$as_echo "sse" >&6; } 6519 OPT_FLAGS="$OPT_FLAGS -msse -mfpmath=sse" 6520 # The SSE instruction set only supports single precision arithmetic: 6521 # double and extended precision arithmetic is still done using 387. 6522 ;; 6523sse2) 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sse2" >&5 6525$as_echo "sse2" >&6; } 6526 OPT_FLAGS="$OPT_FLAGS -msse2 -mfpmath=sse" 6527 # SSE2 still does not support extended precision arithmetic. 6528 ;; 6529387) 6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 387" >&5 6531$as_echo "387" >&6; } 6532 OPT_FLAGS="$OPT_FLAGS -mno-sse -mno-sse2 -mfpmath=387" 6533 # Note that the -mno-sse* and -mfpmath options are only guaranteed 6534 # to work with GCC. 6535 if test x"$GCC" = xyes 6536 then 6537 fpmath_may_use_sse=no 6538 fi 6539 ;; 6540sse+387) 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sse+387" >&5 6542$as_echo "sse+387" >&6; } 6543 OPT_FLAGS="$OPT_FLAGS -msse -mfpmath=sse,387" 6544 ;; 6545sse2+387) 6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: sse2+387" >&5 6547$as_echo "sse2+387" >&6; } 6548 OPT_FLAGS="$OPT_FLAGS -msse2 -mfpmath=sse,387" 6549 ;; 6550default) 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5 6552$as_echo "default" >&6; } 6553 ;; 6554no) 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6556$as_echo "no" >&6; } 6557 use_fpmath=no 6558 ;; 6559*) 6560 as_fn_error $? "bad value ${enableval} for --enable-fpmath, needs sse, sse2, 387, sse+387, sse2+387, default or no" "$LINENO" 5 6561 ;; 6562esac 6563 6564if test x"$fpmath_may_use_387" = xyes 6565then 6566 6567$as_echo "#define PPL_FPMATH_MAY_USE_387 1" >>confdefs.h 6568 6569fi 6570 6571if test x"$fpmath_may_use_sse" = xyes 6572then 6573 6574$as_echo "#define PPL_FPMATH_MAY_USE_SSE 1" >>confdefs.h 6575 6576fi 6577 6578# Disable all transformations and optimizations that assume default 6579# floating point rounding behavior. 6580if test x"$GXX" = xyes 6581then 6582 if test x"$ICPC" = xyes 6583 then 6584 OPT_FLAGS="$OPT_FLAGS -fp-model strict -fp-speculation off" 6585 else 6586 # -frounding-math is not yet supported in clang++ or llvm-g++. 6587 if test x"$CLANGXX" = xyes || test x"$LLVM_GXX" = xyes 6588 then 6589 if test x"$use_fpmath" = xyes 6590 then 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CANNOT RELY ON DIRECTED ROUNDING: 6592*** DISABLED ALL ABSTRACTIONS BASED ON MACHINE FLOATING-POINT NUMBERS. 6593*** A compiler has been detected that does not provide support for 6594*** -frounding-math (or any other option with the same semantics). 6595*** Hence, we cannot rely on floating-point computations to happen 6596*** in agreement with the rounding direction(s) used by the PPL." >&5 6597$as_echo "$as_me: WARNING: CANNOT RELY ON DIRECTED ROUNDING: 6598*** DISABLED ALL ABSTRACTIONS BASED ON MACHINE FLOATING-POINT NUMBERS. 6599*** A compiler has been detected that does not provide support for 6600*** -frounding-math (or any other option with the same semantics). 6601*** Hence, we cannot rely on floating-point computations to happen 6602*** in agreement with the rounding direction(s) used by the PPL." >&2;} 6603 use_fpmath=no 6604 fi 6605 else 6606 OPT_FLAGS="$OPT_FLAGS -frounding-math" 6607 fi 6608 fi 6609fi 6610 6611enableval=no 6612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use precompiled headers" >&5 6613$as_echo_n "checking whether to use precompiled headers... " >&6; } 6614# Check whether --enable-pch was given. 6615if test "${enable_pch+set}" = set; then : 6616 enableval=$enable_pch; 6617fi 6618 6619case "${enableval}" in 6620yes) 6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6622$as_echo "yes" >&6; } 6623 COMP_FLAGS="$COMP_FLAGS -Winvalid-pch" 6624 ;; 6625no) 6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6627$as_echo "no" >&6; } 6628 ;; 6629*) 6630 as_fn_error $? "bad value ${enableval} for --enable-pch, needs yes or no" "$LINENO" 5 6631 ;; 6632esac 6633 if test x"$enableval" = xyes; then 6634 USE_PRECOMPILED_HEADERS_TRUE= 6635 USE_PRECOMPILED_HEADERS_FALSE='#' 6636else 6637 USE_PRECOMPILED_HEADERS_TRUE='#' 6638 USE_PRECOMPILED_HEADERS_FALSE= 6639fi 6640 6641 6642CFLAGS="$COMP_FLAGS $OPT_FLAGS $CFLAGS" 6643CXXFLAGS="$COMP_FLAGS $OPT_FLAGS $CXXFLAGS" 6644 6645# System-dependent adjustments. 6646cygwin=no 6647mingw=no 6648darwin=no 6649solaris=no 6650x86_64=no 6651no_undefined=no 6652 6653case "${host_cpu}" in 6654alpha*) 6655 if test x"$GCC" = xyes 6656 then 6657 CFLAGS="$CFLAGS -mfp-rounding-mode=d -mieee-with-inexact" 6658 CXXFLAGS="$CXXFLAGS -mfp-rounding-mode=d -mieee-with-inexact" 6659 else 6660 CFLAGS="$CFLAGS -fprm d -ieee_with_inexact" 6661 CXXFLAGS="$CXXFLAGS -fprm d -ieee_with_inexact" 6662 fi 6663 ;; 6664x86_64*) 6665 x86_64=yes 6666 ;; 6667*) 6668 ;; 6669esac 6670 6671case "${host_os}" in 6672cygwin*) 6673 cygwin=yes 6674 no_undefined=yes 6675 shared_library_path_env_var=PATH 6676 ;; 6677darwin*) 6678 darwin=yes 6679 shared_library_path_env_var=DYLD_LIBRARY_PATH 6680 ;; 6681hpux*) 6682 hpux=yes 6683 shared_library_path_env_var=SHLIB_PATH 6684 ;; 6685mingw*) 6686 mingw=yes 6687 no_undefined=yes 6688 shared_library_path_env_var=PATH 6689 ;; 6690solaris*) 6691 solaris=yes 6692 shared_library_path_env_var=LD_LIBRARY_PATH 6693 ;; 6694*) 6695 shared_library_path_env_var=LD_LIBRARY_PATH 6696 ;; 6697esac 6698 6699 if test x$cygwin = xyes; then 6700 HOST_OS_CYGWIN_TRUE= 6701 HOST_OS_CYGWIN_FALSE='#' 6702else 6703 HOST_OS_CYGWIN_TRUE='#' 6704 HOST_OS_CYGWIN_FALSE= 6705fi 6706 6707 if test x$darwin = xyes; then 6708 HOST_OS_DARWIN_TRUE= 6709 HOST_OS_DARWIN_FALSE='#' 6710else 6711 HOST_OS_DARWIN_TRUE='#' 6712 HOST_OS_DARWIN_FALSE= 6713fi 6714 6715 if test x$hpux = xyes; then 6716 HOST_OS_HPUX_TRUE= 6717 HOST_OS_HPUX_FALSE='#' 6718else 6719 HOST_OS_HPUX_TRUE='#' 6720 HOST_OS_HPUX_FALSE= 6721fi 6722 6723 if test x$mingw = xyes; then 6724 HOST_OS_MINGW_TRUE= 6725 HOST_OS_MINGW_FALSE='#' 6726else 6727 HOST_OS_MINGW_TRUE='#' 6728 HOST_OS_MINGW_FALSE= 6729fi 6730 6731 if test x$solaris = xyes; then 6732 HOST_OS_SOLARIS_TRUE= 6733 HOST_OS_SOLARIS_FALSE='#' 6734else 6735 HOST_OS_SOLARIS_TRUE='#' 6736 HOST_OS_SOLARIS_FALSE= 6737fi 6738 6739 6740 if test x$x86_64 = xyes; then 6741 HOST_CPU_X86_64_TRUE= 6742 HOST_CPU_X86_64_FALSE='#' 6743else 6744 HOST_CPU_X86_64_TRUE='#' 6745 HOST_CPU_X86_64_FALSE= 6746fi 6747 6748 6749 if test x$no_undefined = xyes; then 6750 NO_UNDEFINED_TRUE= 6751 NO_UNDEFINED_FALSE='#' 6752else 6753 NO_UNDEFINED_TRUE='#' 6754 NO_UNDEFINED_FALSE= 6755fi 6756 6757 6758 6759enableval=mpz 6760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the type of integral values to use as coefficients" >&5 6761$as_echo_n "checking the type of integral values to use as coefficients... " >&6; } 6762# Check whether --enable-coefficients was given. 6763if test "${enable_coefficients+set}" = set; then : 6764 enableval=$enable_coefficients; 6765fi 6766 6767case "${enableval}" in 6768native-int8) 6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: native 8 bits integers" >&5 6770$as_echo "native 8 bits integers" >&6; } 6771 coefficient_kind=native 6772 coefficient_bits=8 6773 coefficient_mnemonic=nint8 6774 ;; 6775native-int16) 6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: native 16 bits integers" >&5 6777$as_echo "native 16 bits integers" >&6; } 6778 coefficient_kind=native 6779 coefficient_bits=16 6780 coefficient_mnemonic=nint16 6781 ;; 6782native-int32) 6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: native 32 bits integers" >&5 6784$as_echo "native 32 bits integers" >&6; } 6785 coefficient_kind=native 6786 coefficient_bits=32 6787 coefficient_mnemonic=nint32 6788 ;; 6789native-int64) 6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: native 64 bits integers" >&5 6791$as_echo "native 64 bits integers" >&6; } 6792 coefficient_kind=native 6793 coefficient_bits=64 6794 coefficient_mnemonic=nint64 6795 ;; 6796checked-int8) 6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked 8 bits integers" >&5 6798$as_echo "checked 8 bits integers" >&6; } 6799 coefficient_kind=checked 6800 coefficient_bits=8 6801 coefficient_mnemonic=int8 6802 ;; 6803checked-int16) 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked 16 bits integers" >&5 6805$as_echo "checked 16 bits integers" >&6; } 6806 coefficient_kind=checked 6807 coefficient_bits=16 6808 coefficient_mnemonic=int16 6809 ;; 6810checked-int32) 6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked 32 bits integers" >&5 6812$as_echo "checked 32 bits integers" >&6; } 6813 coefficient_kind=checked 6814 coefficient_bits=32 6815 coefficient_mnemonic=int32 6816 ;; 6817checked-int64) 6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checked 64 bits integers" >&5 6819$as_echo "checked 64 bits integers" >&6; } 6820 coefficient_kind=checked 6821 coefficient_bits=64 6822 coefficient_mnemonic=int64 6823 ;; 6824mpz) 6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GMP mpz" >&5 6826$as_echo "GMP mpz" >&6; } 6827 coefficient_kind=unbounded 6828 coefficient_bits=0 6829 coefficient_mnemonic=mpz 6830 ;; 6831*) 6832 as_fn_error $? "bad value ${enableval} for --enable-coefficients, checked-int32, checked-int64, checked-int16, checked-int8, mpz, native-int32, native-int64, native-int16 or native-int8" "$LINENO" 5 6833 ;; 6834esac 6835 6836 if test x"$coefficient_kind" = xnative; then 6837 USE_NATIVE_INTEGERS_TRUE= 6838 USE_NATIVE_INTEGERS_FALSE='#' 6839else 6840 USE_NATIVE_INTEGERS_TRUE='#' 6841 USE_NATIVE_INTEGERS_FALSE= 6842fi 6843 6844 if test x"$coefficient_kind" = xchecked; then 6845 USE_CHECKED_INTEGERS_TRUE= 6846 USE_CHECKED_INTEGERS_FALSE='#' 6847else 6848 USE_CHECKED_INTEGERS_TRUE='#' 6849 USE_CHECKED_INTEGERS_FALSE= 6850fi 6851 6852 if test x"$coefficient_kind" = xunbounded; then 6853 USE_GMP_INTEGERS_TRUE= 6854 USE_GMP_INTEGERS_FALSE='#' 6855else 6856 USE_GMP_INTEGERS_TRUE='#' 6857 USE_GMP_INTEGERS_FALSE= 6858fi 6859 6860 if test x"$coefficient_bits" = x8; then 6861 USE_INT8_TRUE= 6862 USE_INT8_FALSE='#' 6863else 6864 USE_INT8_TRUE='#' 6865 USE_INT8_FALSE= 6866fi 6867 6868 if test x"$coefficient_bits" = x16; then 6869 USE_INT16_TRUE= 6870 USE_INT16_FALSE='#' 6871else 6872 USE_INT16_TRUE='#' 6873 USE_INT16_FALSE= 6874fi 6875 6876 if test x"$coefficient_bits" = x32; then 6877 USE_INT32_TRUE= 6878 USE_INT32_FALSE='#' 6879else 6880 USE_INT32_TRUE='#' 6881 USE_INT32_FALSE= 6882fi 6883 6884 if test x"$coefficient_bits" = x64; then 6885 USE_INT64_TRUE= 6886 USE_INT64_FALSE='#' 6887else 6888 USE_INT64_TRUE='#' 6889 USE_INT64_FALSE= 6890fi 6891 6892 6893 6894if test x"$coefficient_kind" = xnative 6895then 6896 coefficient_type="Parma_Polyhedra_Library::Checked_Number<int${coefficient_bits}_t, Checked_Number_Transparent_Policy<int${coefficient_bits}_t> >" 6897 6898cat >>confdefs.h <<_ACEOF 6899#define PPL_COEFFICIENT_TYPE $coefficient_type 6900_ACEOF 6901 6902 6903cat >>confdefs.h <<_ACEOF 6904#define PPL_COEFFICIENT_BITS $coefficient_bits 6905_ACEOF 6906 6907 6908$as_echo "#define PPL_NATIVE_INTEGERS 1" >>confdefs.h 6909 6910elif test x"$coefficient_kind" = xchecked 6911then 6912 coefficient_type="Parma_Polyhedra_Library::Checked_Number<int${coefficient_bits}_t, Bounded_Integer_Coefficient_Policy>" 6913 cat >>confdefs.h <<_ACEOF 6914#define PPL_COEFFICIENT_TYPE $coefficient_type 6915_ACEOF 6916 6917 cat >>confdefs.h <<_ACEOF 6918#define PPL_COEFFICIENT_BITS $coefficient_bits 6919_ACEOF 6920 6921 6922$as_echo "#define PPL_CHECKED_INTEGERS 1" >>confdefs.h 6923 6924elif test x"$coefficient_kind" = xunbounded 6925then 6926 $as_echo "#define PPL_COEFFICIENT_TYPE mpz_class" >>confdefs.h 6927 6928 $as_echo "#define PPL_COEFFICIENT_BITS 0" >>confdefs.h 6929 6930 6931$as_echo "#define PPL_GMP_INTEGERS 1" >>confdefs.h 6932 6933fi 6934 6935# Allow additions to C compilation flags. 6936 6937# Check whether --with-cflags was given. 6938if test "${with_cflags+set}" = set; then : 6939 withval=$with_cflags; CFLAGS="$CFLAGS $with_cflags" 6940fi 6941 6942 6943# Allow additions to C++ compilation flags. 6944 6945# Check whether --with-cxxflags was given. 6946if test "${with_cxxflags+set}" = set; then : 6947 withval=$with_cxxflags; CXXFLAGS="$CXXFLAGS $with_cxxflags" 6948fi 6949 6950 6951# Checks for C typedefs, structures, compiler and architecture characteristics. 6952ac_ext=c 6953ac_cpp='$CPP $CPPFLAGS' 6954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6956ac_compiler_gnu=$ac_cv_c_compiler_gnu 6957 6958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6959$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6960if ${ac_cv_c_const+:} false; then : 6961 $as_echo_n "(cached) " >&6 6962else 6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6964/* end confdefs.h. */ 6965 6966int 6967main () 6968{ 6969 6970#ifndef __cplusplus 6971 /* Ultrix mips cc rejects this sort of thing. */ 6972 typedef int charset[2]; 6973 const charset cs = { 0, 0 }; 6974 /* SunOS 4.1.1 cc rejects this. */ 6975 char const *const *pcpcc; 6976 char **ppc; 6977 /* NEC SVR4.0.2 mips cc rejects this. */ 6978 struct point {int x, y;}; 6979 static struct point const zero = {0,0}; 6980 /* AIX XL C 1.02.0.0 rejects this. 6981 It does not let you subtract one const X* pointer from another in 6982 an arm of an if-expression whose if-part is not a constant 6983 expression */ 6984 const char *g = "string"; 6985 pcpcc = &g + (g ? g-g : 0); 6986 /* HPUX 7.0 cc rejects these. */ 6987 ++pcpcc; 6988 ppc = (char**) pcpcc; 6989 pcpcc = (char const *const *) ppc; 6990 { /* SCO 3.2v4 cc rejects this sort of thing. */ 6991 char tx; 6992 char *t = &tx; 6993 char const *s = 0 ? (char *) 0 : (char const *) 0; 6994 6995 *t++ = 0; 6996 if (s) return 0; 6997 } 6998 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6999 int x[] = {25, 17}; 7000 const int *foo = &x[0]; 7001 ++foo; 7002 } 7003 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7004 typedef const int *iptr; 7005 iptr p = 0; 7006 ++p; 7007 } 7008 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 7009 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7010 struct s { int j; const int *ap[3]; } bx; 7011 struct s *b = &bx; b->j = 5; 7012 } 7013 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7014 const int foo = 10; 7015 if (!foo) return 0; 7016 } 7017 return !cs[0] && !zero.x; 7018#endif 7019 7020 ; 7021 return 0; 7022} 7023_ACEOF 7024if ac_fn_c_try_compile "$LINENO"; then : 7025 ac_cv_c_const=yes 7026else 7027 ac_cv_c_const=no 7028fi 7029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7030fi 7031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 7032$as_echo "$ac_cv_c_const" >&6; } 7033if test $ac_cv_c_const = no; then 7034 7035$as_echo "#define const /**/" >>confdefs.h 7036 7037fi 7038 7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 7040$as_echo_n "checking for inline... " >&6; } 7041if ${ac_cv_c_inline+:} false; then : 7042 $as_echo_n "(cached) " >&6 7043else 7044 ac_cv_c_inline=no 7045for ac_kw in inline __inline__ __inline; do 7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7047/* end confdefs.h. */ 7048#ifndef __cplusplus 7049typedef int foo_t; 7050static $ac_kw foo_t static_foo () {return 0; } 7051$ac_kw foo_t foo () {return 0; } 7052#endif 7053 7054_ACEOF 7055if ac_fn_c_try_compile "$LINENO"; then : 7056 ac_cv_c_inline=$ac_kw 7057fi 7058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7059 test "$ac_cv_c_inline" != no && break 7060done 7061 7062fi 7063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 7064$as_echo "$ac_cv_c_inline" >&6; } 7065 7066case $ac_cv_c_inline in 7067 inline | yes) ;; 7068 *) 7069 case $ac_cv_c_inline in 7070 no) ac_val=;; 7071 *) ac_val=$ac_cv_c_inline;; 7072 esac 7073 cat >>confdefs.h <<_ACEOF 7074#ifndef __cplusplus 7075#define inline $ac_val 7076#endif 7077_ACEOF 7078 ;; 7079esac 7080 7081ac_ext=c 7082ac_cpp='$CPP $CPPFLAGS' 7083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7085ac_compiler_gnu=$ac_cv_c_compiler_gnu 7086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7087$as_echo_n "checking how to run the C preprocessor... " >&6; } 7088# On Suns, sometimes $CPP names a directory. 7089if test -n "$CPP" && test -d "$CPP"; then 7090 CPP= 7091fi 7092if test -z "$CPP"; then 7093 if ${ac_cv_prog_CPP+:} false; then : 7094 $as_echo_n "(cached) " >&6 7095else 7096 # Double quotes because CPP needs to be expanded 7097 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7098 do 7099 ac_preproc_ok=false 7100for ac_c_preproc_warn_flag in '' yes 7101do 7102 # Use a header file that comes with gcc, so configuring glibc 7103 # with a fresh cross-compiler works. 7104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7105 # <limits.h> exists even on freestanding compilers. 7106 # On the NeXT, cc -E runs the code through the compiler's parser, 7107 # not just through cpp. "Syntax error" is here to catch this case. 7108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7109/* end confdefs.h. */ 7110#ifdef __STDC__ 7111# include <limits.h> 7112#else 7113# include <assert.h> 7114#endif 7115 Syntax error 7116_ACEOF 7117if ac_fn_c_try_cpp "$LINENO"; then : 7118 7119else 7120 # Broken: fails on valid input. 7121continue 7122fi 7123rm -f conftest.err conftest.i conftest.$ac_ext 7124 7125 # OK, works on sane cases. Now check whether nonexistent headers 7126 # can be detected and how. 7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7128/* end confdefs.h. */ 7129#include <ac_nonexistent.h> 7130_ACEOF 7131if ac_fn_c_try_cpp "$LINENO"; then : 7132 # Broken: success on invalid input. 7133continue 7134else 7135 # Passes both tests. 7136ac_preproc_ok=: 7137break 7138fi 7139rm -f conftest.err conftest.i conftest.$ac_ext 7140 7141done 7142# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7143rm -f conftest.i conftest.err conftest.$ac_ext 7144if $ac_preproc_ok; then : 7145 break 7146fi 7147 7148 done 7149 ac_cv_prog_CPP=$CPP 7150 7151fi 7152 CPP=$ac_cv_prog_CPP 7153else 7154 ac_cv_prog_CPP=$CPP 7155fi 7156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7157$as_echo "$CPP" >&6; } 7158ac_preproc_ok=false 7159for ac_c_preproc_warn_flag in '' yes 7160do 7161 # Use a header file that comes with gcc, so configuring glibc 7162 # with a fresh cross-compiler works. 7163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7164 # <limits.h> exists even on freestanding compilers. 7165 # On the NeXT, cc -E runs the code through the compiler's parser, 7166 # not just through cpp. "Syntax error" is here to catch this case. 7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7168/* end confdefs.h. */ 7169#ifdef __STDC__ 7170# include <limits.h> 7171#else 7172# include <assert.h> 7173#endif 7174 Syntax error 7175_ACEOF 7176if ac_fn_c_try_cpp "$LINENO"; then : 7177 7178else 7179 # Broken: fails on valid input. 7180continue 7181fi 7182rm -f conftest.err conftest.i conftest.$ac_ext 7183 7184 # OK, works on sane cases. Now check whether nonexistent headers 7185 # can be detected and how. 7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7187/* end confdefs.h. */ 7188#include <ac_nonexistent.h> 7189_ACEOF 7190if ac_fn_c_try_cpp "$LINENO"; then : 7191 # Broken: success on invalid input. 7192continue 7193else 7194 # Passes both tests. 7195ac_preproc_ok=: 7196break 7197fi 7198rm -f conftest.err conftest.i conftest.$ac_ext 7199 7200done 7201# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7202rm -f conftest.i conftest.err conftest.$ac_ext 7203if $ac_preproc_ok; then : 7204 7205else 7206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7208as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7209See \`config.log' for more details" "$LINENO" 5; } 7210fi 7211 7212ac_ext=c 7213ac_cpp='$CPP $CPPFLAGS' 7214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7216ac_compiler_gnu=$ac_cv_c_compiler_gnu 7217 7218 7219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7220$as_echo_n "checking for ANSI C header files... " >&6; } 7221if ${ac_cv_header_stdc+:} false; then : 7222 $as_echo_n "(cached) " >&6 7223else 7224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7225/* end confdefs.h. */ 7226#include <stdlib.h> 7227#include <stdarg.h> 7228#include <string.h> 7229#include <float.h> 7230 7231int 7232main () 7233{ 7234 7235 ; 7236 return 0; 7237} 7238_ACEOF 7239if ac_fn_c_try_compile "$LINENO"; then : 7240 ac_cv_header_stdc=yes 7241else 7242 ac_cv_header_stdc=no 7243fi 7244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7245 7246if test $ac_cv_header_stdc = yes; then 7247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7249/* end confdefs.h. */ 7250#include <string.h> 7251 7252_ACEOF 7253if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7254 $EGREP "memchr" >/dev/null 2>&1; then : 7255 7256else 7257 ac_cv_header_stdc=no 7258fi 7259rm -f conftest* 7260 7261fi 7262 7263if test $ac_cv_header_stdc = yes; then 7264 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7266/* end confdefs.h. */ 7267#include <stdlib.h> 7268 7269_ACEOF 7270if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7271 $EGREP "free" >/dev/null 2>&1; then : 7272 7273else 7274 ac_cv_header_stdc=no 7275fi 7276rm -f conftest* 7277 7278fi 7279 7280if test $ac_cv_header_stdc = yes; then 7281 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7282 if test "$cross_compiling" = yes; then : 7283 : 7284else 7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7286/* end confdefs.h. */ 7287#include <ctype.h> 7288#include <stdlib.h> 7289#if ((' ' & 0x0FF) == 0x020) 7290# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7291# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7292#else 7293# define ISLOWER(c) \ 7294 (('a' <= (c) && (c) <= 'i') \ 7295 || ('j' <= (c) && (c) <= 'r') \ 7296 || ('s' <= (c) && (c) <= 'z')) 7297# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7298#endif 7299 7300#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7301int 7302main () 7303{ 7304 int i; 7305 for (i = 0; i < 256; i++) 7306 if (XOR (islower (i), ISLOWER (i)) 7307 || toupper (i) != TOUPPER (i)) 7308 return 2; 7309 return 0; 7310} 7311_ACEOF 7312if ac_fn_c_try_run "$LINENO"; then : 7313 7314else 7315 ac_cv_header_stdc=no 7316fi 7317rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7318 conftest.$ac_objext conftest.beam conftest.$ac_ext 7319fi 7320 7321fi 7322fi 7323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7324$as_echo "$ac_cv_header_stdc" >&6; } 7325if test $ac_cv_header_stdc = yes; then 7326 7327$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7328 7329fi 7330 7331# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7332for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7333 inttypes.h stdint.h unistd.h 7334do : 7335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7336ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7337" 7338if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7339 cat >>confdefs.h <<_ACEOF 7340#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7341_ACEOF 7342 7343fi 7344 7345done 7346 7347 7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 7349$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 7350if ${ac_cv_c_bigendian+:} false; then : 7351 $as_echo_n "(cached) " >&6 7352else 7353 ac_cv_c_bigendian=unknown 7354 # See if we're dealing with a universal compiler. 7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7356/* end confdefs.h. */ 7357#ifndef __APPLE_CC__ 7358 not a universal capable compiler 7359 #endif 7360 typedef int dummy; 7361 7362_ACEOF 7363if ac_fn_c_try_compile "$LINENO"; then : 7364 7365 # Check for potential -arch flags. It is not universal unless 7366 # there are at least two -arch flags with different values. 7367 ac_arch= 7368 ac_prev= 7369 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 7370 if test -n "$ac_prev"; then 7371 case $ac_word in 7372 i?86 | x86_64 | ppc | ppc64) 7373 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 7374 ac_arch=$ac_word 7375 else 7376 ac_cv_c_bigendian=universal 7377 break 7378 fi 7379 ;; 7380 esac 7381 ac_prev= 7382 elif test "x$ac_word" = "x-arch"; then 7383 ac_prev=arch 7384 fi 7385 done 7386fi 7387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7388 if test $ac_cv_c_bigendian = unknown; then 7389 # See if sys/param.h defines the BYTE_ORDER macro. 7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7391/* end confdefs.h. */ 7392#include <sys/types.h> 7393 #include <sys/param.h> 7394 7395int 7396main () 7397{ 7398#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 7399 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 7400 && LITTLE_ENDIAN) 7401 bogus endian macros 7402 #endif 7403 7404 ; 7405 return 0; 7406} 7407_ACEOF 7408if ac_fn_c_try_compile "$LINENO"; then : 7409 # It does; now see whether it defined to BIG_ENDIAN or not. 7410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7411/* end confdefs.h. */ 7412#include <sys/types.h> 7413 #include <sys/param.h> 7414 7415int 7416main () 7417{ 7418#if BYTE_ORDER != BIG_ENDIAN 7419 not big endian 7420 #endif 7421 7422 ; 7423 return 0; 7424} 7425_ACEOF 7426if ac_fn_c_try_compile "$LINENO"; then : 7427 ac_cv_c_bigendian=yes 7428else 7429 ac_cv_c_bigendian=no 7430fi 7431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7432fi 7433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7434 fi 7435 if test $ac_cv_c_bigendian = unknown; then 7436 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 7437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7438/* end confdefs.h. */ 7439#include <limits.h> 7440 7441int 7442main () 7443{ 7444#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 7445 bogus endian macros 7446 #endif 7447 7448 ; 7449 return 0; 7450} 7451_ACEOF 7452if ac_fn_c_try_compile "$LINENO"; then : 7453 # It does; now see whether it defined to _BIG_ENDIAN or not. 7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7455/* end confdefs.h. */ 7456#include <limits.h> 7457 7458int 7459main () 7460{ 7461#ifndef _BIG_ENDIAN 7462 not big endian 7463 #endif 7464 7465 ; 7466 return 0; 7467} 7468_ACEOF 7469if ac_fn_c_try_compile "$LINENO"; then : 7470 ac_cv_c_bigendian=yes 7471else 7472 ac_cv_c_bigendian=no 7473fi 7474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7475fi 7476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7477 fi 7478 if test $ac_cv_c_bigendian = unknown; then 7479 # Compile a test program. 7480 if test "$cross_compiling" = yes; then : 7481 # Try to guess by grepping values from an object file. 7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7483/* end confdefs.h. */ 7484short int ascii_mm[] = 7485 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7486 short int ascii_ii[] = 7487 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7488 int use_ascii (int i) { 7489 return ascii_mm[i] + ascii_ii[i]; 7490 } 7491 short int ebcdic_ii[] = 7492 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7493 short int ebcdic_mm[] = 7494 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7495 int use_ebcdic (int i) { 7496 return ebcdic_mm[i] + ebcdic_ii[i]; 7497 } 7498 extern int foo; 7499 7500int 7501main () 7502{ 7503return use_ascii (foo) == use_ebcdic (foo); 7504 ; 7505 return 0; 7506} 7507_ACEOF 7508if ac_fn_c_try_compile "$LINENO"; then : 7509 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 7510 ac_cv_c_bigendian=yes 7511 fi 7512 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7513 if test "$ac_cv_c_bigendian" = unknown; then 7514 ac_cv_c_bigendian=no 7515 else 7516 # finding both strings is unlikely to happen, but who knows? 7517 ac_cv_c_bigendian=unknown 7518 fi 7519 fi 7520fi 7521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7522else 7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7524/* end confdefs.h. */ 7525$ac_includes_default 7526int 7527main () 7528{ 7529 7530 /* Are we little or big endian? From Harbison&Steele. */ 7531 union 7532 { 7533 long int l; 7534 char c[sizeof (long int)]; 7535 } u; 7536 u.l = 1; 7537 return u.c[sizeof (long int) - 1] == 1; 7538 7539 ; 7540 return 0; 7541} 7542_ACEOF 7543if ac_fn_c_try_run "$LINENO"; then : 7544 ac_cv_c_bigendian=no 7545else 7546 ac_cv_c_bigendian=yes 7547fi 7548rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7549 conftest.$ac_objext conftest.beam conftest.$ac_ext 7550fi 7551 7552 fi 7553fi 7554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 7555$as_echo "$ac_cv_c_bigendian" >&6; } 7556 case $ac_cv_c_bigendian in #( 7557 yes) 7558 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 7559;; #( 7560 no) 7561 ;; #( 7562 universal) 7563 7564$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 7565 7566 ;; #( 7567 *) 7568 as_fn_error $? "unknown endianness 7569 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7570 esac 7571 7572 7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 7574$as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } 7575if ${ac_cv_c_typeof+:} false; then : 7576 $as_echo_n "(cached) " >&6 7577else 7578 ac_cv_c_typeof=no 7579 for ac_kw in typeof __typeof__ no; do 7580 test $ac_kw = no && break 7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7582/* end confdefs.h. */ 7583 7584int 7585main () 7586{ 7587 7588 int value; 7589 typedef struct { 7590 char a [1 7591 + ! (($ac_kw (value)) 7592 (($ac_kw (value)) 0 < ($ac_kw (value)) -1 7593 ? ($ac_kw (value)) - 1 7594 : ~ (~ ($ac_kw (value)) 0 7595 << sizeof ($ac_kw (value)))))]; } 7596 ac__typeof_type_; 7597 return 7598 (! ((void) ((ac__typeof_type_ *) 0), 0)); 7599 7600 ; 7601 return 0; 7602} 7603_ACEOF 7604if ac_fn_c_try_compile "$LINENO"; then : 7605 ac_cv_c_typeof=$ac_kw 7606fi 7607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7608 test $ac_cv_c_typeof != no && break 7609 done 7610fi 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 7612$as_echo "$ac_cv_c_typeof" >&6; } 7613 if test $ac_cv_c_typeof != no; then 7614 7615$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h 7616 7617 if test $ac_cv_c_typeof != typeof; then 7618 7619cat >>confdefs.h <<_ACEOF 7620#define typeof $ac_cv_c_typeof 7621_ACEOF 7622 7623 fi 7624 fi 7625 7626 7627# Checks for C type sizes. 7628# The cast to long int works around a bug in the HP C Compiler 7629# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7630# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7631# This bug is HP SR number 8606223364. 7632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 7633$as_echo_n "checking size of char... " >&6; } 7634if ${ac_cv_sizeof_char+:} false; then : 7635 $as_echo_n "(cached) " >&6 7636else 7637 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : 7638 7639else 7640 if test "$ac_cv_type_char" = yes; then 7641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7643as_fn_error 77 "cannot compute sizeof (char) 7644See \`config.log' for more details" "$LINENO" 5; } 7645 else 7646 ac_cv_sizeof_char=0 7647 fi 7648fi 7649 7650fi 7651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 7652$as_echo "$ac_cv_sizeof_char" >&6; } 7653 7654 7655 7656cat >>confdefs.h <<_ACEOF 7657#define SIZEOF_CHAR $ac_cv_sizeof_char 7658_ACEOF 7659 7660 7661# The cast to long int works around a bug in the HP C Compiler 7662# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7663# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7664# This bug is HP SR number 8606223364. 7665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 7666$as_echo_n "checking size of short... " >&6; } 7667if ${ac_cv_sizeof_short+:} false; then : 7668 $as_echo_n "(cached) " >&6 7669else 7670 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 7671 7672else 7673 if test "$ac_cv_type_short" = yes; then 7674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7676as_fn_error 77 "cannot compute sizeof (short) 7677See \`config.log' for more details" "$LINENO" 5; } 7678 else 7679 ac_cv_sizeof_short=0 7680 fi 7681fi 7682 7683fi 7684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 7685$as_echo "$ac_cv_sizeof_short" >&6; } 7686 7687 7688 7689cat >>confdefs.h <<_ACEOF 7690#define SIZEOF_SHORT $ac_cv_sizeof_short 7691_ACEOF 7692 7693 7694# The cast to long int works around a bug in the HP C Compiler 7695# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7696# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7697# This bug is HP SR number 8606223364. 7698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 7699$as_echo_n "checking size of int... " >&6; } 7700if ${ac_cv_sizeof_int+:} false; then : 7701 $as_echo_n "(cached) " >&6 7702else 7703 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 7704 7705else 7706 if test "$ac_cv_type_int" = yes; then 7707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7709as_fn_error 77 "cannot compute sizeof (int) 7710See \`config.log' for more details" "$LINENO" 5; } 7711 else 7712 ac_cv_sizeof_int=0 7713 fi 7714fi 7715 7716fi 7717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 7718$as_echo "$ac_cv_sizeof_int" >&6; } 7719 7720 7721 7722cat >>confdefs.h <<_ACEOF 7723#define SIZEOF_INT $ac_cv_sizeof_int 7724_ACEOF 7725 7726 7727# The cast to long int works around a bug in the HP C Compiler 7728# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7729# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7730# This bug is HP SR number 8606223364. 7731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 7732$as_echo_n "checking size of long... " >&6; } 7733if ${ac_cv_sizeof_long+:} false; then : 7734 $as_echo_n "(cached) " >&6 7735else 7736 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 7737 7738else 7739 if test "$ac_cv_type_long" = yes; then 7740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7742as_fn_error 77 "cannot compute sizeof (long) 7743See \`config.log' for more details" "$LINENO" 5; } 7744 else 7745 ac_cv_sizeof_long=0 7746 fi 7747fi 7748 7749fi 7750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 7751$as_echo "$ac_cv_sizeof_long" >&6; } 7752 7753 7754 7755cat >>confdefs.h <<_ACEOF 7756#define SIZEOF_LONG $ac_cv_sizeof_long 7757_ACEOF 7758 7759 7760# The cast to long int works around a bug in the HP C Compiler 7761# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7762# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7763# This bug is HP SR number 8606223364. 7764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 7765$as_echo_n "checking size of long long... " >&6; } 7766if ${ac_cv_sizeof_long_long+:} false; then : 7767 $as_echo_n "(cached) " >&6 7768else 7769 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 7770 7771else 7772 if test "$ac_cv_type_long_long" = yes; then 7773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7775as_fn_error 77 "cannot compute sizeof (long long) 7776See \`config.log' for more details" "$LINENO" 5; } 7777 else 7778 ac_cv_sizeof_long_long=0 7779 fi 7780fi 7781 7782fi 7783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 7784$as_echo "$ac_cv_sizeof_long_long" >&6; } 7785 7786 7787 7788cat >>confdefs.h <<_ACEOF 7789#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 7790_ACEOF 7791 7792 7793# The cast to long int works around a bug in the HP C Compiler 7794# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7795# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7796# This bug is HP SR number 8606223364. 7797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 7798$as_echo_n "checking size of size_t... " >&6; } 7799if ${ac_cv_sizeof_size_t+:} false; then : 7800 $as_echo_n "(cached) " >&6 7801else 7802 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 7803 7804else 7805 if test "$ac_cv_type_size_t" = yes; then 7806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7807$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7808as_fn_error 77 "cannot compute sizeof (size_t) 7809See \`config.log' for more details" "$LINENO" 5; } 7810 else 7811 ac_cv_sizeof_size_t=0 7812 fi 7813fi 7814 7815fi 7816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 7817$as_echo "$ac_cv_sizeof_size_t" >&6; } 7818 7819 7820 7821cat >>confdefs.h <<_ACEOF 7822#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 7823_ACEOF 7824 7825 7826# The cast to long int works around a bug in the HP C Compiler 7827# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7828# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7829# This bug is HP SR number 8606223364. 7830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 7831$as_echo_n "checking size of float... " >&6; } 7832if ${ac_cv_sizeof_float+:} false; then : 7833 $as_echo_n "(cached) " >&6 7834else 7835 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 7836 7837else 7838 if test "$ac_cv_type_float" = yes; then 7839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7841as_fn_error 77 "cannot compute sizeof (float) 7842See \`config.log' for more details" "$LINENO" 5; } 7843 else 7844 ac_cv_sizeof_float=0 7845 fi 7846fi 7847 7848fi 7849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 7850$as_echo "$ac_cv_sizeof_float" >&6; } 7851 7852 7853 7854cat >>confdefs.h <<_ACEOF 7855#define SIZEOF_FLOAT $ac_cv_sizeof_float 7856_ACEOF 7857 7858 7859# The cast to long int works around a bug in the HP C Compiler 7860# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7861# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7862# This bug is HP SR number 8606223364. 7863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 7864$as_echo_n "checking size of double... " >&6; } 7865if ${ac_cv_sizeof_double+:} false; then : 7866 $as_echo_n "(cached) " >&6 7867else 7868 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : 7869 7870else 7871 if test "$ac_cv_type_double" = yes; then 7872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7874as_fn_error 77 "cannot compute sizeof (double) 7875See \`config.log' for more details" "$LINENO" 5; } 7876 else 7877 ac_cv_sizeof_double=0 7878 fi 7879fi 7880 7881fi 7882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 7883$as_echo "$ac_cv_sizeof_double" >&6; } 7884 7885 7886 7887cat >>confdefs.h <<_ACEOF 7888#define SIZEOF_DOUBLE $ac_cv_sizeof_double 7889_ACEOF 7890 7891 7892# The cast to long int works around a bug in the HP C Compiler 7893# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7894# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7895# This bug is HP SR number 8606223364. 7896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 7897$as_echo_n "checking size of long double... " >&6; } 7898if ${ac_cv_sizeof_long_double+:} false; then : 7899 $as_echo_n "(cached) " >&6 7900else 7901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : 7902 7903else 7904 if test "$ac_cv_type_long_double" = yes; then 7905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7907as_fn_error 77 "cannot compute sizeof (long double) 7908See \`config.log' for more details" "$LINENO" 5; } 7909 else 7910 ac_cv_sizeof_long_double=0 7911 fi 7912fi 7913 7914fi 7915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 7916$as_echo "$ac_cv_sizeof_long_double" >&6; } 7917 7918 7919 7920cat >>confdefs.h <<_ACEOF 7921#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double 7922_ACEOF 7923 7924 7925# The following are required to validate an horrible kludge working 7926# around an horrible bug in <gprolog.h> (see 7927# http://www.cs.unipr.it/pipermail/ppl-devel/2008-August/012277.html). 7928# The cast to long int works around a bug in the HP C Compiler 7929# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7930# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7931# This bug is HP SR number 8606223364. 7932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int*" >&5 7933$as_echo_n "checking size of int*... " >&6; } 7934if ${ac_cv_sizeof_intp+:} false; then : 7935 $as_echo_n "(cached) " >&6 7936else 7937 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int*))" "ac_cv_sizeof_intp" "$ac_includes_default"; then : 7938 7939else 7940 if test "$ac_cv_type_intp" = yes; then 7941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7943as_fn_error 77 "cannot compute sizeof (int*) 7944See \`config.log' for more details" "$LINENO" 5; } 7945 else 7946 ac_cv_sizeof_intp=0 7947 fi 7948fi 7949 7950fi 7951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intp" >&5 7952$as_echo "$ac_cv_sizeof_intp" >&6; } 7953 7954 7955 7956cat >>confdefs.h <<_ACEOF 7957#define SIZEOF_INTP $ac_cv_sizeof_intp 7958_ACEOF 7959 7960 7961# The cast to long int works around a bug in the HP C Compiler 7962# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7963# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7964# This bug is HP SR number 8606223364. 7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fp" >&5 7966$as_echo_n "checking size of fp... " >&6; } 7967if ${ac_cv_sizeof_fp+:} false; then : 7968 $as_echo_n "(cached) " >&6 7969else 7970 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fp))" "ac_cv_sizeof_fp" "typedef int *(*fp)(); 7971"; then : 7972 7973else 7974 if test "$ac_cv_type_fp" = yes; then 7975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7976$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7977as_fn_error 77 "cannot compute sizeof (fp) 7978See \`config.log' for more details" "$LINENO" 5; } 7979 else 7980 ac_cv_sizeof_fp=0 7981 fi 7982fi 7983 7984fi 7985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fp" >&5 7986$as_echo "$ac_cv_sizeof_fp" >&6; } 7987 7988 7989 7990cat >>confdefs.h <<_ACEOF 7991#define SIZEOF_FP $ac_cv_sizeof_fp 7992_ACEOF 7993 7994 7995 7996# Check for Perl. 7997# Extract the first word of "perl", so it can be a program name with args. 7998set dummy perl; ac_word=$2 7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8000$as_echo_n "checking for $ac_word... " >&6; } 8001if ${ac_cv_path_PERL+:} false; then : 8002 $as_echo_n "(cached) " >&6 8003else 8004 case $PERL in 8005 [\\/]* | ?:[\\/]*) 8006 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 8007 ;; 8008 *) 8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8010for as_dir in $PATH 8011do 8012 IFS=$as_save_IFS 8013 test -z "$as_dir" && as_dir=. 8014 for ac_exec_ext in '' $ac_executable_extensions; do 8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8016 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8018 break 2 8019 fi 8020done 8021 done 8022IFS=$as_save_IFS 8023 8024 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" 8025 ;; 8026esac 8027fi 8028PERL=$ac_cv_path_PERL 8029if test -n "$PERL"; then 8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 8031$as_echo "$PERL" >&6; } 8032else 8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8034$as_echo "no" >&6; } 8035fi 8036 8037 8038 8039 if test x"$PERL" != xno; then 8040 HAVE_PERL_TRUE= 8041 HAVE_PERL_FALSE='#' 8042else 8043 HAVE_PERL_TRUE='#' 8044 HAVE_PERL_FALSE= 8045fi 8046 8047 8048# Use C++ for the remaining checks. 8049ac_ext=cpp 8050ac_cpp='$CXXCPP $CPPFLAGS' 8051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8054 8055 8056# The PPL uses <cmath> for sqrt and other functions in several places. 8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5 8058$as_echo_n "checking for library containing sqrt... " >&6; } 8059if ${ac_cv_search_sqrt+:} false; then : 8060 $as_echo_n "(cached) " >&6 8061else 8062 ac_func_search_save_LIBS=$LIBS 8063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8064/* end confdefs.h. */ 8065 8066/* Override any GCC internal prototype to avoid an error. 8067 Use char because int might match the return type of a GCC 8068 builtin and then its argument prototype would still apply. */ 8069#ifdef __cplusplus 8070extern "C" 8071#endif 8072char sqrt (); 8073int 8074main () 8075{ 8076return sqrt (); 8077 ; 8078 return 0; 8079} 8080_ACEOF 8081for ac_lib in '' m; do 8082 if test -z "$ac_lib"; then 8083 ac_res="none required" 8084 else 8085 ac_res=-l$ac_lib 8086 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8087 fi 8088 if ac_fn_cxx_try_link "$LINENO"; then : 8089 ac_cv_search_sqrt=$ac_res 8090fi 8091rm -f core conftest.err conftest.$ac_objext \ 8092 conftest$ac_exeext 8093 if ${ac_cv_search_sqrt+:} false; then : 8094 break 8095fi 8096done 8097if ${ac_cv_search_sqrt+:} false; then : 8098 8099else 8100 ac_cv_search_sqrt=no 8101fi 8102rm conftest.$ac_ext 8103LIBS=$ac_func_search_save_LIBS 8104fi 8105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5 8106$as_echo "$ac_cv_search_sqrt" >&6; } 8107ac_res=$ac_cv_search_sqrt 8108if test "$ac_res" != no; then : 8109 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8110 8111fi 8112 8113 8114if test x"$use_fpmath" = xyes 8115then 8116 # Check for the possibility to control the FPU. 8117 8118 8119ac_ext=cpp 8120ac_cpp='$CXXCPP $CPPFLAGS' 8121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8124 8125for ac_header in fenv.h ieeefp.h 8126do : 8127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8128ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8129if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8130 cat >>confdefs.h <<_ACEOF 8131#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8132_ACEOF 8133 8134fi 8135 8136done 8137 8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if it is possible to control the FPU" >&5 8139$as_echo_n "checking if it is possible to control the FPU... " >&6; } 8140if test "$cross_compiling" = yes; then : 8141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8142/* end confdefs.h. */ 8143 8144#if i386 || (sparc && defined(HAVE_IEEEFP_H)) 8145 8146int 8147main() { 8148 return 0; 8149} 8150 8151#else 8152 8153 choke me 8154 8155#endif 8156 8157_ACEOF 8158if ac_fn_cxx_try_compile "$LINENO"; then : 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8160$as_echo "yes" >&6; } 8161 ac_cv_can_control_fpu=1 8162else 8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8164$as_echo "no" >&6; } 8165 ac_cv_can_control_fpu=0 8166 8167fi 8168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8169 8170else 8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8172/* end confdefs.h. */ 8173 8174#if i386 8175 8176int 8177main() { 8178 return 0; 8179} 8180 8181#elif defined(HAVE_FENV_H) 8182 8183# include <fenv.h> 8184 8185# if !defined(FE_UPWARD) || !defined(FE_DOWNWARD) 8186 8187 choke me 8188 8189# elif defined(__arm__) \ 8190 && (!defined(PPL_ARM_CAN_CONTROL_FPU) || !PPL_ARM_CAN_CONTROL_FPU) 8191 8192 choke me 8193 8194#else 8195 8196 float nf1 = -3, pf1 = 3, f2 = 5; 8197 double nd1 = -7, pd1 = 7, d2 = 11; 8198long double nl1 = -13, pl1 = 13, l2 = 17; 8199 8200 float nf[2], pf[2]; 8201 double nd[2], pd[2]; 8202long double nl[2], pl[2]; 8203 8204int 8205ppl_check_function() { 8206 int r = 0; 8207 if (nf[0] == nf[1] || pf[0] == pf[1] || -nf[0] != pf[1] || -nf[1] != pf[0]) 8208 r |= 1; 8209 if (nd[0] == nd[1] || pd[0] == pd[1] || -nd[0] != pd[1] || -nd[1] != pd[0]) 8210 r |= 2; 8211 if (nl[0] == nl[1] || pl[0] == pl[1] || -nl[0] != pl[1] || -nl[1] != pl[0]) 8212 r |= 4; 8213 return r; 8214} 8215 8216int 8217ppl_setround_function(int rounding_mode) { 8218 return fesetround(rounding_mode); 8219} 8220 8221int (* volatile ppl_check_function_p)() = ppl_check_function; 8222int (* volatile ppl_setround_function_p)(int) = ppl_setround_function; 8223 8224int 8225main() { 8226 if ((*ppl_setround_function_p)(FE_DOWNWARD) != 0) 8227 return 255; 8228 8229 nf[0] = nf1 / f2; 8230 nd[0] = nd1 / d2; 8231 nl[0] = nl1 / l2; 8232 pf[0] = pf1 / f2; 8233 pd[0] = pd1 / d2; 8234 pl[0] = pl1 / l2; 8235 8236 if ((*ppl_setround_function_p)(FE_UPWARD) != 0) 8237 return 255; 8238 8239 nf[1] = nf1 / f2; 8240 nd[1] = nd1 / d2; 8241 nl[1] = nl1 / l2; 8242 pf[1] = pf1 / f2; 8243 pd[1] = pd1 / d2; 8244 pl[1] = pl1 / l2; 8245 8246 return (*ppl_check_function_p)(); 8247} 8248 8249# endif 8250 8251#elif sparc && defined(HAVE_IEEEFP_H) 8252 8253int 8254main() { 8255 return 0; 8256} 8257 8258#else 8259 8260 choke me 8261 8262#endif 8263 8264_ACEOF 8265if ac_fn_cxx_try_run "$LINENO"; then : 8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8267$as_echo "yes" >&6; } 8268 ac_cv_can_control_fpu=1 8269else 8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8271$as_echo "no" >&6; } 8272 ac_cv_can_control_fpu=0 8273fi 8274rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8275 conftest.$ac_objext conftest.beam conftest.$ac_ext 8276fi 8277 8278ac_ext=cpp 8279ac_cpp='$CXXCPP $CPPFLAGS' 8280ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8281ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8282ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8283 8284 8285else 8286 ac_cv_can_control_fpu=0 8287fi 8288 if test $ac_cv_can_control_fpu = 1; then 8289 CAN_CONTROL_FPU_TRUE= 8290 CAN_CONTROL_FPU_FALSE='#' 8291else 8292 CAN_CONTROL_FPU_TRUE='#' 8293 CAN_CONTROL_FPU_FALSE= 8294fi 8295 8296 8297cat >>confdefs.h <<_ACEOF 8298#define PPL_CAN_CONTROL_FPU $ac_cv_can_control_fpu 8299_ACEOF 8300 8301 8302# Check whether for the C++ compiler the plain char type is signed. 8303 8304ac_save_CPPFLAGS="$CPPFLAGS" 8305ac_save_LIBS="$LIBS" 8306ac_ext=cpp 8307ac_cpp='$CXXCPP $CPPFLAGS' 8308ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8309ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8310ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8311 8312 8313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the plain char type is signed" >&5 8314$as_echo_n "checking whether the plain char type is signed... " >&6; } 8315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8316/* end confdefs.h. */ 8317 8318#include <limits> 8319 8320int foo[std::numeric_limits<char>::is_signed ? 1 : -1]; 8321 8322_ACEOF 8323if ac_fn_cxx_try_compile "$LINENO"; then : 8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8325$as_echo "yes" >&6; } 8326 ac_cxx_plain_char_is_signed=yes 8327else 8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8329$as_echo "no" >&6; } 8330 ac_cxx_plain_char_is_signed=no 8331fi 8332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8333 8334if test x"$ac_cxx_plain_char_is_signed" = xyes 8335then 8336 value=1 8337else 8338 value=0 8339fi 8340 8341cat >>confdefs.h <<_ACEOF 8342#define PPL_CXX_PLAIN_CHAR_IS_SIGNED $value 8343_ACEOF 8344 8345 8346ac_ext=cpp 8347ac_cpp='$CXXCPP $CPPFLAGS' 8348ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8349ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8350ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8351 8352CPPFLAGS="$ac_save_CPPFLAGS" 8353LIBS="$ac_save_LIBS" 8354 8355 8356# Check whether the C++ compiler provides proper long doubles. 8357 8358ac_save_CPPFLAGS="$CPPFLAGS" 8359ac_save_LIBS="$LIBS" 8360ac_ext=cpp 8361ac_cpp='$CXXCPP $CPPFLAGS' 8362ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8363ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8364ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8365 8366 8367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler provides proper long doubles" >&5 8368$as_echo_n "checking whether the C++ compiler provides proper long doubles... " >&6; } 8369if test "$cross_compiling" = yes; then : 8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming not" >&5 8371$as_echo "assuming not" >&6; } 8372 ac_cxx_provides_proper_long_double=no 8373else 8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8375/* end confdefs.h. */ 8376 8377#include <cfloat> 8378 8379long double f = 0.0; 8380 8381int main() { 8382 if ((LDBL_MAX <= DBL_MAX) && (DBL_EPSILON <= LDBL_EPSILON) 8383 && (LDBL_MAX_EXP <= DBL_MAX_EXP) && (LDBL_MANT_DIG <= DBL_MANT_DIG)) 8384 return 1; 8385 else 8386 return 0; 8387} 8388 8389_ACEOF 8390if ac_fn_cxx_try_run "$LINENO"; then : 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8392$as_echo "yes" >&6; } 8393 ac_cxx_provides_proper_long_double=yes 8394else 8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8396$as_echo "no" >&6; } 8397 ac_cxx_provides_proper_long_double=no 8398fi 8399rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8400 conftest.$ac_objext conftest.beam conftest.$ac_ext 8401fi 8402 8403 8404if test x"$ac_cxx_provides_proper_long_double" = xyes 8405then 8406 value=1 8407else 8408 value=0 8409fi 8410 8411cat >>confdefs.h <<_ACEOF 8412#define PPL_CXX_PROVIDES_PROPER_LONG_DOUBLE $value 8413_ACEOF 8414 8415 8416ac_ext=cpp 8417ac_cpp='$CXXCPP $CPPFLAGS' 8418ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8421 8422CPPFLAGS="$ac_save_CPPFLAGS" 8423LIBS="$ac_save_LIBS" 8424 8425 8426# Detect the binary format used by C++ floats. 8427 8428ac_save_CPPFLAGS="$CPPFLAGS" 8429ac_save_LIBS="$LIBS" 8430ac_ext=cpp 8431ac_cpp='$CXXCPP $CPPFLAGS' 8432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8435 8436 8437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the binary format of C++ floats" >&5 8438$as_echo_n "checking the binary format of C++ floats... " >&6; } 8439if test "$cross_compiling" = yes; then : 8440 ac_cxx_float_binary_format=unknown 8441else 8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8443/* end confdefs.h. */ 8444 8445#include <limits> 8446#ifdef HAVE_STDINT_H 8447#ifndef __STDC_LIMIT_MACROS 8448#define __STDC_LIMIT_MACROS 1 8449#endif 8450#include <stdint.h> 8451#endif 8452#ifdef HAVE_INTTYPES_H 8453#include <inttypes.h> 8454#endif 8455 8456#if SIZEOF_FLOAT == 4 8457 8458inline float 8459convert(uint32_t x) { 8460 union { 8461 float value; 8462 uint32_t word; 8463 } u; 8464 8465 u.word = x; 8466 return u.value; 8467} 8468 8469int 8470main() { 8471 if (std::numeric_limits<float>::is_iec559 8472 && ( convert(0xaaacccaaU) 8473 == -3.069535185924732179074680971098132431507110595703125e-13 8474 && convert(0xcccaaaccU) 8475 == -106255968 8476 && convert(0x00000001U) 8477 == 1.40129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125e-45 8478 && convert(0x80000001U) 8479 == -1.40129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125e-45)) 8480 return 0; 8481 else 8482 return 1; 8483} 8484 8485#else // SIZEOF_FLOAT != 4 8486 8487int 8488main() { 8489 return 1; 8490} 8491 8492#endif // SIZEOF_FLOAT != 4 8493 8494_ACEOF 8495if ac_fn_cxx_try_run "$LINENO"; then : 8496 8497$as_echo "#define PPL_CXX_FLOAT_BINARY_FORMAT PPL_FLOAT_IEEE754_SINGLE" >>confdefs.h 8498 8499 ac_cxx_float_binary_format="IEEE754 Single Precision" 8500else 8501 ac_cxx_float_binary_format=unknown 8502fi 8503rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8504 conftest.$ac_objext conftest.beam conftest.$ac_ext 8505fi 8506 8507 8508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cxx_float_binary_format" >&5 8509$as_echo "$ac_cxx_float_binary_format" >&6; } 8510 8511if test x"$ac_cxx_float_binary_format" = x"unknown" || test $ac_cv_can_control_fpu = 0 8512then 8513 ac_supported_float=0 8514else 8515 ac_supported_float=1 8516fi 8517 if test $ac_supported_float = 1; then 8518 SUPPORTED_FLOAT_TRUE= 8519 SUPPORTED_FLOAT_FALSE='#' 8520else 8521 SUPPORTED_FLOAT_TRUE='#' 8522 SUPPORTED_FLOAT_FALSE= 8523fi 8524 8525 8526cat >>confdefs.h <<_ACEOF 8527#define PPL_SUPPORTED_FLOAT $ac_supported_float 8528_ACEOF 8529 8530 8531ac_ext=cpp 8532ac_cpp='$CXXCPP $CPPFLAGS' 8533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8536 8537CPPFLAGS="$ac_save_CPPFLAGS" 8538LIBS="$ac_save_LIBS" 8539 8540 8541# Detect the binary format used by C++ doubles. 8542 8543 8544ac_save_CPPFLAGS="$CPPFLAGS" 8545ac_save_LIBS="$LIBS" 8546ac_ext=cpp 8547ac_cpp='$CXXCPP $CPPFLAGS' 8548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8551 8552 8553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the binary format of C++ doubles" >&5 8554$as_echo_n "checking the binary format of C++ doubles... " >&6; } 8555 8556if test "$cross_compiling" = yes; then : 8557 ac_cxx_double_binary_format=unknown 8558else 8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8560/* end confdefs.h. */ 8561 8562#include <limits> 8563#ifdef HAVE_STDINT_H 8564#ifndef __STDC_LIMIT_MACROS 8565#define __STDC_LIMIT_MACROS 1 8566#endif 8567#include <stdint.h> 8568#endif 8569#ifdef HAVE_INTTYPES_H 8570#include <inttypes.h> 8571#endif 8572 8573#if SIZEOF_DOUBLE == 8 8574 8575double 8576convert(uint32_t msp, uint32_t lsp) { 8577 union { 8578 double value; 8579 struct { 8580#ifdef WORDS_BIGENDIAN 8581 uint32_t msp; 8582 uint32_t lsp; 8583#else 8584 uint32_t lsp; 8585 uint32_t msp; 8586#endif 8587 } parts; 8588 } u; 8589 8590 u.parts.msp = msp; 8591 u.parts.lsp = lsp; 8592 return u.value; 8593} 8594 8595int 8596main() { 8597 if (std::numeric_limits<double>::is_iec559 8598 && (convert(0xaaacccaaUL, 0xacccaaacUL) 8599 == -4.018242396032647085467373664662028399901175154542925376476863248797653889888945947404163925979898721593782464256360719269163883854613473748830842329884157359816532025640075051481726120707111709993717456369512975427023957197464411926714771905463723621065863511603311053477227687835693359375e-103 8600 && convert(0xcccaaaccUL, 0xcaaacccaUL) 8601 == -85705035845709846787631445265530356117787053916987832397725696.0 8602 && convert(0x00000000UL, 0x00000001UL) 8603 == 4.940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625e-324 8604 && convert(0x80000000UL, 0x00000001UL) 8605 == -4.940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625e-324)) 8606 return 0; 8607 else 8608 return 1; 8609} 8610 8611#else // SIZEOF_DOUBLE != 8 8612 8613int 8614main() { 8615 return 1; 8616} 8617 8618#endif // SIZEOF_DOUBLE != 8 8619 8620_ACEOF 8621if ac_fn_cxx_try_run "$LINENO"; then : 8622 8623$as_echo "#define PPL_CXX_DOUBLE_BINARY_FORMAT PPL_FLOAT_IEEE754_DOUBLE" >>confdefs.h 8624 8625 ac_cxx_double_binary_format="IEEE754 Double Precision" 8626else 8627 ac_cxx_double_binary_format=unknown 8628fi 8629rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8630 conftest.$ac_objext conftest.beam conftest.$ac_ext 8631fi 8632 8633 8634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cxx_double_binary_format" >&5 8635$as_echo "$ac_cxx_double_binary_format" >&6; } 8636 8637if test x"$ac_cxx_double_binary_format" = x"unknown" || test $ac_cv_can_control_fpu = 0 8638then 8639 ac_supported_double=0 8640else 8641 ac_supported_double=1 8642fi 8643 if test $ac_supported_double = 1; then 8644 SUPPORTED_DOUBLE_TRUE= 8645 SUPPORTED_DOUBLE_FALSE='#' 8646else 8647 SUPPORTED_DOUBLE_TRUE='#' 8648 SUPPORTED_DOUBLE_FALSE= 8649fi 8650 8651 8652cat >>confdefs.h <<_ACEOF 8653#define PPL_SUPPORTED_DOUBLE $ac_supported_double 8654_ACEOF 8655 8656 8657ac_ext=cpp 8658ac_cpp='$CXXCPP $CPPFLAGS' 8659ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8660ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8661ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8662 8663CPPFLAGS="$ac_save_CPPFLAGS" 8664LIBS="$ac_save_LIBS" 8665 8666 8667# Detect the binary format used by C++ long doubles. 8668 8669 8670ac_save_CPPFLAGS="$CPPFLAGS" 8671ac_save_LIBS="$LIBS" 8672ac_ext=cpp 8673ac_cpp='$CXXCPP $CPPFLAGS' 8674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8677 8678 8679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the binary format of C++ long doubles" >&5 8680$as_echo_n "checking the binary format of C++ long doubles... " >&6; } 8681 8682if test "$cross_compiling" = yes; then : 8683 ac_cxx_long_double_binary_format=unknown 8684else 8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8686/* end confdefs.h. */ 8687 8688#include <limits> 8689#ifdef HAVE_STDINT_H 8690#ifndef __STDC_LIMIT_MACROS 8691#define __STDC_LIMIT_MACROS 1 8692#endif 8693#include <stdint.h> 8694#endif 8695#ifdef HAVE_INTTYPES_H 8696#include <inttypes.h> 8697#endif 8698 8699#if SIZEOF_LONG_DOUBLE == 12 8700 8701long double 8702convert(uint32_t msp, uint64_t lsp) { 8703 union { 8704 long double value; 8705 struct { 8706#ifdef WORDS_BIGENDIAN 8707 uint32_t msp; 8708 uint64_t lsp; 8709#else 8710 uint64_t lsp; 8711 uint32_t msp; 8712#endif 8713 } parts; 8714 } u; 8715 8716 u.parts.msp = msp; 8717 u.parts.lsp = lsp; 8718 return u.value; 8719} 8720 8721int 8722main() { 8723 if (std::numeric_limits<long double>::is_iec559 8724 && (convert(0xaaacccaaUL, 0xacccaaacccaaacccULL) 8725 == -23475151196235330448360987288488448023604990597437922665537894499317141030270831473500040521309097782521743811281100731620612303910141158923283064807755815684643856544564541670181998003713114595098650350075763370916908460284838902787487703020001649220669684278577319085319204471093693972621987808779314674903648668236688723332999785552894845325917244897920804830290985291535343986477508649100409893486651507134071296739623686984014433965803259868867855465109457220731656260670349710137932272802677796915669809481885196101414678015638835049035133835457854893845093496950772367562664955830097293678125205138879788670490610650322134182370990336443894886171520732434535881085387893610114822547025980969387956199048733969351859470324032549906964255557877860343871346618951696178837035563054101786829980983909935265617095747543882856776297861197958453847978446679149969948882161264279705948735019353220550905117946051015070744207453853343171175921378515361160726195198161165083475968.0L 8726 && convert(0xcccaaaccUL, 0xcaaacccaaacccaaaULL) 8727 == -3.234349908433673569788362433758236701401379200386310478070230491201716094576208088733092209352711081763530973139439402754721006217889031902309566905344106766697050593355851405189694125966100801537593811320493850579152938679705465870788684523518541806158791408378718596936132854683425581754205242594614192465876640102628432246897674583649745467641139234207139584810101868772915312454075582265240687184279243861217351667059920878236164506473261797703393981510799228030778152399657445848839855361831637014754038570644257393307922665529947406582062857348101442206039278033447012163028384634753160589791458287895963629514043345016273218385584012204321293761500625038828699451659598873739820939586314044735551522599884065690704853850058509917597610804664086074437219778400030370474948166770867639885264893441594112815147445129222900623635467542926999246959939000796968650036727515644358583656635086409945418378371210848857160579105176395869221692977516017583375976424496977231821652434877830409470264872173686708172667000681514442371517343085468923465834742925914605731609765839631967460042791316319023971980691582832232860491668014341598553021017317450989919240909832141247027104138677882497144506317212033031539627613710631490195651235049780490963461514410018833968072513381369320107740021476622121320911875995678620145217379068502893509758814753434218746970000807381369855297087472398985134583394635298304301976743682254755898799853471470973139487587740504614698965906370516694512439128548402418825952236144896863935402725154209604537541130862513767786738372717442238281296070010302255703329785136750848608510805269562580550421695335686256291415407706167513127610045830074144232174636354465520547408627155363076530824695464544496846799567213412195115628936631295933321590908845288558910694118404555858629368018552451467994715743285452343185080572139353967831950470208768524113647528966442712608411306460439403733081312454377815407740431356862292588345515142587184008493066353603658341268923669196617183622259532802077159684815974630350730226266887950469523895272137382682818583664766982004756872470359454855421231861600855405622250180301557001727658100463825721179482988287599820459238518127671242515104954727268296043840120459189992322364113432317376499876615018647681005294400890426164141474245830847447887800872845238979407896829797297990804023745291564182356173092302630416583955274584512411637160723327887646112927503049935866004964114798241035087343318592736488780742013424329479787548324846879335440582948017481856461250014099199025874264395426269044157577172368261822794071985989844785134561848837459343219269316428175168803982908920457749528709425299296467325603578851955843550406474402944350694486492967809731047663564513772408591390180588458110788180950470244902062953534590109356800048878919144043979000989724521292698054747484439706733411566872999353418986588749568995482953622089499726327807058708520455805869817259837526415584189633013162307753166636151833127563746069733440228640737257520299330767346391011026088684503955941755171481192133779119344715318224728775697330484860348152872987113995597980243907204928634355356748752501217143216601222634344211757170284222785899530754663487291354339744025299042982320199789070467212765859078265587040664859899997109073649635056953085131587344086263213972132295294758682559609365238437544701417284297826732242650999654640698637095193178119502815643930373741504018967640638120546136857104880094633373762586018322104925768619990210092851075031033451925224377383389610824173203445111896055901190132142204139463967556738295382942065540228560332044410017389129348710403201272349054427064370609913529996988445571571382916349536222256815467149849706750571813156961918737343978667568453623162377198802996342528197935118265696537928993634621119483415202847968129550048667353312481509419740177690982818603515625e-1634L 8728 && convert(0x00000000UL, 0x0000000000000001ULL) 8729 == 3.645199531882474602528405933619419816399050815693563343720980487028371688633397736809560708625827205197247347347203531101966985632622032169973508075589809005483822581177931678569225263805633559756621562565983410728940319793553527268591240799954172811015518538383046054768715422449295305859718268214262622067532355460844068079259753739688226338971902813354664211957293812000216762672292032277433639030845605529795518855299212255321171163487629138462930035513852750160313284578587346566858083349053123705193988703983308587839946322501468602459466376586870456423634710242397194658860357568067134477982764219736292817751295560536845761267846647908517463250923736039512722781415953366096399444403402117053488448021977763604437908687623249034116909294550532283554604255016471048510990155249694820376175072774521597924829264164672829379224834378522148847524461653340453140898534938901079999466084995792940867082225167898092626332284133633537230365710606672711016101696986908545526816093446785575823545286456670464909287063062587561930219192839574686079732400741932670792586584247903252601714502511652018733705556477669856403061671860988301022089008752404238293812121415758527179547281628232710885994458574715033852877595426024800791719981955344151916599003503828822200355665967958771090937688409231050763744882094456320484272716122798149836361660589595209083576887254232532955229749892640550762959438241278496193819382077545905461172547961340469817691165676094261320725727312607482937653140421619686103059529199421431937449566099337396063075218302243845475341677972462038126626903408167086517545386382155008956065955410392914952623927880847159533184535486666480480563407531428385329300522477684217050951264747454635754866214784941542315111038630684391425212439304190584122374222972284606537485052464648655369719099026760518287560996997210778473066980129427427439517032390964791367678221749630975419713438139162678878555999177528450882748046538588177447270306738234898502976902853001364550405227287093940058325788585457368654991956265863050083472087623066020903378919489920975190829421602010382039477772083400661519154972695436582305021910908576692048173534958894170976763084807837402813849227540942073315401115262334876815962087441302256558438912500607230205782013083674113023497612445214795170983848687988348203289441256908755565216081815151205638893112562415329084456934095146184469290901166110634875590164835606941629407489774379792739804674764243483912084691871769225446506284310565309190872477286255925383528545036360550854226919571246361133225904820301916588317084377712259367894846411294822587075835486985645510829880528578782698412556249274522235061092454342386202327120407827540333914613192189174315884136688019435966273663470431440443032136411775605030601436837063972690330417475187330200911967500496761618122614796452937124070398703890868915527051490465736745397764941094879479649438162576614346948652085308024696358256756585794568493319042053882843808180358787110774418075478801186519577416271896383169835708225636584654568643702618602433548938163720732772538345454513065011540675765510656970500413537205370067924880209217363407323673368448004904408413977741706965494247040799786451861822188473571257556819433284087486023676249467869483631380473856486239547015603318322612783652068699798539400406637311682731115340677841660240710431551140370410375585572939303084073843540702120551963050514959945741359169911676575478403279380112020347348292538150798320452794842427526501796852911863108178276638472320237870082862271763396195139513712303136194366021540830531456910584048372546025177765140460207112923151923176402146752868221966889915381596481253160696822260723194259521813054303457222367967929268763072892355278854714278243863110783067060124459039315528176840304931522813148745824350892130595015198002557204332483215551447097512510076223364801202888087635650654634946887232727623906459076670227108634162319210357007273369354657187569046394884895083794103531835959613994575377897775525461977464747518162975010091463561925032742645594645800581600698347817023194379921397347681150492687237349021564206463096138703201250277757980410772647014391579144424375252519766764670458008515297647624144814453496069685127439800629552075692648608681506879044376428977463175175205181547958459515159074701285838493694034007662410100183533141516684185460758175066481561018901133031951042099053297118837448984443230856642737606478787880285299903521855025612413471034466624171559209077538498475106811294029060334271803320566493935024621719717684804443351866946690525266060758332190531807232565501890293754259590947433140384335366973398816899253698302119916142891631005349335372158005779944529176735887193980409288474621694590303098552382376969442365186023130985507823617670051191889015351479659778676132449671642015059540438237303922903056079068344635440276772565425944329927654906262952475555750912023879424636021462043321631428365675851865654901693474343411406220907550090045689588323936814675126103464401223728058185048320475251266882875299120582253090033177883674432343812734123922042926554908548231473285349572210962289889800994026533629321464700552029391517293055196218065667251276237490129206098414338903210942488902792253924667941082273267563528653863343443486495762400409978995985052082310730277076965242846278402568285187365588876653245423047205943478612931964211293489374119565751486787204884502307512372923973119191125614068756094526892783321688030310900558025683455451898487401139315290743477461921025987905332236299398859448938742087487316288730711068752763449392366897236258997091176996253284306687635454361862179407191652155243650619571720232128624130785404930566805029233271375546253313287446285812219961565022654510373870581648214791139170870970509074158721967633425471550515801498191107216277620692347014234913527385812164834475002007099402122991439542783981984927181300669603290190495106195784248531299740262706106798338573523977365240941293695214188675632715447081372252551022981921251125675131839210074132286029621443262127145872022404314258219255606415280218445074654034790115075558513374422753617188198385931164810182817002794172279803028202086567081267453349341345496389239379776494419022301042067986600501045466950004057134726934147691678031986698845370299987067384407310337433828116514830745374490760171672152978595040351405572526523026051215093709900567873568385242574546385008567738263951532676549294356417565797771595638496719149577804216291892125541055147173723744991756669672459021375111288754125372918394417976243093028214703329386031799313949535161343892720409046065009958980978947997662545514664194262097665297242612367968766000629174655887090824363583653843658980277566031286429628476318572915045823895805826010132712977834418613468288832988547377174550796802573148684253294172285056777826927377158058647145403557721233512002495437339413998842782599710186215723437958154275340509811072349041046483806284608873394275718878590418692809288333423522781240698974441829879303794241455852776713321354870647251094720675572322788447908778778892116234131617608416732280987493141331884927860259324392781255786150891859203497212615916404999097067778739914857961305884934678762043515521190581898256624635957830927811421154992139986999936203631149852372802564314896151749326404428772008250428569338329698161850171265411426708113723558325059062871506712838460986031147060351491506316012532538793354499545667009527573810892048004652452452139688789392912938251888341298122235232861138733903153560967292104241190946350516769769305030762386908399592555043192236069279491224465826684203312081255431851756341234566913972589390601558650830437402045595207689996159597545711808203688318112918947661662115802919578636403430323041610018063696707221249826383715263388850307418469423973486747009233945036220901518185766942733836846126816638158345048782728241251279820310193223512959111029884002230571688216854282257873218631744450950552327428952538149545262779889824399028513132208638633070602135522752076661567872472325125674291268881849101416382703647451428232847993332157180794015036365361645888146355749366150209085457189187232786399585879941680370348141105404742298452497895369287193974496140445677301271403589665822911096832952021181343571136957607816318342755770560406569920261633966403484121679869542684843686908354373688437968683525723666121485947946747887572716360800696442816474113593466106089204179554677145374582437962664618883018628687510079511252556002241788346284019750863992283906513572325918053464080643521532154825074820239077990779007069588034029619562190416747359712884084324521598678178890186409451480686781733176824920276835002477523486093586963733155424491897575495851549527034538337694314953057164019215026670773910997443279760005290641511584707193226351271670439775141076552632736166117611394934325673743882365518318561208941552931629125136799711574578916741023587251428998946963182411650554404206416336487418656105333038545773960190949602850096208569085230228708894874577523512558281973392961263921656163963369388411763476388625952406901518273413037068643383550282962237729195901788599392876651086599849223994259145259240479384380657803498058719062529007339428316229997756899857712116922758683071707472935574499244978419788171338468471751125303860911589289400806637202920429489919870263415951660888975434827304297451362325052693482001524843171229078467910537913138115458626612024970730899515114301915281613929239329351501049859225274564107846818112938339161308943153205117651716380468462296193882444293370484368530096898812778973178284912798550245246063411918482638261694029245273291646707331594675213428158755273882438357960245064051015888918541801139771619743221405037797285669481455810653320008904215997597975907391512026214020012010134707536774227636477580918167507850485197065326391091171451763751237612739498468510009055480025096015985581769370179656781151306565952590101977398335185042637681982306448413722177895665290302796223004198526079143104070007874540548221582347389579e-4951L 8730 && convert(0x80000000UL, 0x0000000000000001ULL) 8731 == 3.645199531882474602528405933619419816399050815693563343720980487028371688633397736809560708625827205197247347347203531101966985632622032169973508075589809005483822581177931678569225263805633559756621562565983410728940319793553527268591240799954172811015518538383046054768715422449295305859718268214262622067532355460844068079259753739688226338971902813354664211957293812000216762672292032277433639030845605529795518855299212255321171163487629138462930035513852750160313284578587346566858083349053123705193988703983308587839946322501468602459466376586870456423634710242397194658860357568067134477982764219736292817751295560536845761267846647908517463250923736039512722781415953366096399444403402117053488448021977763604437908687623249034116909294550532283554604255016471048510990155249694820376175072774521597924829264164672829379224834378522148847524461653340453140898534938901079999466084995792940867082225167898092626332284133633537230365710606672711016101696986908545526816093446785575823545286456670464909287063062587561930219192839574686079732400741932670792586584247903252601714502511652018733705556477669856403061671860988301022089008752404238293812121415758527179547281628232710885994458574715033852877595426024800791719981955344151916599003503828822200355665967958771090937688409231050763744882094456320484272716122798149836361660589595209083576887254232532955229749892640550762959438241278496193819382077545905461172547961340469817691165676094261320725727312607482937653140421619686103059529199421431937449566099337396063075218302243845475341677972462038126626903408167086517545386382155008956065955410392914952623927880847159533184535486666480480563407531428385329300522477684217050951264747454635754866214784941542315111038630684391425212439304190584122374222972284606537485052464648655369719099026760518287560996997210778473066980129427427439517032390964791367678221749630975419713438139162678878555999177528450882748046538588177447270306738234898502976902853001364550405227287093940058325788585457368654991956265863050083472087623066020903378919489920975190829421602010382039477772083400661519154972695436582305021910908576692048173534958894170976763084807837402813849227540942073315401115262334876815962087441302256558438912500607230205782013083674113023497612445214795170983848687988348203289441256908755565216081815151205638893112562415329084456934095146184469290901166110634875590164835606941629407489774379792739804674764243483912084691871769225446506284310565309190872477286255925383528545036360550854226919571246361133225904820301916588317084377712259367894846411294822587075835486985645510829880528578782698412556249274522235061092454342386202327120407827540333914613192189174315884136688019435966273663470431440443032136411775605030601436837063972690330417475187330200911967500496761618122614796452937124070398703890868915527051490465736745397764941094879479649438162576614346948652085308024696358256756585794568493319042053882843808180358787110774418075478801186519577416271896383169835708225636584654568643702618602433548938163720732772538345454513065011540675765510656970500413537205370067924880209217363407323673368448004904408413977741706965494247040799786451861822188473571257556819433284087486023676249467869483631380473856486239547015603318322612783652068699798539400406637311682731115340677841660240710431551140370410375585572939303084073843540702120551963050514959945741359169911676575478403279380112020347348292538150798320452794842427526501796852911863108178276638472320237870082862271763396195139513712303136194366021540830531456910584048372546025177765140460207112923151923176402146752868221966889915381596481253160696822260723194259521813054303457222367967929268763072892355278854714278243863110783067060124459039315528176840304931522813148745824350892130595015198002557204332483215551447097512510076223364801202888087635650654634946887232727623906459076670227108634162319210357007273369354657187569046394884895083794103531835959613994575377897775525461977464747518162975010091463561925032742645594645800581600698347817023194379921397347681150492687237349021564206463096138703201250277757980410772647014391579144424375252519766764670458008515297647624144814453496069685127439800629552075692648608681506879044376428977463175175205181547958459515159074701285838493694034007662410100183533141516684185460758175066481561018901133031951042099053297118837448984443230856642737606478787880285299903521855025612413471034466624171559209077538498475106811294029060334271803320566493935024621719717684804443351866946690525266060758332190531807232565501890293754259590947433140384335366973398816899253698302119916142891631005349335372158005779944529176735887193980409288474621694590303098552382376969442365186023130985507823617670051191889015351479659778676132449671642015059540438237303922903056079068344635440276772565425944329927654906262952475555750912023879424636021462043321631428365675851865654901693474343411406220907550090045689588323936814675126103464401223728058185048320475251266882875299120582253090033177883674432343812734123922042926554908548231473285349572210962289889800994026533629321464700552029391517293055196218065667251276237490129206098414338903210942488902792253924667941082273267563528653863343443486495762400409978995985052082310730277076965242846278402568285187365588876653245423047205943478612931964211293489374119565751486787204884502307512372923973119191125614068756094526892783321688030310900558025683455451898487401139315290743477461921025987905332236299398859448938742087487316288730711068752763449392366897236258997091176996253284306687635454361862179407191652155243650619571720232128624130785404930566805029233271375546253313287446285812219961565022654510373870581648214791139170870970509074158721967633425471550515801498191107216277620692347014234913527385812164834475002007099402122991439542783981984927181300669603290190495106195784248531299740262706106798338573523977365240941293695214188675632715447081372252551022981921251125675131839210074132286029621443262127145872022404314258219255606415280218445074654034790115075558513374422753617188198385931164810182817002794172279803028202086567081267453349341345496389239379776494419022301042067986600501045466950004057134726934147691678031986698845370299987067384407310337433828116514830745374490760171672152978595040351405572526523026051215093709900567873568385242574546385008567738263951532676549294356417565797771595638496719149577804216291892125541055147173723744991756669672459021375111288754125372918394417976243093028214703329386031799313949535161343892720409046065009958980978947997662545514664194262097665297242612367968766000629174655887090824363583653843658980277566031286429628476318572915045823895805826010132712977834418613468288832988547377174550796802573148684253294172285056777826927377158058647145403557721233512002495437339413998842782599710186215723437958154275340509811072349041046483806284608873394275718878590418692809288333423522781240698974441829879303794241455852776713321354870647251094720675572322788447908778778892116234131617608416732280987493141331884927860259324392781255786150891859203497212615916404999097067778739914857961305884934678762043515521190581898256624635957830927811421154992139986999936203631149852372802564314896151749326404428772008250428569338329698161850171265411426708113723558325059062871506712838460986031147060351491506316012532538793354499545667009527573810892048004652452452139688789392912938251888341298122235232861138733903153560967292104241190946350516769769305030762386908399592555043192236069279491224465826684203312081255431851756341234566913972589390601558650830437402045595207689996159597545711808203688318112918947661662115802919578636403430323041610018063696707221249826383715263388850307418469423973486747009233945036220901518185766942733836846126816638158345048782728241251279820310193223512959111029884002230571688216854282257873218631744450950552327428952538149545262779889824399028513132208638633070602135522752076661567872472325125674291268881849101416382703647451428232847993332157180794015036365361645888146355749366150209085457189187232786399585879941680370348141105404742298452497895369287193974496140445677301271403589665822911096832952021181343571136957607816318342755770560406569920261633966403484121679869542684843686908354373688437968683525723666121485947946747887572716360800696442816474113593466106089204179554677145374582437962664618883018628687510079511252556002241788346284019750863992283906513572325918053464080643521532154825074820239077990779007069588034029619562190416747359712884084324521598678178890186409451480686781733176824920276835002477523486093586963733155424491897575495851549527034538337694314953057164019215026670773910997443279760005290641511584707193226351271670439775141076552632736166117611394934325673743882365518318561208941552931629125136799711574578916741023587251428998946963182411650554404206416336487418656105333038545773960190949602850096208569085230228708894874577523512558281973392961263921656163963369388411763476388625952406901518273413037068643383550282962237729195901788599392876651086599849223994259145259240479384380657803498058719062529007339428316229997756899857712116922758683071707472935574499244978419788171338468471751125303860911589289400806637202920429489919870263415951660888975434827304297451362325052693482001524843171229078467910537913138115458626612024970730899515114301915281613929239329351501049859225274564107846818112938339161308943153205117651716380468462296193882444293370484368530096898812778973178284912798550245246063411918482638261694029245273291646707331594675213428158755273882438357960245064051015888918541801139771619743221405037797285669481455810653320008904215997597975907391512026214020012010134707536774227636477580918167507850485197065326391091171451763751237612739498468510009055480025096015985581769370179656781151306565952590101977398335185042637681982306448413722177895665290302796223004198526079143104070007874540548221582347389579e-4951L)) 8732 return 0; 8733 else 8734 return 1; 8735} 8736 8737#else // SIZEOF_LONG_DOUBLE != 12 8738 8739int 8740main() { 8741 return 1; 8742} 8743 8744#endif // SIZEOF_LONG_DOUBLE != 12 8745 8746_ACEOF 8747if ac_fn_cxx_try_run "$LINENO"; then : 8748 8749$as_echo "#define PPL_CXX_LONG_DOUBLE_BINARY_FORMAT PPL_FLOAT_INTEL_DOUBLE_EXTENDED" >>confdefs.h 8750 8751 ac_cxx_long_double_binary_format="Intel Double-Extended" 8752else 8753 ac_cxx_long_double_binary_format=unknown 8754fi 8755rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8756 conftest.$ac_objext conftest.beam conftest.$ac_ext 8757fi 8758 8759 8760if test x"$ac_cxx_long_double_binary_format" = x"unknown" 8761then 8762if test "$cross_compiling" = yes; then : 8763 ac_cxx_long_double_binary_format=unknown 8764else 8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8766/* end confdefs.h. */ 8767 8768#include <limits> 8769#ifdef HAVE_STDINT_H 8770#ifndef __STDC_LIMIT_MACROS 8771#define __STDC_LIMIT_MACROS 1 8772#endif 8773#include <stdint.h> 8774#endif 8775#ifdef HAVE_INTTYPES_H 8776#include <inttypes.h> 8777#endif 8778 8779#if SIZEOF_LONG_DOUBLE == 16 8780 8781#if defined(__sparc__) && defined(__arch64__) \ 8782 && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)) 8783 8784// Work around http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37661 8785int 8786main() { 8787 return 1; 8788} 8789 8790#else // !defined(__sparc__) || !defined(__arch64__) ... 8791 8792long double 8793convert(uint64_t msp, uint64_t lsp) { 8794 union { 8795 long double value; 8796 struct { 8797#ifdef WORDS_BIGENDIAN 8798 uint64_t msp; 8799 uint64_t lsp; 8800#else 8801 uint64_t lsp; 8802 uint64_t msp; 8803#endif 8804 } parts; 8805 } u; 8806 8807 u.parts.msp = msp; 8808 u.parts.lsp = lsp; 8809 return u.value; 8810} 8811 8812int 8813main() { 8814 if (std::numeric_limits<long double>::is_iec559 8815 && (convert(0xaaacccaaacccaaacULL, 0xccaaacccaaacccaaULL) 8816 == -8.55855653885100434741341853993902633367349104766375354667159377718342093894815477326286823233135691805519944470138219932524951165689852082013017904043605683486724317550972746307400400204571080045247416605879743573136814766221652651396476675668866980798618379071105211750397249729982891787041148520384572930274879267722158826932337019191713973025403784448443813348692062209940856126724493492803365972504505177354875652033856070760087261648660638833868952644144747756799606849182265604546917705495630867683634260396102823982577953799017062698102242357552179655099799114234932578035799185560231199083485854936098752376968393647581458407558794412029383325763638562788717260040049064497131924995762524305159587498016677454321953274959044696323291625045478494472581264819229447771276640446297211105522340278216491094195598543872903469867733674572559977106495016037365144714092305087690135013719347274733034998868445412589677425060095799279101903473205374412225289846468374532481297065712317082077938035156602646698351182648104255704218634101302925067087078955133405900007044267209898310644310904503791609310204530573463263951434586894153990739119187567218316060343579381319744970284036645819031296341711196622764674251739340075981861518157380656135644972541894187627902651874054588734732906342927804126694032667794810086817870907476586539935233288396561987441453006798066121939082312783518917156845604116991071351557087417820814737448930366014934139649936714605919733198611573267554373841805458030152706709963798138766665437195696286204333504023648063774567253657433115103351104190986192714072985487851579415615609526545777708652951405409847708647802254957197551148967040887700676749608935220270768342493900689974647088468653016844028721111482484905641458435567969469008688175230469940968306817582881926746422674891155765989419578280531847369896579997902056370886853884911608932917273377526774091310024267948445090595150848945937264274298230316059283748541372546998570685254364147022857127106166375807928861080771495427281772909457414476961102929683460150380091022216902985688084496718499522925736236100966839490544989265028487132166444183820209811985298620037327410566483546092567386575203772065259924817078378553423445114795887961447486917127608105936488957460696218995227900239169698156532097505472359601263421630872600694896078087993492528322817946497772710008837719609909497752428441503174822795185219988589528998338631725113908025553153842511443825016809012668839505492083731555461826355018782953670089090573806418379608917728933789667567839232807208925449602517595541397929042673972541764273293287457694772131268012143158809453627483947788463130353101911401667613659585055576869155534998835800762122080588150495103765874874613454517177121048246498282285280904742153700877576028449241385429235777250684782328183787286276152331338688335510090441008799792147837436640030059474106105829612076012626498555138419516242851436828131901668517305064107076254421670883938440896580435257206350630093337919967881954501164988008085285088049681541452106188312639266136685237513628484410146475880276899689323468288129178652504797093820419402611691354199968499448738482587415636727937353639264845197813295922091561637504736126720760129127710879063043647425297778439069116811334073539456451043564046959839163407469915211595468718792531664679340442279513006653831781499155674396529973036072198720572542914738630057353297633085013244779323578115668031532144051510758240504037804690564298890171218568053886450388507561335540224075309922339483204122333658701871584147135738144358394867585372134490396264937274938848938884293776466212293402264641368524174512841804801230279990820989956713963566987970818315606031084417487965298373510594915942429581446481759482857537804431542098380533075194397625795605337047384493682506827547173206735463795863376044170821429161475172513429888642402089329334654087406739184258619435041737233405001461505889892578125e-1644L 8817 && convert(0xcccaaacccaaacccaULL, 0xaacccaaacccaaaccULL) 8818 == -124514581107511552210796456934966803687304842980295573828954497922493752983397188814711304411560018580965744046315133789985274208017368151964100284400784216106649187287727268989948309893335776137201236307422254490384994342132786695251856340822607539332337741185911979986209464222776112117543477310592395735321641016191765613924234896253051931334188353106422231052895112533426462965071195000083346118845388851222468275853899619767858364593491745895616655921022591572983370616010095670881627966440183912948095715866505356803258659518882310562527709556367822539262111581385341941163873435919341717170180065638145777392282815973491833042960716493005101610346003273833563515742996380936304245423639950200211170835546053201980835724318930743625600269679260909350277600256315069013053332133830043213033329696436217829598890872375814523266366034383531514035947792389939922899745714167418517458817088636450662300503353562047987996978943856662174717195437379600755109302771921946748859230686543872.0L 8819 && convert(0x0000000000000000ULL, 0x0000000000000001ULL) 8820 == 6.475175119438025110924438958227646552499569338034681009689884389197039540124119371017671491276649940255878141476848119676587219886382542046685110071972617983042792710751334934416734625638471740239448526505553990391455556252171148068070822034688256982476272828789103028357337561348031062386564592639826226991907907867663262065711211583064657196068308332845234453069760526489447660964579313751403402631804350039948870075255648713368066117879403155766713303467434937062409411685215137607333139422843835051668983567167196802642952353504079714347103860537782893700215521168667711042950610021881513627986429461700433339201935397498825184335385514892844339930852967838448682125502304114122153045946465463084764110174478737044335312389661483639210553943411476544786261397875064191451226767614625892790369961415069606980007080502788648919975916801878222002252381723047230971876570995428821219281596547633023538783137183646396952831530551068683419596735374086746290525867996216905323365319885172609956827625511036332478353228947631880050684559150608318986521540136061273771493390412784756552103897518527764158778759333880714882279633323826397312375406927039446525306447838514371503654987855172306307584155459826707095909617752526800401326990828721633726770440915439092677906646798573524199116648264206920451160133635071361773812121716528178148240720783226736549623736135274990309138143183248371959875978805027500928693808073336955752759088442865600075199888998323880643549670055505421362435108572732087322982027187772459231228989472372951864321099261878781084330252988333921362998963303722431059741968763452406953835015120533773385289904710843628402700274702870474073825248828889984994284607604847211794221210729913159829014217168004461049532662696542913183628157199561641949923936629368992856621383084545327636972265542355341749855663020004887316835216156767223053799811067258913808469994232607858854524064432145775922144535701236468985705212977045479489515690009388923625580685788707605877343857669170894656797423368490329407251160393356048820607085089069025413584269816739747211239513550414383117508826763143512862006497058041145296097892917999935577053234252698691933792724753682184537682835562829938630004838384363944243137622864918257474256280127291116965050600178120477720784742184205376195975831677721764740044536624645764471381571452381830125398765152083287483110279394697855915713981939970684599199594863007230624076786139617554631450734995190081932187616814234632738778224433256463738346435274905710925581106061273840975592931761266799265587765468946764337085192369358316298457450008809428586921504743730873895710474614480003727146162349858333291516552162545370312200390841588309480973274631646273597390249477746657131891196482398670118797910098918899689482196956660638225731960693542763964302308999692957091061300183648329785182793301407267200046383043005236759977387601407769110383295729918654520937785586390633157020347632812108728638589813282569529576769367173324764085285705308312954957401558247168739931446569422818723482471097374362105279278558570746278168331596903799527959001674856155564619821407044799720020620642233246057848236476047540762849788325435630592420194490443539428990899488655890183886788650518595542180257939200539645041808387760238189562428351774632440622618056913137499820021924733173668036806485733443567039613866037176155955253827548473360440517049422696075501183292573063250613021167503858561082238374439193413231472608072888733326512853287806773389073299297372760244397355791502004654458118728037510329034120643030182346716011974996719598934277635297762958837247389366909763367493682299430362668996193935405226221180280462691353912282455701759810037116439968883639596108926413528826200502511551071661541071241892319070812994269518086385295992381025957172992399312141414210235547707008555590049509294048331178258885645254295737834927590332773105843826797756540039810295021699037788228205072146738094320261980823252096852875670591366194556595549470362090317233349128160475626293246538430039226463877253517855062981890058712415866578727694362877805078594115939049922697215689139042884475829798201399221843339843144334329750976265054375898637087619406776357862341599539585772173362569929723217313856218610739079911693928395573354107695207924389443047735986097057117102761647398583746704066222192489628491579241861512228457942727677656217068060304063431859444999092873095546808035894071193872676924207893595051334067870866978585241063298399448801664979503576258730853137762656715932674584878408765074348715350808211160488037567370082449596914044378631384351574514574407266268601518418121140639017772950755439822352142605465639756330937185434812776437455170052704254873689525989445652781559474644227537684964321625946200647347726100468875445797592291192363724641100602571723960104389727561487616213893880158699261565353860394268412519478250755882121502350855777548987354957187611364644347783460623918569790357712078708030071729862147204119062003145783057657964335620490686654777775857772417230654005669380137272188650104502859563282535642734533430567287319498304528915876638370296607209654727246810120749147011579846007686876872348978767610197018167444101532656500699586407674404325249380187066956228877621206281130141035339929259895087216809976356039304176324615051223863642132987493989282096132023719628675179659793099441124234181354583082636306115430335248256636595542753063577946177399294336318459611754831189657065079679934928129113295189411660749306226747061753316760480290760846421347557553607185254462514991634789163215592554565288625021429064594217444034435094635489801294636044217141894128608560200837942901104014713783039046587228833888032709513732700101667002833885010142407620233438106861087062055906874872893491133678484259720820886397724438939944326449942516696628683510030426237257765426269532595248183289611602373952305073827029425838481007443361481172033664199893614932623554378101313353925699162767581809444174957293532641034112367163940472496454826645496608268491435975330754792022473413254641635309131365360013914909519963236046952897089347016136738984133133790874101143168691022141918967797877476450100585067348766183224990814253610763592974731784263832853675045343246533254966131311531411068478710429786791811404658680805588105768518292098129259164151153126615341498379324353953450723874092401152015787628879390603785057522375088322779364007018433582543673090990833352296302290390165336647355242365982903670648563727239283547241202029021901993493453231407543942533374303128855544718854681133818703717309615999563617026069360208156393214924333856037726771259857931298487909006782987195926835910537279213582905667384935745871483880724959685377284455451325009389359115356341859747548302075715614439876712304113995679250907454883895302396632381653230532032695481751231940062856024456656381220713413431325444483757534262449339675147214243079144598658808202548926312120596697863356554722348114194969409174072455372221354826189882023922524876054935905929454258925505387898039528329076689551108932342856243697999637938228068665595345855978215420274558562368590236467711884770512666328306756286559348574636272916414332349992225277379071952095234443041820054854970323931404077610323730988914889188356127533914074856107086479831584739755622106834971368997334246432264012757261628954213626177797127289818357558926591911175376134554737367672941224416966599144520688033032388494464597481600684233179969688713377153969107014820586500187890028419759966629125896903859724482018551567368459339437282027473163713630554370146518281068049701849575089743432349308849281456182745027011845653626290780738299181305772482001250991761047543344790454625943156085044661103576512523366161351099640751135385148305913987889008698009234370941891346098306437937661227172386506980636903743541285235605780167216008920828610842066522096589500420940606405692664109905063234866117077516308694175709123219476283230290207497555159467149979347020209673500496651023554475005053991295374430728524771212435107382664318842703197811901075027036703041419315229156263279708865064004473392401710817533040210152757966691416471836361498546249180866049039738294265863864925406135752428537159880132061042828090772733103561437021070938835520484987564784902357826645006185384847299711513042558913116550679842981785737713725790045128094411676264858573201529073678073396387519268373798582548263868592119666097381189255247190641352195443081432945981901223716745712543744847146503012460085216148335807619624528396069010370871981642712755932969484501155184487454597846375782598809708096893645439856478634508146859065978179351007580744928974114529788215226484601824974140107352758776378993800008479463640459773788106039221647527915619638375897279653946867057366337834721265500081035695372958187077367633848426351345959537644131255393886949828040966112768013745671476622221973172299021322723830684345054818157484501760113734299662298242039459694484074671808880126261963999301400833575366587220239180443885948634911432672454909578479586976064598126633177835011824812040440090529736915436564330317784343260941419199007994565556336195654994767768391641843167291242587882400091208124348669996343070061026732554587428779976439512259161737036335847682346728539549778493388870528102969822923976454022477322075204905420377823800876540724560782242540043358494305758648390071388556142954991440895026034342297754624387472732697423260211014731729196139172514053952591428247887383243344755389104496037975360677224765591211970382212225942797592005272680787386239303946689423293709148965999400795905073756697025967564396661027489606337872152854151887574400979150870295978066773059913103141338094206140446153595784659696116999451265627049162745281492831846033865707908304944975732574637090102130752860241496159897720566523711477673910492376257245019657271734451417565932034846341070093018262777507790026122302775680179025723685230883459924631462602175535978001836273235741164283034661871238537285831967107455175175353583907073921428e-4966L 8821 && convert(0x8000000000000000ULL, 0x0000000000000001ULL) 8822 == -6.475175119438025110924438958227646552499569338034681009689884389197039540124119371017671491276649940255878141476848119676587219886382542046685110071972617983042792710751334934416734625638471740239448526505553990391455556252171148068070822034688256982476272828789103028357337561348031062386564592639826226991907907867663262065711211583064657196068308332845234453069760526489447660964579313751403402631804350039948870075255648713368066117879403155766713303467434937062409411685215137607333139422843835051668983567167196802642952353504079714347103860537782893700215521168667711042950610021881513627986429461700433339201935397498825184335385514892844339930852967838448682125502304114122153045946465463084764110174478737044335312389661483639210553943411476544786261397875064191451226767614625892790369961415069606980007080502788648919975916801878222002252381723047230971876570995428821219281596547633023538783137183646396952831530551068683419596735374086746290525867996216905323365319885172609956827625511036332478353228947631880050684559150608318986521540136061273771493390412784756552103897518527764158778759333880714882279633323826397312375406927039446525306447838514371503654987855172306307584155459826707095909617752526800401326990828721633726770440915439092677906646798573524199116648264206920451160133635071361773812121716528178148240720783226736549623736135274990309138143183248371959875978805027500928693808073336955752759088442865600075199888998323880643549670055505421362435108572732087322982027187772459231228989472372951864321099261878781084330252988333921362998963303722431059741968763452406953835015120533773385289904710843628402700274702870474073825248828889984994284607604847211794221210729913159829014217168004461049532662696542913183628157199561641949923936629368992856621383084545327636972265542355341749855663020004887316835216156767223053799811067258913808469994232607858854524064432145775922144535701236468985705212977045479489515690009388923625580685788707605877343857669170894656797423368490329407251160393356048820607085089069025413584269816739747211239513550414383117508826763143512862006497058041145296097892917999935577053234252698691933792724753682184537682835562829938630004838384363944243137622864918257474256280127291116965050600178120477720784742184205376195975831677721764740044536624645764471381571452381830125398765152083287483110279394697855915713981939970684599199594863007230624076786139617554631450734995190081932187616814234632738778224433256463738346435274905710925581106061273840975592931761266799265587765468946764337085192369358316298457450008809428586921504743730873895710474614480003727146162349858333291516552162545370312200390841588309480973274631646273597390249477746657131891196482398670118797910098918899689482196956660638225731960693542763964302308999692957091061300183648329785182793301407267200046383043005236759977387601407769110383295729918654520937785586390633157020347632812108728638589813282569529576769367173324764085285705308312954957401558247168739931446569422818723482471097374362105279278558570746278168331596903799527959001674856155564619821407044799720020620642233246057848236476047540762849788325435630592420194490443539428990899488655890183886788650518595542180257939200539645041808387760238189562428351774632440622618056913137499820021924733173668036806485733443567039613866037176155955253827548473360440517049422696075501183292573063250613021167503858561082238374439193413231472608072888733326512853287806773389073299297372760244397355791502004654458118728037510329034120643030182346716011974996719598934277635297762958837247389366909763367493682299430362668996193935405226221180280462691353912282455701759810037116439968883639596108926413528826200502511551071661541071241892319070812994269518086385295992381025957172992399312141414210235547707008555590049509294048331178258885645254295737834927590332773105843826797756540039810295021699037788228205072146738094320261980823252096852875670591366194556595549470362090317233349128160475626293246538430039226463877253517855062981890058712415866578727694362877805078594115939049922697215689139042884475829798201399221843339843144334329750976265054375898637087619406776357862341599539585772173362569929723217313856218610739079911693928395573354107695207924389443047735986097057117102761647398583746704066222192489628491579241861512228457942727677656217068060304063431859444999092873095546808035894071193872676924207893595051334067870866978585241063298399448801664979503576258730853137762656715932674584878408765074348715350808211160488037567370082449596914044378631384351574514574407266268601518418121140639017772950755439822352142605465639756330937185434812776437455170052704254873689525989445652781559474644227537684964321625946200647347726100468875445797592291192363724641100602571723960104389727561487616213893880158699261565353860394268412519478250755882121502350855777548987354957187611364644347783460623918569790357712078708030071729862147204119062003145783057657964335620490686654777775857772417230654005669380137272188650104502859563282535642734533430567287319498304528915876638370296607209654727246810120749147011579846007686876872348978767610197018167444101532656500699586407674404325249380187066956228877621206281130141035339929259895087216809976356039304176324615051223863642132987493989282096132023719628675179659793099441124234181354583082636306115430335248256636595542753063577946177399294336318459611754831189657065079679934928129113295189411660749306226747061753316760480290760846421347557553607185254462514991634789163215592554565288625021429064594217444034435094635489801294636044217141894128608560200837942901104014713783039046587228833888032709513732700101667002833885010142407620233438106861087062055906874872893491133678484259720820886397724438939944326449942516696628683510030426237257765426269532595248183289611602373952305073827029425838481007443361481172033664199893614932623554378101313353925699162767581809444174957293532641034112367163940472496454826645496608268491435975330754792022473413254641635309131365360013914909519963236046952897089347016136738984133133790874101143168691022141918967797877476450100585067348766183224990814253610763592974731784263832853675045343246533254966131311531411068478710429786791811404658680805588105768518292098129259164151153126615341498379324353953450723874092401152015787628879390603785057522375088322779364007018433582543673090990833352296302290390165336647355242365982903670648563727239283547241202029021901993493453231407543942533374303128855544718854681133818703717309615999563617026069360208156393214924333856037726771259857931298487909006782987195926835910537279213582905667384935745871483880724959685377284455451325009389359115356341859747548302075715614439876712304113995679250907454883895302396632381653230532032695481751231940062856024456656381220713413431325444483757534262449339675147214243079144598658808202548926312120596697863356554722348114194969409174072455372221354826189882023922524876054935905929454258925505387898039528329076689551108932342856243697999637938228068665595345855978215420274558562368590236467711884770512666328306756286559348574636272916414332349992225277379071952095234443041820054854970323931404077610323730988914889188356127533914074856107086479831584739755622106834971368997334246432264012757261628954213626177797127289818357558926591911175376134554737367672941224416966599144520688033032388494464597481600684233179969688713377153969107014820586500187890028419759966629125896903859724482018551567368459339437282027473163713630554370146518281068049701849575089743432349308849281456182745027011845653626290780738299181305772482001250991761047543344790454625943156085044661103576512523366161351099640751135385148305913987889008698009234370941891346098306437937661227172386506980636903743541285235605780167216008920828610842066522096589500420940606405692664109905063234866117077516308694175709123219476283230290207497555159467149979347020209673500496651023554475005053991295374430728524771212435107382664318842703197811901075027036703041419315229156263279708865064004473392401710817533040210152757966691416471836361498546249180866049039738294265863864925406135752428537159880132061042828090772733103561437021070938835520484987564784902357826645006185384847299711513042558913116550679842981785737713725790045128094411676264858573201529073678073396387519268373798582548263868592119666097381189255247190641352195443081432945981901223716745712543744847146503012460085216148335807619624528396069010370871981642712755932969484501155184487454597846375782598809708096893645439856478634508146859065978179351007580744928974114529788215226484601824974140107352758776378993800008479463640459773788106039221647527915619638375897279653946867057366337834721265500081035695372958187077367633848426351345959537644131255393886949828040966112768013745671476622221973172299021322723830684345054818157484501760113734299662298242039459694484074671808880126261963999301400833575366587220239180443885948634911432672454909578479586976064598126633177835011824812040440090529736915436564330317784343260941419199007994565556336195654994767768391641843167291242587882400091208124348669996343070061026732554587428779976439512259161737036335847682346728539549778493388870528102969822923976454022477322075204905420377823800876540724560782242540043358494305758648390071388556142954991440895026034342297754624387472732697423260211014731729196139172514053952591428247887383243344755389104496037975360677224765591211970382212225942797592005272680787386239303946689423293709148965999400795905073756697025967564396661027489606337872152854151887574400979150870295978066773059913103141338094206140446153595784659696116999451265627049162745281492831846033865707908304944975732574637090102130752860241496159897720566523711477673910492376257245019657271734451417565932034846341070093018262777507790026122302775680179025723685230883459924631462602175535978001836273235741164283034661871238537285831967107455175175353583907073921428e-4966L)) 8823 return 0; 8824 else 8825 return 1; 8826} 8827 8828#endif // !defined(__sparc__) || !defined(__arch64__) ... 8829 8830#else // SIZEOF_LONG_DOUBLE != 16 8831 8832int 8833main() { 8834 return 1; 8835} 8836 8837#endif // SIZEOF_LONG_DOUBLE != 16 8838 8839_ACEOF 8840if ac_fn_cxx_try_run "$LINENO"; then : 8841 8842$as_echo "#define PPL_CXX_LONG_DOUBLE_BINARY_FORMAT PPL_FLOAT_IEEE754_QUAD" >>confdefs.h 8843 8844 ac_cxx_long_double_binary_format="IEEE754 Quad Precision" 8845else 8846 ac_cxx_long_double_binary_format=unknown 8847fi 8848rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8849 conftest.$ac_objext conftest.beam conftest.$ac_ext 8850fi 8851 8852fi 8853 8854if test x"$ac_cxx_long_double_binary_format" = x"unknown" 8855then 8856if test "$cross_compiling" = yes; then : 8857 ac_cxx_long_double_binary_format=unknown 8858else 8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8860/* end confdefs.h. */ 8861 8862#include <limits> 8863#ifdef HAVE_STDINT_H 8864#ifndef __STDC_LIMIT_MACROS 8865#define __STDC_LIMIT_MACROS 1 8866#endif 8867#include <stdint.h> 8868#endif 8869#ifdef HAVE_INTTYPES_H 8870#include <inttypes.h> 8871#endif 8872 8873#if SIZEOF_LONG_DOUBLE == 16 8874 8875long double 8876convert(uint64_t msp, uint64_t lsp) { 8877 union { 8878 long double value; 8879 struct { 8880#ifdef WORDS_BIGENDIAN 8881 uint64_t msp; 8882 uint64_t lsp; 8883#else 8884 uint64_t lsp; 8885 uint64_t msp; 8886#endif 8887 } parts; 8888 } u; 8889 8890 u.parts.msp = msp; 8891 u.parts.lsp = lsp; 8892 return u.value; 8893} 8894 8895int 8896main() { 8897 if (std::numeric_limits<long double>::is_iec559 8898 && (convert(0xaaacccaaacccaaacULL, 0xccaaacccaaacccaaULL) 8899 == -7.6048540943660203383375998875878002021755137452856942966991187375790618225432711954682137529456970686263412309600617913197560145993931792374946076061175594550915924955313391528566777352996816141138550473090399783817652516896553304678788796532976847530386107750759127004897950996937530751872097675156395937218234460013748219954603465088115161828048215763754331575034447236689765045674584188927116128770082933362914567237187017530082528540058002631800274192146485961758366625476271676375489358478966148719270989233284454992652229565352739884432045036085427546783826745250197623257802129011015273728848161395367551745780868250488191368846207890422268873532651627591649389757751752362072212699309947970918940313250863861141479770240104635553035870698789854752554391365757900620463269938427975381635241159694500569550818398323639621243086116154792038064941523448921284117826015673798399008555604372098051095571652170081985843614541956756469168604624857938653843172027861680499952062356914208628014745759010068414302636374017506453133466034362025545080555878082849488386388633197121003201192243150535143329731394874806398663589117246866205872431804204733617792317769570293754056793574570217834482046448788177551912250351735294891953434051815332631157674735614138641122106756749236824504094008852401427746414294902929999820878756040223246586814590339767277305131757114819123212897500810087015748205562614251410818122967399030151040544000563841334553718469935435435467196184665715776274355094471974036803615388313095637066824428688301387559074204015990782977635088047810891072724763113879034313256582868462323549141603475107584159170279311985555035822254439699354641467841523895459190280971487264907972306090449968125859834702627544039374770757804202780369083049631377117943503836158566134919890165392965694050010089785271180956974707841066789578714463804030217977213138932711313311673101336981407798868338574571646697479192174043005729926344062133712267722538847635563454980776602355539986984320762864338177037919835721981686778834558429264194379257521818498431326991615024245632036376472844033831041082865649867453234086495085785897620758602105639344460383483879837994732204331335249564434458633345708439547881275060781028856140511029543559841701048277393119691261302356763314623124427357421753631218361407626116820986377721964654181839884670481278855478057996766639496909094607181503284084821580817995489740980323820218685313435967428474842973086612053963343516426226771094376179468881265734324847319127862733279299033951360912038720313525324094079916937921290391173035983474894312808532257620563284126400481460163180987618432784215807933623038747129658746767737999870125917269554155887740155308886259497202672935871853706835670467770080598813171256855182510726902033818328368569915805303784312301890212694874227119220544172084552511408717615136830401766455214293141216171050374325461714383991698910564587610624980490526840861990674615172112493813749497898151186927777122955666180439323595468816129418014664347852590958362752922841159054568358354108159485566264221008508127941168192513144760720303715640604755054290633421601734103622748053919536319416025380484868142967373186019970714662893713233834399238357795019603619284595839414945178963942707310299674873908104634979966232181071013259653467885733418936194081202149071958107062125873498848807502257018093517304220495114497635240876547262237411350327960679115197531609627900227913193653254580253539005743563270152329126178570329413401577715075363838562221558204219798925982825556469998988615897432425107152113543617151738802778259560442930074253918797315241708532198010528564246933829811859278710445896556638416265987381678070434371355795025956293319362293063591248665429733880825207421011852020394068840244110140622151494488609575671090387230241296949998536132398625008053543954239573998167556201366323875845409929752349853515625e-1644L 8900 && convert(0xcccaaacccaaacccaULL, 0xaacccaaacccaaaccULL) 8901 == -99658331877181425640389193712445288804009112642407197633229907048864350192381814628233384153539524368748305269642704450459572458913058829202094408933558533552137589226430537671503754737153845553845646099179512540696038707395491223325946106007770844660381340028079827237033670900446083793353682761885084154898636897779677124010119288945740273072415898996441722571487815052387317025675191665761918119006431828756780493604546658949166486641354783002536071366287780290680620995991797712341457334946893188786269086688063732222194404683551757689083590842400866213237312413463207537587813396338061744078437770542720749055069473347142994267706326342325536219464867910547533482061181116137767384001927599515332824741827726661184966512254203502805790565338206862173475388342339711722457620964017690492860707751327158273522191943184085888284707357024653025991470473697475045491586713324994056478341556198451786713470909185879382607340766256394396819602885198511409676789226542867632933493115191296.0L 8902 && convert(0x0000000000000000ULL, 0x0000000000000001ULL) 8903 == 3.645199531882474602528405933619419816399050815693563343720980487028371688633397736809560708625827205197247347347203531101966985632622032169973508075589809005483822581177931678569225263805633559756621562565983410728940319793553527268591240799954172811015518538383046054768715422449295305859718268214262622067532355460844068079259753739688226338971902813354664211957293812000216762672292032277433639030845605529795518855299212255321171163487629138462930035513852750160313284578587346566858083349053123705193988703983308587839946322501468602459466376586870456423634710242397194658860357568067134477982764219736292817751295560536845761267846647908517463250923736039512722781415953366096399444403402117053488448021977763604437908687623249034116909294550532283554604255016471048510990155249694820376175072774521597924829264164672829379224834378522148847524461653340453140898534938901079999466084995792940867082225167898092626332284133633537230365710606672711016101696986908545526816093446785575823545286456670464909287063062587561930219192839574686079732400741932670792586584247903252601714502511652018733705556477669856403061671860988301022089008752404238293812121415758527179547281628232710885994458574715033852877595426024800791719981955344151916599003503828822200355665967958771090937688409231050763744882094456320484272716122798149836361660589595209083576887254232532955229749892640550762959438241278496193819382077545905461172547961340469817691165676094261320725727312607482937653140421619686103059529199421431937449566099337396063075218302243845475341677972462038126626903408167086517545386382155008956065955410392914952623927880847159533184535486666480480563407531428385329300522477684217050951264747454635754866214784941542315111038630684391425212439304190584122374222972284606537485052464648655369719099026760518287560996997210778473066980129427427439517032390964791367678221749630975419713438139162678878555999177528450882748046538588177447270306738234898502976902853001364550405227287093940058325788585457368654991956265863050083472087623066020903378919489920975190829421602010382039477772083400661519154972695436582305021910908576692048173534958894170976763084807837402813849227540942073315401115262334876815962087441302256558438912500607230205782013083674113023497612445214795170983848687988348203289441256908755565216081815151205638893112562415329084456934095146184469290901166110634875590164835606941629407489774379792739804674764243483912084691871769225446506284310565309190872477286255925383528545036360550854226919571246361133225904820301916588317084377712259367894846411294822587075835486985645510829880528578782698412556249274522235061092454342386202327120407827540333914613192189174315884136688019435966273663470431440443032136411775605030601436837063972690330417475187330200911967500496761618122614796452937124070398703890868915527051490465736745397764941094879479649438162576614346948652085308024696358256756585794568493319042053882843808180358787110774418075478801186519577416271896383169835708225636584654568643702618602433548938163720732772538345454513065011540675765510656970500413537205370067924880209217363407323673368448004904408413977741706965494247040799786451861822188473571257556819433284087486023676249467869483631380473856486239547015603318322612783652068699798539400406637311682731115340677841660240710431551140370410375585572939303084073843540702120551963050514959945741359169911676575478403279380112020347348292538150798320452794842427526501796852911863108178276638472320237870082862271763396195139513712303136194366021540830531456910584048372546025177765140460207112923151923176402146752868221966889915381596481253160696822260723194259521813054303457222367967929268763072892355278854714278243863110783067060124459039315528176840304931522813148745824350892130595015198002557204332483215551447097512510076223364801202888087635650654634946887232727623906459076670227108634162319210357007273369354657187569046394884895083794103531835959613994575377897775525461977464747518162975010091463561925032742645594645800581600698347817023194379921397347681150492687237349021564206463096138703201250277757980410772647014391579144424375252519766764670458008515297647624144814453496069685127439800629552075692648608681506879044376428977463175175205181547958459515159074701285838493694034007662410100183533141516684185460758175066481561018901133031951042099053297118837448984443230856642737606478787880285299903521855025612413471034466624171559209077538498475106811294029060334271803320566493935024621719717684804443351866946690525266060758332190531807232565501890293754259590947433140384335366973398816899253698302119916142891631005349335372158005779944529176735887193980409288474621694590303098552382376969442365186023130985507823617670051191889015351479659778676132449671642015059540438237303922903056079068344635440276772565425944329927654906262952475555750912023879424636021462043321631428365675851865654901693474343411406220907550090045689588323936814675126103464401223728058185048320475251266882875299120582253090033177883674432343812734123922042926554908548231473285349572210962289889800994026533629321464700552029391517293055196218065667251276237490129206098414338903210942488902792253924667941082273267563528653863343443486495762400409978995985052082310730277076965242846278402568285187365588876653245423047205943478612931964211293489374119565751486787204884502307512372923973119191125614068756094526892783321688030310900558025683455451898487401139315290743477461921025987905332236299398859448938742087487316288730711068752763449392366897236258997091176996253284306687635454361862179407191652155243650619571720232128624130785404930566805029233271375546253313287446285812219961565022654510373870581648214791139170870970509074158721967633425471550515801498191107216277620692347014234913527385812164834475002007099402122991439542783981984927181300669603290190495106195784248531299740262706106798338573523977365240941293695214188675632715447081372252551022981921251125675131839210074132286029621443262127145872022404314258219255606415280218445074654034790115075558513374422753617188198385931164810182817002794172279803028202086567081267453349341345496389239379776494419022301042067986600501045466950004057134726934147691678031986698845370299987067384407310337433828116514830745374490760171672152978595040351405572526523026051215093709900567873568385242574546385008567738263951532676549294356417565797771595638496719149577804216291892125541055147173723744991756669672459021375111288754125372918394417976243093028214703329386031799313949535161343892720409046065009958980978947997662545514664194262097665297242612367968766000629174655887090824363583653843658980277566031286429628476318572915045823895805826010132712977834418613468288832988547377174550796802573148684253294172285056777826927377158058647145403557721233512002495437339413998842782599710186215723437958154275340509811072349041046483806284608873394275718878590418692809288333423522781240698974441829879303794241455852776713321354870647251094720675572322788447908778778892116234131617608416732280987493141331884927860259324392781255786150891859203497212615916404999097067778739914857961305884934678762043515521190581898256624635957830927811421154992139986999936203631149852372802564314896151749326404428772008250428569338329698161850171265411426708113723558325059062871506712838460986031147060351491506316012532538793354499545667009527573810892048004652452452139688789392912938251888341298122235232861138733903153560967292104241190946350516769769305030762386908399592555043192236069279491224465826684203312081255431851756341234566913972589390601558650830437402045595207689996159597545711808203688318112918947661662115802919578636403430323041610018063696707221249826383715263388850307418469423973486747009233945036220901518185766942733836846126816638158345048782728241251279820310193223512959111029884002230571688216854282257873218631744450950552327428952538149545262779889824399028513132208638633070602135522752076661567872472325125674291268881849101416382703647451428232847993332157180794015036365361645888146355749366150209085457189187232786399585879941680370348141105404742298452497895369287193974496140445677301271403589665822911096832952021181343571136957607816318342755770560406569920261633966403484121679869542684843686908354373688437968683525723666121485947946747887572716360800696442816474113593466106089204179554677145374582437962664618883018628687510079511252556002241788346284019750863992283906513572325918053464080643521532154825074820239077990779007069588034029619562190416747359712884084324521598678178890186409451480686781733176824920276835002477523486093586963733155424491897575495851549527034538337694314953057164019215026670773910997443279760005290641511584707193226351271670439775141076552632736166117611394934325673743882365518318561208941552931629125136799711574578916741023587251428998946963182411650554404206416336487418656105333038545773960190949602850096208569085230228708894874577523512558281973392961263921656163963369388411763476388625952406901518273413037068643383550282962237729195901788599392876651086599849223994259145259240479384380657803498058719062529007339428316229997756899857712116922758683071707472935574499244978419788171338468471751125303860911589289400806637202920429489919870263415951660888975434827304297451362325052693482001524843171229078467910537913138115458626612024970730899515114301915281613929239329351501049859225274564107846818112938339161308943153205117651716380468462296193882444293370484368530096898812778973178284912798550245246063411918482638261694029245273291646707331594675213428158755273882438357960245064051015888918541801139771619743221405037797285669481455810653320008904215997597975907391512026214020012010134707536774227636477580918167507850485197065326391091171451763751237612739498468510009055480025096015985581769370179656781151306565952590101977398335185042637681982306448413722177895665290302796223004198526079143104070007874540548221582347389579e-4951L 8904 && convert(0x8000000000000000ULL, 0x0000000000000001ULL) 8905 == 3.645199531882474602528405933619419816399050815693563343720980487028371688633397736809560708625827205197247347347203531101966985632622032169973508075589809005483822581177931678569225263805633559756621562565983410728940319793553527268591240799954172811015518538383046054768715422449295305859718268214262622067532355460844068079259753739688226338971902813354664211957293812000216762672292032277433639030845605529795518855299212255321171163487629138462930035513852750160313284578587346566858083349053123705193988703983308587839946322501468602459466376586870456423634710242397194658860357568067134477982764219736292817751295560536845761267846647908517463250923736039512722781415953366096399444403402117053488448021977763604437908687623249034116909294550532283554604255016471048510990155249694820376175072774521597924829264164672829379224834378522148847524461653340453140898534938901079999466084995792940867082225167898092626332284133633537230365710606672711016101696986908545526816093446785575823545286456670464909287063062587561930219192839574686079732400741932670792586584247903252601714502511652018733705556477669856403061671860988301022089008752404238293812121415758527179547281628232710885994458574715033852877595426024800791719981955344151916599003503828822200355665967958771090937688409231050763744882094456320484272716122798149836361660589595209083576887254232532955229749892640550762959438241278496193819382077545905461172547961340469817691165676094261320725727312607482937653140421619686103059529199421431937449566099337396063075218302243845475341677972462038126626903408167086517545386382155008956065955410392914952623927880847159533184535486666480480563407531428385329300522477684217050951264747454635754866214784941542315111038630684391425212439304190584122374222972284606537485052464648655369719099026760518287560996997210778473066980129427427439517032390964791367678221749630975419713438139162678878555999177528450882748046538588177447270306738234898502976902853001364550405227287093940058325788585457368654991956265863050083472087623066020903378919489920975190829421602010382039477772083400661519154972695436582305021910908576692048173534958894170976763084807837402813849227540942073315401115262334876815962087441302256558438912500607230205782013083674113023497612445214795170983848687988348203289441256908755565216081815151205638893112562415329084456934095146184469290901166110634875590164835606941629407489774379792739804674764243483912084691871769225446506284310565309190872477286255925383528545036360550854226919571246361133225904820301916588317084377712259367894846411294822587075835486985645510829880528578782698412556249274522235061092454342386202327120407827540333914613192189174315884136688019435966273663470431440443032136411775605030601436837063972690330417475187330200911967500496761618122614796452937124070398703890868915527051490465736745397764941094879479649438162576614346948652085308024696358256756585794568493319042053882843808180358787110774418075478801186519577416271896383169835708225636584654568643702618602433548938163720732772538345454513065011540675765510656970500413537205370067924880209217363407323673368448004904408413977741706965494247040799786451861822188473571257556819433284087486023676249467869483631380473856486239547015603318322612783652068699798539400406637311682731115340677841660240710431551140370410375585572939303084073843540702120551963050514959945741359169911676575478403279380112020347348292538150798320452794842427526501796852911863108178276638472320237870082862271763396195139513712303136194366021540830531456910584048372546025177765140460207112923151923176402146752868221966889915381596481253160696822260723194259521813054303457222367967929268763072892355278854714278243863110783067060124459039315528176840304931522813148745824350892130595015198002557204332483215551447097512510076223364801202888087635650654634946887232727623906459076670227108634162319210357007273369354657187569046394884895083794103531835959613994575377897775525461977464747518162975010091463561925032742645594645800581600698347817023194379921397347681150492687237349021564206463096138703201250277757980410772647014391579144424375252519766764670458008515297647624144814453496069685127439800629552075692648608681506879044376428977463175175205181547958459515159074701285838493694034007662410100183533141516684185460758175066481561018901133031951042099053297118837448984443230856642737606478787880285299903521855025612413471034466624171559209077538498475106811294029060334271803320566493935024621719717684804443351866946690525266060758332190531807232565501890293754259590947433140384335366973398816899253698302119916142891631005349335372158005779944529176735887193980409288474621694590303098552382376969442365186023130985507823617670051191889015351479659778676132449671642015059540438237303922903056079068344635440276772565425944329927654906262952475555750912023879424636021462043321631428365675851865654901693474343411406220907550090045689588323936814675126103464401223728058185048320475251266882875299120582253090033177883674432343812734123922042926554908548231473285349572210962289889800994026533629321464700552029391517293055196218065667251276237490129206098414338903210942488902792253924667941082273267563528653863343443486495762400409978995985052082310730277076965242846278402568285187365588876653245423047205943478612931964211293489374119565751486787204884502307512372923973119191125614068756094526892783321688030310900558025683455451898487401139315290743477461921025987905332236299398859448938742087487316288730711068752763449392366897236258997091176996253284306687635454361862179407191652155243650619571720232128624130785404930566805029233271375546253313287446285812219961565022654510373870581648214791139170870970509074158721967633425471550515801498191107216277620692347014234913527385812164834475002007099402122991439542783981984927181300669603290190495106195784248531299740262706106798338573523977365240941293695214188675632715447081372252551022981921251125675131839210074132286029621443262127145872022404314258219255606415280218445074654034790115075558513374422753617188198385931164810182817002794172279803028202086567081267453349341345496389239379776494419022301042067986600501045466950004057134726934147691678031986698845370299987067384407310337433828116514830745374490760171672152978595040351405572526523026051215093709900567873568385242574546385008567738263951532676549294356417565797771595638496719149577804216291892125541055147173723744991756669672459021375111288754125372918394417976243093028214703329386031799313949535161343892720409046065009958980978947997662545514664194262097665297242612367968766000629174655887090824363583653843658980277566031286429628476318572915045823895805826010132712977834418613468288832988547377174550796802573148684253294172285056777826927377158058647145403557721233512002495437339413998842782599710186215723437958154275340509811072349041046483806284608873394275718878590418692809288333423522781240698974441829879303794241455852776713321354870647251094720675572322788447908778778892116234131617608416732280987493141331884927860259324392781255786150891859203497212615916404999097067778739914857961305884934678762043515521190581898256624635957830927811421154992139986999936203631149852372802564314896151749326404428772008250428569338329698161850171265411426708113723558325059062871506712838460986031147060351491506316012532538793354499545667009527573810892048004652452452139688789392912938251888341298122235232861138733903153560967292104241190946350516769769305030762386908399592555043192236069279491224465826684203312081255431851756341234566913972589390601558650830437402045595207689996159597545711808203688318112918947661662115802919578636403430323041610018063696707221249826383715263388850307418469423973486747009233945036220901518185766942733836846126816638158345048782728241251279820310193223512959111029884002230571688216854282257873218631744450950552327428952538149545262779889824399028513132208638633070602135522752076661567872472325125674291268881849101416382703647451428232847993332157180794015036365361645888146355749366150209085457189187232786399585879941680370348141105404742298452497895369287193974496140445677301271403589665822911096832952021181343571136957607816318342755770560406569920261633966403484121679869542684843686908354373688437968683525723666121485947946747887572716360800696442816474113593466106089204179554677145374582437962664618883018628687510079511252556002241788346284019750863992283906513572325918053464080643521532154825074820239077990779007069588034029619562190416747359712884084324521598678178890186409451480686781733176824920276835002477523486093586963733155424491897575495851549527034538337694314953057164019215026670773910997443279760005290641511584707193226351271670439775141076552632736166117611394934325673743882365518318561208941552931629125136799711574578916741023587251428998946963182411650554404206416336487418656105333038545773960190949602850096208569085230228708894874577523512558281973392961263921656163963369388411763476388625952406901518273413037068643383550282962237729195901788599392876651086599849223994259145259240479384380657803498058719062529007339428316229997756899857712116922758683071707472935574499244978419788171338468471751125303860911589289400806637202920429489919870263415951660888975434827304297451362325052693482001524843171229078467910537913138115458626612024970730899515114301915281613929239329351501049859225274564107846818112938339161308943153205117651716380468462296193882444293370484368530096898812778973178284912798550245246063411918482638261694029245273291646707331594675213428158755273882438357960245064051015888918541801139771619743221405037797285669481455810653320008904215997597975907391512026214020012010134707536774227636477580918167507850485197065326391091171451763751237612739498468510009055480025096015985581769370179656781151306565952590101977398335185042637681982306448413722177895665290302796223004198526079143104070007874540548221582347389579e-4951L)) 8906 return 0; 8907 else 8908 return 1; 8909} 8910 8911#else // SIZEOF_LONG_DOUBLE != 16 8912 8913int 8914main() { 8915 return 1; 8916} 8917 8918#endif // SIZEOF_LONG_DOUBLE != 16 8919 8920_ACEOF 8921if ac_fn_cxx_try_run "$LINENO"; then : 8922 8923$as_echo "#define PPL_CXX_LONG_DOUBLE_BINARY_FORMAT PPL_FLOAT_INTEL_DOUBLE_EXTENDED" >>confdefs.h 8924 8925 ac_cxx_long_double_binary_format="Intel Double-Extended" 8926else 8927 ac_cxx_long_double_binary_format=unknown 8928fi 8929rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8930 conftest.$ac_objext conftest.beam conftest.$ac_ext 8931fi 8932 8933fi 8934 8935if test x"$ac_cxx_long_double_binary_format" = x"unknown" 8936then 8937if test "$cross_compiling" = yes; then : 8938 ac_cxx_long_double_binary_format=unknown 8939else 8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8941/* end confdefs.h. */ 8942 8943#include <limits> 8944#ifdef HAVE_STDINT_H 8945#ifndef __STDC_LIMIT_MACROS 8946#define __STDC_LIMIT_MACROS 1 8947#endif 8948#include <stdint.h> 8949#endif 8950#ifdef HAVE_INTTYPES_H 8951#include <inttypes.h> 8952#endif 8953 8954#if SIZEOF_LONG_DOUBLE == 8 8955 8956double 8957convert(uint32_t msp, uint32_t lsp) { 8958 union { 8959 long double value; 8960 struct { 8961#ifdef WORDS_BIGENDIAN 8962 uint32_t msp; 8963 uint32_t lsp; 8964#else 8965 uint32_t lsp; 8966 uint32_t msp; 8967#endif 8968 } parts; 8969 } u; 8970 8971 u.parts.msp = msp; 8972 u.parts.lsp = lsp; 8973 return u.value; 8974} 8975 8976int 8977main() { 8978 if (std::numeric_limits<long double>::is_iec559 8979 && (convert(0xaaacccaaUL, 0xacccaaacUL) 8980 == -4.018242396032647085467373664662028399901175154542925376476863248797653889888945947404163925979898721593782464256360719269163883854613473748830842329884157359816532025640075051481726120707111709993717456369512975427023957197464411926714771905463723621065863511603311053477227687835693359375e-103L 8981 && convert(0xcccaaaccUL, 0xcaaacccaUL) 8982 == -85705035845709846787631445265530356117787053916987832397725696.0L 8983 && convert(0x00000000UL, 0x00000001UL) 8984 == 4.940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625e-324L 8985 && convert(0x80000000UL, 0x00000001UL) 8986 == -4.940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625e-324L)) 8987 return 0; 8988 else 8989 return 1; 8990} 8991 8992#else // SIZEOF_LONG_DOUBLE != 8 8993 8994int 8995main() { 8996 return 1; 8997} 8998 8999#endif // SIZEOF_LONG_DOUBLE != 8 9000 9001_ACEOF 9002if ac_fn_cxx_try_run "$LINENO"; then : 9003 9004$as_echo "#define PPL_CXX_LONG_DOUBLE_BINARY_FORMAT PPL_FLOAT_IEEE754_DOUBLE" >>confdefs.h 9005 9006 ac_cxx_long_double_binary_format="IEEE754 Double Precision" 9007else 9008 ac_cxx_long_double_binary_format=unknown 9009fi 9010rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9011 conftest.$ac_objext conftest.beam conftest.$ac_ext 9012fi 9013 9014fi 9015 9016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cxx_long_double_binary_format" >&5 9017$as_echo "$ac_cxx_long_double_binary_format" >&6; } 9018 9019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::floor(long double) is buggy" >&5 9020$as_echo_n "checking whether std::floor(long double) is buggy... " >&6; } 9021if test "$cross_compiling" = yes; then : 9022 ac_std_floor_long_double_is_buggy=no 9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming is not" >&5 9024$as_echo "assuming is not" >&6; } 9025else 9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9027/* end confdefs.h. */ 9028#include <cmath> 9029#include <cstdlib> 9030 9031long double x = 13311002825915415087.0L; 9032 9033int main() { 9034 long double y = std::floor(x); 9035 if (x != y) 9036 return 1; 9037 else 9038 return 0; 9039} 9040 9041_ACEOF 9042if ac_fn_cxx_try_run "$LINENO"; then : 9043 ac_std_floor_long_double_is_buggy=no 9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9045$as_echo "no" >&6; } 9046else 9047 ac_std_floor_long_double_is_buggy=yes 9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9049$as_echo "yes" >&6; } 9050fi 9051rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9052 conftest.$ac_objext conftest.beam conftest.$ac_ext 9053fi 9054 9055 9056if test x"$ac_cxx_long_double_binary_format" = x"unknown" \ 9057|| test $ac_cv_can_control_fpu = 0 \ 9058|| test x"$ac_std_floor_long_double_is_buggy" = x"yes" 9059then 9060 ac_supported_long_double=0 9061else 9062 ac_supported_long_double=1 9063fi 9064 if test $ac_supported_long_double = 1; then 9065 SUPPORTED_LONG_DOUBLE_TRUE= 9066 SUPPORTED_LONG_DOUBLE_FALSE='#' 9067else 9068 SUPPORTED_LONG_DOUBLE_TRUE='#' 9069 SUPPORTED_LONG_DOUBLE_FALSE= 9070fi 9071 9072 9073cat >>confdefs.h <<_ACEOF 9074#define PPL_SUPPORTED_LONG_DOUBLE $ac_supported_long_double 9075_ACEOF 9076 9077 9078ac_ext=cpp 9079ac_cpp='$CXXCPP $CPPFLAGS' 9080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9083 9084CPPFLAGS="$ac_save_CPPFLAGS" 9085LIBS="$ac_save_LIBS" 9086 9087 9088# Test if some floating-point type is supported. 9089if test $ac_supported_float = 1 \ 9090|| test $ac_supported_double = 1 \ 9091|| test $ac_supported_long_double = 1 9092then 9093 supported_some_floating_point_type=yes 9094fi 9095 if test x$supported_some_floating_point_type = xyes; then 9096 SUPPORTED_SOME_FLOATING_POINT_TYPE_TRUE= 9097 SUPPORTED_SOME_FLOATING_POINT_TYPE_FALSE='#' 9098else 9099 SUPPORTED_SOME_FLOATING_POINT_TYPE_TRUE='#' 9100 SUPPORTED_SOME_FLOATING_POINT_TYPE_FALSE= 9101fi 9102 9103 9104# Check whether the C++ compiler supports zero-length arrays. 9105 9106ac_save_CPPFLAGS="$CPPFLAGS" 9107ac_save_LIBS="$LIBS" 9108ac_ext=cpp 9109ac_cpp='$CXXCPP $CPPFLAGS' 9110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9113 9114 9115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports zero-length arrays" >&5 9116$as_echo_n "checking whether the C++ compiler supports zero-length arrays... " >&6; } 9117if test "$cross_compiling" = yes; then : 9118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9119/* end confdefs.h. */ 9120 9121#include <new> 9122#include <cstddef> 9123 9124class A { 9125private: 9126 int i; 9127 bool b; 9128 9129public: 9130 A() 9131 : i(0), b(false) { 9132 } 9133}; 9134 9135class B { 9136private: 9137 int capacity; 9138 A vec0; 9139 9140public: 9141 void* operator new(size_t fixed_size, int c) { 9142 return ::operator new(fixed_size + c*sizeof(B)); 9143 } 9144 9145 void operator delete(void* p) { 9146 ::operator delete(p); 9147 } 9148 9149 void operator delete(void* p, int) { 9150 ::operator delete(p); 9151 } 9152 9153 B(int s) 9154 : capacity(s) { 9155 } 9156}; 9157 9158int 9159main() { 9160 B* p = new (100) B(100); 9161 delete p; 9162 return 0; 9163} 9164 9165_ACEOF 9166if ac_fn_cxx_try_compile "$LINENO"; then : 9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9168$as_echo "yes" >&6; } 9169 ac_cxx_supports_zero_length_arrays=yes 9170else 9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9172$as_echo "no" >&6; } 9173 ac_cxx_supports_zero_length_arrays=no 9174fi 9175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9176else 9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9178/* end confdefs.h. */ 9179 9180#include <new> 9181#include <cstddef> 9182 9183class A { 9184private: 9185 int i; 9186 bool b; 9187 9188public: 9189 A() 9190 : i(0), b(false) { 9191 } 9192}; 9193 9194class B { 9195private: 9196 int capacity; 9197 A vec[]; 9198 9199public: 9200 void* operator new(size_t fixed_size, int c) { 9201 return ::operator new(fixed_size + c*sizeof(B)); 9202 } 9203 9204 void operator delete(void* p) { 9205 ::operator delete(p); 9206 } 9207 9208 void operator delete(void* p, int) { 9209 ::operator delete(p); 9210 } 9211 9212 B(int s) 9213 : capacity(s) { 9214 } 9215}; 9216 9217int 9218main() { 9219 B* p = new (100) B(100); 9220 delete p; 9221 return 0; 9222} 9223 9224_ACEOF 9225if ac_fn_cxx_try_run "$LINENO"; then : 9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9227$as_echo "yes" >&6; } 9228 ac_cxx_supports_zero_length_arrays=yes 9229else 9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9231$as_echo "no" >&6; } 9232 ac_cxx_supports_zero_length_arrays=no 9233fi 9234rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9235 conftest.$ac_objext conftest.beam conftest.$ac_ext 9236fi 9237 9238 9239if test x"$ac_cxx_supports_zero_length_arrays" = xyes 9240then 9241 value=1 9242else 9243 value=0 9244fi 9245 9246cat >>confdefs.h <<_ACEOF 9247#define PPL_CXX_SUPPORTS_ZERO_LENGTH_ARRAYS $value 9248_ACEOF 9249 9250 9251ac_ext=cpp 9252ac_cpp='$CXXCPP $CPPFLAGS' 9253ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9254ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9255ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9256 9257CPPFLAGS="$ac_save_CPPFLAGS" 9258LIBS="$ac_save_LIBS" 9259 9260 9261# Check whether the IEEE inexact flag is supported in C++. 9262 9263ac_save_CPPFLAGS="$CPPFLAGS" 9264ac_save_LIBS="$LIBS" 9265ac_ext=cpp 9266ac_cpp='$CXXCPP $CPPFLAGS' 9267ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9268ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9269ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9270 9271 9272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the IEEE inexact flag is supported in C++" >&5 9273$as_echo_n "checking whether the IEEE inexact flag is supported in C++... " >&6; } 9274if test "$cross_compiling" = yes; then : 9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming not" >&5 9276$as_echo "assuming not" >&6; } 9277 ac_cxx_supports_ieee_inexact_flag=no 9278else 9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9280/* end confdefs.h. */ 9281 9282#if defined(__i386__) && (defined(__GNUC__) || defined(__INTEL_COMPILER)) 9283 9284int 9285main() { 9286 return 0; 9287} 9288 9289#elif defined(PPL_HAVE_IEEEFP_H) \ 9290 && (defined(__sparc) \ 9291 || defined(sparc) \ 9292 || defined(__sparc__)) 9293 9294int 9295main() { 9296 return 0; 9297} 9298 9299#elif !defined(HAVE_FENV_H) 9300 9301int 9302main() { 9303 return 1; 9304} 9305 9306#else 9307 9308#include <fenv.h> 9309 9310#if !defined(FE_INEXACT) 9311 9312int 9313main() { 9314 return 1; 9315} 9316 9317#else // defined(FE_INEXACT) 9318 9319struct A { 9320 double dividend; 9321 double divisor; 9322 bool inexact; 9323} a[] = { 9324 { 1.0, 2.0, false }, 9325 { 2.0, 3.0, true }, 9326}; 9327 9328int main() { 9329 for (unsigned i = 0; i < sizeof(a)/sizeof(a[0]); ++i) { 9330 { 9331 volatile float x = a[i].dividend; 9332 volatile float y = a[i].divisor; 9333 feclearexcept(FE_INEXACT); 9334 x = x / y; 9335 if ((fetestexcept(FE_INEXACT) != 0) != a[i].inexact) 9336 return 1; 9337 } 9338 { 9339 volatile double x = a[i].dividend; 9340 volatile double y = a[i].divisor; 9341 feclearexcept(FE_INEXACT); 9342 x = x / y; 9343 if ((fetestexcept(FE_INEXACT) != 0) != a[i].inexact) 9344 return 1; 9345 } 9346 { 9347 volatile long double x = a[i].dividend; 9348 volatile long double y = a[i].divisor; 9349 feclearexcept(FE_INEXACT); 9350 x = x / y; 9351 if ((fetestexcept(FE_INEXACT) != 0) != a[i].inexact) 9352 return 1; 9353 } 9354 } 9355 return 0; 9356} 9357 9358#endif // defined(FE_INEXACT) 9359 9360#endif 9361 9362 9363_ACEOF 9364if ac_fn_cxx_try_run "$LINENO"; then : 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9366$as_echo "yes" >&6; } 9367 ac_cxx_supports_ieee_inexact_flag=yes 9368else 9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9370$as_echo "no" >&6; } 9371 ac_cxx_supports_ieee_inexact_flag=no 9372fi 9373rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9374 conftest.$ac_objext conftest.beam conftest.$ac_ext 9375fi 9376 9377 9378if test x"$ac_cxx_supports_ieee_inexact_flag" = xyes 9379then 9380 value=1 9381else 9382 value=0 9383fi 9384 9385cat >>confdefs.h <<_ACEOF 9386#define PPL_CXX_SUPPORTS_IEEE_INEXACT_FLAG $value 9387_ACEOF 9388 9389 9390ac_ext=cpp 9391ac_cpp='$CXXCPP $CPPFLAGS' 9392ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9393ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9394ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9395 9396CPPFLAGS="$ac_save_CPPFLAGS" 9397LIBS="$ac_save_LIBS" 9398 9399 9400# Check whether the C++ compiler supports __attribute__ ((weak)). 9401 9402ac_save_CPPFLAGS="$CPPFLAGS" 9403ac_save_LIBS="$LIBS" 9404ac_ext=cpp 9405ac_cpp='$CXXCPP $CPPFLAGS' 9406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9409 9410 9411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports __attribute__ ((weak))" >&5 9412$as_echo_n "checking whether the C++ compiler supports __attribute__ ((weak))... " >&6; } 9413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9414/* end confdefs.h. */ 9415 9416void 9417foo() __attribute__ ((weak)); 9418 9419void 9420foo() { 9421} 9422 9423_ACEOF 9424if ac_fn_cxx_try_compile "$LINENO"; then : 9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9426$as_echo "yes" >&6; } 9427 ac_cxx_supports_attribute_weak=yes 9428else 9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9430$as_echo "no" >&6; } 9431 ac_cxx_supports_attribute_weak=no 9432fi 9433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9434 9435if test x"$ac_cxx_supports_attribute_weak" = xyes 9436then 9437 value=1 9438else 9439 value=0 9440fi 9441 9442cat >>confdefs.h <<_ACEOF 9443#define PPL_CXX_SUPPORTS_ATTRIBUTE_WEAK $value 9444_ACEOF 9445 9446 9447ac_ext=cpp 9448ac_cpp='$CXXCPP $CPPFLAGS' 9449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9452 9453CPPFLAGS="$ac_save_CPPFLAGS" 9454LIBS="$ac_save_LIBS" 9455 9456 9457# Checks for header files. 9458for ac_header in fenv.h ieeefp.h getopt.h signal.h string.h strings.h sys/resource.h sys/time.h sys/types.h unistd.h 9459do : 9460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9461ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9462if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9463 cat >>confdefs.h <<_ACEOF 9464#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9465_ACEOF 9466 9467fi 9468 9469done 9470 9471 9472# Checks for the availability of C library functions in C++. 9473ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" " 9474#if defined(HAVE_STRINGS_H) 9475# include <strings.h> 9476#elif defined(HAVE_STRING_H) 9477# include <string.h> 9478#endif 9479 9480" 9481if test "x$ac_cv_have_decl_ffs" = xyes; then : 9482 ac_have_decl=1 9483else 9484 ac_have_decl=0 9485fi 9486 9487cat >>confdefs.h <<_ACEOF 9488#define HAVE_DECL_FFS $ac_have_decl 9489_ACEOF 9490 9491ac_fn_cxx_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "#include <cstdlib> 9492" 9493if test "x$ac_cv_have_decl_getenv" = xyes; then : 9494 ac_have_decl=1 9495else 9496 ac_have_decl=0 9497fi 9498 9499cat >>confdefs.h <<_ACEOF 9500#define HAVE_DECL_GETENV $ac_have_decl 9501_ACEOF 9502ac_fn_cxx_check_decl "$LINENO" "strtof" "ac_cv_have_decl_strtof" "#include <cstdlib> 9503" 9504if test "x$ac_cv_have_decl_strtof" = xyes; then : 9505 ac_have_decl=1 9506else 9507 ac_have_decl=0 9508fi 9509 9510cat >>confdefs.h <<_ACEOF 9511#define HAVE_DECL_STRTOF $ac_have_decl 9512_ACEOF 9513ac_fn_cxx_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "#include <cstdlib> 9514" 9515if test "x$ac_cv_have_decl_strtod" = xyes; then : 9516 ac_have_decl=1 9517else 9518 ac_have_decl=0 9519fi 9520 9521cat >>confdefs.h <<_ACEOF 9522#define HAVE_DECL_STRTOD $ac_have_decl 9523_ACEOF 9524ac_fn_cxx_check_decl "$LINENO" "strtold" "ac_cv_have_decl_strtold" "#include <cstdlib> 9525" 9526if test "x$ac_cv_have_decl_strtold" = xyes; then : 9527 ac_have_decl=1 9528else 9529 ac_have_decl=0 9530fi 9531 9532cat >>confdefs.h <<_ACEOF 9533#define HAVE_DECL_STRTOLD $ac_have_decl 9534_ACEOF 9535ac_fn_cxx_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "#include <cstdlib> 9536" 9537if test "x$ac_cv_have_decl_strtoll" = xyes; then : 9538 ac_have_decl=1 9539else 9540 ac_have_decl=0 9541fi 9542 9543cat >>confdefs.h <<_ACEOF 9544#define HAVE_DECL_STRTOLL $ac_have_decl 9545_ACEOF 9546ac_fn_cxx_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "#include <cstdlib> 9547" 9548if test "x$ac_cv_have_decl_strtoull" = xyes; then : 9549 ac_have_decl=1 9550else 9551 ac_have_decl=0 9552fi 9553 9554cat >>confdefs.h <<_ACEOF 9555#define HAVE_DECL_STRTOULL $ac_have_decl 9556_ACEOF 9557 9558ac_fn_cxx_check_decl "$LINENO" "fma" "ac_cv_have_decl_fma" "#include <cmath> 9559" 9560if test "x$ac_cv_have_decl_fma" = xyes; then : 9561 ac_have_decl=1 9562else 9563 ac_have_decl=0 9564fi 9565 9566cat >>confdefs.h <<_ACEOF 9567#define HAVE_DECL_FMA $ac_have_decl 9568_ACEOF 9569ac_fn_cxx_check_decl "$LINENO" "fmaf" "ac_cv_have_decl_fmaf" "#include <cmath> 9570" 9571if test "x$ac_cv_have_decl_fmaf" = xyes; then : 9572 ac_have_decl=1 9573else 9574 ac_have_decl=0 9575fi 9576 9577cat >>confdefs.h <<_ACEOF 9578#define HAVE_DECL_FMAF $ac_have_decl 9579_ACEOF 9580ac_fn_cxx_check_decl "$LINENO" "fmal" "ac_cv_have_decl_fmal" "#include <cmath> 9581" 9582if test "x$ac_cv_have_decl_fmal" = xyes; then : 9583 ac_have_decl=1 9584else 9585 ac_have_decl=0 9586fi 9587 9588cat >>confdefs.h <<_ACEOF 9589#define HAVE_DECL_FMAL $ac_have_decl 9590_ACEOF 9591ac_fn_cxx_check_decl "$LINENO" "rintf" "ac_cv_have_decl_rintf" "#include <cmath> 9592" 9593if test "x$ac_cv_have_decl_rintf" = xyes; then : 9594 ac_have_decl=1 9595else 9596 ac_have_decl=0 9597fi 9598 9599cat >>confdefs.h <<_ACEOF 9600#define HAVE_DECL_RINTF $ac_have_decl 9601_ACEOF 9602ac_fn_cxx_check_decl "$LINENO" "rintl" "ac_cv_have_decl_rintl" "#include <cmath> 9603" 9604if test "x$ac_cv_have_decl_rintl" = xyes; then : 9605 ac_have_decl=1 9606else 9607 ac_have_decl=0 9608fi 9609 9610cat >>confdefs.h <<_ACEOF 9611#define HAVE_DECL_RINTL $ac_have_decl 9612_ACEOF 9613 9614 9615# Checks for the availability of "fast" integral types. 9616ac_fn_cxx_check_type "$LINENO" "int_fast16_t" "ac_cv_type_int_fast16_t" "$ac_includes_default" 9617if test "x$ac_cv_type_int_fast16_t" = xyes; then : 9618 9619cat >>confdefs.h <<_ACEOF 9620#define HAVE_INT_FAST16_T 1 9621_ACEOF 9622 9623 9624fi 9625ac_fn_cxx_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "$ac_includes_default" 9626if test "x$ac_cv_type_int_fast32_t" = xyes; then : 9627 9628cat >>confdefs.h <<_ACEOF 9629#define HAVE_INT_FAST32_T 1 9630_ACEOF 9631 9632 9633fi 9634ac_fn_cxx_check_type "$LINENO" "int_fast64_t" "ac_cv_type_int_fast64_t" "$ac_includes_default" 9635if test "x$ac_cv_type_int_fast64_t" = xyes; then : 9636 9637cat >>confdefs.h <<_ACEOF 9638#define HAVE_INT_FAST64_T 1 9639_ACEOF 9640 9641 9642fi 9643ac_fn_cxx_check_type "$LINENO" "uint_fast16_t" "ac_cv_type_uint_fast16_t" "$ac_includes_default" 9644if test "x$ac_cv_type_uint_fast16_t" = xyes; then : 9645 9646cat >>confdefs.h <<_ACEOF 9647#define HAVE_UINT_FAST16_T 1 9648_ACEOF 9649 9650 9651fi 9652ac_fn_cxx_check_type "$LINENO" "uint_fast32_t" "ac_cv_type_uint_fast32_t" "$ac_includes_default" 9653if test "x$ac_cv_type_uint_fast32_t" = xyes; then : 9654 9655cat >>confdefs.h <<_ACEOF 9656#define HAVE_UINT_FAST32_T 1 9657_ACEOF 9658 9659 9660fi 9661ac_fn_cxx_check_type "$LINENO" "uint_fast64_t" "ac_cv_type_uint_fast64_t" "$ac_includes_default" 9662if test "x$ac_cv_type_uint_fast64_t" = xyes; then : 9663 9664cat >>confdefs.h <<_ACEOF 9665#define HAVE_UINT_FAST64_T 1 9666_ACEOF 9667 9668 9669fi 9670 9671 9672# Make sure uintptr_t is defined to an unsigned integer type wide enough 9673# to hold a pointer, if such a type exists. 9674 9675 ac_fn_cxx_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 9676if test "x$ac_cv_type_uintptr_t" = xyes; then : 9677 9678$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 9679 9680else 9681 for ac_type in 'unsigned int' 'unsigned long int' \ 9682 'unsigned long long int'; do 9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9684/* end confdefs.h. */ 9685$ac_includes_default 9686int 9687main () 9688{ 9689static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 9690test_array [0] = 0; 9691return test_array [0]; 9692 9693 ; 9694 return 0; 9695} 9696_ACEOF 9697if ac_fn_cxx_try_compile "$LINENO"; then : 9698 9699cat >>confdefs.h <<_ACEOF 9700#define uintptr_t $ac_type 9701_ACEOF 9702 9703 ac_type= 9704fi 9705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9706 test -z "$ac_type" && break 9707 done 9708fi 9709 9710 9711 9712 9713# Libtool. 9714 9715case `pwd` in 9716 *\ * | *\ *) 9717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 9718$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 9719esac 9720 9721 9722 9723macro_version='2.4.2' 9724macro_revision='1.3337' 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738ltmain="$ac_aux_dir/ltmain.sh" 9739 9740# Backslashify metacharacters that are still active within 9741# double-quoted strings. 9742sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 9743 9744# Same as above, but do not quote variable references. 9745double_quote_subst='s/\(["`\\]\)/\\\1/g' 9746 9747# Sed substitution to delay expansion of an escaped shell variable in a 9748# double_quote_subst'ed string. 9749delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 9750 9751# Sed substitution to delay expansion of an escaped single quote. 9752delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 9753 9754# Sed substitution to avoid accidental globbing in evaled expressions 9755no_glob_subst='s/\*/\\\*/g' 9756 9757ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9758ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 9759ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 9760 9761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 9762$as_echo_n "checking how to print strings... " >&6; } 9763# Test print first, because it will be a builtin if present. 9764if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 9765 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 9766 ECHO='print -r --' 9767elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 9768 ECHO='printf %s\n' 9769else 9770 # Use this function as a fallback that always works. 9771 func_fallback_echo () 9772 { 9773 eval 'cat <<_LTECHO_EOF 9774$1 9775_LTECHO_EOF' 9776 } 9777 ECHO='func_fallback_echo' 9778fi 9779 9780# func_echo_all arg... 9781# Invoke $ECHO with all args, space-separated. 9782func_echo_all () 9783{ 9784 $ECHO "" 9785} 9786 9787case "$ECHO" in 9788 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 9789$as_echo "printf" >&6; } ;; 9790 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 9791$as_echo "print -r" >&6; } ;; 9792 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 9793$as_echo "cat" >&6; } ;; 9794esac 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 9810$as_echo_n "checking for a sed that does not truncate output... " >&6; } 9811if ${ac_cv_path_SED+:} false; then : 9812 $as_echo_n "(cached) " >&6 9813else 9814 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 9815 for ac_i in 1 2 3 4 5 6 7; do 9816 ac_script="$ac_script$as_nl$ac_script" 9817 done 9818 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 9819 { ac_script=; unset ac_script;} 9820 if test -z "$SED"; then 9821 ac_path_SED_found=false 9822 # Loop through the user's path and test for each of PROGNAME-LIST 9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9824for as_dir in $PATH 9825do 9826 IFS=$as_save_IFS 9827 test -z "$as_dir" && as_dir=. 9828 for ac_prog in sed gsed; do 9829 for ac_exec_ext in '' $ac_executable_extensions; do 9830 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 9831 as_fn_executable_p "$ac_path_SED" || continue 9832# Check for GNU ac_path_SED and select it if it is found. 9833 # Check for GNU $ac_path_SED 9834case `"$ac_path_SED" --version 2>&1` in 9835*GNU*) 9836 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 9837*) 9838 ac_count=0 9839 $as_echo_n 0123456789 >"conftest.in" 9840 while : 9841 do 9842 cat "conftest.in" "conftest.in" >"conftest.tmp" 9843 mv "conftest.tmp" "conftest.in" 9844 cp "conftest.in" "conftest.nl" 9845 $as_echo '' >> "conftest.nl" 9846 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 9847 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 9848 as_fn_arith $ac_count + 1 && ac_count=$as_val 9849 if test $ac_count -gt ${ac_path_SED_max-0}; then 9850 # Best one so far, save it but keep looking for a better one 9851 ac_cv_path_SED="$ac_path_SED" 9852 ac_path_SED_max=$ac_count 9853 fi 9854 # 10*(2^10) chars as input seems more than enough 9855 test $ac_count -gt 10 && break 9856 done 9857 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 9858esac 9859 9860 $ac_path_SED_found && break 3 9861 done 9862 done 9863 done 9864IFS=$as_save_IFS 9865 if test -z "$ac_cv_path_SED"; then 9866 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 9867 fi 9868else 9869 ac_cv_path_SED=$SED 9870fi 9871 9872fi 9873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 9874$as_echo "$ac_cv_path_SED" >&6; } 9875 SED="$ac_cv_path_SED" 9876 rm -f conftest.sed 9877 9878test -z "$SED" && SED=sed 9879Xsed="$SED -e 1s/^X//" 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891test -z "$GREP" && GREP=grep 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911# Check whether --with-gnu-ld was given. 9912if test "${with_gnu_ld+set}" = set; then : 9913 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 9914else 9915 with_gnu_ld=no 9916fi 9917 9918ac_prog=ld 9919if test "$GCC" = yes; then 9920 # Check if gcc -print-prog-name=ld gives a path. 9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 9922$as_echo_n "checking for ld used by $CC... " >&6; } 9923 case $host in 9924 *-*-mingw*) 9925 # gcc leaves a trailing carriage return which upsets mingw 9926 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 9927 *) 9928 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 9929 esac 9930 case $ac_prog in 9931 # Accept absolute paths. 9932 [\\/]* | ?:[\\/]*) 9933 re_direlt='/[^/][^/]*/\.\./' 9934 # Canonicalize the pathname of ld 9935 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 9936 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 9937 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 9938 done 9939 test -z "$LD" && LD="$ac_prog" 9940 ;; 9941 "") 9942 # If it fails, then pretend we aren't using GCC. 9943 ac_prog=ld 9944 ;; 9945 *) 9946 # If it is relative, then search for the first ld in PATH. 9947 with_gnu_ld=unknown 9948 ;; 9949 esac 9950elif test "$with_gnu_ld" = yes; then 9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 9952$as_echo_n "checking for GNU ld... " >&6; } 9953else 9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 9955$as_echo_n "checking for non-GNU ld... " >&6; } 9956fi 9957if ${lt_cv_path_LD+:} false; then : 9958 $as_echo_n "(cached) " >&6 9959else 9960 if test -z "$LD"; then 9961 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 9962 for ac_dir in $PATH; do 9963 IFS="$lt_save_ifs" 9964 test -z "$ac_dir" && ac_dir=. 9965 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 9966 lt_cv_path_LD="$ac_dir/$ac_prog" 9967 # Check to see if the program is GNU ld. I'd rather use --version, 9968 # but apparently some variants of GNU ld only accept -v. 9969 # Break only if it was the GNU/non-GNU ld that we prefer. 9970 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 9971 *GNU* | *'with BFD'*) 9972 test "$with_gnu_ld" != no && break 9973 ;; 9974 *) 9975 test "$with_gnu_ld" != yes && break 9976 ;; 9977 esac 9978 fi 9979 done 9980 IFS="$lt_save_ifs" 9981else 9982 lt_cv_path_LD="$LD" # Let the user override the test with a path. 9983fi 9984fi 9985 9986LD="$lt_cv_path_LD" 9987if test -n "$LD"; then 9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 9989$as_echo "$LD" >&6; } 9990else 9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9992$as_echo "no" >&6; } 9993fi 9994test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 9995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 9996$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 9997if ${lt_cv_prog_gnu_ld+:} false; then : 9998 $as_echo_n "(cached) " >&6 9999else 10000 # I'd rather use --version here, but apparently some GNU lds only accept -v. 10001case `$LD -v 2>&1 </dev/null` in 10002*GNU* | *'with BFD'*) 10003 lt_cv_prog_gnu_ld=yes 10004 ;; 10005*) 10006 lt_cv_prog_gnu_ld=no 10007 ;; 10008esac 10009fi 10010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 10011$as_echo "$lt_cv_prog_gnu_ld" >&6; } 10012with_gnu_ld=$lt_cv_prog_gnu_ld 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 10023$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 10024if ${lt_cv_path_NM+:} false; then : 10025 $as_echo_n "(cached) " >&6 10026else 10027 if test -n "$NM"; then 10028 # Let the user override the test. 10029 lt_cv_path_NM="$NM" 10030else 10031 lt_nm_to_check="${ac_tool_prefix}nm" 10032 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 10033 lt_nm_to_check="$lt_nm_to_check nm" 10034 fi 10035 for lt_tmp_nm in $lt_nm_to_check; do 10036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 10037 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 10038 IFS="$lt_save_ifs" 10039 test -z "$ac_dir" && ac_dir=. 10040 tmp_nm="$ac_dir/$lt_tmp_nm" 10041 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 10042 # Check to see if the nm accepts a BSD-compat flag. 10043 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 10044 # nm: unknown option "B" ignored 10045 # Tru64's nm complains that /dev/null is an invalid object file 10046 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 10047 */dev/null* | *'Invalid file or object type'*) 10048 lt_cv_path_NM="$tmp_nm -B" 10049 break 10050 ;; 10051 *) 10052 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 10053 */dev/null*) 10054 lt_cv_path_NM="$tmp_nm -p" 10055 break 10056 ;; 10057 *) 10058 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 10059 continue # so that we can try to find one that supports BSD flags 10060 ;; 10061 esac 10062 ;; 10063 esac 10064 fi 10065 done 10066 IFS="$lt_save_ifs" 10067 done 10068 : ${lt_cv_path_NM=no} 10069fi 10070fi 10071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 10072$as_echo "$lt_cv_path_NM" >&6; } 10073if test "$lt_cv_path_NM" != "no"; then 10074 NM="$lt_cv_path_NM" 10075else 10076 # Didn't find any BSD compatible name lister, look for dumpbin. 10077 if test -n "$DUMPBIN"; then : 10078 # Let the user override the test. 10079 else 10080 if test -n "$ac_tool_prefix"; then 10081 for ac_prog in dumpbin "link -dump" 10082 do 10083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 10084set dummy $ac_tool_prefix$ac_prog; ac_word=$2 10085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10086$as_echo_n "checking for $ac_word... " >&6; } 10087if ${ac_cv_prog_DUMPBIN+:} false; then : 10088 $as_echo_n "(cached) " >&6 10089else 10090 if test -n "$DUMPBIN"; then 10091 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 10092else 10093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10094for as_dir in $PATH 10095do 10096 IFS=$as_save_IFS 10097 test -z "$as_dir" && as_dir=. 10098 for ac_exec_ext in '' $ac_executable_extensions; do 10099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10100 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 10101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10102 break 2 10103 fi 10104done 10105 done 10106IFS=$as_save_IFS 10107 10108fi 10109fi 10110DUMPBIN=$ac_cv_prog_DUMPBIN 10111if test -n "$DUMPBIN"; then 10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 10113$as_echo "$DUMPBIN" >&6; } 10114else 10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10116$as_echo "no" >&6; } 10117fi 10118 10119 10120 test -n "$DUMPBIN" && break 10121 done 10122fi 10123if test -z "$DUMPBIN"; then 10124 ac_ct_DUMPBIN=$DUMPBIN 10125 for ac_prog in dumpbin "link -dump" 10126do 10127 # Extract the first word of "$ac_prog", so it can be a program name with args. 10128set dummy $ac_prog; ac_word=$2 10129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10130$as_echo_n "checking for $ac_word... " >&6; } 10131if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 10132 $as_echo_n "(cached) " >&6 10133else 10134 if test -n "$ac_ct_DUMPBIN"; then 10135 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 10136else 10137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10138for as_dir in $PATH 10139do 10140 IFS=$as_save_IFS 10141 test -z "$as_dir" && as_dir=. 10142 for ac_exec_ext in '' $ac_executable_extensions; do 10143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10144 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 10145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10146 break 2 10147 fi 10148done 10149 done 10150IFS=$as_save_IFS 10151 10152fi 10153fi 10154ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 10155if test -n "$ac_ct_DUMPBIN"; then 10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 10157$as_echo "$ac_ct_DUMPBIN" >&6; } 10158else 10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10160$as_echo "no" >&6; } 10161fi 10162 10163 10164 test -n "$ac_ct_DUMPBIN" && break 10165done 10166 10167 if test "x$ac_ct_DUMPBIN" = x; then 10168 DUMPBIN=":" 10169 else 10170 case $cross_compiling:$ac_tool_warned in 10171yes:) 10172{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10173$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10174ac_tool_warned=yes ;; 10175esac 10176 DUMPBIN=$ac_ct_DUMPBIN 10177 fi 10178fi 10179 10180 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 10181 *COFF*) 10182 DUMPBIN="$DUMPBIN -symbols" 10183 ;; 10184 *) 10185 DUMPBIN=: 10186 ;; 10187 esac 10188 fi 10189 10190 if test "$DUMPBIN" != ":"; then 10191 NM="$DUMPBIN" 10192 fi 10193fi 10194test -z "$NM" && NM=nm 10195 10196 10197 10198 10199 10200 10201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 10202$as_echo_n "checking the name lister ($NM) interface... " >&6; } 10203if ${lt_cv_nm_interface+:} false; then : 10204 $as_echo_n "(cached) " >&6 10205else 10206 lt_cv_nm_interface="BSD nm" 10207 echo "int some_variable = 0;" > conftest.$ac_ext 10208 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 10209 (eval "$ac_compile" 2>conftest.err) 10210 cat conftest.err >&5 10211 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 10212 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 10213 cat conftest.err >&5 10214 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 10215 cat conftest.out >&5 10216 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 10217 lt_cv_nm_interface="MS dumpbin" 10218 fi 10219 rm -f conftest* 10220fi 10221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 10222$as_echo "$lt_cv_nm_interface" >&6; } 10223 10224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 10225$as_echo_n "checking whether ln -s works... " >&6; } 10226LN_S=$as_ln_s 10227if test "$LN_S" = "ln -s"; then 10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10229$as_echo "yes" >&6; } 10230else 10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 10232$as_echo "no, using $LN_S" >&6; } 10233fi 10234 10235# find the maximum length of command line arguments 10236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 10237$as_echo_n "checking the maximum length of command line arguments... " >&6; } 10238if ${lt_cv_sys_max_cmd_len+:} false; then : 10239 $as_echo_n "(cached) " >&6 10240else 10241 i=0 10242 teststring="ABCD" 10243 10244 case $build_os in 10245 msdosdjgpp*) 10246 # On DJGPP, this test can blow up pretty badly due to problems in libc 10247 # (any single argument exceeding 2000 bytes causes a buffer overrun 10248 # during glob expansion). Even if it were fixed, the result of this 10249 # check would be larger than it should be. 10250 lt_cv_sys_max_cmd_len=12288; # 12K is about right 10251 ;; 10252 10253 gnu*) 10254 # Under GNU Hurd, this test is not required because there is 10255 # no limit to the length of command line arguments. 10256 # Libtool will interpret -1 as no limit whatsoever 10257 lt_cv_sys_max_cmd_len=-1; 10258 ;; 10259 10260 cygwin* | mingw* | cegcc*) 10261 # On Win9x/ME, this test blows up -- it succeeds, but takes 10262 # about 5 minutes as the teststring grows exponentially. 10263 # Worse, since 9x/ME are not pre-emptively multitasking, 10264 # you end up with a "frozen" computer, even though with patience 10265 # the test eventually succeeds (with a max line length of 256k). 10266 # Instead, let's just punt: use the minimum linelength reported by 10267 # all of the supported platforms: 8192 (on NT/2K/XP). 10268 lt_cv_sys_max_cmd_len=8192; 10269 ;; 10270 10271 mint*) 10272 # On MiNT this can take a long time and run out of memory. 10273 lt_cv_sys_max_cmd_len=8192; 10274 ;; 10275 10276 amigaos*) 10277 # On AmigaOS with pdksh, this test takes hours, literally. 10278 # So we just punt and use a minimum line length of 8192. 10279 lt_cv_sys_max_cmd_len=8192; 10280 ;; 10281 10282 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 10283 # This has been around since 386BSD, at least. Likely further. 10284 if test -x /sbin/sysctl; then 10285 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 10286 elif test -x /usr/sbin/sysctl; then 10287 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 10288 else 10289 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 10290 fi 10291 # And add a safety zone 10292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10294 ;; 10295 10296 interix*) 10297 # We know the value 262144 and hardcode it with a safety zone (like BSD) 10298 lt_cv_sys_max_cmd_len=196608 10299 ;; 10300 10301 os2*) 10302 # The test takes a long time on OS/2. 10303 lt_cv_sys_max_cmd_len=8192 10304 ;; 10305 10306 osf*) 10307 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 10308 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 10309 # nice to cause kernel panics so lets avoid the loop below. 10310 # First set a reasonable default. 10311 lt_cv_sys_max_cmd_len=16384 10312 # 10313 if test -x /sbin/sysconfig; then 10314 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 10315 *1*) lt_cv_sys_max_cmd_len=-1 ;; 10316 esac 10317 fi 10318 ;; 10319 sco3.2v5*) 10320 lt_cv_sys_max_cmd_len=102400 10321 ;; 10322 sysv5* | sco5v6* | sysv4.2uw2*) 10323 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 10324 if test -n "$kargmax"; then 10325 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 10326 else 10327 lt_cv_sys_max_cmd_len=32768 10328 fi 10329 ;; 10330 *) 10331 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 10332 if test -n "$lt_cv_sys_max_cmd_len"; then 10333 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 10334 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 10335 else 10336 # Make teststring a little bigger before we do anything with it. 10337 # a 1K string should be a reasonable start. 10338 for i in 1 2 3 4 5 6 7 8 ; do 10339 teststring=$teststring$teststring 10340 done 10341 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 10342 # If test is not a shell built-in, we'll probably end up computing a 10343 # maximum length that is only half of the actual maximum length, but 10344 # we can't tell. 10345 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 10346 = "X$teststring$teststring"; } >/dev/null 2>&1 && 10347 test $i != 17 # 1/2 MB should be enough 10348 do 10349 i=`expr $i + 1` 10350 teststring=$teststring$teststring 10351 done 10352 # Only check the string length outside the loop. 10353 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 10354 teststring= 10355 # Add a significant safety factor because C++ compilers can tack on 10356 # massive amounts of additional arguments before passing them to the 10357 # linker. It appears as though 1/2 is a usable value. 10358 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 10359 fi 10360 ;; 10361 esac 10362 10363fi 10364 10365if test -n $lt_cv_sys_max_cmd_len ; then 10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 10367$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 10368else 10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 10370$as_echo "none" >&6; } 10371fi 10372max_cmd_len=$lt_cv_sys_max_cmd_len 10373 10374 10375 10376 10377 10378 10379: ${CP="cp -f"} 10380: ${MV="mv -f"} 10381: ${RM="rm -f"} 10382 10383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 10384$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 10385# Try some XSI features 10386xsi_shell=no 10387( _lt_dummy="a/b/c" 10388 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 10389 = c,a/b,b/c, \ 10390 && eval 'test $(( 1 + 1 )) -eq 2 \ 10391 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 10392 && xsi_shell=yes 10393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 10394$as_echo "$xsi_shell" >&6; } 10395 10396 10397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 10398$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 10399lt_shell_append=no 10400( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 10401 >/dev/null 2>&1 \ 10402 && lt_shell_append=yes 10403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 10404$as_echo "$lt_shell_append" >&6; } 10405 10406 10407if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 10408 lt_unset=unset 10409else 10410 lt_unset=false 10411fi 10412 10413 10414 10415 10416 10417# test EBCDIC or ASCII 10418case `echo X|tr X '\101'` in 10419 A) # ASCII based system 10420 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 10421 lt_SP2NL='tr \040 \012' 10422 lt_NL2SP='tr \015\012 \040\040' 10423 ;; 10424 *) # EBCDIC based system 10425 lt_SP2NL='tr \100 \n' 10426 lt_NL2SP='tr \r\n \100\100' 10427 ;; 10428esac 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 10439$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 10440if ${lt_cv_to_host_file_cmd+:} false; then : 10441 $as_echo_n "(cached) " >&6 10442else 10443 case $host in 10444 *-*-mingw* ) 10445 case $build in 10446 *-*-mingw* ) # actually msys 10447 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 10448 ;; 10449 *-*-cygwin* ) 10450 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 10451 ;; 10452 * ) # otherwise, assume *nix 10453 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 10454 ;; 10455 esac 10456 ;; 10457 *-*-cygwin* ) 10458 case $build in 10459 *-*-mingw* ) # actually msys 10460 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 10461 ;; 10462 *-*-cygwin* ) 10463 lt_cv_to_host_file_cmd=func_convert_file_noop 10464 ;; 10465 * ) # otherwise, assume *nix 10466 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 10467 ;; 10468 esac 10469 ;; 10470 * ) # unhandled hosts (and "normal" native builds) 10471 lt_cv_to_host_file_cmd=func_convert_file_noop 10472 ;; 10473esac 10474 10475fi 10476 10477to_host_file_cmd=$lt_cv_to_host_file_cmd 10478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 10479$as_echo "$lt_cv_to_host_file_cmd" >&6; } 10480 10481 10482 10483 10484 10485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 10486$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 10487if ${lt_cv_to_tool_file_cmd+:} false; then : 10488 $as_echo_n "(cached) " >&6 10489else 10490 #assume ordinary cross tools, or native build. 10491lt_cv_to_tool_file_cmd=func_convert_file_noop 10492case $host in 10493 *-*-mingw* ) 10494 case $build in 10495 *-*-mingw* ) # actually msys 10496 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 10497 ;; 10498 esac 10499 ;; 10500esac 10501 10502fi 10503 10504to_tool_file_cmd=$lt_cv_to_tool_file_cmd 10505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 10506$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 10507 10508 10509 10510 10511 10512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 10513$as_echo_n "checking for $LD option to reload object files... " >&6; } 10514if ${lt_cv_ld_reload_flag+:} false; then : 10515 $as_echo_n "(cached) " >&6 10516else 10517 lt_cv_ld_reload_flag='-r' 10518fi 10519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 10520$as_echo "$lt_cv_ld_reload_flag" >&6; } 10521reload_flag=$lt_cv_ld_reload_flag 10522case $reload_flag in 10523"" | " "*) ;; 10524*) reload_flag=" $reload_flag" ;; 10525esac 10526reload_cmds='$LD$reload_flag -o $output$reload_objs' 10527case $host_os in 10528 cygwin* | mingw* | pw32* | cegcc*) 10529 if test "$GCC" != yes; then 10530 reload_cmds=false 10531 fi 10532 ;; 10533 darwin*) 10534 if test "$GCC" = yes; then 10535 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 10536 else 10537 reload_cmds='$LD$reload_flag -o $output$reload_objs' 10538 fi 10539 ;; 10540esac 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550if test -n "$ac_tool_prefix"; then 10551 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 10552set dummy ${ac_tool_prefix}objdump; ac_word=$2 10553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10554$as_echo_n "checking for $ac_word... " >&6; } 10555if ${ac_cv_prog_OBJDUMP+:} false; then : 10556 $as_echo_n "(cached) " >&6 10557else 10558 if test -n "$OBJDUMP"; then 10559 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 10560else 10561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10562for as_dir in $PATH 10563do 10564 IFS=$as_save_IFS 10565 test -z "$as_dir" && as_dir=. 10566 for ac_exec_ext in '' $ac_executable_extensions; do 10567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10568 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 10569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10570 break 2 10571 fi 10572done 10573 done 10574IFS=$as_save_IFS 10575 10576fi 10577fi 10578OBJDUMP=$ac_cv_prog_OBJDUMP 10579if test -n "$OBJDUMP"; then 10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 10581$as_echo "$OBJDUMP" >&6; } 10582else 10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10584$as_echo "no" >&6; } 10585fi 10586 10587 10588fi 10589if test -z "$ac_cv_prog_OBJDUMP"; then 10590 ac_ct_OBJDUMP=$OBJDUMP 10591 # Extract the first word of "objdump", so it can be a program name with args. 10592set dummy objdump; ac_word=$2 10593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10594$as_echo_n "checking for $ac_word... " >&6; } 10595if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 10596 $as_echo_n "(cached) " >&6 10597else 10598 if test -n "$ac_ct_OBJDUMP"; then 10599 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 10600else 10601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10602for as_dir in $PATH 10603do 10604 IFS=$as_save_IFS 10605 test -z "$as_dir" && as_dir=. 10606 for ac_exec_ext in '' $ac_executable_extensions; do 10607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10608 ac_cv_prog_ac_ct_OBJDUMP="objdump" 10609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10610 break 2 10611 fi 10612done 10613 done 10614IFS=$as_save_IFS 10615 10616fi 10617fi 10618ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 10619if test -n "$ac_ct_OBJDUMP"; then 10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 10621$as_echo "$ac_ct_OBJDUMP" >&6; } 10622else 10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10624$as_echo "no" >&6; } 10625fi 10626 10627 if test "x$ac_ct_OBJDUMP" = x; then 10628 OBJDUMP="false" 10629 else 10630 case $cross_compiling:$ac_tool_warned in 10631yes:) 10632{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10633$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10634ac_tool_warned=yes ;; 10635esac 10636 OBJDUMP=$ac_ct_OBJDUMP 10637 fi 10638else 10639 OBJDUMP="$ac_cv_prog_OBJDUMP" 10640fi 10641 10642test -z "$OBJDUMP" && OBJDUMP=objdump 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 10653$as_echo_n "checking how to recognize dependent libraries... " >&6; } 10654if ${lt_cv_deplibs_check_method+:} false; then : 10655 $as_echo_n "(cached) " >&6 10656else 10657 lt_cv_file_magic_cmd='$MAGIC_CMD' 10658lt_cv_file_magic_test_file= 10659lt_cv_deplibs_check_method='unknown' 10660# Need to set the preceding variable on all platforms that support 10661# interlibrary dependencies. 10662# 'none' -- dependencies not supported. 10663# `unknown' -- same as none, but documents that we really don't know. 10664# 'pass_all' -- all dependencies passed with no checks. 10665# 'test_compile' -- check by making test program. 10666# 'file_magic [[regex]]' -- check by looking for files in library path 10667# which responds to the $file_magic_cmd with a given extended regex. 10668# If you have `file' or equivalent on your system and you're not sure 10669# whether `pass_all' will *always* work, you probably want this one. 10670 10671case $host_os in 10672aix[4-9]*) 10673 lt_cv_deplibs_check_method=pass_all 10674 ;; 10675 10676beos*) 10677 lt_cv_deplibs_check_method=pass_all 10678 ;; 10679 10680bsdi[45]*) 10681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 10682 lt_cv_file_magic_cmd='/usr/bin/file -L' 10683 lt_cv_file_magic_test_file=/shlib/libc.so 10684 ;; 10685 10686cygwin*) 10687 # func_win32_libid is a shell function defined in ltmain.sh 10688 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 10689 lt_cv_file_magic_cmd='func_win32_libid' 10690 ;; 10691 10692mingw* | pw32*) 10693 # Base MSYS/MinGW do not provide the 'file' command needed by 10694 # func_win32_libid shell function, so use a weaker test based on 'objdump', 10695 # unless we find 'file', for example because we are cross-compiling. 10696 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 10697 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 10698 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 10699 lt_cv_file_magic_cmd='func_win32_libid' 10700 else 10701 # Keep this pattern in sync with the one in func_win32_libid. 10702 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 10703 lt_cv_file_magic_cmd='$OBJDUMP -f' 10704 fi 10705 ;; 10706 10707cegcc*) 10708 # use the weaker test based on 'objdump'. See mingw*. 10709 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 10710 lt_cv_file_magic_cmd='$OBJDUMP -f' 10711 ;; 10712 10713darwin* | rhapsody*) 10714 lt_cv_deplibs_check_method=pass_all 10715 ;; 10716 10717freebsd* | dragonfly*) 10718 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 10719 case $host_cpu in 10720 i*86 ) 10721 # Not sure whether the presence of OpenBSD here was a mistake. 10722 # Let's accept both of them until this is cleared up. 10723 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 10724 lt_cv_file_magic_cmd=/usr/bin/file 10725 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 10726 ;; 10727 esac 10728 else 10729 lt_cv_deplibs_check_method=pass_all 10730 fi 10731 ;; 10732 10733gnu*) 10734 lt_cv_deplibs_check_method=pass_all 10735 ;; 10736 10737haiku*) 10738 lt_cv_deplibs_check_method=pass_all 10739 ;; 10740 10741hpux10.20* | hpux11*) 10742 lt_cv_file_magic_cmd=/usr/bin/file 10743 case $host_cpu in 10744 ia64*) 10745 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 10746 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 10747 ;; 10748 hppa*64*) 10749 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]' 10750 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 10751 ;; 10752 *) 10753 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 10754 lt_cv_file_magic_test_file=/usr/lib/libc.sl 10755 ;; 10756 esac 10757 ;; 10758 10759interix[3-9]*) 10760 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 10761 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 10762 ;; 10763 10764irix5* | irix6* | nonstopux*) 10765 case $LD in 10766 *-32|*"-32 ") libmagic=32-bit;; 10767 *-n32|*"-n32 ") libmagic=N32;; 10768 *-64|*"-64 ") libmagic=64-bit;; 10769 *) libmagic=never-match;; 10770 esac 10771 lt_cv_deplibs_check_method=pass_all 10772 ;; 10773 10774# This must be glibc/ELF. 10775linux* | k*bsd*-gnu | kopensolaris*-gnu) 10776 lt_cv_deplibs_check_method=pass_all 10777 ;; 10778 10779netbsd*) 10780 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 10781 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 10782 else 10783 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 10784 fi 10785 ;; 10786 10787newos6*) 10788 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 10789 lt_cv_file_magic_cmd=/usr/bin/file 10790 lt_cv_file_magic_test_file=/usr/lib/libnls.so 10791 ;; 10792 10793*nto* | *qnx*) 10794 lt_cv_deplibs_check_method=pass_all 10795 ;; 10796 10797openbsd*) 10798 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10799 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 10800 else 10801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 10802 fi 10803 ;; 10804 10805osf3* | osf4* | osf5*) 10806 lt_cv_deplibs_check_method=pass_all 10807 ;; 10808 10809rdos*) 10810 lt_cv_deplibs_check_method=pass_all 10811 ;; 10812 10813solaris*) 10814 lt_cv_deplibs_check_method=pass_all 10815 ;; 10816 10817sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10818 lt_cv_deplibs_check_method=pass_all 10819 ;; 10820 10821sysv4 | sysv4.3*) 10822 case $host_vendor in 10823 motorola) 10824 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]' 10825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 10826 ;; 10827 ncr) 10828 lt_cv_deplibs_check_method=pass_all 10829 ;; 10830 sequent) 10831 lt_cv_file_magic_cmd='/bin/file' 10832 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 10833 ;; 10834 sni) 10835 lt_cv_file_magic_cmd='/bin/file' 10836 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 10837 lt_cv_file_magic_test_file=/lib/libc.so 10838 ;; 10839 siemens) 10840 lt_cv_deplibs_check_method=pass_all 10841 ;; 10842 pc) 10843 lt_cv_deplibs_check_method=pass_all 10844 ;; 10845 esac 10846 ;; 10847 10848tpf*) 10849 lt_cv_deplibs_check_method=pass_all 10850 ;; 10851esac 10852 10853fi 10854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 10855$as_echo "$lt_cv_deplibs_check_method" >&6; } 10856 10857file_magic_glob= 10858want_nocaseglob=no 10859if test "$build" = "$host"; then 10860 case $host_os in 10861 mingw* | pw32*) 10862 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 10863 want_nocaseglob=yes 10864 else 10865 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 10866 fi 10867 ;; 10868 esac 10869fi 10870 10871file_magic_cmd=$lt_cv_file_magic_cmd 10872deplibs_check_method=$lt_cv_deplibs_check_method 10873test -z "$deplibs_check_method" && deplibs_check_method=unknown 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896if test -n "$ac_tool_prefix"; then 10897 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 10898set dummy ${ac_tool_prefix}dlltool; ac_word=$2 10899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10900$as_echo_n "checking for $ac_word... " >&6; } 10901if ${ac_cv_prog_DLLTOOL+:} false; then : 10902 $as_echo_n "(cached) " >&6 10903else 10904 if test -n "$DLLTOOL"; then 10905 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 10906else 10907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10908for as_dir in $PATH 10909do 10910 IFS=$as_save_IFS 10911 test -z "$as_dir" && as_dir=. 10912 for ac_exec_ext in '' $ac_executable_extensions; do 10913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10914 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 10915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10916 break 2 10917 fi 10918done 10919 done 10920IFS=$as_save_IFS 10921 10922fi 10923fi 10924DLLTOOL=$ac_cv_prog_DLLTOOL 10925if test -n "$DLLTOOL"; then 10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 10927$as_echo "$DLLTOOL" >&6; } 10928else 10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10930$as_echo "no" >&6; } 10931fi 10932 10933 10934fi 10935if test -z "$ac_cv_prog_DLLTOOL"; then 10936 ac_ct_DLLTOOL=$DLLTOOL 10937 # Extract the first word of "dlltool", so it can be a program name with args. 10938set dummy dlltool; ac_word=$2 10939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10940$as_echo_n "checking for $ac_word... " >&6; } 10941if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 10942 $as_echo_n "(cached) " >&6 10943else 10944 if test -n "$ac_ct_DLLTOOL"; then 10945 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 10946else 10947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10948for as_dir in $PATH 10949do 10950 IFS=$as_save_IFS 10951 test -z "$as_dir" && as_dir=. 10952 for ac_exec_ext in '' $ac_executable_extensions; do 10953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10954 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 10955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10956 break 2 10957 fi 10958done 10959 done 10960IFS=$as_save_IFS 10961 10962fi 10963fi 10964ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 10965if test -n "$ac_ct_DLLTOOL"; then 10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 10967$as_echo "$ac_ct_DLLTOOL" >&6; } 10968else 10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10970$as_echo "no" >&6; } 10971fi 10972 10973 if test "x$ac_ct_DLLTOOL" = x; then 10974 DLLTOOL="false" 10975 else 10976 case $cross_compiling:$ac_tool_warned in 10977yes:) 10978{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10979$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10980ac_tool_warned=yes ;; 10981esac 10982 DLLTOOL=$ac_ct_DLLTOOL 10983 fi 10984else 10985 DLLTOOL="$ac_cv_prog_DLLTOOL" 10986fi 10987 10988test -z "$DLLTOOL" && DLLTOOL=dlltool 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 11000$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 11001if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 11002 $as_echo_n "(cached) " >&6 11003else 11004 lt_cv_sharedlib_from_linklib_cmd='unknown' 11005 11006case $host_os in 11007cygwin* | mingw* | pw32* | cegcc*) 11008 # two different shell functions defined in ltmain.sh 11009 # decide which to use based on capabilities of $DLLTOOL 11010 case `$DLLTOOL --help 2>&1` in 11011 *--identify-strict*) 11012 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 11013 ;; 11014 *) 11015 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 11016 ;; 11017 esac 11018 ;; 11019*) 11020 # fallback: assume linklib IS sharedlib 11021 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 11022 ;; 11023esac 11024 11025fi 11026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 11027$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 11028sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 11029test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 11030 11031 11032 11033 11034 11035 11036 11037if test -n "$ac_tool_prefix"; then 11038 for ac_prog in ar 11039 do 11040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 11041set dummy $ac_tool_prefix$ac_prog; ac_word=$2 11042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11043$as_echo_n "checking for $ac_word... " >&6; } 11044if ${ac_cv_prog_AR+:} false; then : 11045 $as_echo_n "(cached) " >&6 11046else 11047 if test -n "$AR"; then 11048 ac_cv_prog_AR="$AR" # Let the user override the test. 11049else 11050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11051for as_dir in $PATH 11052do 11053 IFS=$as_save_IFS 11054 test -z "$as_dir" && as_dir=. 11055 for ac_exec_ext in '' $ac_executable_extensions; do 11056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11057 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 11058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11059 break 2 11060 fi 11061done 11062 done 11063IFS=$as_save_IFS 11064 11065fi 11066fi 11067AR=$ac_cv_prog_AR 11068if test -n "$AR"; then 11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 11070$as_echo "$AR" >&6; } 11071else 11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11073$as_echo "no" >&6; } 11074fi 11075 11076 11077 test -n "$AR" && break 11078 done 11079fi 11080if test -z "$AR"; then 11081 ac_ct_AR=$AR 11082 for ac_prog in ar 11083do 11084 # Extract the first word of "$ac_prog", so it can be a program name with args. 11085set dummy $ac_prog; ac_word=$2 11086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11087$as_echo_n "checking for $ac_word... " >&6; } 11088if ${ac_cv_prog_ac_ct_AR+:} false; then : 11089 $as_echo_n "(cached) " >&6 11090else 11091 if test -n "$ac_ct_AR"; then 11092 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 11093else 11094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11095for as_dir in $PATH 11096do 11097 IFS=$as_save_IFS 11098 test -z "$as_dir" && as_dir=. 11099 for ac_exec_ext in '' $ac_executable_extensions; do 11100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11101 ac_cv_prog_ac_ct_AR="$ac_prog" 11102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11103 break 2 11104 fi 11105done 11106 done 11107IFS=$as_save_IFS 11108 11109fi 11110fi 11111ac_ct_AR=$ac_cv_prog_ac_ct_AR 11112if test -n "$ac_ct_AR"; then 11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 11114$as_echo "$ac_ct_AR" >&6; } 11115else 11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11117$as_echo "no" >&6; } 11118fi 11119 11120 11121 test -n "$ac_ct_AR" && break 11122done 11123 11124 if test "x$ac_ct_AR" = x; then 11125 AR="false" 11126 else 11127 case $cross_compiling:$ac_tool_warned in 11128yes:) 11129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11131ac_tool_warned=yes ;; 11132esac 11133 AR=$ac_ct_AR 11134 fi 11135fi 11136 11137: ${AR=ar} 11138: ${AR_FLAGS=cru} 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 11151$as_echo_n "checking for archiver @FILE support... " >&6; } 11152if ${lt_cv_ar_at_file+:} false; then : 11153 $as_echo_n "(cached) " >&6 11154else 11155 lt_cv_ar_at_file=no 11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11157/* end confdefs.h. */ 11158 11159int 11160main () 11161{ 11162 11163 ; 11164 return 0; 11165} 11166_ACEOF 11167if ac_fn_cxx_try_compile "$LINENO"; then : 11168 echo conftest.$ac_objext > conftest.lst 11169 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 11170 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 11171 (eval $lt_ar_try) 2>&5 11172 ac_status=$? 11173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11174 test $ac_status = 0; } 11175 if test "$ac_status" -eq 0; then 11176 # Ensure the archiver fails upon bogus file names. 11177 rm -f conftest.$ac_objext libconftest.a 11178 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 11179 (eval $lt_ar_try) 2>&5 11180 ac_status=$? 11181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11182 test $ac_status = 0; } 11183 if test "$ac_status" -ne 0; then 11184 lt_cv_ar_at_file=@ 11185 fi 11186 fi 11187 rm -f conftest.* libconftest.a 11188 11189fi 11190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11191 11192fi 11193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 11194$as_echo "$lt_cv_ar_at_file" >&6; } 11195 11196if test "x$lt_cv_ar_at_file" = xno; then 11197 archiver_list_spec= 11198else 11199 archiver_list_spec=$lt_cv_ar_at_file 11200fi 11201 11202 11203 11204 11205 11206 11207 11208if test -n "$ac_tool_prefix"; then 11209 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 11210set dummy ${ac_tool_prefix}strip; ac_word=$2 11211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11212$as_echo_n "checking for $ac_word... " >&6; } 11213if ${ac_cv_prog_STRIP+:} false; then : 11214 $as_echo_n "(cached) " >&6 11215else 11216 if test -n "$STRIP"; then 11217 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 11218else 11219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11220for as_dir in $PATH 11221do 11222 IFS=$as_save_IFS 11223 test -z "$as_dir" && as_dir=. 11224 for ac_exec_ext in '' $ac_executable_extensions; do 11225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11226 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 11227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11228 break 2 11229 fi 11230done 11231 done 11232IFS=$as_save_IFS 11233 11234fi 11235fi 11236STRIP=$ac_cv_prog_STRIP 11237if test -n "$STRIP"; then 11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 11239$as_echo "$STRIP" >&6; } 11240else 11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11242$as_echo "no" >&6; } 11243fi 11244 11245 11246fi 11247if test -z "$ac_cv_prog_STRIP"; then 11248 ac_ct_STRIP=$STRIP 11249 # Extract the first word of "strip", so it can be a program name with args. 11250set dummy strip; ac_word=$2 11251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11252$as_echo_n "checking for $ac_word... " >&6; } 11253if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 11254 $as_echo_n "(cached) " >&6 11255else 11256 if test -n "$ac_ct_STRIP"; then 11257 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 11258else 11259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11260for as_dir in $PATH 11261do 11262 IFS=$as_save_IFS 11263 test -z "$as_dir" && as_dir=. 11264 for ac_exec_ext in '' $ac_executable_extensions; do 11265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11266 ac_cv_prog_ac_ct_STRIP="strip" 11267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11268 break 2 11269 fi 11270done 11271 done 11272IFS=$as_save_IFS 11273 11274fi 11275fi 11276ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 11277if test -n "$ac_ct_STRIP"; then 11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 11279$as_echo "$ac_ct_STRIP" >&6; } 11280else 11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11282$as_echo "no" >&6; } 11283fi 11284 11285 if test "x$ac_ct_STRIP" = x; then 11286 STRIP=":" 11287 else 11288 case $cross_compiling:$ac_tool_warned in 11289yes:) 11290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11292ac_tool_warned=yes ;; 11293esac 11294 STRIP=$ac_ct_STRIP 11295 fi 11296else 11297 STRIP="$ac_cv_prog_STRIP" 11298fi 11299 11300test -z "$STRIP" && STRIP=: 11301 11302 11303 11304 11305 11306 11307if test -n "$ac_tool_prefix"; then 11308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 11309set dummy ${ac_tool_prefix}ranlib; ac_word=$2 11310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11311$as_echo_n "checking for $ac_word... " >&6; } 11312if ${ac_cv_prog_RANLIB+:} false; then : 11313 $as_echo_n "(cached) " >&6 11314else 11315 if test -n "$RANLIB"; then 11316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 11317else 11318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11319for as_dir in $PATH 11320do 11321 IFS=$as_save_IFS 11322 test -z "$as_dir" && as_dir=. 11323 for ac_exec_ext in '' $ac_executable_extensions; do 11324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11325 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 11326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11327 break 2 11328 fi 11329done 11330 done 11331IFS=$as_save_IFS 11332 11333fi 11334fi 11335RANLIB=$ac_cv_prog_RANLIB 11336if test -n "$RANLIB"; then 11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 11338$as_echo "$RANLIB" >&6; } 11339else 11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11341$as_echo "no" >&6; } 11342fi 11343 11344 11345fi 11346if test -z "$ac_cv_prog_RANLIB"; then 11347 ac_ct_RANLIB=$RANLIB 11348 # Extract the first word of "ranlib", so it can be a program name with args. 11349set dummy ranlib; ac_word=$2 11350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11351$as_echo_n "checking for $ac_word... " >&6; } 11352if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 11353 $as_echo_n "(cached) " >&6 11354else 11355 if test -n "$ac_ct_RANLIB"; then 11356 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 11357else 11358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11359for as_dir in $PATH 11360do 11361 IFS=$as_save_IFS 11362 test -z "$as_dir" && as_dir=. 11363 for ac_exec_ext in '' $ac_executable_extensions; do 11364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11365 ac_cv_prog_ac_ct_RANLIB="ranlib" 11366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11367 break 2 11368 fi 11369done 11370 done 11371IFS=$as_save_IFS 11372 11373fi 11374fi 11375ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 11376if test -n "$ac_ct_RANLIB"; then 11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 11378$as_echo "$ac_ct_RANLIB" >&6; } 11379else 11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11381$as_echo "no" >&6; } 11382fi 11383 11384 if test "x$ac_ct_RANLIB" = x; then 11385 RANLIB=":" 11386 else 11387 case $cross_compiling:$ac_tool_warned in 11388yes:) 11389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11391ac_tool_warned=yes ;; 11392esac 11393 RANLIB=$ac_ct_RANLIB 11394 fi 11395else 11396 RANLIB="$ac_cv_prog_RANLIB" 11397fi 11398 11399test -z "$RANLIB" && RANLIB=: 11400 11401 11402 11403 11404 11405 11406# Determine commands to create old-style static archives. 11407old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 11408old_postinstall_cmds='chmod 644 $oldlib' 11409old_postuninstall_cmds= 11410 11411if test -n "$RANLIB"; then 11412 case $host_os in 11413 openbsd*) 11414 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 11415 ;; 11416 *) 11417 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 11418 ;; 11419 esac 11420 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 11421fi 11422 11423case $host_os in 11424 darwin*) 11425 lock_old_archive_extraction=yes ;; 11426 *) 11427 lock_old_archive_extraction=no ;; 11428esac 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468# If no C compiler was specified, use CC. 11469LTCC=${LTCC-"$CC"} 11470 11471# If no C compiler flags were specified, use CFLAGS. 11472LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11473 11474# Allow CC to be a program name with arguments. 11475compiler=$CC 11476 11477 11478# Check for command to grab the raw symbol name followed by C symbol from nm. 11479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 11480$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 11481if ${lt_cv_sys_global_symbol_pipe+:} false; then : 11482 $as_echo_n "(cached) " >&6 11483else 11484 11485# These are sane defaults that work on at least a few old systems. 11486# [They come from Ultrix. What could be older than Ultrix?!! ;)] 11487 11488# Character class describing NM global symbol codes. 11489symcode='[BCDEGRST]' 11490 11491# Regexp to match symbols that can be accessed directly from C. 11492sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 11493 11494# Define system-specific variables. 11495case $host_os in 11496aix*) 11497 symcode='[BCDT]' 11498 ;; 11499cygwin* | mingw* | pw32* | cegcc*) 11500 symcode='[ABCDGISTW]' 11501 ;; 11502hpux*) 11503 if test "$host_cpu" = ia64; then 11504 symcode='[ABCDEGRST]' 11505 fi 11506 ;; 11507irix* | nonstopux*) 11508 symcode='[BCDEGRST]' 11509 ;; 11510osf*) 11511 symcode='[BCDEGQRST]' 11512 ;; 11513solaris*) 11514 symcode='[BDRT]' 11515 ;; 11516sco3.2v5*) 11517 symcode='[DT]' 11518 ;; 11519sysv4.2uw2*) 11520 symcode='[DT]' 11521 ;; 11522sysv5* | sco5v6* | unixware* | OpenUNIX*) 11523 symcode='[ABDT]' 11524 ;; 11525sysv4) 11526 symcode='[DFNSTU]' 11527 ;; 11528esac 11529 11530# If we're using GNU nm, then use its standard symbol codes. 11531case `$NM -V 2>&1` in 11532*GNU* | *'with BFD'*) 11533 symcode='[ABCDGIRSTW]' ;; 11534esac 11535 11536# Transform an extracted symbol line into a proper C declaration. 11537# Some systems (esp. on ia64) link data and code symbols differently, 11538# so use this general approach. 11539lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 11540 11541# Transform an extracted symbol line into symbol name and symbol address 11542lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 11543lt_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'" 11544 11545# Handle CRLF in mingw tool chain 11546opt_cr= 11547case $build_os in 11548mingw*) 11549 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 11550 ;; 11551esac 11552 11553# Try without a prefix underscore, then with it. 11554for ac_symprfx in "" "_"; do 11555 11556 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 11557 symxfrm="\\1 $ac_symprfx\\2 \\2" 11558 11559 # Write the raw and C identifiers. 11560 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 11561 # Fake it for dumpbin and say T for any non-static function 11562 # and D for any global variable. 11563 # Also find C++ and __fastcall symbols from MSVC++, 11564 # which start with @ or ?. 11565 lt_cv_sys_global_symbol_pipe="$AWK '"\ 11566" {last_section=section; section=\$ 3};"\ 11567" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 11568" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 11569" \$ 0!~/External *\|/{next};"\ 11570" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 11571" {if(hide[section]) next};"\ 11572" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 11573" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 11574" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 11575" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 11576" ' prfx=^$ac_symprfx" 11577 else 11578 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 11579 fi 11580 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 11581 11582 # Check to see that the pipe works correctly. 11583 pipe_works=no 11584 11585 rm -f conftest* 11586 cat > conftest.$ac_ext <<_LT_EOF 11587#ifdef __cplusplus 11588extern "C" { 11589#endif 11590char nm_test_var; 11591void nm_test_func(void); 11592void nm_test_func(void){} 11593#ifdef __cplusplus 11594} 11595#endif 11596int main(){nm_test_var='a';nm_test_func();return(0);} 11597_LT_EOF 11598 11599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11600 (eval $ac_compile) 2>&5 11601 ac_status=$? 11602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11603 test $ac_status = 0; }; then 11604 # Now try to grab the symbols. 11605 nlist=conftest.nm 11606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 11607 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 11608 ac_status=$? 11609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11610 test $ac_status = 0; } && test -s "$nlist"; then 11611 # Try sorting and uniquifying the output. 11612 if sort "$nlist" | uniq > "$nlist"T; then 11613 mv -f "$nlist"T "$nlist" 11614 else 11615 rm -f "$nlist"T 11616 fi 11617 11618 # Make sure that we snagged all the symbols we need. 11619 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 11620 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 11621 cat <<_LT_EOF > conftest.$ac_ext 11622/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 11623#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 11624/* DATA imports from DLLs on WIN32 con't be const, because runtime 11625 relocations are performed -- see ld's documentation on pseudo-relocs. */ 11626# define LT_DLSYM_CONST 11627#elif defined(__osf__) 11628/* This system does not cope well with relocations in const data. */ 11629# define LT_DLSYM_CONST 11630#else 11631# define LT_DLSYM_CONST const 11632#endif 11633 11634#ifdef __cplusplus 11635extern "C" { 11636#endif 11637 11638_LT_EOF 11639 # Now generate the symbol file. 11640 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 11641 11642 cat <<_LT_EOF >> conftest.$ac_ext 11643 11644/* The mapping between symbol names and symbols. */ 11645LT_DLSYM_CONST struct { 11646 const char *name; 11647 void *address; 11648} 11649lt__PROGRAM__LTX_preloaded_symbols[] = 11650{ 11651 { "@PROGRAM@", (void *) 0 }, 11652_LT_EOF 11653 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 11654 cat <<\_LT_EOF >> conftest.$ac_ext 11655 {0, (void *) 0} 11656}; 11657 11658/* This works around a problem in FreeBSD linker */ 11659#ifdef FREEBSD_WORKAROUND 11660static const void *lt_preloaded_setup() { 11661 return lt__PROGRAM__LTX_preloaded_symbols; 11662} 11663#endif 11664 11665#ifdef __cplusplus 11666} 11667#endif 11668_LT_EOF 11669 # Now try linking the two files. 11670 mv conftest.$ac_objext conftstm.$ac_objext 11671 lt_globsym_save_LIBS=$LIBS 11672 lt_globsym_save_CFLAGS=$CFLAGS 11673 LIBS="conftstm.$ac_objext" 11674 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 11675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11676 (eval $ac_link) 2>&5 11677 ac_status=$? 11678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11679 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 11680 pipe_works=yes 11681 fi 11682 LIBS=$lt_globsym_save_LIBS 11683 CFLAGS=$lt_globsym_save_CFLAGS 11684 else 11685 echo "cannot find nm_test_func in $nlist" >&5 11686 fi 11687 else 11688 echo "cannot find nm_test_var in $nlist" >&5 11689 fi 11690 else 11691 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 11692 fi 11693 else 11694 echo "$progname: failed program was:" >&5 11695 cat conftest.$ac_ext >&5 11696 fi 11697 rm -rf conftest* conftst* 11698 11699 # Do not use the global_symbol_pipe unless it works. 11700 if test "$pipe_works" = yes; then 11701 break 11702 else 11703 lt_cv_sys_global_symbol_pipe= 11704 fi 11705done 11706 11707fi 11708 11709if test -z "$lt_cv_sys_global_symbol_pipe"; then 11710 lt_cv_sys_global_symbol_to_cdecl= 11711fi 11712if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 11714$as_echo "failed" >&6; } 11715else 11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 11717$as_echo "ok" >&6; } 11718fi 11719 11720# Response file support. 11721if test "$lt_cv_nm_interface" = "MS dumpbin"; then 11722 nm_file_list_spec='@' 11723elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 11724 nm_file_list_spec='@' 11725fi 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 11754$as_echo_n "checking for sysroot... " >&6; } 11755 11756# Check whether --with-sysroot was given. 11757if test "${with_sysroot+set}" = set; then : 11758 withval=$with_sysroot; 11759else 11760 with_sysroot=no 11761fi 11762 11763 11764lt_sysroot= 11765case ${with_sysroot} in #( 11766 yes) 11767 if test "$GCC" = yes; then 11768 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 11769 fi 11770 ;; #( 11771 /*) 11772 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 11773 ;; #( 11774 no|'') 11775 ;; #( 11776 *) 11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 11778$as_echo "${with_sysroot}" >&6; } 11779 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 11780 ;; 11781esac 11782 11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 11784$as_echo "${lt_sysroot:-no}" >&6; } 11785 11786 11787 11788 11789 11790# Check whether --enable-libtool-lock was given. 11791if test "${enable_libtool_lock+set}" = set; then : 11792 enableval=$enable_libtool_lock; 11793fi 11794 11795test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 11796 11797# Some flags need to be propagated to the compiler or linker for good 11798# libtool support. 11799case $host in 11800ia64-*-hpux*) 11801 # Find out which ABI we are using. 11802 echo 'int i;' > conftest.$ac_ext 11803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11804 (eval $ac_compile) 2>&5 11805 ac_status=$? 11806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11807 test $ac_status = 0; }; then 11808 case `/usr/bin/file conftest.$ac_objext` in 11809 *ELF-32*) 11810 HPUX_IA64_MODE="32" 11811 ;; 11812 *ELF-64*) 11813 HPUX_IA64_MODE="64" 11814 ;; 11815 esac 11816 fi 11817 rm -rf conftest* 11818 ;; 11819*-*-irix6*) 11820 # Find out which ABI we are using. 11821 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 11822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11823 (eval $ac_compile) 2>&5 11824 ac_status=$? 11825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11826 test $ac_status = 0; }; then 11827 if test "$lt_cv_prog_gnu_ld" = yes; then 11828 case `/usr/bin/file conftest.$ac_objext` in 11829 *32-bit*) 11830 LD="${LD-ld} -melf32bsmip" 11831 ;; 11832 *N32*) 11833 LD="${LD-ld} -melf32bmipn32" 11834 ;; 11835 *64-bit*) 11836 LD="${LD-ld} -melf64bmip" 11837 ;; 11838 esac 11839 else 11840 case `/usr/bin/file conftest.$ac_objext` in 11841 *32-bit*) 11842 LD="${LD-ld} -32" 11843 ;; 11844 *N32*) 11845 LD="${LD-ld} -n32" 11846 ;; 11847 *64-bit*) 11848 LD="${LD-ld} -64" 11849 ;; 11850 esac 11851 fi 11852 fi 11853 rm -rf conftest* 11854 ;; 11855 11856x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 11857s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 11858 # Find out which ABI we are using. 11859 echo 'int i;' > conftest.$ac_ext 11860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11861 (eval $ac_compile) 2>&5 11862 ac_status=$? 11863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11864 test $ac_status = 0; }; then 11865 case `/usr/bin/file conftest.o` in 11866 *32-bit*) 11867 case $host in 11868 x86_64-*kfreebsd*-gnu) 11869 LD="${LD-ld} -m elf_i386_fbsd" 11870 ;; 11871 x86_64-*linux*) 11872 LD="${LD-ld} -m elf_i386" 11873 ;; 11874 ppc64-*linux*|powerpc64-*linux*) 11875 LD="${LD-ld} -m elf32ppclinux" 11876 ;; 11877 s390x-*linux*) 11878 LD="${LD-ld} -m elf_s390" 11879 ;; 11880 sparc64-*linux*) 11881 LD="${LD-ld} -m elf32_sparc" 11882 ;; 11883 esac 11884 ;; 11885 *64-bit*) 11886 case $host in 11887 x86_64-*kfreebsd*-gnu) 11888 LD="${LD-ld} -m elf_x86_64_fbsd" 11889 ;; 11890 x86_64-*linux*) 11891 LD="${LD-ld} -m elf_x86_64" 11892 ;; 11893 ppc*-*linux*|powerpc*-*linux*) 11894 LD="${LD-ld} -m elf64ppc" 11895 ;; 11896 s390*-*linux*|s390*-*tpf*) 11897 LD="${LD-ld} -m elf64_s390" 11898 ;; 11899 sparc*-*linux*) 11900 LD="${LD-ld} -m elf64_sparc" 11901 ;; 11902 esac 11903 ;; 11904 esac 11905 fi 11906 rm -rf conftest* 11907 ;; 11908 11909*-*-sco3.2v5*) 11910 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 11911 SAVE_CFLAGS="$CFLAGS" 11912 CFLAGS="$CFLAGS -belf" 11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 11914$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 11915if ${lt_cv_cc_needs_belf+:} false; then : 11916 $as_echo_n "(cached) " >&6 11917else 11918 ac_ext=c 11919ac_cpp='$CPP $CPPFLAGS' 11920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11922ac_compiler_gnu=$ac_cv_c_compiler_gnu 11923 11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11925/* end confdefs.h. */ 11926 11927int 11928main () 11929{ 11930 11931 ; 11932 return 0; 11933} 11934_ACEOF 11935if ac_fn_c_try_link "$LINENO"; then : 11936 lt_cv_cc_needs_belf=yes 11937else 11938 lt_cv_cc_needs_belf=no 11939fi 11940rm -f core conftest.err conftest.$ac_objext \ 11941 conftest$ac_exeext conftest.$ac_ext 11942 ac_ext=c 11943ac_cpp='$CPP $CPPFLAGS' 11944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11946ac_compiler_gnu=$ac_cv_c_compiler_gnu 11947 11948fi 11949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 11950$as_echo "$lt_cv_cc_needs_belf" >&6; } 11951 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 11952 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 11953 CFLAGS="$SAVE_CFLAGS" 11954 fi 11955 ;; 11956*-*solaris*) 11957 # Find out which ABI we are using. 11958 echo 'int i;' > conftest.$ac_ext 11959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11960 (eval $ac_compile) 2>&5 11961 ac_status=$? 11962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11963 test $ac_status = 0; }; then 11964 case `/usr/bin/file conftest.o` in 11965 *64-bit*) 11966 case $lt_cv_prog_gnu_ld in 11967 yes*) 11968 case $host in 11969 i?86-*-solaris*) 11970 LD="${LD-ld} -m elf_x86_64" 11971 ;; 11972 sparc*-*-solaris*) 11973 LD="${LD-ld} -m elf64_sparc" 11974 ;; 11975 esac 11976 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 11977 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 11978 LD="${LD-ld}_sol2" 11979 fi 11980 ;; 11981 *) 11982 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 11983 LD="${LD-ld} -64" 11984 fi 11985 ;; 11986 esac 11987 ;; 11988 esac 11989 fi 11990 rm -rf conftest* 11991 ;; 11992esac 11993 11994need_locks="$enable_libtool_lock" 11995 11996if test -n "$ac_tool_prefix"; then 11997 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 11998set dummy ${ac_tool_prefix}mt; ac_word=$2 11999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12000$as_echo_n "checking for $ac_word... " >&6; } 12001if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 12002 $as_echo_n "(cached) " >&6 12003else 12004 if test -n "$MANIFEST_TOOL"; then 12005 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 12006else 12007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12008for as_dir in $PATH 12009do 12010 IFS=$as_save_IFS 12011 test -z "$as_dir" && as_dir=. 12012 for ac_exec_ext in '' $ac_executable_extensions; do 12013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12014 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 12015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12016 break 2 12017 fi 12018done 12019 done 12020IFS=$as_save_IFS 12021 12022fi 12023fi 12024MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 12025if test -n "$MANIFEST_TOOL"; then 12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 12027$as_echo "$MANIFEST_TOOL" >&6; } 12028else 12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12030$as_echo "no" >&6; } 12031fi 12032 12033 12034fi 12035if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 12036 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 12037 # Extract the first word of "mt", so it can be a program name with args. 12038set dummy mt; ac_word=$2 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12040$as_echo_n "checking for $ac_word... " >&6; } 12041if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 12042 $as_echo_n "(cached) " >&6 12043else 12044 if test -n "$ac_ct_MANIFEST_TOOL"; then 12045 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 12046else 12047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12048for as_dir in $PATH 12049do 12050 IFS=$as_save_IFS 12051 test -z "$as_dir" && as_dir=. 12052 for ac_exec_ext in '' $ac_executable_extensions; do 12053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12054 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 12055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12056 break 2 12057 fi 12058done 12059 done 12060IFS=$as_save_IFS 12061 12062fi 12063fi 12064ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 12065if test -n "$ac_ct_MANIFEST_TOOL"; then 12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 12067$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 12068else 12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12070$as_echo "no" >&6; } 12071fi 12072 12073 if test "x$ac_ct_MANIFEST_TOOL" = x; then 12074 MANIFEST_TOOL=":" 12075 else 12076 case $cross_compiling:$ac_tool_warned in 12077yes:) 12078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12080ac_tool_warned=yes ;; 12081esac 12082 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 12083 fi 12084else 12085 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 12086fi 12087 12088test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 12089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 12090$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 12091if ${lt_cv_path_mainfest_tool+:} false; then : 12092 $as_echo_n "(cached) " >&6 12093else 12094 lt_cv_path_mainfest_tool=no 12095 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 12096 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 12097 cat conftest.err >&5 12098 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 12099 lt_cv_path_mainfest_tool=yes 12100 fi 12101 rm -f conftest* 12102fi 12103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 12104$as_echo "$lt_cv_path_mainfest_tool" >&6; } 12105if test "x$lt_cv_path_mainfest_tool" != xyes; then 12106 MANIFEST_TOOL=: 12107fi 12108 12109 12110 12111 12112 12113 12114 case $host_os in 12115 rhapsody* | darwin*) 12116 if test -n "$ac_tool_prefix"; then 12117 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 12118set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 12119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12120$as_echo_n "checking for $ac_word... " >&6; } 12121if ${ac_cv_prog_DSYMUTIL+:} false; then : 12122 $as_echo_n "(cached) " >&6 12123else 12124 if test -n "$DSYMUTIL"; then 12125 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 12126else 12127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12128for as_dir in $PATH 12129do 12130 IFS=$as_save_IFS 12131 test -z "$as_dir" && as_dir=. 12132 for ac_exec_ext in '' $ac_executable_extensions; do 12133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12134 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12136 break 2 12137 fi 12138done 12139 done 12140IFS=$as_save_IFS 12141 12142fi 12143fi 12144DSYMUTIL=$ac_cv_prog_DSYMUTIL 12145if test -n "$DSYMUTIL"; then 12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 12147$as_echo "$DSYMUTIL" >&6; } 12148else 12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12150$as_echo "no" >&6; } 12151fi 12152 12153 12154fi 12155if test -z "$ac_cv_prog_DSYMUTIL"; then 12156 ac_ct_DSYMUTIL=$DSYMUTIL 12157 # Extract the first word of "dsymutil", so it can be a program name with args. 12158set dummy dsymutil; ac_word=$2 12159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12160$as_echo_n "checking for $ac_word... " >&6; } 12161if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 12162 $as_echo_n "(cached) " >&6 12163else 12164 if test -n "$ac_ct_DSYMUTIL"; then 12165 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 12166else 12167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12168for as_dir in $PATH 12169do 12170 IFS=$as_save_IFS 12171 test -z "$as_dir" && as_dir=. 12172 for ac_exec_ext in '' $ac_executable_extensions; do 12173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12174 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 12175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12176 break 2 12177 fi 12178done 12179 done 12180IFS=$as_save_IFS 12181 12182fi 12183fi 12184ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 12185if test -n "$ac_ct_DSYMUTIL"; then 12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 12187$as_echo "$ac_ct_DSYMUTIL" >&6; } 12188else 12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12190$as_echo "no" >&6; } 12191fi 12192 12193 if test "x$ac_ct_DSYMUTIL" = x; then 12194 DSYMUTIL=":" 12195 else 12196 case $cross_compiling:$ac_tool_warned in 12197yes:) 12198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12200ac_tool_warned=yes ;; 12201esac 12202 DSYMUTIL=$ac_ct_DSYMUTIL 12203 fi 12204else 12205 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 12206fi 12207 12208 if test -n "$ac_tool_prefix"; then 12209 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 12210set dummy ${ac_tool_prefix}nmedit; ac_word=$2 12211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12212$as_echo_n "checking for $ac_word... " >&6; } 12213if ${ac_cv_prog_NMEDIT+:} false; then : 12214 $as_echo_n "(cached) " >&6 12215else 12216 if test -n "$NMEDIT"; then 12217 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 12218else 12219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12220for as_dir in $PATH 12221do 12222 IFS=$as_save_IFS 12223 test -z "$as_dir" && as_dir=. 12224 for ac_exec_ext in '' $ac_executable_extensions; do 12225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12226 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 12227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12228 break 2 12229 fi 12230done 12231 done 12232IFS=$as_save_IFS 12233 12234fi 12235fi 12236NMEDIT=$ac_cv_prog_NMEDIT 12237if test -n "$NMEDIT"; then 12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 12239$as_echo "$NMEDIT" >&6; } 12240else 12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12242$as_echo "no" >&6; } 12243fi 12244 12245 12246fi 12247if test -z "$ac_cv_prog_NMEDIT"; then 12248 ac_ct_NMEDIT=$NMEDIT 12249 # Extract the first word of "nmedit", so it can be a program name with args. 12250set dummy nmedit; ac_word=$2 12251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12252$as_echo_n "checking for $ac_word... " >&6; } 12253if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 12254 $as_echo_n "(cached) " >&6 12255else 12256 if test -n "$ac_ct_NMEDIT"; then 12257 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 12258else 12259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12260for as_dir in $PATH 12261do 12262 IFS=$as_save_IFS 12263 test -z "$as_dir" && as_dir=. 12264 for ac_exec_ext in '' $ac_executable_extensions; do 12265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12266 ac_cv_prog_ac_ct_NMEDIT="nmedit" 12267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12268 break 2 12269 fi 12270done 12271 done 12272IFS=$as_save_IFS 12273 12274fi 12275fi 12276ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 12277if test -n "$ac_ct_NMEDIT"; then 12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 12279$as_echo "$ac_ct_NMEDIT" >&6; } 12280else 12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12282$as_echo "no" >&6; } 12283fi 12284 12285 if test "x$ac_ct_NMEDIT" = x; then 12286 NMEDIT=":" 12287 else 12288 case $cross_compiling:$ac_tool_warned in 12289yes:) 12290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12292ac_tool_warned=yes ;; 12293esac 12294 NMEDIT=$ac_ct_NMEDIT 12295 fi 12296else 12297 NMEDIT="$ac_cv_prog_NMEDIT" 12298fi 12299 12300 if test -n "$ac_tool_prefix"; then 12301 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 12302set dummy ${ac_tool_prefix}lipo; ac_word=$2 12303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12304$as_echo_n "checking for $ac_word... " >&6; } 12305if ${ac_cv_prog_LIPO+:} false; then : 12306 $as_echo_n "(cached) " >&6 12307else 12308 if test -n "$LIPO"; then 12309 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 12310else 12311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12312for as_dir in $PATH 12313do 12314 IFS=$as_save_IFS 12315 test -z "$as_dir" && as_dir=. 12316 for ac_exec_ext in '' $ac_executable_extensions; do 12317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12318 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 12319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12320 break 2 12321 fi 12322done 12323 done 12324IFS=$as_save_IFS 12325 12326fi 12327fi 12328LIPO=$ac_cv_prog_LIPO 12329if test -n "$LIPO"; then 12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 12331$as_echo "$LIPO" >&6; } 12332else 12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12334$as_echo "no" >&6; } 12335fi 12336 12337 12338fi 12339if test -z "$ac_cv_prog_LIPO"; then 12340 ac_ct_LIPO=$LIPO 12341 # Extract the first word of "lipo", so it can be a program name with args. 12342set dummy lipo; ac_word=$2 12343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12344$as_echo_n "checking for $ac_word... " >&6; } 12345if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 12346 $as_echo_n "(cached) " >&6 12347else 12348 if test -n "$ac_ct_LIPO"; then 12349 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 12350else 12351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12352for as_dir in $PATH 12353do 12354 IFS=$as_save_IFS 12355 test -z "$as_dir" && as_dir=. 12356 for ac_exec_ext in '' $ac_executable_extensions; do 12357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12358 ac_cv_prog_ac_ct_LIPO="lipo" 12359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12360 break 2 12361 fi 12362done 12363 done 12364IFS=$as_save_IFS 12365 12366fi 12367fi 12368ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 12369if test -n "$ac_ct_LIPO"; then 12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 12371$as_echo "$ac_ct_LIPO" >&6; } 12372else 12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12374$as_echo "no" >&6; } 12375fi 12376 12377 if test "x$ac_ct_LIPO" = x; then 12378 LIPO=":" 12379 else 12380 case $cross_compiling:$ac_tool_warned in 12381yes:) 12382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12384ac_tool_warned=yes ;; 12385esac 12386 LIPO=$ac_ct_LIPO 12387 fi 12388else 12389 LIPO="$ac_cv_prog_LIPO" 12390fi 12391 12392 if test -n "$ac_tool_prefix"; then 12393 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 12394set dummy ${ac_tool_prefix}otool; ac_word=$2 12395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12396$as_echo_n "checking for $ac_word... " >&6; } 12397if ${ac_cv_prog_OTOOL+:} false; then : 12398 $as_echo_n "(cached) " >&6 12399else 12400 if test -n "$OTOOL"; then 12401 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 12402else 12403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12404for as_dir in $PATH 12405do 12406 IFS=$as_save_IFS 12407 test -z "$as_dir" && as_dir=. 12408 for ac_exec_ext in '' $ac_executable_extensions; do 12409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12410 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 12411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12412 break 2 12413 fi 12414done 12415 done 12416IFS=$as_save_IFS 12417 12418fi 12419fi 12420OTOOL=$ac_cv_prog_OTOOL 12421if test -n "$OTOOL"; then 12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 12423$as_echo "$OTOOL" >&6; } 12424else 12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12426$as_echo "no" >&6; } 12427fi 12428 12429 12430fi 12431if test -z "$ac_cv_prog_OTOOL"; then 12432 ac_ct_OTOOL=$OTOOL 12433 # Extract the first word of "otool", so it can be a program name with args. 12434set dummy otool; ac_word=$2 12435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12436$as_echo_n "checking for $ac_word... " >&6; } 12437if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 12438 $as_echo_n "(cached) " >&6 12439else 12440 if test -n "$ac_ct_OTOOL"; then 12441 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 12442else 12443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12444for as_dir in $PATH 12445do 12446 IFS=$as_save_IFS 12447 test -z "$as_dir" && as_dir=. 12448 for ac_exec_ext in '' $ac_executable_extensions; do 12449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12450 ac_cv_prog_ac_ct_OTOOL="otool" 12451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12452 break 2 12453 fi 12454done 12455 done 12456IFS=$as_save_IFS 12457 12458fi 12459fi 12460ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 12461if test -n "$ac_ct_OTOOL"; then 12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 12463$as_echo "$ac_ct_OTOOL" >&6; } 12464else 12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12466$as_echo "no" >&6; } 12467fi 12468 12469 if test "x$ac_ct_OTOOL" = x; then 12470 OTOOL=":" 12471 else 12472 case $cross_compiling:$ac_tool_warned in 12473yes:) 12474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12476ac_tool_warned=yes ;; 12477esac 12478 OTOOL=$ac_ct_OTOOL 12479 fi 12480else 12481 OTOOL="$ac_cv_prog_OTOOL" 12482fi 12483 12484 if test -n "$ac_tool_prefix"; then 12485 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 12486set dummy ${ac_tool_prefix}otool64; ac_word=$2 12487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12488$as_echo_n "checking for $ac_word... " >&6; } 12489if ${ac_cv_prog_OTOOL64+:} false; then : 12490 $as_echo_n "(cached) " >&6 12491else 12492 if test -n "$OTOOL64"; then 12493 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 12494else 12495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12496for as_dir in $PATH 12497do 12498 IFS=$as_save_IFS 12499 test -z "$as_dir" && as_dir=. 12500 for ac_exec_ext in '' $ac_executable_extensions; do 12501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12502 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 12503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12504 break 2 12505 fi 12506done 12507 done 12508IFS=$as_save_IFS 12509 12510fi 12511fi 12512OTOOL64=$ac_cv_prog_OTOOL64 12513if test -n "$OTOOL64"; then 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 12515$as_echo "$OTOOL64" >&6; } 12516else 12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12518$as_echo "no" >&6; } 12519fi 12520 12521 12522fi 12523if test -z "$ac_cv_prog_OTOOL64"; then 12524 ac_ct_OTOOL64=$OTOOL64 12525 # Extract the first word of "otool64", so it can be a program name with args. 12526set dummy otool64; ac_word=$2 12527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12528$as_echo_n "checking for $ac_word... " >&6; } 12529if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 12530 $as_echo_n "(cached) " >&6 12531else 12532 if test -n "$ac_ct_OTOOL64"; then 12533 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 12534else 12535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12536for as_dir in $PATH 12537do 12538 IFS=$as_save_IFS 12539 test -z "$as_dir" && as_dir=. 12540 for ac_exec_ext in '' $ac_executable_extensions; do 12541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12542 ac_cv_prog_ac_ct_OTOOL64="otool64" 12543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12544 break 2 12545 fi 12546done 12547 done 12548IFS=$as_save_IFS 12549 12550fi 12551fi 12552ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 12553if test -n "$ac_ct_OTOOL64"; then 12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 12555$as_echo "$ac_ct_OTOOL64" >&6; } 12556else 12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12558$as_echo "no" >&6; } 12559fi 12560 12561 if test "x$ac_ct_OTOOL64" = x; then 12562 OTOOL64=":" 12563 else 12564 case $cross_compiling:$ac_tool_warned in 12565yes:) 12566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12568ac_tool_warned=yes ;; 12569esac 12570 OTOOL64=$ac_ct_OTOOL64 12571 fi 12572else 12573 OTOOL64="$ac_cv_prog_OTOOL64" 12574fi 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 12603$as_echo_n "checking for -single_module linker flag... " >&6; } 12604if ${lt_cv_apple_cc_single_mod+:} false; then : 12605 $as_echo_n "(cached) " >&6 12606else 12607 lt_cv_apple_cc_single_mod=no 12608 if test -z "${LT_MULTI_MODULE}"; then 12609 # By default we will add the -single_module flag. You can override 12610 # by either setting the environment variable LT_MULTI_MODULE 12611 # non-empty at configure time, or by adding -multi_module to the 12612 # link flags. 12613 rm -rf libconftest.dylib* 12614 echo "int foo(void){return 1;}" > conftest.c 12615 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 12616-dynamiclib -Wl,-single_module conftest.c" >&5 12617 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 12618 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 12619 _lt_result=$? 12620 # If there is a non-empty error log, and "single_module" 12621 # appears in it, assume the flag caused a linker warning 12622 if test -s conftest.err && $GREP single_module conftest.err; then 12623 cat conftest.err >&5 12624 # Otherwise, if the output was created with a 0 exit code from 12625 # the compiler, it worked. 12626 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 12627 lt_cv_apple_cc_single_mod=yes 12628 else 12629 cat conftest.err >&5 12630 fi 12631 rm -rf libconftest.dylib* 12632 rm -f conftest.* 12633 fi 12634fi 12635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 12636$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 12637 12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 12639$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 12640if ${lt_cv_ld_exported_symbols_list+:} false; then : 12641 $as_echo_n "(cached) " >&6 12642else 12643 lt_cv_ld_exported_symbols_list=no 12644 save_LDFLAGS=$LDFLAGS 12645 echo "_main" > conftest.sym 12646 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12648/* end confdefs.h. */ 12649 12650int 12651main () 12652{ 12653 12654 ; 12655 return 0; 12656} 12657_ACEOF 12658if ac_fn_c_try_link "$LINENO"; then : 12659 lt_cv_ld_exported_symbols_list=yes 12660else 12661 lt_cv_ld_exported_symbols_list=no 12662fi 12663rm -f core conftest.err conftest.$ac_objext \ 12664 conftest$ac_exeext conftest.$ac_ext 12665 LDFLAGS="$save_LDFLAGS" 12666 12667fi 12668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 12669$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 12670 12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 12672$as_echo_n "checking for -force_load linker flag... " >&6; } 12673if ${lt_cv_ld_force_load+:} false; then : 12674 $as_echo_n "(cached) " >&6 12675else 12676 lt_cv_ld_force_load=no 12677 cat > conftest.c << _LT_EOF 12678int forced_loaded() { return 2;} 12679_LT_EOF 12680 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 12681 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 12682 echo "$AR cru libconftest.a conftest.o" >&5 12683 $AR cru libconftest.a conftest.o 2>&5 12684 echo "$RANLIB libconftest.a" >&5 12685 $RANLIB libconftest.a 2>&5 12686 cat > conftest.c << _LT_EOF 12687int main() { return 0;} 12688_LT_EOF 12689 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 12690 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 12691 _lt_result=$? 12692 if test -s conftest.err && $GREP force_load conftest.err; then 12693 cat conftest.err >&5 12694 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 12695 lt_cv_ld_force_load=yes 12696 else 12697 cat conftest.err >&5 12698 fi 12699 rm -f conftest.err libconftest.a conftest conftest.c 12700 rm -rf conftest.dSYM 12701 12702fi 12703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 12704$as_echo "$lt_cv_ld_force_load" >&6; } 12705 case $host_os in 12706 rhapsody* | darwin1.[012]) 12707 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 12708 darwin1.*) 12709 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 12710 darwin*) # darwin 5.x on 12711 # if running on 10.5 or later, the deployment target defaults 12712 # to the OS version, if on x86, and 10.4, the deployment 12713 # target defaults to 10.4. Don't you love it? 12714 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 12715 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 12716 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 12717 10.[012]*) 12718 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 12719 10.*) 12720 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 12721 esac 12722 ;; 12723 esac 12724 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 12725 _lt_dar_single_mod='$single_module' 12726 fi 12727 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 12728 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 12729 else 12730 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 12731 fi 12732 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 12733 _lt_dsymutil='~$DSYMUTIL $lib || :' 12734 else 12735 _lt_dsymutil= 12736 fi 12737 ;; 12738 esac 12739 12740for ac_header in dlfcn.h 12741do : 12742 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 12743" 12744if test "x$ac_cv_header_dlfcn_h" = xyes; then : 12745 cat >>confdefs.h <<_ACEOF 12746#define HAVE_DLFCN_H 1 12747_ACEOF 12748 12749fi 12750 12751done 12752 12753 12754 12755func_stripname_cnf () 12756{ 12757 case ${2} in 12758 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 12759 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 12760 esac 12761} # func_stripname_cnf 12762 12763 12764 12765 12766 12767# Set options 12768enable_dlopen=yes 12769 12770 12771 12772 12773 enable_win32_dll=no 12774 12775 12776 # Check whether --enable-shared was given. 12777if test "${enable_shared+set}" = set; then : 12778 enableval=$enable_shared; p=${PACKAGE-default} 12779 case $enableval in 12780 yes) enable_shared=yes ;; 12781 no) enable_shared=no ;; 12782 *) 12783 enable_shared=no 12784 # Look at the argument we got. We use all the common list separators. 12785 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12786 for pkg in $enableval; do 12787 IFS="$lt_save_ifs" 12788 if test "X$pkg" = "X$p"; then 12789 enable_shared=yes 12790 fi 12791 done 12792 IFS="$lt_save_ifs" 12793 ;; 12794 esac 12795else 12796 enable_shared=yes 12797fi 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 # Check whether --enable-static was given. 12808if test "${enable_static+set}" = set; then : 12809 enableval=$enable_static; p=${PACKAGE-default} 12810 case $enableval in 12811 yes) enable_static=yes ;; 12812 no) enable_static=no ;; 12813 *) 12814 enable_static=no 12815 # Look at the argument we got. We use all the common list separators. 12816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12817 for pkg in $enableval; do 12818 IFS="$lt_save_ifs" 12819 if test "X$pkg" = "X$p"; then 12820 enable_static=yes 12821 fi 12822 done 12823 IFS="$lt_save_ifs" 12824 ;; 12825 esac 12826else 12827 enable_static=yes 12828fi 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839# Check whether --with-pic was given. 12840if test "${with_pic+set}" = set; then : 12841 withval=$with_pic; lt_p=${PACKAGE-default} 12842 case $withval in 12843 yes|no) pic_mode=$withval ;; 12844 *) 12845 pic_mode=default 12846 # Look at the argument we got. We use all the common list separators. 12847 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12848 for lt_pkg in $withval; do 12849 IFS="$lt_save_ifs" 12850 if test "X$lt_pkg" = "X$lt_p"; then 12851 pic_mode=yes 12852 fi 12853 done 12854 IFS="$lt_save_ifs" 12855 ;; 12856 esac 12857else 12858 pic_mode=default 12859fi 12860 12861 12862test -z "$pic_mode" && pic_mode=default 12863 12864 12865 12866 12867 12868 12869 12870 # Check whether --enable-fast-install was given. 12871if test "${enable_fast_install+set}" = set; then : 12872 enableval=$enable_fast_install; p=${PACKAGE-default} 12873 case $enableval in 12874 yes) enable_fast_install=yes ;; 12875 no) enable_fast_install=no ;; 12876 *) 12877 enable_fast_install=no 12878 # Look at the argument we got. We use all the common list separators. 12879 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 12880 for pkg in $enableval; do 12881 IFS="$lt_save_ifs" 12882 if test "X$pkg" = "X$p"; then 12883 enable_fast_install=yes 12884 fi 12885 done 12886 IFS="$lt_save_ifs" 12887 ;; 12888 esac 12889else 12890 enable_fast_install=yes 12891fi 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903# This can be used to rebuild libtool when needed 12904LIBTOOL_DEPS="$ltmain" 12905 12906# Always use our own libtool. 12907LIBTOOL='$(SHELL) $(top_builddir)/libtool' 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938test -z "$LN_S" && LN_S="ln -s" 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953if test -n "${ZSH_VERSION+set}" ; then 12954 setopt NO_GLOB_SUBST 12955fi 12956 12957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 12958$as_echo_n "checking for objdir... " >&6; } 12959if ${lt_cv_objdir+:} false; then : 12960 $as_echo_n "(cached) " >&6 12961else 12962 rm -f .libs 2>/dev/null 12963mkdir .libs 2>/dev/null 12964if test -d .libs; then 12965 lt_cv_objdir=.libs 12966else 12967 # MS-DOS does not allow filenames that begin with a dot. 12968 lt_cv_objdir=_libs 12969fi 12970rmdir .libs 2>/dev/null 12971fi 12972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 12973$as_echo "$lt_cv_objdir" >&6; } 12974objdir=$lt_cv_objdir 12975 12976 12977 12978 12979 12980cat >>confdefs.h <<_ACEOF 12981#define LT_OBJDIR "$lt_cv_objdir/" 12982_ACEOF 12983 12984 12985 12986 12987case $host_os in 12988aix3*) 12989 # AIX sometimes has problems with the GCC collect2 program. For some 12990 # reason, if we set the COLLECT_NAMES environment variable, the problems 12991 # vanish in a puff of smoke. 12992 if test "X${COLLECT_NAMES+set}" != Xset; then 12993 COLLECT_NAMES= 12994 export COLLECT_NAMES 12995 fi 12996 ;; 12997esac 12998 12999# Global variables: 13000ofile=libtool 13001can_build_shared=yes 13002 13003# All known linkers require a `.a' archive for static linking (except MSVC, 13004# which needs '.lib'). 13005libext=a 13006 13007with_gnu_ld="$lt_cv_prog_gnu_ld" 13008 13009old_CC="$CC" 13010old_CFLAGS="$CFLAGS" 13011 13012# Set sane defaults for various variables 13013test -z "$CC" && CC=cc 13014test -z "$LTCC" && LTCC=$CC 13015test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 13016test -z "$LD" && LD=ld 13017test -z "$ac_objext" && ac_objext=o 13018 13019for cc_temp in $compiler""; do 13020 case $cc_temp in 13021 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 13022 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 13023 \-*) ;; 13024 *) break;; 13025 esac 13026done 13027cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13028 13029 13030# Only perform the check for file, if the check method requires it 13031test -z "$MAGIC_CMD" && MAGIC_CMD=file 13032case $deplibs_check_method in 13033file_magic*) 13034 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 13036$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 13037if ${lt_cv_path_MAGIC_CMD+:} false; then : 13038 $as_echo_n "(cached) " >&6 13039else 13040 case $MAGIC_CMD in 13041[\\/*] | ?:[\\/]*) 13042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 13043 ;; 13044*) 13045 lt_save_MAGIC_CMD="$MAGIC_CMD" 13046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 13048 for ac_dir in $ac_dummy; do 13049 IFS="$lt_save_ifs" 13050 test -z "$ac_dir" && ac_dir=. 13051 if test -f $ac_dir/${ac_tool_prefix}file; then 13052 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 13053 if test -n "$file_magic_test_file"; then 13054 case $deplibs_check_method in 13055 "file_magic "*) 13056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 13057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 13059 $EGREP "$file_magic_regex" > /dev/null; then 13060 : 13061 else 13062 cat <<_LT_EOF 1>&2 13063 13064*** Warning: the command libtool uses to detect shared libraries, 13065*** $file_magic_cmd, produces output that libtool cannot recognize. 13066*** The result is that libtool may fail to recognize shared libraries 13067*** as such. This will affect the creation of libtool libraries that 13068*** depend on shared libraries, but programs linked with such libtool 13069*** libraries will work regardless of this problem. Nevertheless, you 13070*** may want to report the problem to your system manager and/or to 13071*** bug-libtool@gnu.org 13072 13073_LT_EOF 13074 fi ;; 13075 esac 13076 fi 13077 break 13078 fi 13079 done 13080 IFS="$lt_save_ifs" 13081 MAGIC_CMD="$lt_save_MAGIC_CMD" 13082 ;; 13083esac 13084fi 13085 13086MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13087if test -n "$MAGIC_CMD"; then 13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 13089$as_echo "$MAGIC_CMD" >&6; } 13090else 13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13092$as_echo "no" >&6; } 13093fi 13094 13095 13096 13097 13098 13099if test -z "$lt_cv_path_MAGIC_CMD"; then 13100 if test -n "$ac_tool_prefix"; then 13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 13102$as_echo_n "checking for file... " >&6; } 13103if ${lt_cv_path_MAGIC_CMD+:} false; then : 13104 $as_echo_n "(cached) " >&6 13105else 13106 case $MAGIC_CMD in 13107[\\/*] | ?:[\\/]*) 13108 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 13109 ;; 13110*) 13111 lt_save_MAGIC_CMD="$MAGIC_CMD" 13112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 13113 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 13114 for ac_dir in $ac_dummy; do 13115 IFS="$lt_save_ifs" 13116 test -z "$ac_dir" && ac_dir=. 13117 if test -f $ac_dir/file; then 13118 lt_cv_path_MAGIC_CMD="$ac_dir/file" 13119 if test -n "$file_magic_test_file"; then 13120 case $deplibs_check_method in 13121 "file_magic "*) 13122 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 13123 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13124 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 13125 $EGREP "$file_magic_regex" > /dev/null; then 13126 : 13127 else 13128 cat <<_LT_EOF 1>&2 13129 13130*** Warning: the command libtool uses to detect shared libraries, 13131*** $file_magic_cmd, produces output that libtool cannot recognize. 13132*** The result is that libtool may fail to recognize shared libraries 13133*** as such. This will affect the creation of libtool libraries that 13134*** depend on shared libraries, but programs linked with such libtool 13135*** libraries will work regardless of this problem. Nevertheless, you 13136*** may want to report the problem to your system manager and/or to 13137*** bug-libtool@gnu.org 13138 13139_LT_EOF 13140 fi ;; 13141 esac 13142 fi 13143 break 13144 fi 13145 done 13146 IFS="$lt_save_ifs" 13147 MAGIC_CMD="$lt_save_MAGIC_CMD" 13148 ;; 13149esac 13150fi 13151 13152MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 13153if test -n "$MAGIC_CMD"; then 13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 13155$as_echo "$MAGIC_CMD" >&6; } 13156else 13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13158$as_echo "no" >&6; } 13159fi 13160 13161 13162 else 13163 MAGIC_CMD=: 13164 fi 13165fi 13166 13167 fi 13168 ;; 13169esac 13170 13171# Use C for the default configuration in the libtool script 13172 13173lt_save_CC="$CC" 13174ac_ext=c 13175ac_cpp='$CPP $CPPFLAGS' 13176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13178ac_compiler_gnu=$ac_cv_c_compiler_gnu 13179 13180 13181# Source file extension for C test sources. 13182ac_ext=c 13183 13184# Object file extension for compiled C test sources. 13185objext=o 13186objext=$objext 13187 13188# Code to be used in simple compile tests 13189lt_simple_compile_test_code="int some_variable = 0;" 13190 13191# Code to be used in simple link tests 13192lt_simple_link_test_code='int main(){return(0);}' 13193 13194 13195 13196 13197 13198 13199 13200# If no C compiler was specified, use CC. 13201LTCC=${LTCC-"$CC"} 13202 13203# If no C compiler flags were specified, use CFLAGS. 13204LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13205 13206# Allow CC to be a program name with arguments. 13207compiler=$CC 13208 13209# Save the default compiler, since it gets overwritten when the other 13210# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 13211compiler_DEFAULT=$CC 13212 13213# save warnings/boilerplate of simple test code 13214ac_outfile=conftest.$ac_objext 13215echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13216eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13217_lt_compiler_boilerplate=`cat conftest.err` 13218$RM conftest* 13219 13220ac_outfile=conftest.$ac_objext 13221echo "$lt_simple_link_test_code" >conftest.$ac_ext 13222eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13223_lt_linker_boilerplate=`cat conftest.err` 13224$RM -r conftest* 13225 13226 13227## CAVEAT EMPTOR: 13228## There is no encapsulation within the following macros, do not change 13229## the running order or otherwise move them around unless you know exactly 13230## what you are doing... 13231if test -n "$compiler"; then 13232 13233lt_prog_compiler_no_builtin_flag= 13234 13235if test "$GCC" = yes; then 13236 case $cc_basename in 13237 nvcc*) 13238 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 13239 *) 13240 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 13241 esac 13242 13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 13244$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 13245if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 13246 $as_echo_n "(cached) " >&6 13247else 13248 lt_cv_prog_compiler_rtti_exceptions=no 13249 ac_outfile=conftest.$ac_objext 13250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13251 lt_compiler_flag="-fno-rtti -fno-exceptions" 13252 # Insert the option either (1) after the last *FLAGS variable, or 13253 # (2) before a word containing "conftest.", or (3) at the end. 13254 # Note that $ac_compile itself does not contain backslashes and begins 13255 # with a dollar sign (not a hyphen), so the echo should work correctly. 13256 # The option is referenced via a variable to avoid confusing sed. 13257 lt_compile=`echo "$ac_compile" | $SED \ 13258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13260 -e 's:$: $lt_compiler_flag:'` 13261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13262 (eval "$lt_compile" 2>conftest.err) 13263 ac_status=$? 13264 cat conftest.err >&5 13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13266 if (exit $ac_status) && test -s "$ac_outfile"; then 13267 # The compiler can only warn and ignore the option if not recognized 13268 # So say no if there are warnings other than the usual output. 13269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 13270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13272 lt_cv_prog_compiler_rtti_exceptions=yes 13273 fi 13274 fi 13275 $RM conftest* 13276 13277fi 13278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 13279$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 13280 13281if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 13282 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 13283else 13284 : 13285fi 13286 13287fi 13288 13289 13290 13291 13292 13293 13294 lt_prog_compiler_wl= 13295lt_prog_compiler_pic= 13296lt_prog_compiler_static= 13297 13298 13299 if test "$GCC" = yes; then 13300 lt_prog_compiler_wl='-Wl,' 13301 lt_prog_compiler_static='-static' 13302 13303 case $host_os in 13304 aix*) 13305 # All AIX code is PIC. 13306 if test "$host_cpu" = ia64; then 13307 # AIX 5 now supports IA64 processor 13308 lt_prog_compiler_static='-Bstatic' 13309 fi 13310 ;; 13311 13312 amigaos*) 13313 case $host_cpu in 13314 powerpc) 13315 # see comment about AmigaOS4 .so support 13316 lt_prog_compiler_pic='-fPIC' 13317 ;; 13318 m68k) 13319 # FIXME: we need at least 68020 code to build shared libraries, but 13320 # adding the `-m68020' flag to GCC prevents building anything better, 13321 # like `-m68040'. 13322 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 13323 ;; 13324 esac 13325 ;; 13326 13327 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13328 # PIC is the default for these OSes. 13329 ;; 13330 13331 mingw* | cygwin* | pw32* | os2* | cegcc*) 13332 # This hack is so that the source file can tell whether it is being 13333 # built for inclusion in a dll (and should export symbols for example). 13334 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13335 # (--disable-auto-import) libraries 13336 lt_prog_compiler_pic='-DDLL_EXPORT' 13337 ;; 13338 13339 darwin* | rhapsody*) 13340 # PIC is the default on this platform 13341 # Common symbols not allowed in MH_DYLIB files 13342 lt_prog_compiler_pic='-fno-common' 13343 ;; 13344 13345 haiku*) 13346 # PIC is the default for Haiku. 13347 # The "-static" flag exists, but is broken. 13348 lt_prog_compiler_static= 13349 ;; 13350 13351 hpux*) 13352 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 13353 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 13354 # sets the default TLS model and affects inlining. 13355 case $host_cpu in 13356 hppa*64*) 13357 # +Z the default 13358 ;; 13359 *) 13360 lt_prog_compiler_pic='-fPIC' 13361 ;; 13362 esac 13363 ;; 13364 13365 interix[3-9]*) 13366 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13367 # Instead, we relocate shared libraries at runtime. 13368 ;; 13369 13370 msdosdjgpp*) 13371 # Just because we use GCC doesn't mean we suddenly get shared libraries 13372 # on systems that don't support them. 13373 lt_prog_compiler_can_build_shared=no 13374 enable_shared=no 13375 ;; 13376 13377 *nto* | *qnx*) 13378 # QNX uses GNU C++, but need to define -shared option too, otherwise 13379 # it will coredump. 13380 lt_prog_compiler_pic='-fPIC -shared' 13381 ;; 13382 13383 sysv4*MP*) 13384 if test -d /usr/nec; then 13385 lt_prog_compiler_pic=-Kconform_pic 13386 fi 13387 ;; 13388 13389 *) 13390 lt_prog_compiler_pic='-fPIC' 13391 ;; 13392 esac 13393 13394 case $cc_basename in 13395 nvcc*) # Cuda Compiler Driver 2.2 13396 lt_prog_compiler_wl='-Xlinker ' 13397 if test -n "$lt_prog_compiler_pic"; then 13398 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 13399 fi 13400 ;; 13401 esac 13402 else 13403 # PORTME Check for flag to pass linker flags through the system compiler. 13404 case $host_os in 13405 aix*) 13406 lt_prog_compiler_wl='-Wl,' 13407 if test "$host_cpu" = ia64; then 13408 # AIX 5 now supports IA64 processor 13409 lt_prog_compiler_static='-Bstatic' 13410 else 13411 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 13412 fi 13413 ;; 13414 13415 mingw* | cygwin* | pw32* | os2* | cegcc*) 13416 # This hack is so that the source file can tell whether it is being 13417 # built for inclusion in a dll (and should export symbols for example). 13418 lt_prog_compiler_pic='-DDLL_EXPORT' 13419 ;; 13420 13421 hpux9* | hpux10* | hpux11*) 13422 lt_prog_compiler_wl='-Wl,' 13423 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 13424 # not for PA HP-UX. 13425 case $host_cpu in 13426 hppa*64*|ia64*) 13427 # +Z the default 13428 ;; 13429 *) 13430 lt_prog_compiler_pic='+Z' 13431 ;; 13432 esac 13433 # Is there a better lt_prog_compiler_static that works with the bundled CC? 13434 lt_prog_compiler_static='${wl}-a ${wl}archive' 13435 ;; 13436 13437 irix5* | irix6* | nonstopux*) 13438 lt_prog_compiler_wl='-Wl,' 13439 # PIC (with -KPIC) is the default. 13440 lt_prog_compiler_static='-non_shared' 13441 ;; 13442 13443 linux* | k*bsd*-gnu | kopensolaris*-gnu) 13444 case $cc_basename in 13445 # old Intel for x86_64 which still supported -KPIC. 13446 ecc*) 13447 lt_prog_compiler_wl='-Wl,' 13448 lt_prog_compiler_pic='-KPIC' 13449 lt_prog_compiler_static='-static' 13450 ;; 13451 # icc used to be incompatible with GCC. 13452 # ICC 10 doesn't accept -KPIC any more. 13453 icc* | ifort*) 13454 lt_prog_compiler_wl='-Wl,' 13455 lt_prog_compiler_pic='-fPIC' 13456 lt_prog_compiler_static='-static' 13457 ;; 13458 # Lahey Fortran 8.1. 13459 lf95*) 13460 lt_prog_compiler_wl='-Wl,' 13461 lt_prog_compiler_pic='--shared' 13462 lt_prog_compiler_static='--static' 13463 ;; 13464 nagfor*) 13465 # NAG Fortran compiler 13466 lt_prog_compiler_wl='-Wl,-Wl,,' 13467 lt_prog_compiler_pic='-PIC' 13468 lt_prog_compiler_static='-Bstatic' 13469 ;; 13470 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13471 # Portland Group compilers (*not* the Pentium gcc compiler, 13472 # which looks to be a dead project) 13473 lt_prog_compiler_wl='-Wl,' 13474 lt_prog_compiler_pic='-fpic' 13475 lt_prog_compiler_static='-Bstatic' 13476 ;; 13477 ccc*) 13478 lt_prog_compiler_wl='-Wl,' 13479 # All Alpha code is PIC. 13480 lt_prog_compiler_static='-non_shared' 13481 ;; 13482 xl* | bgxl* | bgf* | mpixl*) 13483 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 13484 lt_prog_compiler_wl='-Wl,' 13485 lt_prog_compiler_pic='-qpic' 13486 lt_prog_compiler_static='-qstaticlink' 13487 ;; 13488 *) 13489 case `$CC -V 2>&1 | sed 5q` in 13490 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 13491 # Sun Fortran 8.3 passes all unrecognized flags to the linker 13492 lt_prog_compiler_pic='-KPIC' 13493 lt_prog_compiler_static='-Bstatic' 13494 lt_prog_compiler_wl='' 13495 ;; 13496 *Sun\ F* | *Sun*Fortran*) 13497 lt_prog_compiler_pic='-KPIC' 13498 lt_prog_compiler_static='-Bstatic' 13499 lt_prog_compiler_wl='-Qoption ld ' 13500 ;; 13501 *Sun\ C*) 13502 # Sun C 5.9 13503 lt_prog_compiler_pic='-KPIC' 13504 lt_prog_compiler_static='-Bstatic' 13505 lt_prog_compiler_wl='-Wl,' 13506 ;; 13507 *Intel*\ [CF]*Compiler*) 13508 lt_prog_compiler_wl='-Wl,' 13509 lt_prog_compiler_pic='-fPIC' 13510 lt_prog_compiler_static='-static' 13511 ;; 13512 *Portland\ Group*) 13513 lt_prog_compiler_wl='-Wl,' 13514 lt_prog_compiler_pic='-fpic' 13515 lt_prog_compiler_static='-Bstatic' 13516 ;; 13517 esac 13518 ;; 13519 esac 13520 ;; 13521 13522 newsos6) 13523 lt_prog_compiler_pic='-KPIC' 13524 lt_prog_compiler_static='-Bstatic' 13525 ;; 13526 13527 *nto* | *qnx*) 13528 # QNX uses GNU C++, but need to define -shared option too, otherwise 13529 # it will coredump. 13530 lt_prog_compiler_pic='-fPIC -shared' 13531 ;; 13532 13533 osf3* | osf4* | osf5*) 13534 lt_prog_compiler_wl='-Wl,' 13535 # All OSF/1 code is PIC. 13536 lt_prog_compiler_static='-non_shared' 13537 ;; 13538 13539 rdos*) 13540 lt_prog_compiler_static='-non_shared' 13541 ;; 13542 13543 solaris*) 13544 lt_prog_compiler_pic='-KPIC' 13545 lt_prog_compiler_static='-Bstatic' 13546 case $cc_basename in 13547 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 13548 lt_prog_compiler_wl='-Qoption ld ';; 13549 *) 13550 lt_prog_compiler_wl='-Wl,';; 13551 esac 13552 ;; 13553 13554 sunos4*) 13555 lt_prog_compiler_wl='-Qoption ld ' 13556 lt_prog_compiler_pic='-PIC' 13557 lt_prog_compiler_static='-Bstatic' 13558 ;; 13559 13560 sysv4 | sysv4.2uw2* | sysv4.3*) 13561 lt_prog_compiler_wl='-Wl,' 13562 lt_prog_compiler_pic='-KPIC' 13563 lt_prog_compiler_static='-Bstatic' 13564 ;; 13565 13566 sysv4*MP*) 13567 if test -d /usr/nec ;then 13568 lt_prog_compiler_pic='-Kconform_pic' 13569 lt_prog_compiler_static='-Bstatic' 13570 fi 13571 ;; 13572 13573 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13574 lt_prog_compiler_wl='-Wl,' 13575 lt_prog_compiler_pic='-KPIC' 13576 lt_prog_compiler_static='-Bstatic' 13577 ;; 13578 13579 unicos*) 13580 lt_prog_compiler_wl='-Wl,' 13581 lt_prog_compiler_can_build_shared=no 13582 ;; 13583 13584 uts4*) 13585 lt_prog_compiler_pic='-pic' 13586 lt_prog_compiler_static='-Bstatic' 13587 ;; 13588 13589 *) 13590 lt_prog_compiler_can_build_shared=no 13591 ;; 13592 esac 13593 fi 13594 13595case $host_os in 13596 # For platforms which do not support PIC, -DPIC is meaningless: 13597 *djgpp*) 13598 lt_prog_compiler_pic= 13599 ;; 13600 *) 13601 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 13602 ;; 13603esac 13604 13605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 13606$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13607if ${lt_cv_prog_compiler_pic+:} false; then : 13608 $as_echo_n "(cached) " >&6 13609else 13610 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 13611fi 13612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 13613$as_echo "$lt_cv_prog_compiler_pic" >&6; } 13614lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 13615 13616# 13617# Check to make sure the PIC flag actually works. 13618# 13619if test -n "$lt_prog_compiler_pic"; then 13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 13621$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 13622if ${lt_cv_prog_compiler_pic_works+:} false; then : 13623 $as_echo_n "(cached) " >&6 13624else 13625 lt_cv_prog_compiler_pic_works=no 13626 ac_outfile=conftest.$ac_objext 13627 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13628 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 13629 # Insert the option either (1) after the last *FLAGS variable, or 13630 # (2) before a word containing "conftest.", or (3) at the end. 13631 # Note that $ac_compile itself does not contain backslashes and begins 13632 # with a dollar sign (not a hyphen), so the echo should work correctly. 13633 # The option is referenced via a variable to avoid confusing sed. 13634 lt_compile=`echo "$ac_compile" | $SED \ 13635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13637 -e 's:$: $lt_compiler_flag:'` 13638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13639 (eval "$lt_compile" 2>conftest.err) 13640 ac_status=$? 13641 cat conftest.err >&5 13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13643 if (exit $ac_status) && test -s "$ac_outfile"; then 13644 # The compiler can only warn and ignore the option if not recognized 13645 # So say no if there are warnings other than the usual output. 13646 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 13647 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13648 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13649 lt_cv_prog_compiler_pic_works=yes 13650 fi 13651 fi 13652 $RM conftest* 13653 13654fi 13655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 13656$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 13657 13658if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 13659 case $lt_prog_compiler_pic in 13660 "" | " "*) ;; 13661 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 13662 esac 13663else 13664 lt_prog_compiler_pic= 13665 lt_prog_compiler_can_build_shared=no 13666fi 13667 13668fi 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680# 13681# Check to make sure the static flag actually works. 13682# 13683wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 13684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13685$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 13686if ${lt_cv_prog_compiler_static_works+:} false; then : 13687 $as_echo_n "(cached) " >&6 13688else 13689 lt_cv_prog_compiler_static_works=no 13690 save_LDFLAGS="$LDFLAGS" 13691 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13692 echo "$lt_simple_link_test_code" > conftest.$ac_ext 13693 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 13694 # The linker can only warn and ignore the option if not recognized 13695 # So say no if there are warnings 13696 if test -s conftest.err; then 13697 # Append any errors to the config.log. 13698 cat conftest.err 1>&5 13699 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 13700 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13701 if diff conftest.exp conftest.er2 >/dev/null; then 13702 lt_cv_prog_compiler_static_works=yes 13703 fi 13704 else 13705 lt_cv_prog_compiler_static_works=yes 13706 fi 13707 fi 13708 $RM -r conftest* 13709 LDFLAGS="$save_LDFLAGS" 13710 13711fi 13712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 13713$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 13714 13715if test x"$lt_cv_prog_compiler_static_works" = xyes; then 13716 : 13717else 13718 lt_prog_compiler_static= 13719fi 13720 13721 13722 13723 13724 13725 13726 13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13728$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13729if ${lt_cv_prog_compiler_c_o+:} false; then : 13730 $as_echo_n "(cached) " >&6 13731else 13732 lt_cv_prog_compiler_c_o=no 13733 $RM -r conftest 2>/dev/null 13734 mkdir conftest 13735 cd conftest 13736 mkdir out 13737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13738 13739 lt_compiler_flag="-o out/conftest2.$ac_objext" 13740 # Insert the option either (1) after the last *FLAGS variable, or 13741 # (2) before a word containing "conftest.", or (3) at the end. 13742 # Note that $ac_compile itself does not contain backslashes and begins 13743 # with a dollar sign (not a hyphen), so the echo should work correctly. 13744 lt_compile=`echo "$ac_compile" | $SED \ 13745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13747 -e 's:$: $lt_compiler_flag:'` 13748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13749 (eval "$lt_compile" 2>out/conftest.err) 13750 ac_status=$? 13751 cat out/conftest.err >&5 13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13753 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13754 then 13755 # The compiler can only warn and ignore the option if not recognized 13756 # So say no if there are warnings 13757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 13758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 13760 lt_cv_prog_compiler_c_o=yes 13761 fi 13762 fi 13763 chmod u+w . 2>&5 13764 $RM conftest* 13765 # SGI C++ compiler will create directory out/ii_files/ for 13766 # template instantiation 13767 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 13768 $RM out/* && rmdir out 13769 cd .. 13770 $RM -r conftest 13771 $RM conftest* 13772 13773fi 13774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 13775$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 13776 13777 13778 13779 13780 13781 13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 13783$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 13784if ${lt_cv_prog_compiler_c_o+:} false; then : 13785 $as_echo_n "(cached) " >&6 13786else 13787 lt_cv_prog_compiler_c_o=no 13788 $RM -r conftest 2>/dev/null 13789 mkdir conftest 13790 cd conftest 13791 mkdir out 13792 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13793 13794 lt_compiler_flag="-o out/conftest2.$ac_objext" 13795 # Insert the option either (1) after the last *FLAGS variable, or 13796 # (2) before a word containing "conftest.", or (3) at the end. 13797 # Note that $ac_compile itself does not contain backslashes and begins 13798 # with a dollar sign (not a hyphen), so the echo should work correctly. 13799 lt_compile=`echo "$ac_compile" | $SED \ 13800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13802 -e 's:$: $lt_compiler_flag:'` 13803 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 13804 (eval "$lt_compile" 2>out/conftest.err) 13805 ac_status=$? 13806 cat out/conftest.err >&5 13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13808 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13809 then 13810 # The compiler can only warn and ignore the option if not recognized 13811 # So say no if there are warnings 13812 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 13813 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13814 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 13815 lt_cv_prog_compiler_c_o=yes 13816 fi 13817 fi 13818 chmod u+w . 2>&5 13819 $RM conftest* 13820 # SGI C++ compiler will create directory out/ii_files/ for 13821 # template instantiation 13822 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 13823 $RM out/* && rmdir out 13824 cd .. 13825 $RM -r conftest 13826 $RM conftest* 13827 13828fi 13829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 13830$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 13831 13832 13833 13834 13835hard_links="nottested" 13836if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 13837 # do not overwrite the value of need_locks provided by the user 13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 13839$as_echo_n "checking if we can lock with hard links... " >&6; } 13840 hard_links=yes 13841 $RM conftest* 13842 ln conftest.a conftest.b 2>/dev/null && hard_links=no 13843 touch conftest.a 13844 ln conftest.a conftest.b 2>&5 || hard_links=no 13845 ln conftest.a conftest.b 2>/dev/null && hard_links=no 13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 13847$as_echo "$hard_links" >&6; } 13848 if test "$hard_links" = no; then 13849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 13850$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 13851 need_locks=warn 13852 fi 13853else 13854 need_locks=no 13855fi 13856 13857 13858 13859 13860 13861 13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13863$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13864 13865 runpath_var= 13866 allow_undefined_flag= 13867 always_export_symbols=no 13868 archive_cmds= 13869 archive_expsym_cmds= 13870 compiler_needs_object=no 13871 enable_shared_with_static_runtimes=no 13872 export_dynamic_flag_spec= 13873 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13874 hardcode_automatic=no 13875 hardcode_direct=no 13876 hardcode_direct_absolute=no 13877 hardcode_libdir_flag_spec= 13878 hardcode_libdir_separator= 13879 hardcode_minus_L=no 13880 hardcode_shlibpath_var=unsupported 13881 inherit_rpath=no 13882 link_all_deplibs=unknown 13883 module_cmds= 13884 module_expsym_cmds= 13885 old_archive_from_new_cmds= 13886 old_archive_from_expsyms_cmds= 13887 thread_safe_flag_spec= 13888 whole_archive_flag_spec= 13889 # include_expsyms should be a list of space-separated symbols to be *always* 13890 # included in the symbol list 13891 include_expsyms= 13892 # exclude_expsyms can be an extended regexp of symbols to exclude 13893 # it will be wrapped by ` (' and `)$', so one must not match beginning or 13894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 13895 # as well as any symbol that contains `d'. 13896 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 13897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 13898 # platforms (ab)use it in PIC code, but their linkers get confused if 13899 # the symbol is explicitly referenced. Since portable code cannot 13900 # rely on this symbol name, it's probably fine to never include it in 13901 # preloaded symbol tables. 13902 # Exclude shared library initialization/finalization symbols. 13903 extract_expsyms_cmds= 13904 13905 case $host_os in 13906 cygwin* | mingw* | pw32* | cegcc*) 13907 # FIXME: the MSVC++ port hasn't been tested in a loooong time 13908 # When not using gcc, we currently assume that we are using 13909 # Microsoft Visual C++. 13910 if test "$GCC" != yes; then 13911 with_gnu_ld=no 13912 fi 13913 ;; 13914 interix*) 13915 # we just hope/assume this is gcc and not c89 (= MSVC++) 13916 with_gnu_ld=yes 13917 ;; 13918 openbsd*) 13919 with_gnu_ld=no 13920 ;; 13921 esac 13922 13923 ld_shlibs=yes 13924 13925 # On some targets, GNU ld is compatible enough with the native linker 13926 # that we're better off using the native interface for both. 13927 lt_use_gnu_ld_interface=no 13928 if test "$with_gnu_ld" = yes; then 13929 case $host_os in 13930 aix*) 13931 # The AIX port of GNU ld has always aspired to compatibility 13932 # with the native linker. However, as the warning in the GNU ld 13933 # block says, versions before 2.19.5* couldn't really create working 13934 # shared libraries, regardless of the interface used. 13935 case `$LD -v 2>&1` in 13936 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 13937 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 13938 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 13939 *) 13940 lt_use_gnu_ld_interface=yes 13941 ;; 13942 esac 13943 ;; 13944 *) 13945 lt_use_gnu_ld_interface=yes 13946 ;; 13947 esac 13948 fi 13949 13950 if test "$lt_use_gnu_ld_interface" = yes; then 13951 # If archive_cmds runs LD, not CC, wlarc should be empty 13952 wlarc='${wl}' 13953 13954 # Set some defaults for GNU ld with shared library support. These 13955 # are reset later if shared libraries are not supported. Putting them 13956 # here allows them to be overridden if necessary. 13957 runpath_var=LD_RUN_PATH 13958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 13959 export_dynamic_flag_spec='${wl}--export-dynamic' 13960 # ancient GNU ld didn't support --whole-archive et. al. 13961 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 13962 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13963 else 13964 whole_archive_flag_spec= 13965 fi 13966 supports_anon_versioning=no 13967 case `$LD -v 2>&1` in 13968 *GNU\ gold*) supports_anon_versioning=yes ;; 13969 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 13970 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 13971 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 13972 *\ 2.11.*) ;; # other 2.11 versions 13973 *) supports_anon_versioning=yes ;; 13974 esac 13975 13976 # See if GNU ld supports shared libraries. 13977 case $host_os in 13978 aix[3-9]*) 13979 # On AIX/PPC, the GNU linker is very broken 13980 if test "$host_cpu" != ia64; then 13981 ld_shlibs=no 13982 cat <<_LT_EOF 1>&2 13983 13984*** Warning: the GNU linker, at least up to release 2.19, is reported 13985*** to be unable to reliably create shared libraries on AIX. 13986*** Therefore, libtool is disabling shared libraries support. If you 13987*** really care for shared libraries, you may want to install binutils 13988*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 13989*** You will then need to restart the configuration process. 13990 13991_LT_EOF 13992 fi 13993 ;; 13994 13995 amigaos*) 13996 case $host_cpu in 13997 powerpc) 13998 # see comment about AmigaOS4 .so support 13999 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14000 archive_expsym_cmds='' 14001 ;; 14002 m68k) 14003 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)' 14004 hardcode_libdir_flag_spec='-L$libdir' 14005 hardcode_minus_L=yes 14006 ;; 14007 esac 14008 ;; 14009 14010 beos*) 14011 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14012 allow_undefined_flag=unsupported 14013 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14014 # support --undefined. This deserves some investigation. FIXME 14015 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14016 else 14017 ld_shlibs=no 14018 fi 14019 ;; 14020 14021 cygwin* | mingw* | pw32* | cegcc*) 14022 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 14023 # as there is no search path for DLLs. 14024 hardcode_libdir_flag_spec='-L$libdir' 14025 export_dynamic_flag_spec='${wl}--export-all-symbols' 14026 allow_undefined_flag=unsupported 14027 always_export_symbols=no 14028 enable_shared_with_static_runtimes=yes 14029 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' 14030 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14031 14032 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14033 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14034 # If the export-symbols file already is a .def file (1st line 14035 # is EXPORTS), use it as is; otherwise, prepend... 14036 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14037 cp $export_symbols $output_objdir/$soname.def; 14038 else 14039 echo EXPORTS > $output_objdir/$soname.def; 14040 cat $export_symbols >> $output_objdir/$soname.def; 14041 fi~ 14042 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14043 else 14044 ld_shlibs=no 14045 fi 14046 ;; 14047 14048 haiku*) 14049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14050 link_all_deplibs=yes 14051 ;; 14052 14053 interix[3-9]*) 14054 hardcode_direct=no 14055 hardcode_shlibpath_var=no 14056 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14057 export_dynamic_flag_spec='${wl}-E' 14058 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14059 # Instead, shared libraries are loaded at an image base (0x10000000 by 14060 # default) and relocated if they conflict, which is a slow very memory 14061 # consuming and fragmenting process. To avoid this, we pick a random, 14062 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14063 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14064 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14065 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' 14066 ;; 14067 14068 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 14069 tmp_diet=no 14070 if test "$host_os" = linux-dietlibc; then 14071 case $cc_basename in 14072 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 14073 esac 14074 fi 14075 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 14076 && test "$tmp_diet" = no 14077 then 14078 tmp_addflag=' $pic_flag' 14079 tmp_sharedflag='-shared' 14080 case $cc_basename,$host_cpu in 14081 pgcc*) # Portland Group C compiler 14082 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' 14083 tmp_addflag=' $pic_flag' 14084 ;; 14085 pgf77* | pgf90* | pgf95* | pgfortran*) 14086 # Portland Group f77 and f90 compilers 14087 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' 14088 tmp_addflag=' $pic_flag -Mnomain' ;; 14089 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14090 tmp_addflag=' -i_dynamic' ;; 14091 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14092 tmp_addflag=' -i_dynamic -nofor_main' ;; 14093 ifc* | ifort*) # Intel Fortran compiler 14094 tmp_addflag=' -nofor_main' ;; 14095 lf95*) # Lahey Fortran 8.1 14096 whole_archive_flag_spec= 14097 tmp_sharedflag='--shared' ;; 14098 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 14099 tmp_sharedflag='-qmkshrobj' 14100 tmp_addflag= ;; 14101 nvcc*) # Cuda Compiler Driver 2.2 14102 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' 14103 compiler_needs_object=yes 14104 ;; 14105 esac 14106 case `$CC -V 2>&1 | sed 5q` in 14107 *Sun\ C*) # Sun C 5.9 14108 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' 14109 compiler_needs_object=yes 14110 tmp_sharedflag='-G' ;; 14111 *Sun\ F*) # Sun Fortran 8.3 14112 tmp_sharedflag='-G' ;; 14113 esac 14114 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14115 14116 if test "x$supports_anon_versioning" = xyes; then 14117 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 14118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14119 echo "local: *; };" >> $output_objdir/$libname.ver~ 14120 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14121 fi 14122 14123 case $cc_basename in 14124 xlf* | bgf* | bgxlf* | mpixlf*) 14125 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 14126 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 14127 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14128 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 14129 if test "x$supports_anon_versioning" = xyes; then 14130 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 14131 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14132 echo "local: *; };" >> $output_objdir/$libname.ver~ 14133 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 14134 fi 14135 ;; 14136 esac 14137 else 14138 ld_shlibs=no 14139 fi 14140 ;; 14141 14142 netbsd*) 14143 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14144 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14145 wlarc= 14146 else 14147 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14148 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14149 fi 14150 ;; 14151 14152 solaris*) 14153 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 14154 ld_shlibs=no 14155 cat <<_LT_EOF 1>&2 14156 14157*** Warning: The releases 2.8.* of the GNU linker cannot reliably 14158*** create shared libraries on Solaris systems. Therefore, libtool 14159*** is disabling shared libraries support. We urge you to upgrade GNU 14160*** binutils to release 2.9.1 or newer. Another option is to modify 14161*** your PATH or compiler configuration so that the native linker is 14162*** used, and then restart. 14163 14164_LT_EOF 14165 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14166 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14167 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14168 else 14169 ld_shlibs=no 14170 fi 14171 ;; 14172 14173 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 14174 case `$LD -v 2>&1` in 14175 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 14176 ld_shlibs=no 14177 cat <<_LT_EOF 1>&2 14178 14179*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 14180*** reliably create shared libraries on SCO systems. Therefore, libtool 14181*** is disabling shared libraries support. We urge you to upgrade GNU 14182*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 14183*** your PATH or compiler configuration so that the native linker is 14184*** used, and then restart. 14185 14186_LT_EOF 14187 ;; 14188 *) 14189 # For security reasons, it is highly recommended that you always 14190 # use absolute paths for naming shared libraries, and exclude the 14191 # DT_RUNPATH tag from executables and libraries. But doing so 14192 # requires that you compile everything twice, which is a pain. 14193 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14196 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14197 else 14198 ld_shlibs=no 14199 fi 14200 ;; 14201 esac 14202 ;; 14203 14204 sunos4*) 14205 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14206 wlarc= 14207 hardcode_direct=yes 14208 hardcode_shlibpath_var=no 14209 ;; 14210 14211 *) 14212 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14213 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14214 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14215 else 14216 ld_shlibs=no 14217 fi 14218 ;; 14219 esac 14220 14221 if test "$ld_shlibs" = no; then 14222 runpath_var= 14223 hardcode_libdir_flag_spec= 14224 export_dynamic_flag_spec= 14225 whole_archive_flag_spec= 14226 fi 14227 else 14228 # PORTME fill in a description of your system's linker (not GNU ld) 14229 case $host_os in 14230 aix3*) 14231 allow_undefined_flag=unsupported 14232 always_export_symbols=yes 14233 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' 14234 # Note: this linker hardcodes the directories in LIBPATH if there 14235 # are no directories specified by -L. 14236 hardcode_minus_L=yes 14237 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 14238 # Neither direct hardcoding nor static linking is supported with a 14239 # broken collect2. 14240 hardcode_direct=unsupported 14241 fi 14242 ;; 14243 14244 aix[4-9]*) 14245 if test "$host_cpu" = ia64; then 14246 # On IA64, the linker does run time linking by default, so we don't 14247 # have to do anything special. 14248 aix_use_runtimelinking=no 14249 exp_sym_flag='-Bexport' 14250 no_entry_flag="" 14251 else 14252 # If we're using GNU nm, then we don't want the "-C" option. 14253 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14254 # Also, AIX nm treats weak defined symbols like other global 14255 # defined symbols, whereas GNU nm marks them as "W". 14256 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14257 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' 14258 else 14259 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' 14260 fi 14261 aix_use_runtimelinking=no 14262 14263 # Test if we are trying to use run time linking or normal 14264 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14265 # need to do runtime linking. 14266 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14267 for ld_flag in $LDFLAGS; do 14268 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 14269 aix_use_runtimelinking=yes 14270 break 14271 fi 14272 done 14273 ;; 14274 esac 14275 14276 exp_sym_flag='-bexport' 14277 no_entry_flag='-bnoentry' 14278 fi 14279 14280 # When large executables or shared objects are built, AIX ld can 14281 # have problems creating the table of contents. If linking a library 14282 # or program results in "error TOC overflow" add -mminimal-toc to 14283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14285 14286 archive_cmds='' 14287 hardcode_direct=yes 14288 hardcode_direct_absolute=yes 14289 hardcode_libdir_separator=':' 14290 link_all_deplibs=yes 14291 file_list_spec='${wl}-f,' 14292 14293 if test "$GCC" = yes; then 14294 case $host_os in aix4.[012]|aix4.[012].*) 14295 # We only want to do this on AIX 4.2 and lower, the check 14296 # below for broken collect2 doesn't work under 4.3+ 14297 collect2name=`${CC} -print-prog-name=collect2` 14298 if test -f "$collect2name" && 14299 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14300 then 14301 # We have reworked collect2 14302 : 14303 else 14304 # We have old collect2 14305 hardcode_direct=unsupported 14306 # It fails to find uninstalled libraries when the uninstalled 14307 # path is not listed in the libpath. Setting hardcode_minus_L 14308 # to unsupported forces relinking 14309 hardcode_minus_L=yes 14310 hardcode_libdir_flag_spec='-L$libdir' 14311 hardcode_libdir_separator= 14312 fi 14313 ;; 14314 esac 14315 shared_flag='-shared' 14316 if test "$aix_use_runtimelinking" = yes; then 14317 shared_flag="$shared_flag "'${wl}-G' 14318 fi 14319 else 14320 # not using gcc 14321 if test "$host_cpu" = ia64; then 14322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14323 # chokes on -Wl,-G. The following line is correct: 14324 shared_flag='-G' 14325 else 14326 if test "$aix_use_runtimelinking" = yes; then 14327 shared_flag='${wl}-G' 14328 else 14329 shared_flag='${wl}-bM:SRE' 14330 fi 14331 fi 14332 fi 14333 14334 export_dynamic_flag_spec='${wl}-bexpall' 14335 # It seems that -bexpall does not export symbols beginning with 14336 # underscore (_), so it is better to generate a list of symbols to export. 14337 always_export_symbols=yes 14338 if test "$aix_use_runtimelinking" = yes; then 14339 # Warning - without using the other runtime loading flags (-brtl), 14340 # -berok will link without error, but may produce a broken library. 14341 allow_undefined_flag='-berok' 14342 # Determine the default libpath from the value encoded in an 14343 # empty executable. 14344 if test "${lt_cv_aix_libpath+set}" = set; then 14345 aix_libpath=$lt_cv_aix_libpath 14346else 14347 if ${lt_cv_aix_libpath_+:} false; then : 14348 $as_echo_n "(cached) " >&6 14349else 14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14351/* end confdefs.h. */ 14352 14353int 14354main () 14355{ 14356 14357 ; 14358 return 0; 14359} 14360_ACEOF 14361if ac_fn_c_try_link "$LINENO"; then : 14362 14363 lt_aix_libpath_sed=' 14364 /Import File Strings/,/^$/ { 14365 /^0/ { 14366 s/^0 *\([^ ]*\) *$/\1/ 14367 p 14368 } 14369 }' 14370 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14371 # Check for a 64-bit object if we didn't find anything. 14372 if test -z "$lt_cv_aix_libpath_"; then 14373 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14374 fi 14375fi 14376rm -f core conftest.err conftest.$ac_objext \ 14377 conftest$ac_exeext conftest.$ac_ext 14378 if test -z "$lt_cv_aix_libpath_"; then 14379 lt_cv_aix_libpath_="/usr/lib:/lib" 14380 fi 14381 14382fi 14383 14384 aix_libpath=$lt_cv_aix_libpath_ 14385fi 14386 14387 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14388 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" 14389 else 14390 if test "$host_cpu" = ia64; then 14391 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 14392 allow_undefined_flag="-z nodefs" 14393 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" 14394 else 14395 # Determine the default libpath from the value encoded in an 14396 # empty executable. 14397 if test "${lt_cv_aix_libpath+set}" = set; then 14398 aix_libpath=$lt_cv_aix_libpath 14399else 14400 if ${lt_cv_aix_libpath_+:} false; then : 14401 $as_echo_n "(cached) " >&6 14402else 14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14404/* end confdefs.h. */ 14405 14406int 14407main () 14408{ 14409 14410 ; 14411 return 0; 14412} 14413_ACEOF 14414if ac_fn_c_try_link "$LINENO"; then : 14415 14416 lt_aix_libpath_sed=' 14417 /Import File Strings/,/^$/ { 14418 /^0/ { 14419 s/^0 *\([^ ]*\) *$/\1/ 14420 p 14421 } 14422 }' 14423 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14424 # Check for a 64-bit object if we didn't find anything. 14425 if test -z "$lt_cv_aix_libpath_"; then 14426 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14427 fi 14428fi 14429rm -f core conftest.err conftest.$ac_objext \ 14430 conftest$ac_exeext conftest.$ac_ext 14431 if test -z "$lt_cv_aix_libpath_"; then 14432 lt_cv_aix_libpath_="/usr/lib:/lib" 14433 fi 14434 14435fi 14436 14437 aix_libpath=$lt_cv_aix_libpath_ 14438fi 14439 14440 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14441 # Warning - without using the other run time loading flags, 14442 # -berok will link without error, but may produce a broken library. 14443 no_undefined_flag=' ${wl}-bernotok' 14444 allow_undefined_flag=' ${wl}-berok' 14445 if test "$with_gnu_ld" = yes; then 14446 # We only use this code for GNU lds that support --whole-archive. 14447 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14448 else 14449 # Exported symbols can be pulled into shared objects from archives 14450 whole_archive_flag_spec='$convenience' 14451 fi 14452 archive_cmds_need_lc=yes 14453 # This is similar to how AIX traditionally builds its shared libraries. 14454 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' 14455 fi 14456 fi 14457 ;; 14458 14459 amigaos*) 14460 case $host_cpu in 14461 powerpc) 14462 # see comment about AmigaOS4 .so support 14463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14464 archive_expsym_cmds='' 14465 ;; 14466 m68k) 14467 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)' 14468 hardcode_libdir_flag_spec='-L$libdir' 14469 hardcode_minus_L=yes 14470 ;; 14471 esac 14472 ;; 14473 14474 bsdi[45]*) 14475 export_dynamic_flag_spec=-rdynamic 14476 ;; 14477 14478 cygwin* | mingw* | pw32* | cegcc*) 14479 # When not using gcc, we currently assume that we are using 14480 # Microsoft Visual C++. 14481 # hardcode_libdir_flag_spec is actually meaningless, as there is 14482 # no search path for DLLs. 14483 case $cc_basename in 14484 cl*) 14485 # Native MSVC 14486 hardcode_libdir_flag_spec=' ' 14487 allow_undefined_flag=unsupported 14488 always_export_symbols=yes 14489 file_list_spec='@' 14490 # Tell ltmain to make .lib files, not .a files. 14491 libext=lib 14492 # Tell ltmain to make .dll files, not .so files. 14493 shrext_cmds=".dll" 14494 # FIXME: Setting linknames here is a bad hack. 14495 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 14496 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14497 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 14498 else 14499 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 14500 fi~ 14501 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14502 linknames=' 14503 # The linker will not automatically build a static lib if we build a DLL. 14504 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 14505 enable_shared_with_static_runtimes=yes 14506 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14507 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 14508 # Don't use ranlib 14509 old_postinstall_cmds='chmod 644 $oldlib' 14510 postlink_cmds='lt_outputfile="@OUTPUT@"~ 14511 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14512 case $lt_outputfile in 14513 *.exe|*.EXE) ;; 14514 *) 14515 lt_outputfile="$lt_outputfile.exe" 14516 lt_tool_outputfile="$lt_tool_outputfile.exe" 14517 ;; 14518 esac~ 14519 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 14520 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14521 $RM "$lt_outputfile.manifest"; 14522 fi' 14523 ;; 14524 *) 14525 # Assume MSVC wrapper 14526 hardcode_libdir_flag_spec=' ' 14527 allow_undefined_flag=unsupported 14528 # Tell ltmain to make .lib files, not .a files. 14529 libext=lib 14530 # Tell ltmain to make .dll files, not .so files. 14531 shrext_cmds=".dll" 14532 # FIXME: Setting linknames here is a bad hack. 14533 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 14534 # The linker will automatically build a .lib file if we build a DLL. 14535 old_archive_from_new_cmds='true' 14536 # FIXME: Should let the user specify the lib program. 14537 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 14538 enable_shared_with_static_runtimes=yes 14539 ;; 14540 esac 14541 ;; 14542 14543 darwin* | rhapsody*) 14544 14545 14546 archive_cmds_need_lc=no 14547 hardcode_direct=no 14548 hardcode_automatic=yes 14549 hardcode_shlibpath_var=unsupported 14550 if test "$lt_cv_ld_force_load" = "yes"; then 14551 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\"`' 14552 14553 else 14554 whole_archive_flag_spec='' 14555 fi 14556 link_all_deplibs=yes 14557 allow_undefined_flag="$_lt_dar_allow_undefined" 14558 case $cc_basename in 14559 ifort*) _lt_dar_can_shared=yes ;; 14560 *) _lt_dar_can_shared=$GCC ;; 14561 esac 14562 if test "$_lt_dar_can_shared" = "yes"; then 14563 output_verbose_link_cmd=func_echo_all 14564 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 14565 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14566 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}" 14567 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}" 14568 14569 else 14570 ld_shlibs=no 14571 fi 14572 14573 ;; 14574 14575 dgux*) 14576 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14577 hardcode_libdir_flag_spec='-L$libdir' 14578 hardcode_shlibpath_var=no 14579 ;; 14580 14581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 14582 # support. Future versions do this automatically, but an explicit c++rt0.o 14583 # does not break anything, and helps significantly (at the cost of a little 14584 # extra space). 14585 freebsd2.2*) 14586 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 14587 hardcode_libdir_flag_spec='-R$libdir' 14588 hardcode_direct=yes 14589 hardcode_shlibpath_var=no 14590 ;; 14591 14592 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 14593 freebsd2.*) 14594 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14595 hardcode_direct=yes 14596 hardcode_minus_L=yes 14597 hardcode_shlibpath_var=no 14598 ;; 14599 14600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 14601 freebsd* | dragonfly*) 14602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14603 hardcode_libdir_flag_spec='-R$libdir' 14604 hardcode_direct=yes 14605 hardcode_shlibpath_var=no 14606 ;; 14607 14608 hpux9*) 14609 if test "$GCC" = yes; then 14610 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' 14611 else 14612 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' 14613 fi 14614 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 14615 hardcode_libdir_separator=: 14616 hardcode_direct=yes 14617 14618 # hardcode_minus_L: Not really in the search PATH, 14619 # but as the default location of the library. 14620 hardcode_minus_L=yes 14621 export_dynamic_flag_spec='${wl}-E' 14622 ;; 14623 14624 hpux10*) 14625 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14626 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 14627 else 14628 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14629 fi 14630 if test "$with_gnu_ld" = no; then 14631 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 14632 hardcode_libdir_separator=: 14633 hardcode_direct=yes 14634 hardcode_direct_absolute=yes 14635 export_dynamic_flag_spec='${wl}-E' 14636 # hardcode_minus_L: Not really in the search PATH, 14637 # but as the default location of the library. 14638 hardcode_minus_L=yes 14639 fi 14640 ;; 14641 14642 hpux11*) 14643 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14644 case $host_cpu in 14645 hppa*64*) 14646 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14647 ;; 14648 ia64*) 14649 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 14650 ;; 14651 *) 14652 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 14653 ;; 14654 esac 14655 else 14656 case $host_cpu in 14657 hppa*64*) 14658 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14659 ;; 14660 ia64*) 14661 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 14662 ;; 14663 *) 14664 14665 # Older versions of the 11.00 compiler do not understand -b yet 14666 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 14668$as_echo_n "checking if $CC understands -b... " >&6; } 14669if ${lt_cv_prog_compiler__b+:} false; then : 14670 $as_echo_n "(cached) " >&6 14671else 14672 lt_cv_prog_compiler__b=no 14673 save_LDFLAGS="$LDFLAGS" 14674 LDFLAGS="$LDFLAGS -b" 14675 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14676 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14677 # The linker can only warn and ignore the option if not recognized 14678 # So say no if there are warnings 14679 if test -s conftest.err; then 14680 # Append any errors to the config.log. 14681 cat conftest.err 1>&5 14682 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14683 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14684 if diff conftest.exp conftest.er2 >/dev/null; then 14685 lt_cv_prog_compiler__b=yes 14686 fi 14687 else 14688 lt_cv_prog_compiler__b=yes 14689 fi 14690 fi 14691 $RM -r conftest* 14692 LDFLAGS="$save_LDFLAGS" 14693 14694fi 14695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 14696$as_echo "$lt_cv_prog_compiler__b" >&6; } 14697 14698if test x"$lt_cv_prog_compiler__b" = xyes; then 14699 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 14700else 14701 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14702fi 14703 14704 ;; 14705 esac 14706 fi 14707 if test "$with_gnu_ld" = no; then 14708 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 14709 hardcode_libdir_separator=: 14710 14711 case $host_cpu in 14712 hppa*64*|ia64*) 14713 hardcode_direct=no 14714 hardcode_shlibpath_var=no 14715 ;; 14716 *) 14717 hardcode_direct=yes 14718 hardcode_direct_absolute=yes 14719 export_dynamic_flag_spec='${wl}-E' 14720 14721 # hardcode_minus_L: Not really in the search PATH, 14722 # but as the default location of the library. 14723 hardcode_minus_L=yes 14724 ;; 14725 esac 14726 fi 14727 ;; 14728 14729 irix5* | irix6* | nonstopux*) 14730 if test "$GCC" = yes; then 14731 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' 14732 # Try to use the -exported_symbol ld option, if it does not 14733 # work, assume that -exports_file does not work either and 14734 # implicitly export all symbols. 14735 # This should be the same for all languages, so no per-tag cache variable. 14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 14737$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 14738if ${lt_cv_irix_exported_symbol+:} false; then : 14739 $as_echo_n "(cached) " >&6 14740else 14741 save_LDFLAGS="$LDFLAGS" 14742 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14744/* end confdefs.h. */ 14745int foo (void) { return 0; } 14746_ACEOF 14747if ac_fn_c_try_link "$LINENO"; then : 14748 lt_cv_irix_exported_symbol=yes 14749else 14750 lt_cv_irix_exported_symbol=no 14751fi 14752rm -f core conftest.err conftest.$ac_objext \ 14753 conftest$ac_exeext conftest.$ac_ext 14754 LDFLAGS="$save_LDFLAGS" 14755fi 14756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 14757$as_echo "$lt_cv_irix_exported_symbol" >&6; } 14758 if test "$lt_cv_irix_exported_symbol" = yes; then 14759 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' 14760 fi 14761 else 14762 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' 14763 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' 14764 fi 14765 archive_cmds_need_lc='no' 14766 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14767 hardcode_libdir_separator=: 14768 inherit_rpath=yes 14769 link_all_deplibs=yes 14770 ;; 14771 14772 netbsd*) 14773 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14774 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 14775 else 14776 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 14777 fi 14778 hardcode_libdir_flag_spec='-R$libdir' 14779 hardcode_direct=yes 14780 hardcode_shlibpath_var=no 14781 ;; 14782 14783 newsos6) 14784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14785 hardcode_direct=yes 14786 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14787 hardcode_libdir_separator=: 14788 hardcode_shlibpath_var=no 14789 ;; 14790 14791 *nto* | *qnx*) 14792 ;; 14793 14794 openbsd*) 14795 if test -f /usr/libexec/ld.so; then 14796 hardcode_direct=yes 14797 hardcode_shlibpath_var=no 14798 hardcode_direct_absolute=yes 14799 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14800 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14801 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 14802 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14803 export_dynamic_flag_spec='${wl}-E' 14804 else 14805 case $host_os in 14806 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 14807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14808 hardcode_libdir_flag_spec='-R$libdir' 14809 ;; 14810 *) 14811 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 14812 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 14813 ;; 14814 esac 14815 fi 14816 else 14817 ld_shlibs=no 14818 fi 14819 ;; 14820 14821 os2*) 14822 hardcode_libdir_flag_spec='-L$libdir' 14823 hardcode_minus_L=yes 14824 allow_undefined_flag=unsupported 14825 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' 14826 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 14827 ;; 14828 14829 osf3*) 14830 if test "$GCC" = yes; then 14831 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14832 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' 14833 else 14834 allow_undefined_flag=' -expect_unresolved \*' 14835 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' 14836 fi 14837 archive_cmds_need_lc='no' 14838 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14839 hardcode_libdir_separator=: 14840 ;; 14841 14842 osf4* | osf5*) # as osf3* with the addition of -msym flag 14843 if test "$GCC" = yes; then 14844 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14845 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' 14846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14847 else 14848 allow_undefined_flag=' -expect_unresolved \*' 14849 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' 14850 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~ 14851 $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' 14852 14853 # Both c and cxx compiler support -rpath directly 14854 hardcode_libdir_flag_spec='-rpath $libdir' 14855 fi 14856 archive_cmds_need_lc='no' 14857 hardcode_libdir_separator=: 14858 ;; 14859 14860 solaris*) 14861 no_undefined_flag=' -z defs' 14862 if test "$GCC" = yes; then 14863 wlarc='${wl}' 14864 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14865 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14866 $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' 14867 else 14868 case `$CC -V 2>&1` in 14869 *"Compilers 5.0"*) 14870 wlarc='' 14871 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 14872 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14873 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 14874 ;; 14875 *) 14876 wlarc='${wl}' 14877 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 14878 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14879 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 14880 ;; 14881 esac 14882 fi 14883 hardcode_libdir_flag_spec='-R$libdir' 14884 hardcode_shlibpath_var=no 14885 case $host_os in 14886 solaris2.[0-5] | solaris2.[0-5].*) ;; 14887 *) 14888 # The compiler driver will combine and reorder linker options, 14889 # but understands `-z linker_flag'. GCC discards it without `$wl', 14890 # but is careful enough not to reorder. 14891 # Supported since Solaris 2.6 (maybe 2.5.1?) 14892 if test "$GCC" = yes; then 14893 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 14894 else 14895 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 14896 fi 14897 ;; 14898 esac 14899 link_all_deplibs=yes 14900 ;; 14901 14902 sunos4*) 14903 if test "x$host_vendor" = xsequent; then 14904 # Use $CC to link under sequent, because it throws in some extra .o 14905 # files that make .init and .fini sections work. 14906 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 14907 else 14908 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 14909 fi 14910 hardcode_libdir_flag_spec='-L$libdir' 14911 hardcode_direct=yes 14912 hardcode_minus_L=yes 14913 hardcode_shlibpath_var=no 14914 ;; 14915 14916 sysv4) 14917 case $host_vendor in 14918 sni) 14919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14920 hardcode_direct=yes # is this really true??? 14921 ;; 14922 siemens) 14923 ## LD is ld it makes a PLAMLIB 14924 ## CC just makes a GrossModule. 14925 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 14926 reload_cmds='$CC -r -o $output$reload_objs' 14927 hardcode_direct=no 14928 ;; 14929 motorola) 14930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14931 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 14932 ;; 14933 esac 14934 runpath_var='LD_RUN_PATH' 14935 hardcode_shlibpath_var=no 14936 ;; 14937 14938 sysv4.3*) 14939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14940 hardcode_shlibpath_var=no 14941 export_dynamic_flag_spec='-Bexport' 14942 ;; 14943 14944 sysv4*MP*) 14945 if test -d /usr/nec; then 14946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14947 hardcode_shlibpath_var=no 14948 runpath_var=LD_RUN_PATH 14949 hardcode_runpath_var=yes 14950 ld_shlibs=yes 14951 fi 14952 ;; 14953 14954 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14955 no_undefined_flag='${wl}-z,text' 14956 archive_cmds_need_lc=no 14957 hardcode_shlibpath_var=no 14958 runpath_var='LD_RUN_PATH' 14959 14960 if test "$GCC" = yes; then 14961 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14962 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14963 else 14964 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14965 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14966 fi 14967 ;; 14968 14969 sysv5* | sco3.2v5* | sco5v6*) 14970 # Note: We can NOT use -z defs as we might desire, because we do not 14971 # link with -lc, and that would cause any symbols used from libc to 14972 # always be unresolved, which means just about no library would 14973 # ever link correctly. If we're not using GNU ld we use -z text 14974 # though, which does catch some bad symbols but isn't as heavy-handed 14975 # as -z defs. 14976 no_undefined_flag='${wl}-z,text' 14977 allow_undefined_flag='${wl}-z,nodefs' 14978 archive_cmds_need_lc=no 14979 hardcode_shlibpath_var=no 14980 hardcode_libdir_flag_spec='${wl}-R,$libdir' 14981 hardcode_libdir_separator=':' 14982 link_all_deplibs=yes 14983 export_dynamic_flag_spec='${wl}-Bexport' 14984 runpath_var='LD_RUN_PATH' 14985 14986 if test "$GCC" = yes; then 14987 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14988 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14989 else 14990 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14991 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14992 fi 14993 ;; 14994 14995 uts4*) 14996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 14997 hardcode_libdir_flag_spec='-L$libdir' 14998 hardcode_shlibpath_var=no 14999 ;; 15000 15001 *) 15002 ld_shlibs=no 15003 ;; 15004 esac 15005 15006 if test x$host_vendor = xsni; then 15007 case $host in 15008 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 15009 export_dynamic_flag_spec='${wl}-Blargedynsym' 15010 ;; 15011 esac 15012 fi 15013 fi 15014 15015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 15016$as_echo "$ld_shlibs" >&6; } 15017test "$ld_shlibs" = no && can_build_shared=no 15018 15019with_gnu_ld=$with_gnu_ld 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035# 15036# Do we need to explicitly link libc? 15037# 15038case "x$archive_cmds_need_lc" in 15039x|xyes) 15040 # Assume -lc should be added 15041 archive_cmds_need_lc=yes 15042 15043 if test "$enable_shared" = yes && test "$GCC" = yes; then 15044 case $archive_cmds in 15045 *'~'*) 15046 # FIXME: we may have to deal with multi-command sequences. 15047 ;; 15048 '$CC '*) 15049 # Test whether the compiler implicitly links with -lc since on some 15050 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15051 # to ld, don't add -lc before -lgcc. 15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15053$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15054if ${lt_cv_archive_cmds_need_lc+:} false; then : 15055 $as_echo_n "(cached) " >&6 15056else 15057 $RM conftest* 15058 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15059 15060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15061 (eval $ac_compile) 2>&5 15062 ac_status=$? 15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15064 test $ac_status = 0; } 2>conftest.err; then 15065 soname=conftest 15066 lib=conftest 15067 libobjs=conftest.$ac_objext 15068 deplibs= 15069 wl=$lt_prog_compiler_wl 15070 pic_flag=$lt_prog_compiler_pic 15071 compiler_flags=-v 15072 linker_flags=-v 15073 verstring= 15074 output_objdir=. 15075 libname=conftest 15076 lt_save_allow_undefined_flag=$allow_undefined_flag 15077 allow_undefined_flag= 15078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15079 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15080 ac_status=$? 15081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15082 test $ac_status = 0; } 15083 then 15084 lt_cv_archive_cmds_need_lc=no 15085 else 15086 lt_cv_archive_cmds_need_lc=yes 15087 fi 15088 allow_undefined_flag=$lt_save_allow_undefined_flag 15089 else 15090 cat conftest.err 1>&5 15091 fi 15092 $RM conftest* 15093 15094fi 15095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 15096$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 15097 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 15098 ;; 15099 esac 15100 fi 15101 ;; 15102esac 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15256$as_echo_n "checking dynamic linker characteristics... " >&6; } 15257 15258if test "$GCC" = yes; then 15259 case $host_os in 15260 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 15261 *) lt_awk_arg="/^libraries:/" ;; 15262 esac 15263 case $host_os in 15264 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 15265 *) lt_sed_strip_eq="s,=/,/,g" ;; 15266 esac 15267 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 15268 case $lt_search_path_spec in 15269 *\;*) 15270 # if the path contains ";" then we assume it to be the separator 15271 # otherwise default to the standard path separator (i.e. ":") - it is 15272 # assumed that no part of a normal pathname contains ";" but that should 15273 # okay in the real world where ";" in dirpaths is itself problematic. 15274 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 15275 ;; 15276 *) 15277 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 15278 ;; 15279 esac 15280 # Ok, now we have the path, separated by spaces, we can step through it 15281 # and add multilib dir if necessary. 15282 lt_tmp_lt_search_path_spec= 15283 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 15284 for lt_sys_path in $lt_search_path_spec; do 15285 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 15286 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 15287 else 15288 test -d "$lt_sys_path" && \ 15289 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 15290 fi 15291 done 15292 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 15293BEGIN {RS=" "; FS="/|\n";} { 15294 lt_foo=""; 15295 lt_count=0; 15296 for (lt_i = NF; lt_i > 0; lt_i--) { 15297 if ($lt_i != "" && $lt_i != ".") { 15298 if ($lt_i == "..") { 15299 lt_count++; 15300 } else { 15301 if (lt_count == 0) { 15302 lt_foo="/" $lt_i lt_foo; 15303 } else { 15304 lt_count--; 15305 } 15306 } 15307 } 15308 } 15309 if (lt_foo != "") { lt_freq[lt_foo]++; } 15310 if (lt_freq[lt_foo] == 1) { print lt_foo; } 15311}'` 15312 # AWK program above erroneously prepends '/' to C:/dos/paths 15313 # for these hosts. 15314 case $host_os in 15315 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 15316 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 15317 esac 15318 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 15319else 15320 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15321fi 15322library_names_spec= 15323libname_spec='lib$name' 15324soname_spec= 15325shrext_cmds=".so" 15326postinstall_cmds= 15327postuninstall_cmds= 15328finish_cmds= 15329finish_eval= 15330shlibpath_var= 15331shlibpath_overrides_runpath=unknown 15332version_type=none 15333dynamic_linker="$host_os ld.so" 15334sys_lib_dlsearch_path_spec="/lib /usr/lib" 15335need_lib_prefix=unknown 15336hardcode_into_libs=no 15337 15338# when you set need_version to no, make sure it does not cause -set_version 15339# flags to be left without arguments 15340need_version=unknown 15341 15342case $host_os in 15343aix3*) 15344 version_type=linux # correct to gnu/linux during the next big refactor 15345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15346 shlibpath_var=LIBPATH 15347 15348 # AIX 3 has no versioning support, so we append a major version to the name. 15349 soname_spec='${libname}${release}${shared_ext}$major' 15350 ;; 15351 15352aix[4-9]*) 15353 version_type=linux # correct to gnu/linux during the next big refactor 15354 need_lib_prefix=no 15355 need_version=no 15356 hardcode_into_libs=yes 15357 if test "$host_cpu" = ia64; then 15358 # AIX 5 supports IA64 15359 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15360 shlibpath_var=LD_LIBRARY_PATH 15361 else 15362 # With GCC up to 2.95.x, collect2 would create an import file 15363 # for dependence libraries. The import file would start with 15364 # the line `#! .'. This would cause the generated library to 15365 # depend on `.', always an invalid library. This was fixed in 15366 # development snapshots of GCC prior to 3.0. 15367 case $host_os in 15368 aix4 | aix4.[01] | aix4.[01].*) 15369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15370 echo ' yes ' 15371 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 15372 : 15373 else 15374 can_build_shared=no 15375 fi 15376 ;; 15377 esac 15378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15379 # soname into executable. Probably we can add versioning support to 15380 # collect2, so additional links can be useful in future. 15381 if test "$aix_use_runtimelinking" = yes; then 15382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15383 # instead of lib<name>.a to let people know that these are not 15384 # typical AIX shared libraries. 15385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15386 else 15387 # We preserve .a as extension for shared libraries through AIX4.2 15388 # and later when we are not doing run time linking. 15389 library_names_spec='${libname}${release}.a $libname.a' 15390 soname_spec='${libname}${release}${shared_ext}$major' 15391 fi 15392 shlibpath_var=LIBPATH 15393 fi 15394 ;; 15395 15396amigaos*) 15397 case $host_cpu in 15398 powerpc) 15399 # Since July 2007 AmigaOS4 officially supports .so libraries. 15400 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15402 ;; 15403 m68k) 15404 library_names_spec='$libname.ixlibrary $libname.a' 15405 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15406 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' 15407 ;; 15408 esac 15409 ;; 15410 15411beos*) 15412 library_names_spec='${libname}${shared_ext}' 15413 dynamic_linker="$host_os ld.so" 15414 shlibpath_var=LIBRARY_PATH 15415 ;; 15416 15417bsdi[45]*) 15418 version_type=linux # correct to gnu/linux during the next big refactor 15419 need_version=no 15420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15421 soname_spec='${libname}${release}${shared_ext}$major' 15422 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15423 shlibpath_var=LD_LIBRARY_PATH 15424 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15425 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15426 # the default ld.so.conf also contains /usr/contrib/lib and 15427 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15428 # libtool to hard-code these into programs 15429 ;; 15430 15431cygwin* | mingw* | pw32* | cegcc*) 15432 version_type=windows 15433 shrext_cmds=".dll" 15434 need_version=no 15435 need_lib_prefix=no 15436 15437 case $GCC,$cc_basename in 15438 yes,*) 15439 # gcc 15440 library_names_spec='$libname.dll.a' 15441 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15442 postinstall_cmds='base_file=`basename \${file}`~ 15443 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15444 dldir=$destdir/`dirname \$dlpath`~ 15445 test -d \$dldir || mkdir -p \$dldir~ 15446 $install_prog $dir/$dlname \$dldir/$dlname~ 15447 chmod a+x \$dldir/$dlname~ 15448 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15449 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15450 fi' 15451 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15452 dlpath=$dir/\$dldll~ 15453 $RM \$dlpath' 15454 shlibpath_overrides_runpath=yes 15455 15456 case $host_os in 15457 cygwin*) 15458 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15459 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15460 15461 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 15462 ;; 15463 mingw* | cegcc*) 15464 # MinGW DLLs use traditional 'lib' prefix 15465 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15466 ;; 15467 pw32*) 15468 # pw32 DLLs use 'pw' prefix rather than 'lib' 15469 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15470 ;; 15471 esac 15472 dynamic_linker='Win32 ld.exe' 15473 ;; 15474 15475 *,cl*) 15476 # Native MSVC 15477 libname_spec='$name' 15478 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15479 library_names_spec='${libname}.dll.lib' 15480 15481 case $build_os in 15482 mingw*) 15483 sys_lib_search_path_spec= 15484 lt_save_ifs=$IFS 15485 IFS=';' 15486 for lt_path in $LIB 15487 do 15488 IFS=$lt_save_ifs 15489 # Let DOS variable expansion print the short 8.3 style file name. 15490 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15491 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15492 done 15493 IFS=$lt_save_ifs 15494 # Convert to MSYS style. 15495 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15496 ;; 15497 cygwin*) 15498 # Convert to unix form, then to dos form, then back to unix form 15499 # but this time dos style (no spaces!) so that the unix form looks 15500 # like /cygdrive/c/PROGRA~1:/cygdr... 15501 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15502 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15503 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15504 ;; 15505 *) 15506 sys_lib_search_path_spec="$LIB" 15507 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15508 # It is most probably a Windows format PATH. 15509 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15510 else 15511 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15512 fi 15513 # FIXME: find the short name or the path components, as spaces are 15514 # common. (e.g. "Program Files" -> "PROGRA~1") 15515 ;; 15516 esac 15517 15518 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15519 postinstall_cmds='base_file=`basename \${file}`~ 15520 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 15521 dldir=$destdir/`dirname \$dlpath`~ 15522 test -d \$dldir || mkdir -p \$dldir~ 15523 $install_prog $dir/$dlname \$dldir/$dlname' 15524 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15525 dlpath=$dir/\$dldll~ 15526 $RM \$dlpath' 15527 shlibpath_overrides_runpath=yes 15528 dynamic_linker='Win32 link.exe' 15529 ;; 15530 15531 *) 15532 # Assume MSVC wrapper 15533 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15534 dynamic_linker='Win32 ld.exe' 15535 ;; 15536 esac 15537 # FIXME: first we should search . and the directory the executable is in 15538 shlibpath_var=PATH 15539 ;; 15540 15541darwin* | rhapsody*) 15542 dynamic_linker="$host_os dyld" 15543 version_type=darwin 15544 need_lib_prefix=no 15545 need_version=no 15546 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15547 soname_spec='${libname}${release}${major}$shared_ext' 15548 shlibpath_overrides_runpath=yes 15549 shlibpath_var=DYLD_LIBRARY_PATH 15550 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15551 15552 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 15553 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15554 ;; 15555 15556dgux*) 15557 version_type=linux # correct to gnu/linux during the next big refactor 15558 need_lib_prefix=no 15559 need_version=no 15560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15561 soname_spec='${libname}${release}${shared_ext}$major' 15562 shlibpath_var=LD_LIBRARY_PATH 15563 ;; 15564 15565freebsd* | dragonfly*) 15566 # DragonFly does not have aout. When/if they implement a new 15567 # versioning mechanism, adjust this. 15568 if test -x /usr/bin/objformat; then 15569 objformat=`/usr/bin/objformat` 15570 else 15571 case $host_os in 15572 freebsd[23].*) objformat=aout ;; 15573 *) objformat=elf ;; 15574 esac 15575 fi 15576 version_type=freebsd-$objformat 15577 case $version_type in 15578 freebsd-elf*) 15579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15580 need_version=no 15581 need_lib_prefix=no 15582 ;; 15583 freebsd-*) 15584 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15585 need_version=yes 15586 ;; 15587 esac 15588 shlibpath_var=LD_LIBRARY_PATH 15589 case $host_os in 15590 freebsd2.*) 15591 shlibpath_overrides_runpath=yes 15592 ;; 15593 freebsd3.[01]* | freebsdelf3.[01]*) 15594 shlibpath_overrides_runpath=yes 15595 hardcode_into_libs=yes 15596 ;; 15597 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15598 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15599 shlibpath_overrides_runpath=no 15600 hardcode_into_libs=yes 15601 ;; 15602 *) # from 4.6 on, and DragonFly 15603 shlibpath_overrides_runpath=yes 15604 hardcode_into_libs=yes 15605 ;; 15606 esac 15607 ;; 15608 15609gnu*) 15610 version_type=linux # correct to gnu/linux during the next big refactor 15611 need_lib_prefix=no 15612 need_version=no 15613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15614 soname_spec='${libname}${release}${shared_ext}$major' 15615 shlibpath_var=LD_LIBRARY_PATH 15616 shlibpath_overrides_runpath=no 15617 hardcode_into_libs=yes 15618 ;; 15619 15620haiku*) 15621 version_type=linux # correct to gnu/linux during the next big refactor 15622 need_lib_prefix=no 15623 need_version=no 15624 dynamic_linker="$host_os runtime_loader" 15625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15626 soname_spec='${libname}${release}${shared_ext}$major' 15627 shlibpath_var=LIBRARY_PATH 15628 shlibpath_overrides_runpath=yes 15629 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15630 hardcode_into_libs=yes 15631 ;; 15632 15633hpux9* | hpux10* | hpux11*) 15634 # Give a soname corresponding to the major version so that dld.sl refuses to 15635 # link against other versions. 15636 version_type=sunos 15637 need_lib_prefix=no 15638 need_version=no 15639 case $host_cpu in 15640 ia64*) 15641 shrext_cmds='.so' 15642 hardcode_into_libs=yes 15643 dynamic_linker="$host_os dld.so" 15644 shlibpath_var=LD_LIBRARY_PATH 15645 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15647 soname_spec='${libname}${release}${shared_ext}$major' 15648 if test "X$HPUX_IA64_MODE" = X32; then 15649 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15650 else 15651 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15652 fi 15653 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15654 ;; 15655 hppa*64*) 15656 shrext_cmds='.sl' 15657 hardcode_into_libs=yes 15658 dynamic_linker="$host_os dld.sl" 15659 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15660 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15662 soname_spec='${libname}${release}${shared_ext}$major' 15663 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15664 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15665 ;; 15666 *) 15667 shrext_cmds='.sl' 15668 dynamic_linker="$host_os dld.sl" 15669 shlibpath_var=SHLIB_PATH 15670 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15672 soname_spec='${libname}${release}${shared_ext}$major' 15673 ;; 15674 esac 15675 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15676 postinstall_cmds='chmod 555 $lib' 15677 # or fails outright, so override atomically: 15678 install_override_mode=555 15679 ;; 15680 15681interix[3-9]*) 15682 version_type=linux # correct to gnu/linux during the next big refactor 15683 need_lib_prefix=no 15684 need_version=no 15685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15686 soname_spec='${libname}${release}${shared_ext}$major' 15687 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15688 shlibpath_var=LD_LIBRARY_PATH 15689 shlibpath_overrides_runpath=no 15690 hardcode_into_libs=yes 15691 ;; 15692 15693irix5* | irix6* | nonstopux*) 15694 case $host_os in 15695 nonstopux*) version_type=nonstopux ;; 15696 *) 15697 if test "$lt_cv_prog_gnu_ld" = yes; then 15698 version_type=linux # correct to gnu/linux during the next big refactor 15699 else 15700 version_type=irix 15701 fi ;; 15702 esac 15703 need_lib_prefix=no 15704 need_version=no 15705 soname_spec='${libname}${release}${shared_ext}$major' 15706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 15707 case $host_os in 15708 irix5* | nonstopux*) 15709 libsuff= shlibsuff= 15710 ;; 15711 *) 15712 case $LD in # libtool.m4 will add one of these switches to LD 15713 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15714 libsuff= shlibsuff= libmagic=32-bit;; 15715 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15716 libsuff=32 shlibsuff=N32 libmagic=N32;; 15717 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15718 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15719 *) libsuff= shlibsuff= libmagic=never-match;; 15720 esac 15721 ;; 15722 esac 15723 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15724 shlibpath_overrides_runpath=no 15725 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 15726 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 15727 hardcode_into_libs=yes 15728 ;; 15729 15730# No shared lib support for Linux oldld, aout, or coff. 15731linux*oldld* | linux*aout* | linux*coff*) 15732 dynamic_linker=no 15733 ;; 15734 15735# This must be glibc/ELF. 15736linux* | k*bsd*-gnu | kopensolaris*-gnu) 15737 version_type=linux # correct to gnu/linux during the next big refactor 15738 need_lib_prefix=no 15739 need_version=no 15740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15741 soname_spec='${libname}${release}${shared_ext}$major' 15742 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15743 shlibpath_var=LD_LIBRARY_PATH 15744 shlibpath_overrides_runpath=no 15745 15746 # Some binutils ld are patched to set DT_RUNPATH 15747 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15748 $as_echo_n "(cached) " >&6 15749else 15750 lt_cv_shlibpath_overrides_runpath=no 15751 save_LDFLAGS=$LDFLAGS 15752 save_libdir=$libdir 15753 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 15754 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15756/* end confdefs.h. */ 15757 15758int 15759main () 15760{ 15761 15762 ; 15763 return 0; 15764} 15765_ACEOF 15766if ac_fn_c_try_link "$LINENO"; then : 15767 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15768 lt_cv_shlibpath_overrides_runpath=yes 15769fi 15770fi 15771rm -f core conftest.err conftest.$ac_objext \ 15772 conftest$ac_exeext conftest.$ac_ext 15773 LDFLAGS=$save_LDFLAGS 15774 libdir=$save_libdir 15775 15776fi 15777 15778 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15779 15780 # This implies no fast_install, which is unacceptable. 15781 # Some rework will be needed to allow for fast_install 15782 # before this can be enabled. 15783 hardcode_into_libs=yes 15784 15785 # Append ld.so.conf contents to the search path 15786 if test -f /etc/ld.so.conf; then 15787 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' ' '` 15788 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15789 fi 15790 15791 # We used to test for /lib/ld.so.1 and disable shared libraries on 15792 # powerpc, because MkLinux only supported shared libraries with the 15793 # GNU dynamic linker. Since this was broken with cross compilers, 15794 # most powerpc-linux boxes support dynamic linking these days and 15795 # people can always --disable-shared, the test was removed, and we 15796 # assume the GNU/Linux dynamic linker is in use. 15797 dynamic_linker='GNU/Linux ld.so' 15798 ;; 15799 15800netbsd*) 15801 version_type=sunos 15802 need_lib_prefix=no 15803 need_version=no 15804 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15807 dynamic_linker='NetBSD (a.out) ld.so' 15808 else 15809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15810 soname_spec='${libname}${release}${shared_ext}$major' 15811 dynamic_linker='NetBSD ld.elf_so' 15812 fi 15813 shlibpath_var=LD_LIBRARY_PATH 15814 shlibpath_overrides_runpath=yes 15815 hardcode_into_libs=yes 15816 ;; 15817 15818newsos6) 15819 version_type=linux # correct to gnu/linux during the next big refactor 15820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15821 shlibpath_var=LD_LIBRARY_PATH 15822 shlibpath_overrides_runpath=yes 15823 ;; 15824 15825*nto* | *qnx*) 15826 version_type=qnx 15827 need_lib_prefix=no 15828 need_version=no 15829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15830 soname_spec='${libname}${release}${shared_ext}$major' 15831 shlibpath_var=LD_LIBRARY_PATH 15832 shlibpath_overrides_runpath=no 15833 hardcode_into_libs=yes 15834 dynamic_linker='ldqnx.so' 15835 ;; 15836 15837openbsd*) 15838 version_type=sunos 15839 sys_lib_dlsearch_path_spec="/usr/lib" 15840 need_lib_prefix=no 15841 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 15842 case $host_os in 15843 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 15844 *) need_version=no ;; 15845 esac 15846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15847 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15848 shlibpath_var=LD_LIBRARY_PATH 15849 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15850 case $host_os in 15851 openbsd2.[89] | openbsd2.[89].*) 15852 shlibpath_overrides_runpath=no 15853 ;; 15854 *) 15855 shlibpath_overrides_runpath=yes 15856 ;; 15857 esac 15858 else 15859 shlibpath_overrides_runpath=yes 15860 fi 15861 ;; 15862 15863os2*) 15864 libname_spec='$name' 15865 shrext_cmds=".dll" 15866 need_lib_prefix=no 15867 library_names_spec='$libname${shared_ext} $libname.a' 15868 dynamic_linker='OS/2 ld.exe' 15869 shlibpath_var=LIBPATH 15870 ;; 15871 15872osf3* | osf4* | osf5*) 15873 version_type=osf 15874 need_lib_prefix=no 15875 need_version=no 15876 soname_spec='${libname}${release}${shared_ext}$major' 15877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15878 shlibpath_var=LD_LIBRARY_PATH 15879 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15880 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 15881 ;; 15882 15883rdos*) 15884 dynamic_linker=no 15885 ;; 15886 15887solaris*) 15888 version_type=linux # correct to gnu/linux during the next big refactor 15889 need_lib_prefix=no 15890 need_version=no 15891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15892 soname_spec='${libname}${release}${shared_ext}$major' 15893 shlibpath_var=LD_LIBRARY_PATH 15894 shlibpath_overrides_runpath=yes 15895 hardcode_into_libs=yes 15896 # ldd complains unless libraries are executable 15897 postinstall_cmds='chmod +x $lib' 15898 ;; 15899 15900sunos4*) 15901 version_type=sunos 15902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 15903 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15904 shlibpath_var=LD_LIBRARY_PATH 15905 shlibpath_overrides_runpath=yes 15906 if test "$with_gnu_ld" = yes; then 15907 need_lib_prefix=no 15908 fi 15909 need_version=yes 15910 ;; 15911 15912sysv4 | sysv4.3*) 15913 version_type=linux # correct to gnu/linux during the next big refactor 15914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15915 soname_spec='${libname}${release}${shared_ext}$major' 15916 shlibpath_var=LD_LIBRARY_PATH 15917 case $host_vendor in 15918 sni) 15919 shlibpath_overrides_runpath=no 15920 need_lib_prefix=no 15921 runpath_var=LD_RUN_PATH 15922 ;; 15923 siemens) 15924 need_lib_prefix=no 15925 ;; 15926 motorola) 15927 need_lib_prefix=no 15928 need_version=no 15929 shlibpath_overrides_runpath=no 15930 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15931 ;; 15932 esac 15933 ;; 15934 15935sysv4*MP*) 15936 if test -d /usr/nec ;then 15937 version_type=linux # correct to gnu/linux during the next big refactor 15938 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 15939 soname_spec='$libname${shared_ext}.$major' 15940 shlibpath_var=LD_LIBRARY_PATH 15941 fi 15942 ;; 15943 15944sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15945 version_type=freebsd-elf 15946 need_lib_prefix=no 15947 need_version=no 15948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15949 soname_spec='${libname}${release}${shared_ext}$major' 15950 shlibpath_var=LD_LIBRARY_PATH 15951 shlibpath_overrides_runpath=yes 15952 hardcode_into_libs=yes 15953 if test "$with_gnu_ld" = yes; then 15954 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15955 else 15956 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15957 case $host_os in 15958 sco3.2v5*) 15959 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15960 ;; 15961 esac 15962 fi 15963 sys_lib_dlsearch_path_spec='/usr/lib' 15964 ;; 15965 15966tpf*) 15967 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15968 version_type=linux # correct to gnu/linux during the next big refactor 15969 need_lib_prefix=no 15970 need_version=no 15971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15972 shlibpath_var=LD_LIBRARY_PATH 15973 shlibpath_overrides_runpath=no 15974 hardcode_into_libs=yes 15975 ;; 15976 15977uts4*) 15978 version_type=linux # correct to gnu/linux during the next big refactor 15979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15980 soname_spec='${libname}${release}${shared_ext}$major' 15981 shlibpath_var=LD_LIBRARY_PATH 15982 ;; 15983 15984*) 15985 dynamic_linker=no 15986 ;; 15987esac 15988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15989$as_echo "$dynamic_linker" >&6; } 15990test "$dynamic_linker" = no && can_build_shared=no 15991 15992variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15993if test "$GCC" = yes; then 15994 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15995fi 15996 15997if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15998 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15999fi 16000if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16001 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16002fi 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16096$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16097hardcode_action= 16098if test -n "$hardcode_libdir_flag_spec" || 16099 test -n "$runpath_var" || 16100 test "X$hardcode_automatic" = "Xyes" ; then 16101 16102 # We can hardcode non-existent directories. 16103 if test "$hardcode_direct" != no && 16104 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16105 # have to relink, otherwise we might link with an installed library 16106 # when we should be linking with a yet-to-be-installed one 16107 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 16108 test "$hardcode_minus_L" != no; then 16109 # Linking always hardcodes the temporary library directory. 16110 hardcode_action=relink 16111 else 16112 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16113 hardcode_action=immediate 16114 fi 16115else 16116 # We cannot hardcode anything, or else we can only hardcode existing 16117 # directories. 16118 hardcode_action=unsupported 16119fi 16120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 16121$as_echo "$hardcode_action" >&6; } 16122 16123if test "$hardcode_action" = relink || 16124 test "$inherit_rpath" = yes; then 16125 # Fast installation is not supported 16126 enable_fast_install=no 16127elif test "$shlibpath_overrides_runpath" = yes || 16128 test "$enable_shared" = no; then 16129 # Fast installation is not necessary 16130 enable_fast_install=needless 16131fi 16132 16133 16134 16135 16136 16137 16138 if test "x$enable_dlopen" != xyes; then 16139 enable_dlopen=unknown 16140 enable_dlopen_self=unknown 16141 enable_dlopen_self_static=unknown 16142else 16143 lt_cv_dlopen=no 16144 lt_cv_dlopen_libs= 16145 16146 case $host_os in 16147 beos*) 16148 lt_cv_dlopen="load_add_on" 16149 lt_cv_dlopen_libs= 16150 lt_cv_dlopen_self=yes 16151 ;; 16152 16153 mingw* | pw32* | cegcc*) 16154 lt_cv_dlopen="LoadLibrary" 16155 lt_cv_dlopen_libs= 16156 ;; 16157 16158 cygwin*) 16159 lt_cv_dlopen="dlopen" 16160 lt_cv_dlopen_libs= 16161 ;; 16162 16163 darwin*) 16164 # if libdl is installed we need to link against it 16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16166$as_echo_n "checking for dlopen in -ldl... " >&6; } 16167if ${ac_cv_lib_dl_dlopen+:} false; then : 16168 $as_echo_n "(cached) " >&6 16169else 16170 ac_check_lib_save_LIBS=$LIBS 16171LIBS="-ldl $LIBS" 16172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16173/* end confdefs.h. */ 16174 16175/* Override any GCC internal prototype to avoid an error. 16176 Use char because int might match the return type of a GCC 16177 builtin and then its argument prototype would still apply. */ 16178#ifdef __cplusplus 16179extern "C" 16180#endif 16181char dlopen (); 16182int 16183main () 16184{ 16185return dlopen (); 16186 ; 16187 return 0; 16188} 16189_ACEOF 16190if ac_fn_c_try_link "$LINENO"; then : 16191 ac_cv_lib_dl_dlopen=yes 16192else 16193 ac_cv_lib_dl_dlopen=no 16194fi 16195rm -f core conftest.err conftest.$ac_objext \ 16196 conftest$ac_exeext conftest.$ac_ext 16197LIBS=$ac_check_lib_save_LIBS 16198fi 16199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16200$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16201if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 16203else 16204 16205 lt_cv_dlopen="dyld" 16206 lt_cv_dlopen_libs= 16207 lt_cv_dlopen_self=yes 16208 16209fi 16210 16211 ;; 16212 16213 *) 16214 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 16215if test "x$ac_cv_func_shl_load" = xyes; then : 16216 lt_cv_dlopen="shl_load" 16217else 16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 16219$as_echo_n "checking for shl_load in -ldld... " >&6; } 16220if ${ac_cv_lib_dld_shl_load+:} false; then : 16221 $as_echo_n "(cached) " >&6 16222else 16223 ac_check_lib_save_LIBS=$LIBS 16224LIBS="-ldld $LIBS" 16225cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16226/* end confdefs.h. */ 16227 16228/* Override any GCC internal prototype to avoid an error. 16229 Use char because int might match the return type of a GCC 16230 builtin and then its argument prototype would still apply. */ 16231#ifdef __cplusplus 16232extern "C" 16233#endif 16234char shl_load (); 16235int 16236main () 16237{ 16238return shl_load (); 16239 ; 16240 return 0; 16241} 16242_ACEOF 16243if ac_fn_c_try_link "$LINENO"; then : 16244 ac_cv_lib_dld_shl_load=yes 16245else 16246 ac_cv_lib_dld_shl_load=no 16247fi 16248rm -f core conftest.err conftest.$ac_objext \ 16249 conftest$ac_exeext conftest.$ac_ext 16250LIBS=$ac_check_lib_save_LIBS 16251fi 16252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 16253$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 16254if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 16255 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 16256else 16257 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 16258if test "x$ac_cv_func_dlopen" = xyes; then : 16259 lt_cv_dlopen="dlopen" 16260else 16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 16262$as_echo_n "checking for dlopen in -ldl... " >&6; } 16263if ${ac_cv_lib_dl_dlopen+:} false; then : 16264 $as_echo_n "(cached) " >&6 16265else 16266 ac_check_lib_save_LIBS=$LIBS 16267LIBS="-ldl $LIBS" 16268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16269/* end confdefs.h. */ 16270 16271/* Override any GCC internal prototype to avoid an error. 16272 Use char because int might match the return type of a GCC 16273 builtin and then its argument prototype would still apply. */ 16274#ifdef __cplusplus 16275extern "C" 16276#endif 16277char dlopen (); 16278int 16279main () 16280{ 16281return dlopen (); 16282 ; 16283 return 0; 16284} 16285_ACEOF 16286if ac_fn_c_try_link "$LINENO"; then : 16287 ac_cv_lib_dl_dlopen=yes 16288else 16289 ac_cv_lib_dl_dlopen=no 16290fi 16291rm -f core conftest.err conftest.$ac_objext \ 16292 conftest$ac_exeext conftest.$ac_ext 16293LIBS=$ac_check_lib_save_LIBS 16294fi 16295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 16296$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 16297if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 16298 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 16299else 16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 16301$as_echo_n "checking for dlopen in -lsvld... " >&6; } 16302if ${ac_cv_lib_svld_dlopen+:} false; then : 16303 $as_echo_n "(cached) " >&6 16304else 16305 ac_check_lib_save_LIBS=$LIBS 16306LIBS="-lsvld $LIBS" 16307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16308/* end confdefs.h. */ 16309 16310/* Override any GCC internal prototype to avoid an error. 16311 Use char because int might match the return type of a GCC 16312 builtin and then its argument prototype would still apply. */ 16313#ifdef __cplusplus 16314extern "C" 16315#endif 16316char dlopen (); 16317int 16318main () 16319{ 16320return dlopen (); 16321 ; 16322 return 0; 16323} 16324_ACEOF 16325if ac_fn_c_try_link "$LINENO"; then : 16326 ac_cv_lib_svld_dlopen=yes 16327else 16328 ac_cv_lib_svld_dlopen=no 16329fi 16330rm -f core conftest.err conftest.$ac_objext \ 16331 conftest$ac_exeext conftest.$ac_ext 16332LIBS=$ac_check_lib_save_LIBS 16333fi 16334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 16335$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 16336if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 16337 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 16338else 16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 16340$as_echo_n "checking for dld_link in -ldld... " >&6; } 16341if ${ac_cv_lib_dld_dld_link+:} false; then : 16342 $as_echo_n "(cached) " >&6 16343else 16344 ac_check_lib_save_LIBS=$LIBS 16345LIBS="-ldld $LIBS" 16346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16347/* end confdefs.h. */ 16348 16349/* Override any GCC internal prototype to avoid an error. 16350 Use char because int might match the return type of a GCC 16351 builtin and then its argument prototype would still apply. */ 16352#ifdef __cplusplus 16353extern "C" 16354#endif 16355char dld_link (); 16356int 16357main () 16358{ 16359return dld_link (); 16360 ; 16361 return 0; 16362} 16363_ACEOF 16364if ac_fn_c_try_link "$LINENO"; then : 16365 ac_cv_lib_dld_dld_link=yes 16366else 16367 ac_cv_lib_dld_dld_link=no 16368fi 16369rm -f core conftest.err conftest.$ac_objext \ 16370 conftest$ac_exeext conftest.$ac_ext 16371LIBS=$ac_check_lib_save_LIBS 16372fi 16373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 16374$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 16375if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 16376 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 16377fi 16378 16379 16380fi 16381 16382 16383fi 16384 16385 16386fi 16387 16388 16389fi 16390 16391 16392fi 16393 16394 ;; 16395 esac 16396 16397 if test "x$lt_cv_dlopen" != xno; then 16398 enable_dlopen=yes 16399 else 16400 enable_dlopen=no 16401 fi 16402 16403 case $lt_cv_dlopen in 16404 dlopen) 16405 save_CPPFLAGS="$CPPFLAGS" 16406 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 16407 16408 save_LDFLAGS="$LDFLAGS" 16409 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 16410 16411 save_LIBS="$LIBS" 16412 LIBS="$lt_cv_dlopen_libs $LIBS" 16413 16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 16415$as_echo_n "checking whether a program can dlopen itself... " >&6; } 16416if ${lt_cv_dlopen_self+:} false; then : 16417 $as_echo_n "(cached) " >&6 16418else 16419 if test "$cross_compiling" = yes; then : 16420 lt_cv_dlopen_self=cross 16421else 16422 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16423 lt_status=$lt_dlunknown 16424 cat > conftest.$ac_ext <<_LT_EOF 16425#line $LINENO "configure" 16426#include "confdefs.h" 16427 16428#if HAVE_DLFCN_H 16429#include <dlfcn.h> 16430#endif 16431 16432#include <stdio.h> 16433 16434#ifdef RTLD_GLOBAL 16435# define LT_DLGLOBAL RTLD_GLOBAL 16436#else 16437# ifdef DL_GLOBAL 16438# define LT_DLGLOBAL DL_GLOBAL 16439# else 16440# define LT_DLGLOBAL 0 16441# endif 16442#endif 16443 16444/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 16445 find out it does not work in some platform. */ 16446#ifndef LT_DLLAZY_OR_NOW 16447# ifdef RTLD_LAZY 16448# define LT_DLLAZY_OR_NOW RTLD_LAZY 16449# else 16450# ifdef DL_LAZY 16451# define LT_DLLAZY_OR_NOW DL_LAZY 16452# else 16453# ifdef RTLD_NOW 16454# define LT_DLLAZY_OR_NOW RTLD_NOW 16455# else 16456# ifdef DL_NOW 16457# define LT_DLLAZY_OR_NOW DL_NOW 16458# else 16459# define LT_DLLAZY_OR_NOW 0 16460# endif 16461# endif 16462# endif 16463# endif 16464#endif 16465 16466/* When -fvisbility=hidden is used, assume the code has been annotated 16467 correspondingly for the symbols needed. */ 16468#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16469int fnord () __attribute__((visibility("default"))); 16470#endif 16471 16472int fnord () { return 42; } 16473int main () 16474{ 16475 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16476 int status = $lt_dlunknown; 16477 16478 if (self) 16479 { 16480 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 16481 else 16482 { 16483 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16484 else puts (dlerror ()); 16485 } 16486 /* dlclose (self); */ 16487 } 16488 else 16489 puts (dlerror ()); 16490 16491 return status; 16492} 16493_LT_EOF 16494 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 16495 (eval $ac_link) 2>&5 16496 ac_status=$? 16497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16498 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 16499 (./conftest; exit; ) >&5 2>/dev/null 16500 lt_status=$? 16501 case x$lt_status in 16502 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 16503 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 16504 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 16505 esac 16506 else : 16507 # compilation failed 16508 lt_cv_dlopen_self=no 16509 fi 16510fi 16511rm -fr conftest* 16512 16513 16514fi 16515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 16516$as_echo "$lt_cv_dlopen_self" >&6; } 16517 16518 if test "x$lt_cv_dlopen_self" = xyes; then 16519 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 16521$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 16522if ${lt_cv_dlopen_self_static+:} false; then : 16523 $as_echo_n "(cached) " >&6 16524else 16525 if test "$cross_compiling" = yes; then : 16526 lt_cv_dlopen_self_static=cross 16527else 16528 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16529 lt_status=$lt_dlunknown 16530 cat > conftest.$ac_ext <<_LT_EOF 16531#line $LINENO "configure" 16532#include "confdefs.h" 16533 16534#if HAVE_DLFCN_H 16535#include <dlfcn.h> 16536#endif 16537 16538#include <stdio.h> 16539 16540#ifdef RTLD_GLOBAL 16541# define LT_DLGLOBAL RTLD_GLOBAL 16542#else 16543# ifdef DL_GLOBAL 16544# define LT_DLGLOBAL DL_GLOBAL 16545# else 16546# define LT_DLGLOBAL 0 16547# endif 16548#endif 16549 16550/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 16551 find out it does not work in some platform. */ 16552#ifndef LT_DLLAZY_OR_NOW 16553# ifdef RTLD_LAZY 16554# define LT_DLLAZY_OR_NOW RTLD_LAZY 16555# else 16556# ifdef DL_LAZY 16557# define LT_DLLAZY_OR_NOW DL_LAZY 16558# else 16559# ifdef RTLD_NOW 16560# define LT_DLLAZY_OR_NOW RTLD_NOW 16561# else 16562# ifdef DL_NOW 16563# define LT_DLLAZY_OR_NOW DL_NOW 16564# else 16565# define LT_DLLAZY_OR_NOW 0 16566# endif 16567# endif 16568# endif 16569# endif 16570#endif 16571 16572/* When -fvisbility=hidden is used, assume the code has been annotated 16573 correspondingly for the symbols needed. */ 16574#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16575int fnord () __attribute__((visibility("default"))); 16576#endif 16577 16578int fnord () { return 42; } 16579int main () 16580{ 16581 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16582 int status = $lt_dlunknown; 16583 16584 if (self) 16585 { 16586 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 16587 else 16588 { 16589 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 16590 else puts (dlerror ()); 16591 } 16592 /* dlclose (self); */ 16593 } 16594 else 16595 puts (dlerror ()); 16596 16597 return status; 16598} 16599_LT_EOF 16600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 16601 (eval $ac_link) 2>&5 16602 ac_status=$? 16603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16604 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 16605 (./conftest; exit; ) >&5 2>/dev/null 16606 lt_status=$? 16607 case x$lt_status in 16608 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 16609 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 16610 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 16611 esac 16612 else : 16613 # compilation failed 16614 lt_cv_dlopen_self_static=no 16615 fi 16616fi 16617rm -fr conftest* 16618 16619 16620fi 16621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 16622$as_echo "$lt_cv_dlopen_self_static" >&6; } 16623 fi 16624 16625 CPPFLAGS="$save_CPPFLAGS" 16626 LDFLAGS="$save_LDFLAGS" 16627 LIBS="$save_LIBS" 16628 ;; 16629 esac 16630 16631 case $lt_cv_dlopen_self in 16632 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 16633 *) enable_dlopen_self=unknown ;; 16634 esac 16635 16636 case $lt_cv_dlopen_self_static in 16637 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 16638 *) enable_dlopen_self_static=unknown ;; 16639 esac 16640fi 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658striplib= 16659old_striplib= 16660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 16661$as_echo_n "checking whether stripping libraries is possible... " >&6; } 16662if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 16663 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 16664 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16666$as_echo "yes" >&6; } 16667else 16668# FIXME - insert some real tests, host_os isn't really good enough 16669 case $host_os in 16670 darwin*) 16671 if test -n "$STRIP" ; then 16672 striplib="$STRIP -x" 16673 old_striplib="$STRIP -S" 16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16675$as_echo "yes" >&6; } 16676 else 16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16678$as_echo "no" >&6; } 16679 fi 16680 ;; 16681 *) 16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16683$as_echo "no" >&6; } 16684 ;; 16685 esac 16686fi 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 # Report which library types will actually be built 16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 16701$as_echo_n "checking if libtool supports shared libraries... " >&6; } 16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 16703$as_echo "$can_build_shared" >&6; } 16704 16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 16706$as_echo_n "checking whether to build shared libraries... " >&6; } 16707 test "$can_build_shared" = "no" && enable_shared=no 16708 16709 # On AIX, shared libraries and static libraries use the same namespace, and 16710 # are all built from PIC. 16711 case $host_os in 16712 aix3*) 16713 test "$enable_shared" = yes && enable_static=no 16714 if test -n "$RANLIB"; then 16715 archive_cmds="$archive_cmds~\$RANLIB \$lib" 16716 postinstall_cmds='$RANLIB $lib' 16717 fi 16718 ;; 16719 16720 aix[4-9]*) 16721 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 16722 test "$enable_shared" = yes && enable_static=no 16723 fi 16724 ;; 16725 esac 16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 16727$as_echo "$enable_shared" >&6; } 16728 16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 16730$as_echo_n "checking whether to build static libraries... " >&6; } 16731 # Make sure either enable_shared or enable_static is yes. 16732 test "$enable_shared" = yes || enable_static=yes 16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 16734$as_echo "$enable_static" >&6; } 16735 16736 16737 16738 16739fi 16740ac_ext=cpp 16741ac_cpp='$CXXCPP $CPPFLAGS' 16742ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16743ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16744ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16745 16746CC="$lt_save_CC" 16747 16748 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 16749 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 16750 (test "X$CXX" != "Xg++"))) ; then 16751 ac_ext=cpp 16752ac_cpp='$CXXCPP $CPPFLAGS' 16753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 16757$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 16758if test -z "$CXXCPP"; then 16759 if ${ac_cv_prog_CXXCPP+:} false; then : 16760 $as_echo_n "(cached) " >&6 16761else 16762 # Double quotes because CXXCPP needs to be expanded 16763 for CXXCPP in "$CXX -E" "/lib/cpp" 16764 do 16765 ac_preproc_ok=false 16766for ac_cxx_preproc_warn_flag in '' yes 16767do 16768 # Use a header file that comes with gcc, so configuring glibc 16769 # with a fresh cross-compiler works. 16770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16771 # <limits.h> exists even on freestanding compilers. 16772 # On the NeXT, cc -E runs the code through the compiler's parser, 16773 # not just through cpp. "Syntax error" is here to catch this case. 16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16775/* end confdefs.h. */ 16776#ifdef __STDC__ 16777# include <limits.h> 16778#else 16779# include <assert.h> 16780#endif 16781 Syntax error 16782_ACEOF 16783if ac_fn_cxx_try_cpp "$LINENO"; then : 16784 16785else 16786 # Broken: fails on valid input. 16787continue 16788fi 16789rm -f conftest.err conftest.i conftest.$ac_ext 16790 16791 # OK, works on sane cases. Now check whether nonexistent headers 16792 # can be detected and how. 16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16794/* end confdefs.h. */ 16795#include <ac_nonexistent.h> 16796_ACEOF 16797if ac_fn_cxx_try_cpp "$LINENO"; then : 16798 # Broken: success on invalid input. 16799continue 16800else 16801 # Passes both tests. 16802ac_preproc_ok=: 16803break 16804fi 16805rm -f conftest.err conftest.i conftest.$ac_ext 16806 16807done 16808# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 16809rm -f conftest.i conftest.err conftest.$ac_ext 16810if $ac_preproc_ok; then : 16811 break 16812fi 16813 16814 done 16815 ac_cv_prog_CXXCPP=$CXXCPP 16816 16817fi 16818 CXXCPP=$ac_cv_prog_CXXCPP 16819else 16820 ac_cv_prog_CXXCPP=$CXXCPP 16821fi 16822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 16823$as_echo "$CXXCPP" >&6; } 16824ac_preproc_ok=false 16825for ac_cxx_preproc_warn_flag in '' yes 16826do 16827 # Use a header file that comes with gcc, so configuring glibc 16828 # with a fresh cross-compiler works. 16829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16830 # <limits.h> exists even on freestanding compilers. 16831 # On the NeXT, cc -E runs the code through the compiler's parser, 16832 # not just through cpp. "Syntax error" is here to catch this case. 16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16834/* end confdefs.h. */ 16835#ifdef __STDC__ 16836# include <limits.h> 16837#else 16838# include <assert.h> 16839#endif 16840 Syntax error 16841_ACEOF 16842if ac_fn_cxx_try_cpp "$LINENO"; then : 16843 16844else 16845 # Broken: fails on valid input. 16846continue 16847fi 16848rm -f conftest.err conftest.i conftest.$ac_ext 16849 16850 # OK, works on sane cases. Now check whether nonexistent headers 16851 # can be detected and how. 16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16853/* end confdefs.h. */ 16854#include <ac_nonexistent.h> 16855_ACEOF 16856if ac_fn_cxx_try_cpp "$LINENO"; then : 16857 # Broken: success on invalid input. 16858continue 16859else 16860 # Passes both tests. 16861ac_preproc_ok=: 16862break 16863fi 16864rm -f conftest.err conftest.i conftest.$ac_ext 16865 16866done 16867# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 16868rm -f conftest.i conftest.err conftest.$ac_ext 16869if $ac_preproc_ok; then : 16870 16871else 16872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16874as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 16875See \`config.log' for more details" "$LINENO" 5; } 16876fi 16877 16878ac_ext=cpp 16879ac_cpp='$CXXCPP $CPPFLAGS' 16880ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16881ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16882ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16883 16884else 16885 _lt_caught_CXX_error=yes 16886fi 16887 16888ac_ext=cpp 16889ac_cpp='$CXXCPP $CPPFLAGS' 16890ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16891ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16892ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16893 16894archive_cmds_need_lc_CXX=no 16895allow_undefined_flag_CXX= 16896always_export_symbols_CXX=no 16897archive_expsym_cmds_CXX= 16898compiler_needs_object_CXX=no 16899export_dynamic_flag_spec_CXX= 16900hardcode_direct_CXX=no 16901hardcode_direct_absolute_CXX=no 16902hardcode_libdir_flag_spec_CXX= 16903hardcode_libdir_separator_CXX= 16904hardcode_minus_L_CXX=no 16905hardcode_shlibpath_var_CXX=unsupported 16906hardcode_automatic_CXX=no 16907inherit_rpath_CXX=no 16908module_cmds_CXX= 16909module_expsym_cmds_CXX= 16910link_all_deplibs_CXX=unknown 16911old_archive_cmds_CXX=$old_archive_cmds 16912reload_flag_CXX=$reload_flag 16913reload_cmds_CXX=$reload_cmds 16914no_undefined_flag_CXX= 16915whole_archive_flag_spec_CXX= 16916enable_shared_with_static_runtimes_CXX=no 16917 16918# Source file extension for C++ test sources. 16919ac_ext=cpp 16920 16921# Object file extension for compiled C++ test sources. 16922objext=o 16923objext_CXX=$objext 16924 16925# No sense in running all these tests if we already determined that 16926# the CXX compiler isn't working. Some variables (like enable_shared) 16927# are currently assumed to apply to all compilers on this platform, 16928# and will be corrupted by setting them based on a non-working compiler. 16929if test "$_lt_caught_CXX_error" != yes; then 16930 # Code to be used in simple compile tests 16931 lt_simple_compile_test_code="int some_variable = 0;" 16932 16933 # Code to be used in simple link tests 16934 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 16935 16936 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 16937 16938 16939 16940 16941 16942 16943# If no C compiler was specified, use CC. 16944LTCC=${LTCC-"$CC"} 16945 16946# If no C compiler flags were specified, use CFLAGS. 16947LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 16948 16949# Allow CC to be a program name with arguments. 16950compiler=$CC 16951 16952 16953 # save warnings/boilerplate of simple test code 16954 ac_outfile=conftest.$ac_objext 16955echo "$lt_simple_compile_test_code" >conftest.$ac_ext 16956eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16957_lt_compiler_boilerplate=`cat conftest.err` 16958$RM conftest* 16959 16960 ac_outfile=conftest.$ac_objext 16961echo "$lt_simple_link_test_code" >conftest.$ac_ext 16962eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16963_lt_linker_boilerplate=`cat conftest.err` 16964$RM -r conftest* 16965 16966 16967 # Allow CC to be a program name with arguments. 16968 lt_save_CC=$CC 16969 lt_save_CFLAGS=$CFLAGS 16970 lt_save_LD=$LD 16971 lt_save_GCC=$GCC 16972 GCC=$GXX 16973 lt_save_with_gnu_ld=$with_gnu_ld 16974 lt_save_path_LD=$lt_cv_path_LD 16975 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 16976 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 16977 else 16978 $as_unset lt_cv_prog_gnu_ld 16979 fi 16980 if test -n "${lt_cv_path_LDCXX+set}"; then 16981 lt_cv_path_LD=$lt_cv_path_LDCXX 16982 else 16983 $as_unset lt_cv_path_LD 16984 fi 16985 test -z "${LDCXX+set}" || LD=$LDCXX 16986 CC=${CXX-"c++"} 16987 CFLAGS=$CXXFLAGS 16988 compiler=$CC 16989 compiler_CXX=$CC 16990 for cc_temp in $compiler""; do 16991 case $cc_temp in 16992 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 16993 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 16994 \-*) ;; 16995 *) break;; 16996 esac 16997done 16998cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 16999 17000 17001 if test -n "$compiler"; then 17002 # We don't want -fno-exception when compiling C++ code, so set the 17003 # no_builtin_flag separately 17004 if test "$GXX" = yes; then 17005 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 17006 else 17007 lt_prog_compiler_no_builtin_flag_CXX= 17008 fi 17009 17010 if test "$GXX" = yes; then 17011 # Set up default GNU C++ configuration 17012 17013 17014 17015# Check whether --with-gnu-ld was given. 17016if test "${with_gnu_ld+set}" = set; then : 17017 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17018else 17019 with_gnu_ld=no 17020fi 17021 17022ac_prog=ld 17023if test "$GCC" = yes; then 17024 # Check if gcc -print-prog-name=ld gives a path. 17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 17026$as_echo_n "checking for ld used by $CC... " >&6; } 17027 case $host in 17028 *-*-mingw*) 17029 # gcc leaves a trailing carriage return which upsets mingw 17030 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17031 *) 17032 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17033 esac 17034 case $ac_prog in 17035 # Accept absolute paths. 17036 [\\/]* | ?:[\\/]*) 17037 re_direlt='/[^/][^/]*/\.\./' 17038 # Canonicalize the pathname of ld 17039 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 17040 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 17041 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 17042 done 17043 test -z "$LD" && LD="$ac_prog" 17044 ;; 17045 "") 17046 # If it fails, then pretend we aren't using GCC. 17047 ac_prog=ld 17048 ;; 17049 *) 17050 # If it is relative, then search for the first ld in PATH. 17051 with_gnu_ld=unknown 17052 ;; 17053 esac 17054elif test "$with_gnu_ld" = yes; then 17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17056$as_echo_n "checking for GNU ld... " >&6; } 17057else 17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17059$as_echo_n "checking for non-GNU ld... " >&6; } 17060fi 17061if ${lt_cv_path_LD+:} false; then : 17062 $as_echo_n "(cached) " >&6 17063else 17064 if test -z "$LD"; then 17065 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 17066 for ac_dir in $PATH; do 17067 IFS="$lt_save_ifs" 17068 test -z "$ac_dir" && ac_dir=. 17069 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17070 lt_cv_path_LD="$ac_dir/$ac_prog" 17071 # Check to see if the program is GNU ld. I'd rather use --version, 17072 # but apparently some variants of GNU ld only accept -v. 17073 # Break only if it was the GNU/non-GNU ld that we prefer. 17074 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 17075 *GNU* | *'with BFD'*) 17076 test "$with_gnu_ld" != no && break 17077 ;; 17078 *) 17079 test "$with_gnu_ld" != yes && break 17080 ;; 17081 esac 17082 fi 17083 done 17084 IFS="$lt_save_ifs" 17085else 17086 lt_cv_path_LD="$LD" # Let the user override the test with a path. 17087fi 17088fi 17089 17090LD="$lt_cv_path_LD" 17091if test -n "$LD"; then 17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17093$as_echo "$LD" >&6; } 17094else 17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17096$as_echo "no" >&6; } 17097fi 17098test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17100$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17101if ${lt_cv_prog_gnu_ld+:} false; then : 17102 $as_echo_n "(cached) " >&6 17103else 17104 # I'd rather use --version here, but apparently some GNU lds only accept -v. 17105case `$LD -v 2>&1 </dev/null` in 17106*GNU* | *'with BFD'*) 17107 lt_cv_prog_gnu_ld=yes 17108 ;; 17109*) 17110 lt_cv_prog_gnu_ld=no 17111 ;; 17112esac 17113fi 17114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 17115$as_echo "$lt_cv_prog_gnu_ld" >&6; } 17116with_gnu_ld=$lt_cv_prog_gnu_ld 17117 17118 17119 17120 17121 17122 17123 17124 # Check if GNU C++ uses GNU ld as the underlying linker, since the 17125 # archiving commands below assume that GNU ld is being used. 17126 if test "$with_gnu_ld" = yes; then 17127 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 17128 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' 17129 17130 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17131 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17132 17133 # If archive_cmds runs LD, not CC, wlarc should be empty 17134 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 17135 # investigate it a little bit more. (MM) 17136 wlarc='${wl}' 17137 17138 # ancient GNU ld didn't support --whole-archive et. al. 17139 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 17140 $GREP 'no-whole-archive' > /dev/null; then 17141 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 17142 else 17143 whole_archive_flag_spec_CXX= 17144 fi 17145 else 17146 with_gnu_ld=no 17147 wlarc= 17148 17149 # A generic and very simple default shared library creation 17150 # command for GNU C++ for the case where it uses the native 17151 # linker, instead of GNU ld. If possible, this setting should 17152 # overridden to take advantage of the native linker features on 17153 # the platform it is being used on. 17154 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 17155 fi 17156 17157 # Commands to make compiler produce verbose output that lists 17158 # what "hidden" libraries, object files and flags are used when 17159 # linking a shared library. 17160 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 17161 17162 else 17163 GXX=no 17164 with_gnu_ld=no 17165 wlarc= 17166 fi 17167 17168 # PORTME: fill in a description of your system's C++ link characteristics 17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 17170$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 17171 ld_shlibs_CXX=yes 17172 case $host_os in 17173 aix3*) 17174 # FIXME: insert proper C++ library support 17175 ld_shlibs_CXX=no 17176 ;; 17177 aix[4-9]*) 17178 if test "$host_cpu" = ia64; then 17179 # On IA64, the linker does run time linking by default, so we don't 17180 # have to do anything special. 17181 aix_use_runtimelinking=no 17182 exp_sym_flag='-Bexport' 17183 no_entry_flag="" 17184 else 17185 aix_use_runtimelinking=no 17186 17187 # Test if we are trying to use run time linking or normal 17188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17189 # need to do runtime linking. 17190 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 17191 for ld_flag in $LDFLAGS; do 17192 case $ld_flag in 17193 *-brtl*) 17194 aix_use_runtimelinking=yes 17195 break 17196 ;; 17197 esac 17198 done 17199 ;; 17200 esac 17201 17202 exp_sym_flag='-bexport' 17203 no_entry_flag='-bnoentry' 17204 fi 17205 17206 # When large executables or shared objects are built, AIX ld can 17207 # have problems creating the table of contents. If linking a library 17208 # or program results in "error TOC overflow" add -mminimal-toc to 17209 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 17210 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 17211 17212 archive_cmds_CXX='' 17213 hardcode_direct_CXX=yes 17214 hardcode_direct_absolute_CXX=yes 17215 hardcode_libdir_separator_CXX=':' 17216 link_all_deplibs_CXX=yes 17217 file_list_spec_CXX='${wl}-f,' 17218 17219 if test "$GXX" = yes; then 17220 case $host_os in aix4.[012]|aix4.[012].*) 17221 # We only want to do this on AIX 4.2 and lower, the check 17222 # below for broken collect2 doesn't work under 4.3+ 17223 collect2name=`${CC} -print-prog-name=collect2` 17224 if test -f "$collect2name" && 17225 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 17226 then 17227 # We have reworked collect2 17228 : 17229 else 17230 # We have old collect2 17231 hardcode_direct_CXX=unsupported 17232 # It fails to find uninstalled libraries when the uninstalled 17233 # path is not listed in the libpath. Setting hardcode_minus_L 17234 # to unsupported forces relinking 17235 hardcode_minus_L_CXX=yes 17236 hardcode_libdir_flag_spec_CXX='-L$libdir' 17237 hardcode_libdir_separator_CXX= 17238 fi 17239 esac 17240 shared_flag='-shared' 17241 if test "$aix_use_runtimelinking" = yes; then 17242 shared_flag="$shared_flag "'${wl}-G' 17243 fi 17244 else 17245 # not using gcc 17246 if test "$host_cpu" = ia64; then 17247 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 17248 # chokes on -Wl,-G. The following line is correct: 17249 shared_flag='-G' 17250 else 17251 if test "$aix_use_runtimelinking" = yes; then 17252 shared_flag='${wl}-G' 17253 else 17254 shared_flag='${wl}-bM:SRE' 17255 fi 17256 fi 17257 fi 17258 17259 export_dynamic_flag_spec_CXX='${wl}-bexpall' 17260 # It seems that -bexpall does not export symbols beginning with 17261 # underscore (_), so it is better to generate a list of symbols to 17262 # export. 17263 always_export_symbols_CXX=yes 17264 if test "$aix_use_runtimelinking" = yes; then 17265 # Warning - without using the other runtime loading flags (-brtl), 17266 # -berok will link without error, but may produce a broken library. 17267 allow_undefined_flag_CXX='-berok' 17268 # Determine the default libpath from the value encoded in an empty 17269 # executable. 17270 if test "${lt_cv_aix_libpath+set}" = set; then 17271 aix_libpath=$lt_cv_aix_libpath 17272else 17273 if ${lt_cv_aix_libpath__CXX+:} false; then : 17274 $as_echo_n "(cached) " >&6 17275else 17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17277/* end confdefs.h. */ 17278 17279int 17280main () 17281{ 17282 17283 ; 17284 return 0; 17285} 17286_ACEOF 17287if ac_fn_cxx_try_link "$LINENO"; then : 17288 17289 lt_aix_libpath_sed=' 17290 /Import File Strings/,/^$/ { 17291 /^0/ { 17292 s/^0 *\([^ ]*\) *$/\1/ 17293 p 17294 } 17295 }' 17296 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17297 # Check for a 64-bit object if we didn't find anything. 17298 if test -z "$lt_cv_aix_libpath__CXX"; then 17299 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17300 fi 17301fi 17302rm -f core conftest.err conftest.$ac_objext \ 17303 conftest$ac_exeext conftest.$ac_ext 17304 if test -z "$lt_cv_aix_libpath__CXX"; then 17305 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 17306 fi 17307 17308fi 17309 17310 aix_libpath=$lt_cv_aix_libpath__CXX 17311fi 17312 17313 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 17314 17315 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" 17316 else 17317 if test "$host_cpu" = ia64; then 17318 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 17319 allow_undefined_flag_CXX="-z nodefs" 17320 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" 17321 else 17322 # Determine the default libpath from the value encoded in an 17323 # empty executable. 17324 if test "${lt_cv_aix_libpath+set}" = set; then 17325 aix_libpath=$lt_cv_aix_libpath 17326else 17327 if ${lt_cv_aix_libpath__CXX+:} false; then : 17328 $as_echo_n "(cached) " >&6 17329else 17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17331/* end confdefs.h. */ 17332 17333int 17334main () 17335{ 17336 17337 ; 17338 return 0; 17339} 17340_ACEOF 17341if ac_fn_cxx_try_link "$LINENO"; then : 17342 17343 lt_aix_libpath_sed=' 17344 /Import File Strings/,/^$/ { 17345 /^0/ { 17346 s/^0 *\([^ ]*\) *$/\1/ 17347 p 17348 } 17349 }' 17350 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17351 # Check for a 64-bit object if we didn't find anything. 17352 if test -z "$lt_cv_aix_libpath__CXX"; then 17353 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 17354 fi 17355fi 17356rm -f core conftest.err conftest.$ac_objext \ 17357 conftest$ac_exeext conftest.$ac_ext 17358 if test -z "$lt_cv_aix_libpath__CXX"; then 17359 lt_cv_aix_libpath__CXX="/usr/lib:/lib" 17360 fi 17361 17362fi 17363 17364 aix_libpath=$lt_cv_aix_libpath__CXX 17365fi 17366 17367 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 17368 # Warning - without using the other run time loading flags, 17369 # -berok will link without error, but may produce a broken library. 17370 no_undefined_flag_CXX=' ${wl}-bernotok' 17371 allow_undefined_flag_CXX=' ${wl}-berok' 17372 if test "$with_gnu_ld" = yes; then 17373 # We only use this code for GNU lds that support --whole-archive. 17374 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 17375 else 17376 # Exported symbols can be pulled into shared objects from archives 17377 whole_archive_flag_spec_CXX='$convenience' 17378 fi 17379 archive_cmds_need_lc_CXX=yes 17380 # This is similar to how AIX traditionally builds its shared 17381 # libraries. 17382 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' 17383 fi 17384 fi 17385 ;; 17386 17387 beos*) 17388 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17389 allow_undefined_flag_CXX=unsupported 17390 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 17391 # support --undefined. This deserves some investigation. FIXME 17392 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17393 else 17394 ld_shlibs_CXX=no 17395 fi 17396 ;; 17397 17398 chorus*) 17399 case $cc_basename in 17400 *) 17401 # FIXME: insert proper C++ library support 17402 ld_shlibs_CXX=no 17403 ;; 17404 esac 17405 ;; 17406 17407 cygwin* | mingw* | pw32* | cegcc*) 17408 case $GXX,$cc_basename in 17409 ,cl* | no,cl*) 17410 # Native MSVC 17411 # hardcode_libdir_flag_spec is actually meaningless, as there is 17412 # no search path for DLLs. 17413 hardcode_libdir_flag_spec_CXX=' ' 17414 allow_undefined_flag_CXX=unsupported 17415 always_export_symbols_CXX=yes 17416 file_list_spec_CXX='@' 17417 # Tell ltmain to make .lib files, not .a files. 17418 libext=lib 17419 # Tell ltmain to make .dll files, not .so files. 17420 shrext_cmds=".dll" 17421 # FIXME: Setting linknames here is a bad hack. 17422 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 17423 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17424 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 17425 else 17426 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 17427 fi~ 17428 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 17429 linknames=' 17430 # The linker will not automatically build a static lib if we build a DLL. 17431 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 17432 enable_shared_with_static_runtimes_CXX=yes 17433 # Don't use ranlib 17434 old_postinstall_cmds_CXX='chmod 644 $oldlib' 17435 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 17436 lt_tool_outputfile="@TOOL_OUTPUT@"~ 17437 case $lt_outputfile in 17438 *.exe|*.EXE) ;; 17439 *) 17440 lt_outputfile="$lt_outputfile.exe" 17441 lt_tool_outputfile="$lt_tool_outputfile.exe" 17442 ;; 17443 esac~ 17444 func_to_tool_file "$lt_outputfile"~ 17445 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 17446 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 17447 $RM "$lt_outputfile.manifest"; 17448 fi' 17449 ;; 17450 *) 17451 # g++ 17452 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 17453 # as there is no search path for DLLs. 17454 hardcode_libdir_flag_spec_CXX='-L$libdir' 17455 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' 17456 allow_undefined_flag_CXX=unsupported 17457 always_export_symbols_CXX=no 17458 enable_shared_with_static_runtimes_CXX=yes 17459 17460 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17461 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' 17462 # If the export-symbols file already is a .def file (1st line 17463 # is EXPORTS), use it as is; otherwise, prepend... 17464 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17465 cp $export_symbols $output_objdir/$soname.def; 17466 else 17467 echo EXPORTS > $output_objdir/$soname.def; 17468 cat $export_symbols >> $output_objdir/$soname.def; 17469 fi~ 17470 $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' 17471 else 17472 ld_shlibs_CXX=no 17473 fi 17474 ;; 17475 esac 17476 ;; 17477 darwin* | rhapsody*) 17478 17479 17480 archive_cmds_need_lc_CXX=no 17481 hardcode_direct_CXX=no 17482 hardcode_automatic_CXX=yes 17483 hardcode_shlibpath_var_CXX=unsupported 17484 if test "$lt_cv_ld_force_load" = "yes"; then 17485 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\"`' 17486 17487 else 17488 whole_archive_flag_spec_CXX='' 17489 fi 17490 link_all_deplibs_CXX=yes 17491 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 17492 case $cc_basename in 17493 ifort*) _lt_dar_can_shared=yes ;; 17494 *) _lt_dar_can_shared=$GCC ;; 17495 esac 17496 if test "$_lt_dar_can_shared" = "yes"; then 17497 output_verbose_link_cmd=func_echo_all 17498 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}" 17499 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 17500 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}" 17501 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}" 17502 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 17503 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}" 17504 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}" 17505 fi 17506 17507 else 17508 ld_shlibs_CXX=no 17509 fi 17510 17511 ;; 17512 17513 dgux*) 17514 case $cc_basename in 17515 ec++*) 17516 # FIXME: insert proper C++ library support 17517 ld_shlibs_CXX=no 17518 ;; 17519 ghcx*) 17520 # Green Hills C++ Compiler 17521 # FIXME: insert proper C++ library support 17522 ld_shlibs_CXX=no 17523 ;; 17524 *) 17525 # FIXME: insert proper C++ library support 17526 ld_shlibs_CXX=no 17527 ;; 17528 esac 17529 ;; 17530 17531 freebsd2.*) 17532 # C++ shared libraries reported to be fairly broken before 17533 # switch to ELF 17534 ld_shlibs_CXX=no 17535 ;; 17536 17537 freebsd-elf*) 17538 archive_cmds_need_lc_CXX=no 17539 ;; 17540 17541 freebsd* | dragonfly*) 17542 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 17543 # conventions 17544 ld_shlibs_CXX=yes 17545 ;; 17546 17547 gnu*) 17548 ;; 17549 17550 haiku*) 17551 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17552 link_all_deplibs_CXX=yes 17553 ;; 17554 17555 hpux9*) 17556 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 17557 hardcode_libdir_separator_CXX=: 17558 export_dynamic_flag_spec_CXX='${wl}-E' 17559 hardcode_direct_CXX=yes 17560 hardcode_minus_L_CXX=yes # Not in the search PATH, 17561 # but as the default 17562 # location of the library. 17563 17564 case $cc_basename in 17565 CC*) 17566 # FIXME: insert proper C++ library support 17567 ld_shlibs_CXX=no 17568 ;; 17569 aCC*) 17570 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' 17571 # Commands to make compiler produce verbose output that lists 17572 # what "hidden" libraries, object files and flags are used when 17573 # linking a shared library. 17574 # 17575 # There doesn't appear to be a way to prevent this compiler from 17576 # explicitly linking system object files so we need to strip them 17577 # from the output so that they don't get included in the library 17578 # dependencies. 17579 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"' 17580 ;; 17581 *) 17582 if test "$GXX" = yes; then 17583 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' 17584 else 17585 # FIXME: insert proper C++ library support 17586 ld_shlibs_CXX=no 17587 fi 17588 ;; 17589 esac 17590 ;; 17591 17592 hpux10*|hpux11*) 17593 if test $with_gnu_ld = no; then 17594 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 17595 hardcode_libdir_separator_CXX=: 17596 17597 case $host_cpu in 17598 hppa*64*|ia64*) 17599 ;; 17600 *) 17601 export_dynamic_flag_spec_CXX='${wl}-E' 17602 ;; 17603 esac 17604 fi 17605 case $host_cpu in 17606 hppa*64*|ia64*) 17607 hardcode_direct_CXX=no 17608 hardcode_shlibpath_var_CXX=no 17609 ;; 17610 *) 17611 hardcode_direct_CXX=yes 17612 hardcode_direct_absolute_CXX=yes 17613 hardcode_minus_L_CXX=yes # Not in the search PATH, 17614 # but as the default 17615 # location of the library. 17616 ;; 17617 esac 17618 17619 case $cc_basename in 17620 CC*) 17621 # FIXME: insert proper C++ library support 17622 ld_shlibs_CXX=no 17623 ;; 17624 aCC*) 17625 case $host_cpu in 17626 hppa*64*) 17627 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17628 ;; 17629 ia64*) 17630 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17631 ;; 17632 *) 17633 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17634 ;; 17635 esac 17636 # Commands to make compiler produce verbose output that lists 17637 # what "hidden" libraries, object files and flags are used when 17638 # linking a shared library. 17639 # 17640 # There doesn't appear to be a way to prevent this compiler from 17641 # explicitly linking system object files so we need to strip them 17642 # from the output so that they don't get included in the library 17643 # dependencies. 17644 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"' 17645 ;; 17646 *) 17647 if test "$GXX" = yes; then 17648 if test $with_gnu_ld = no; then 17649 case $host_cpu in 17650 hppa*64*) 17651 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17652 ;; 17653 ia64*) 17654 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17655 ;; 17656 *) 17657 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' 17658 ;; 17659 esac 17660 fi 17661 else 17662 # FIXME: insert proper C++ library support 17663 ld_shlibs_CXX=no 17664 fi 17665 ;; 17666 esac 17667 ;; 17668 17669 interix[3-9]*) 17670 hardcode_direct_CXX=no 17671 hardcode_shlibpath_var_CXX=no 17672 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17673 export_dynamic_flag_spec_CXX='${wl}-E' 17674 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 17675 # Instead, shared libraries are loaded at an image base (0x10000000 by 17676 # default) and relocated if they conflict, which is a slow very memory 17677 # consuming and fragmenting process. To avoid this, we pick a random, 17678 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 17679 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 17680 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' 17681 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' 17682 ;; 17683 irix5* | irix6*) 17684 case $cc_basename in 17685 CC*) 17686 # SGI C++ 17687 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' 17688 17689 # Archives containing C++ object files must be created using 17690 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 17691 # necessary to make sure instantiated templates are included 17692 # in the archive. 17693 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 17694 ;; 17695 *) 17696 if test "$GXX" = yes; then 17697 if test "$with_gnu_ld" = no; then 17698 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' 17699 else 17700 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' 17701 fi 17702 fi 17703 link_all_deplibs_CXX=yes 17704 ;; 17705 esac 17706 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17707 hardcode_libdir_separator_CXX=: 17708 inherit_rpath_CXX=yes 17709 ;; 17710 17711 linux* | k*bsd*-gnu | kopensolaris*-gnu) 17712 case $cc_basename in 17713 KCC*) 17714 # Kuck and Associates, Inc. (KAI) C++ Compiler 17715 17716 # KCC will only create a shared library if the output file 17717 # ends with ".so" (or ".sl" for HP-UX), so rename the library 17718 # to its proper name (with version) after linking. 17719 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' 17720 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' 17721 # Commands to make compiler produce verbose output that lists 17722 # what "hidden" libraries, object files and flags are used when 17723 # linking a shared library. 17724 # 17725 # There doesn't appear to be a way to prevent this compiler from 17726 # explicitly linking system object files so we need to strip them 17727 # from the output so that they don't get included in the library 17728 # dependencies. 17729 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"' 17730 17731 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17732 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17733 17734 # Archives containing C++ object files must be created using 17735 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 17736 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 17737 ;; 17738 icpc* | ecpc* ) 17739 # Intel C++ 17740 with_gnu_ld=yes 17741 # version 8.0 and above of icpc choke on multiply defined symbols 17742 # if we add $predep_objects and $postdep_objects, however 7.1 and 17743 # earlier do not add the objects themselves. 17744 case `$CC -V 2>&1` in 17745 *"Version 7."*) 17746 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 17747 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' 17748 ;; 17749 *) # Version 8.0 or newer 17750 tmp_idyn= 17751 case $host_cpu in 17752 ia64*) tmp_idyn=' -i_dynamic';; 17753 esac 17754 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17755 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' 17756 ;; 17757 esac 17758 archive_cmds_need_lc_CXX=no 17759 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17760 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17761 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 17762 ;; 17763 pgCC* | pgcpp*) 17764 # Portland Group C++ compiler 17765 case `$CC -V` in 17766 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 17767 prelink_cmds_CXX='tpldir=Template.dir~ 17768 rm -rf $tpldir~ 17769 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 17770 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 17771 old_archive_cmds_CXX='tpldir=Template.dir~ 17772 rm -rf $tpldir~ 17773 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 17774 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 17775 $RANLIB $oldlib' 17776 archive_cmds_CXX='tpldir=Template.dir~ 17777 rm -rf $tpldir~ 17778 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 17779 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 17780 archive_expsym_cmds_CXX='tpldir=Template.dir~ 17781 rm -rf $tpldir~ 17782 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 17783 $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' 17784 ;; 17785 *) # Version 6 and above use weak symbols 17786 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 17787 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' 17788 ;; 17789 esac 17790 17791 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 17792 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17793 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' 17794 ;; 17795 cxx*) 17796 # Compaq C++ 17797 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 17798 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' 17799 17800 runpath_var=LD_RUN_PATH 17801 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 17802 hardcode_libdir_separator_CXX=: 17803 17804 # Commands to make compiler produce verbose output that lists 17805 # what "hidden" libraries, object files and flags are used when 17806 # linking a shared library. 17807 # 17808 # There doesn't appear to be a way to prevent this compiler from 17809 # explicitly linking system object files so we need to strip them 17810 # from the output so that they don't get included in the library 17811 # dependencies. 17812 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' 17813 ;; 17814 xl* | mpixl* | bgxl*) 17815 # IBM XL 8.0 on PPC, with GNU ld 17816 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17817 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 17818 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17819 if test "x$supports_anon_versioning" = xyes; then 17820 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 17821 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17822 echo "local: *; };" >> $output_objdir/$libname.ver~ 17823 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 17824 fi 17825 ;; 17826 *) 17827 case `$CC -V 2>&1 | sed 5q` in 17828 *Sun\ C*) 17829 # Sun C++ 5.9 17830 no_undefined_flag_CXX=' -zdefs' 17831 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 17832 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' 17833 hardcode_libdir_flag_spec_CXX='-R$libdir' 17834 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' 17835 compiler_needs_object_CXX=yes 17836 17837 # Not sure whether something based on 17838 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 17839 # would be better. 17840 output_verbose_link_cmd='func_echo_all' 17841 17842 # Archives containing C++ object files must be created using 17843 # "CC -xar", where "CC" is the Sun C++ compiler. This is 17844 # necessary to make sure instantiated templates are included 17845 # in the archive. 17846 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 17847 ;; 17848 esac 17849 ;; 17850 esac 17851 ;; 17852 17853 lynxos*) 17854 # FIXME: insert proper C++ library support 17855 ld_shlibs_CXX=no 17856 ;; 17857 17858 m88k*) 17859 # FIXME: insert proper C++ library support 17860 ld_shlibs_CXX=no 17861 ;; 17862 17863 mvs*) 17864 case $cc_basename in 17865 cxx*) 17866 # FIXME: insert proper C++ library support 17867 ld_shlibs_CXX=no 17868 ;; 17869 *) 17870 # FIXME: insert proper C++ library support 17871 ld_shlibs_CXX=no 17872 ;; 17873 esac 17874 ;; 17875 17876 netbsd*) 17877 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 17878 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 17879 wlarc= 17880 hardcode_libdir_flag_spec_CXX='-R$libdir' 17881 hardcode_direct_CXX=yes 17882 hardcode_shlibpath_var_CXX=no 17883 fi 17884 # Workaround some broken pre-1.5 toolchains 17885 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 17886 ;; 17887 17888 *nto* | *qnx*) 17889 ld_shlibs_CXX=yes 17890 ;; 17891 17892 openbsd2*) 17893 # C++ shared libraries are fairly broken 17894 ld_shlibs_CXX=no 17895 ;; 17896 17897 openbsd*) 17898 if test -f /usr/libexec/ld.so; then 17899 hardcode_direct_CXX=yes 17900 hardcode_shlibpath_var_CXX=no 17901 hardcode_direct_absolute_CXX=yes 17902 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 17903 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17904 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 17905 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 17906 export_dynamic_flag_spec_CXX='${wl}-E' 17907 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 17908 fi 17909 output_verbose_link_cmd=func_echo_all 17910 else 17911 ld_shlibs_CXX=no 17912 fi 17913 ;; 17914 17915 osf3* | osf4* | osf5*) 17916 case $cc_basename in 17917 KCC*) 17918 # Kuck and Associates, Inc. (KAI) C++ Compiler 17919 17920 # KCC will only create a shared library if the output file 17921 # ends with ".so" (or ".sl" for HP-UX), so rename the library 17922 # to its proper name (with version) after linking. 17923 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' 17924 17925 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 17926 hardcode_libdir_separator_CXX=: 17927 17928 # Archives containing C++ object files must be created using 17929 # the KAI C++ compiler. 17930 case $host in 17931 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 17932 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 17933 esac 17934 ;; 17935 RCC*) 17936 # Rational C++ 2.4.1 17937 # FIXME: insert proper C++ library support 17938 ld_shlibs_CXX=no 17939 ;; 17940 cxx*) 17941 case $host in 17942 osf3*) 17943 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 17944 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' 17945 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17946 ;; 17947 *) 17948 allow_undefined_flag_CXX=' -expect_unresolved \*' 17949 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' 17950 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 17951 echo "-hidden">> $lib.exp~ 17952 $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~ 17953 $RM $lib.exp' 17954 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 17955 ;; 17956 esac 17957 17958 hardcode_libdir_separator_CXX=: 17959 17960 # Commands to make compiler produce verbose output that lists 17961 # what "hidden" libraries, object files and flags are used when 17962 # linking a shared library. 17963 # 17964 # There doesn't appear to be a way to prevent this compiler from 17965 # explicitly linking system object files so we need to strip them 17966 # from the output so that they don't get included in the library 17967 # dependencies. 17968 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"' 17969 ;; 17970 *) 17971 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 17972 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 17973 case $host in 17974 osf3*) 17975 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' 17976 ;; 17977 *) 17978 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' 17979 ;; 17980 esac 17981 17982 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 17983 hardcode_libdir_separator_CXX=: 17984 17985 # Commands to make compiler produce verbose output that lists 17986 # what "hidden" libraries, object files and flags are used when 17987 # linking a shared library. 17988 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 17989 17990 else 17991 # FIXME: insert proper C++ library support 17992 ld_shlibs_CXX=no 17993 fi 17994 ;; 17995 esac 17996 ;; 17997 17998 psos*) 17999 # FIXME: insert proper C++ library support 18000 ld_shlibs_CXX=no 18001 ;; 18002 18003 sunos4*) 18004 case $cc_basename in 18005 CC*) 18006 # Sun C++ 4.x 18007 # FIXME: insert proper C++ library support 18008 ld_shlibs_CXX=no 18009 ;; 18010 lcc*) 18011 # Lucid 18012 # FIXME: insert proper C++ library support 18013 ld_shlibs_CXX=no 18014 ;; 18015 *) 18016 # FIXME: insert proper C++ library support 18017 ld_shlibs_CXX=no 18018 ;; 18019 esac 18020 ;; 18021 18022 solaris*) 18023 case $cc_basename in 18024 CC* | sunCC*) 18025 # Sun C++ 4.2, 5.x and Centerline C++ 18026 archive_cmds_need_lc_CXX=yes 18027 no_undefined_flag_CXX=' -zdefs' 18028 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 18029 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 18030 $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' 18031 18032 hardcode_libdir_flag_spec_CXX='-R$libdir' 18033 hardcode_shlibpath_var_CXX=no 18034 case $host_os in 18035 solaris2.[0-5] | solaris2.[0-5].*) ;; 18036 *) 18037 # The compiler driver will combine and reorder linker options, 18038 # but understands `-z linker_flag'. 18039 # Supported since Solaris 2.6 (maybe 2.5.1?) 18040 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 18041 ;; 18042 esac 18043 link_all_deplibs_CXX=yes 18044 18045 output_verbose_link_cmd='func_echo_all' 18046 18047 # Archives containing C++ object files must be created using 18048 # "CC -xar", where "CC" is the Sun C++ compiler. This is 18049 # necessary to make sure instantiated templates are included 18050 # in the archive. 18051 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 18052 ;; 18053 gcx*) 18054 # Green Hills C++ Compiler 18055 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 18056 18057 # The C++ compiler must be used to create the archive. 18058 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 18059 ;; 18060 *) 18061 # GNU C++ compiler with Solaris linker 18062 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 18063 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 18064 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 18065 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 18066 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 18067 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 18068 18069 # Commands to make compiler produce verbose output that lists 18070 # what "hidden" libraries, object files and flags are used when 18071 # linking a shared library. 18072 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 18073 else 18074 # g++ 2.7 appears to require `-G' NOT `-shared' on this 18075 # platform. 18076 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 18077 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 18078 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 18079 18080 # Commands to make compiler produce verbose output that lists 18081 # what "hidden" libraries, object files and flags are used when 18082 # linking a shared library. 18083 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 18084 fi 18085 18086 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 18087 case $host_os in 18088 solaris2.[0-5] | solaris2.[0-5].*) ;; 18089 *) 18090 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 18091 ;; 18092 esac 18093 fi 18094 ;; 18095 esac 18096 ;; 18097 18098 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 18099 no_undefined_flag_CXX='${wl}-z,text' 18100 archive_cmds_need_lc_CXX=no 18101 hardcode_shlibpath_var_CXX=no 18102 runpath_var='LD_RUN_PATH' 18103 18104 case $cc_basename in 18105 CC*) 18106 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18107 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18108 ;; 18109 *) 18110 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18111 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18112 ;; 18113 esac 18114 ;; 18115 18116 sysv5* | sco3.2v5* | sco5v6*) 18117 # Note: We can NOT use -z defs as we might desire, because we do not 18118 # link with -lc, and that would cause any symbols used from libc to 18119 # always be unresolved, which means just about no library would 18120 # ever link correctly. If we're not using GNU ld we use -z text 18121 # though, which does catch some bad symbols but isn't as heavy-handed 18122 # as -z defs. 18123 no_undefined_flag_CXX='${wl}-z,text' 18124 allow_undefined_flag_CXX='${wl}-z,nodefs' 18125 archive_cmds_need_lc_CXX=no 18126 hardcode_shlibpath_var_CXX=no 18127 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 18128 hardcode_libdir_separator_CXX=':' 18129 link_all_deplibs_CXX=yes 18130 export_dynamic_flag_spec_CXX='${wl}-Bexport' 18131 runpath_var='LD_RUN_PATH' 18132 18133 case $cc_basename in 18134 CC*) 18135 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18136 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18137 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 18138 '"$old_archive_cmds_CXX" 18139 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 18140 '"$reload_cmds_CXX" 18141 ;; 18142 *) 18143 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18144 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18145 ;; 18146 esac 18147 ;; 18148 18149 tandem*) 18150 case $cc_basename in 18151 NCC*) 18152 # NonStop-UX NCC 3.20 18153 # FIXME: insert proper C++ library support 18154 ld_shlibs_CXX=no 18155 ;; 18156 *) 18157 # FIXME: insert proper C++ library support 18158 ld_shlibs_CXX=no 18159 ;; 18160 esac 18161 ;; 18162 18163 vxworks*) 18164 # FIXME: insert proper C++ library support 18165 ld_shlibs_CXX=no 18166 ;; 18167 18168 *) 18169 # FIXME: insert proper C++ library support 18170 ld_shlibs_CXX=no 18171 ;; 18172 esac 18173 18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 18175$as_echo "$ld_shlibs_CXX" >&6; } 18176 test "$ld_shlibs_CXX" = no && can_build_shared=no 18177 18178 GCC_CXX="$GXX" 18179 LD_CXX="$LD" 18180 18181 ## CAVEAT EMPTOR: 18182 ## There is no encapsulation within the following macros, do not change 18183 ## the running order or otherwise move them around unless you know exactly 18184 ## what you are doing... 18185 # Dependencies to place before and after the object being linked: 18186predep_objects_CXX= 18187postdep_objects_CXX= 18188predeps_CXX= 18189postdeps_CXX= 18190compiler_lib_search_path_CXX= 18191 18192cat > conftest.$ac_ext <<_LT_EOF 18193class Foo 18194{ 18195public: 18196 Foo (void) { a = 0; } 18197private: 18198 int a; 18199}; 18200_LT_EOF 18201 18202 18203_lt_libdeps_save_CFLAGS=$CFLAGS 18204case "$CC $CFLAGS " in #( 18205*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 18206*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 18207*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 18208esac 18209 18210if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 18211 (eval $ac_compile) 2>&5 18212 ac_status=$? 18213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18214 test $ac_status = 0; }; then 18215 # Parse the compiler output and extract the necessary 18216 # objects, libraries and library flags. 18217 18218 # Sentinel used to keep track of whether or not we are before 18219 # the conftest object file. 18220 pre_test_object_deps_done=no 18221 18222 for p in `eval "$output_verbose_link_cmd"`; do 18223 case ${prev}${p} in 18224 18225 -L* | -R* | -l*) 18226 # Some compilers place space between "-{L,R}" and the path. 18227 # Remove the space. 18228 if test $p = "-L" || 18229 test $p = "-R"; then 18230 prev=$p 18231 continue 18232 fi 18233 18234 # Expand the sysroot to ease extracting the directories later. 18235 if test -z "$prev"; then 18236 case $p in 18237 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 18238 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 18239 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 18240 esac 18241 fi 18242 case $p in 18243 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 18244 esac 18245 if test "$pre_test_object_deps_done" = no; then 18246 case ${prev} in 18247 -L | -R) 18248 # Internal compiler library paths should come after those 18249 # provided the user. The postdeps already come after the 18250 # user supplied libs so there is no need to process them. 18251 if test -z "$compiler_lib_search_path_CXX"; then 18252 compiler_lib_search_path_CXX="${prev}${p}" 18253 else 18254 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 18255 fi 18256 ;; 18257 # The "-l" case would never come before the object being 18258 # linked, so don't bother handling this case. 18259 esac 18260 else 18261 if test -z "$postdeps_CXX"; then 18262 postdeps_CXX="${prev}${p}" 18263 else 18264 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 18265 fi 18266 fi 18267 prev= 18268 ;; 18269 18270 *.lto.$objext) ;; # Ignore GCC LTO objects 18271 *.$objext) 18272 # This assumes that the test object file only shows up 18273 # once in the compiler output. 18274 if test "$p" = "conftest.$objext"; then 18275 pre_test_object_deps_done=yes 18276 continue 18277 fi 18278 18279 if test "$pre_test_object_deps_done" = no; then 18280 if test -z "$predep_objects_CXX"; then 18281 predep_objects_CXX="$p" 18282 else 18283 predep_objects_CXX="$predep_objects_CXX $p" 18284 fi 18285 else 18286 if test -z "$postdep_objects_CXX"; then 18287 postdep_objects_CXX="$p" 18288 else 18289 postdep_objects_CXX="$postdep_objects_CXX $p" 18290 fi 18291 fi 18292 ;; 18293 18294 *) ;; # Ignore the rest. 18295 18296 esac 18297 done 18298 18299 # Clean up. 18300 rm -f a.out a.exe 18301else 18302 echo "libtool.m4: error: problem compiling CXX test program" 18303fi 18304 18305$RM -f confest.$objext 18306CFLAGS=$_lt_libdeps_save_CFLAGS 18307 18308# PORTME: override above test on systems where it is broken 18309case $host_os in 18310interix[3-9]*) 18311 # Interix 3.5 installs completely hosed .la files for C++, so rather than 18312 # hack all around it, let's just trust "g++" to DTRT. 18313 predep_objects_CXX= 18314 postdep_objects_CXX= 18315 postdeps_CXX= 18316 ;; 18317 18318linux*) 18319 case `$CC -V 2>&1 | sed 5q` in 18320 *Sun\ C*) 18321 # Sun C++ 5.9 18322 18323 # The more standards-conforming stlport4 library is 18324 # incompatible with the Cstd library. Avoid specifying 18325 # it if it's in CXXFLAGS. Ignore libCrun as 18326 # -library=stlport4 depends on it. 18327 case " $CXX $CXXFLAGS " in 18328 *" -library=stlport4 "*) 18329 solaris_use_stlport4=yes 18330 ;; 18331 esac 18332 18333 if test "$solaris_use_stlport4" != yes; then 18334 postdeps_CXX='-library=Cstd -library=Crun' 18335 fi 18336 ;; 18337 esac 18338 ;; 18339 18340solaris*) 18341 case $cc_basename in 18342 CC* | sunCC*) 18343 # The more standards-conforming stlport4 library is 18344 # incompatible with the Cstd library. Avoid specifying 18345 # it if it's in CXXFLAGS. Ignore libCrun as 18346 # -library=stlport4 depends on it. 18347 case " $CXX $CXXFLAGS " in 18348 *" -library=stlport4 "*) 18349 solaris_use_stlport4=yes 18350 ;; 18351 esac 18352 18353 # Adding this requires a known-good setup of shared libraries for 18354 # Sun compiler versions before 5.6, else PIC objects from an old 18355 # archive will be linked into the output, leading to subtle bugs. 18356 if test "$solaris_use_stlport4" != yes; then 18357 postdeps_CXX='-library=Cstd -library=Crun' 18358 fi 18359 ;; 18360 esac 18361 ;; 18362esac 18363 18364 18365case " $postdeps_CXX " in 18366*" -lc "*) archive_cmds_need_lc_CXX=no ;; 18367esac 18368 compiler_lib_search_dirs_CXX= 18369if test -n "${compiler_lib_search_path_CXX}"; then 18370 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 18371fi 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 lt_prog_compiler_wl_CXX= 18404lt_prog_compiler_pic_CXX= 18405lt_prog_compiler_static_CXX= 18406 18407 18408 # C++ specific cases for pic, static, wl, etc. 18409 if test "$GXX" = yes; then 18410 lt_prog_compiler_wl_CXX='-Wl,' 18411 lt_prog_compiler_static_CXX='-static' 18412 18413 case $host_os in 18414 aix*) 18415 # All AIX code is PIC. 18416 if test "$host_cpu" = ia64; then 18417 # AIX 5 now supports IA64 processor 18418 lt_prog_compiler_static_CXX='-Bstatic' 18419 fi 18420 ;; 18421 18422 amigaos*) 18423 case $host_cpu in 18424 powerpc) 18425 # see comment about AmigaOS4 .so support 18426 lt_prog_compiler_pic_CXX='-fPIC' 18427 ;; 18428 m68k) 18429 # FIXME: we need at least 68020 code to build shared libraries, but 18430 # adding the `-m68020' flag to GCC prevents building anything better, 18431 # like `-m68040'. 18432 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 18433 ;; 18434 esac 18435 ;; 18436 18437 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 18438 # PIC is the default for these OSes. 18439 ;; 18440 mingw* | cygwin* | os2* | pw32* | cegcc*) 18441 # This hack is so that the source file can tell whether it is being 18442 # built for inclusion in a dll (and should export symbols for example). 18443 # Although the cygwin gcc ignores -fPIC, still need this for old-style 18444 # (--disable-auto-import) libraries 18445 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 18446 ;; 18447 darwin* | rhapsody*) 18448 # PIC is the default on this platform 18449 # Common symbols not allowed in MH_DYLIB files 18450 lt_prog_compiler_pic_CXX='-fno-common' 18451 ;; 18452 *djgpp*) 18453 # DJGPP does not support shared libraries at all 18454 lt_prog_compiler_pic_CXX= 18455 ;; 18456 haiku*) 18457 # PIC is the default for Haiku. 18458 # The "-static" flag exists, but is broken. 18459 lt_prog_compiler_static_CXX= 18460 ;; 18461 interix[3-9]*) 18462 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 18463 # Instead, we relocate shared libraries at runtime. 18464 ;; 18465 sysv4*MP*) 18466 if test -d /usr/nec; then 18467 lt_prog_compiler_pic_CXX=-Kconform_pic 18468 fi 18469 ;; 18470 hpux*) 18471 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 18472 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 18473 # sets the default TLS model and affects inlining. 18474 case $host_cpu in 18475 hppa*64*) 18476 ;; 18477 *) 18478 lt_prog_compiler_pic_CXX='-fPIC' 18479 ;; 18480 esac 18481 ;; 18482 *qnx* | *nto*) 18483 # QNX uses GNU C++, but need to define -shared option too, otherwise 18484 # it will coredump. 18485 lt_prog_compiler_pic_CXX='-fPIC -shared' 18486 ;; 18487 *) 18488 lt_prog_compiler_pic_CXX='-fPIC' 18489 ;; 18490 esac 18491 else 18492 case $host_os in 18493 aix[4-9]*) 18494 # All AIX code is PIC. 18495 if test "$host_cpu" = ia64; then 18496 # AIX 5 now supports IA64 processor 18497 lt_prog_compiler_static_CXX='-Bstatic' 18498 else 18499 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 18500 fi 18501 ;; 18502 chorus*) 18503 case $cc_basename in 18504 cxch68*) 18505 # Green Hills C++ Compiler 18506 # _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" 18507 ;; 18508 esac 18509 ;; 18510 mingw* | cygwin* | os2* | pw32* | cegcc*) 18511 # This hack is so that the source file can tell whether it is being 18512 # built for inclusion in a dll (and should export symbols for example). 18513 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 18514 ;; 18515 dgux*) 18516 case $cc_basename in 18517 ec++*) 18518 lt_prog_compiler_pic_CXX='-KPIC' 18519 ;; 18520 ghcx*) 18521 # Green Hills C++ Compiler 18522 lt_prog_compiler_pic_CXX='-pic' 18523 ;; 18524 *) 18525 ;; 18526 esac 18527 ;; 18528 freebsd* | dragonfly*) 18529 # FreeBSD uses GNU C++ 18530 ;; 18531 hpux9* | hpux10* | hpux11*) 18532 case $cc_basename in 18533 CC*) 18534 lt_prog_compiler_wl_CXX='-Wl,' 18535 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 18536 if test "$host_cpu" != ia64; then 18537 lt_prog_compiler_pic_CXX='+Z' 18538 fi 18539 ;; 18540 aCC*) 18541 lt_prog_compiler_wl_CXX='-Wl,' 18542 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 18543 case $host_cpu in 18544 hppa*64*|ia64*) 18545 # +Z the default 18546 ;; 18547 *) 18548 lt_prog_compiler_pic_CXX='+Z' 18549 ;; 18550 esac 18551 ;; 18552 *) 18553 ;; 18554 esac 18555 ;; 18556 interix*) 18557 # This is c89, which is MS Visual C++ (no shared libs) 18558 # Anyone wants to do a port? 18559 ;; 18560 irix5* | irix6* | nonstopux*) 18561 case $cc_basename in 18562 CC*) 18563 lt_prog_compiler_wl_CXX='-Wl,' 18564 lt_prog_compiler_static_CXX='-non_shared' 18565 # CC pic flag -KPIC is the default. 18566 ;; 18567 *) 18568 ;; 18569 esac 18570 ;; 18571 linux* | k*bsd*-gnu | kopensolaris*-gnu) 18572 case $cc_basename in 18573 KCC*) 18574 # KAI C++ Compiler 18575 lt_prog_compiler_wl_CXX='--backend -Wl,' 18576 lt_prog_compiler_pic_CXX='-fPIC' 18577 ;; 18578 ecpc* ) 18579 # old Intel C++ for x86_64 which still supported -KPIC. 18580 lt_prog_compiler_wl_CXX='-Wl,' 18581 lt_prog_compiler_pic_CXX='-KPIC' 18582 lt_prog_compiler_static_CXX='-static' 18583 ;; 18584 icpc* ) 18585 # Intel C++, used to be incompatible with GCC. 18586 # ICC 10 doesn't accept -KPIC any more. 18587 lt_prog_compiler_wl_CXX='-Wl,' 18588 lt_prog_compiler_pic_CXX='-fPIC' 18589 lt_prog_compiler_static_CXX='-static' 18590 ;; 18591 pgCC* | pgcpp*) 18592 # Portland Group C++ compiler 18593 lt_prog_compiler_wl_CXX='-Wl,' 18594 lt_prog_compiler_pic_CXX='-fpic' 18595 lt_prog_compiler_static_CXX='-Bstatic' 18596 ;; 18597 cxx*) 18598 # Compaq C++ 18599 # Make sure the PIC flag is empty. It appears that all Alpha 18600 # Linux and Compaq Tru64 Unix objects are PIC. 18601 lt_prog_compiler_pic_CXX= 18602 lt_prog_compiler_static_CXX='-non_shared' 18603 ;; 18604 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 18605 # IBM XL 8.0, 9.0 on PPC and BlueGene 18606 lt_prog_compiler_wl_CXX='-Wl,' 18607 lt_prog_compiler_pic_CXX='-qpic' 18608 lt_prog_compiler_static_CXX='-qstaticlink' 18609 ;; 18610 *) 18611 case `$CC -V 2>&1 | sed 5q` in 18612 *Sun\ C*) 18613 # Sun C++ 5.9 18614 lt_prog_compiler_pic_CXX='-KPIC' 18615 lt_prog_compiler_static_CXX='-Bstatic' 18616 lt_prog_compiler_wl_CXX='-Qoption ld ' 18617 ;; 18618 esac 18619 ;; 18620 esac 18621 ;; 18622 lynxos*) 18623 ;; 18624 m88k*) 18625 ;; 18626 mvs*) 18627 case $cc_basename in 18628 cxx*) 18629 lt_prog_compiler_pic_CXX='-W c,exportall' 18630 ;; 18631 *) 18632 ;; 18633 esac 18634 ;; 18635 netbsd*) 18636 ;; 18637 *qnx* | *nto*) 18638 # QNX uses GNU C++, but need to define -shared option too, otherwise 18639 # it will coredump. 18640 lt_prog_compiler_pic_CXX='-fPIC -shared' 18641 ;; 18642 osf3* | osf4* | osf5*) 18643 case $cc_basename in 18644 KCC*) 18645 lt_prog_compiler_wl_CXX='--backend -Wl,' 18646 ;; 18647 RCC*) 18648 # Rational C++ 2.4.1 18649 lt_prog_compiler_pic_CXX='-pic' 18650 ;; 18651 cxx*) 18652 # Digital/Compaq C++ 18653 lt_prog_compiler_wl_CXX='-Wl,' 18654 # Make sure the PIC flag is empty. It appears that all Alpha 18655 # Linux and Compaq Tru64 Unix objects are PIC. 18656 lt_prog_compiler_pic_CXX= 18657 lt_prog_compiler_static_CXX='-non_shared' 18658 ;; 18659 *) 18660 ;; 18661 esac 18662 ;; 18663 psos*) 18664 ;; 18665 solaris*) 18666 case $cc_basename in 18667 CC* | sunCC*) 18668 # Sun C++ 4.2, 5.x and Centerline C++ 18669 lt_prog_compiler_pic_CXX='-KPIC' 18670 lt_prog_compiler_static_CXX='-Bstatic' 18671 lt_prog_compiler_wl_CXX='-Qoption ld ' 18672 ;; 18673 gcx*) 18674 # Green Hills C++ Compiler 18675 lt_prog_compiler_pic_CXX='-PIC' 18676 ;; 18677 *) 18678 ;; 18679 esac 18680 ;; 18681 sunos4*) 18682 case $cc_basename in 18683 CC*) 18684 # Sun C++ 4.x 18685 lt_prog_compiler_pic_CXX='-pic' 18686 lt_prog_compiler_static_CXX='-Bstatic' 18687 ;; 18688 lcc*) 18689 # Lucid 18690 lt_prog_compiler_pic_CXX='-pic' 18691 ;; 18692 *) 18693 ;; 18694 esac 18695 ;; 18696 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 18697 case $cc_basename in 18698 CC*) 18699 lt_prog_compiler_wl_CXX='-Wl,' 18700 lt_prog_compiler_pic_CXX='-KPIC' 18701 lt_prog_compiler_static_CXX='-Bstatic' 18702 ;; 18703 esac 18704 ;; 18705 tandem*) 18706 case $cc_basename in 18707 NCC*) 18708 # NonStop-UX NCC 3.20 18709 lt_prog_compiler_pic_CXX='-KPIC' 18710 ;; 18711 *) 18712 ;; 18713 esac 18714 ;; 18715 vxworks*) 18716 ;; 18717 *) 18718 lt_prog_compiler_can_build_shared_CXX=no 18719 ;; 18720 esac 18721 fi 18722 18723case $host_os in 18724 # For platforms which do not support PIC, -DPIC is meaningless: 18725 *djgpp*) 18726 lt_prog_compiler_pic_CXX= 18727 ;; 18728 *) 18729 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 18730 ;; 18731esac 18732 18733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 18734$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 18735if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 18736 $as_echo_n "(cached) " >&6 18737else 18738 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 18739fi 18740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 18741$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 18742lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 18743 18744# 18745# Check to make sure the PIC flag actually works. 18746# 18747if test -n "$lt_prog_compiler_pic_CXX"; then 18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 18749$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 18750if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 18751 $as_echo_n "(cached) " >&6 18752else 18753 lt_cv_prog_compiler_pic_works_CXX=no 18754 ac_outfile=conftest.$ac_objext 18755 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18756 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 18757 # Insert the option either (1) after the last *FLAGS variable, or 18758 # (2) before a word containing "conftest.", or (3) at the end. 18759 # Note that $ac_compile itself does not contain backslashes and begins 18760 # with a dollar sign (not a hyphen), so the echo should work correctly. 18761 # The option is referenced via a variable to avoid confusing sed. 18762 lt_compile=`echo "$ac_compile" | $SED \ 18763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 18764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18765 -e 's:$: $lt_compiler_flag:'` 18766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 18767 (eval "$lt_compile" 2>conftest.err) 18768 ac_status=$? 18769 cat conftest.err >&5 18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18771 if (exit $ac_status) && test -s "$ac_outfile"; then 18772 # The compiler can only warn and ignore the option if not recognized 18773 # So say no if there are warnings other than the usual output. 18774 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 18775 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 18776 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 18777 lt_cv_prog_compiler_pic_works_CXX=yes 18778 fi 18779 fi 18780 $RM conftest* 18781 18782fi 18783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 18784$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 18785 18786if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 18787 case $lt_prog_compiler_pic_CXX in 18788 "" | " "*) ;; 18789 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 18790 esac 18791else 18792 lt_prog_compiler_pic_CXX= 18793 lt_prog_compiler_can_build_shared_CXX=no 18794fi 18795 18796fi 18797 18798 18799 18800 18801 18802# 18803# Check to make sure the static flag actually works. 18804# 18805wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 18806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 18807$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 18808if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 18809 $as_echo_n "(cached) " >&6 18810else 18811 lt_cv_prog_compiler_static_works_CXX=no 18812 save_LDFLAGS="$LDFLAGS" 18813 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 18814 echo "$lt_simple_link_test_code" > conftest.$ac_ext 18815 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 18816 # The linker can only warn and ignore the option if not recognized 18817 # So say no if there are warnings 18818 if test -s conftest.err; then 18819 # Append any errors to the config.log. 18820 cat conftest.err 1>&5 18821 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 18822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 18823 if diff conftest.exp conftest.er2 >/dev/null; then 18824 lt_cv_prog_compiler_static_works_CXX=yes 18825 fi 18826 else 18827 lt_cv_prog_compiler_static_works_CXX=yes 18828 fi 18829 fi 18830 $RM -r conftest* 18831 LDFLAGS="$save_LDFLAGS" 18832 18833fi 18834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 18835$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 18836 18837if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 18838 : 18839else 18840 lt_prog_compiler_static_CXX= 18841fi 18842 18843 18844 18845 18846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 18847$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 18848if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 18849 $as_echo_n "(cached) " >&6 18850else 18851 lt_cv_prog_compiler_c_o_CXX=no 18852 $RM -r conftest 2>/dev/null 18853 mkdir conftest 18854 cd conftest 18855 mkdir out 18856 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18857 18858 lt_compiler_flag="-o out/conftest2.$ac_objext" 18859 # Insert the option either (1) after the last *FLAGS variable, or 18860 # (2) before a word containing "conftest.", or (3) at the end. 18861 # Note that $ac_compile itself does not contain backslashes and begins 18862 # with a dollar sign (not a hyphen), so the echo should work correctly. 18863 lt_compile=`echo "$ac_compile" | $SED \ 18864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 18865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18866 -e 's:$: $lt_compiler_flag:'` 18867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 18868 (eval "$lt_compile" 2>out/conftest.err) 18869 ac_status=$? 18870 cat out/conftest.err >&5 18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18872 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18873 then 18874 # The compiler can only warn and ignore the option if not recognized 18875 # So say no if there are warnings 18876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 18877 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 18878 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 18879 lt_cv_prog_compiler_c_o_CXX=yes 18880 fi 18881 fi 18882 chmod u+w . 2>&5 18883 $RM conftest* 18884 # SGI C++ compiler will create directory out/ii_files/ for 18885 # template instantiation 18886 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 18887 $RM out/* && rmdir out 18888 cd .. 18889 $RM -r conftest 18890 $RM conftest* 18891 18892fi 18893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 18894$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 18895 18896 18897 18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 18899$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 18900if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 18901 $as_echo_n "(cached) " >&6 18902else 18903 lt_cv_prog_compiler_c_o_CXX=no 18904 $RM -r conftest 2>/dev/null 18905 mkdir conftest 18906 cd conftest 18907 mkdir out 18908 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18909 18910 lt_compiler_flag="-o out/conftest2.$ac_objext" 18911 # Insert the option either (1) after the last *FLAGS variable, or 18912 # (2) before a word containing "conftest.", or (3) at the end. 18913 # Note that $ac_compile itself does not contain backslashes and begins 18914 # with a dollar sign (not a hyphen), so the echo should work correctly. 18915 lt_compile=`echo "$ac_compile" | $SED \ 18916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 18917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18918 -e 's:$: $lt_compiler_flag:'` 18919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 18920 (eval "$lt_compile" 2>out/conftest.err) 18921 ac_status=$? 18922 cat out/conftest.err >&5 18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18924 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18925 then 18926 # The compiler can only warn and ignore the option if not recognized 18927 # So say no if there are warnings 18928 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 18929 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 18930 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 18931 lt_cv_prog_compiler_c_o_CXX=yes 18932 fi 18933 fi 18934 chmod u+w . 2>&5 18935 $RM conftest* 18936 # SGI C++ compiler will create directory out/ii_files/ for 18937 # template instantiation 18938 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 18939 $RM out/* && rmdir out 18940 cd .. 18941 $RM -r conftest 18942 $RM conftest* 18943 18944fi 18945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 18946$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 18947 18948 18949 18950 18951hard_links="nottested" 18952if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 18953 # do not overwrite the value of need_locks provided by the user 18954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 18955$as_echo_n "checking if we can lock with hard links... " >&6; } 18956 hard_links=yes 18957 $RM conftest* 18958 ln conftest.a conftest.b 2>/dev/null && hard_links=no 18959 touch conftest.a 18960 ln conftest.a conftest.b 2>&5 || hard_links=no 18961 ln conftest.a conftest.b 2>/dev/null && hard_links=no 18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 18963$as_echo "$hard_links" >&6; } 18964 if test "$hard_links" = no; then 18965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 18966$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 18967 need_locks=warn 18968 fi 18969else 18970 need_locks=no 18971fi 18972 18973 18974 18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 18976$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 18977 18978 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 18979 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 18980 case $host_os in 18981 aix[4-9]*) 18982 # If we're using GNU nm, then we don't want the "-C" option. 18983 # -C means demangle to AIX nm, but means don't demangle with GNU nm 18984 # Also, AIX nm treats weak defined symbols like other global defined 18985 # symbols, whereas GNU nm marks them as "W". 18986 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 18987 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' 18988 else 18989 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' 18990 fi 18991 ;; 18992 pw32*) 18993 export_symbols_cmds_CXX="$ltdll_cmds" 18994 ;; 18995 cygwin* | mingw* | cegcc*) 18996 case $cc_basename in 18997 cl*) 18998 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 18999 ;; 19000 *) 19001 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' 19002 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 19003 ;; 19004 esac 19005 ;; 19006 *) 19007 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 19008 ;; 19009 esac 19010 19011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 19012$as_echo "$ld_shlibs_CXX" >&6; } 19013test "$ld_shlibs_CXX" = no && can_build_shared=no 19014 19015with_gnu_ld_CXX=$with_gnu_ld 19016 19017 19018 19019 19020 19021 19022# 19023# Do we need to explicitly link libc? 19024# 19025case "x$archive_cmds_need_lc_CXX" in 19026x|xyes) 19027 # Assume -lc should be added 19028 archive_cmds_need_lc_CXX=yes 19029 19030 if test "$enable_shared" = yes && test "$GCC" = yes; then 19031 case $archive_cmds_CXX in 19032 *'~'*) 19033 # FIXME: we may have to deal with multi-command sequences. 19034 ;; 19035 '$CC '*) 19036 # Test whether the compiler implicitly links with -lc since on some 19037 # systems, -lgcc has to come before -lc. If gcc already passes -lc 19038 # to ld, don't add -lc before -lgcc. 19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 19040$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 19041if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 19042 $as_echo_n "(cached) " >&6 19043else 19044 $RM conftest* 19045 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 19046 19047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 19048 (eval $ac_compile) 2>&5 19049 ac_status=$? 19050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19051 test $ac_status = 0; } 2>conftest.err; then 19052 soname=conftest 19053 lib=conftest 19054 libobjs=conftest.$ac_objext 19055 deplibs= 19056 wl=$lt_prog_compiler_wl_CXX 19057 pic_flag=$lt_prog_compiler_pic_CXX 19058 compiler_flags=-v 19059 linker_flags=-v 19060 verstring= 19061 output_objdir=. 19062 libname=conftest 19063 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 19064 allow_undefined_flag_CXX= 19065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 19066 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 19067 ac_status=$? 19068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 19069 test $ac_status = 0; } 19070 then 19071 lt_cv_archive_cmds_need_lc_CXX=no 19072 else 19073 lt_cv_archive_cmds_need_lc_CXX=yes 19074 fi 19075 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 19076 else 19077 cat conftest.err 1>&5 19078 fi 19079 $RM conftest* 19080 19081fi 19082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 19083$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 19084 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 19085 ;; 19086 esac 19087 fi 19088 ;; 19089esac 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 19153$as_echo_n "checking dynamic linker characteristics... " >&6; } 19154 19155library_names_spec= 19156libname_spec='lib$name' 19157soname_spec= 19158shrext_cmds=".so" 19159postinstall_cmds= 19160postuninstall_cmds= 19161finish_cmds= 19162finish_eval= 19163shlibpath_var= 19164shlibpath_overrides_runpath=unknown 19165version_type=none 19166dynamic_linker="$host_os ld.so" 19167sys_lib_dlsearch_path_spec="/lib /usr/lib" 19168need_lib_prefix=unknown 19169hardcode_into_libs=no 19170 19171# when you set need_version to no, make sure it does not cause -set_version 19172# flags to be left without arguments 19173need_version=unknown 19174 19175case $host_os in 19176aix3*) 19177 version_type=linux # correct to gnu/linux during the next big refactor 19178 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 19179 shlibpath_var=LIBPATH 19180 19181 # AIX 3 has no versioning support, so we append a major version to the name. 19182 soname_spec='${libname}${release}${shared_ext}$major' 19183 ;; 19184 19185aix[4-9]*) 19186 version_type=linux # correct to gnu/linux during the next big refactor 19187 need_lib_prefix=no 19188 need_version=no 19189 hardcode_into_libs=yes 19190 if test "$host_cpu" = ia64; then 19191 # AIX 5 supports IA64 19192 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 19193 shlibpath_var=LD_LIBRARY_PATH 19194 else 19195 # With GCC up to 2.95.x, collect2 would create an import file 19196 # for dependence libraries. The import file would start with 19197 # the line `#! .'. This would cause the generated library to 19198 # depend on `.', always an invalid library. This was fixed in 19199 # development snapshots of GCC prior to 3.0. 19200 case $host_os in 19201 aix4 | aix4.[01] | aix4.[01].*) 19202 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 19203 echo ' yes ' 19204 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 19205 : 19206 else 19207 can_build_shared=no 19208 fi 19209 ;; 19210 esac 19211 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 19212 # soname into executable. Probably we can add versioning support to 19213 # collect2, so additional links can be useful in future. 19214 if test "$aix_use_runtimelinking" = yes; then 19215 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 19216 # instead of lib<name>.a to let people know that these are not 19217 # typical AIX shared libraries. 19218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19219 else 19220 # We preserve .a as extension for shared libraries through AIX4.2 19221 # and later when we are not doing run time linking. 19222 library_names_spec='${libname}${release}.a $libname.a' 19223 soname_spec='${libname}${release}${shared_ext}$major' 19224 fi 19225 shlibpath_var=LIBPATH 19226 fi 19227 ;; 19228 19229amigaos*) 19230 case $host_cpu in 19231 powerpc) 19232 # Since July 2007 AmigaOS4 officially supports .so libraries. 19233 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 19234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19235 ;; 19236 m68k) 19237 library_names_spec='$libname.ixlibrary $libname.a' 19238 # Create ${libname}_ixlibrary.a entries in /sys/libs. 19239 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' 19240 ;; 19241 esac 19242 ;; 19243 19244beos*) 19245 library_names_spec='${libname}${shared_ext}' 19246 dynamic_linker="$host_os ld.so" 19247 shlibpath_var=LIBRARY_PATH 19248 ;; 19249 19250bsdi[45]*) 19251 version_type=linux # correct to gnu/linux during the next big refactor 19252 need_version=no 19253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19254 soname_spec='${libname}${release}${shared_ext}$major' 19255 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 19256 shlibpath_var=LD_LIBRARY_PATH 19257 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 19258 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 19259 # the default ld.so.conf also contains /usr/contrib/lib and 19260 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 19261 # libtool to hard-code these into programs 19262 ;; 19263 19264cygwin* | mingw* | pw32* | cegcc*) 19265 version_type=windows 19266 shrext_cmds=".dll" 19267 need_version=no 19268 need_lib_prefix=no 19269 19270 case $GCC,$cc_basename in 19271 yes,*) 19272 # gcc 19273 library_names_spec='$libname.dll.a' 19274 # DLL is installed to $(libdir)/../bin by postinstall_cmds 19275 postinstall_cmds='base_file=`basename \${file}`~ 19276 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 19277 dldir=$destdir/`dirname \$dlpath`~ 19278 test -d \$dldir || mkdir -p \$dldir~ 19279 $install_prog $dir/$dlname \$dldir/$dlname~ 19280 chmod a+x \$dldir/$dlname~ 19281 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 19282 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 19283 fi' 19284 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 19285 dlpath=$dir/\$dldll~ 19286 $RM \$dlpath' 19287 shlibpath_overrides_runpath=yes 19288 19289 case $host_os in 19290 cygwin*) 19291 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 19292 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 19293 19294 ;; 19295 mingw* | cegcc*) 19296 # MinGW DLLs use traditional 'lib' prefix 19297 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 19298 ;; 19299 pw32*) 19300 # pw32 DLLs use 'pw' prefix rather than 'lib' 19301 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 19302 ;; 19303 esac 19304 dynamic_linker='Win32 ld.exe' 19305 ;; 19306 19307 *,cl*) 19308 # Native MSVC 19309 libname_spec='$name' 19310 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 19311 library_names_spec='${libname}.dll.lib' 19312 19313 case $build_os in 19314 mingw*) 19315 sys_lib_search_path_spec= 19316 lt_save_ifs=$IFS 19317 IFS=';' 19318 for lt_path in $LIB 19319 do 19320 IFS=$lt_save_ifs 19321 # Let DOS variable expansion print the short 8.3 style file name. 19322 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 19323 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 19324 done 19325 IFS=$lt_save_ifs 19326 # Convert to MSYS style. 19327 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 19328 ;; 19329 cygwin*) 19330 # Convert to unix form, then to dos form, then back to unix form 19331 # but this time dos style (no spaces!) so that the unix form looks 19332 # like /cygdrive/c/PROGRA~1:/cygdr... 19333 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 19334 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 19335 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 19336 ;; 19337 *) 19338 sys_lib_search_path_spec="$LIB" 19339 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 19340 # It is most probably a Windows format PATH. 19341 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 19342 else 19343 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 19344 fi 19345 # FIXME: find the short name or the path components, as spaces are 19346 # common. (e.g. "Program Files" -> "PROGRA~1") 19347 ;; 19348 esac 19349 19350 # DLL is installed to $(libdir)/../bin by postinstall_cmds 19351 postinstall_cmds='base_file=`basename \${file}`~ 19352 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 19353 dldir=$destdir/`dirname \$dlpath`~ 19354 test -d \$dldir || mkdir -p \$dldir~ 19355 $install_prog $dir/$dlname \$dldir/$dlname' 19356 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 19357 dlpath=$dir/\$dldll~ 19358 $RM \$dlpath' 19359 shlibpath_overrides_runpath=yes 19360 dynamic_linker='Win32 link.exe' 19361 ;; 19362 19363 *) 19364 # Assume MSVC wrapper 19365 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 19366 dynamic_linker='Win32 ld.exe' 19367 ;; 19368 esac 19369 # FIXME: first we should search . and the directory the executable is in 19370 shlibpath_var=PATH 19371 ;; 19372 19373darwin* | rhapsody*) 19374 dynamic_linker="$host_os dyld" 19375 version_type=darwin 19376 need_lib_prefix=no 19377 need_version=no 19378 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 19379 soname_spec='${libname}${release}${major}$shared_ext' 19380 shlibpath_overrides_runpath=yes 19381 shlibpath_var=DYLD_LIBRARY_PATH 19382 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 19383 19384 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 19385 ;; 19386 19387dgux*) 19388 version_type=linux # correct to gnu/linux during the next big refactor 19389 need_lib_prefix=no 19390 need_version=no 19391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 19392 soname_spec='${libname}${release}${shared_ext}$major' 19393 shlibpath_var=LD_LIBRARY_PATH 19394 ;; 19395 19396freebsd* | dragonfly*) 19397 # DragonFly does not have aout. When/if they implement a new 19398 # versioning mechanism, adjust this. 19399 if test -x /usr/bin/objformat; then 19400 objformat=`/usr/bin/objformat` 19401 else 19402 case $host_os in 19403 freebsd[23].*) objformat=aout ;; 19404 *) objformat=elf ;; 19405 esac 19406 fi 19407 version_type=freebsd-$objformat 19408 case $version_type in 19409 freebsd-elf*) 19410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 19411 need_version=no 19412 need_lib_prefix=no 19413 ;; 19414 freebsd-*) 19415 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 19416 need_version=yes 19417 ;; 19418 esac 19419 shlibpath_var=LD_LIBRARY_PATH 19420 case $host_os in 19421 freebsd2.*) 19422 shlibpath_overrides_runpath=yes 19423 ;; 19424 freebsd3.[01]* | freebsdelf3.[01]*) 19425 shlibpath_overrides_runpath=yes 19426 hardcode_into_libs=yes 19427 ;; 19428 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 19429 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 19430 shlibpath_overrides_runpath=no 19431 hardcode_into_libs=yes 19432 ;; 19433 *) # from 4.6 on, and DragonFly 19434 shlibpath_overrides_runpath=yes 19435 hardcode_into_libs=yes 19436 ;; 19437 esac 19438 ;; 19439 19440gnu*) 19441 version_type=linux # correct to gnu/linux during the next big refactor 19442 need_lib_prefix=no 19443 need_version=no 19444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 19445 soname_spec='${libname}${release}${shared_ext}$major' 19446 shlibpath_var=LD_LIBRARY_PATH 19447 shlibpath_overrides_runpath=no 19448 hardcode_into_libs=yes 19449 ;; 19450 19451haiku*) 19452 version_type=linux # correct to gnu/linux during the next big refactor 19453 need_lib_prefix=no 19454 need_version=no 19455 dynamic_linker="$host_os runtime_loader" 19456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 19457 soname_spec='${libname}${release}${shared_ext}$major' 19458 shlibpath_var=LIBRARY_PATH 19459 shlibpath_overrides_runpath=yes 19460 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 19461 hardcode_into_libs=yes 19462 ;; 19463 19464hpux9* | hpux10* | hpux11*) 19465 # Give a soname corresponding to the major version so that dld.sl refuses to 19466 # link against other versions. 19467 version_type=sunos 19468 need_lib_prefix=no 19469 need_version=no 19470 case $host_cpu in 19471 ia64*) 19472 shrext_cmds='.so' 19473 hardcode_into_libs=yes 19474 dynamic_linker="$host_os dld.so" 19475 shlibpath_var=LD_LIBRARY_PATH 19476 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 19477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19478 soname_spec='${libname}${release}${shared_ext}$major' 19479 if test "X$HPUX_IA64_MODE" = X32; then 19480 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 19481 else 19482 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 19483 fi 19484 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 19485 ;; 19486 hppa*64*) 19487 shrext_cmds='.sl' 19488 hardcode_into_libs=yes 19489 dynamic_linker="$host_os dld.sl" 19490 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 19491 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 19492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19493 soname_spec='${libname}${release}${shared_ext}$major' 19494 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 19495 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 19496 ;; 19497 *) 19498 shrext_cmds='.sl' 19499 dynamic_linker="$host_os dld.sl" 19500 shlibpath_var=SHLIB_PATH 19501 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 19502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19503 soname_spec='${libname}${release}${shared_ext}$major' 19504 ;; 19505 esac 19506 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 19507 postinstall_cmds='chmod 555 $lib' 19508 # or fails outright, so override atomically: 19509 install_override_mode=555 19510 ;; 19511 19512interix[3-9]*) 19513 version_type=linux # correct to gnu/linux during the next big refactor 19514 need_lib_prefix=no 19515 need_version=no 19516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 19517 soname_spec='${libname}${release}${shared_ext}$major' 19518 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 19519 shlibpath_var=LD_LIBRARY_PATH 19520 shlibpath_overrides_runpath=no 19521 hardcode_into_libs=yes 19522 ;; 19523 19524irix5* | irix6* | nonstopux*) 19525 case $host_os in 19526 nonstopux*) version_type=nonstopux ;; 19527 *) 19528 if test "$lt_cv_prog_gnu_ld" = yes; then 19529 version_type=linux # correct to gnu/linux during the next big refactor 19530 else 19531 version_type=irix 19532 fi ;; 19533 esac 19534 need_lib_prefix=no 19535 need_version=no 19536 soname_spec='${libname}${release}${shared_ext}$major' 19537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 19538 case $host_os in 19539 irix5* | nonstopux*) 19540 libsuff= shlibsuff= 19541 ;; 19542 *) 19543 case $LD in # libtool.m4 will add one of these switches to LD 19544 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 19545 libsuff= shlibsuff= libmagic=32-bit;; 19546 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 19547 libsuff=32 shlibsuff=N32 libmagic=N32;; 19548 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 19549 libsuff=64 shlibsuff=64 libmagic=64-bit;; 19550 *) libsuff= shlibsuff= libmagic=never-match;; 19551 esac 19552 ;; 19553 esac 19554 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 19555 shlibpath_overrides_runpath=no 19556 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 19557 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 19558 hardcode_into_libs=yes 19559 ;; 19560 19561# No shared lib support for Linux oldld, aout, or coff. 19562linux*oldld* | linux*aout* | linux*coff*) 19563 dynamic_linker=no 19564 ;; 19565 19566# This must be glibc/ELF. 19567linux* | k*bsd*-gnu | kopensolaris*-gnu) 19568 version_type=linux # correct to gnu/linux during the next big refactor 19569 need_lib_prefix=no 19570 need_version=no 19571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19572 soname_spec='${libname}${release}${shared_ext}$major' 19573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 19574 shlibpath_var=LD_LIBRARY_PATH 19575 shlibpath_overrides_runpath=no 19576 19577 # Some binutils ld are patched to set DT_RUNPATH 19578 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 19579 $as_echo_n "(cached) " >&6 19580else 19581 lt_cv_shlibpath_overrides_runpath=no 19582 save_LDFLAGS=$LDFLAGS 19583 save_libdir=$libdir 19584 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 19585 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19587/* end confdefs.h. */ 19588 19589int 19590main () 19591{ 19592 19593 ; 19594 return 0; 19595} 19596_ACEOF 19597if ac_fn_cxx_try_link "$LINENO"; then : 19598 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 19599 lt_cv_shlibpath_overrides_runpath=yes 19600fi 19601fi 19602rm -f core conftest.err conftest.$ac_objext \ 19603 conftest$ac_exeext conftest.$ac_ext 19604 LDFLAGS=$save_LDFLAGS 19605 libdir=$save_libdir 19606 19607fi 19608 19609 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 19610 19611 # This implies no fast_install, which is unacceptable. 19612 # Some rework will be needed to allow for fast_install 19613 # before this can be enabled. 19614 hardcode_into_libs=yes 19615 19616 # Append ld.so.conf contents to the search path 19617 if test -f /etc/ld.so.conf; then 19618 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' ' '` 19619 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 19620 fi 19621 19622 # We used to test for /lib/ld.so.1 and disable shared libraries on 19623 # powerpc, because MkLinux only supported shared libraries with the 19624 # GNU dynamic linker. Since this was broken with cross compilers, 19625 # most powerpc-linux boxes support dynamic linking these days and 19626 # people can always --disable-shared, the test was removed, and we 19627 # assume the GNU/Linux dynamic linker is in use. 19628 dynamic_linker='GNU/Linux ld.so' 19629 ;; 19630 19631netbsd*) 19632 version_type=sunos 19633 need_lib_prefix=no 19634 need_version=no 19635 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 19636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 19638 dynamic_linker='NetBSD (a.out) ld.so' 19639 else 19640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 19641 soname_spec='${libname}${release}${shared_ext}$major' 19642 dynamic_linker='NetBSD ld.elf_so' 19643 fi 19644 shlibpath_var=LD_LIBRARY_PATH 19645 shlibpath_overrides_runpath=yes 19646 hardcode_into_libs=yes 19647 ;; 19648 19649newsos6) 19650 version_type=linux # correct to gnu/linux during the next big refactor 19651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19652 shlibpath_var=LD_LIBRARY_PATH 19653 shlibpath_overrides_runpath=yes 19654 ;; 19655 19656*nto* | *qnx*) 19657 version_type=qnx 19658 need_lib_prefix=no 19659 need_version=no 19660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19661 soname_spec='${libname}${release}${shared_ext}$major' 19662 shlibpath_var=LD_LIBRARY_PATH 19663 shlibpath_overrides_runpath=no 19664 hardcode_into_libs=yes 19665 dynamic_linker='ldqnx.so' 19666 ;; 19667 19668openbsd*) 19669 version_type=sunos 19670 sys_lib_dlsearch_path_spec="/usr/lib" 19671 need_lib_prefix=no 19672 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 19673 case $host_os in 19674 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 19675 *) need_version=no ;; 19676 esac 19677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19678 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 19679 shlibpath_var=LD_LIBRARY_PATH 19680 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 19681 case $host_os in 19682 openbsd2.[89] | openbsd2.[89].*) 19683 shlibpath_overrides_runpath=no 19684 ;; 19685 *) 19686 shlibpath_overrides_runpath=yes 19687 ;; 19688 esac 19689 else 19690 shlibpath_overrides_runpath=yes 19691 fi 19692 ;; 19693 19694os2*) 19695 libname_spec='$name' 19696 shrext_cmds=".dll" 19697 need_lib_prefix=no 19698 library_names_spec='$libname${shared_ext} $libname.a' 19699 dynamic_linker='OS/2 ld.exe' 19700 shlibpath_var=LIBPATH 19701 ;; 19702 19703osf3* | osf4* | osf5*) 19704 version_type=osf 19705 need_lib_prefix=no 19706 need_version=no 19707 soname_spec='${libname}${release}${shared_ext}$major' 19708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19709 shlibpath_var=LD_LIBRARY_PATH 19710 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 19711 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 19712 ;; 19713 19714rdos*) 19715 dynamic_linker=no 19716 ;; 19717 19718solaris*) 19719 version_type=linux # correct to gnu/linux during the next big refactor 19720 need_lib_prefix=no 19721 need_version=no 19722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19723 soname_spec='${libname}${release}${shared_ext}$major' 19724 shlibpath_var=LD_LIBRARY_PATH 19725 shlibpath_overrides_runpath=yes 19726 hardcode_into_libs=yes 19727 # ldd complains unless libraries are executable 19728 postinstall_cmds='chmod +x $lib' 19729 ;; 19730 19731sunos4*) 19732 version_type=sunos 19733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19734 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 19735 shlibpath_var=LD_LIBRARY_PATH 19736 shlibpath_overrides_runpath=yes 19737 if test "$with_gnu_ld" = yes; then 19738 need_lib_prefix=no 19739 fi 19740 need_version=yes 19741 ;; 19742 19743sysv4 | sysv4.3*) 19744 version_type=linux # correct to gnu/linux during the next big refactor 19745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19746 soname_spec='${libname}${release}${shared_ext}$major' 19747 shlibpath_var=LD_LIBRARY_PATH 19748 case $host_vendor in 19749 sni) 19750 shlibpath_overrides_runpath=no 19751 need_lib_prefix=no 19752 runpath_var=LD_RUN_PATH 19753 ;; 19754 siemens) 19755 need_lib_prefix=no 19756 ;; 19757 motorola) 19758 need_lib_prefix=no 19759 need_version=no 19760 shlibpath_overrides_runpath=no 19761 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 19762 ;; 19763 esac 19764 ;; 19765 19766sysv4*MP*) 19767 if test -d /usr/nec ;then 19768 version_type=linux # correct to gnu/linux during the next big refactor 19769 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 19770 soname_spec='$libname${shared_ext}.$major' 19771 shlibpath_var=LD_LIBRARY_PATH 19772 fi 19773 ;; 19774 19775sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 19776 version_type=freebsd-elf 19777 need_lib_prefix=no 19778 need_version=no 19779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 19780 soname_spec='${libname}${release}${shared_ext}$major' 19781 shlibpath_var=LD_LIBRARY_PATH 19782 shlibpath_overrides_runpath=yes 19783 hardcode_into_libs=yes 19784 if test "$with_gnu_ld" = yes; then 19785 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 19786 else 19787 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 19788 case $host_os in 19789 sco3.2v5*) 19790 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 19791 ;; 19792 esac 19793 fi 19794 sys_lib_dlsearch_path_spec='/usr/lib' 19795 ;; 19796 19797tpf*) 19798 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 19799 version_type=linux # correct to gnu/linux during the next big refactor 19800 need_lib_prefix=no 19801 need_version=no 19802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19803 shlibpath_var=LD_LIBRARY_PATH 19804 shlibpath_overrides_runpath=no 19805 hardcode_into_libs=yes 19806 ;; 19807 19808uts4*) 19809 version_type=linux # correct to gnu/linux during the next big refactor 19810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19811 soname_spec='${libname}${release}${shared_ext}$major' 19812 shlibpath_var=LD_LIBRARY_PATH 19813 ;; 19814 19815*) 19816 dynamic_linker=no 19817 ;; 19818esac 19819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 19820$as_echo "$dynamic_linker" >&6; } 19821test "$dynamic_linker" = no && can_build_shared=no 19822 19823variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 19824if test "$GCC" = yes; then 19825 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 19826fi 19827 19828if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 19829 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 19830fi 19831if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 19832 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 19833fi 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 19873$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 19874hardcode_action_CXX= 19875if test -n "$hardcode_libdir_flag_spec_CXX" || 19876 test -n "$runpath_var_CXX" || 19877 test "X$hardcode_automatic_CXX" = "Xyes" ; then 19878 19879 # We can hardcode non-existent directories. 19880 if test "$hardcode_direct_CXX" != no && 19881 # If the only mechanism to avoid hardcoding is shlibpath_var, we 19882 # have to relink, otherwise we might link with an installed library 19883 # when we should be linking with a yet-to-be-installed one 19884 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 19885 test "$hardcode_minus_L_CXX" != no; then 19886 # Linking always hardcodes the temporary library directory. 19887 hardcode_action_CXX=relink 19888 else 19889 # We can link without hardcoding, and we can hardcode nonexisting dirs. 19890 hardcode_action_CXX=immediate 19891 fi 19892else 19893 # We cannot hardcode anything, or else we can only hardcode existing 19894 # directories. 19895 hardcode_action_CXX=unsupported 19896fi 19897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 19898$as_echo "$hardcode_action_CXX" >&6; } 19899 19900if test "$hardcode_action_CXX" = relink || 19901 test "$inherit_rpath_CXX" = yes; then 19902 # Fast installation is not supported 19903 enable_fast_install=no 19904elif test "$shlibpath_overrides_runpath" = yes || 19905 test "$enable_shared" = no; then 19906 # Fast installation is not necessary 19907 enable_fast_install=needless 19908fi 19909 19910 19911 19912 19913 19914 19915 19916 fi # test -n "$compiler" 19917 19918 CC=$lt_save_CC 19919 CFLAGS=$lt_save_CFLAGS 19920 LDCXX=$LD 19921 LD=$lt_save_LD 19922 GCC=$lt_save_GCC 19923 with_gnu_ld=$lt_save_with_gnu_ld 19924 lt_cv_path_LDCXX=$lt_cv_path_LD 19925 lt_cv_path_LD=$lt_save_path_LD 19926 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 19927 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 19928fi # test "$_lt_caught_CXX_error" != yes 19929 19930ac_ext=cpp 19931ac_cpp='$CXXCPP $CPPFLAGS' 19932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 ac_config_commands="$ac_config_commands libtool" 19951 19952 19953 19954 19955# Only expand once: 19956 19957 19958 if test x"$enable_shared" = xyes; then 19959 ENABLE_SHARED_TRUE= 19960 ENABLE_SHARED_FALSE='#' 19961else 19962 ENABLE_SHARED_TRUE='#' 19963 ENABLE_SHARED_FALSE= 19964fi 19965 19966 if test x"$enable_static" = xyes; then 19967 ENABLE_STATIC_TRUE= 19968 ENABLE_STATIC_FALSE='#' 19969else 19970 ENABLE_STATIC_TRUE='#' 19971 ENABLE_STATIC_FALSE= 19972fi 19973 19974 19975 19976# Make sure libtool is used for linking. 19977## AC_USE_LIBTOOL: Generate a libtool script for use in configure tests 19978: ${CONFIG_LT=./config.lt} 19979{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5 19980$as_echo "$as_me: creating $CONFIG_LT" >&6;} 19981as_write_fail=0 19982cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1 19983#! $SHELL 19984# Generated by $as_me. 19985# Run this file to recreate a libtool stub with the current configuration. 19986SHELL=\${CONFIG_SHELL-$SHELL} 19987export SHELL 19988_ASEOF 19989cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1 19990## -------------------- ## 19991## M4sh Initialization. ## 19992## -------------------- ## 19993 19994# Be more Bourne compatible 19995DUALCASE=1; export DUALCASE # for MKS sh 19996if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19997 emulate sh 19998 NULLCMD=: 19999 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 20000 # is contrary to our usage. Disable this feature. 20001 alias -g '${1+"$@"}'='"$@"' 20002 setopt NO_GLOB_SUBST 20003else 20004 case `(set -o) 2>/dev/null` in #( 20005 *posix*) : 20006 set -o posix ;; #( 20007 *) : 20008 ;; 20009esac 20010fi 20011 20012 20013as_nl=' 20014' 20015export as_nl 20016# Printing a long string crashes Solaris 7 /usr/bin/printf. 20017as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 20018as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 20019as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 20020# Prefer a ksh shell builtin over an external printf program on Solaris, 20021# but without wasting forks for bash or zsh. 20022if test -z "$BASH_VERSION$ZSH_VERSION" \ 20023 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 20024 as_echo='print -r --' 20025 as_echo_n='print -rn --' 20026elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 20027 as_echo='printf %s\n' 20028 as_echo_n='printf %s' 20029else 20030 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 20031 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 20032 as_echo_n='/usr/ucb/echo -n' 20033 else 20034 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 20035 as_echo_n_body='eval 20036 arg=$1; 20037 case $arg in #( 20038 *"$as_nl"*) 20039 expr "X$arg" : "X\\(.*\\)$as_nl"; 20040 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 20041 esac; 20042 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 20043 ' 20044 export as_echo_n_body 20045 as_echo_n='sh -c $as_echo_n_body as_echo' 20046 fi 20047 export as_echo_body 20048 as_echo='sh -c $as_echo_body as_echo' 20049fi 20050 20051# The user is always right. 20052if test "${PATH_SEPARATOR+set}" != set; then 20053 PATH_SEPARATOR=: 20054 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 20055 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 20056 PATH_SEPARATOR=';' 20057 } 20058fi 20059 20060 20061# IFS 20062# We need space, tab and new line, in precisely that order. Quoting is 20063# there to prevent editors from complaining about space-tab. 20064# (If _AS_PATH_WALK were called with IFS unset, it would disable word 20065# splitting by setting IFS to empty value.) 20066IFS=" "" $as_nl" 20067 20068# Find who we are. Look in the path if we contain no directory separator. 20069as_myself= 20070case $0 in #(( 20071 *[\\/]* ) as_myself=$0 ;; 20072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20073for as_dir in $PATH 20074do 20075 IFS=$as_save_IFS 20076 test -z "$as_dir" && as_dir=. 20077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 20078 done 20079IFS=$as_save_IFS 20080 20081 ;; 20082esac 20083# We did not find ourselves, most probably we were run as `sh COMMAND' 20084# in which case we are not to be found in the path. 20085if test "x$as_myself" = x; then 20086 as_myself=$0 20087fi 20088if test ! -f "$as_myself"; then 20089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 20090 exit 1 20091fi 20092 20093# Unset variables that we do not need and which cause bugs (e.g. in 20094# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 20095# suppresses any "Segmentation fault" message there. '((' could 20096# trigger a bug in pdksh 5.2.14. 20097for as_var in BASH_ENV ENV MAIL MAILPATH 20098do eval test x\${$as_var+set} = xset \ 20099 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 20100done 20101PS1='$ ' 20102PS2='> ' 20103PS4='+ ' 20104 20105# NLS nuisances. 20106LC_ALL=C 20107export LC_ALL 20108LANGUAGE=C 20109export LANGUAGE 20110 20111# CDPATH. 20112(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20113 20114 20115# as_fn_error STATUS ERROR [LINENO LOG_FD] 20116# ---------------------------------------- 20117# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 20118# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 20119# script with STATUS, using 1 if that was 0. 20120as_fn_error () 20121{ 20122 as_status=$1; test $as_status -eq 0 && as_status=1 20123 if test "$4"; then 20124 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 20125 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 20126 fi 20127 $as_echo "$as_me: error: $2" >&2 20128 as_fn_exit $as_status 20129} # as_fn_error 20130 20131 20132# as_fn_set_status STATUS 20133# ----------------------- 20134# Set $? to STATUS, without forking. 20135as_fn_set_status () 20136{ 20137 return $1 20138} # as_fn_set_status 20139 20140# as_fn_exit STATUS 20141# ----------------- 20142# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 20143as_fn_exit () 20144{ 20145 set +e 20146 as_fn_set_status $1 20147 exit $1 20148} # as_fn_exit 20149 20150# as_fn_unset VAR 20151# --------------- 20152# Portably unset VAR. 20153as_fn_unset () 20154{ 20155 { eval $1=; unset $1;} 20156} 20157as_unset=as_fn_unset 20158# as_fn_append VAR VALUE 20159# ---------------------- 20160# Append the text in VALUE to the end of the definition contained in VAR. Take 20161# advantage of any shell optimizations that allow amortized linear growth over 20162# repeated appends, instead of the typical quadratic growth present in naive 20163# implementations. 20164if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 20165 eval 'as_fn_append () 20166 { 20167 eval $1+=\$2 20168 }' 20169else 20170 as_fn_append () 20171 { 20172 eval $1=\$$1\$2 20173 } 20174fi # as_fn_append 20175 20176# as_fn_arith ARG... 20177# ------------------ 20178# Perform arithmetic evaluation on the ARGs, and store the result in the 20179# global $as_val. Take advantage of shells that can avoid forks. The arguments 20180# must be portable across $(()) and expr. 20181if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 20182 eval 'as_fn_arith () 20183 { 20184 as_val=$(( $* )) 20185 }' 20186else 20187 as_fn_arith () 20188 { 20189 as_val=`expr "$@" || test $? -eq 1` 20190 } 20191fi # as_fn_arith 20192 20193 20194if expr a : '\(a\)' >/dev/null 2>&1 && 20195 test "X`expr 00001 : '.*\(...\)'`" = X001; then 20196 as_expr=expr 20197else 20198 as_expr=false 20199fi 20200 20201if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 20202 as_basename=basename 20203else 20204 as_basename=false 20205fi 20206 20207if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 20208 as_dirname=dirname 20209else 20210 as_dirname=false 20211fi 20212 20213as_me=`$as_basename -- "$0" || 20214$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 20215 X"$0" : 'X\(//\)$' \| \ 20216 X"$0" : 'X\(/\)' \| . 2>/dev/null || 20217$as_echo X/"$0" | 20218 sed '/^.*\/\([^/][^/]*\)\/*$/{ 20219 s//\1/ 20220 q 20221 } 20222 /^X\/\(\/\/\)$/{ 20223 s//\1/ 20224 q 20225 } 20226 /^X\/\(\/\).*/{ 20227 s//\1/ 20228 q 20229 } 20230 s/.*/./; q'` 20231 20232# Avoid depending upon Character Ranges. 20233as_cr_letters='abcdefghijklmnopqrstuvwxyz' 20234as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 20235as_cr_Letters=$as_cr_letters$as_cr_LETTERS 20236as_cr_digits='0123456789' 20237as_cr_alnum=$as_cr_Letters$as_cr_digits 20238 20239ECHO_C= ECHO_N= ECHO_T= 20240case `echo -n x` in #((((( 20241-n*) 20242 case `echo 'xy\c'` in 20243 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 20244 xy) ECHO_C='\c';; 20245 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 20246 ECHO_T=' ';; 20247 esac;; 20248*) 20249 ECHO_N='-n';; 20250esac 20251 20252rm -f conf$$ conf$$.exe conf$$.file 20253if test -d conf$$.dir; then 20254 rm -f conf$$.dir/conf$$.file 20255else 20256 rm -f conf$$.dir 20257 mkdir conf$$.dir 2>/dev/null 20258fi 20259if (echo >conf$$.file) 2>/dev/null; then 20260 if ln -s conf$$.file conf$$ 2>/dev/null; then 20261 as_ln_s='ln -s' 20262 # ... but there are two gotchas: 20263 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 20264 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 20265 # In both cases, we have to default to `cp -pR'. 20266 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 20267 as_ln_s='cp -pR' 20268 elif ln conf$$.file conf$$ 2>/dev/null; then 20269 as_ln_s=ln 20270 else 20271 as_ln_s='cp -pR' 20272 fi 20273else 20274 as_ln_s='cp -pR' 20275fi 20276rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 20277rmdir conf$$.dir 2>/dev/null 20278 20279 20280# as_fn_mkdir_p 20281# ------------- 20282# Create "$as_dir" as a directory, including parents if necessary. 20283as_fn_mkdir_p () 20284{ 20285 20286 case $as_dir in #( 20287 -*) as_dir=./$as_dir;; 20288 esac 20289 test -d "$as_dir" || eval $as_mkdir_p || { 20290 as_dirs= 20291 while :; do 20292 case $as_dir in #( 20293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 20294 *) as_qdir=$as_dir;; 20295 esac 20296 as_dirs="'$as_qdir' $as_dirs" 20297 as_dir=`$as_dirname -- "$as_dir" || 20298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20299 X"$as_dir" : 'X\(//\)[^/]' \| \ 20300 X"$as_dir" : 'X\(//\)$' \| \ 20301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 20302$as_echo X"$as_dir" | 20303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20304 s//\1/ 20305 q 20306 } 20307 /^X\(\/\/\)[^/].*/{ 20308 s//\1/ 20309 q 20310 } 20311 /^X\(\/\/\)$/{ 20312 s//\1/ 20313 q 20314 } 20315 /^X\(\/\).*/{ 20316 s//\1/ 20317 q 20318 } 20319 s/.*/./; q'` 20320 test -d "$as_dir" && break 20321 done 20322 test -z "$as_dirs" || eval "mkdir $as_dirs" 20323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 20324 20325 20326} # as_fn_mkdir_p 20327if mkdir -p . 2>/dev/null; then 20328 as_mkdir_p='mkdir -p "$as_dir"' 20329else 20330 test -d ./-p && rmdir ./-p 20331 as_mkdir_p=false 20332fi 20333 20334 20335# as_fn_executable_p FILE 20336# ----------------------- 20337# Test if FILE is an executable regular file. 20338as_fn_executable_p () 20339{ 20340 test -f "$1" && test -x "$1" 20341} # as_fn_executable_p 20342as_test_x='test -x' 20343as_executable_p=as_fn_executable_p 20344 20345# Sed expression to map a string onto a valid CPP name. 20346as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 20347 20348# Sed expression to map a string onto a valid variable name. 20349as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 20350 20351 20352exec 6>&1 20353## --------------------------------- ## 20354## Main body of "$CONFIG_LT" script. ## 20355## --------------------------------- ## 20356_ASEOF 20357test $as_write_fail = 0 && chmod +x "$CONFIG_LT" 20358 20359cat >>"$CONFIG_LT" <<\_LTEOF 20360lt_cl_silent=false 20361exec 5>>config.log 20362{ 20363 echo 20364 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 20365## Running $as_me. ## 20366_ASBOX 20367} >&5 20368 20369lt_cl_help="\ 20370\`$as_me' creates a local libtool stub from the current configuration, 20371for use in further configure time tests before the real libtool is 20372generated. 20373 20374Usage: $0 [OPTIONS] 20375 20376 -h, --help print this help, then exit 20377 -V, --version print version number, then exit 20378 -q, --quiet do not print progress messages 20379 -d, --debug don't remove temporary files 20380 20381Report bugs to <bug-libtool@gnu.org>." 20382 20383lt_cl_version="\ 20384the Parma Polyhedra Library config.lt 1.2 20385configured by $0, generated by GNU Autoconf 2.69. 20386 20387Copyright (C) 2011 Free Software Foundation, Inc. 20388This config.lt script is free software; the Free Software Foundation 20389gives unlimited permision to copy, distribute and modify it." 20390 20391while test $# != 0 20392do 20393 case $1 in 20394 --version | --v* | -V ) 20395 echo "$lt_cl_version"; exit 0 ;; 20396 --help | --h* | -h ) 20397 echo "$lt_cl_help"; exit 0 ;; 20398 --debug | --d* | -d ) 20399 debug=: ;; 20400 --quiet | --q* | --silent | --s* | -q ) 20401 lt_cl_silent=: ;; 20402 20403 -*) as_fn_error $? "unrecognized option: $1 20404Try \`$0 --help' for more information." "$LINENO" 5 ;; 20405 20406 *) as_fn_error $? "unrecognized argument: $1 20407Try \`$0 --help' for more information." "$LINENO" 5 ;; 20408 esac 20409 shift 20410done 20411 20412if $lt_cl_silent; then 20413 exec 6>/dev/null 20414fi 20415_LTEOF 20416 20417cat >>"$CONFIG_LT" <<_LTEOF 20418 20419 20420# The HP-UX ksh and POSIX shell print the target directory to stdout 20421# if CDPATH is set. 20422(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20423 20424sed_quote_subst='$sed_quote_subst' 20425double_quote_subst='$double_quote_subst' 20426delay_variable_subst='$delay_variable_subst' 20427macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 20428macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 20429enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 20430enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 20431pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 20432enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 20433SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 20434ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 20435PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 20436host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 20437host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 20438host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 20439build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 20440build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 20441build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 20442SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 20443Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 20444GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 20445EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 20446FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 20447LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 20448NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 20449LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 20450max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 20451ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 20452exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 20453lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 20454lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 20455lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 20456lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 20457lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 20458reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 20459reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 20460OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 20461deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 20462file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 20463file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 20464want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 20465DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 20466sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 20467AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 20468AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 20469archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 20470STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 20471RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 20472old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20473old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20474old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 20475lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 20476CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 20477CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 20478compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 20479GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 20480lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 20481lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 20482lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 20483lt_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"`' 20484nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 20485lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 20486objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 20487MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 20488lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 20489lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 20490lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 20491lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 20492lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 20493need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 20494MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 20495DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 20496NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 20497LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 20498OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 20499OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 20500libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 20501shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 20502extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20503archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 20504enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 20505export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 20506whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 20507compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 20508old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 20509old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20510archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 20511archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20512module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 20513module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20514with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 20515allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 20516no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 20517hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 20518hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 20519hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 20520hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 20521hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 20522hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 20523hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 20524inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 20525link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 20526always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 20527export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 20528exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 20529include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 20530prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 20531postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 20532file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 20533variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 20534need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 20535need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 20536version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 20537runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 20538shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 20539shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 20540libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 20541library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 20542soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 20543install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 20544postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20545postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20546finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 20547finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 20548hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 20549sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 20550sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 20551hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 20552enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 20553enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 20554enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 20555old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 20556striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 20557compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 20558predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 20559postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 20560predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 20561postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 20562compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 20563LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 20564reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 20565reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20566old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20567compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 20568GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 20569lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 20570lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 20571lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 20572lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 20573lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 20574archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 20575enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 20576export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20577whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20578compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 20579old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20580old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20581archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20582archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20583module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20584module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20585with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 20586allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 20587no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 20588hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 20589hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 20590hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 20591hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 20592hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 20593hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 20594hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 20595inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 20596link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 20597always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 20598export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20599exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 20600include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 20601prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20602postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 20603file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 20604hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 20605compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 20606predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 20607postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 20608predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 20609postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 20610compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 20611 20612LTCC='$LTCC' 20613LTCFLAGS='$LTCFLAGS' 20614compiler='$compiler_DEFAULT' 20615 20616# A function that is used when there is no print builtin or printf. 20617func_fallback_echo () 20618{ 20619 eval 'cat <<_LTECHO_EOF 20620\$1 20621_LTECHO_EOF' 20622} 20623 20624# Quote evaled strings. 20625for var in SHELL \ 20626ECHO \ 20627PATH_SEPARATOR \ 20628SED \ 20629GREP \ 20630EGREP \ 20631FGREP \ 20632LD \ 20633NM \ 20634LN_S \ 20635lt_SP2NL \ 20636lt_NL2SP \ 20637reload_flag \ 20638OBJDUMP \ 20639deplibs_check_method \ 20640file_magic_cmd \ 20641file_magic_glob \ 20642want_nocaseglob \ 20643DLLTOOL \ 20644sharedlib_from_linklib_cmd \ 20645AR \ 20646AR_FLAGS \ 20647archiver_list_spec \ 20648STRIP \ 20649RANLIB \ 20650CC \ 20651CFLAGS \ 20652compiler \ 20653lt_cv_sys_global_symbol_pipe \ 20654lt_cv_sys_global_symbol_to_cdecl \ 20655lt_cv_sys_global_symbol_to_c_name_address \ 20656lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 20657nm_file_list_spec \ 20658lt_prog_compiler_no_builtin_flag \ 20659lt_prog_compiler_pic \ 20660lt_prog_compiler_wl \ 20661lt_prog_compiler_static \ 20662lt_cv_prog_compiler_c_o \ 20663need_locks \ 20664MANIFEST_TOOL \ 20665DSYMUTIL \ 20666NMEDIT \ 20667LIPO \ 20668OTOOL \ 20669OTOOL64 \ 20670shrext_cmds \ 20671export_dynamic_flag_spec \ 20672whole_archive_flag_spec \ 20673compiler_needs_object \ 20674with_gnu_ld \ 20675allow_undefined_flag \ 20676no_undefined_flag \ 20677hardcode_libdir_flag_spec \ 20678hardcode_libdir_separator \ 20679exclude_expsyms \ 20680include_expsyms \ 20681file_list_spec \ 20682variables_saved_for_relink \ 20683libname_spec \ 20684library_names_spec \ 20685soname_spec \ 20686install_override_mode \ 20687finish_eval \ 20688old_striplib \ 20689striplib \ 20690compiler_lib_search_dirs \ 20691predep_objects \ 20692postdep_objects \ 20693predeps \ 20694postdeps \ 20695compiler_lib_search_path \ 20696LD_CXX \ 20697reload_flag_CXX \ 20698compiler_CXX \ 20699lt_prog_compiler_no_builtin_flag_CXX \ 20700lt_prog_compiler_pic_CXX \ 20701lt_prog_compiler_wl_CXX \ 20702lt_prog_compiler_static_CXX \ 20703lt_cv_prog_compiler_c_o_CXX \ 20704export_dynamic_flag_spec_CXX \ 20705whole_archive_flag_spec_CXX \ 20706compiler_needs_object_CXX \ 20707with_gnu_ld_CXX \ 20708allow_undefined_flag_CXX \ 20709no_undefined_flag_CXX \ 20710hardcode_libdir_flag_spec_CXX \ 20711hardcode_libdir_separator_CXX \ 20712exclude_expsyms_CXX \ 20713include_expsyms_CXX \ 20714file_list_spec_CXX \ 20715compiler_lib_search_dirs_CXX \ 20716predep_objects_CXX \ 20717postdep_objects_CXX \ 20718predeps_CXX \ 20719postdeps_CXX \ 20720compiler_lib_search_path_CXX; do 20721 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20722 *[\\\\\\\`\\"\\\$]*) 20723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 20724 ;; 20725 *) 20726 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20727 ;; 20728 esac 20729done 20730 20731# Double-quote double-evaled strings. 20732for var in reload_cmds \ 20733old_postinstall_cmds \ 20734old_postuninstall_cmds \ 20735old_archive_cmds \ 20736extract_expsyms_cmds \ 20737old_archive_from_new_cmds \ 20738old_archive_from_expsyms_cmds \ 20739archive_cmds \ 20740archive_expsym_cmds \ 20741module_cmds \ 20742module_expsym_cmds \ 20743export_symbols_cmds \ 20744prelink_cmds \ 20745postlink_cmds \ 20746postinstall_cmds \ 20747postuninstall_cmds \ 20748finish_cmds \ 20749sys_lib_search_path_spec \ 20750sys_lib_dlsearch_path_spec \ 20751reload_cmds_CXX \ 20752old_archive_cmds_CXX \ 20753old_archive_from_new_cmds_CXX \ 20754old_archive_from_expsyms_cmds_CXX \ 20755archive_cmds_CXX \ 20756archive_expsym_cmds_CXX \ 20757module_cmds_CXX \ 20758module_expsym_cmds_CXX \ 20759export_symbols_cmds_CXX \ 20760prelink_cmds_CXX \ 20761postlink_cmds_CXX; do 20762 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20763 *[\\\\\\\`\\"\\\$]*) 20764 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 20765 ;; 20766 *) 20767 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20768 ;; 20769 esac 20770done 20771 20772ac_aux_dir='$ac_aux_dir' 20773xsi_shell='$xsi_shell' 20774lt_shell_append='$lt_shell_append' 20775 20776# See if we are running on zsh, and set the options which allow our 20777# commands through without removal of \ escapes INIT. 20778if test -n "\${ZSH_VERSION+set}" ; then 20779 setopt NO_GLOB_SUBST 20780fi 20781 20782 20783 PACKAGE='$PACKAGE' 20784 VERSION='$VERSION' 20785 TIMESTAMP='$TIMESTAMP' 20786 RM='$RM' 20787 ofile='$ofile' 20788 20789 20790 20791 20792 20793_LTEOF 20794 20795cat >>"$CONFIG_LT" <<\_LTEOF 20796{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5 20797$as_echo "$as_me: creating $ofile" >&6;} 20798 20799 20800 # See if we are running on zsh, and set the options which allow our 20801 # commands through without removal of \ escapes. 20802 if test -n "${ZSH_VERSION+set}" ; then 20803 setopt NO_GLOB_SUBST 20804 fi 20805 20806 cfgfile="${ofile}T" 20807 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20808 $RM "$cfgfile" 20809 20810 cat <<_LT_EOF >> "$cfgfile" 20811#! $SHELL 20812 20813# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 20814# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 20815# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 20816# NOTE: Changes made to this file will be lost: look at ltmain.sh. 20817# 20818# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 20819# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 20820# Foundation, Inc. 20821# Written by Gordon Matzigkeit, 1996 20822# 20823# This file is part of GNU Libtool. 20824# 20825# GNU Libtool is free software; you can redistribute it and/or 20826# modify it under the terms of the GNU General Public License as 20827# published by the Free Software Foundation; either version 2 of 20828# the License, or (at your option) any later version. 20829# 20830# As a special exception to the GNU General Public License, 20831# if you distribute this file as part of a program or library that 20832# is built using GNU Libtool, you may include this file under the 20833# same distribution terms that you use for the rest of that program. 20834# 20835# GNU Libtool is distributed in the hope that it will be useful, 20836# but WITHOUT ANY WARRANTY; without even the implied warranty of 20837# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20838# GNU General Public License for more details. 20839# 20840# You should have received a copy of the GNU General Public License 20841# along with GNU Libtool; see the file COPYING. If not, a copy 20842# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 20843# obtained by writing to the Free Software Foundation, Inc., 20844# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20845 20846 20847# The names of the tagged configurations supported by this script. 20848available_tags="CXX " 20849 20850# ### BEGIN LIBTOOL CONFIG 20851 20852# Which release of libtool.m4 was used? 20853macro_version=$macro_version 20854macro_revision=$macro_revision 20855 20856# Whether or not to build shared libraries. 20857build_libtool_libs=$enable_shared 20858 20859# Whether or not to build static libraries. 20860build_old_libs=$enable_static 20861 20862# What type of objects to build. 20863pic_mode=$pic_mode 20864 20865# Whether or not to optimize for fast installation. 20866fast_install=$enable_fast_install 20867 20868# Shell to use when invoking shell scripts. 20869SHELL=$lt_SHELL 20870 20871# An echo program that protects backslashes. 20872ECHO=$lt_ECHO 20873 20874# The PATH separator for the build system. 20875PATH_SEPARATOR=$lt_PATH_SEPARATOR 20876 20877# The host system. 20878host_alias=$host_alias 20879host=$host 20880host_os=$host_os 20881 20882# The build system. 20883build_alias=$build_alias 20884build=$build 20885build_os=$build_os 20886 20887# A sed program that does not truncate output. 20888SED=$lt_SED 20889 20890# Sed that helps us avoid accidentally triggering echo(1) options like -n. 20891Xsed="\$SED -e 1s/^X//" 20892 20893# A grep program that handles long lines. 20894GREP=$lt_GREP 20895 20896# An ERE matcher. 20897EGREP=$lt_EGREP 20898 20899# A literal string matcher. 20900FGREP=$lt_FGREP 20901 20902# A BSD- or MS-compatible name lister. 20903NM=$lt_NM 20904 20905# Whether we need soft or hard links. 20906LN_S=$lt_LN_S 20907 20908# What is the maximum length of a command? 20909max_cmd_len=$max_cmd_len 20910 20911# Object file suffix (normally "o"). 20912objext=$ac_objext 20913 20914# Executable file suffix (normally ""). 20915exeext=$exeext 20916 20917# whether the shell understands "unset". 20918lt_unset=$lt_unset 20919 20920# turn spaces into newlines. 20921SP2NL=$lt_lt_SP2NL 20922 20923# turn newlines into spaces. 20924NL2SP=$lt_lt_NL2SP 20925 20926# convert \$build file names to \$host format. 20927to_host_file_cmd=$lt_cv_to_host_file_cmd 20928 20929# convert \$build files to toolchain format. 20930to_tool_file_cmd=$lt_cv_to_tool_file_cmd 20931 20932# An object symbol dumper. 20933OBJDUMP=$lt_OBJDUMP 20934 20935# Method to check whether dependent libraries are shared objects. 20936deplibs_check_method=$lt_deplibs_check_method 20937 20938# Command to use when deplibs_check_method = "file_magic". 20939file_magic_cmd=$lt_file_magic_cmd 20940 20941# How to find potential files when deplibs_check_method = "file_magic". 20942file_magic_glob=$lt_file_magic_glob 20943 20944# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 20945want_nocaseglob=$lt_want_nocaseglob 20946 20947# DLL creation program. 20948DLLTOOL=$lt_DLLTOOL 20949 20950# Command to associate shared and link libraries. 20951sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 20952 20953# The archiver. 20954AR=$lt_AR 20955 20956# Flags to create an archive. 20957AR_FLAGS=$lt_AR_FLAGS 20958 20959# How to feed a file listing to the archiver. 20960archiver_list_spec=$lt_archiver_list_spec 20961 20962# A symbol stripping program. 20963STRIP=$lt_STRIP 20964 20965# Commands used to install an old-style archive. 20966RANLIB=$lt_RANLIB 20967old_postinstall_cmds=$lt_old_postinstall_cmds 20968old_postuninstall_cmds=$lt_old_postuninstall_cmds 20969 20970# Whether to use a lock for old archive extraction. 20971lock_old_archive_extraction=$lock_old_archive_extraction 20972 20973# A C compiler. 20974LTCC=$lt_CC 20975 20976# LTCC compiler flags. 20977LTCFLAGS=$lt_CFLAGS 20978 20979# Take the output of nm and produce a listing of raw symbols and C names. 20980global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20981 20982# Transform the output of nm in a proper C declaration. 20983global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20984 20985# Transform the output of nm in a C name address pair. 20986global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20987 20988# Transform the output of nm in a C name address pair when lib prefix is needed. 20989global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20990 20991# Specify filename containing input files for \$NM. 20992nm_file_list_spec=$lt_nm_file_list_spec 20993 20994# The root where to search for dependent libraries,and in which our libraries should be installed. 20995lt_sysroot=$lt_sysroot 20996 20997# The name of the directory that contains temporary libtool files. 20998objdir=$objdir 20999 21000# Used to examine libraries when file_magic_cmd begins with "file". 21001MAGIC_CMD=$MAGIC_CMD 21002 21003# Must we lock files when doing compilation? 21004need_locks=$lt_need_locks 21005 21006# Manifest tool. 21007MANIFEST_TOOL=$lt_MANIFEST_TOOL 21008 21009# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 21010DSYMUTIL=$lt_DSYMUTIL 21011 21012# Tool to change global to local symbols on Mac OS X. 21013NMEDIT=$lt_NMEDIT 21014 21015# Tool to manipulate fat objects and archives on Mac OS X. 21016LIPO=$lt_LIPO 21017 21018# ldd/readelf like tool for Mach-O binaries on Mac OS X. 21019OTOOL=$lt_OTOOL 21020 21021# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 21022OTOOL64=$lt_OTOOL64 21023 21024# Old archive suffix (normally "a"). 21025libext=$libext 21026 21027# Shared library suffix (normally ".so"). 21028shrext_cmds=$lt_shrext_cmds 21029 21030# The commands to extract the exported symbol list from a shared archive. 21031extract_expsyms_cmds=$lt_extract_expsyms_cmds 21032 21033# Variables whose values should be saved in libtool wrapper scripts and 21034# restored at link time. 21035variables_saved_for_relink=$lt_variables_saved_for_relink 21036 21037# Do we need the "lib" prefix for modules? 21038need_lib_prefix=$need_lib_prefix 21039 21040# Do we need a version for libraries? 21041need_version=$need_version 21042 21043# Library versioning type. 21044version_type=$version_type 21045 21046# Shared library runtime path variable. 21047runpath_var=$runpath_var 21048 21049# Shared library path variable. 21050shlibpath_var=$shlibpath_var 21051 21052# Is shlibpath searched before the hard-coded library search path? 21053shlibpath_overrides_runpath=$shlibpath_overrides_runpath 21054 21055# Format of library name prefix. 21056libname_spec=$lt_libname_spec 21057 21058# List of archive names. First name is the real one, the rest are links. 21059# The last name is the one that the linker finds with -lNAME 21060library_names_spec=$lt_library_names_spec 21061 21062# The coded name of the library, if different from the real name. 21063soname_spec=$lt_soname_spec 21064 21065# Permission mode override for installation of shared libraries. 21066install_override_mode=$lt_install_override_mode 21067 21068# Command to use after installation of a shared archive. 21069postinstall_cmds=$lt_postinstall_cmds 21070 21071# Command to use after uninstallation of a shared archive. 21072postuninstall_cmds=$lt_postuninstall_cmds 21073 21074# Commands used to finish a libtool library installation in a directory. 21075finish_cmds=$lt_finish_cmds 21076 21077# As "finish_cmds", except a single script fragment to be evaled but 21078# not shown. 21079finish_eval=$lt_finish_eval 21080 21081# Whether we should hardcode library paths into libraries. 21082hardcode_into_libs=$hardcode_into_libs 21083 21084# Compile-time system search path for libraries. 21085sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 21086 21087# Run-time system search path for libraries. 21088sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 21089 21090# Whether dlopen is supported. 21091dlopen_support=$enable_dlopen 21092 21093# Whether dlopen of programs is supported. 21094dlopen_self=$enable_dlopen_self 21095 21096# Whether dlopen of statically linked programs is supported. 21097dlopen_self_static=$enable_dlopen_self_static 21098 21099# Commands to strip libraries. 21100old_striplib=$lt_old_striplib 21101striplib=$lt_striplib 21102 21103 21104# The linker used to build libraries. 21105LD=$lt_LD 21106 21107# How to create reloadable object files. 21108reload_flag=$lt_reload_flag 21109reload_cmds=$lt_reload_cmds 21110 21111# Commands used to build an old-style archive. 21112old_archive_cmds=$lt_old_archive_cmds 21113 21114# A language specific compiler. 21115CC=$lt_compiler 21116 21117# Is the compiler the GNU compiler? 21118with_gcc=$GCC 21119 21120# Compiler flag to turn off builtin functions. 21121no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 21122 21123# Additional compiler flags for building library objects. 21124pic_flag=$lt_lt_prog_compiler_pic 21125 21126# How to pass a linker flag through the compiler. 21127wl=$lt_lt_prog_compiler_wl 21128 21129# Compiler flag to prevent dynamic linking. 21130link_static_flag=$lt_lt_prog_compiler_static 21131 21132# Does compiler simultaneously support -c and -o options? 21133compiler_c_o=$lt_lt_cv_prog_compiler_c_o 21134 21135# Whether or not to add -lc for building shared libraries. 21136build_libtool_need_lc=$archive_cmds_need_lc 21137 21138# Whether or not to disallow shared libs when runtime libs are static. 21139allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 21140 21141# Compiler flag to allow reflexive dlopens. 21142export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 21143 21144# Compiler flag to generate shared objects directly from archives. 21145whole_archive_flag_spec=$lt_whole_archive_flag_spec 21146 21147# Whether the compiler copes with passing no objects directly. 21148compiler_needs_object=$lt_compiler_needs_object 21149 21150# Create an old-style archive from a shared archive. 21151old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 21152 21153# Create a temporary old-style archive to link instead of a shared archive. 21154old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 21155 21156# Commands used to build a shared archive. 21157archive_cmds=$lt_archive_cmds 21158archive_expsym_cmds=$lt_archive_expsym_cmds 21159 21160# Commands used to build a loadable module if different from building 21161# a shared archive. 21162module_cmds=$lt_module_cmds 21163module_expsym_cmds=$lt_module_expsym_cmds 21164 21165# Whether we are building with GNU ld or not. 21166with_gnu_ld=$lt_with_gnu_ld 21167 21168# Flag that allows shared libraries with undefined symbols to be built. 21169allow_undefined_flag=$lt_allow_undefined_flag 21170 21171# Flag that enforces no undefined symbols. 21172no_undefined_flag=$lt_no_undefined_flag 21173 21174# Flag to hardcode \$libdir into a binary during linking. 21175# This must work even if \$libdir does not exist 21176hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 21177 21178# Whether we need a single "-rpath" flag with a separated argument. 21179hardcode_libdir_separator=$lt_hardcode_libdir_separator 21180 21181# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21182# DIR into the resulting binary. 21183hardcode_direct=$hardcode_direct 21184 21185# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21186# DIR into the resulting binary and the resulting library dependency is 21187# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 21188# library is relocated. 21189hardcode_direct_absolute=$hardcode_direct_absolute 21190 21191# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21192# into the resulting binary. 21193hardcode_minus_L=$hardcode_minus_L 21194 21195# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21196# into the resulting binary. 21197hardcode_shlibpath_var=$hardcode_shlibpath_var 21198 21199# Set to "yes" if building a shared library automatically hardcodes DIR 21200# into the library and all subsequent libraries and executables linked 21201# against it. 21202hardcode_automatic=$hardcode_automatic 21203 21204# Set to yes if linker adds runtime paths of dependent libraries 21205# to runtime path list. 21206inherit_rpath=$inherit_rpath 21207 21208# Whether libtool must link a program against all its dependency libraries. 21209link_all_deplibs=$link_all_deplibs 21210 21211# Set to "yes" if exported symbols are required. 21212always_export_symbols=$always_export_symbols 21213 21214# The commands to list exported symbols. 21215export_symbols_cmds=$lt_export_symbols_cmds 21216 21217# Symbols that should not be listed in the preloaded symbols. 21218exclude_expsyms=$lt_exclude_expsyms 21219 21220# Symbols that must always be exported. 21221include_expsyms=$lt_include_expsyms 21222 21223# Commands necessary for linking programs (against libraries) with templates. 21224prelink_cmds=$lt_prelink_cmds 21225 21226# Commands necessary for finishing linking programs. 21227postlink_cmds=$lt_postlink_cmds 21228 21229# Specify filename containing input files. 21230file_list_spec=$lt_file_list_spec 21231 21232# How to hardcode a shared library path into an executable. 21233hardcode_action=$hardcode_action 21234 21235# The directories searched by this compiler when creating a shared library. 21236compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 21237 21238# Dependencies to place before and after the objects being linked to 21239# create a shared library. 21240predep_objects=$lt_predep_objects 21241postdep_objects=$lt_postdep_objects 21242predeps=$lt_predeps 21243postdeps=$lt_postdeps 21244 21245# The library search path used internally by the compiler when linking 21246# a shared library. 21247compiler_lib_search_path=$lt_compiler_lib_search_path 21248 21249# ### END LIBTOOL CONFIG 21250 21251_LT_EOF 21252 21253 case $host_os in 21254 aix3*) 21255 cat <<\_LT_EOF >> "$cfgfile" 21256# AIX sometimes has problems with the GCC collect2 program. For some 21257# reason, if we set the COLLECT_NAMES environment variable, the problems 21258# vanish in a puff of smoke. 21259if test "X${COLLECT_NAMES+set}" != Xset; then 21260 COLLECT_NAMES= 21261 export COLLECT_NAMES 21262fi 21263_LT_EOF 21264 ;; 21265 esac 21266 21267 21268ltmain="$ac_aux_dir/ltmain.sh" 21269 21270 21271 # We use sed instead of cat because bash on DJGPP gets confused if 21272 # if finds mixed CR/LF and LF-only lines. Since sed operates in 21273 # text mode, it properly converts lines to CR/LF. This bash problem 21274 # is reportedly fixed, but why not run on old versions too? 21275 sed '$q' "$ltmain" >> "$cfgfile" \ 21276 || (rm -f "$cfgfile"; exit 1) 21277 21278 if test x"$xsi_shell" = xyes; then 21279 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 21280func_dirname ()\ 21281{\ 21282\ case ${1} in\ 21283\ */*) func_dirname_result="${1%/*}${2}" ;;\ 21284\ * ) func_dirname_result="${3}" ;;\ 21285\ esac\ 21286} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 21287 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21289test 0 -eq $? || _lt_function_replace_fail=: 21290 21291 21292 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 21293func_basename ()\ 21294{\ 21295\ func_basename_result="${1##*/}"\ 21296} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 21297 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21298 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21299test 0 -eq $? || _lt_function_replace_fail=: 21300 21301 21302 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 21303func_dirname_and_basename ()\ 21304{\ 21305\ case ${1} in\ 21306\ */*) func_dirname_result="${1%/*}${2}" ;;\ 21307\ * ) func_dirname_result="${3}" ;;\ 21308\ esac\ 21309\ func_basename_result="${1##*/}"\ 21310} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 21311 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21312 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21313test 0 -eq $? || _lt_function_replace_fail=: 21314 21315 21316 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 21317func_stripname ()\ 21318{\ 21319\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 21320\ # positional parameters, so assign one to ordinary parameter first.\ 21321\ func_stripname_result=${3}\ 21322\ func_stripname_result=${func_stripname_result#"${1}"}\ 21323\ func_stripname_result=${func_stripname_result%"${2}"}\ 21324} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 21325 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21326 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21327test 0 -eq $? || _lt_function_replace_fail=: 21328 21329 21330 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 21331func_split_long_opt ()\ 21332{\ 21333\ func_split_long_opt_name=${1%%=*}\ 21334\ func_split_long_opt_arg=${1#*=}\ 21335} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 21336 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21337 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21338test 0 -eq $? || _lt_function_replace_fail=: 21339 21340 21341 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 21342func_split_short_opt ()\ 21343{\ 21344\ func_split_short_opt_arg=${1#??}\ 21345\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 21346} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 21347 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21348 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21349test 0 -eq $? || _lt_function_replace_fail=: 21350 21351 21352 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 21353func_lo2o ()\ 21354{\ 21355\ case ${1} in\ 21356\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 21357\ *) func_lo2o_result=${1} ;;\ 21358\ esac\ 21359} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 21360 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21361 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21362test 0 -eq $? || _lt_function_replace_fail=: 21363 21364 21365 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 21366func_xform ()\ 21367{\ 21368 func_xform_result=${1%.*}.lo\ 21369} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 21370 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21371 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21372test 0 -eq $? || _lt_function_replace_fail=: 21373 21374 21375 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 21376func_arith ()\ 21377{\ 21378 func_arith_result=$(( $* ))\ 21379} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 21380 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21381 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21382test 0 -eq $? || _lt_function_replace_fail=: 21383 21384 21385 sed -e '/^func_len ()$/,/^} # func_len /c\ 21386func_len ()\ 21387{\ 21388 func_len_result=${#1}\ 21389} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 21390 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21391 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21392test 0 -eq $? || _lt_function_replace_fail=: 21393 21394fi 21395 21396if test x"$lt_shell_append" = xyes; then 21397 sed -e '/^func_append ()$/,/^} # func_append /c\ 21398func_append ()\ 21399{\ 21400 eval "${1}+=\\${2}"\ 21401} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 21402 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21403 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21404test 0 -eq $? || _lt_function_replace_fail=: 21405 21406 21407 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 21408func_append_quoted ()\ 21409{\ 21410\ func_quote_for_eval "${2}"\ 21411\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 21412} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 21413 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21414 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21415test 0 -eq $? || _lt_function_replace_fail=: 21416 21417 21418 # Save a `func_append' function call where possible by direct use of '+=' 21419 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 21420 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21421 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21422 test 0 -eq $? || _lt_function_replace_fail=: 21423else 21424 # Save a `func_append' function call even when '+=' is not available 21425 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 21426 && mv -f "$cfgfile.tmp" "$cfgfile" \ 21427 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 21428 test 0 -eq $? || _lt_function_replace_fail=: 21429fi 21430 21431if test x"$_lt_function_replace_fail" = x":"; then 21432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 21433$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 21434fi 21435 21436 21437 mv -f "$cfgfile" "$ofile" || 21438 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 21439 chmod +x "$ofile" 21440 21441 21442 cat <<_LT_EOF >> "$ofile" 21443 21444# ### BEGIN LIBTOOL TAG CONFIG: CXX 21445 21446# The linker used to build libraries. 21447LD=$lt_LD_CXX 21448 21449# How to create reloadable object files. 21450reload_flag=$lt_reload_flag_CXX 21451reload_cmds=$lt_reload_cmds_CXX 21452 21453# Commands used to build an old-style archive. 21454old_archive_cmds=$lt_old_archive_cmds_CXX 21455 21456# A language specific compiler. 21457CC=$lt_compiler_CXX 21458 21459# Is the compiler the GNU compiler? 21460with_gcc=$GCC_CXX 21461 21462# Compiler flag to turn off builtin functions. 21463no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 21464 21465# Additional compiler flags for building library objects. 21466pic_flag=$lt_lt_prog_compiler_pic_CXX 21467 21468# How to pass a linker flag through the compiler. 21469wl=$lt_lt_prog_compiler_wl_CXX 21470 21471# Compiler flag to prevent dynamic linking. 21472link_static_flag=$lt_lt_prog_compiler_static_CXX 21473 21474# Does compiler simultaneously support -c and -o options? 21475compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 21476 21477# Whether or not to add -lc for building shared libraries. 21478build_libtool_need_lc=$archive_cmds_need_lc_CXX 21479 21480# Whether or not to disallow shared libs when runtime libs are static. 21481allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 21482 21483# Compiler flag to allow reflexive dlopens. 21484export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 21485 21486# Compiler flag to generate shared objects directly from archives. 21487whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 21488 21489# Whether the compiler copes with passing no objects directly. 21490compiler_needs_object=$lt_compiler_needs_object_CXX 21491 21492# Create an old-style archive from a shared archive. 21493old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 21494 21495# Create a temporary old-style archive to link instead of a shared archive. 21496old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 21497 21498# Commands used to build a shared archive. 21499archive_cmds=$lt_archive_cmds_CXX 21500archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 21501 21502# Commands used to build a loadable module if different from building 21503# a shared archive. 21504module_cmds=$lt_module_cmds_CXX 21505module_expsym_cmds=$lt_module_expsym_cmds_CXX 21506 21507# Whether we are building with GNU ld or not. 21508with_gnu_ld=$lt_with_gnu_ld_CXX 21509 21510# Flag that allows shared libraries with undefined symbols to be built. 21511allow_undefined_flag=$lt_allow_undefined_flag_CXX 21512 21513# Flag that enforces no undefined symbols. 21514no_undefined_flag=$lt_no_undefined_flag_CXX 21515 21516# Flag to hardcode \$libdir into a binary during linking. 21517# This must work even if \$libdir does not exist 21518hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 21519 21520# Whether we need a single "-rpath" flag with a separated argument. 21521hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 21522 21523# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21524# DIR into the resulting binary. 21525hardcode_direct=$hardcode_direct_CXX 21526 21527# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21528# DIR into the resulting binary and the resulting library dependency is 21529# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 21530# library is relocated. 21531hardcode_direct_absolute=$hardcode_direct_absolute_CXX 21532 21533# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21534# into the resulting binary. 21535hardcode_minus_L=$hardcode_minus_L_CXX 21536 21537# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21538# into the resulting binary. 21539hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 21540 21541# Set to "yes" if building a shared library automatically hardcodes DIR 21542# into the library and all subsequent libraries and executables linked 21543# against it. 21544hardcode_automatic=$hardcode_automatic_CXX 21545 21546# Set to yes if linker adds runtime paths of dependent libraries 21547# to runtime path list. 21548inherit_rpath=$inherit_rpath_CXX 21549 21550# Whether libtool must link a program against all its dependency libraries. 21551link_all_deplibs=$link_all_deplibs_CXX 21552 21553# Set to "yes" if exported symbols are required. 21554always_export_symbols=$always_export_symbols_CXX 21555 21556# The commands to list exported symbols. 21557export_symbols_cmds=$lt_export_symbols_cmds_CXX 21558 21559# Symbols that should not be listed in the preloaded symbols. 21560exclude_expsyms=$lt_exclude_expsyms_CXX 21561 21562# Symbols that must always be exported. 21563include_expsyms=$lt_include_expsyms_CXX 21564 21565# Commands necessary for linking programs (against libraries) with templates. 21566prelink_cmds=$lt_prelink_cmds_CXX 21567 21568# Commands necessary for finishing linking programs. 21569postlink_cmds=$lt_postlink_cmds_CXX 21570 21571# Specify filename containing input files. 21572file_list_spec=$lt_file_list_spec_CXX 21573 21574# How to hardcode a shared library path into an executable. 21575hardcode_action=$hardcode_action_CXX 21576 21577# The directories searched by this compiler when creating a shared library. 21578compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 21579 21580# Dependencies to place before and after the objects being linked to 21581# create a shared library. 21582predep_objects=$lt_predep_objects_CXX 21583postdep_objects=$lt_postdep_objects_CXX 21584predeps=$lt_predeps_CXX 21585postdeps=$lt_postdeps_CXX 21586 21587# The library search path used internally by the compiler when linking 21588# a shared library. 21589compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 21590 21591# ### END LIBTOOL TAG CONFIG: CXX 21592_LT_EOF 21593 21594 21595as_fn_exit 0 21596_LTEOF 21597chmod +x "$CONFIG_LT" 21598 21599# configure is writing to config.log, but config.lt does its own redirection, 21600# appending to config.log, which fails on DOS, as config.log is still kept 21601# open by configure. Here we exec the FD to /dev/null, effectively closing 21602# config.log, so it can be properly (re)opened and appended to by config.lt. 21603lt_cl_success=: 21604test "$silent" = yes && 21605 lt_config_lt_args="$lt_config_lt_args --quiet" 21606exec 5>/dev/null 21607$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 21608exec 5>>config.log 21609$lt_cl_success || as_fn_exit 1 21610 21611ac_ext=cpp 21612ac_cpp='$CXXCPP $CPPFLAGS' 21613ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21614ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21615ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 21616ac_link="./libtool --mode=link --tag=CXX $ac_link" 21617 21618 21619 21620# Checks on the GMP library. 21621 21622 21623 21624# Check whether --with-gmp was given. 21625if test "${with_gmp+set}" = set; then : 21626 withval=$with_gmp; 21627fi 21628 21629 21630 21631# Check whether --with-gmp-include was given. 21632if test "${with_gmp_include+set}" = set; then : 21633 withval=$with_gmp_include; 21634fi 21635 21636 21637 21638# Check whether --with-gmp-lib was given. 21639if test "${with_gmp_lib+set}" = set; then : 21640 withval=$with_gmp_lib; 21641fi 21642 21643 21644if test -n "$with_gmp" 21645then 21646 gmp_include_options="-I$with_gmp/include" 21647 gmp_library_paths="$with_gmp/lib" 21648 gmp_library_options="-L$gmp_library_paths" 21649fi 21650 21651if test -n "$with_gmp_include" 21652then 21653 gmp_include_options="-I$with_gmp_include" 21654fi 21655 21656if test -n "$with_gmp_lib" 21657then 21658 gmp_library_paths="$with_gmp_lib" 21659 gmp_library_options="-L$gmp_library_paths" 21660fi 21661 21662gmp_libs="-lgmpxx -lgmp" 21663 21664 21665# Check whether --with-gmp-build was given. 21666if test "${with_gmp_build+set}" = set; then : 21667 withval=$with_gmp_build; gmp_build_dir=$with_gmp_build 21668 if test -n "$with_gmp" \ 21669 || test -n "$with_gmp_include" || test -n "$with_gmp_lib" 21670 then 21671 as_fn_error $? "cannot use --with-gmp-build and other --with-gmp* options together" "$LINENO" 5 21672 else 21673 gmp_srcdir=`echo @abs_srcdir@ | $gmp_build_dir/config.status --file=-` 21674 gmp_include_options="-I$gmp_build_dir -I$gmp_build_dir/tune -I$gmp_srcdir" 21675 gmp_libs="$gmp_build_dir/libgmp.la $gmp_build_dir/libgmpxx.la" 21676 fi 21677fi 21678 21679 21680gmp_library_options="$gmp_library_options $gmp_libs" 21681 21682if test -n "$with_gmp_build" 21683then 21684 ac_save_CXX="$CXX" 21685 CXX="libtool --mode=link --tag=CXX $CXX" 21686fi 21687 21688ac_save_CPPFLAGS="$CPPFLAGS" 21689CPPFLAGS="$CPPFLAGS $gmp_include_options" 21690ac_save_LIBS="$LIBS" 21691LIBS="$LIBS $gmp_library_options" 21692 21693ac_ext=cpp 21694ac_cpp='$CXXCPP $CPPFLAGS' 21695ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21696ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21697ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 21698ac_link="./libtool --mode=link --tag=CXX $ac_link" 21699 21700 21701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the GMP library version 4.1.3 or above" >&5 21702$as_echo_n "checking for the GMP library version 4.1.3 or above... " >&6; } 21703if test "$cross_compiling" = yes; then : 21704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21705/* end confdefs.h. */ 21706 21707#include <gmpxx.h> 21708 21709#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1) || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR == 1 && __GNU_MP_VERSION_PATCHLEVEL < 3) 21710#GMP version 4.1.3 or higher is required 21711#endif 21712 21713int 21714main() { 21715 return 0; 21716} 21717 21718_ACEOF 21719if ac_fn_cxx_try_compile "$LINENO"; then : 21720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21721$as_echo "yes" >&6; } 21722 ac_cv_have_gmp=yes 21723else 21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21725$as_echo "no" >&6; } 21726 ac_cv_have_gmp=no 21727fi 21728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21729else 21730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21731/* end confdefs.h. */ 21732 21733#include <gmpxx.h> 21734#include <climits> 21735#include <string> 21736#include <sstream> 21737#include <iostream> 21738 21739#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1) || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR == 1 && __GNU_MP_VERSION_PATCHLEVEL < 3) 21740#GMP version 4.1.3 or higher is required 21741#endif 21742 21743#ifndef BITS_PER_MP_LIMB 21744#define BITS_PER_MP_LIMB GMP_LIMB_BITS 21745#endif 21746 21747int 21748main() { 21749 std::string header_version; 21750 { 21751 std::ostringstream s(header_version); 21752 s << __GNU_MP_VERSION << "." << __GNU_MP_VERSION_MINOR; 21753 // Starting from GMP version 4.3.0, the gmp_version variable 21754 // always contains three parts. In previous versions the 21755 // patchlevel was omitted if it was 0. 21756 if (__GNU_MP_VERSION_PATCHLEVEL != 0 21757 || __GNU_MP_VERSION > 4 21758 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR >= 3)) 21759 s << "." << __GNU_MP_VERSION_PATCHLEVEL; 21760 header_version = s.str(); 21761 } 21762 21763 std::string library_version = gmp_version; 21764 21765 if (header_version != library_version) { 21766 std::cerr 21767 << "GMP header (gmpxx.h) and library (ligmpxx.*) version mismatch:\n" 21768 << "header gives " << header_version << ";\n" 21769 << "library gives " << library_version << "." << std::endl; 21770 return 1; 21771 } 21772 21773 if (sizeof(mp_limb_t)*CHAR_BIT != BITS_PER_MP_LIMB 21774 || BITS_PER_MP_LIMB != mp_bits_per_limb) { 21775 std::cerr 21776 << "GMP header (gmpxx.h) and library (ligmpxx.*) bits-per-limb mismatch:\n" 21777 << "header gives " << BITS_PER_MP_LIMB << ";\n" 21778 << "library gives " << mp_bits_per_limb << ".\n" 21779 << "This probably means you are on a bi-arch system and\n" 21780 << "you are compiling with the wrong header or linking with\n" 21781 << "the wrong library." << std::endl; 21782 return 1; 21783 } 21784 21785 mpz_class n("3141592653589793238462643383279502884"); 21786 return 0; 21787} 21788 21789_ACEOF 21790if ac_fn_cxx_try_run "$LINENO"; then : 21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21792$as_echo "yes" >&6; } 21793 ac_cv_have_gmp=yes 21794else 21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21796$as_echo "no" >&6; } 21797 ac_cv_have_gmp=no 21798fi 21799rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21800 conftest.$ac_objext conftest.beam conftest.$ac_ext 21801fi 21802 21803 21804have_gmp=${ac_cv_have_gmp} 21805 21806if test x"$ac_cv_have_gmp" = xyes 21807then 21808 21809# The cast to long int works around a bug in the HP C Compiler 21810# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21811# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21812# This bug is HP SR number 8606223364. 21813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mp_limb_t" >&5 21814$as_echo_n "checking size of mp_limb_t... " >&6; } 21815if ${ac_cv_sizeof_mp_limb_t+:} false; then : 21816 $as_echo_n "(cached) " >&6 21817else 21818 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (mp_limb_t))" "ac_cv_sizeof_mp_limb_t" "#include <gmpxx.h> 21819"; then : 21820 21821else 21822 if test "$ac_cv_type_mp_limb_t" = yes; then 21823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21825as_fn_error 77 "cannot compute sizeof (mp_limb_t) 21826See \`config.log' for more details" "$LINENO" 5; } 21827 else 21828 ac_cv_sizeof_mp_limb_t=0 21829 fi 21830fi 21831 21832fi 21833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mp_limb_t" >&5 21834$as_echo "$ac_cv_sizeof_mp_limb_t" >&6; } 21835 21836 21837 21838cat >>confdefs.h <<_ACEOF 21839#define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t 21840_ACEOF 21841 21842 21843 21844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GMP has been compiled with support for exceptions" >&5 21845$as_echo_n "checking whether GMP has been compiled with support for exceptions... " >&6; } 21846if test "$cross_compiling" = yes; then : 21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming yes" >&5 21848$as_echo "assuming yes" >&6; } 21849 ac_cv_gmp_supports_exceptions=yes 21850else 21851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21852/* end confdefs.h. */ 21853 21854#include <gmpxx.h> 21855#include <new> 21856#include <cstddef> 21857 21858static void* 21859x_malloc(size_t) { 21860 throw std::bad_alloc(); 21861} 21862 21863static void* 21864x_realloc(void*, size_t, size_t) { 21865 throw std::bad_alloc(); 21866} 21867 21868static void 21869x_free(void*, size_t) { 21870} 21871 21872int main() { 21873 mp_set_memory_functions(x_malloc, x_realloc, x_free); 21874 try { 21875 mpz_class n("3141592653589793238462643383279502884"); 21876 } 21877 catch (std::bad_alloc&) { 21878 return 0; 21879 } 21880 return 1; 21881} 21882 21883_ACEOF 21884if ac_fn_cxx_try_run "$LINENO"; then : 21885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21886$as_echo "yes" >&6; } 21887 ac_cv_gmp_supports_exceptions=yes 21888else 21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21890$as_echo "no" >&6; } 21891 ac_cv_gmp_supports_exceptions=no 21892fi 21893rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21894 conftest.$ac_objext conftest.beam conftest.$ac_ext 21895fi 21896 21897 21898gmp_supports_exceptions=${ac_cv_gmp_supports_exceptions} 21899if test x"$gmp_supports_exceptions" = xyes 21900then 21901 value=1 21902else 21903 value=0 21904fi 21905 21906cat >>confdefs.h <<_ACEOF 21907#define PPL_GMP_SUPPORTS_EXCEPTIONS $value 21908_ACEOF 21909 21910 21911fi 21912 21913ac_ext=cpp 21914ac_cpp='$CXXCPP $CPPFLAGS' 21915ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21916ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21917ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 21918ac_link="./libtool --mode=link --tag=CXX $ac_link" 21919 21920LIBS="$ac_save_LIBS" 21921CPPFLAGS="$ac_save_CPPFLAGS" 21922 21923if test -n "$with_gmp_build" 21924then 21925 CXX="$ac_save_CXX" 21926fi 21927 21928if test x"$have_gmp" = xno 21929then 21930 as_fn_error $? "Cannot find GMP version 4.1.3 or higher. 21931GMP is the GNU Multi-Precision library: 21932see http://www.swox.com/gmp/ for more information. 21933When compiling the GMP library, do not forget to enable the C++ interface: 21934add --enable-cxx to the configuration options." "$LINENO" 5 21935else 21936 if test x"$have_gmpxx" = xno 21937 then 21938 as_fn_error $? "GMP compiled without enabling the C++ interface. 21939GMP is the GNU Multi-Precision library: 21940see http://www.swox.com/gmp/ for more information. 21941When compiling the GMP library, do not forget to enable the C++ interface: 21942add --enable-cxx to the configuration options." "$LINENO" 5 21943 fi 21944fi 21945 21946ac_fn_cxx_check_member "$LINENO" "__mpz_struct" "_mp_alloc" "ac_cv_member___mpz_struct__mp_alloc" "#include <gmp.h> 21947" 21948if test "x$ac_cv_member___mpz_struct__mp_alloc" = xyes; then : 21949 21950cat >>confdefs.h <<_ACEOF 21951#define HAVE___MPZ_STRUCT__MP_ALLOC 1 21952_ACEOF 21953 21954 21955else 21956 gmp_has_changes=yes 21957fi 21958ac_fn_cxx_check_member "$LINENO" "__mpz_struct" "_mp_size" "ac_cv_member___mpz_struct__mp_size" "#include <gmp.h> 21959" 21960if test "x$ac_cv_member___mpz_struct__mp_size" = xyes; then : 21961 21962cat >>confdefs.h <<_ACEOF 21963#define HAVE___MPZ_STRUCT__MP_SIZE 1 21964_ACEOF 21965 21966 21967else 21968 gmp_has_changes=yes 21969fi 21970ac_fn_cxx_check_member "$LINENO" "__mpz_struct" "_mp_d" "ac_cv_member___mpz_struct__mp_d" "#include <gmp.h> 21971" 21972if test "x$ac_cv_member___mpz_struct__mp_d" = xyes; then : 21973 21974cat >>confdefs.h <<_ACEOF 21975#define HAVE___MPZ_STRUCT__MP_D 1 21976_ACEOF 21977 21978 21979else 21980 gmp_has_changes=yes 21981fi 21982 21983 21984if test x"$gmp_has_changed" = xyes 21985then 21986 as_fn_error $? "GMP HAS CHANGED: 21987*** The PPL exploits some implementation details of GMP that were current 21988*** until (at least) version 4.1.4 of GMP. You seem to be using a version 21989*** where these details have changed. 21990*** Please report this to ppl-devel@cs.unipr.it." "$LINENO" 5 21991fi 21992 21993extra_includes="${extra_includes}${extra_includes:+ }${gmp_include_options}" 21994extra_libraries="${extra_libraries}${extra_libraries:+ }${gmp_library_options}" 21995 21996enableval=yes 21997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ppl_lcdd program" >&5 21998$as_echo_n "checking whether to build the ppl_lcdd program... " >&6; } 21999# Check whether --enable-ppl_lcdd was given. 22000if test "${enable_ppl_lcdd+set}" = set; then : 22001 enableval=$enable_ppl_lcdd; 22002fi 22003 22004case "${enableval}" in 22005yes) 22006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22007$as_echo "yes" >&6; } 22008 ;; 22009no) 22010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22011$as_echo "no" >&6; } 22012 ;; 22013*) 22014 as_fn_error $? "bad value ${enableval} for --enable-ppl_lcdd, needs yes or no" "$LINENO" 5 22015 ;; 22016esac 22017build_ppl_lcdd=$enableval 22018 if test x"$build_ppl_lcdd" = xyes; then 22019 BUILD_PPL_LCDD_TRUE= 22020 BUILD_PPL_LCDD_FALSE='#' 22021else 22022 BUILD_PPL_LCDD_TRUE='#' 22023 BUILD_PPL_LCDD_FALSE= 22024fi 22025 22026 22027enableval=yes 22028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ppl_lpsol program" >&5 22029$as_echo_n "checking whether to build the ppl_lpsol program... " >&6; } 22030# Check whether --enable-ppl_lpsol was given. 22031if test "${enable_ppl_lpsol+set}" = set; then : 22032 enableval=$enable_ppl_lpsol; 22033fi 22034 22035case "${enableval}" in 22036yes) 22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22038$as_echo "yes" >&6; } 22039 ;; 22040no) 22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22042$as_echo "no" >&6; } 22043 ;; 22044*) 22045 as_fn_error $? "bad value ${enableval} for --enable-ppl_lpsol, needs yes or no" "$LINENO" 5 22046 ;; 22047esac 22048build_ppl_lpsol=$enableval 22049 if test x"$build_ppl_lpsol" = xyes; then 22050 BUILD_PPL_LPSOL_TRUE= 22051 BUILD_PPL_LPSOL_FALSE='#' 22052else 22053 BUILD_PPL_LPSOL_TRUE='#' 22054 BUILD_PPL_LPSOL_FALSE= 22055fi 22056 22057 22058enableval=yes 22059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ppl_pips program" >&5 22060$as_echo_n "checking whether to build the ppl_pips program... " >&6; } 22061# Check whether --enable-ppl_pips was given. 22062if test "${enable_ppl_pips+set}" = set; then : 22063 enableval=$enable_ppl_pips; 22064fi 22065 22066case "${enableval}" in 22067yes) 22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22069$as_echo "yes" >&6; } 22070 ;; 22071no) 22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22073$as_echo "no" >&6; } 22074 ;; 22075*) 22076 as_fn_error $? "bad value ${enableval} for --enable-ppl_pips, needs yes or no" "$LINENO" 5 22077 ;; 22078esac 22079build_ppl_pips=$enableval 22080 if test x"$build_ppl_pips" = xyes; then 22081 BUILD_PPL_PIPS_TRUE= 22082 BUILD_PPL_PIPS_FALSE='#' 22083else 22084 BUILD_PPL_PIPS_TRUE='#' 22085 BUILD_PPL_PIPS_FALSE= 22086fi 22087 22088 22089enableval=yes 22090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the PPL documentation" >&5 22091$as_echo_n "checking whether to build the PPL documentation... " >&6; } 22092# Check whether --enable-documentation was given. 22093if test "${enable_documentation+set}" = set; then : 22094 enableval=$enable_documentation; 22095fi 22096 22097case "${enableval}" in 22098yes) 22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 22100$as_echo "yes" >&6; } 22101 ;; 22102no) 22103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22104$as_echo "no" >&6; } 22105 ;; 22106*) 22107 as_fn_error $? "bad value ${enableval} for --enable-documentation, needs yes or no" "$LINENO" 5 22108 ;; 22109esac 22110build_documentation=$enableval 22111 if test x"$build_documentation" = xyes; then 22112 BUILD_DOCUMENTATION_TRUE= 22113 BUILD_DOCUMENTATION_FALSE='#' 22114else 22115 BUILD_DOCUMENTATION_TRUE='#' 22116 BUILD_DOCUMENTATION_FALSE= 22117fi 22118 22119 22120# Define lists of available interfaces: lowercase and blank-separated. 22121non_prolog_interfaces="cxx c ocaml java" 22122prolog_interfaces="ciao_prolog gnu_prolog sicstus_prolog swi_prolog xsb_prolog yap_prolog" 22123available_interfaces="${non_prolog_interfaces} ${prolog_interfaces}" 22124 22125# This is the list of interfaces that are enabled by default. 22126default_interfaces=${non_prolog_interfaces} 22127 22128enableval=not_specified 22129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which interfaces are enabled" >&5 22130$as_echo_n "checking which interfaces are enabled... " >&6; } 22131# Check whether --enable-interfaces was given. 22132if test "${enable_interfaces+set}" = set; then : 22133 enableval=$enable_interfaces; 22134fi 22135 22136case x"${enableval}" in 22137xyes | x) 22138 as_fn_error $? "--enable-interfaces needs at least one argument chosen among ${available_interfaces}, none and all" "$LINENO" 5 22139 ;; 22140xnone | xno) 22141 for interface in ${available_interfaces} 22142 do 22143 eval ${interface}_interface_enabled=no 22144 done 22145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 22146$as_echo "none" >&6; } 22147 ;; 22148xall) 22149 for interface in ${available_interfaces} 22150 do 22151 eval ${interface}_interface_enabled=yes 22152 done 22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${available_interfaces}" >&5 22154$as_echo "${available_interfaces}" >&6; } 22155 ;; 22156*) 22157 if test x"${enableval}" = xnot_specified 22158 then 22159 enableval=${default_interfaces} 22160 fi 22161 # Make the list blank-separated and lowercase; turn "c++" into "cxx". 22162 required_interfaces=`echo "${enableval}" | sed -e 's/-/_/g' -e 's/[ ,][ ,]*/ /g' -e 's/c++/cxx/g' | tr '[:upper:]' '[:lower:]'` 22163 # Check that the specified interfaces exist. 22164 for interface in ${required_interfaces} 22165 do 22166 case " ${available_interfaces} " in 22167 *\ ${interface}\ *) 22168 ;; 22169 *) 22170 as_fn_error $? "unknown interface ${interface}: must be one of ${available_interfaces}" "$LINENO" 5 22171 ;; 22172 esac 22173 done 22174 # Initialize the enabled variable for each interface. 22175 for interface in ${available_interfaces} 22176 do 22177 case " ${required_interfaces} " in 22178 *\ ${interface}\ *) 22179 eval ${interface}_interface_enabled=yes 22180 enabled_interfaces="${enabled_interfaces}${enabled_interfaces:+ }${interface}" 22181 ;; 22182 *) 22183 eval ${interface}_interface_enabled=no 22184 ;; 22185 esac 22186 done 22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enabled_interfaces}" >&5 22188$as_echo "${enabled_interfaces}" >&6; } 22189 ;; 22190esac 22191 22192if test x${cxx_interface_enabled} = xyes 22193then 22194 build_cxx_interface=yes 22195fi 22196 if test x$build_cxx_interface = xyes; then 22197 BUILD_CXX_INTERFACE_TRUE= 22198 BUILD_CXX_INTERFACE_FALSE='#' 22199else 22200 BUILD_CXX_INTERFACE_TRUE='#' 22201 BUILD_CXX_INTERFACE_FALSE= 22202fi 22203 22204 22205if test x${c_interface_enabled} = xyes 22206then 22207 build_c_interface=yes 22208fi 22209 if test x$build_c_interface = xyes; then 22210 BUILD_C_INTERFACE_TRUE= 22211 BUILD_C_INTERFACE_FALSE='#' 22212else 22213 BUILD_C_INTERFACE_TRUE='#' 22214 BUILD_C_INTERFACE_FALSE= 22215fi 22216 22217 22218# Checks for systems for which the interface is enabled. 22219 22220# Allow to specify the Java SDK installation directory. 22221 22222# Check whether --with-java was given. 22223if test "${with_java+set}" = set; then : 22224 withval=$with_java; java_dir=$with_java 22225fi 22226 22227 22228case "${host_os}" in 22229# On Darwin the JDK, if present, is installed in /Library/Java/Home . 22230darwin*) 22231 if test "x$java_dir" = x 22232 then 22233 java_dir="/Library/Java/Home" 22234 fi 22235 ;; 22236# On modern Fedora systems the JDK is usually in /usr/lib/jvm/java . 22237linux*) 22238 if test "x$java_dir" = x 22239 then 22240 java_dir="/usr/lib/jvm/java" 22241 fi 22242 ;; 22243*) 22244 ;; 22245esac 22246 22247if test "x$java_dir" != x 22248then 22249 JAVAPREFIX="${java_dir}/bin" 22250fi 22251 22252# Checks for Java. 22253if test x${java_interface_enabled} = xyes 22254then 22255 # Check for Java programs. Order here is important: check first 22256 # for the compiler. 22257 22258 22259if test "x$JAVAPREFIX" = x 22260then 22261 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 22262do 22263 # Extract the first word of "$ac_prog", so it can be a program name with args. 22264set dummy $ac_prog; ac_word=$2 22265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22266$as_echo_n "checking for $ac_word... " >&6; } 22267if ${ac_cv_prog_JAVAC+:} false; then : 22268 $as_echo_n "(cached) " >&6 22269else 22270 if test -n "$JAVAC"; then 22271 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 22272else 22273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22274for as_dir in $PATH 22275do 22276 IFS=$as_save_IFS 22277 test -z "$as_dir" && as_dir=. 22278 for ac_exec_ext in '' $ac_executable_extensions; do 22279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22280 ac_cv_prog_JAVAC="$ac_prog" 22281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22282 break 2 22283 fi 22284done 22285 done 22286IFS=$as_save_IFS 22287 22288fi 22289fi 22290JAVAC=$ac_cv_prog_JAVAC 22291if test -n "$JAVAC"; then 22292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 22293$as_echo "$JAVAC" >&6; } 22294else 22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22296$as_echo "no" >&6; } 22297fi 22298 22299 22300 test -n "$JAVAC" && break 22301done 22302test -n "$JAVAC" || JAVAC="no" 22303 22304else 22305 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 22306do 22307 # Extract the first word of "$ac_prog", so it can be a program name with args. 22308set dummy $ac_prog; ac_word=$2 22309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22310$as_echo_n "checking for $ac_word... " >&6; } 22311if ${ac_cv_path_JAVAC+:} false; then : 22312 $as_echo_n "(cached) " >&6 22313else 22314 case $JAVAC in 22315 [\\/]* | ?:[\\/]*) 22316 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. 22317 ;; 22318 *) 22319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22320for as_dir in $JAVAPREFIX 22321do 22322 IFS=$as_save_IFS 22323 test -z "$as_dir" && as_dir=. 22324 for ac_exec_ext in '' $ac_executable_extensions; do 22325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22326 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 22327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22328 break 2 22329 fi 22330done 22331 done 22332IFS=$as_save_IFS 22333 22334 ;; 22335esac 22336fi 22337JAVAC=$ac_cv_path_JAVAC 22338if test -n "$JAVAC"; then 22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 22340$as_echo "$JAVAC" >&6; } 22341else 22342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22343$as_echo "no" >&6; } 22344fi 22345 22346 22347 test -n "$JAVAC" && break 22348done 22349test -n "$JAVAC" || JAVAC="no" 22350 22351fi 22352if test ! x$JAVAC = "xno" 22353then 22354 22355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $JAVAC supports enums" >&5 22356$as_echo_n "checking whether $JAVAC supports enums... " >&6; } 22357if ${ac_cv_javac_supports_enums+:} false; then : 22358 $as_echo_n "(cached) " >&6 22359else 22360 22361JAVA_TEST=Test.java 22362CLASS_TEST=Test.class 22363cat << \EOF > $JAVA_TEST 22364/* #line 22364 "configure" */ 22365public class Test { 22366public enum Relation_Symbol { 22367 /*! Less than. */ 22368 LESS_THAN, 22369 /*! Less than or equal to. */ 22370 LESS_OR_EQUAL, 22371 /*! Equal to. */ 22372 EQUAL, 22373 /*! Greater than or equal to. */ 22374 GREATER_OR_EQUAL, 22375 /*! Greater than. */ 22376 GREATER_THAN, 22377 } 22378} 22379EOF 22380if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 22381 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 22382 (eval $ac_try) 2>&5 22383 ac_status=$? 22384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22385 test $ac_status = 0; }; } >/dev/null 2>&1; then 22386 ac_cv_javac_supports_enums=yes 22387else 22388 echo "configure: failed program was:" >&5 22389 cat $JAVA_TEST >&5 22390 ac_cv_javac_supports_enums=no 22391fi 22392 22393rm -f $JAVA_TEST $CLASS_TEST Test\$Relation_Symbol.class 22394 22395fi 22396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_javac_supports_enums" >&5 22397$as_echo "$ac_cv_javac_supports_enums" >&6; } 22398 22399fi 22400 22401 22402if test x$JAVAPREFIX = x; then 22403 test x$JAVA = x && for ac_prog in java$EXEEXT 22404do 22405 # Extract the first word of "$ac_prog", so it can be a program name with args. 22406set dummy $ac_prog; ac_word=$2 22407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22408$as_echo_n "checking for $ac_word... " >&6; } 22409if ${ac_cv_prog_JAVA+:} false; then : 22410 $as_echo_n "(cached) " >&6 22411else 22412 if test -n "$JAVA"; then 22413 ac_cv_prog_JAVA="$JAVA" # Let the user override the test. 22414else 22415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22416for as_dir in $PATH 22417do 22418 IFS=$as_save_IFS 22419 test -z "$as_dir" && as_dir=. 22420 for ac_exec_ext in '' $ac_executable_extensions; do 22421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22422 ac_cv_prog_JAVA="$ac_prog" 22423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22424 break 2 22425 fi 22426done 22427 done 22428IFS=$as_save_IFS 22429 22430fi 22431fi 22432JAVA=$ac_cv_prog_JAVA 22433if test -n "$JAVA"; then 22434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 22435$as_echo "$JAVA" >&6; } 22436else 22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22438$as_echo "no" >&6; } 22439fi 22440 22441 22442 test -n "$JAVA" && break 22443done 22444test -n "$JAVA" || JAVA="no" 22445 22446else 22447 test x$JAVA = x && for ac_prog in java$EXEEXT 22448do 22449 # Extract the first word of "$ac_prog", so it can be a program name with args. 22450set dummy $ac_prog; ac_word=$2 22451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22452$as_echo_n "checking for $ac_word... " >&6; } 22453if ${ac_cv_path_JAVA+:} false; then : 22454 $as_echo_n "(cached) " >&6 22455else 22456 case $JAVA in 22457 [\\/]* | ?:[\\/]*) 22458 ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path. 22459 ;; 22460 *) 22461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22462for as_dir in $JAVAPREFIX 22463do 22464 IFS=$as_save_IFS 22465 test -z "$as_dir" && as_dir=. 22466 for ac_exec_ext in '' $ac_executable_extensions; do 22467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22468 ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" 22469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22470 break 2 22471 fi 22472done 22473 done 22474IFS=$as_save_IFS 22475 22476 ;; 22477esac 22478fi 22479JAVA=$ac_cv_path_JAVA 22480if test -n "$JAVA"; then 22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 22482$as_echo "$JAVA" >&6; } 22483else 22484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22485$as_echo "no" >&6; } 22486fi 22487 22488 22489 test -n "$JAVA" && break 22490done 22491test -n "$JAVA" || JAVA="no" 22492 22493fi 22494if test ! x$JAVA = "xno" 22495then 22496 22497# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 22498set dummy uudecode$EXEEXT; ac_word=$2 22499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22500$as_echo_n "checking for $ac_word... " >&6; } 22501if ${ac_cv_prog_uudecode+:} false; then : 22502 $as_echo_n "(cached) " >&6 22503else 22504 if test -n "$uudecode"; then 22505 ac_cv_prog_uudecode="$uudecode" # Let the user override the test. 22506else 22507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22508for as_dir in $PATH 22509do 22510 IFS=$as_save_IFS 22511 test -z "$as_dir" && as_dir=. 22512 for ac_exec_ext in '' $ac_executable_extensions; do 22513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22514 ac_cv_prog_uudecode="yes" 22515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22516 break 2 22517 fi 22518done 22519 done 22520IFS=$as_save_IFS 22521 22522fi 22523fi 22524uudecode=$ac_cv_prog_uudecode 22525if test -n "$uudecode"; then 22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 22527$as_echo "$uudecode" >&6; } 22528else 22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22530$as_echo "no" >&6; } 22531fi 22532 22533 22534if test x$uudecode = xyes; then 22535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 22536$as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 22537if ${ac_cv_prog_uudecode_base64+:} false; then : 22538 $as_echo_n "(cached) " >&6 22539else 22540 22541cat << \EOF > Test.uue 22542begin-base64 644 Test.class 22543yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE 22544bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51 22545bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s 22546YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG 22547aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB 22548AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB 22549AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ= 22550==== 22551EOF 22552if uudecode$EXEEXT Test.uue; then 22553 ac_cv_prog_uudecode_base64=yes 22554else 22555 echo "configure: 22555: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 22556 echo "configure: failed file was:" >&5 22557 cat Test.uue >&5 22558 ac_cv_prog_uudecode_base64=no 22559fi 22560rm -f Test.uue 22561fi 22562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 22563$as_echo "$ac_cv_prog_uudecode_base64" >&6; } 22564fi 22565if test x$ac_cv_prog_uudecode_base64 != xyes; then 22566 rm -f Test.class 22567 if test x$ac_cv_javac_supports_enums = x; then 22568 22569if test "x$JAVAPREFIX" = x 22570then 22571 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 22572do 22573 # Extract the first word of "$ac_prog", so it can be a program name with args. 22574set dummy $ac_prog; ac_word=$2 22575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22576$as_echo_n "checking for $ac_word... " >&6; } 22577if ${ac_cv_prog_JAVAC+:} false; then : 22578 $as_echo_n "(cached) " >&6 22579else 22580 if test -n "$JAVAC"; then 22581 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 22582else 22583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22584for as_dir in $PATH 22585do 22586 IFS=$as_save_IFS 22587 test -z "$as_dir" && as_dir=. 22588 for ac_exec_ext in '' $ac_executable_extensions; do 22589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22590 ac_cv_prog_JAVAC="$ac_prog" 22591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22592 break 2 22593 fi 22594done 22595 done 22596IFS=$as_save_IFS 22597 22598fi 22599fi 22600JAVAC=$ac_cv_prog_JAVAC 22601if test -n "$JAVAC"; then 22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 22603$as_echo "$JAVAC" >&6; } 22604else 22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22606$as_echo "no" >&6; } 22607fi 22608 22609 22610 test -n "$JAVAC" && break 22611done 22612test -n "$JAVAC" || JAVAC="no" 22613 22614else 22615 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 22616do 22617 # Extract the first word of "$ac_prog", so it can be a program name with args. 22618set dummy $ac_prog; ac_word=$2 22619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22620$as_echo_n "checking for $ac_word... " >&6; } 22621if ${ac_cv_path_JAVAC+:} false; then : 22622 $as_echo_n "(cached) " >&6 22623else 22624 case $JAVAC in 22625 [\\/]* | ?:[\\/]*) 22626 ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. 22627 ;; 22628 *) 22629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22630for as_dir in $JAVAPREFIX 22631do 22632 IFS=$as_save_IFS 22633 test -z "$as_dir" && as_dir=. 22634 for ac_exec_ext in '' $ac_executable_extensions; do 22635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22636 ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" 22637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22638 break 2 22639 fi 22640done 22641 done 22642IFS=$as_save_IFS 22643 22644 ;; 22645esac 22646fi 22647JAVAC=$ac_cv_path_JAVAC 22648if test -n "$JAVAC"; then 22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 22650$as_echo "$JAVAC" >&6; } 22651else 22652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22653$as_echo "no" >&6; } 22654fi 22655 22656 22657 test -n "$JAVAC" && break 22658done 22659test -n "$JAVAC" || JAVAC="no" 22660 22661fi 22662if test ! x$JAVAC = "xno" 22663then 22664 22665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $JAVAC supports enums" >&5 22666$as_echo_n "checking whether $JAVAC supports enums... " >&6; } 22667if ${ac_cv_javac_supports_enums+:} false; then : 22668 $as_echo_n "(cached) " >&6 22669else 22670 22671JAVA_TEST=Test.java 22672CLASS_TEST=Test.class 22673cat << \EOF > $JAVA_TEST 22674/* #line 22674 "configure" */ 22675public class Test { 22676public enum Relation_Symbol { 22677 /*! Less than. */ 22678 LESS_THAN, 22679 /*! Less than or equal to. */ 22680 LESS_OR_EQUAL, 22681 /*! Equal to. */ 22682 EQUAL, 22683 /*! Greater than or equal to. */ 22684 GREATER_OR_EQUAL, 22685 /*! Greater than. */ 22686 GREATER_THAN, 22687 } 22688} 22689EOF 22690if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 22691 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 22692 (eval $ac_try) 2>&5 22693 ac_status=$? 22694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22695 test $ac_status = 0; }; } >/dev/null 2>&1; then 22696 ac_cv_javac_supports_enums=yes 22697else 22698 echo "configure: failed program was:" >&5 22699 cat $JAVA_TEST >&5 22700 ac_cv_javac_supports_enums=no 22701fi 22702 22703rm -f $JAVA_TEST $CLASS_TEST Test\$Relation_Symbol.class 22704 22705fi 22706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_javac_supports_enums" >&5 22707$as_echo "$ac_cv_javac_supports_enums" >&6; } 22708 22709fi 22710 22711 fi 22712fi 22713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 22714$as_echo_n "checking if $JAVA works... " >&6; } 22715if ${ac_cv_prog_java_works+:} false; then : 22716 $as_echo_n "(cached) " >&6 22717else 22718 22719JAVA_TEST=Test.java 22720CLASS_TEST=Test.class 22721TEST=Test 22722cat << \EOF > $JAVA_TEST 22723/* [#]line 22723 "configure" */ 22724public class Test { 22725public static void main (String args[]) { 22726 System.exit (0); 22727} } 22728EOF 22729if test x$ac_cv_prog_uudecode_base64 != xyes; then 22730 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 22731 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 22732 (eval $ac_try) 2>&5 22733 ac_status=$? 22734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22735 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 22736 : 22737 else 22738 echo "configure: failed program was:" >&5 22739 cat $JAVA_TEST >&5 22740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 22741$as_echo "$as_me: WARNING: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} 22742 fi 22743fi 22744# if we don't have a Java compiler installed, it's useless to check if Java 22745# works beacause a working javac is needed. 22746if test x$ac_cv_javac_supports_enums = xno; then 22747 ac_cv_prog_java_works=skipping 22748else 22749if { ac_try='$JAVA $JAVAFLAGS $TEST' 22750 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 22751 (eval $ac_try) 2>&5 22752 ac_status=$? 22753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 22754 test $ac_status = 0; }; } >/dev/null 2>&1; then 22755 ac_cv_prog_java_works=yes 22756else 22757 echo "configure: failed program was:" >&5 22758 cat $JAVA_TEST >&5 22759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5 22760$as_echo "$as_me: WARNING: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;} 22761 fi 22762fi 22763rm -fr $JAVA_TEST $CLASS_TEST Test.uue 22764 22765fi 22766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 22767$as_echo "$ac_cv_prog_java_works" >&6; } 22768 22769 22770fi 22771 22772 22773if test "x$JAVAPREFIX" = x; then 22774 test "x$JAR" = x && for ac_prog in jar$EXEEXT 22775do 22776 # Extract the first word of "$ac_prog", so it can be a program name with args. 22777set dummy $ac_prog; ac_word=$2 22778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22779$as_echo_n "checking for $ac_word... " >&6; } 22780if ${ac_cv_prog_JAR+:} false; then : 22781 $as_echo_n "(cached) " >&6 22782else 22783 if test -n "$JAR"; then 22784 ac_cv_prog_JAR="$JAR" # Let the user override the test. 22785else 22786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22787for as_dir in $PATH 22788do 22789 IFS=$as_save_IFS 22790 test -z "$as_dir" && as_dir=. 22791 for ac_exec_ext in '' $ac_executable_extensions; do 22792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22793 ac_cv_prog_JAR="$ac_prog" 22794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22795 break 2 22796 fi 22797done 22798 done 22799IFS=$as_save_IFS 22800 22801fi 22802fi 22803JAR=$ac_cv_prog_JAR 22804if test -n "$JAR"; then 22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5 22806$as_echo "$JAR" >&6; } 22807else 22808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22809$as_echo "no" >&6; } 22810fi 22811 22812 22813 test -n "$JAR" && break 22814done 22815test -n "$JAR" || JAR="no" 22816 22817else 22818 test "x$JAR" = x && for ac_prog in jar 22819do 22820 # Extract the first word of "$ac_prog", so it can be a program name with args. 22821set dummy $ac_prog; ac_word=$2 22822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22823$as_echo_n "checking for $ac_word... " >&6; } 22824if ${ac_cv_path_JAR+:} false; then : 22825 $as_echo_n "(cached) " >&6 22826else 22827 case $JAR in 22828 [\\/]* | ?:[\\/]*) 22829 ac_cv_path_JAR="$JAR" # Let the user override the test with a path. 22830 ;; 22831 *) 22832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22833for as_dir in $JAVAPREFIX 22834do 22835 IFS=$as_save_IFS 22836 test -z "$as_dir" && as_dir=. 22837 for ac_exec_ext in '' $ac_executable_extensions; do 22838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22839 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext" 22840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22841 break 2 22842 fi 22843done 22844 done 22845IFS=$as_save_IFS 22846 22847 ;; 22848esac 22849fi 22850JAR=$ac_cv_path_JAR 22851if test -n "$JAR"; then 22852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5 22853$as_echo "$JAR" >&6; } 22854else 22855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22856$as_echo "no" >&6; } 22857fi 22858 22859 22860 test -n "$JAR" && break 22861done 22862test -n "$JAR" || JAR="no" 22863 22864fi 22865test "x$JAR" = xno 22866 22867 22868ac_ext=cpp 22869ac_cpp='$CXXCPP $CPPFLAGS' 22870ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22871ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22872ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 22873ac_link="./libtool --mode=link --tag=CXX $ac_link" 22874if test "x$JAVAPREFIX" = x; then 22875 for ac_prog in javah 22876do 22877 # Extract the first word of "$ac_prog", so it can be a program name with args. 22878set dummy $ac_prog; ac_word=$2 22879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22880$as_echo_n "checking for $ac_word... " >&6; } 22881if ${ac_cv_prog_JAVAH+:} false; then : 22882 $as_echo_n "(cached) " >&6 22883else 22884 if test -n "$JAVAH"; then 22885 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test. 22886else 22887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22888for as_dir in $PATH 22889do 22890 IFS=$as_save_IFS 22891 test -z "$as_dir" && as_dir=. 22892 for ac_exec_ext in '' $ac_executable_extensions; do 22893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22894 ac_cv_prog_JAVAH="$ac_prog" 22895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22896 break 2 22897 fi 22898done 22899 done 22900IFS=$as_save_IFS 22901 22902fi 22903fi 22904JAVAH=$ac_cv_prog_JAVAH 22905if test -n "$JAVAH"; then 22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 22907$as_echo "$JAVAH" >&6; } 22908else 22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22910$as_echo "no" >&6; } 22911fi 22912 22913 22914 test -n "$JAVAH" && break 22915done 22916test -n "$JAVAH" || JAVAH="no" 22917 22918else 22919 for ac_prog in javah 22920do 22921 # Extract the first word of "$ac_prog", so it can be a program name with args. 22922set dummy $ac_prog; ac_word=$2 22923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 22924$as_echo_n "checking for $ac_word... " >&6; } 22925if ${ac_cv_path_JAVAH+:} false; then : 22926 $as_echo_n "(cached) " >&6 22927else 22928 case $JAVAH in 22929 [\\/]* | ?:[\\/]*) 22930 ac_cv_path_JAVAH="$JAVAH" # Let the user override the test with a path. 22931 ;; 22932 *) 22933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22934for as_dir in $JAVAPREFIX 22935do 22936 IFS=$as_save_IFS 22937 test -z "$as_dir" && as_dir=. 22938 for ac_exec_ext in '' $ac_executable_extensions; do 22939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 22940 ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext" 22941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 22942 break 2 22943 fi 22944done 22945 done 22946IFS=$as_save_IFS 22947 22948 ;; 22949esac 22950fi 22951JAVAH=$ac_cv_path_JAVAH 22952if test -n "$JAVAH"; then 22953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5 22954$as_echo "$JAVAH" >&6; } 22955else 22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22957$as_echo "no" >&6; } 22958fi 22959 22960 22961 test -n "$JAVAH" && break 22962done 22963test -n "$JAVAH" || JAVAH="no" 22964 22965fi 22966 22967if test x"`eval 'echo $ac_cv_path_JAVAH'`" != xno ; then 22968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22969/* end confdefs.h. */ 22970#include <jni.h> 22971_ACEOF 22972if ac_fn_cxx_try_cpp "$LINENO"; then : 22973 22974else 22975 22976 ac_save_CPPFLAGS="$CPPFLAGS" 22977 ac_dir=`echo $ac_cv_path_JAVAH | sed 's,\(.*\)/[^/]*/[^/]*$,\1/include,'` 22978 ac_machdep=`echo $build_os | sed 's,[-0-9].*,,' | sed 's,cygwin,win32,'` 22979 JNIFLAGS="-I$ac_dir -I$ac_dir/$ac_machdep" 22980 CPPFLAGS="$ac_save_CPPFLAGS $JNIFLAGS" 22981 22982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22983/* end confdefs.h. */ 22984#include <jni.h> 22985_ACEOF 22986if ac_fn_cxx_try_cpp "$LINENO"; then : 22987 CPPFLAGS="$ac_save_CPPFLAGS" 22988else 22989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to include <jni.h>" >&5 22990$as_echo "$as_me: WARNING: unable to include <jni.h>" >&2;} 22991 JAVAH=no 22992fi 22993rm -f conftest.err conftest.i conftest.$ac_ext 22994 CPPFLAGS="$ac_save_CPPFLAGS" 22995fi 22996rm -f conftest.err conftest.i conftest.$ac_ext 22997fi 22998ac_ext=cpp 22999ac_cpp='$CXXCPP $CPPFLAGS' 23000ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23001ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23002ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 23003ac_link="./libtool --mode=link --tag=CXX $ac_link" 23004 23005 23006 23007 ac_save_CPPFLAGS="$CPPFLAGS" 23008 CPPFLAGS="$CPPFLAGS $JNIFLAGS" 23009 ac_ext=cpp 23010ac_cpp='$CXXCPP $CPPFLAGS' 23011ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23012ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23013ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 23014ac_link="./libtool --mode=link --tag=CXX $ac_link" 23015 23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jlong can contain data pointers" >&5 23017$as_echo_n "checking whether jlong can contain data pointers... " >&6; } 23018 if test "$cross_compiling" = yes; then : 23019 ac_jlong_can_contain_pointers=no 23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming it cannot" >&5 23021$as_echo "assuming it cannot" >&6; } 23022else 23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23024/* end confdefs.h. */ 23025#include <jni.h> 23026 23027 int 23028 main() { 23029 if (sizeof(jlong) >= sizeof(void*)) 23030 return 0; 23031 else 23032 return 1; 23033 } 23034 23035_ACEOF 23036if ac_fn_cxx_try_run "$LINENO"; then : 23037 ac_jlong_can_contain_pointers=yes 23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 23039$as_echo "yes" >&6; } 23040else 23041 ac_jlong_can_contain_pointers=no 23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23043$as_echo "no" >&6; } 23044fi 23045rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 23046 conftest.$ac_objext conftest.beam conftest.$ac_ext 23047fi 23048 23049 ac_ext=cpp 23050ac_cpp='$CXXCPP $CPPFLAGS' 23051ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23052ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23053ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 23054ac_link="./libtool --mode=link --tag=CXX $ac_link" 23055 23056 CPPFLAGS="$ac_save_CPPFLAGS" 23057fi 23058 23059# In order to build the Java interface, it must be enabled and all the 23060# Java tools must be available. 23061if test x${java_interface_enabled} = xyes \ 23062&& test "x$JAVA" != xno \ 23063&& test "x$ac_cv_javac_supports_enums" != xno \ 23064&& test "x$JAR" != xno \ 23065&& test "x$JAVAH" != xno \ 23066&& test x${ac_jlong_can_contain_pointers} = xyes 23067then 23068 build_java_interface=yes 23069fi 23070 if test x$build_java_interface = xyes; then 23071 BUILD_JAVA_INTERFACE_TRUE= 23072 BUILD_JAVA_INTERFACE_FALSE='#' 23073else 23074 BUILD_JAVA_INTERFACE_TRUE='#' 23075 BUILD_JAVA_INTERFACE_FALSE= 23076fi 23077 23078 23079 23080# Allow to specify the ML GMP installation directory. 23081 23082# Check whether --with-mlgmp was given. 23083if test "${with_mlgmp+set}" = set; then : 23084 withval=$with_mlgmp; mlgmp_dir=$with_mlgmp 23085else 23086 mlgmp_dir=+gmp 23087fi 23088 23089 23090# Checks for OCaml. 23091if test x${ocaml_interface_enabled} = xyes 23092then 23093 # Detect which tools of the OCaml toolchain are available. 23094 # checking for ocamlc 23095 if test -n "$ac_tool_prefix"; then 23096 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args. 23097set dummy ${ac_tool_prefix}ocamlc; ac_word=$2 23098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23099$as_echo_n "checking for $ac_word... " >&6; } 23100if ${ac_cv_prog_OCAMLC+:} false; then : 23101 $as_echo_n "(cached) " >&6 23102else 23103 if test -n "$OCAMLC"; then 23104 ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test. 23105else 23106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23107for as_dir in $PATH 23108do 23109 IFS=$as_save_IFS 23110 test -z "$as_dir" && as_dir=. 23111 for ac_exec_ext in '' $ac_executable_extensions; do 23112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23113 ac_cv_prog_OCAMLC="${ac_tool_prefix}ocamlc" 23114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23115 break 2 23116 fi 23117done 23118 done 23119IFS=$as_save_IFS 23120 23121fi 23122fi 23123OCAMLC=$ac_cv_prog_OCAMLC 23124if test -n "$OCAMLC"; then 23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5 23126$as_echo "$OCAMLC" >&6; } 23127else 23128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23129$as_echo "no" >&6; } 23130fi 23131 23132 23133fi 23134if test -z "$ac_cv_prog_OCAMLC"; then 23135 ac_ct_OCAMLC=$OCAMLC 23136 # Extract the first word of "ocamlc", so it can be a program name with args. 23137set dummy ocamlc; ac_word=$2 23138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23139$as_echo_n "checking for $ac_word... " >&6; } 23140if ${ac_cv_prog_ac_ct_OCAMLC+:} false; then : 23141 $as_echo_n "(cached) " >&6 23142else 23143 if test -n "$ac_ct_OCAMLC"; then 23144 ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test. 23145else 23146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23147for as_dir in $PATH 23148do 23149 IFS=$as_save_IFS 23150 test -z "$as_dir" && as_dir=. 23151 for ac_exec_ext in '' $ac_executable_extensions; do 23152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23153 ac_cv_prog_ac_ct_OCAMLC="ocamlc" 23154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23155 break 2 23156 fi 23157done 23158 done 23159IFS=$as_save_IFS 23160 23161fi 23162fi 23163ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC 23164if test -n "$ac_ct_OCAMLC"; then 23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLC" >&5 23166$as_echo "$ac_ct_OCAMLC" >&6; } 23167else 23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23169$as_echo "no" >&6; } 23170fi 23171 23172 if test "x$ac_ct_OCAMLC" = x; then 23173 OCAMLC="no" 23174 else 23175 case $cross_compiling:$ac_tool_warned in 23176yes:) 23177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23179ac_tool_warned=yes ;; 23180esac 23181 OCAMLC=$ac_ct_OCAMLC 23182 fi 23183else 23184 OCAMLC="$ac_cv_prog_OCAMLC" 23185fi 23186 23187 23188 if test "$OCAMLC" != "no"; then 23189 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'` 23190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5 23191$as_echo "OCaml version is $OCAMLVERSION" >&6; } 23192 OCAMLLIB=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4` 23193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5 23194$as_echo "OCaml library path is $OCAMLLIB" >&6; } 23195 23196 23197 23198 23199 # checking for ocamlopt 23200 if test -n "$ac_tool_prefix"; then 23201 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args. 23202set dummy ${ac_tool_prefix}ocamlopt; ac_word=$2 23203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23204$as_echo_n "checking for $ac_word... " >&6; } 23205if ${ac_cv_prog_OCAMLOPT+:} false; then : 23206 $as_echo_n "(cached) " >&6 23207else 23208 if test -n "$OCAMLOPT"; then 23209 ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test. 23210else 23211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23212for as_dir in $PATH 23213do 23214 IFS=$as_save_IFS 23215 test -z "$as_dir" && as_dir=. 23216 for ac_exec_ext in '' $ac_executable_extensions; do 23217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23218 ac_cv_prog_OCAMLOPT="${ac_tool_prefix}ocamlopt" 23219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23220 break 2 23221 fi 23222done 23223 done 23224IFS=$as_save_IFS 23225 23226fi 23227fi 23228OCAMLOPT=$ac_cv_prog_OCAMLOPT 23229if test -n "$OCAMLOPT"; then 23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5 23231$as_echo "$OCAMLOPT" >&6; } 23232else 23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23234$as_echo "no" >&6; } 23235fi 23236 23237 23238fi 23239if test -z "$ac_cv_prog_OCAMLOPT"; then 23240 ac_ct_OCAMLOPT=$OCAMLOPT 23241 # Extract the first word of "ocamlopt", so it can be a program name with args. 23242set dummy ocamlopt; ac_word=$2 23243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23244$as_echo_n "checking for $ac_word... " >&6; } 23245if ${ac_cv_prog_ac_ct_OCAMLOPT+:} false; then : 23246 $as_echo_n "(cached) " >&6 23247else 23248 if test -n "$ac_ct_OCAMLOPT"; then 23249 ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test. 23250else 23251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23252for as_dir in $PATH 23253do 23254 IFS=$as_save_IFS 23255 test -z "$as_dir" && as_dir=. 23256 for ac_exec_ext in '' $ac_executable_extensions; do 23257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23258 ac_cv_prog_ac_ct_OCAMLOPT="ocamlopt" 23259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23260 break 2 23261 fi 23262done 23263 done 23264IFS=$as_save_IFS 23265 23266fi 23267fi 23268ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT 23269if test -n "$ac_ct_OCAMLOPT"; then 23270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPT" >&5 23271$as_echo "$ac_ct_OCAMLOPT" >&6; } 23272else 23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23274$as_echo "no" >&6; } 23275fi 23276 23277 if test "x$ac_ct_OCAMLOPT" = x; then 23278 OCAMLOPT="no" 23279 else 23280 case $cross_compiling:$ac_tool_warned in 23281yes:) 23282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23284ac_tool_warned=yes ;; 23285esac 23286 OCAMLOPT=$ac_ct_OCAMLOPT 23287 fi 23288else 23289 OCAMLOPT="$ac_cv_prog_OCAMLOPT" 23290fi 23291 23292 OCAMLBEST=byte 23293 if test "$OCAMLOPT" = "no"; then 23294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5 23295$as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;} 23296 else 23297 TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` 23298 if test "$TMPVERSION" != "$OCAMLVERSION" ; then 23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5 23300$as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; } 23301 OCAMLOPT=no 23302 else 23303 OCAMLBEST=opt 23304 fi 23305 fi 23306 23307 23308 23309 # checking for ocamlc.opt 23310 if test -n "$ac_tool_prefix"; then 23311 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args. 23312set dummy ${ac_tool_prefix}ocamlc.opt; ac_word=$2 23313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23314$as_echo_n "checking for $ac_word... " >&6; } 23315if ${ac_cv_prog_OCAMLCDOTOPT+:} false; then : 23316 $as_echo_n "(cached) " >&6 23317else 23318 if test -n "$OCAMLCDOTOPT"; then 23319 ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test. 23320else 23321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23322for as_dir in $PATH 23323do 23324 IFS=$as_save_IFS 23325 test -z "$as_dir" && as_dir=. 23326 for ac_exec_ext in '' $ac_executable_extensions; do 23327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23328 ac_cv_prog_OCAMLCDOTOPT="${ac_tool_prefix}ocamlc.opt" 23329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23330 break 2 23331 fi 23332done 23333 done 23334IFS=$as_save_IFS 23335 23336fi 23337fi 23338OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT 23339if test -n "$OCAMLCDOTOPT"; then 23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5 23341$as_echo "$OCAMLCDOTOPT" >&6; } 23342else 23343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23344$as_echo "no" >&6; } 23345fi 23346 23347 23348fi 23349if test -z "$ac_cv_prog_OCAMLCDOTOPT"; then 23350 ac_ct_OCAMLCDOTOPT=$OCAMLCDOTOPT 23351 # Extract the first word of "ocamlc.opt", so it can be a program name with args. 23352set dummy ocamlc.opt; ac_word=$2 23353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23354$as_echo_n "checking for $ac_word... " >&6; } 23355if ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+:} false; then : 23356 $as_echo_n "(cached) " >&6 23357else 23358 if test -n "$ac_ct_OCAMLCDOTOPT"; then 23359 ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test. 23360else 23361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23362for as_dir in $PATH 23363do 23364 IFS=$as_save_IFS 23365 test -z "$as_dir" && as_dir=. 23366 for ac_exec_ext in '' $ac_executable_extensions; do 23367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23368 ac_cv_prog_ac_ct_OCAMLCDOTOPT="ocamlc.opt" 23369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23370 break 2 23371 fi 23372done 23373 done 23374IFS=$as_save_IFS 23375 23376fi 23377fi 23378ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT 23379if test -n "$ac_ct_OCAMLCDOTOPT"; then 23380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLCDOTOPT" >&5 23381$as_echo "$ac_ct_OCAMLCDOTOPT" >&6; } 23382else 23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23384$as_echo "no" >&6; } 23385fi 23386 23387 if test "x$ac_ct_OCAMLCDOTOPT" = x; then 23388 OCAMLCDOTOPT="no" 23389 else 23390 case $cross_compiling:$ac_tool_warned in 23391yes:) 23392{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23393$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23394ac_tool_warned=yes ;; 23395esac 23396 OCAMLCDOTOPT=$ac_ct_OCAMLCDOTOPT 23397 fi 23398else 23399 OCAMLCDOTOPT="$ac_cv_prog_OCAMLCDOTOPT" 23400fi 23401 23402 if test "$OCAMLCDOTOPT" != "no"; then 23403 TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` 23404 if test "$TMPVERSION" != "$OCAMLVERSION" ; then 23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5 23406$as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; } 23407 else 23408 OCAMLC=$OCAMLCDOTOPT 23409 fi 23410 fi 23411 23412 # checking for ocamlopt.opt 23413 if test "$OCAMLOPT" != "no" ; then 23414 if test -n "$ac_tool_prefix"; then 23415 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args. 23416set dummy ${ac_tool_prefix}ocamlopt.opt; ac_word=$2 23417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23418$as_echo_n "checking for $ac_word... " >&6; } 23419if ${ac_cv_prog_OCAMLOPTDOTOPT+:} false; then : 23420 $as_echo_n "(cached) " >&6 23421else 23422 if test -n "$OCAMLOPTDOTOPT"; then 23423 ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test. 23424else 23425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23426for as_dir in $PATH 23427do 23428 IFS=$as_save_IFS 23429 test -z "$as_dir" && as_dir=. 23430 for ac_exec_ext in '' $ac_executable_extensions; do 23431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23432 ac_cv_prog_OCAMLOPTDOTOPT="${ac_tool_prefix}ocamlopt.opt" 23433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23434 break 2 23435 fi 23436done 23437 done 23438IFS=$as_save_IFS 23439 23440fi 23441fi 23442OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT 23443if test -n "$OCAMLOPTDOTOPT"; then 23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5 23445$as_echo "$OCAMLOPTDOTOPT" >&6; } 23446else 23447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23448$as_echo "no" >&6; } 23449fi 23450 23451 23452fi 23453if test -z "$ac_cv_prog_OCAMLOPTDOTOPT"; then 23454 ac_ct_OCAMLOPTDOTOPT=$OCAMLOPTDOTOPT 23455 # Extract the first word of "ocamlopt.opt", so it can be a program name with args. 23456set dummy ocamlopt.opt; ac_word=$2 23457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23458$as_echo_n "checking for $ac_word... " >&6; } 23459if ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+:} false; then : 23460 $as_echo_n "(cached) " >&6 23461else 23462 if test -n "$ac_ct_OCAMLOPTDOTOPT"; then 23463 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test. 23464else 23465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23466for as_dir in $PATH 23467do 23468 IFS=$as_save_IFS 23469 test -z "$as_dir" && as_dir=. 23470 for ac_exec_ext in '' $ac_executable_extensions; do 23471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23472 ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="ocamlopt.opt" 23473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23474 break 2 23475 fi 23476done 23477 done 23478IFS=$as_save_IFS 23479 23480fi 23481fi 23482ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT 23483if test -n "$ac_ct_OCAMLOPTDOTOPT"; then 23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLOPTDOTOPT" >&5 23485$as_echo "$ac_ct_OCAMLOPTDOTOPT" >&6; } 23486else 23487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23488$as_echo "no" >&6; } 23489fi 23490 23491 if test "x$ac_ct_OCAMLOPTDOTOPT" = x; then 23492 OCAMLOPTDOTOPT="no" 23493 else 23494 case $cross_compiling:$ac_tool_warned in 23495yes:) 23496{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23497$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23498ac_tool_warned=yes ;; 23499esac 23500 OCAMLOPTDOTOPT=$ac_ct_OCAMLOPTDOTOPT 23501 fi 23502else 23503 OCAMLOPTDOTOPT="$ac_cv_prog_OCAMLOPTDOTOPT" 23504fi 23505 23506 if test "$OCAMLOPTDOTOPT" != "no"; then 23507 TMPVERSION=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` 23508 if test "$TMPVERSION" != "$OCAMLVERSION" ; then 23509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5 23510$as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; } 23511 else 23512 OCAMLOPT=$OCAMLOPTDOTOPT 23513 fi 23514 fi 23515 fi 23516 23517 23518 fi 23519 23520 23521 23522 # checking for ocamldep 23523 if test -n "$ac_tool_prefix"; then 23524 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args. 23525set dummy ${ac_tool_prefix}ocamldep; ac_word=$2 23526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23527$as_echo_n "checking for $ac_word... " >&6; } 23528if ${ac_cv_prog_OCAMLDEP+:} false; then : 23529 $as_echo_n "(cached) " >&6 23530else 23531 if test -n "$OCAMLDEP"; then 23532 ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test. 23533else 23534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23535for as_dir in $PATH 23536do 23537 IFS=$as_save_IFS 23538 test -z "$as_dir" && as_dir=. 23539 for ac_exec_ext in '' $ac_executable_extensions; do 23540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23541 ac_cv_prog_OCAMLDEP="${ac_tool_prefix}ocamldep" 23542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23543 break 2 23544 fi 23545done 23546 done 23547IFS=$as_save_IFS 23548 23549fi 23550fi 23551OCAMLDEP=$ac_cv_prog_OCAMLDEP 23552if test -n "$OCAMLDEP"; then 23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5 23554$as_echo "$OCAMLDEP" >&6; } 23555else 23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23557$as_echo "no" >&6; } 23558fi 23559 23560 23561fi 23562if test -z "$ac_cv_prog_OCAMLDEP"; then 23563 ac_ct_OCAMLDEP=$OCAMLDEP 23564 # Extract the first word of "ocamldep", so it can be a program name with args. 23565set dummy ocamldep; ac_word=$2 23566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23567$as_echo_n "checking for $ac_word... " >&6; } 23568if ${ac_cv_prog_ac_ct_OCAMLDEP+:} false; then : 23569 $as_echo_n "(cached) " >&6 23570else 23571 if test -n "$ac_ct_OCAMLDEP"; then 23572 ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test. 23573else 23574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23575for as_dir in $PATH 23576do 23577 IFS=$as_save_IFS 23578 test -z "$as_dir" && as_dir=. 23579 for ac_exec_ext in '' $ac_executable_extensions; do 23580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23581 ac_cv_prog_ac_ct_OCAMLDEP="ocamldep" 23582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23583 break 2 23584 fi 23585done 23586 done 23587IFS=$as_save_IFS 23588 23589fi 23590fi 23591ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP 23592if test -n "$ac_ct_OCAMLDEP"; then 23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDEP" >&5 23594$as_echo "$ac_ct_OCAMLDEP" >&6; } 23595else 23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23597$as_echo "no" >&6; } 23598fi 23599 23600 if test "x$ac_ct_OCAMLDEP" = x; then 23601 OCAMLDEP="no" 23602 else 23603 case $cross_compiling:$ac_tool_warned in 23604yes:) 23605{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23606$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23607ac_tool_warned=yes ;; 23608esac 23609 OCAMLDEP=$ac_ct_OCAMLDEP 23610 fi 23611else 23612 OCAMLDEP="$ac_cv_prog_OCAMLDEP" 23613fi 23614 23615 23616 # checking for ocamlmktop 23617 if test -n "$ac_tool_prefix"; then 23618 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args. 23619set dummy ${ac_tool_prefix}ocamlmktop; ac_word=$2 23620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23621$as_echo_n "checking for $ac_word... " >&6; } 23622if ${ac_cv_prog_OCAMLMKTOP+:} false; then : 23623 $as_echo_n "(cached) " >&6 23624else 23625 if test -n "$OCAMLMKTOP"; then 23626 ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test. 23627else 23628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23629for as_dir in $PATH 23630do 23631 IFS=$as_save_IFS 23632 test -z "$as_dir" && as_dir=. 23633 for ac_exec_ext in '' $ac_executable_extensions; do 23634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23635 ac_cv_prog_OCAMLMKTOP="${ac_tool_prefix}ocamlmktop" 23636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23637 break 2 23638 fi 23639done 23640 done 23641IFS=$as_save_IFS 23642 23643fi 23644fi 23645OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP 23646if test -n "$OCAMLMKTOP"; then 23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5 23648$as_echo "$OCAMLMKTOP" >&6; } 23649else 23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23651$as_echo "no" >&6; } 23652fi 23653 23654 23655fi 23656if test -z "$ac_cv_prog_OCAMLMKTOP"; then 23657 ac_ct_OCAMLMKTOP=$OCAMLMKTOP 23658 # Extract the first word of "ocamlmktop", so it can be a program name with args. 23659set dummy ocamlmktop; ac_word=$2 23660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23661$as_echo_n "checking for $ac_word... " >&6; } 23662if ${ac_cv_prog_ac_ct_OCAMLMKTOP+:} false; then : 23663 $as_echo_n "(cached) " >&6 23664else 23665 if test -n "$ac_ct_OCAMLMKTOP"; then 23666 ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test. 23667else 23668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23669for as_dir in $PATH 23670do 23671 IFS=$as_save_IFS 23672 test -z "$as_dir" && as_dir=. 23673 for ac_exec_ext in '' $ac_executable_extensions; do 23674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23675 ac_cv_prog_ac_ct_OCAMLMKTOP="ocamlmktop" 23676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23677 break 2 23678 fi 23679done 23680 done 23681IFS=$as_save_IFS 23682 23683fi 23684fi 23685ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP 23686if test -n "$ac_ct_OCAMLMKTOP"; then 23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKTOP" >&5 23688$as_echo "$ac_ct_OCAMLMKTOP" >&6; } 23689else 23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23691$as_echo "no" >&6; } 23692fi 23693 23694 if test "x$ac_ct_OCAMLMKTOP" = x; then 23695 OCAMLMKTOP="no" 23696 else 23697 case $cross_compiling:$ac_tool_warned in 23698yes:) 23699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23701ac_tool_warned=yes ;; 23702esac 23703 OCAMLMKTOP=$ac_ct_OCAMLMKTOP 23704 fi 23705else 23706 OCAMLMKTOP="$ac_cv_prog_OCAMLMKTOP" 23707fi 23708 23709 23710 # checking for ocamlmklib 23711 if test -n "$ac_tool_prefix"; then 23712 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args. 23713set dummy ${ac_tool_prefix}ocamlmklib; ac_word=$2 23714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23715$as_echo_n "checking for $ac_word... " >&6; } 23716if ${ac_cv_prog_OCAMLMKLIB+:} false; then : 23717 $as_echo_n "(cached) " >&6 23718else 23719 if test -n "$OCAMLMKLIB"; then 23720 ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test. 23721else 23722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23723for as_dir in $PATH 23724do 23725 IFS=$as_save_IFS 23726 test -z "$as_dir" && as_dir=. 23727 for ac_exec_ext in '' $ac_executable_extensions; do 23728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23729 ac_cv_prog_OCAMLMKLIB="${ac_tool_prefix}ocamlmklib" 23730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23731 break 2 23732 fi 23733done 23734 done 23735IFS=$as_save_IFS 23736 23737fi 23738fi 23739OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB 23740if test -n "$OCAMLMKLIB"; then 23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5 23742$as_echo "$OCAMLMKLIB" >&6; } 23743else 23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23745$as_echo "no" >&6; } 23746fi 23747 23748 23749fi 23750if test -z "$ac_cv_prog_OCAMLMKLIB"; then 23751 ac_ct_OCAMLMKLIB=$OCAMLMKLIB 23752 # Extract the first word of "ocamlmklib", so it can be a program name with args. 23753set dummy ocamlmklib; ac_word=$2 23754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23755$as_echo_n "checking for $ac_word... " >&6; } 23756if ${ac_cv_prog_ac_ct_OCAMLMKLIB+:} false; then : 23757 $as_echo_n "(cached) " >&6 23758else 23759 if test -n "$ac_ct_OCAMLMKLIB"; then 23760 ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test. 23761else 23762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23763for as_dir in $PATH 23764do 23765 IFS=$as_save_IFS 23766 test -z "$as_dir" && as_dir=. 23767 for ac_exec_ext in '' $ac_executable_extensions; do 23768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23769 ac_cv_prog_ac_ct_OCAMLMKLIB="ocamlmklib" 23770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23771 break 2 23772 fi 23773done 23774 done 23775IFS=$as_save_IFS 23776 23777fi 23778fi 23779ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB 23780if test -n "$ac_ct_OCAMLMKLIB"; then 23781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLMKLIB" >&5 23782$as_echo "$ac_ct_OCAMLMKLIB" >&6; } 23783else 23784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23785$as_echo "no" >&6; } 23786fi 23787 23788 if test "x$ac_ct_OCAMLMKLIB" = x; then 23789 OCAMLMKLIB="no" 23790 else 23791 case $cross_compiling:$ac_tool_warned in 23792yes:) 23793{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23794$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23795ac_tool_warned=yes ;; 23796esac 23797 OCAMLMKLIB=$ac_ct_OCAMLMKLIB 23798 fi 23799else 23800 OCAMLMKLIB="$ac_cv_prog_OCAMLMKLIB" 23801fi 23802 23803 23804 # checking for ocamldoc 23805 if test -n "$ac_tool_prefix"; then 23806 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args. 23807set dummy ${ac_tool_prefix}ocamldoc; ac_word=$2 23808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23809$as_echo_n "checking for $ac_word... " >&6; } 23810if ${ac_cv_prog_OCAMLDOC+:} false; then : 23811 $as_echo_n "(cached) " >&6 23812else 23813 if test -n "$OCAMLDOC"; then 23814 ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test. 23815else 23816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23817for as_dir in $PATH 23818do 23819 IFS=$as_save_IFS 23820 test -z "$as_dir" && as_dir=. 23821 for ac_exec_ext in '' $ac_executable_extensions; do 23822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23823 ac_cv_prog_OCAMLDOC="${ac_tool_prefix}ocamldoc" 23824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23825 break 2 23826 fi 23827done 23828 done 23829IFS=$as_save_IFS 23830 23831fi 23832fi 23833OCAMLDOC=$ac_cv_prog_OCAMLDOC 23834if test -n "$OCAMLDOC"; then 23835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5 23836$as_echo "$OCAMLDOC" >&6; } 23837else 23838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23839$as_echo "no" >&6; } 23840fi 23841 23842 23843fi 23844if test -z "$ac_cv_prog_OCAMLDOC"; then 23845 ac_ct_OCAMLDOC=$OCAMLDOC 23846 # Extract the first word of "ocamldoc", so it can be a program name with args. 23847set dummy ocamldoc; ac_word=$2 23848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23849$as_echo_n "checking for $ac_word... " >&6; } 23850if ${ac_cv_prog_ac_ct_OCAMLDOC+:} false; then : 23851 $as_echo_n "(cached) " >&6 23852else 23853 if test -n "$ac_ct_OCAMLDOC"; then 23854 ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test. 23855else 23856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23857for as_dir in $PATH 23858do 23859 IFS=$as_save_IFS 23860 test -z "$as_dir" && as_dir=. 23861 for ac_exec_ext in '' $ac_executable_extensions; do 23862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23863 ac_cv_prog_ac_ct_OCAMLDOC="ocamldoc" 23864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23865 break 2 23866 fi 23867done 23868 done 23869IFS=$as_save_IFS 23870 23871fi 23872fi 23873ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC 23874if test -n "$ac_ct_OCAMLDOC"; then 23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLDOC" >&5 23876$as_echo "$ac_ct_OCAMLDOC" >&6; } 23877else 23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23879$as_echo "no" >&6; } 23880fi 23881 23882 if test "x$ac_ct_OCAMLDOC" = x; then 23883 OCAMLDOC="no" 23884 else 23885 case $cross_compiling:$ac_tool_warned in 23886yes:) 23887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23889ac_tool_warned=yes ;; 23890esac 23891 OCAMLDOC=$ac_ct_OCAMLDOC 23892 fi 23893else 23894 OCAMLDOC="$ac_cv_prog_OCAMLDOC" 23895fi 23896 23897 23898 # checking for ocamlbuild 23899 if test -n "$ac_tool_prefix"; then 23900 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args. 23901set dummy ${ac_tool_prefix}ocamlbuild; ac_word=$2 23902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23903$as_echo_n "checking for $ac_word... " >&6; } 23904if ${ac_cv_prog_OCAMLBUILD+:} false; then : 23905 $as_echo_n "(cached) " >&6 23906else 23907 if test -n "$OCAMLBUILD"; then 23908 ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test. 23909else 23910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23911for as_dir in $PATH 23912do 23913 IFS=$as_save_IFS 23914 test -z "$as_dir" && as_dir=. 23915 for ac_exec_ext in '' $ac_executable_extensions; do 23916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23917 ac_cv_prog_OCAMLBUILD="${ac_tool_prefix}ocamlbuild" 23918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23919 break 2 23920 fi 23921done 23922 done 23923IFS=$as_save_IFS 23924 23925fi 23926fi 23927OCAMLBUILD=$ac_cv_prog_OCAMLBUILD 23928if test -n "$OCAMLBUILD"; then 23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5 23930$as_echo "$OCAMLBUILD" >&6; } 23931else 23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23933$as_echo "no" >&6; } 23934fi 23935 23936 23937fi 23938if test -z "$ac_cv_prog_OCAMLBUILD"; then 23939 ac_ct_OCAMLBUILD=$OCAMLBUILD 23940 # Extract the first word of "ocamlbuild", so it can be a program name with args. 23941set dummy ocamlbuild; ac_word=$2 23942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 23943$as_echo_n "checking for $ac_word... " >&6; } 23944if ${ac_cv_prog_ac_ct_OCAMLBUILD+:} false; then : 23945 $as_echo_n "(cached) " >&6 23946else 23947 if test -n "$ac_ct_OCAMLBUILD"; then 23948 ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test. 23949else 23950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23951for as_dir in $PATH 23952do 23953 IFS=$as_save_IFS 23954 test -z "$as_dir" && as_dir=. 23955 for ac_exec_ext in '' $ac_executable_extensions; do 23956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23957 ac_cv_prog_ac_ct_OCAMLBUILD="ocamlbuild" 23958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 23959 break 2 23960 fi 23961done 23962 done 23963IFS=$as_save_IFS 23964 23965fi 23966fi 23967ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD 23968if test -n "$ac_ct_OCAMLBUILD"; then 23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OCAMLBUILD" >&5 23970$as_echo "$ac_ct_OCAMLBUILD" >&6; } 23971else 23972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23973$as_echo "no" >&6; } 23974fi 23975 23976 if test "x$ac_ct_OCAMLBUILD" = x; then 23977 OCAMLBUILD="no" 23978 else 23979 case $cross_compiling:$ac_tool_warned in 23980yes:) 23981{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 23982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 23983ac_tool_warned=yes ;; 23984esac 23985 OCAMLBUILD=$ac_ct_OCAMLBUILD 23986 fi 23987else 23988 OCAMLBUILD="$ac_cv_prog_OCAMLBUILD" 23989fi 23990 23991 23992 if test x"$OCAMLC" != xno 23993 then 23994 # Check for the bytecode version of ML GMP. 23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ML GMP bytecode module gmp.cma" >&5 23996$as_echo_n "checking for ML GMP bytecode module gmp.cma... " >&6; } 23997 if ( test ${mlgmp_dir} = +gmp && test -f ${OCAMLLIB}/gmp/gmp.cma ) \ 23998 || test -f ${mlgmp_dir}/gmp.cma; 23999 then 24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24001$as_echo "yes" >&6; } 24002 ocamlc_gmp="yes" 24003 else 24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24005$as_echo "no" >&6; } 24006 ocamlc_gmp="no" 24007 fi 24008 if test x"$OCAMLOPT" != xno 24009 then 24010 ocamlopt_root=`${OCAMLOPT} -where` 24011 # Check for the native version of ML GMP. 24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ML GMP native module gmp.cmxa" >&5 24013$as_echo_n "checking for ML GMP native module gmp.cmxa... " >&6; } 24014 if ( test ${mlgmp_dir} = +gmp && test -f ${ocamlopt_root}/gmp/gmp.cmxa ) \ 24015 || test -f ${mlgmp_dir}/gmp.cmxa; 24016 then 24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24018$as_echo "yes" >&6; } 24019 ocamlopt_gmp="yes" 24020 else 24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24022$as_echo "no" >&6; } 24023 ocamlopt_gmp="no" 24024 fi 24025 fi 24026 fi 24027fi 24028 if test x$ocamlc_gmp = xyes; then 24029 HAVE_OCAMLC_TRUE= 24030 HAVE_OCAMLC_FALSE='#' 24031else 24032 HAVE_OCAMLC_TRUE='#' 24033 HAVE_OCAMLC_FALSE= 24034fi 24035 24036 if test x$ocamlopt_gmp = xyes; then 24037 HAVE_OCAMLOPT_TRUE= 24038 HAVE_OCAMLOPT_FALSE='#' 24039else 24040 HAVE_OCAMLOPT_TRUE='#' 24041 HAVE_OCAMLOPT_FALSE= 24042fi 24043 24044 24045if test x${ocaml_interface_enabled} = xyes \ 24046&& (test x$ocamlc_gmp = xyes || test x$ocamlopt_gmp = xyes) 24047then 24048 build_ocaml_interface=yes 24049fi 24050 if test x$build_ocaml_interface = xyes; then 24051 BUILD_OCAML_INTERFACE_TRUE= 24052 BUILD_OCAML_INTERFACE_FALSE='#' 24053else 24054 BUILD_OCAML_INTERFACE_TRUE='#' 24055 BUILD_OCAML_INTERFACE_FALSE= 24056fi 24057 24058 24059# Checks for Ciao Prolog. 24060if test x${ciao_prolog_interface_enabled} = xyes 24061then 24062 24063# Extract the first word of "ciao", so it can be a program name with args. 24064set dummy ciao; ac_word=$2 24065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24066$as_echo_n "checking for $ac_word... " >&6; } 24067if ${ac_cv_path_ciao_prolog+:} false; then : 24068 $as_echo_n "(cached) " >&6 24069else 24070 case $ciao_prolog in 24071 [\\/]* | ?:[\\/]*) 24072 ac_cv_path_ciao_prolog="$ciao_prolog" # Let the user override the test with a path. 24073 ;; 24074 *) 24075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24076for as_dir in $PATH 24077do 24078 IFS=$as_save_IFS 24079 test -z "$as_dir" && as_dir=. 24080 for ac_exec_ext in '' $ac_executable_extensions; do 24081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24082 ac_cv_path_ciao_prolog="$as_dir/$ac_word$ac_exec_ext" 24083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24084 break 2 24085 fi 24086done 24087 done 24088IFS=$as_save_IFS 24089 24090 ;; 24091esac 24092fi 24093ciao_prolog=$ac_cv_path_ciao_prolog 24094if test -n "$ciao_prolog"; then 24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ciao_prolog" >&5 24096$as_echo "$ciao_prolog" >&6; } 24097else 24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24099$as_echo "no" >&6; } 24100fi 24101 24102 24103if test x$ciao_prolog != x 24104then 24105 # Create a temporary directory $tmp in $TMPDIR (default /tmp). 24106 # Use mktemp if possible; otherwise fall back on mkdir, 24107 # with $RANDOM to make collisions less likely. 24108 : ${TMPDIR=/tmp} 24109 { 24110 tmp=` 24111 (umask 077 && mktemp -d "$TMPDIR/ppl_ciao_XXXXXX") 2>/dev/null 24112 ` && 24113 test -n "$tmp" && test -d "$tmp" 24114 } || { 24115 tmp=$TMPDIR/ppl_ciao_$$-$RANDOM 24116 (umask 077 && mkdir "$tmp") 24117 } || exit $? 24118 cat >$tmp/print_include_dir.pl <<_CIAO_PRINT_INCLUDE_DIR_EOF 24119main(_) :- 24120 ciaolibdir(Lib_Dir), 24121 get_os(Os), 24122 get_arch(Arch), 24123 format("~p/include/~p~p", [Lib_Dir, Os, Arch]). 24124_CIAO_PRINT_INCLUDE_DIR_EOF 24125 ciao_prolog_include_dir=`$ciao_prolog $tmp/print_include_dir.pl` 24126 rm -rf $tmp 24127 24128 CIAO_PROLOG_INCLUDE_OPTIONS="-I${ciao_prolog_include_dir}" 24129 24130 ac_save_CPPFLAGS="$CPPFLAGS" 24131 CPPFLAGS="$CPPFLAGS $CIAO_PROLOG_INCLUDE_OPTIONS" 24132 ac_ext=cpp 24133ac_cpp='$CXXCPP $CPPFLAGS' 24134ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24135ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24136ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24137ac_link="./libtool --mode=link --tag=CXX $ac_link" 24138 24139 ac_fn_cxx_check_header_mongrel "$LINENO" "ciao_prolog.h" "ac_cv_header_ciao_prolog_h" "$ac_includes_default" 24140if test "x$ac_cv_header_ciao_prolog_h" = xyes; then : 24141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ciao Prolog version x.y.z or later" >&5 24142$as_echo_n "checking for Ciao Prolog version x.y.z or later... " >&6; } 24143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24144/* end confdefs.h. */ 24145 24146#include <ciao_prolog.h> 24147 24148int 24149main() { 24150 return 0; 24151} 24152 24153_ACEOF 24154if ac_fn_cxx_try_compile "$LINENO"; then : 24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24156$as_echo "yes" >&6; } 24157else 24158 ciao_prolog="" 24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24160$as_echo "no" >&6; } 24161 24162fi 24163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24164else 24165 ciao_prolog="" 24166fi 24167 24168 24169 24170 24171 ac_ext=cpp 24172ac_cpp='$CXXCPP $CPPFLAGS' 24173ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24174ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24175ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24176ac_link="./libtool --mode=link --tag=CXX $ac_link" 24177 24178 CPPFLAGS="$ac_save_CPPFLAGS" 24179 CIAO_PROLOG="$ciao_prolog" 24180 24181 24182 fi 24183 24184if test x$ciao_prolog != x 24185then 24186 have_ciao_prolog=yes 24187else 24188 have_ciao_prolog=no 24189fi 24190 24191fi 24192 24193if test x${ciao_prolog_interface_enabled} = xyes \ 24194&& test x$have_ciao_prolog = xyes 24195then 24196 build_ciao_prolog_interface=yes 24197fi 24198 if test x$build_ciao_prolog_interface = xyes; then 24199 BUILD_CIAO_PROLOG_INTERFACE_TRUE= 24200 BUILD_CIAO_PROLOG_INTERFACE_FALSE='#' 24201else 24202 BUILD_CIAO_PROLOG_INTERFACE_TRUE='#' 24203 BUILD_CIAO_PROLOG_INTERFACE_FALSE= 24204fi 24205 24206 24207# Checks for GNU Prolog. 24208if test x${gnu_prolog_interface_enabled} = xyes 24209then 24210 # Extract the first word of "gprolog", so it can be a program name with args. 24211set dummy gprolog; ac_word=$2 24212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24213$as_echo_n "checking for $ac_word... " >&6; } 24214if ${ac_cv_prog_GNU_PROLOG+:} false; then : 24215 $as_echo_n "(cached) " >&6 24216else 24217 if test -n "$GNU_PROLOG"; then 24218 ac_cv_prog_GNU_PROLOG="$GNU_PROLOG" # Let the user override the test. 24219else 24220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24221for as_dir in $PATH 24222do 24223 IFS=$as_save_IFS 24224 test -z "$as_dir" && as_dir=. 24225 for ac_exec_ext in '' $ac_executable_extensions; do 24226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24227 ac_cv_prog_GNU_PROLOG="gprolog" 24228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24229 break 2 24230 fi 24231done 24232 done 24233IFS=$as_save_IFS 24234 24235fi 24236fi 24237GNU_PROLOG=$ac_cv_prog_GNU_PROLOG 24238if test -n "$GNU_PROLOG"; then 24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_PROLOG" >&5 24240$as_echo "$GNU_PROLOG" >&6; } 24241else 24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24243$as_echo "no" >&6; } 24244fi 24245 24246 24247 if test x"$GNU_PROLOG" = xgprolog 24248 then 24249 ac_fn_cxx_check_header_mongrel "$LINENO" "gprolog.h" "ac_cv_header_gprolog_h" "$ac_includes_default" 24250if test "x$ac_cv_header_gprolog_h" = xyes; then : 24251 24252else 24253 GNU_PROLOG="" 24254fi 24255 24256 24257 fi 24258fi 24259 24260if test x${gnu_prolog_interface_enabled} = xyes \ 24261&& test x$GNU_PROLOG = xgprolog 24262then 24263 build_gnu_prolog_interface=yes 24264fi 24265 if test x$build_gnu_prolog_interface = xyes; then 24266 BUILD_GNU_PROLOG_INTERFACE_TRUE= 24267 BUILD_GNU_PROLOG_INTERFACE_FALSE='#' 24268else 24269 BUILD_GNU_PROLOG_INTERFACE_TRUE='#' 24270 BUILD_GNU_PROLOG_INTERFACE_FALSE= 24271fi 24272 24273 24274# Checks for SICStus. 24275if test x${sicstus_prolog_interface_enabled} = xyes 24276then 24277 24278# Extract the first word of "sicstus", so it can be a program name with args. 24279set dummy sicstus; ac_word=$2 24280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24281$as_echo_n "checking for $ac_word... " >&6; } 24282if ${ac_cv_path_sicstus_prolog+:} false; then : 24283 $as_echo_n "(cached) " >&6 24284else 24285 case $sicstus_prolog in 24286 [\\/]* | ?:[\\/]*) 24287 ac_cv_path_sicstus_prolog="$sicstus_prolog" # Let the user override the test with a path. 24288 ;; 24289 *) 24290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24291for as_dir in $PATH 24292do 24293 IFS=$as_save_IFS 24294 test -z "$as_dir" && as_dir=. 24295 for ac_exec_ext in '' $ac_executable_extensions; do 24296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24297 ac_cv_path_sicstus_prolog="$as_dir/$ac_word$ac_exec_ext" 24298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24299 break 2 24300 fi 24301done 24302 done 24303IFS=$as_save_IFS 24304 24305 ;; 24306esac 24307fi 24308sicstus_prolog=$ac_cv_path_sicstus_prolog 24309if test -n "$sicstus_prolog"; then 24310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sicstus_prolog" >&5 24311$as_echo "$sicstus_prolog" >&6; } 24312else 24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24314$as_echo "no" >&6; } 24315fi 24316 24317 24318if test x$sicstus_prolog != x 24319then 24320 sicstus_prolog_app_dir=`$sicstus_prolog -f --goal "use_module(library(system)), environ('SP_APP_DIR', X), write(X), nl, halt."` 24321 sicstus_prolog_base=`dirname $sicstus_prolog_app_dir` 24322 SICSTUS_PROLOG_INCLUDE_OPTIONS="-I${sicstus_prolog_base}/include" 24323 ac_save_CPPFLAGS="$CPPFLAGS" 24324 CPPFLAGS="$CPPFLAGS $SICSTUS_PROLOG_INCLUDE_OPTIONS" 24325 ac_ext=cpp 24326ac_cpp='$CXXCPP $CPPFLAGS' 24327ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24328ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24329ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24330ac_link="./libtool --mode=link --tag=CXX $ac_link" 24331 24332 # We require SICStus Prolog 3.9.1 or later. 24333 ac_fn_cxx_check_header_mongrel "$LINENO" "sicstus/sicstus.h" "ac_cv_header_sicstus_sicstus_h" "$ac_includes_default" 24334if test "x$ac_cv_header_sicstus_sicstus_h" = xyes; then : 24335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SICStus version 3.9.1 or later" >&5 24336$as_echo_n "checking for SICStus version 3.9.1 or later... " >&6; } 24337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24338/* end confdefs.h. */ 24339 24340 #include <sicstus/sicstus.h> 24341 #if SICSTUS_MAJOR_VERSION > 3 || (SICSTUS_MAJOR_VERSION == 3 && SICSTUS_MINOR_VERSION > 9) || (SICSTUS_MAJOR_VERSION == 3 && SICSTUS_MINOR_VERSION == 9 && SICSTUS_REVISION_VERSION >= 1) 24342 yes 24343 #endif 24344 24345_ACEOF 24346if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 24347 $EGREP "yes" >/dev/null 2>&1; then : 24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24349$as_echo "yes" >&6; } 24350else 24351 sicstus_prolog="" 24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24353$as_echo "no" >&6; } 24354 24355fi 24356rm -f conftest* 24357 24358else 24359 sicstus_prolog="" 24360fi 24361 24362 24363 ac_ext=cpp 24364ac_cpp='$CXXCPP $CPPFLAGS' 24365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24368ac_link="./libtool --mode=link --tag=CXX $ac_link" 24369 24370 CPPFLAGS="$ac_save_CPPFLAGS" 24371 24372fi 24373 24374if test x$sicstus_prolog != x 24375then 24376 have_sicstus_prolog=yes 24377else 24378 have_sicstus_prolog=no 24379fi 24380 24381fi 24382 24383if test x${sicstus_prolog_interface_enabled} = xyes \ 24384&& test x$have_sicstus_prolog = xyes 24385then 24386 build_sicstus_prolog_interface=yes 24387fi 24388 if test x$build_sicstus_prolog_interface = xyes; then 24389 BUILD_SICSTUS_PROLOG_INTERFACE_TRUE= 24390 BUILD_SICSTUS_PROLOG_INTERFACE_FALSE='#' 24391else 24392 BUILD_SICSTUS_PROLOG_INTERFACE_TRUE='#' 24393 BUILD_SICSTUS_PROLOG_INTERFACE_FALSE= 24394fi 24395 24396 24397# Checks for SWI-Prolog. 24398if test x${swi_prolog_interface_enabled} = xyes 24399then 24400 24401 24402# Extract the first word of "swipl$EXEEXT", so it can be a program name with args. 24403set dummy swipl$EXEEXT; ac_word=$2 24404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24405$as_echo_n "checking for $ac_word... " >&6; } 24406if ${ac_cv_path_swi_prolog+:} false; then : 24407 $as_echo_n "(cached) " >&6 24408else 24409 case $swi_prolog in 24410 [\\/]* | ?:[\\/]*) 24411 ac_cv_path_swi_prolog="$swi_prolog" # Let the user override the test with a path. 24412 ;; 24413 *) 24414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24415for as_dir in $PATH 24416do 24417 IFS=$as_save_IFS 24418 test -z "$as_dir" && as_dir=. 24419 for ac_exec_ext in '' $ac_executable_extensions; do 24420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24421 ac_cv_path_swi_prolog="$as_dir/$ac_word$ac_exec_ext" 24422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24423 break 2 24424 fi 24425done 24426 done 24427IFS=$as_save_IFS 24428 24429 ;; 24430esac 24431fi 24432swi_prolog=$ac_cv_path_swi_prolog 24433if test -n "$swi_prolog"; then 24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog" >&5 24435$as_echo "$swi_prolog" >&6; } 24436else 24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24438$as_echo "no" >&6; } 24439fi 24440 24441 24442if test -z $swi_prolog 24443then 24444 # Extract the first word of "swi-prolog$EXEEXT", so it can be a program name with args. 24445set dummy swi-prolog$EXEEXT; ac_word=$2 24446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24447$as_echo_n "checking for $ac_word... " >&6; } 24448if ${ac_cv_path_swi_prolog+:} false; then : 24449 $as_echo_n "(cached) " >&6 24450else 24451 case $swi_prolog in 24452 [\\/]* | ?:[\\/]*) 24453 ac_cv_path_swi_prolog="$swi_prolog" # Let the user override the test with a path. 24454 ;; 24455 *) 24456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24457for as_dir in $PATH 24458do 24459 IFS=$as_save_IFS 24460 test -z "$as_dir" && as_dir=. 24461 for ac_exec_ext in '' $ac_executable_extensions; do 24462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24463 ac_cv_path_swi_prolog="$as_dir/$ac_word$ac_exec_ext" 24464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24465 break 2 24466 fi 24467done 24468 done 24469IFS=$as_save_IFS 24470 24471 ;; 24472esac 24473fi 24474swi_prolog=$ac_cv_path_swi_prolog 24475if test -n "$swi_prolog"; then 24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog" >&5 24477$as_echo "$swi_prolog" >&6; } 24478else 24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24480$as_echo "no" >&6; } 24481fi 24482 24483 24484 if test -z $swi_prolog 24485 then 24486 # Extract the first word of "pl$EXEEXT", so it can be a program name with args. 24487set dummy pl$EXEEXT; ac_word=$2 24488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24489$as_echo_n "checking for $ac_word... " >&6; } 24490if ${ac_cv_path_swi_prolog+:} false; then : 24491 $as_echo_n "(cached) " >&6 24492else 24493 case $swi_prolog in 24494 [\\/]* | ?:[\\/]*) 24495 ac_cv_path_swi_prolog="$swi_prolog" # Let the user override the test with a path. 24496 ;; 24497 *) 24498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24499for as_dir in $PATH 24500do 24501 IFS=$as_save_IFS 24502 test -z "$as_dir" && as_dir=. 24503 for ac_exec_ext in '' $ac_executable_extensions; do 24504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24505 ac_cv_path_swi_prolog="$as_dir/$ac_word$ac_exec_ext" 24506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24507 break 2 24508 fi 24509done 24510 done 24511IFS=$as_save_IFS 24512 24513 ;; 24514esac 24515fi 24516swi_prolog=$ac_cv_path_swi_prolog 24517if test -n "$swi_prolog"; then 24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog" >&5 24519$as_echo "$swi_prolog" >&6; } 24520else 24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24522$as_echo "no" >&6; } 24523fi 24524 24525 24526 if test -z $swi_prolog 24527 then 24528 # Extract the first word of "plcon$EXEEXT", so it can be a program name with args. 24529set dummy plcon$EXEEXT; ac_word=$2 24530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24531$as_echo_n "checking for $ac_word... " >&6; } 24532if ${ac_cv_path_swi_prolog+:} false; then : 24533 $as_echo_n "(cached) " >&6 24534else 24535 case $swi_prolog in 24536 [\\/]* | ?:[\\/]*) 24537 ac_cv_path_swi_prolog="$swi_prolog" # Let the user override the test with a path. 24538 ;; 24539 *) 24540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24541for as_dir in $PATH 24542do 24543 IFS=$as_save_IFS 24544 test -z "$as_dir" && as_dir=. 24545 for ac_exec_ext in '' $ac_executable_extensions; do 24546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24547 ac_cv_path_swi_prolog="$as_dir/$ac_word$ac_exec_ext" 24548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24549 break 2 24550 fi 24551done 24552 done 24553IFS=$as_save_IFS 24554 24555 ;; 24556esac 24557fi 24558swi_prolog=$ac_cv_path_swi_prolog 24559if test -n "$swi_prolog"; then 24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog" >&5 24561$as_echo "$swi_prolog" >&6; } 24562else 24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24564$as_echo "no" >&6; } 24565fi 24566 24567 24568 fi 24569 fi 24570fi 24571if test x$swi_prolog != x 24572then 24573 swi_prolog_base=`$swi_prolog -dump-runtime-variables | grep PLBASE= | sed 's/PLBASE="\([a-z]:\)\{0,1\}\(.*\)";.*/\2/'` 24574 swi_prolog_version=`$swi_prolog -dump-runtime-variables | grep PLVERSION= | sed 's/PLVERSION="\(.*\)";.*/\1/'` 24575 swi_prolog_arch=`$swi_prolog -dump-runtime-variables | grep PLARCH= | sed 's/PLARCH="\(.*\)";.*/\1/'` 24576 swi_prolog_libs=`$swi_prolog -dump-runtime-variables | grep PLLIBS= | sed 's/PLLIBS="\(.*\)";.*/\1/'` 24577 swi_prolog_lib=`$swi_prolog -dump-runtime-variables | grep PLLIB= | sed 's/PLLIB="\(.*\)";.*/\1/'` 24578 24579 24580 # Extract the first word of "swipl-ld$EXEEXT", so it can be a program name with args. 24581set dummy swipl-ld$EXEEXT; ac_word=$2 24582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24583$as_echo_n "checking for $ac_word... " >&6; } 24584if ${ac_cv_path_swi_prolog_ld+:} false; then : 24585 $as_echo_n "(cached) " >&6 24586else 24587 case $swi_prolog_ld in 24588 [\\/]* | ?:[\\/]*) 24589 ac_cv_path_swi_prolog_ld="$swi_prolog_ld" # Let the user override the test with a path. 24590 ;; 24591 *) 24592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24593for as_dir in $PATH 24594do 24595 IFS=$as_save_IFS 24596 test -z "$as_dir" && as_dir=. 24597 for ac_exec_ext in '' $ac_executable_extensions; do 24598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24599 ac_cv_path_swi_prolog_ld="$as_dir/$ac_word$ac_exec_ext" 24600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24601 break 2 24602 fi 24603done 24604 done 24605IFS=$as_save_IFS 24606 24607 ;; 24608esac 24609fi 24610swi_prolog_ld=$ac_cv_path_swi_prolog_ld 24611if test -n "$swi_prolog_ld"; then 24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog_ld" >&5 24613$as_echo "$swi_prolog_ld" >&6; } 24614else 24615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24616$as_echo "no" >&6; } 24617fi 24618 24619 24620 if test -z $swi_prolog_ld 24621 then 24622 # Extract the first word of "plld$EXEEXT", so it can be a program name with args. 24623set dummy plld$EXEEXT; ac_word=$2 24624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24625$as_echo_n "checking for $ac_word... " >&6; } 24626if ${ac_cv_path_swi_prolog_ld+:} false; then : 24627 $as_echo_n "(cached) " >&6 24628else 24629 case $swi_prolog_ld in 24630 [\\/]* | ?:[\\/]*) 24631 ac_cv_path_swi_prolog_ld="$swi_prolog_ld" # Let the user override the test with a path. 24632 ;; 24633 *) 24634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24635for as_dir in $PATH 24636do 24637 IFS=$as_save_IFS 24638 test -z "$as_dir" && as_dir=. 24639 for ac_exec_ext in '' $ac_executable_extensions; do 24640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24641 ac_cv_path_swi_prolog_ld="$as_dir/$ac_word$ac_exec_ext" 24642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24643 break 2 24644 fi 24645done 24646 done 24647IFS=$as_save_IFS 24648 24649 ;; 24650esac 24651fi 24652swi_prolog_ld=$ac_cv_path_swi_prolog_ld 24653if test -n "$swi_prolog_ld"; then 24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swi_prolog_ld" >&5 24655$as_echo "$swi_prolog_ld" >&6; } 24656else 24657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24658$as_echo "no" >&6; } 24659fi 24660 24661 24662 fi 24663 24664 # In Fedora, SWI-Prolog.h is installed only in /usr/include/pl, which, 24665 # IMHO, is a bug (https://bugzilla.redhat.com/show_bug.cgi?id=471071). 24666 SWI_PROLOG_INCLUDE_OPTIONS="-I${swi_prolog_base}/include -I/usr/include/pl" 24667 # If SWI-Prolog was configured with `--disable-libdirversion', then 24668 # the files are not in the `${swi_prolog_arch}' subdirectory. Since 24669 # currently there is no way to know that, we look in both places. 24670 SWI_PROLOG_LD_OPTIONS="-L${swi_prolog_base}/lib/${swi_prolog_arch} -L${swi_prolog_base}/lib ${swi_prolog_lib} ${swi_prolog_libs}" 24671 ac_save_CPPFLAGS="$CPPFLAGS" 24672 CPPFLAGS="$CPPFLAGS $SWI_PROLOG_INCLUDE_OPTIONS" 24673 ac_ext=cpp 24674ac_cpp='$CXXCPP $CPPFLAGS' 24675ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24676ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24677ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24678ac_link="./libtool --mode=link --tag=CXX $ac_link" 24679 24680 # We require SWI-Prolog 5.6.0 or later. 24681 ac_fn_cxx_check_header_mongrel "$LINENO" "SWI-Prolog.h" "ac_cv_header_SWI_Prolog_h" "$ac_includes_default" 24682if test "x$ac_cv_header_SWI_Prolog_h" = xyes; then : 24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWI-Prolog version 5.6.0 or later" >&5 24684$as_echo_n "checking for SWI-Prolog version 5.6.0 or later... " >&6; } 24685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24686/* end confdefs.h. */ 24687 24688#include <SWI-Prolog.h> 24689 24690int 24691main() { 24692#if !defined(PLVERSION) || PLVERSION < 50600 24693 choke me 24694#endif 24695 24696 ; 24697 return 0; 24698} 24699 24700_ACEOF 24701if ac_fn_cxx_try_compile "$LINENO"; then : 24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24703$as_echo "yes" >&6; } 24704else 24705 swi_prolog="" 24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24707$as_echo "no" >&6; } 24708 24709fi 24710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24711else 24712 swi_prolog="" 24713fi 24714 24715 24716 ac_ext=cpp 24717ac_cpp='$CXXCPP $CPPFLAGS' 24718ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24719ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24720ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24721ac_link="./libtool --mode=link --tag=CXX $ac_link" 24722 24723 CPPFLAGS="$ac_save_CPPFLAGS" 24724 SWI_PROLOG="$swi_prolog" 24725 SWI_PROLOG_LD="$swi_prolog_ld" 24726 24727 24728 24729 24730fi 24731 24732if test x$swi_prolog != x 24733then 24734 have_swi_prolog=yes 24735else 24736 have_swi_prolog=no 24737fi 24738 24739fi 24740 24741# Under Cygwin, SWI-Prolog does not work with foreign code: 24742# see http://www.cs.unipr.it/pipermail/ppl-devel/2006-January/007838.html 24743if test x${swi_prolog_interface_enabled} = xyes \ 24744&& test x$have_swi_prolog = xyes \ 24745&& test x"${host_os}" != xcygwin 24746then 24747 build_swi_prolog_interface=yes 24748fi 24749 if test x$build_swi_prolog_interface = xyes; then 24750 BUILD_SWI_PROLOG_INTERFACE_TRUE= 24751 BUILD_SWI_PROLOG_INTERFACE_FALSE='#' 24752else 24753 BUILD_SWI_PROLOG_INTERFACE_TRUE='#' 24754 BUILD_SWI_PROLOG_INTERFACE_FALSE= 24755fi 24756 24757 24758# Checks for XSB. 24759if test x${xsb_prolog_interface_enabled} = xyes 24760then 24761 24762# Extract the first word of "xsb", so it can be a program name with args. 24763set dummy xsb; ac_word=$2 24764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24765$as_echo_n "checking for $ac_word... " >&6; } 24766if ${ac_cv_path_xsb_prolog+:} false; then : 24767 $as_echo_n "(cached) " >&6 24768else 24769 case $xsb_prolog in 24770 [\\/]* | ?:[\\/]*) 24771 ac_cv_path_xsb_prolog="$xsb_prolog" # Let the user override the test with a path. 24772 ;; 24773 *) 24774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24775for as_dir in $PATH 24776do 24777 IFS=$as_save_IFS 24778 test -z "$as_dir" && as_dir=. 24779 for ac_exec_ext in '' $ac_executable_extensions; do 24780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24781 ac_cv_path_xsb_prolog="$as_dir/$ac_word$ac_exec_ext" 24782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24783 break 2 24784 fi 24785done 24786 done 24787IFS=$as_save_IFS 24788 24789 ;; 24790esac 24791fi 24792xsb_prolog=$ac_cv_path_xsb_prolog 24793if test -n "$xsb_prolog"; then 24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsb_prolog" >&5 24795$as_echo "$xsb_prolog" >&6; } 24796else 24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24798$as_echo "no" >&6; } 24799fi 24800 24801 24802if test x$xsb_prolog != x 24803then 24804 xsb_emu_dir=`xsb --nobanner --quietload --noprompt \ 24805 -e "write('emudir='), \ 24806 xsb_configuration(emudir, X), write(X), nl, halt." \ 24807 2>/dev/null | sed "s/^emudir=//g"` 24808 xsb_config_dir=`xsb --nobanner --quietload --noprompt \ 24809 -e "write('config_dir='), \ 24810 xsb_configuration(config_dir,X), write(X), nl, halt." \ 24811 2>/dev/null | sed "s/^config_dir=//g"` 24812 XSB_PROLOG_INCLUDE_OPTIONS="-I${xsb_emu_dir} -I${xsb_config_dir}" 24813 24814fi 24815 24816if test x$xsb_prolog != x 24817then 24818 have_xsb_prolog=yes 24819else 24820 have_xsb_prolog=no 24821fi 24822 24823fi 24824 24825if test x${xsb_prolog_interface_enabled} = xyes \ 24826&& test x$have_xsb_prolog = xyes 24827then 24828 build_xsb_prolog_interface=yes 24829fi 24830 if test x$build_xsb_prolog_interface = xyes; then 24831 BUILD_XSB_PROLOG_INTERFACE_TRUE= 24832 BUILD_XSB_PROLOG_INTERFACE_FALSE='#' 24833else 24834 BUILD_XSB_PROLOG_INTERFACE_TRUE='#' 24835 BUILD_XSB_PROLOG_INTERFACE_FALSE= 24836fi 24837 24838 24839# Checks for YAP. 24840if test x${yap_prolog_interface_enabled} = xyes 24841then 24842 24843# Extract the first word of "yap", so it can be a program name with args. 24844set dummy yap; ac_word=$2 24845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 24846$as_echo_n "checking for $ac_word... " >&6; } 24847if ${ac_cv_path_yap_prolog+:} false; then : 24848 $as_echo_n "(cached) " >&6 24849else 24850 case $yap_prolog in 24851 [\\/]* | ?:[\\/]*) 24852 ac_cv_path_yap_prolog="$yap_prolog" # Let the user override the test with a path. 24853 ;; 24854 *) 24855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24856for as_dir in $PATH 24857do 24858 IFS=$as_save_IFS 24859 test -z "$as_dir" && as_dir=. 24860 for ac_exec_ext in '' $ac_executable_extensions; do 24861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24862 ac_cv_path_yap_prolog="$as_dir/$ac_word$ac_exec_ext" 24863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24864 break 2 24865 fi 24866done 24867 done 24868IFS=$as_save_IFS 24869 24870 ;; 24871esac 24872fi 24873yap_prolog=$ac_cv_path_yap_prolog 24874if test -n "$yap_prolog"; then 24875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $yap_prolog" >&5 24876$as_echo "$yap_prolog" >&6; } 24877else 24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24879$as_echo "no" >&6; } 24880fi 24881 24882 24883if test x$yap_prolog != x 24884then 24885 24886 YAP_PROLOG_INCLUDE_OPTIONS="" 24887 YAP_PROLOG_LD_OPTIONS="-lYap" 24888 ac_save_CPPFLAGS="$CPPFLAGS" 24889 CPPFLAGS="$CPPFLAGS $YAP_PROLOG_INCLUDE_OPTIONS" 24890 ac_ext=cpp 24891ac_cpp='$CXXCPP $CPPFLAGS' 24892ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24893ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24894ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24895ac_link="./libtool --mode=link --tag=CXX $ac_link" 24896 24897 # Check for YAP's foreign language interface header file. 24898 ac_fn_cxx_check_header_mongrel "$LINENO" "Yap/c_interface.h" "ac_cv_header_Yap_c_interface_h" "$ac_includes_default" 24899if test "x$ac_cv_header_Yap_c_interface_h" = xyes; then : 24900 24901else 24902 yap_prolog="" 24903fi 24904 24905 24906 ac_ext=cpp 24907ac_cpp='$CXXCPP $CPPFLAGS' 24908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24911ac_link="./libtool --mode=link --tag=CXX $ac_link" 24912 24913 CPPFLAGS="$ac_save_CPPFLAGS" 24914 YAP_PROLOG="$yap_prolog" 24915 24916 24917 24918fi 24919 24920if test x$yap_prolog != x 24921then 24922 have_yap_prolog=yes 24923else 24924 have_yap_prolog=no 24925fi 24926 24927fi 24928 24929if test x${yap_prolog_interface_enabled} = xyes \ 24930&& test x$have_yap_prolog = xyes 24931then 24932 build_yap_prolog_interface=yes 24933fi 24934 if test x$build_yap_prolog_interface = xyes; then 24935 BUILD_YAP_PROLOG_INTERFACE_TRUE= 24936 BUILD_YAP_PROLOG_INTERFACE_FALSE='#' 24937else 24938 BUILD_YAP_PROLOG_INTERFACE_TRUE='#' 24939 BUILD_YAP_PROLOG_INTERFACE_FALSE= 24940fi 24941 24942 24943# Test if some Prolog interfaces have to be built. 24944if test x$build_ciao_prolog_interface = xyes \ 24945|| test x$build_gnu_prolog_interface = xyes \ 24946|| test x$build_sicstus_prolog_interface = xyes \ 24947|| test x$build_swi_prolog_interface = xyes \ 24948|| test x$build_xsb_prolog_interface = xyes \ 24949|| test x$build_yap_prolog_interface = xyes 24950then 24951 build_some_prolog_interfaces=yes 24952fi 24953 if test x$build_some_prolog_interfaces = xyes; then 24954 BUILD_SOME_PROLOG_INTERFACES_TRUE= 24955 BUILD_SOME_PROLOG_INTERFACES_FALSE='#' 24956else 24957 BUILD_SOME_PROLOG_INTERFACES_TRUE='#' 24958 BUILD_SOME_PROLOG_INTERFACES_FALSE= 24959fi 24960 24961 24962if test x$build_c_interface = xyes \ 24963|| test x$build_java_interface = xyes \ 24964|| test x$build_ocaml_interface = xyes \ 24965|| test x$build_some_prolog_interfaces = xyes 24966then 24967 # Look for a recent enough version of GNU M4. 24968 24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5 24970$as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; } 24971if ${ac_cv_path_M4+:} false; then : 24972 $as_echo_n "(cached) " >&6 24973else 24974 rm -f conftest.m4f 24975if test -z "$M4"; then 24976 ac_path_M4_found=false 24977 # Loop through the user's path and test for each of PROGNAME-LIST 24978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24979for as_dir in $PATH 24980do 24981 IFS=$as_save_IFS 24982 test -z "$as_dir" && as_dir=. 24983 for ac_prog in m4 gm4 gnum4; do 24984 for ac_exec_ext in '' $ac_executable_extensions; do 24985 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext" 24986 as_fn_executable_p "$ac_path_M4" || continue 24987 # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore -t, -F. 24988 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl 24989 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \ 24990 && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \ 24991 && test -f conftest.m4f \ 24992 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=: 24993 rm -f conftest.m4f 24994 $ac_path_M4_found && break 3 24995 done 24996 done 24997 done 24998IFS=$as_save_IFS 24999 if test -z "$ac_cv_path_M4"; then 25000 as_fn_error $? "no acceptable m4 could be found in \$PATH. 25001GNU M4 1.4.5 or later is required; 1.4.11 or later is recommended" "$LINENO" 5 25002 fi 25003else 25004 ac_cv_path_M4=$M4 25005fi 25006 25007fi 25008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5 25009$as_echo "$ac_cv_path_M4" >&6; } 25010 M4=$ac_cv_path_M4 25011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5 25012$as_echo_n "checking how m4 supports trace files... " >&6; } 25013if ${ac_cv_prog_gnu_m4_debugfile+:} false; then : 25014 $as_echo_n "(cached) " >&6 25015else 25016 case `$M4 --help < /dev/null 2>&1` in 25017 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;; 25018 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;; 25019 esac 25020fi 25021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5 25022$as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; } 25023 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile 25024 25025 25026fi 25027 25028# Define the list of instantiations that are enabled by default. 25029# Different instantiations are separated by a '@' character. 25030di=" Polyhedron @ Grid" 25031di="${di} @ Rational_Box" 25032di="${di} @ BD_Shape<mpz_class> @ BD_Shape<mpq_class>" 25033di="${di} @ Octagonal_Shape<mpz_class> @ Octagonal_Shape<mpq_class>" 25034di="${di} @ Constraints_Product<C_Polyhedron, Grid>" 25035di="${di} @ Pointset_Powerset<C_Polyhedron>" 25036di="${di} @ Pointset_Powerset<NNC_Polyhedron>" 25037if test $ac_supported_double = 1 25038then 25039 di="${di} @ Double_Box @ BD_Shape<double> @ Octagonal_Shape<double>" 25040fi 25041default_instantiations="${di}" 25042 25043# Define the list of all instantiations. 25044# Different instantiations are separated by a '@' character. 25045ai=" Int8_Box @ Int16_Box @ Int32_Box @ Int64_Box" 25046ai="${ai} @ Uint8_Box @ Uint16_Box @ Uint32_Box @ Uint64_Box" 25047ai="${ai} @ Z_Box @ Rational_Box" 25048ai="${ai} @ BD_Shape<int8_t> @ BD_Shape<int16_t>" 25049ai="${ai} @ BD_Shape<int32_t> @ BD_Shape<int64_t>" 25050ai="${ai} @ BD_Shape<mpz_class> @ BD_Shape<mpq_class>" 25051ai="${ai} @ Octagonal_Shape<int8_t> @ Octagonal_Shape<int16_t>" 25052ai="${ai} @ Octagonal_Shape<int32_t> @ Octagonal_Shape<int64_t>" 25053ai="${ai} @ Octagonal_Shape<mpz_class> @ Octagonal_Shape<mpq_class>" 25054ai="${ai} @ Polyhedron @ Grid" 25055ai="${ai} @ Pointset_Powerset<Int8_Box> @ Pointset_Powerset<Int16_Box>" 25056ai="${ai} @ Pointset_Powerset<Int32_Box> @ Pointset_Powerset<Int64_Box>" 25057ai="${ai} @ Pointset_Powerset<Uint8_Box> @ Pointset_Powerset<Uint16_Box>" 25058ai="${ai} @ Pointset_Powerset<Uint32_Box> @ Pointset_Powerset<Uint64_Box>" 25059ai="${ai} @ Pointset_Powerset<Rational_Box> @ Pointset_Powerset<Z_Box>" 25060ai="${ai} @ Pointset_Powerset<BD_Shape<int8_t> >" 25061ai="${ai} @ Pointset_Powerset<BD_Shape<int16_t> >" 25062ai="${ai} @ Pointset_Powerset<BD_Shape<int32_t> >" 25063ai="${ai} @ Pointset_Powerset<BD_Shape<int64_t> >" 25064ai="${ai} @ Pointset_Powerset<BD_Shape<mpq_class> >" 25065ai="${ai} @ Pointset_Powerset<BD_Shape<mpz_class> >" 25066ai="${ai} @ Pointset_Powerset<Octagonal_Shape<int8_t> >" 25067ai="${ai} @ Pointset_Powerset<Octagonal_Shape<int16_t> >" 25068ai="${ai} @ Pointset_Powerset<Octagonal_Shape<int32_t> >" 25069ai="${ai} @ Pointset_Powerset<Octagonal_Shape<int64_t> >" 25070ai="${ai} @ Pointset_Powerset<Octagonal_Shape<mpq_class> >" 25071ai="${ai} @ Pointset_Powerset<Octagonal_Shape<mpz_class> >" 25072ai="${ai} @ Pointset_Powerset<C_Polyhedron>" 25073ai="${ai} @ Pointset_Powerset<NNC_Polyhedron>" 25074ai="${ai} @ Pointset_Powerset<Grid>" 25075ai="${ai} @ Constraints_Product<C_Polyhedron, Grid>" 25076ai="${ai} @ Constraints_Product<NNC_Polyhedron, Grid>" 25077ai="${ai} @ Constraints_Product<Grid, C_Polyhedron>" 25078ai="${ai} @ Constraints_Product<Grid, NNC_Polyhedron>" 25079if test $ac_supported_float = 1 25080then 25081 ai="${ai} @ Float_Box @ BD_Shape<float>" 25082 ai="${ai} @ Octagonal_Shape<float>" 25083 ai="${ai} @ Pointset_Powerset<Float_Box>" 25084 ai="${ai} @ Pointset_Powerset<BD_Shape<float> >" 25085 ai="${ai} @ Pointset_Powerset<Octagonal_Shape<float> >" 25086fi 25087if test $ac_supported_double = 1 25088then 25089 ai="${ai} @ Double_Box @ BD_Shape<double>" 25090 ai="${ai} @ Octagonal_Shape<double>" 25091 ai="${ai} @ Pointset_Powerset<Double_Box>" 25092 ai="${ai} @ Pointset_Powerset<BD_Shape<double> >" 25093 ai="${ai} @ Pointset_Powerset<Octagonal_Shape<double> >" 25094fi 25095if test $ac_supported_long_double = 1 25096then 25097 ai="${ai} @ Long_Double_Box @ BD_Shape<long double>" 25098 ai="${ai} @ Octagonal_Shape<long double>" 25099 ai="${ai} @ Pointset_Powerset<Long_Double_Box>" 25100 ai="${ai} @ Pointset_Powerset<BD_Shape<long double> >" 25101 ai="${ai} @ Pointset_Powerset<Octagonal_Shape<long double> >" 25102fi 25103available_instantiations=${ai} 25104 25105enableval=not_specified 25106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which instantiations are enabled" >&5 25107$as_echo_n "checking which instantiations are enabled... " >&6; } 25108# Check whether --enable-instantiations was given. 25109if test "${enable_instantiations+set}" = set; then : 25110 enableval=$enable_instantiations; 25111fi 25112 25113case x"${enableval}" in 25114xyes | x) 25115 ai_one_per_line=`echo "${available_instantiations}" | sed -e 's/ *@ */\n/g' -e 's/ *\([A-Z]\)/\1/g'` 25116 as_fn_error $? " 25117--enable-instantiations needs at least one argument chosen among none, 25118all, and an @-separated list of instantiation specifiers included 25119in the following list: 25120${ai_one_per_line}" "$LINENO" 5 25121 ;; 25122xno | xnone) 25123 enableval= 25124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 25125$as_echo "none" >&6; } 25126 ;; 25127*) 25128 if test x"${enableval}" = xnot_specified 25129 then 25130 enableval=${default_instantiations} 25131 elif test x"${enableval}" = xall 25132 then 25133 enableval=${available_instantiations} 25134 fi 25135 # Avoid extra blanks. 25136 required_instantiations=`echo "${enableval}" | sed -e 's/[ ][ ]*/ /g' -e 's/[ ]*\([@<>,]\)/\1/g' -e 's/\([@<>,]\)[ ]*/\1/g' -e 's/>>/> >/g' -e 's/^[ ]//g' -e 's/[ ]$//g'` 25137 # Check the specified instantiations for validity. 25138 ac_save_CPPFLAGS="$CPPFLAGS" 25139 CPPFLAGS="$CPPFLAGS -I${srcdir} ${gmp_include_options}" 25140 old_IFS="${IFS}" 25141 IFS=@ 25142 set -- ${required_instantiations} 25143 IFS="${old_IFS}" 25144 for instantiation 25145 do 25146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25147/* end confdefs.h. */ 25148 25149#include "instchk.hh" 25150 25151using namespace Parma_Polyhedra_Library; 25152 25153bool valid = ${instantiation}::valid_instantiation(); 25154 25155_ACEOF 25156if ac_fn_cxx_try_compile "$LINENO"; then : 25157 valid_instantiation=yes 25158else 25159 valid_instantiation=no 25160fi 25161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25162 if test x${valid_instantiation} != xyes 25163 then 25164 as_fn_error $? "invalid instantiation ${instantiation}" "$LINENO" 5 25165 fi 25166 done 25167 CPPFLAGS="$ac_save_CPPFLAGS" 25168 required_instantiations_canonical_names=`echo "${required_instantiations}" | sed -e 's/> //g' -e 's/>//g' -e 's/[< ,]/_/g'` 25169 25170 required_instantiations_c_source_names=`echo "${required_instantiations_canonical_names}" | sed -e 's/@Pointset_Powerset_Polyhedron/@Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g' -e 's/^Pointset_Powerset_Polyhedron/Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g'` 25171 required_instantiations_c_cxx_objects=`echo "${required_instantiations_c_source_names}" | sed -e 's/@/.lo /g' -e 's/$/.lo/g' | sed -e 's/\([^. ]*\)\.lo/ppl_c_\1.lo/g'` 25172 required_instantiations_c_cxx_sources=`echo "${required_instantiations_c_cxx_objects}" | sed -e 's/\([^. ]*\)\.lo/\1.cc/g'` 25173 required_instantiations_c_cxx_headers=`echo "${required_instantiations_c_cxx_sources}" | sed -e 's/\.cc/.hh/g'` 25174 25175 required_instantiations_prolog_source_names=`echo "${required_instantiations_canonical_names}" | sed -e 's/@Pointset_Powerset_Polyhedron/@Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g' -e 's/^Pointset_Powerset_Polyhedron/Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g'` 25176 required_instantiations_prolog_cxx_objects=`echo "${required_instantiations_prolog_source_names}" | sed -e 's/@/.lo /g' -e 's/$/.lo/g' | sed -e 's/\([^. ]*\)\.lo/ppl_prolog_\1.lo/g'` 25177 required_instantiations_prolog_cxx_sources=`echo "${required_instantiations_prolog_cxx_objects}" | sed -e 's/\([^. ]*\)\.lo/\1.cc/g'` 25178 required_instantiations_prolog_cxx_headers=`echo "${required_instantiations_prolog_cxx_sources}" | sed -e 's/\.cc/.hh/g'` 25179 required_instantiations_prolog_generated_test_sources=`echo "${required_instantiations_prolog_source_names}" | sed -e 's/@/.pl /g' -e 's/$/.pl/g' | sed -e 's/\([^. ]*\)\.pl/ppl_prolog_generated_test_\1.pl/g'` 25180 25181 required_instantiations_java_source_names=`echo "${required_instantiations_canonical_names}" | sed -e 's/^Polyhedron/Polyhedron@C_Polyhedron@NNC_Polyhedron/g' -e 's/@Polyhedron/@Polyhedron@C_Polyhedron@NNC_Polyhedron/g' -e 's/@Pointset_Powerset_Polyhedron/@Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g' -e 's/^Pointset_Powerset_Polyhedron/Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g' | sed -e 's/Pointset_Powerset_[a-zA-Z0-9_]*/&@&_Iterator/g'` 25182 required_instantiations_java_sources=`echo "${required_instantiations_java_source_names}" | sed -e 's/@/.java /g' -e 's/$/.java/g'` 25183 required_instantiations_java_classes=`echo "${required_instantiations_java_sources}" | sed -e 's/\.java/.class/g'` 25184 required_instantiations_java_cxx_headers=`echo "${required_instantiations_java_sources}" | sed -e 's/\([^. ]*\)\.java/parma_polyhedra_library.\1/g'` 25185 required_instantiations_java_cxx_headers_sources=`echo "${required_instantiations_java_sources}" | sed -e 's/\([^. ]*\)\.java/parma_polyhedra_library_\1.h/g'` 25186 required_instantiations_java_cxx_objects=`echo "${required_instantiations_canonical_names}" | sed -e 's/@/.lo /g' -e 's/$/.lo/g' | sed -e 's/\([^. ]*\)\.lo/ppl_java_\1.lo/g'` 25187 required_instantiations_java_cxx_sources=`echo "${required_instantiations_java_cxx_objects}" | sed -e 's/\([^. ]*\)\.lo/\1.cc/g'` 25188 25189 required_instantiations_ocaml_source_names=`echo "${required_instantiations_canonical_names}" | sed -e 's/@Pointset_Powerset_Polyhedron/@Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g' -e 's/^Pointset_Powerset_Polyhedron/Pointset_Powerset_C_Polyhedron@Pointset_Powerset_NNC_Polyhedron/g'` 25190 required_instantiations_ocaml_cxx_objects=`echo "${required_instantiations_ocaml_source_names}" | sed -e 's/@/.o /g' -e 's/$/.o/g' | sed -e 's/\([^. ]*\)\.o/ppl_ocaml_\1.o/g'` 25191 required_instantiations_ocaml_cxx_sources=`echo "${required_instantiations_ocaml_cxx_objects}" | sed -e 's/\([^. ]*\)\.o/\1.cc/g'` 25192 required_instantiations_ocaml_cxx_headers=`echo "${required_instantiations_ocaml_cxx_sources}" | sed -e 's/\.cc/.hh/g'` 25193 25194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${required_instantiations}" >&5 25195$as_echo "${required_instantiations}" >&6; } 25196 ;; 25197esac 25198 25199enableval=no 25200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests should be run under Valgrind" >&5 25201$as_echo_n "checking whether tests should be run under Valgrind... " >&6; } 25202# Check whether --enable-valgrind-tests was given. 25203if test "${enable_valgrind_tests+set}" = set; then : 25204 enableval=$enable_valgrind_tests; 25205fi 25206 25207case "${enableval}" in 25208yes) 25209 # Extract the first word of "valgrind", so it can be a program name with args. 25210set dummy valgrind; ac_word=$2 25211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25212$as_echo_n "checking for $ac_word... " >&6; } 25213if ${ac_cv_prog_VALGRIND+:} false; then : 25214 $as_echo_n "(cached) " >&6 25215else 25216 if test -n "$VALGRIND"; then 25217 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. 25218else 25219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25220for as_dir in $PATH 25221do 25222 IFS=$as_save_IFS 25223 test -z "$as_dir" && as_dir=. 25224 for ac_exec_ext in '' $ac_executable_extensions; do 25225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25226 ac_cv_prog_VALGRIND="valgrind" 25227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25228 break 2 25229 fi 25230done 25231 done 25232IFS=$as_save_IFS 25233 25234fi 25235fi 25236VALGRIND=$ac_cv_prog_VALGRIND 25237if test -n "$VALGRIND"; then 25238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 25239$as_echo "$VALGRIND" >&6; } 25240else 25241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25242$as_echo "no" >&6; } 25243fi 25244 25245 25246 if test x"$VALGRIND" = xvalgrind 25247 then 25248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25249$as_echo "yes" >&6; } 25250 enable_valgrind_tests=yes 25251 else 25252 as_fn_error $? "bad value ${enableval} for --enable-valgrind-tests, cannot find Valgrind" "$LINENO" 5 25253 fi 25254 ;; 25255no) 25256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25257$as_echo "no" >&6; } 25258 enable_valgrind_tests=no 25259 ;; 25260*) 25261 as_fn_error $? "bad value ${enableval} for --enable-valgrind-tests, needs yes or no" "$LINENO" 5 25262 ;; 25263esac 25264 if test x"$enable_valgrind_tests" = xyes; then 25265 VALGRIND_TESTS_ENABLED_TRUE= 25266 VALGRIND_TESTS_ENABLED_FALSE='#' 25267else 25268 VALGRIND_TESTS_ENABLED_TRUE='#' 25269 VALGRIND_TESTS_ENABLED_FALSE= 25270fi 25271 25272 25273enableval=quick 25274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`make check' does a thorough or quick check" >&5 25275$as_echo_n "checking whether \`make check' does a thorough or quick check... " >&6; } 25276# Check whether --enable-check was given. 25277if test "${enable_check+set}" = set; then : 25278 enableval=$enable_check; 25279fi 25280 25281case "${enableval}" in 25282thorough) 25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: thorough" >&5 25284$as_echo "thorough" >&6; } 25285 ;; 25286quick) 25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: quick" >&5 25288$as_echo "quick" >&6; } 25289 ;; 25290*) 25291 as_fn_error $? "bad value ${enableval} for --enable-check, needs thorough or quick" "$LINENO" 5 25292 ;; 25293esac 25294 if test x"$enableval" = xthorough; then 25295 THOROUGH_MAKE_CHECK_TRUE= 25296 THOROUGH_MAKE_CHECK_FALSE='#' 25297else 25298 THOROUGH_MAKE_CHECK_TRUE='#' 25299 THOROUGH_MAKE_CHECK_FALSE= 25300fi 25301 25302 25303# Checks for md5sum. 25304# Extract the first word of "md5sum", so it can be a program name with args. 25305set dummy md5sum; ac_word=$2 25306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 25307$as_echo_n "checking for $ac_word... " >&6; } 25308if ${ac_cv_prog_MD5SUM+:} false; then : 25309 $as_echo_n "(cached) " >&6 25310else 25311 if test -n "$MD5SUM"; then 25312 ac_cv_prog_MD5SUM="$MD5SUM" # Let the user override the test. 25313else 25314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25315for as_dir in $PATH 25316do 25317 IFS=$as_save_IFS 25318 test -z "$as_dir" && as_dir=. 25319 for ac_exec_ext in '' $ac_executable_extensions; do 25320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25321 ac_cv_prog_MD5SUM="md5sum" 25322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25323 break 2 25324 fi 25325done 25326 done 25327IFS=$as_save_IFS 25328 25329fi 25330fi 25331MD5SUM=$ac_cv_prog_MD5SUM 25332if test -n "$MD5SUM"; then 25333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5 25334$as_echo "$MD5SUM" >&6; } 25335else 25336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25337$as_echo "no" >&6; } 25338fi 25339 25340 25341 if test x$MD5SUM = xmd5sum; then 25342 HAVE_MD5SUM_TRUE= 25343 HAVE_MD5SUM_FALSE='#' 25344else 25345 HAVE_MD5SUM_TRUE='#' 25346 HAVE_MD5SUM_FALSE= 25347fi 25348 25349if test x$MD5SUM = xmd5sum 25350then 25351 25352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the text md5sum command" >&5 25353$as_echo_n "checking for the text md5sum command... " >&6; } 25354if echo a | (md5sum -t) >/dev/null 2>&1 25355then 25356 ac_cv_prog_text_md5sum='md5sum -t' 25357else 25358 ac_cv_prog_text_md5sum='md5sum' 25359fi 25360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_text_md5sum" >&5 25361$as_echo "$ac_cv_prog_text_md5sum" >&6; } 25362TEXT_MD5SUM=$ac_cv_prog_text_md5sum 25363 25364 25365fi 25366 25367# Check for the GLPK library. 25368ac_ext=c 25369ac_cpp='$CPP $CPPFLAGS' 25370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25372ac_compiler_gnu=$ac_cv_c_compiler_gnu 25373ac_link="./libtool --mode=link --tag=CC $ac_link" 25374 25375for ac_header in glpk.h glpk/glpk.h 25376do : 25377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 25378ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 25379if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 25380 cat >>confdefs.h <<_ACEOF 25381#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 25382_ACEOF 25383 have_glpk=yes 25384fi 25385 25386done 25387 25388 if test x$have_glpk = xyes; then 25389 HAVE_GLPK_TRUE= 25390 HAVE_GLPK_FALSE='#' 25391else 25392 HAVE_GLPK_TRUE='#' 25393 HAVE_GLPK_FALSE= 25394fi 25395 25396if test x$have_glpk = xyes 25397then 25398 ac_save_LIBS="$LIBS" 25399 LIBS="$LIBS -lglpk" 25400 ac_fn_c_check_decl "$LINENO" "lib_set_print_hook" "ac_cv_have_decl_lib_set_print_hook" " 25401#if defined(HAVE_GLPK_GLPK_H) 25402#include <glpk/glpk.h> 25403#elif defined(HAVE_GLPK_H) 25404#include <glpk.h> 25405#endif 25406 25407" 25408if test "x$ac_cv_have_decl_lib_set_print_hook" = xyes; then : 25409 25410$as_echo "#define PPL_GLPK_HAS_LIB_SET_PRINT_HOOK 1" >>confdefs.h 25411 25412fi 25413 25414 ac_fn_c_check_func "$LINENO" "_glp_lib_print_hook" "ac_cv_func__glp_lib_print_hook" 25415if test "x$ac_cv_func__glp_lib_print_hook" = xyes; then : 25416 25417$as_echo "#define PPL_GLPK_HAS__GLP_LIB_PRINT_HOOK 1" >>confdefs.h 25418 25419fi 25420 25421 ac_fn_c_check_decl "$LINENO" "glp_term_out" "ac_cv_have_decl_glp_term_out" " 25422#if defined(HAVE_GLPK_GLPK_H) 25423#include <glpk/glpk.h> 25424#elif defined(HAVE_GLPK_H) 25425#include <glpk.h> 25426#endif 25427 25428" 25429if test "x$ac_cv_have_decl_glp_term_out" = xyes; then : 25430 25431$as_echo "#define PPL_GLPK_HAS_GLP_TERM_OUT 1" >>confdefs.h 25432 25433fi 25434 25435 ac_fn_c_check_decl "$LINENO" "glp_term_hook" "ac_cv_have_decl_glp_term_hook" " 25436#if defined(HAVE_GLPK_GLPK_H) 25437#include <glpk/glpk.h> 25438#elif defined(HAVE_GLPK_H) 25439#include <glpk.h> 25440#endif 25441 25442" 25443if test "x$ac_cv_have_decl_glp_term_hook" = xyes; then : 25444 25445$as_echo "#define PPL_GLPK_HAS_GLP_TERM_HOOK 1" >>confdefs.h 25446 25447fi 25448 25449 LIBS="$ac_save_LIBS" 25450fi 25451ac_ext=cpp 25452ac_cpp='$CXXCPP $CPPFLAGS' 25453ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25454ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25455ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 25456ac_link="./libtool --mode=link --tag=CXX $ac_link" 25457 25458 25459# Checks for header declarations. 25460ac_fn_cxx_check_decl "$LINENO" "RLIMIT_DATA" "ac_cv_have_decl_RLIMIT_DATA" " 25461#ifdef HAVE_SYS_RESOURCE_H 25462# include <sys/resource.h> 25463#endif 25464 25465" 25466if test "x$ac_cv_have_decl_RLIMIT_DATA" = xyes; then : 25467 ac_have_decl=1 25468else 25469 ac_have_decl=0 25470fi 25471 25472cat >>confdefs.h <<_ACEOF 25473#define HAVE_DECL_RLIMIT_DATA $ac_have_decl 25474_ACEOF 25475ac_fn_cxx_check_decl "$LINENO" "RLIMIT_RSS" "ac_cv_have_decl_RLIMIT_RSS" " 25476#ifdef HAVE_SYS_RESOURCE_H 25477# include <sys/resource.h> 25478#endif 25479 25480" 25481if test "x$ac_cv_have_decl_RLIMIT_RSS" = xyes; then : 25482 ac_have_decl=1 25483else 25484 ac_have_decl=0 25485fi 25486 25487cat >>confdefs.h <<_ACEOF 25488#define HAVE_DECL_RLIMIT_RSS $ac_have_decl 25489_ACEOF 25490ac_fn_cxx_check_decl "$LINENO" "RLIMIT_VMEM" "ac_cv_have_decl_RLIMIT_VMEM" " 25491#ifdef HAVE_SYS_RESOURCE_H 25492# include <sys/resource.h> 25493#endif 25494 25495" 25496if test "x$ac_cv_have_decl_RLIMIT_VMEM" = xyes; then : 25497 ac_have_decl=1 25498else 25499 ac_have_decl=0 25500fi 25501 25502cat >>confdefs.h <<_ACEOF 25503#define HAVE_DECL_RLIMIT_VMEM $ac_have_decl 25504_ACEOF 25505ac_fn_cxx_check_decl "$LINENO" "RLIMIT_AS" "ac_cv_have_decl_RLIMIT_AS" " 25506#ifdef HAVE_SYS_RESOURCE_H 25507# include <sys/resource.h> 25508#endif 25509 25510" 25511if test "x$ac_cv_have_decl_RLIMIT_AS" = xyes; then : 25512 ac_have_decl=1 25513else 25514 ac_have_decl=0 25515fi 25516 25517cat >>confdefs.h <<_ACEOF 25518#define HAVE_DECL_RLIMIT_AS $ac_have_decl 25519_ACEOF 25520 25521 25522ac_fn_cxx_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" " 25523#ifdef HAVE_SYS_TIME_H 25524# include <sys/time.h> 25525#endif 25526#ifdef HAVE_SYS_RESOURCE_H 25527# include <sys/resource.h> 25528#endif 25529 25530" 25531if test "x$ac_cv_have_decl_getrusage" = xyes; then : 25532 ac_have_decl=1 25533else 25534 ac_have_decl=0 25535fi 25536 25537cat >>confdefs.h <<_ACEOF 25538#define HAVE_DECL_GETRUSAGE $ac_have_decl 25539_ACEOF 25540ac_fn_cxx_check_decl "$LINENO" "setrlimit" "ac_cv_have_decl_setrlimit" " 25541#ifdef HAVE_SYS_TIME_H 25542# include <sys/time.h> 25543#endif 25544#ifdef HAVE_SYS_RESOURCE_H 25545# include <sys/resource.h> 25546#endif 25547 25548" 25549if test "x$ac_cv_have_decl_setrlimit" = xyes; then : 25550 ac_have_decl=1 25551else 25552 ac_have_decl=0 25553fi 25554 25555cat >>confdefs.h <<_ACEOF 25556#define HAVE_DECL_SETRLIMIT $ac_have_decl 25557_ACEOF 25558 25559 25560ac_fn_cxx_check_decl "$LINENO" "setitimer" "ac_cv_have_decl_setitimer" " 25561#ifdef HAVE_SYS_TIME_H 25562# include <sys/time.h> 25563#endif 25564 25565" 25566if test "x$ac_cv_have_decl_setitimer" = xyes; then : 25567 ac_have_decl=1 25568else 25569 ac_have_decl=0 25570fi 25571 25572cat >>confdefs.h <<_ACEOF 25573#define HAVE_DECL_SETITIMER $ac_have_decl 25574_ACEOF 25575 25576 25577ac_fn_cxx_check_decl "$LINENO" "sigaction" "ac_cv_have_decl_sigaction" "#include <csignal> 25578" 25579if test "x$ac_cv_have_decl_sigaction" = xyes; then : 25580 ac_have_decl=1 25581else 25582 ac_have_decl=0 25583fi 25584 25585cat >>confdefs.h <<_ACEOF 25586#define HAVE_DECL_SIGACTION $ac_have_decl 25587_ACEOF 25588 25589 25590# Checks for typedefs, structures, and compiler characteristics. 25591ac_fn_cxx_check_type "$LINENO" "timeval" "ac_cv_type_timeval" "$ac_includes_default" 25592if test "x$ac_cv_type_timeval" = xyes; then : 25593 25594cat >>confdefs.h <<_ACEOF 25595#define HAVE_TIMEVAL 1 25596_ACEOF 25597 25598 25599fi 25600 25601ac_fn_cxx_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" " 25602#include <signal.h> 25603 25604" 25605if test "x$ac_cv_type_siginfo_t" = xyes; then : 25606 25607cat >>confdefs.h <<_ACEOF 25608#define HAVE_SIGINFO_T 1 25609_ACEOF 25610 25611 25612fi 25613 25614 25615# Check whether we can limit memory in C and C++ using setrlimit(). 25616 25617ac_save_CPPFLAGS="$CPPFLAGS" 25618ac_save_LIBS="$LIBS" 25619ac_ext=cpp 25620ac_cpp='$CXXCPP $CPPFLAGS' 25621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 25624ac_link="./libtool --mode=link --tag=CXX $ac_link" 25625 25626 25627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can limit memory in C++ using setrlimit()" >&5 25628$as_echo_n "checking whether we can limit memory in C++ using setrlimit()... " >&6; } 25629if test "$cross_compiling" = yes; then : 25630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming not" >&5 25631$as_echo "assuming not" >&6; } 25632 ac_cxx_supports_limiting_memory=no 25633else 25634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25635/* end confdefs.h. */ 25636 25637#if !HAVE_DECL_SETRLIMIT 25638# error "cannot limit memory without setrlimit()" 25639#endif 25640 25641#include <stdexcept> 25642 25643#ifdef HAVE_SYS_TYPES_H 25644# include <sys/types.h> 25645#endif 25646 25647#ifdef HAVE_SYS_TIME_H 25648# include <sys/time.h> 25649#endif 25650 25651#ifdef HAVE_SYS_RESOURCE_H 25652// This should be included after <time.h> and <sys/time.h> so as to make 25653// sure we have the definitions for, e.g., ru_utime. 25654# include <sys/resource.h> 25655#endif 25656 25657#ifdef HAVE_UNISTD_H 25658# include <unistd.h> 25659#endif 25660 25661#define LIMIT(WHAT) \ 25662 do { \ 25663 if (getrlimit(WHAT, &t) != 0) \ 25664 return false; \ 25665 t.rlim_cur = bytes; \ 25666 if (setrlimit(WHAT, &t) != 0) \ 25667 return false; \ 25668 } while (0) 25669 25670bool 25671limit_memory(unsigned long bytes) { 25672 struct rlimit t; 25673#if HAVE_DECL_RLIMIT_DATA 25674 // Limit heap size. 25675 LIMIT(RLIMIT_DATA); 25676#endif 25677#if HAVE_DECL_RLIMIT_RSS 25678 // Limit resident set size. 25679 LIMIT(RLIMIT_RSS); 25680#endif 25681#if HAVE_DECL_RLIMIT_VMEM 25682 // Limit mapped memory (brk + mmap). 25683 LIMIT(RLIMIT_VMEM); 25684#endif 25685#if HAVE_DECL_RLIMIT_AS 25686 // Limit virtual memory. 25687 LIMIT(RLIMIT_AS); 25688#endif 25689 return true; 25690} 25691 25692int 25693main() try { 25694 if (!limit_memory(10000)) 25695 return 1; 25696 (void) new char[20000]; 25697 return 1; 25698 } 25699 catch (std::bad_alloc) { 25700 return 0; 25701 } 25702 catch (...) { 25703 return 1; 25704 } 25705 25706_ACEOF 25707if ac_fn_cxx_try_run "$LINENO"; then : 25708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25709$as_echo "yes" >&6; } 25710 ac_cxx_supports_limiting_memory=yes 25711else 25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25713$as_echo "no" >&6; } 25714 ac_cxx_supports_limiting_memory=no 25715fi 25716rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 25717 conftest.$ac_objext conftest.beam conftest.$ac_ext 25718fi 25719 25720 25721if test x"$ac_cxx_supports_limiting_memory" = xyes 25722then 25723 value=1 25724else 25725 value=0 25726fi 25727 25728cat >>confdefs.h <<_ACEOF 25729#define PPL_CXX_SUPPORTS_LIMITING_MEMORY $value 25730_ACEOF 25731 25732 25733ac_ext=cpp 25734ac_cpp='$CXXCPP $CPPFLAGS' 25735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 25738ac_link="./libtool --mode=link --tag=CXX $ac_link" 25739 25740CPPFLAGS="$ac_save_CPPFLAGS" 25741LIBS="$ac_save_LIBS" 25742 25743 25744# Checks for library functions. 25745# Nothing for the time being. 25746 25747# If we are using GCC or the Intel C/C++ compiler we want to compile 25748# with lots of warnings enabled. 25749if test x"$GCC" = xyes 25750then 25751 if test x"$ICC" = xyes 25752 then 25753 CFLAGS="$CFLAGS -w2 -wd161,177,193,279,383,444,981,1098,1188,1418,1419,1572" 25754 elif test x"$CLANG" = xyes 25755 then 25756 CFLAGS="$CFLAGS -Weverything -Wno-exit-time-destructors -Wno-global-constructors -Wno-documentation -Wno-missing-noreturn -Wno-covered-switch-default -Wno-unreachable-code -Wno-c++98-compat-pedantic -Wno-switch-enum -Wno-sign-conversion -Wno-c++98-compat -Wno-padded -Wno-disabled-macro-expansion -Wno-c++11-long-long -Wno-zero-length-array" 25757 else 25758 CFLAGS="$CFLAGS -W -Wall" 25759 fi 25760fi 25761if test x"$GXX" = xyes 25762then 25763 if test x"$ICPC" = xyes 25764 then 25765 CXXFLAGS="$CXXFLAGS -w2 -wd161,177,193,279,383,444,981,1098,1188,1418,1419,1572" 25766 elif test x"$CLANGXX" = xyes 25767 then 25768 CXXFLAGS="$CXXFLAGS -Weverything -Wno-exit-time-destructors -Wno-global-constructors -Wno-documentation -Wno-missing-noreturn -Wno-covered-switch-default -Wno-unreachable-code -Wno-c++98-compat-pedantic -Wno-switch-enum -Wno-sign-conversion -Wno-c++98-compat -Wno-padded -Wno-disabled-macro-expansion -Wno-c++11-long-long -Wno-zero-length-array" 25769 else 25770 CXXFLAGS="$CXXFLAGS -W -Wall" 25771 fi 25772fi 25773 25774# Check if the C++ compiler supports C++11 features. 25775 25776ac_ext=cpp 25777ac_cpp='$CXXCPP $CPPFLAGS' 25778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 25781ac_link="./libtool --mode=link --tag=CXX $ac_link" 25782 25783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports C++11 features" >&5 25784$as_echo_n "checking if the C++ compiler supports C++11 features... " >&6; } 25785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25786/* end confdefs.h. */ 25787 25788template <typename T> 25789struct check final { 25790 static constexpr T value{ __cplusplus }; 25791}; 25792 25793typedef check<check<bool>> right_angle_brackets; 25794 25795int a; 25796decltype(a) b; 25797 25798typedef check<int> check_type; 25799check_type c{}; 25800check_type&& cr = static_cast<check_type&&>(c); 25801 25802static_assert(check_type::value == 201103L, "C++11 compiler"); 25803 25804_ACEOF 25805if ac_fn_cxx_try_compile "$LINENO"; then : 25806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 25807$as_echo "yes" >&6; } 25808 ac_cv_check_cxx11=yes 25809else 25810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25811$as_echo "no" >&6; } 25812 ac_cv_check_cx11=no 25813 25814fi 25815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25816ac_ext=cpp 25817ac_cpp='$CXXCPP $CPPFLAGS' 25818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 25821ac_link="./libtool --mode=link --tag=CXX $ac_link" 25822 25823if test "$ac_cv_check_cxx11" = yes; then 25824 25825$as_echo "#define HAVE_CXX11 /**/" >>confdefs.h 25826 25827fi 25828 25829 25830LIBEXT=$libext 25831 25832SHREXT=$shrext_cmds 25833 25834 25835 25836 25837 25838 25839 25840 25841 25842 25843 25844 25845 25846 25847 25848 25849 25850# FIXME: rename headers_sources into sources. 25851 25852 25853 25854 25855 25856 25857 25858 25859ac_config_files="$ac_config_files Makefile ppl.lsm src/Makefile src/version.hh src/ppl-config.cc tests/Makefile tests/BD_Shape/Makefile tests/Box/Makefile tests/Concrete_Expression/Makefile tests/CO_Tree/Makefile tests/Grid/Makefile tests/MIP_Problem/Makefile tests/Octagonal_Shape/Makefile tests/Partially_Reduced_Product/Makefile tests/PIP_Problem/Makefile tests/Polyhedron/Makefile tests/Powerset/Makefile tests/Watchdog/Makefile utils/Makefile m4/Makefile demos/Makefile demos/ppl_lcdd/Makefile demos/ppl_lcdd/examples/Makefile demos/ppl_lpsol/Makefile demos/ppl_lpsol/examples/Makefile demos/ppl_pips/Makefile demos/ppl_pips/examples/Makefile doc/Makefile doc/user.doxyconf-latex doc/devref.doxyconf-latex doc/user.doxyconf-html doc/devref.doxyconf-html doc/user-language-interface.doxyconf doc/devref-language-interface.doxyconf interfaces/Makefile interfaces/C/Makefile interfaces/C/ppl_c_version.h interfaces/C/tests/Makefile interfaces/Java/Makefile interfaces/Java/jni/Makefile interfaces/Java/tests/Makefile interfaces/Java/parma_polyhedra_library/Makefile interfaces/OCaml/Makefile interfaces/OCaml/tests/Makefile interfaces/Prolog/Makefile interfaces/Prolog/Ciao/Makefile interfaces/Prolog/GNU/Makefile interfaces/Prolog/SICStus/Makefile interfaces/Prolog/SWI/Makefile interfaces/Prolog/XSB/Makefile interfaces/Prolog/YAP/Makefile interfaces/Prolog/tests/Makefile" 25860 25861# tests/Ask_Tell/Makefile 25862cat >confcache <<\_ACEOF 25863# This file is a shell script that caches the results of configure 25864# tests run on this system so they can be shared between configure 25865# scripts and configure runs, see configure's option --config-cache. 25866# It is not useful on other systems. If it contains results you don't 25867# want to keep, you may remove or edit it. 25868# 25869# config.status only pays attention to the cache file if you give it 25870# the --recheck option to rerun configure. 25871# 25872# `ac_cv_env_foo' variables (set or unset) will be overridden when 25873# loading this file, other *unset* `ac_cv_foo' will be assigned the 25874# following values. 25875 25876_ACEOF 25877 25878# The following way of writing the cache mishandles newlines in values, 25879# but we know of no workaround that is simple, portable, and efficient. 25880# So, we kill variables containing newlines. 25881# Ultrix sh set writes to stderr and can't be redirected directly, 25882# and sets the high bit in the cache file unless we assign to the vars. 25883( 25884 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 25885 eval ac_val=\$$ac_var 25886 case $ac_val in #( 25887 *${as_nl}*) 25888 case $ac_var in #( 25889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 25890$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 25891 esac 25892 case $ac_var in #( 25893 _ | IFS | as_nl) ;; #( 25894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 25895 *) { eval $ac_var=; unset $ac_var;} ;; 25896 esac ;; 25897 esac 25898 done 25899 25900 (set) 2>&1 | 25901 case $as_nl`(ac_space=' '; set) 2>&1` in #( 25902 *${as_nl}ac_space=\ *) 25903 # `set' does not quote correctly, so add quotes: double-quote 25904 # substitution turns \\\\ into \\, and sed turns \\ into \. 25905 sed -n \ 25906 "s/'/'\\\\''/g; 25907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 25908 ;; #( 25909 *) 25910 # `set' quotes correctly as required by POSIX, so do not add quotes. 25911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 25912 ;; 25913 esac | 25914 sort 25915) | 25916 sed ' 25917 /^ac_cv_env_/b end 25918 t clear 25919 :clear 25920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 25921 t end 25922 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 25923 :end' >>confcache 25924if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 25925 if test -w "$cache_file"; then 25926 if test "x$cache_file" != "x/dev/null"; then 25927 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 25928$as_echo "$as_me: updating cache $cache_file" >&6;} 25929 if test ! -f "$cache_file" || test -h "$cache_file"; then 25930 cat confcache >"$cache_file" 25931 else 25932 case $cache_file in #( 25933 */* | ?:*) 25934 mv -f confcache "$cache_file"$$ && 25935 mv -f "$cache_file"$$ "$cache_file" ;; #( 25936 *) 25937 mv -f confcache "$cache_file" ;; 25938 esac 25939 fi 25940 fi 25941 else 25942 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 25943$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 25944 fi 25945fi 25946rm -f confcache 25947 25948test "x$prefix" = xNONE && prefix=$ac_default_prefix 25949# Let make expand exec_prefix. 25950test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 25951 25952DEFS=-DHAVE_CONFIG_H 25953 25954ac_libobjs= 25955ac_ltlibobjs= 25956U= 25957for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 25958 # 1. Remove the extension, and $U if already installed. 25959 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 25960 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 25961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 25962 # will be set to the directory where LIBOBJS objects are built. 25963 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 25964 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 25965done 25966LIBOBJS=$ac_libobjs 25967 25968LTLIBOBJS=$ac_ltlibobjs 25969 25970 25971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 25972$as_echo_n "checking that generated files are newer than configure... " >&6; } 25973 if test -n "$am_sleep_pid"; then 25974 # Hide warnings about reused PIDs. 25975 wait $am_sleep_pid 2>/dev/null 25976 fi 25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 25978$as_echo "done" >&6; } 25979 if test -n "$EXEEXT"; then 25980 am__EXEEXT_TRUE= 25981 am__EXEEXT_FALSE='#' 25982else 25983 am__EXEEXT_TRUE='#' 25984 am__EXEEXT_FALSE= 25985fi 25986 25987if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 25988 as_fn_error $? "conditional \"AMDEP\" was never defined. 25989Usually this means the macro was only invoked conditionally." "$LINENO" 5 25990fi 25991if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 25992 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 25993Usually this means the macro was only invoked conditionally." "$LINENO" 5 25994fi 25995if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then 25996 as_fn_error $? "conditional \"GCC\" was never defined. 25997Usually this means the macro was only invoked conditionally." "$LINENO" 5 25998fi 25999if test -z "${ICC_TRUE}" && test -z "${ICC_FALSE}"; then 26000 as_fn_error $? "conditional \"ICC\" was never defined. 26001Usually this means the macro was only invoked conditionally." "$LINENO" 5 26002fi 26003if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 26004 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 26005Usually this means the macro was only invoked conditionally." "$LINENO" 5 26006fi 26007if test -z "${DEBUGGING_ENABLED_TRUE}" && test -z "${DEBUGGING_ENABLED_FALSE}"; then 26008 as_fn_error $? "conditional \"DEBUGGING_ENABLED\" was never defined. 26009Usually this means the macro was only invoked conditionally." "$LINENO" 5 26010fi 26011if test -z "${ASSERTIONS_ENABLED_TRUE}" && test -z "${ASSERTIONS_ENABLED_FALSE}"; then 26012 as_fn_error $? "conditional \"ASSERTIONS_ENABLED\" was never defined. 26013Usually this means the macro was only invoked conditionally." "$LINENO" 5 26014fi 26015if test -z "${USE_PRECOMPILED_HEADERS_TRUE}" && test -z "${USE_PRECOMPILED_HEADERS_FALSE}"; then 26016 as_fn_error $? "conditional \"USE_PRECOMPILED_HEADERS\" was never defined. 26017Usually this means the macro was only invoked conditionally." "$LINENO" 5 26018fi 26019if test -z "${HOST_OS_CYGWIN_TRUE}" && test -z "${HOST_OS_CYGWIN_FALSE}"; then 26020 as_fn_error $? "conditional \"HOST_OS_CYGWIN\" was never defined. 26021Usually this means the macro was only invoked conditionally." "$LINENO" 5 26022fi 26023if test -z "${HOST_OS_DARWIN_TRUE}" && test -z "${HOST_OS_DARWIN_FALSE}"; then 26024 as_fn_error $? "conditional \"HOST_OS_DARWIN\" was never defined. 26025Usually this means the macro was only invoked conditionally." "$LINENO" 5 26026fi 26027if test -z "${HOST_OS_HPUX_TRUE}" && test -z "${HOST_OS_HPUX_FALSE}"; then 26028 as_fn_error $? "conditional \"HOST_OS_HPUX\" was never defined. 26029Usually this means the macro was only invoked conditionally." "$LINENO" 5 26030fi 26031if test -z "${HOST_OS_MINGW_TRUE}" && test -z "${HOST_OS_MINGW_FALSE}"; then 26032 as_fn_error $? "conditional \"HOST_OS_MINGW\" was never defined. 26033Usually this means the macro was only invoked conditionally." "$LINENO" 5 26034fi 26035if test -z "${HOST_OS_SOLARIS_TRUE}" && test -z "${HOST_OS_SOLARIS_FALSE}"; then 26036 as_fn_error $? "conditional \"HOST_OS_SOLARIS\" was never defined. 26037Usually this means the macro was only invoked conditionally." "$LINENO" 5 26038fi 26039if test -z "${HOST_CPU_X86_64_TRUE}" && test -z "${HOST_CPU_X86_64_FALSE}"; then 26040 as_fn_error $? "conditional \"HOST_CPU_X86_64\" was never defined. 26041Usually this means the macro was only invoked conditionally." "$LINENO" 5 26042fi 26043if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then 26044 as_fn_error $? "conditional \"NO_UNDEFINED\" was never defined. 26045Usually this means the macro was only invoked conditionally." "$LINENO" 5 26046fi 26047if test -z "${USE_NATIVE_INTEGERS_TRUE}" && test -z "${USE_NATIVE_INTEGERS_FALSE}"; then 26048 as_fn_error $? "conditional \"USE_NATIVE_INTEGERS\" was never defined. 26049Usually this means the macro was only invoked conditionally." "$LINENO" 5 26050fi 26051if test -z "${USE_CHECKED_INTEGERS_TRUE}" && test -z "${USE_CHECKED_INTEGERS_FALSE}"; then 26052 as_fn_error $? "conditional \"USE_CHECKED_INTEGERS\" was never defined. 26053Usually this means the macro was only invoked conditionally." "$LINENO" 5 26054fi 26055if test -z "${USE_GMP_INTEGERS_TRUE}" && test -z "${USE_GMP_INTEGERS_FALSE}"; then 26056 as_fn_error $? "conditional \"USE_GMP_INTEGERS\" was never defined. 26057Usually this means the macro was only invoked conditionally." "$LINENO" 5 26058fi 26059if test -z "${USE_INT8_TRUE}" && test -z "${USE_INT8_FALSE}"; then 26060 as_fn_error $? "conditional \"USE_INT8\" was never defined. 26061Usually this means the macro was only invoked conditionally." "$LINENO" 5 26062fi 26063if test -z "${USE_INT16_TRUE}" && test -z "${USE_INT16_FALSE}"; then 26064 as_fn_error $? "conditional \"USE_INT16\" was never defined. 26065Usually this means the macro was only invoked conditionally." "$LINENO" 5 26066fi 26067if test -z "${USE_INT32_TRUE}" && test -z "${USE_INT32_FALSE}"; then 26068 as_fn_error $? "conditional \"USE_INT32\" was never defined. 26069Usually this means the macro was only invoked conditionally." "$LINENO" 5 26070fi 26071if test -z "${USE_INT64_TRUE}" && test -z "${USE_INT64_FALSE}"; then 26072 as_fn_error $? "conditional \"USE_INT64\" was never defined. 26073Usually this means the macro was only invoked conditionally." "$LINENO" 5 26074fi 26075 26076if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then 26077 as_fn_error $? "conditional \"HAVE_PERL\" was never defined. 26078Usually this means the macro was only invoked conditionally." "$LINENO" 5 26079fi 26080if test -z "${CAN_CONTROL_FPU_TRUE}" && test -z "${CAN_CONTROL_FPU_FALSE}"; then 26081 as_fn_error $? "conditional \"CAN_CONTROL_FPU\" was never defined. 26082Usually this means the macro was only invoked conditionally." "$LINENO" 5 26083fi 26084if test -z "${SUPPORTED_FLOAT_TRUE}" && test -z "${SUPPORTED_FLOAT_FALSE}"; then 26085 as_fn_error $? "conditional \"SUPPORTED_FLOAT\" was never defined. 26086Usually this means the macro was only invoked conditionally." "$LINENO" 5 26087fi 26088if test -z "${SUPPORTED_DOUBLE_TRUE}" && test -z "${SUPPORTED_DOUBLE_FALSE}"; then 26089 as_fn_error $? "conditional \"SUPPORTED_DOUBLE\" was never defined. 26090Usually this means the macro was only invoked conditionally." "$LINENO" 5 26091fi 26092if test -z "${SUPPORTED_LONG_DOUBLE_TRUE}" && test -z "${SUPPORTED_LONG_DOUBLE_FALSE}"; then 26093 as_fn_error $? "conditional \"SUPPORTED_LONG_DOUBLE\" was never defined. 26094Usually this means the macro was only invoked conditionally." "$LINENO" 5 26095fi 26096if test -z "${SUPPORTED_SOME_FLOATING_POINT_TYPE_TRUE}" && test -z "${SUPPORTED_SOME_FLOATING_POINT_TYPE_FALSE}"; then 26097 as_fn_error $? "conditional \"SUPPORTED_SOME_FLOATING_POINT_TYPE\" was never defined. 26098Usually this means the macro was only invoked conditionally." "$LINENO" 5 26099fi 26100if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then 26101 as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined. 26102Usually this means the macro was only invoked conditionally." "$LINENO" 5 26103fi 26104if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then 26105 as_fn_error $? "conditional \"ENABLE_STATIC\" was never defined. 26106Usually this means the macro was only invoked conditionally." "$LINENO" 5 26107fi 26108if test -z "${BUILD_PPL_LCDD_TRUE}" && test -z "${BUILD_PPL_LCDD_FALSE}"; then 26109 as_fn_error $? "conditional \"BUILD_PPL_LCDD\" was never defined. 26110Usually this means the macro was only invoked conditionally." "$LINENO" 5 26111fi 26112if test -z "${BUILD_PPL_LPSOL_TRUE}" && test -z "${BUILD_PPL_LPSOL_FALSE}"; then 26113 as_fn_error $? "conditional \"BUILD_PPL_LPSOL\" was never defined. 26114Usually this means the macro was only invoked conditionally." "$LINENO" 5 26115fi 26116if test -z "${BUILD_PPL_PIPS_TRUE}" && test -z "${BUILD_PPL_PIPS_FALSE}"; then 26117 as_fn_error $? "conditional \"BUILD_PPL_PIPS\" was never defined. 26118Usually this means the macro was only invoked conditionally." "$LINENO" 5 26119fi 26120if test -z "${BUILD_DOCUMENTATION_TRUE}" && test -z "${BUILD_DOCUMENTATION_FALSE}"; then 26121 as_fn_error $? "conditional \"BUILD_DOCUMENTATION\" was never defined. 26122Usually this means the macro was only invoked conditionally." "$LINENO" 5 26123fi 26124if test -z "${BUILD_CXX_INTERFACE_TRUE}" && test -z "${BUILD_CXX_INTERFACE_FALSE}"; then 26125 as_fn_error $? "conditional \"BUILD_CXX_INTERFACE\" was never defined. 26126Usually this means the macro was only invoked conditionally." "$LINENO" 5 26127fi 26128if test -z "${BUILD_C_INTERFACE_TRUE}" && test -z "${BUILD_C_INTERFACE_FALSE}"; then 26129 as_fn_error $? "conditional \"BUILD_C_INTERFACE\" was never defined. 26130Usually this means the macro was only invoked conditionally." "$LINENO" 5 26131fi 26132if test -z "${BUILD_JAVA_INTERFACE_TRUE}" && test -z "${BUILD_JAVA_INTERFACE_FALSE}"; then 26133 as_fn_error $? "conditional \"BUILD_JAVA_INTERFACE\" was never defined. 26134Usually this means the macro was only invoked conditionally." "$LINENO" 5 26135fi 26136if test -z "${HAVE_OCAMLC_TRUE}" && test -z "${HAVE_OCAMLC_FALSE}"; then 26137 as_fn_error $? "conditional \"HAVE_OCAMLC\" was never defined. 26138Usually this means the macro was only invoked conditionally." "$LINENO" 5 26139fi 26140if test -z "${HAVE_OCAMLOPT_TRUE}" && test -z "${HAVE_OCAMLOPT_FALSE}"; then 26141 as_fn_error $? "conditional \"HAVE_OCAMLOPT\" was never defined. 26142Usually this means the macro was only invoked conditionally." "$LINENO" 5 26143fi 26144if test -z "${BUILD_OCAML_INTERFACE_TRUE}" && test -z "${BUILD_OCAML_INTERFACE_FALSE}"; then 26145 as_fn_error $? "conditional \"BUILD_OCAML_INTERFACE\" was never defined. 26146Usually this means the macro was only invoked conditionally." "$LINENO" 5 26147fi 26148if test -z "${BUILD_CIAO_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_CIAO_PROLOG_INTERFACE_FALSE}"; then 26149 as_fn_error $? "conditional \"BUILD_CIAO_PROLOG_INTERFACE\" was never defined. 26150Usually this means the macro was only invoked conditionally." "$LINENO" 5 26151fi 26152if test -z "${BUILD_GNU_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_GNU_PROLOG_INTERFACE_FALSE}"; then 26153 as_fn_error $? "conditional \"BUILD_GNU_PROLOG_INTERFACE\" was never defined. 26154Usually this means the macro was only invoked conditionally." "$LINENO" 5 26155fi 26156if test -z "${BUILD_SICSTUS_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_SICSTUS_PROLOG_INTERFACE_FALSE}"; then 26157 as_fn_error $? "conditional \"BUILD_SICSTUS_PROLOG_INTERFACE\" was never defined. 26158Usually this means the macro was only invoked conditionally." "$LINENO" 5 26159fi 26160if test -z "${BUILD_SWI_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_SWI_PROLOG_INTERFACE_FALSE}"; then 26161 as_fn_error $? "conditional \"BUILD_SWI_PROLOG_INTERFACE\" was never defined. 26162Usually this means the macro was only invoked conditionally." "$LINENO" 5 26163fi 26164if test -z "${BUILD_XSB_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_XSB_PROLOG_INTERFACE_FALSE}"; then 26165 as_fn_error $? "conditional \"BUILD_XSB_PROLOG_INTERFACE\" was never defined. 26166Usually this means the macro was only invoked conditionally." "$LINENO" 5 26167fi 26168if test -z "${BUILD_YAP_PROLOG_INTERFACE_TRUE}" && test -z "${BUILD_YAP_PROLOG_INTERFACE_FALSE}"; then 26169 as_fn_error $? "conditional \"BUILD_YAP_PROLOG_INTERFACE\" was never defined. 26170Usually this means the macro was only invoked conditionally." "$LINENO" 5 26171fi 26172if test -z "${BUILD_SOME_PROLOG_INTERFACES_TRUE}" && test -z "${BUILD_SOME_PROLOG_INTERFACES_FALSE}"; then 26173 as_fn_error $? "conditional \"BUILD_SOME_PROLOG_INTERFACES\" was never defined. 26174Usually this means the macro was only invoked conditionally." "$LINENO" 5 26175fi 26176if test -z "${VALGRIND_TESTS_ENABLED_TRUE}" && test -z "${VALGRIND_TESTS_ENABLED_FALSE}"; then 26177 as_fn_error $? "conditional \"VALGRIND_TESTS_ENABLED\" was never defined. 26178Usually this means the macro was only invoked conditionally." "$LINENO" 5 26179fi 26180if test -z "${THOROUGH_MAKE_CHECK_TRUE}" && test -z "${THOROUGH_MAKE_CHECK_FALSE}"; then 26181 as_fn_error $? "conditional \"THOROUGH_MAKE_CHECK\" was never defined. 26182Usually this means the macro was only invoked conditionally." "$LINENO" 5 26183fi 26184if test -z "${HAVE_MD5SUM_TRUE}" && test -z "${HAVE_MD5SUM_FALSE}"; then 26185 as_fn_error $? "conditional \"HAVE_MD5SUM\" was never defined. 26186Usually this means the macro was only invoked conditionally." "$LINENO" 5 26187fi 26188if test -z "${HAVE_GLPK_TRUE}" && test -z "${HAVE_GLPK_FALSE}"; then 26189 as_fn_error $? "conditional \"HAVE_GLPK\" was never defined. 26190Usually this means the macro was only invoked conditionally." "$LINENO" 5 26191fi 26192 26193: "${CONFIG_STATUS=./config.status}" 26194ac_write_fail=0 26195ac_clean_files_save=$ac_clean_files 26196ac_clean_files="$ac_clean_files $CONFIG_STATUS" 26197{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 26198$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 26199as_write_fail=0 26200cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 26201#! $SHELL 26202# Generated by $as_me. 26203# Run this file to recreate the current configuration. 26204# Compiler output produced by configure, useful for debugging 26205# configure, is in config.log if it exists. 26206 26207debug=false 26208ac_cs_recheck=false 26209ac_cs_silent=false 26210 26211SHELL=\${CONFIG_SHELL-$SHELL} 26212export SHELL 26213_ASEOF 26214cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 26215## -------------------- ## 26216## M4sh Initialization. ## 26217## -------------------- ## 26218 26219# Be more Bourne compatible 26220DUALCASE=1; export DUALCASE # for MKS sh 26221if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 26222 emulate sh 26223 NULLCMD=: 26224 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26225 # is contrary to our usage. Disable this feature. 26226 alias -g '${1+"$@"}'='"$@"' 26227 setopt NO_GLOB_SUBST 26228else 26229 case `(set -o) 2>/dev/null` in #( 26230 *posix*) : 26231 set -o posix ;; #( 26232 *) : 26233 ;; 26234esac 26235fi 26236 26237 26238as_nl=' 26239' 26240export as_nl 26241# Printing a long string crashes Solaris 7 /usr/bin/printf. 26242as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 26243as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 26244as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 26245# Prefer a ksh shell builtin over an external printf program on Solaris, 26246# but without wasting forks for bash or zsh. 26247if test -z "$BASH_VERSION$ZSH_VERSION" \ 26248 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 26249 as_echo='print -r --' 26250 as_echo_n='print -rn --' 26251elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 26252 as_echo='printf %s\n' 26253 as_echo_n='printf %s' 26254else 26255 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 26256 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 26257 as_echo_n='/usr/ucb/echo -n' 26258 else 26259 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 26260 as_echo_n_body='eval 26261 arg=$1; 26262 case $arg in #( 26263 *"$as_nl"*) 26264 expr "X$arg" : "X\\(.*\\)$as_nl"; 26265 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 26266 esac; 26267 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 26268 ' 26269 export as_echo_n_body 26270 as_echo_n='sh -c $as_echo_n_body as_echo' 26271 fi 26272 export as_echo_body 26273 as_echo='sh -c $as_echo_body as_echo' 26274fi 26275 26276# The user is always right. 26277if test "${PATH_SEPARATOR+set}" != set; then 26278 PATH_SEPARATOR=: 26279 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 26280 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 26281 PATH_SEPARATOR=';' 26282 } 26283fi 26284 26285 26286# IFS 26287# We need space, tab and new line, in precisely that order. Quoting is 26288# there to prevent editors from complaining about space-tab. 26289# (If _AS_PATH_WALK were called with IFS unset, it would disable word 26290# splitting by setting IFS to empty value.) 26291IFS=" "" $as_nl" 26292 26293# Find who we are. Look in the path if we contain no directory separator. 26294as_myself= 26295case $0 in #(( 26296 *[\\/]* ) as_myself=$0 ;; 26297 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26298for as_dir in $PATH 26299do 26300 IFS=$as_save_IFS 26301 test -z "$as_dir" && as_dir=. 26302 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 26303 done 26304IFS=$as_save_IFS 26305 26306 ;; 26307esac 26308# We did not find ourselves, most probably we were run as `sh COMMAND' 26309# in which case we are not to be found in the path. 26310if test "x$as_myself" = x; then 26311 as_myself=$0 26312fi 26313if test ! -f "$as_myself"; then 26314 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 26315 exit 1 26316fi 26317 26318# Unset variables that we do not need and which cause bugs (e.g. in 26319# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 26320# suppresses any "Segmentation fault" message there. '((' could 26321# trigger a bug in pdksh 5.2.14. 26322for as_var in BASH_ENV ENV MAIL MAILPATH 26323do eval test x\${$as_var+set} = xset \ 26324 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 26325done 26326PS1='$ ' 26327PS2='> ' 26328PS4='+ ' 26329 26330# NLS nuisances. 26331LC_ALL=C 26332export LC_ALL 26333LANGUAGE=C 26334export LANGUAGE 26335 26336# CDPATH. 26337(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 26338 26339 26340# as_fn_error STATUS ERROR [LINENO LOG_FD] 26341# ---------------------------------------- 26342# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 26343# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 26344# script with STATUS, using 1 if that was 0. 26345as_fn_error () 26346{ 26347 as_status=$1; test $as_status -eq 0 && as_status=1 26348 if test "$4"; then 26349 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 26350 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 26351 fi 26352 $as_echo "$as_me: error: $2" >&2 26353 as_fn_exit $as_status 26354} # as_fn_error 26355 26356 26357# as_fn_set_status STATUS 26358# ----------------------- 26359# Set $? to STATUS, without forking. 26360as_fn_set_status () 26361{ 26362 return $1 26363} # as_fn_set_status 26364 26365# as_fn_exit STATUS 26366# ----------------- 26367# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 26368as_fn_exit () 26369{ 26370 set +e 26371 as_fn_set_status $1 26372 exit $1 26373} # as_fn_exit 26374 26375# as_fn_unset VAR 26376# --------------- 26377# Portably unset VAR. 26378as_fn_unset () 26379{ 26380 { eval $1=; unset $1;} 26381} 26382as_unset=as_fn_unset 26383# as_fn_append VAR VALUE 26384# ---------------------- 26385# Append the text in VALUE to the end of the definition contained in VAR. Take 26386# advantage of any shell optimizations that allow amortized linear growth over 26387# repeated appends, instead of the typical quadratic growth present in naive 26388# implementations. 26389if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 26390 eval 'as_fn_append () 26391 { 26392 eval $1+=\$2 26393 }' 26394else 26395 as_fn_append () 26396 { 26397 eval $1=\$$1\$2 26398 } 26399fi # as_fn_append 26400 26401# as_fn_arith ARG... 26402# ------------------ 26403# Perform arithmetic evaluation on the ARGs, and store the result in the 26404# global $as_val. Take advantage of shells that can avoid forks. The arguments 26405# must be portable across $(()) and expr. 26406if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 26407 eval 'as_fn_arith () 26408 { 26409 as_val=$(( $* )) 26410 }' 26411else 26412 as_fn_arith () 26413 { 26414 as_val=`expr "$@" || test $? -eq 1` 26415 } 26416fi # as_fn_arith 26417 26418 26419if expr a : '\(a\)' >/dev/null 2>&1 && 26420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 26421 as_expr=expr 26422else 26423 as_expr=false 26424fi 26425 26426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 26427 as_basename=basename 26428else 26429 as_basename=false 26430fi 26431 26432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 26433 as_dirname=dirname 26434else 26435 as_dirname=false 26436fi 26437 26438as_me=`$as_basename -- "$0" || 26439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 26440 X"$0" : 'X\(//\)$' \| \ 26441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 26442$as_echo X/"$0" | 26443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 26444 s//\1/ 26445 q 26446 } 26447 /^X\/\(\/\/\)$/{ 26448 s//\1/ 26449 q 26450 } 26451 /^X\/\(\/\).*/{ 26452 s//\1/ 26453 q 26454 } 26455 s/.*/./; q'` 26456 26457# Avoid depending upon Character Ranges. 26458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 26459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 26460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 26461as_cr_digits='0123456789' 26462as_cr_alnum=$as_cr_Letters$as_cr_digits 26463 26464ECHO_C= ECHO_N= ECHO_T= 26465case `echo -n x` in #((((( 26466-n*) 26467 case `echo 'xy\c'` in 26468 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 26469 xy) ECHO_C='\c';; 26470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 26471 ECHO_T=' ';; 26472 esac;; 26473*) 26474 ECHO_N='-n';; 26475esac 26476 26477rm -f conf$$ conf$$.exe conf$$.file 26478if test -d conf$$.dir; then 26479 rm -f conf$$.dir/conf$$.file 26480else 26481 rm -f conf$$.dir 26482 mkdir conf$$.dir 2>/dev/null 26483fi 26484if (echo >conf$$.file) 2>/dev/null; then 26485 if ln -s conf$$.file conf$$ 2>/dev/null; then 26486 as_ln_s='ln -s' 26487 # ... but there are two gotchas: 26488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 26489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 26490 # In both cases, we have to default to `cp -pR'. 26491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 26492 as_ln_s='cp -pR' 26493 elif ln conf$$.file conf$$ 2>/dev/null; then 26494 as_ln_s=ln 26495 else 26496 as_ln_s='cp -pR' 26497 fi 26498else 26499 as_ln_s='cp -pR' 26500fi 26501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 26502rmdir conf$$.dir 2>/dev/null 26503 26504 26505# as_fn_mkdir_p 26506# ------------- 26507# Create "$as_dir" as a directory, including parents if necessary. 26508as_fn_mkdir_p () 26509{ 26510 26511 case $as_dir in #( 26512 -*) as_dir=./$as_dir;; 26513 esac 26514 test -d "$as_dir" || eval $as_mkdir_p || { 26515 as_dirs= 26516 while :; do 26517 case $as_dir in #( 26518 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 26519 *) as_qdir=$as_dir;; 26520 esac 26521 as_dirs="'$as_qdir' $as_dirs" 26522 as_dir=`$as_dirname -- "$as_dir" || 26523$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26524 X"$as_dir" : 'X\(//\)[^/]' \| \ 26525 X"$as_dir" : 'X\(//\)$' \| \ 26526 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 26527$as_echo X"$as_dir" | 26528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26529 s//\1/ 26530 q 26531 } 26532 /^X\(\/\/\)[^/].*/{ 26533 s//\1/ 26534 q 26535 } 26536 /^X\(\/\/\)$/{ 26537 s//\1/ 26538 q 26539 } 26540 /^X\(\/\).*/{ 26541 s//\1/ 26542 q 26543 } 26544 s/.*/./; q'` 26545 test -d "$as_dir" && break 26546 done 26547 test -z "$as_dirs" || eval "mkdir $as_dirs" 26548 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 26549 26550 26551} # as_fn_mkdir_p 26552if mkdir -p . 2>/dev/null; then 26553 as_mkdir_p='mkdir -p "$as_dir"' 26554else 26555 test -d ./-p && rmdir ./-p 26556 as_mkdir_p=false 26557fi 26558 26559 26560# as_fn_executable_p FILE 26561# ----------------------- 26562# Test if FILE is an executable regular file. 26563as_fn_executable_p () 26564{ 26565 test -f "$1" && test -x "$1" 26566} # as_fn_executable_p 26567as_test_x='test -x' 26568as_executable_p=as_fn_executable_p 26569 26570# Sed expression to map a string onto a valid CPP name. 26571as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 26572 26573# Sed expression to map a string onto a valid variable name. 26574as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 26575 26576 26577exec 6>&1 26578## ----------------------------------- ## 26579## Main body of $CONFIG_STATUS script. ## 26580## ----------------------------------- ## 26581_ASEOF 26582test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 26583 26584cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26585# Save the log message, to keep $0 and so on meaningful, and to 26586# report actual input values of CONFIG_FILES etc. instead of their 26587# values after options handling. 26588ac_log=" 26589This file was extended by the Parma Polyhedra Library $as_me 1.2, which was 26590generated by GNU Autoconf 2.69. Invocation command line was 26591 26592 CONFIG_FILES = $CONFIG_FILES 26593 CONFIG_HEADERS = $CONFIG_HEADERS 26594 CONFIG_LINKS = $CONFIG_LINKS 26595 CONFIG_COMMANDS = $CONFIG_COMMANDS 26596 $ $0 $@ 26597 26598on `(hostname || uname -n) 2>/dev/null | sed 1q` 26599" 26600 26601_ACEOF 26602 26603case $ac_config_files in *" 26604"*) set x $ac_config_files; shift; ac_config_files=$*;; 26605esac 26606 26607case $ac_config_headers in *" 26608"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 26609esac 26610 26611 26612cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26613# Files that config.status was made for. 26614config_files="$ac_config_files" 26615config_headers="$ac_config_headers" 26616config_commands="$ac_config_commands" 26617 26618_ACEOF 26619 26620cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26621ac_cs_usage="\ 26622\`$as_me' instantiates files and other configuration actions 26623from templates according to the current configuration. Unless the files 26624and actions are specified as TAGs, all are instantiated by default. 26625 26626Usage: $0 [OPTION]... [TAG]... 26627 26628 -h, --help print this help, then exit 26629 -V, --version print version number and configuration settings, then exit 26630 --config print configuration, then exit 26631 -q, --quiet, --silent 26632 do not print progress messages 26633 -d, --debug don't remove temporary files 26634 --recheck update $as_me by reconfiguring in the same conditions 26635 --file=FILE[:TEMPLATE] 26636 instantiate the configuration file FILE 26637 --header=FILE[:TEMPLATE] 26638 instantiate the configuration header FILE 26639 26640Configuration files: 26641$config_files 26642 26643Configuration headers: 26644$config_headers 26645 26646Configuration commands: 26647$config_commands 26648 26649Report bugs to <ppl-devel@cs.unipr.it>." 26650 26651_ACEOF 26652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26653ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 26654ac_cs_version="\\ 26655the Parma Polyhedra Library config.status 1.2 26656configured by $0, generated by GNU Autoconf 2.69, 26657 with options \\"\$ac_cs_config\\" 26658 26659Copyright (C) 2012 Free Software Foundation, Inc. 26660This config.status script is free software; the Free Software Foundation 26661gives unlimited permission to copy, distribute and modify it." 26662 26663ac_pwd='$ac_pwd' 26664srcdir='$srcdir' 26665INSTALL='$INSTALL' 26666MKDIR_P='$MKDIR_P' 26667AWK='$AWK' 26668test -n "\$AWK" || AWK=awk 26669_ACEOF 26670 26671cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26672# The default lists apply if the user does not specify any file. 26673ac_need_defaults=: 26674while test $# != 0 26675do 26676 case $1 in 26677 --*=?*) 26678 ac_option=`expr "X$1" : 'X\([^=]*\)='` 26679 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 26680 ac_shift=: 26681 ;; 26682 --*=) 26683 ac_option=`expr "X$1" : 'X\([^=]*\)='` 26684 ac_optarg= 26685 ac_shift=: 26686 ;; 26687 *) 26688 ac_option=$1 26689 ac_optarg=$2 26690 ac_shift=shift 26691 ;; 26692 esac 26693 26694 case $ac_option in 26695 # Handling of the options. 26696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 26697 ac_cs_recheck=: ;; 26698 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 26699 $as_echo "$ac_cs_version"; exit ;; 26700 --config | --confi | --conf | --con | --co | --c ) 26701 $as_echo "$ac_cs_config"; exit ;; 26702 --debug | --debu | --deb | --de | --d | -d ) 26703 debug=: ;; 26704 --file | --fil | --fi | --f ) 26705 $ac_shift 26706 case $ac_optarg in 26707 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26708 '') as_fn_error $? "missing file argument" ;; 26709 esac 26710 as_fn_append CONFIG_FILES " '$ac_optarg'" 26711 ac_need_defaults=false;; 26712 --header | --heade | --head | --hea ) 26713 $ac_shift 26714 case $ac_optarg in 26715 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26716 esac 26717 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 26718 ac_need_defaults=false;; 26719 --he | --h) 26720 # Conflict between --help and --header 26721 as_fn_error $? "ambiguous option: \`$1' 26722Try \`$0 --help' for more information.";; 26723 --help | --hel | -h ) 26724 $as_echo "$ac_cs_usage"; exit ;; 26725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 26726 | -silent | --silent | --silen | --sile | --sil | --si | --s) 26727 ac_cs_silent=: ;; 26728 26729 # This is an error. 26730 -*) as_fn_error $? "unrecognized option: \`$1' 26731Try \`$0 --help' for more information." ;; 26732 26733 *) as_fn_append ac_config_targets " $1" 26734 ac_need_defaults=false ;; 26735 26736 esac 26737 shift 26738done 26739 26740ac_configure_extra_args= 26741 26742if $ac_cs_silent; then 26743 exec 6>/dev/null 26744 ac_configure_extra_args="$ac_configure_extra_args --silent" 26745fi 26746 26747_ACEOF 26748cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26749if \$ac_cs_recheck; then 26750 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 26751 shift 26752 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 26753 CONFIG_SHELL='$SHELL' 26754 export CONFIG_SHELL 26755 exec "\$@" 26756fi 26757 26758_ACEOF 26759cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26760exec 5>>config.log 26761{ 26762 echo 26763 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 26764## Running $as_me. ## 26765_ASBOX 26766 $as_echo "$ac_log" 26767} >&5 26768 26769_ACEOF 26770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26771# 26772# INIT-COMMANDS 26773# 26774AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 26775 26776 26777# The HP-UX ksh and POSIX shell print the target directory to stdout 26778# if CDPATH is set. 26779(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 26780 26781sed_quote_subst='$sed_quote_subst' 26782double_quote_subst='$double_quote_subst' 26783delay_variable_subst='$delay_variable_subst' 26784macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 26785macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 26786enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 26787enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 26788pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 26789enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 26790SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 26791ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 26792PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 26793host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 26794host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 26795host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 26796build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 26797build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 26798build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 26799SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 26800Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 26801GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 26802EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 26803FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 26804LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 26805NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 26806LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 26807max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 26808ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 26809exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 26810lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 26811lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 26812lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 26813lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 26814lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 26815reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 26816reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 26817OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 26818deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 26819file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 26820file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 26821want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 26822DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 26823sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 26824AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 26825AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 26826archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 26827STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 26828RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 26829old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 26830old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 26831old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 26832lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 26833CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 26834CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 26835compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 26836GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 26837lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 26838lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 26839lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 26840lt_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"`' 26841nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 26842lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 26843objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 26844MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 26845lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 26846lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 26847lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 26848lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 26849lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 26850need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 26851MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 26852DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 26853NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 26854LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 26855OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 26856OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 26857libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 26858shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 26859extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 26860archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 26861enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 26862export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 26863whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 26864compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 26865old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 26866old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 26867archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 26868archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 26869module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 26870module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 26871with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 26872allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 26873no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 26874hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 26875hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 26876hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 26877hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 26878hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 26879hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 26880hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 26881inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 26882link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 26883always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 26884export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 26885exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 26886include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 26887prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 26888postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 26889file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 26890variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 26891need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 26892need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 26893version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 26894runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 26895shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 26896shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 26897libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 26898library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 26899soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 26900install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 26901postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 26902postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 26903finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 26904finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 26905hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 26906sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 26907sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 26908hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 26909enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 26910enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 26911enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 26912old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 26913striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 26914compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 26915predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 26916postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 26917predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 26918postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 26919compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 26920LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 26921reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 26922reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26923old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26924compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 26925GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 26926lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 26927lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 26928lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 26929lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 26930lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 26931archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 26932enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 26933export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 26934whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 26935compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 26936old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26937old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26938archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26939archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26940module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26941module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26942with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 26943allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 26944no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 26945hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 26946hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 26947hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 26948hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 26949hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 26950hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 26951hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 26952inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 26953link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 26954always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 26955export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26956exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 26957include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 26958prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26959postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 26960file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 26961hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 26962compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 26963predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 26964postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 26965predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 26966postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 26967compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 26968 26969LTCC='$LTCC' 26970LTCFLAGS='$LTCFLAGS' 26971compiler='$compiler_DEFAULT' 26972 26973# A function that is used when there is no print builtin or printf. 26974func_fallback_echo () 26975{ 26976 eval 'cat <<_LTECHO_EOF 26977\$1 26978_LTECHO_EOF' 26979} 26980 26981# Quote evaled strings. 26982for var in SHELL \ 26983ECHO \ 26984PATH_SEPARATOR \ 26985SED \ 26986GREP \ 26987EGREP \ 26988FGREP \ 26989LD \ 26990NM \ 26991LN_S \ 26992lt_SP2NL \ 26993lt_NL2SP \ 26994reload_flag \ 26995OBJDUMP \ 26996deplibs_check_method \ 26997file_magic_cmd \ 26998file_magic_glob \ 26999want_nocaseglob \ 27000DLLTOOL \ 27001sharedlib_from_linklib_cmd \ 27002AR \ 27003AR_FLAGS \ 27004archiver_list_spec \ 27005STRIP \ 27006RANLIB \ 27007CC \ 27008CFLAGS \ 27009compiler \ 27010lt_cv_sys_global_symbol_pipe \ 27011lt_cv_sys_global_symbol_to_cdecl \ 27012lt_cv_sys_global_symbol_to_c_name_address \ 27013lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 27014nm_file_list_spec \ 27015lt_prog_compiler_no_builtin_flag \ 27016lt_prog_compiler_pic \ 27017lt_prog_compiler_wl \ 27018lt_prog_compiler_static \ 27019lt_cv_prog_compiler_c_o \ 27020need_locks \ 27021MANIFEST_TOOL \ 27022DSYMUTIL \ 27023NMEDIT \ 27024LIPO \ 27025OTOOL \ 27026OTOOL64 \ 27027shrext_cmds \ 27028export_dynamic_flag_spec \ 27029whole_archive_flag_spec \ 27030compiler_needs_object \ 27031with_gnu_ld \ 27032allow_undefined_flag \ 27033no_undefined_flag \ 27034hardcode_libdir_flag_spec \ 27035hardcode_libdir_separator \ 27036exclude_expsyms \ 27037include_expsyms \ 27038file_list_spec \ 27039variables_saved_for_relink \ 27040libname_spec \ 27041library_names_spec \ 27042soname_spec \ 27043install_override_mode \ 27044finish_eval \ 27045old_striplib \ 27046striplib \ 27047compiler_lib_search_dirs \ 27048predep_objects \ 27049postdep_objects \ 27050predeps \ 27051postdeps \ 27052compiler_lib_search_path \ 27053LD_CXX \ 27054reload_flag_CXX \ 27055compiler_CXX \ 27056lt_prog_compiler_no_builtin_flag_CXX \ 27057lt_prog_compiler_pic_CXX \ 27058lt_prog_compiler_wl_CXX \ 27059lt_prog_compiler_static_CXX \ 27060lt_cv_prog_compiler_c_o_CXX \ 27061export_dynamic_flag_spec_CXX \ 27062whole_archive_flag_spec_CXX \ 27063compiler_needs_object_CXX \ 27064with_gnu_ld_CXX \ 27065allow_undefined_flag_CXX \ 27066no_undefined_flag_CXX \ 27067hardcode_libdir_flag_spec_CXX \ 27068hardcode_libdir_separator_CXX \ 27069exclude_expsyms_CXX \ 27070include_expsyms_CXX \ 27071file_list_spec_CXX \ 27072compiler_lib_search_dirs_CXX \ 27073predep_objects_CXX \ 27074postdep_objects_CXX \ 27075predeps_CXX \ 27076postdeps_CXX \ 27077compiler_lib_search_path_CXX; do 27078 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 27079 *[\\\\\\\`\\"\\\$]*) 27080 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 27081 ;; 27082 *) 27083 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 27084 ;; 27085 esac 27086done 27087 27088# Double-quote double-evaled strings. 27089for var in reload_cmds \ 27090old_postinstall_cmds \ 27091old_postuninstall_cmds \ 27092old_archive_cmds \ 27093extract_expsyms_cmds \ 27094old_archive_from_new_cmds \ 27095old_archive_from_expsyms_cmds \ 27096archive_cmds \ 27097archive_expsym_cmds \ 27098module_cmds \ 27099module_expsym_cmds \ 27100export_symbols_cmds \ 27101prelink_cmds \ 27102postlink_cmds \ 27103postinstall_cmds \ 27104postuninstall_cmds \ 27105finish_cmds \ 27106sys_lib_search_path_spec \ 27107sys_lib_dlsearch_path_spec \ 27108reload_cmds_CXX \ 27109old_archive_cmds_CXX \ 27110old_archive_from_new_cmds_CXX \ 27111old_archive_from_expsyms_cmds_CXX \ 27112archive_cmds_CXX \ 27113archive_expsym_cmds_CXX \ 27114module_cmds_CXX \ 27115module_expsym_cmds_CXX \ 27116export_symbols_cmds_CXX \ 27117prelink_cmds_CXX \ 27118postlink_cmds_CXX; do 27119 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 27120 *[\\\\\\\`\\"\\\$]*) 27121 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 27122 ;; 27123 *) 27124 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 27125 ;; 27126 esac 27127done 27128 27129ac_aux_dir='$ac_aux_dir' 27130xsi_shell='$xsi_shell' 27131lt_shell_append='$lt_shell_append' 27132 27133# See if we are running on zsh, and set the options which allow our 27134# commands through without removal of \ escapes INIT. 27135if test -n "\${ZSH_VERSION+set}" ; then 27136 setopt NO_GLOB_SUBST 27137fi 27138 27139 27140 PACKAGE='$PACKAGE' 27141 VERSION='$VERSION' 27142 TIMESTAMP='$TIMESTAMP' 27143 RM='$RM' 27144 ofile='$ofile' 27145 27146 27147 27148ac_aux_dir='$ac_aux_dir' 27149 27150 27151 27152_ACEOF 27153 27154cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27155 27156# Handling of arguments. 27157for ac_config_target in $ac_config_targets 27158do 27159 case $ac_config_target in 27160 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 27161 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 27162 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 27163 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 27164 "ppl.lsm") CONFIG_FILES="$CONFIG_FILES ppl.lsm" ;; 27165 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 27166 "src/version.hh") CONFIG_FILES="$CONFIG_FILES src/version.hh" ;; 27167 "src/ppl-config.cc") CONFIG_FILES="$CONFIG_FILES src/ppl-config.cc" ;; 27168 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 27169 "tests/BD_Shape/Makefile") CONFIG_FILES="$CONFIG_FILES tests/BD_Shape/Makefile" ;; 27170 "tests/Box/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Box/Makefile" ;; 27171 "tests/Concrete_Expression/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Concrete_Expression/Makefile" ;; 27172 "tests/CO_Tree/Makefile") CONFIG_FILES="$CONFIG_FILES tests/CO_Tree/Makefile" ;; 27173 "tests/Grid/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Grid/Makefile" ;; 27174 "tests/MIP_Problem/Makefile") CONFIG_FILES="$CONFIG_FILES tests/MIP_Problem/Makefile" ;; 27175 "tests/Octagonal_Shape/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Octagonal_Shape/Makefile" ;; 27176 "tests/Partially_Reduced_Product/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Partially_Reduced_Product/Makefile" ;; 27177 "tests/PIP_Problem/Makefile") CONFIG_FILES="$CONFIG_FILES tests/PIP_Problem/Makefile" ;; 27178 "tests/Polyhedron/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Polyhedron/Makefile" ;; 27179 "tests/Powerset/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Powerset/Makefile" ;; 27180 "tests/Watchdog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Watchdog/Makefile" ;; 27181 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 27182 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 27183 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;; 27184 "demos/ppl_lcdd/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_lcdd/Makefile" ;; 27185 "demos/ppl_lcdd/examples/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_lcdd/examples/Makefile" ;; 27186 "demos/ppl_lpsol/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_lpsol/Makefile" ;; 27187 "demos/ppl_lpsol/examples/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_lpsol/examples/Makefile" ;; 27188 "demos/ppl_pips/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_pips/Makefile" ;; 27189 "demos/ppl_pips/examples/Makefile") CONFIG_FILES="$CONFIG_FILES demos/ppl_pips/examples/Makefile" ;; 27190 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 27191 "doc/user.doxyconf-latex") CONFIG_FILES="$CONFIG_FILES doc/user.doxyconf-latex" ;; 27192 "doc/devref.doxyconf-latex") CONFIG_FILES="$CONFIG_FILES doc/devref.doxyconf-latex" ;; 27193 "doc/user.doxyconf-html") CONFIG_FILES="$CONFIG_FILES doc/user.doxyconf-html" ;; 27194 "doc/devref.doxyconf-html") CONFIG_FILES="$CONFIG_FILES doc/devref.doxyconf-html" ;; 27195 "doc/user-language-interface.doxyconf") CONFIG_FILES="$CONFIG_FILES doc/user-language-interface.doxyconf" ;; 27196 "doc/devref-language-interface.doxyconf") CONFIG_FILES="$CONFIG_FILES doc/devref-language-interface.doxyconf" ;; 27197 "interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Makefile" ;; 27198 "interfaces/C/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/C/Makefile" ;; 27199 "interfaces/C/ppl_c_version.h") CONFIG_FILES="$CONFIG_FILES interfaces/C/ppl_c_version.h" ;; 27200 "interfaces/C/tests/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/C/tests/Makefile" ;; 27201 "interfaces/Java/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Java/Makefile" ;; 27202 "interfaces/Java/jni/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Java/jni/Makefile" ;; 27203 "interfaces/Java/tests/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Java/tests/Makefile" ;; 27204 "interfaces/Java/parma_polyhedra_library/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Java/parma_polyhedra_library/Makefile" ;; 27205 "interfaces/OCaml/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/OCaml/Makefile" ;; 27206 "interfaces/OCaml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/OCaml/tests/Makefile" ;; 27207 "interfaces/Prolog/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/Makefile" ;; 27208 "interfaces/Prolog/Ciao/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/Ciao/Makefile" ;; 27209 "interfaces/Prolog/GNU/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/GNU/Makefile" ;; 27210 "interfaces/Prolog/SICStus/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/SICStus/Makefile" ;; 27211 "interfaces/Prolog/SWI/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/SWI/Makefile" ;; 27212 "interfaces/Prolog/XSB/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/XSB/Makefile" ;; 27213 "interfaces/Prolog/YAP/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/YAP/Makefile" ;; 27214 "interfaces/Prolog/tests/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Prolog/tests/Makefile" ;; 27215 27216 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 27217 esac 27218done 27219 27220 27221# If the user did not use the arguments to specify the items to instantiate, 27222# then the envvar interface is used. Set only those that are not. 27223# We use the long form for the default assignment because of an extremely 27224# bizarre bug on SunOS 4.1.3. 27225if $ac_need_defaults; then 27226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 27227 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 27228 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 27229fi 27230 27231# Have a temporary directory for convenience. Make it in the build tree 27232# simply because there is no reason against having it here, and in addition, 27233# creating and moving files from /tmp can sometimes cause problems. 27234# Hook for its removal unless debugging. 27235# Note that there is a small window in which the directory will not be cleaned: 27236# after its creation but before its name has been assigned to `$tmp'. 27237$debug || 27238{ 27239 tmp= ac_tmp= 27240 trap 'exit_status=$? 27241 : "${ac_tmp:=$tmp}" 27242 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 27243' 0 27244 trap 'as_fn_exit 1' 1 2 13 15 27245} 27246# Create a (secure) tmp directory for tmp files. 27247 27248{ 27249 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 27250 test -d "$tmp" 27251} || 27252{ 27253 tmp=./conf$$-$RANDOM 27254 (umask 077 && mkdir "$tmp") 27255} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 27256ac_tmp=$tmp 27257 27258# Set up the scripts for CONFIG_FILES section. 27259# No need to generate them if there are no CONFIG_FILES. 27260# This happens for instance with `./config.status config.h'. 27261if test -n "$CONFIG_FILES"; then 27262 27263 27264ac_cr=`echo X | tr X '\015'` 27265# On cygwin, bash can eat \r inside `` if the user requested igncr. 27266# But we know of no other shell where ac_cr would be empty at this 27267# point, so we can use a bashism as a fallback. 27268if test "x$ac_cr" = x; then 27269 eval ac_cr=\$\'\\r\' 27270fi 27271ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 27272if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 27273 ac_cs_awk_cr='\\r' 27274else 27275 ac_cs_awk_cr=$ac_cr 27276fi 27277 27278echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 27279_ACEOF 27280 27281 27282{ 27283 echo "cat >conf$$subs.awk <<_ACEOF" && 27284 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 27285 echo "_ACEOF" 27286} >conf$$subs.sh || 27287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27288ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 27289ac_delim='%!_!# ' 27290for ac_last_try in false false false false false :; do 27291 . ./conf$$subs.sh || 27292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27293 27294 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 27295 if test $ac_delim_n = $ac_delim_num; then 27296 break 27297 elif $ac_last_try; then 27298 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 27299 else 27300 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 27301 fi 27302done 27303rm -f conf$$subs.sh 27304 27305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27306cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 27307_ACEOF 27308sed -n ' 27309h 27310s/^/S["/; s/!.*/"]=/ 27311p 27312g 27313s/^[^!]*!// 27314:repl 27315t repl 27316s/'"$ac_delim"'$// 27317t delim 27318:nl 27319h 27320s/\(.\{148\}\)..*/\1/ 27321t more1 27322s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 27323p 27324n 27325b repl 27326:more1 27327s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 27328p 27329g 27330s/.\{148\}// 27331t nl 27332:delim 27333h 27334s/\(.\{148\}\)..*/\1/ 27335t more2 27336s/["\\]/\\&/g; s/^/"/; s/$/"/ 27337p 27338b 27339:more2 27340s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 27341p 27342g 27343s/.\{148\}// 27344t delim 27345' <conf$$subs.awk | sed ' 27346/^[^""]/{ 27347 N 27348 s/\n// 27349} 27350' >>$CONFIG_STATUS || ac_write_fail=1 27351rm -f conf$$subs.awk 27352cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27353_ACAWK 27354cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 27355 for (key in S) S_is_set[key] = 1 27356 FS = "" 27357 27358} 27359{ 27360 line = $ 0 27361 nfields = split(line, field, "@") 27362 substed = 0 27363 len = length(field[1]) 27364 for (i = 2; i < nfields; i++) { 27365 key = field[i] 27366 keylen = length(key) 27367 if (S_is_set[key]) { 27368 value = S[key] 27369 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 27370 len += length(value) + length(field[++i]) 27371 substed = 1 27372 } else 27373 len += 1 + keylen 27374 } 27375 27376 print line 27377} 27378 27379_ACAWK 27380_ACEOF 27381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27382if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 27383 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 27384else 27385 cat 27386fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 27387 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 27388_ACEOF 27389 27390# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 27391# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 27392# trailing colons and then remove the whole line if VPATH becomes empty 27393# (actually we leave an empty line to preserve line numbers). 27394if test "x$srcdir" = x.; then 27395 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 27396h 27397s/// 27398s/^/:/ 27399s/[ ]*$/:/ 27400s/:\$(srcdir):/:/g 27401s/:\${srcdir}:/:/g 27402s/:@srcdir@:/:/g 27403s/^:*// 27404s/:*$// 27405x 27406s/\(=[ ]*\).*/\1/ 27407G 27408s/\n// 27409s/^[^=]*=[ ]*$// 27410}' 27411fi 27412 27413cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27414fi # test -n "$CONFIG_FILES" 27415 27416# Set up the scripts for CONFIG_HEADERS section. 27417# No need to generate them if there are no CONFIG_HEADERS. 27418# This happens for instance with `./config.status Makefile'. 27419if test -n "$CONFIG_HEADERS"; then 27420cat >"$ac_tmp/defines.awk" <<\_ACAWK || 27421BEGIN { 27422_ACEOF 27423 27424# Transform confdefs.h into an awk script `defines.awk', embedded as 27425# here-document in config.status, that substitutes the proper values into 27426# config.h.in to produce config.h. 27427 27428# Create a delimiter string that does not exist in confdefs.h, to ease 27429# handling of long lines. 27430ac_delim='%!_!# ' 27431for ac_last_try in false false :; do 27432 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 27433 if test -z "$ac_tt"; then 27434 break 27435 elif $ac_last_try; then 27436 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 27437 else 27438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 27439 fi 27440done 27441 27442# For the awk script, D is an array of macro values keyed by name, 27443# likewise P contains macro parameters if any. Preserve backslash 27444# newline sequences. 27445 27446ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 27447sed -n ' 27448s/.\{148\}/&'"$ac_delim"'/g 27449t rset 27450:rset 27451s/^[ ]*#[ ]*define[ ][ ]*/ / 27452t def 27453d 27454:def 27455s/\\$// 27456t bsnl 27457s/["\\]/\\&/g 27458s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 27459D["\1"]=" \3"/p 27460s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 27461d 27462:bsnl 27463s/["\\]/\\&/g 27464s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 27465D["\1"]=" \3\\\\\\n"\\/p 27466t cont 27467s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 27468t cont 27469d 27470:cont 27471n 27472s/.\{148\}/&'"$ac_delim"'/g 27473t clear 27474:clear 27475s/\\$// 27476t bsnlc 27477s/["\\]/\\&/g; s/^/"/; s/$/"/p 27478d 27479:bsnlc 27480s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 27481b cont 27482' <confdefs.h | sed ' 27483s/'"$ac_delim"'/"\\\ 27484"/g' >>$CONFIG_STATUS || ac_write_fail=1 27485 27486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27487 for (key in D) D_is_set[key] = 1 27488 FS = "" 27489} 27490/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 27491 line = \$ 0 27492 split(line, arg, " ") 27493 if (arg[1] == "#") { 27494 defundef = arg[2] 27495 mac1 = arg[3] 27496 } else { 27497 defundef = substr(arg[1], 2) 27498 mac1 = arg[2] 27499 } 27500 split(mac1, mac2, "(") #) 27501 macro = mac2[1] 27502 prefix = substr(line, 1, index(line, defundef) - 1) 27503 if (D_is_set[macro]) { 27504 # Preserve the white space surrounding the "#". 27505 print prefix "define", macro P[macro] D[macro] 27506 next 27507 } else { 27508 # Replace #undef with comments. This is necessary, for example, 27509 # in the case of _POSIX_SOURCE, which is predefined and required 27510 # on some systems where configure will not decide to define it. 27511 if (defundef == "undef") { 27512 print "/*", prefix defundef, macro, "*/" 27513 next 27514 } 27515 } 27516} 27517{ print } 27518_ACAWK 27519_ACEOF 27520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27521 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 27522fi # test -n "$CONFIG_HEADERS" 27523 27524 27525eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 27526shift 27527for ac_tag 27528do 27529 case $ac_tag in 27530 :[FHLC]) ac_mode=$ac_tag; continue;; 27531 esac 27532 case $ac_mode$ac_tag in 27533 :[FHL]*:*);; 27534 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 27535 :[FH]-) ac_tag=-:-;; 27536 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 27537 esac 27538 ac_save_IFS=$IFS 27539 IFS=: 27540 set x $ac_tag 27541 IFS=$ac_save_IFS 27542 shift 27543 ac_file=$1 27544 shift 27545 27546 case $ac_mode in 27547 :L) ac_source=$1;; 27548 :[FH]) 27549 ac_file_inputs= 27550 for ac_f 27551 do 27552 case $ac_f in 27553 -) ac_f="$ac_tmp/stdin";; 27554 *) # Look for the file first in the build tree, then in the source tree 27555 # (if the path is not absolute). The absolute path cannot be DOS-style, 27556 # because $ac_f cannot contain `:'. 27557 test -f "$ac_f" || 27558 case $ac_f in 27559 [\\/$]*) false;; 27560 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 27561 esac || 27562 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 27563 esac 27564 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 27565 as_fn_append ac_file_inputs " '$ac_f'" 27566 done 27567 27568 # Let's still pretend it is `configure' which instantiates (i.e., don't 27569 # use $as_me), people would be surprised to read: 27570 # /* config.h. Generated by config.status. */ 27571 configure_input='Generated from '` 27572 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 27573 `' by configure.' 27574 if test x"$ac_file" != x-; then 27575 configure_input="$ac_file. $configure_input" 27576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 27577$as_echo "$as_me: creating $ac_file" >&6;} 27578 fi 27579 # Neutralize special characters interpreted by sed in replacement strings. 27580 case $configure_input in #( 27581 *\&* | *\|* | *\\* ) 27582 ac_sed_conf_input=`$as_echo "$configure_input" | 27583 sed 's/[\\\\&|]/\\\\&/g'`;; #( 27584 *) ac_sed_conf_input=$configure_input;; 27585 esac 27586 27587 case $ac_tag in 27588 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 27589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 27590 esac 27591 ;; 27592 esac 27593 27594 ac_dir=`$as_dirname -- "$ac_file" || 27595$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27596 X"$ac_file" : 'X\(//\)[^/]' \| \ 27597 X"$ac_file" : 'X\(//\)$' \| \ 27598 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 27599$as_echo X"$ac_file" | 27600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27601 s//\1/ 27602 q 27603 } 27604 /^X\(\/\/\)[^/].*/{ 27605 s//\1/ 27606 q 27607 } 27608 /^X\(\/\/\)$/{ 27609 s//\1/ 27610 q 27611 } 27612 /^X\(\/\).*/{ 27613 s//\1/ 27614 q 27615 } 27616 s/.*/./; q'` 27617 as_dir="$ac_dir"; as_fn_mkdir_p 27618 ac_builddir=. 27619 27620case "$ac_dir" in 27621.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 27622*) 27623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 27624 # A ".." for each directory in $ac_dir_suffix. 27625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 27626 case $ac_top_builddir_sub in 27627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 27628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 27629 esac ;; 27630esac 27631ac_abs_top_builddir=$ac_pwd 27632ac_abs_builddir=$ac_pwd$ac_dir_suffix 27633# for backward compatibility: 27634ac_top_builddir=$ac_top_build_prefix 27635 27636case $srcdir in 27637 .) # We are building in place. 27638 ac_srcdir=. 27639 ac_top_srcdir=$ac_top_builddir_sub 27640 ac_abs_top_srcdir=$ac_pwd ;; 27641 [\\/]* | ?:[\\/]* ) # Absolute name. 27642 ac_srcdir=$srcdir$ac_dir_suffix; 27643 ac_top_srcdir=$srcdir 27644 ac_abs_top_srcdir=$srcdir ;; 27645 *) # Relative name. 27646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 27647 ac_top_srcdir=$ac_top_build_prefix$srcdir 27648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 27649esac 27650ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 27651 27652 27653 case $ac_mode in 27654 :F) 27655 # 27656 # CONFIG_FILE 27657 # 27658 27659 case $INSTALL in 27660 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 27661 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 27662 esac 27663 ac_MKDIR_P=$MKDIR_P 27664 case $MKDIR_P in 27665 [\\/$]* | ?:[\\/]* ) ;; 27666 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 27667 esac 27668_ACEOF 27669 27670cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27671# If the template does not know about datarootdir, expand it. 27672# FIXME: This hack should be removed a few years after 2.60. 27673ac_datarootdir_hack=; ac_datarootdir_seen= 27674ac_sed_dataroot=' 27675/datarootdir/ { 27676 p 27677 q 27678} 27679/@datadir@/p 27680/@docdir@/p 27681/@infodir@/p 27682/@localedir@/p 27683/@mandir@/p' 27684case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 27685*datarootdir*) ac_datarootdir_seen=yes;; 27686*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 27687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 27688$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 27689_ACEOF 27690cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27691 ac_datarootdir_hack=' 27692 s&@datadir@&$datadir&g 27693 s&@docdir@&$docdir&g 27694 s&@infodir@&$infodir&g 27695 s&@localedir@&$localedir&g 27696 s&@mandir@&$mandir&g 27697 s&\\\${datarootdir}&$datarootdir&g' ;; 27698esac 27699_ACEOF 27700 27701# Neutralize VPATH when `$srcdir' = `.'. 27702# Shell code in configure.ac might set extrasub. 27703# FIXME: do we really want to maintain this feature? 27704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27705ac_sed_extra="$ac_vpsub 27706$extrasub 27707_ACEOF 27708cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27709:t 27710/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 27711s|@configure_input@|$ac_sed_conf_input|;t t 27712s&@top_builddir@&$ac_top_builddir_sub&;t t 27713s&@top_build_prefix@&$ac_top_build_prefix&;t t 27714s&@srcdir@&$ac_srcdir&;t t 27715s&@abs_srcdir@&$ac_abs_srcdir&;t t 27716s&@top_srcdir@&$ac_top_srcdir&;t t 27717s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 27718s&@builddir@&$ac_builddir&;t t 27719s&@abs_builddir@&$ac_abs_builddir&;t t 27720s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 27721s&@INSTALL@&$ac_INSTALL&;t t 27722s&@MKDIR_P@&$ac_MKDIR_P&;t t 27723$ac_datarootdir_hack 27724" 27725eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 27726 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 27727 27728test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 27729 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 27730 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 27731 "$ac_tmp/out"`; test -z "$ac_out"; } && 27732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27733which seems to be undefined. Please make sure it is defined" >&5 27734$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27735which seems to be undefined. Please make sure it is defined" >&2;} 27736 27737 rm -f "$ac_tmp/stdin" 27738 case $ac_file in 27739 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 27740 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 27741 esac \ 27742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 27743 ;; 27744 :H) 27745 # 27746 # CONFIG_HEADER 27747 # 27748 if test x"$ac_file" != x-; then 27749 { 27750 $as_echo "/* $configure_input */" \ 27751 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 27752 } >"$ac_tmp/config.h" \ 27753 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 27754 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 27755 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 27756$as_echo "$as_me: $ac_file is unchanged" >&6;} 27757 else 27758 rm -f "$ac_file" 27759 mv "$ac_tmp/config.h" "$ac_file" \ 27760 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 27761 fi 27762 else 27763 $as_echo "/* $configure_input */" \ 27764 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 27765 || as_fn_error $? "could not create -" "$LINENO" 5 27766 fi 27767# Compute "$ac_file"'s index in $config_headers. 27768_am_arg="$ac_file" 27769_am_stamp_count=1 27770for _am_header in $config_headers :; do 27771 case $_am_header in 27772 $_am_arg | $_am_arg:* ) 27773 break ;; 27774 * ) 27775 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 27776 esac 27777done 27778echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 27779$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27780 X"$_am_arg" : 'X\(//\)[^/]' \| \ 27781 X"$_am_arg" : 'X\(//\)$' \| \ 27782 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 27783$as_echo X"$_am_arg" | 27784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27785 s//\1/ 27786 q 27787 } 27788 /^X\(\/\/\)[^/].*/{ 27789 s//\1/ 27790 q 27791 } 27792 /^X\(\/\/\)$/{ 27793 s//\1/ 27794 q 27795 } 27796 /^X\(\/\).*/{ 27797 s//\1/ 27798 q 27799 } 27800 s/.*/./; q'`/stamp-h$_am_stamp_count 27801 ;; 27802 27803 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 27804$as_echo "$as_me: executing $ac_file commands" >&6;} 27805 ;; 27806 esac 27807 27808 27809 case $ac_file$ac_mode in 27810 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 27811 # Older Autoconf quotes --file arguments for eval, but not when files 27812 # are listed without --file. Let's play safe and only enable the eval 27813 # if we detect the quoting. 27814 case $CONFIG_FILES in 27815 *\'*) eval set x "$CONFIG_FILES" ;; 27816 *) set x $CONFIG_FILES ;; 27817 esac 27818 shift 27819 for mf 27820 do 27821 # Strip MF so we end up with the name of the file. 27822 mf=`echo "$mf" | sed -e 's/:.*$//'` 27823 # Check whether this is an Automake generated Makefile or not. 27824 # We used to match only the files named 'Makefile.in', but 27825 # some people rename them; so instead we look at the file content. 27826 # Grep'ing the first line is not enough: some people post-process 27827 # each Makefile.in and add a new line on top of each file to say so. 27828 # Grep'ing the whole file is not good either: AIX grep has a line 27829 # limit of 2048, but all sed's we know have understand at least 4000. 27830 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 27831 dirpart=`$as_dirname -- "$mf" || 27832$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27833 X"$mf" : 'X\(//\)[^/]' \| \ 27834 X"$mf" : 'X\(//\)$' \| \ 27835 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 27836$as_echo X"$mf" | 27837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27838 s//\1/ 27839 q 27840 } 27841 /^X\(\/\/\)[^/].*/{ 27842 s//\1/ 27843 q 27844 } 27845 /^X\(\/\/\)$/{ 27846 s//\1/ 27847 q 27848 } 27849 /^X\(\/\).*/{ 27850 s//\1/ 27851 q 27852 } 27853 s/.*/./; q'` 27854 else 27855 continue 27856 fi 27857 # Extract the definition of DEPDIR, am__include, and am__quote 27858 # from the Makefile without running 'make'. 27859 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 27860 test -z "$DEPDIR" && continue 27861 am__include=`sed -n 's/^am__include = //p' < "$mf"` 27862 test -z "$am__include" && continue 27863 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 27864 # Find all dependency output files, they are included files with 27865 # $(DEPDIR) in their names. We invoke sed twice because it is the 27866 # simplest approach to changing $(DEPDIR) to its actual value in the 27867 # expansion. 27868 for file in `sed -n " 27869 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 27870 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 27871 # Make sure the directory exists. 27872 test -f "$dirpart/$file" && continue 27873 fdir=`$as_dirname -- "$file" || 27874$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27875 X"$file" : 'X\(//\)[^/]' \| \ 27876 X"$file" : 'X\(//\)$' \| \ 27877 X"$file" : 'X\(/\)' \| . 2>/dev/null || 27878$as_echo X"$file" | 27879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 27880 s//\1/ 27881 q 27882 } 27883 /^X\(\/\/\)[^/].*/{ 27884 s//\1/ 27885 q 27886 } 27887 /^X\(\/\/\)$/{ 27888 s//\1/ 27889 q 27890 } 27891 /^X\(\/\).*/{ 27892 s//\1/ 27893 q 27894 } 27895 s/.*/./; q'` 27896 as_dir=$dirpart/$fdir; as_fn_mkdir_p 27897 # echo "creating $dirpart/$file" 27898 echo '# dummy' > "$dirpart/$file" 27899 done 27900 done 27901} 27902 ;; 27903 "libtool":C) 27904 27905 # See if we are running on zsh, and set the options which allow our 27906 # commands through without removal of \ escapes. 27907 if test -n "${ZSH_VERSION+set}" ; then 27908 setopt NO_GLOB_SUBST 27909 fi 27910 27911 cfgfile="${ofile}T" 27912 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 27913 $RM "$cfgfile" 27914 27915 cat <<_LT_EOF >> "$cfgfile" 27916#! $SHELL 27917 27918# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 27919# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 27920# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 27921# NOTE: Changes made to this file will be lost: look at ltmain.sh. 27922# 27923# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 27924# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 27925# Foundation, Inc. 27926# Written by Gordon Matzigkeit, 1996 27927# 27928# This file is part of GNU Libtool. 27929# 27930# GNU Libtool is free software; you can redistribute it and/or 27931# modify it under the terms of the GNU General Public License as 27932# published by the Free Software Foundation; either version 2 of 27933# the License, or (at your option) any later version. 27934# 27935# As a special exception to the GNU General Public License, 27936# if you distribute this file as part of a program or library that 27937# is built using GNU Libtool, you may include this file under the 27938# same distribution terms that you use for the rest of that program. 27939# 27940# GNU Libtool is distributed in the hope that it will be useful, 27941# but WITHOUT ANY WARRANTY; without even the implied warranty of 27942# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27943# GNU General Public License for more details. 27944# 27945# You should have received a copy of the GNU General Public License 27946# along with GNU Libtool; see the file COPYING. If not, a copy 27947# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 27948# obtained by writing to the Free Software Foundation, Inc., 27949# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 27950 27951 27952# The names of the tagged configurations supported by this script. 27953available_tags="CXX " 27954 27955# ### BEGIN LIBTOOL CONFIG 27956 27957# Which release of libtool.m4 was used? 27958macro_version=$macro_version 27959macro_revision=$macro_revision 27960 27961# Whether or not to build shared libraries. 27962build_libtool_libs=$enable_shared 27963 27964# Whether or not to build static libraries. 27965build_old_libs=$enable_static 27966 27967# What type of objects to build. 27968pic_mode=$pic_mode 27969 27970# Whether or not to optimize for fast installation. 27971fast_install=$enable_fast_install 27972 27973# Shell to use when invoking shell scripts. 27974SHELL=$lt_SHELL 27975 27976# An echo program that protects backslashes. 27977ECHO=$lt_ECHO 27978 27979# The PATH separator for the build system. 27980PATH_SEPARATOR=$lt_PATH_SEPARATOR 27981 27982# The host system. 27983host_alias=$host_alias 27984host=$host 27985host_os=$host_os 27986 27987# The build system. 27988build_alias=$build_alias 27989build=$build 27990build_os=$build_os 27991 27992# A sed program that does not truncate output. 27993SED=$lt_SED 27994 27995# Sed that helps us avoid accidentally triggering echo(1) options like -n. 27996Xsed="\$SED -e 1s/^X//" 27997 27998# A grep program that handles long lines. 27999GREP=$lt_GREP 28000 28001# An ERE matcher. 28002EGREP=$lt_EGREP 28003 28004# A literal string matcher. 28005FGREP=$lt_FGREP 28006 28007# A BSD- or MS-compatible name lister. 28008NM=$lt_NM 28009 28010# Whether we need soft or hard links. 28011LN_S=$lt_LN_S 28012 28013# What is the maximum length of a command? 28014max_cmd_len=$max_cmd_len 28015 28016# Object file suffix (normally "o"). 28017objext=$ac_objext 28018 28019# Executable file suffix (normally ""). 28020exeext=$exeext 28021 28022# whether the shell understands "unset". 28023lt_unset=$lt_unset 28024 28025# turn spaces into newlines. 28026SP2NL=$lt_lt_SP2NL 28027 28028# turn newlines into spaces. 28029NL2SP=$lt_lt_NL2SP 28030 28031# convert \$build file names to \$host format. 28032to_host_file_cmd=$lt_cv_to_host_file_cmd 28033 28034# convert \$build files to toolchain format. 28035to_tool_file_cmd=$lt_cv_to_tool_file_cmd 28036 28037# An object symbol dumper. 28038OBJDUMP=$lt_OBJDUMP 28039 28040# Method to check whether dependent libraries are shared objects. 28041deplibs_check_method=$lt_deplibs_check_method 28042 28043# Command to use when deplibs_check_method = "file_magic". 28044file_magic_cmd=$lt_file_magic_cmd 28045 28046# How to find potential files when deplibs_check_method = "file_magic". 28047file_magic_glob=$lt_file_magic_glob 28048 28049# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 28050want_nocaseglob=$lt_want_nocaseglob 28051 28052# DLL creation program. 28053DLLTOOL=$lt_DLLTOOL 28054 28055# Command to associate shared and link libraries. 28056sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 28057 28058# The archiver. 28059AR=$lt_AR 28060 28061# Flags to create an archive. 28062AR_FLAGS=$lt_AR_FLAGS 28063 28064# How to feed a file listing to the archiver. 28065archiver_list_spec=$lt_archiver_list_spec 28066 28067# A symbol stripping program. 28068STRIP=$lt_STRIP 28069 28070# Commands used to install an old-style archive. 28071RANLIB=$lt_RANLIB 28072old_postinstall_cmds=$lt_old_postinstall_cmds 28073old_postuninstall_cmds=$lt_old_postuninstall_cmds 28074 28075# Whether to use a lock for old archive extraction. 28076lock_old_archive_extraction=$lock_old_archive_extraction 28077 28078# A C compiler. 28079LTCC=$lt_CC 28080 28081# LTCC compiler flags. 28082LTCFLAGS=$lt_CFLAGS 28083 28084# Take the output of nm and produce a listing of raw symbols and C names. 28085global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 28086 28087# Transform the output of nm in a proper C declaration. 28088global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 28089 28090# Transform the output of nm in a C name address pair. 28091global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 28092 28093# Transform the output of nm in a C name address pair when lib prefix is needed. 28094global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 28095 28096# Specify filename containing input files for \$NM. 28097nm_file_list_spec=$lt_nm_file_list_spec 28098 28099# The root where to search for dependent libraries,and in which our libraries should be installed. 28100lt_sysroot=$lt_sysroot 28101 28102# The name of the directory that contains temporary libtool files. 28103objdir=$objdir 28104 28105# Used to examine libraries when file_magic_cmd begins with "file". 28106MAGIC_CMD=$MAGIC_CMD 28107 28108# Must we lock files when doing compilation? 28109need_locks=$lt_need_locks 28110 28111# Manifest tool. 28112MANIFEST_TOOL=$lt_MANIFEST_TOOL 28113 28114# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 28115DSYMUTIL=$lt_DSYMUTIL 28116 28117# Tool to change global to local symbols on Mac OS X. 28118NMEDIT=$lt_NMEDIT 28119 28120# Tool to manipulate fat objects and archives on Mac OS X. 28121LIPO=$lt_LIPO 28122 28123# ldd/readelf like tool for Mach-O binaries on Mac OS X. 28124OTOOL=$lt_OTOOL 28125 28126# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 28127OTOOL64=$lt_OTOOL64 28128 28129# Old archive suffix (normally "a"). 28130libext=$libext 28131 28132# Shared library suffix (normally ".so"). 28133shrext_cmds=$lt_shrext_cmds 28134 28135# The commands to extract the exported symbol list from a shared archive. 28136extract_expsyms_cmds=$lt_extract_expsyms_cmds 28137 28138# Variables whose values should be saved in libtool wrapper scripts and 28139# restored at link time. 28140variables_saved_for_relink=$lt_variables_saved_for_relink 28141 28142# Do we need the "lib" prefix for modules? 28143need_lib_prefix=$need_lib_prefix 28144 28145# Do we need a version for libraries? 28146need_version=$need_version 28147 28148# Library versioning type. 28149version_type=$version_type 28150 28151# Shared library runtime path variable. 28152runpath_var=$runpath_var 28153 28154# Shared library path variable. 28155shlibpath_var=$shlibpath_var 28156 28157# Is shlibpath searched before the hard-coded library search path? 28158shlibpath_overrides_runpath=$shlibpath_overrides_runpath 28159 28160# Format of library name prefix. 28161libname_spec=$lt_libname_spec 28162 28163# List of archive names. First name is the real one, the rest are links. 28164# The last name is the one that the linker finds with -lNAME 28165library_names_spec=$lt_library_names_spec 28166 28167# The coded name of the library, if different from the real name. 28168soname_spec=$lt_soname_spec 28169 28170# Permission mode override for installation of shared libraries. 28171install_override_mode=$lt_install_override_mode 28172 28173# Command to use after installation of a shared archive. 28174postinstall_cmds=$lt_postinstall_cmds 28175 28176# Command to use after uninstallation of a shared archive. 28177postuninstall_cmds=$lt_postuninstall_cmds 28178 28179# Commands used to finish a libtool library installation in a directory. 28180finish_cmds=$lt_finish_cmds 28181 28182# As "finish_cmds", except a single script fragment to be evaled but 28183# not shown. 28184finish_eval=$lt_finish_eval 28185 28186# Whether we should hardcode library paths into libraries. 28187hardcode_into_libs=$hardcode_into_libs 28188 28189# Compile-time system search path for libraries. 28190sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 28191 28192# Run-time system search path for libraries. 28193sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 28194 28195# Whether dlopen is supported. 28196dlopen_support=$enable_dlopen 28197 28198# Whether dlopen of programs is supported. 28199dlopen_self=$enable_dlopen_self 28200 28201# Whether dlopen of statically linked programs is supported. 28202dlopen_self_static=$enable_dlopen_self_static 28203 28204# Commands to strip libraries. 28205old_striplib=$lt_old_striplib 28206striplib=$lt_striplib 28207 28208 28209# The linker used to build libraries. 28210LD=$lt_LD 28211 28212# How to create reloadable object files. 28213reload_flag=$lt_reload_flag 28214reload_cmds=$lt_reload_cmds 28215 28216# Commands used to build an old-style archive. 28217old_archive_cmds=$lt_old_archive_cmds 28218 28219# A language specific compiler. 28220CC=$lt_compiler 28221 28222# Is the compiler the GNU compiler? 28223with_gcc=$GCC 28224 28225# Compiler flag to turn off builtin functions. 28226no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 28227 28228# Additional compiler flags for building library objects. 28229pic_flag=$lt_lt_prog_compiler_pic 28230 28231# How to pass a linker flag through the compiler. 28232wl=$lt_lt_prog_compiler_wl 28233 28234# Compiler flag to prevent dynamic linking. 28235link_static_flag=$lt_lt_prog_compiler_static 28236 28237# Does compiler simultaneously support -c and -o options? 28238compiler_c_o=$lt_lt_cv_prog_compiler_c_o 28239 28240# Whether or not to add -lc for building shared libraries. 28241build_libtool_need_lc=$archive_cmds_need_lc 28242 28243# Whether or not to disallow shared libs when runtime libs are static. 28244allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 28245 28246# Compiler flag to allow reflexive dlopens. 28247export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 28248 28249# Compiler flag to generate shared objects directly from archives. 28250whole_archive_flag_spec=$lt_whole_archive_flag_spec 28251 28252# Whether the compiler copes with passing no objects directly. 28253compiler_needs_object=$lt_compiler_needs_object 28254 28255# Create an old-style archive from a shared archive. 28256old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 28257 28258# Create a temporary old-style archive to link instead of a shared archive. 28259old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 28260 28261# Commands used to build a shared archive. 28262archive_cmds=$lt_archive_cmds 28263archive_expsym_cmds=$lt_archive_expsym_cmds 28264 28265# Commands used to build a loadable module if different from building 28266# a shared archive. 28267module_cmds=$lt_module_cmds 28268module_expsym_cmds=$lt_module_expsym_cmds 28269 28270# Whether we are building with GNU ld or not. 28271with_gnu_ld=$lt_with_gnu_ld 28272 28273# Flag that allows shared libraries with undefined symbols to be built. 28274allow_undefined_flag=$lt_allow_undefined_flag 28275 28276# Flag that enforces no undefined symbols. 28277no_undefined_flag=$lt_no_undefined_flag 28278 28279# Flag to hardcode \$libdir into a binary during linking. 28280# This must work even if \$libdir does not exist 28281hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 28282 28283# Whether we need a single "-rpath" flag with a separated argument. 28284hardcode_libdir_separator=$lt_hardcode_libdir_separator 28285 28286# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 28287# DIR into the resulting binary. 28288hardcode_direct=$hardcode_direct 28289 28290# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 28291# DIR into the resulting binary and the resulting library dependency is 28292# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 28293# library is relocated. 28294hardcode_direct_absolute=$hardcode_direct_absolute 28295 28296# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 28297# into the resulting binary. 28298hardcode_minus_L=$hardcode_minus_L 28299 28300# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 28301# into the resulting binary. 28302hardcode_shlibpath_var=$hardcode_shlibpath_var 28303 28304# Set to "yes" if building a shared library automatically hardcodes DIR 28305# into the library and all subsequent libraries and executables linked 28306# against it. 28307hardcode_automatic=$hardcode_automatic 28308 28309# Set to yes if linker adds runtime paths of dependent libraries 28310# to runtime path list. 28311inherit_rpath=$inherit_rpath 28312 28313# Whether libtool must link a program against all its dependency libraries. 28314link_all_deplibs=$link_all_deplibs 28315 28316# Set to "yes" if exported symbols are required. 28317always_export_symbols=$always_export_symbols 28318 28319# The commands to list exported symbols. 28320export_symbols_cmds=$lt_export_symbols_cmds 28321 28322# Symbols that should not be listed in the preloaded symbols. 28323exclude_expsyms=$lt_exclude_expsyms 28324 28325# Symbols that must always be exported. 28326include_expsyms=$lt_include_expsyms 28327 28328# Commands necessary for linking programs (against libraries) with templates. 28329prelink_cmds=$lt_prelink_cmds 28330 28331# Commands necessary for finishing linking programs. 28332postlink_cmds=$lt_postlink_cmds 28333 28334# Specify filename containing input files. 28335file_list_spec=$lt_file_list_spec 28336 28337# How to hardcode a shared library path into an executable. 28338hardcode_action=$hardcode_action 28339 28340# The directories searched by this compiler when creating a shared library. 28341compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 28342 28343# Dependencies to place before and after the objects being linked to 28344# create a shared library. 28345predep_objects=$lt_predep_objects 28346postdep_objects=$lt_postdep_objects 28347predeps=$lt_predeps 28348postdeps=$lt_postdeps 28349 28350# The library search path used internally by the compiler when linking 28351# a shared library. 28352compiler_lib_search_path=$lt_compiler_lib_search_path 28353 28354# ### END LIBTOOL CONFIG 28355 28356_LT_EOF 28357 28358 case $host_os in 28359 aix3*) 28360 cat <<\_LT_EOF >> "$cfgfile" 28361# AIX sometimes has problems with the GCC collect2 program. For some 28362# reason, if we set the COLLECT_NAMES environment variable, the problems 28363# vanish in a puff of smoke. 28364if test "X${COLLECT_NAMES+set}" != Xset; then 28365 COLLECT_NAMES= 28366 export COLLECT_NAMES 28367fi 28368_LT_EOF 28369 ;; 28370 esac 28371 28372 28373ltmain="$ac_aux_dir/ltmain.sh" 28374 28375 28376 # We use sed instead of cat because bash on DJGPP gets confused if 28377 # if finds mixed CR/LF and LF-only lines. Since sed operates in 28378 # text mode, it properly converts lines to CR/LF. This bash problem 28379 # is reportedly fixed, but why not run on old versions too? 28380 sed '$q' "$ltmain" >> "$cfgfile" \ 28381 || (rm -f "$cfgfile"; exit 1) 28382 28383 if test x"$xsi_shell" = xyes; then 28384 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 28385func_dirname ()\ 28386{\ 28387\ case ${1} in\ 28388\ */*) func_dirname_result="${1%/*}${2}" ;;\ 28389\ * ) func_dirname_result="${3}" ;;\ 28390\ esac\ 28391} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 28392 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28393 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28394test 0 -eq $? || _lt_function_replace_fail=: 28395 28396 28397 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 28398func_basename ()\ 28399{\ 28400\ func_basename_result="${1##*/}"\ 28401} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 28402 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28403 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28404test 0 -eq $? || _lt_function_replace_fail=: 28405 28406 28407 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 28408func_dirname_and_basename ()\ 28409{\ 28410\ case ${1} in\ 28411\ */*) func_dirname_result="${1%/*}${2}" ;;\ 28412\ * ) func_dirname_result="${3}" ;;\ 28413\ esac\ 28414\ func_basename_result="${1##*/}"\ 28415} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 28416 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28418test 0 -eq $? || _lt_function_replace_fail=: 28419 28420 28421 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 28422func_stripname ()\ 28423{\ 28424\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 28425\ # positional parameters, so assign one to ordinary parameter first.\ 28426\ func_stripname_result=${3}\ 28427\ func_stripname_result=${func_stripname_result#"${1}"}\ 28428\ func_stripname_result=${func_stripname_result%"${2}"}\ 28429} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 28430 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28431 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28432test 0 -eq $? || _lt_function_replace_fail=: 28433 28434 28435 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 28436func_split_long_opt ()\ 28437{\ 28438\ func_split_long_opt_name=${1%%=*}\ 28439\ func_split_long_opt_arg=${1#*=}\ 28440} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 28441 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28442 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28443test 0 -eq $? || _lt_function_replace_fail=: 28444 28445 28446 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 28447func_split_short_opt ()\ 28448{\ 28449\ func_split_short_opt_arg=${1#??}\ 28450\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 28451} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 28452 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28453 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28454test 0 -eq $? || _lt_function_replace_fail=: 28455 28456 28457 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 28458func_lo2o ()\ 28459{\ 28460\ case ${1} in\ 28461\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 28462\ *) func_lo2o_result=${1} ;;\ 28463\ esac\ 28464} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 28465 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28466 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28467test 0 -eq $? || _lt_function_replace_fail=: 28468 28469 28470 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 28471func_xform ()\ 28472{\ 28473 func_xform_result=${1%.*}.lo\ 28474} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 28475 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28476 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28477test 0 -eq $? || _lt_function_replace_fail=: 28478 28479 28480 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 28481func_arith ()\ 28482{\ 28483 func_arith_result=$(( $* ))\ 28484} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 28485 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28486 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28487test 0 -eq $? || _lt_function_replace_fail=: 28488 28489 28490 sed -e '/^func_len ()$/,/^} # func_len /c\ 28491func_len ()\ 28492{\ 28493 func_len_result=${#1}\ 28494} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 28495 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28497test 0 -eq $? || _lt_function_replace_fail=: 28498 28499fi 28500 28501if test x"$lt_shell_append" = xyes; then 28502 sed -e '/^func_append ()$/,/^} # func_append /c\ 28503func_append ()\ 28504{\ 28505 eval "${1}+=\\${2}"\ 28506} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 28507 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28508 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28509test 0 -eq $? || _lt_function_replace_fail=: 28510 28511 28512 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 28513func_append_quoted ()\ 28514{\ 28515\ func_quote_for_eval "${2}"\ 28516\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 28517} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 28518 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28520test 0 -eq $? || _lt_function_replace_fail=: 28521 28522 28523 # Save a `func_append' function call where possible by direct use of '+=' 28524 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 28525 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28527 test 0 -eq $? || _lt_function_replace_fail=: 28528else 28529 # Save a `func_append' function call even when '+=' is not available 28530 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 28531 && mv -f "$cfgfile.tmp" "$cfgfile" \ 28532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 28533 test 0 -eq $? || _lt_function_replace_fail=: 28534fi 28535 28536if test x"$_lt_function_replace_fail" = x":"; then 28537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 28538$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 28539fi 28540 28541 28542 mv -f "$cfgfile" "$ofile" || 28543 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 28544 chmod +x "$ofile" 28545 28546 28547 cat <<_LT_EOF >> "$ofile" 28548 28549# ### BEGIN LIBTOOL TAG CONFIG: CXX 28550 28551# The linker used to build libraries. 28552LD=$lt_LD_CXX 28553 28554# How to create reloadable object files. 28555reload_flag=$lt_reload_flag_CXX 28556reload_cmds=$lt_reload_cmds_CXX 28557 28558# Commands used to build an old-style archive. 28559old_archive_cmds=$lt_old_archive_cmds_CXX 28560 28561# A language specific compiler. 28562CC=$lt_compiler_CXX 28563 28564# Is the compiler the GNU compiler? 28565with_gcc=$GCC_CXX 28566 28567# Compiler flag to turn off builtin functions. 28568no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 28569 28570# Additional compiler flags for building library objects. 28571pic_flag=$lt_lt_prog_compiler_pic_CXX 28572 28573# How to pass a linker flag through the compiler. 28574wl=$lt_lt_prog_compiler_wl_CXX 28575 28576# Compiler flag to prevent dynamic linking. 28577link_static_flag=$lt_lt_prog_compiler_static_CXX 28578 28579# Does compiler simultaneously support -c and -o options? 28580compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 28581 28582# Whether or not to add -lc for building shared libraries. 28583build_libtool_need_lc=$archive_cmds_need_lc_CXX 28584 28585# Whether or not to disallow shared libs when runtime libs are static. 28586allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 28587 28588# Compiler flag to allow reflexive dlopens. 28589export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 28590 28591# Compiler flag to generate shared objects directly from archives. 28592whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 28593 28594# Whether the compiler copes with passing no objects directly. 28595compiler_needs_object=$lt_compiler_needs_object_CXX 28596 28597# Create an old-style archive from a shared archive. 28598old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 28599 28600# Create a temporary old-style archive to link instead of a shared archive. 28601old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 28602 28603# Commands used to build a shared archive. 28604archive_cmds=$lt_archive_cmds_CXX 28605archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 28606 28607# Commands used to build a loadable module if different from building 28608# a shared archive. 28609module_cmds=$lt_module_cmds_CXX 28610module_expsym_cmds=$lt_module_expsym_cmds_CXX 28611 28612# Whether we are building with GNU ld or not. 28613with_gnu_ld=$lt_with_gnu_ld_CXX 28614 28615# Flag that allows shared libraries with undefined symbols to be built. 28616allow_undefined_flag=$lt_allow_undefined_flag_CXX 28617 28618# Flag that enforces no undefined symbols. 28619no_undefined_flag=$lt_no_undefined_flag_CXX 28620 28621# Flag to hardcode \$libdir into a binary during linking. 28622# This must work even if \$libdir does not exist 28623hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 28624 28625# Whether we need a single "-rpath" flag with a separated argument. 28626hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 28627 28628# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 28629# DIR into the resulting binary. 28630hardcode_direct=$hardcode_direct_CXX 28631 28632# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 28633# DIR into the resulting binary and the resulting library dependency is 28634# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 28635# library is relocated. 28636hardcode_direct_absolute=$hardcode_direct_absolute_CXX 28637 28638# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 28639# into the resulting binary. 28640hardcode_minus_L=$hardcode_minus_L_CXX 28641 28642# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 28643# into the resulting binary. 28644hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 28645 28646# Set to "yes" if building a shared library automatically hardcodes DIR 28647# into the library and all subsequent libraries and executables linked 28648# against it. 28649hardcode_automatic=$hardcode_automatic_CXX 28650 28651# Set to yes if linker adds runtime paths of dependent libraries 28652# to runtime path list. 28653inherit_rpath=$inherit_rpath_CXX 28654 28655# Whether libtool must link a program against all its dependency libraries. 28656link_all_deplibs=$link_all_deplibs_CXX 28657 28658# Set to "yes" if exported symbols are required. 28659always_export_symbols=$always_export_symbols_CXX 28660 28661# The commands to list exported symbols. 28662export_symbols_cmds=$lt_export_symbols_cmds_CXX 28663 28664# Symbols that should not be listed in the preloaded symbols. 28665exclude_expsyms=$lt_exclude_expsyms_CXX 28666 28667# Symbols that must always be exported. 28668include_expsyms=$lt_include_expsyms_CXX 28669 28670# Commands necessary for linking programs (against libraries) with templates. 28671prelink_cmds=$lt_prelink_cmds_CXX 28672 28673# Commands necessary for finishing linking programs. 28674postlink_cmds=$lt_postlink_cmds_CXX 28675 28676# Specify filename containing input files. 28677file_list_spec=$lt_file_list_spec_CXX 28678 28679# How to hardcode a shared library path into an executable. 28680hardcode_action=$hardcode_action_CXX 28681 28682# The directories searched by this compiler when creating a shared library. 28683compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 28684 28685# Dependencies to place before and after the objects being linked to 28686# create a shared library. 28687predep_objects=$lt_predep_objects_CXX 28688postdep_objects=$lt_postdep_objects_CXX 28689predeps=$lt_predeps_CXX 28690postdeps=$lt_postdeps_CXX 28691 28692# The library search path used internally by the compiler when linking 28693# a shared library. 28694compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 28695 28696# ### END LIBTOOL TAG CONFIG: CXX 28697_LT_EOF 28698 28699 ;; 28700 28701 esac 28702done # for ac_tag 28703 28704 28705as_fn_exit 0 28706_ACEOF 28707ac_clean_files=$ac_clean_files_save 28708 28709test $ac_write_fail = 0 || 28710 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 28711 28712 28713# configure is writing to config.log, and then calls config.status. 28714# config.status does its own redirection, appending to config.log. 28715# Unfortunately, on DOS this fails, as config.log is still kept open 28716# by configure, so config.status won't be able to write to it; its 28717# output is simply discarded. So we exec the FD to /dev/null, 28718# effectively closing config.log, so it can be properly (re)opened and 28719# appended to by config.status. When coming back to configure, we 28720# need to make the FD available again. 28721if test "$no_create" != yes; then 28722 ac_cs_success=: 28723 ac_config_status_args= 28724 test "$silent" = yes && 28725 ac_config_status_args="$ac_config_status_args --quiet" 28726 exec 5>/dev/null 28727 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 28728 exec 5>>config.log 28729 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 28730 # would make configure fail if this is the last instruction. 28731 $ac_cs_success || as_fn_exit 1 28732fi 28733if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 28734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 28735$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 28736fi 28737 28738 28739if test x"$gmp_supports_exceptions" = xno 28740then 28741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CANNOT PROPAGATE EXCEPTIONS BACK FROM GMP: 28742*** MEMORY EXHAUSTION MAY RESULT IN ABRUPT TERMINATION. 28743*** This is OK, if you do not plan to use the bounded memory capabilities 28744*** offered by the PPL. Otherwise, if you are using GCC or the Intel C/C++ 28745*** compiler, please make sure you use a version of GMP compiled with the 28746*** \`-fexceptions' compiler option. 28747*** To build such a version, you can configure GMP as follows: 28748*** CPPFLAGS=-fexceptions ./configure --enable-cxx --prefix=/usr/local" >&5 28749$as_echo "$as_me: WARNING: CANNOT PROPAGATE EXCEPTIONS BACK FROM GMP: 28750*** MEMORY EXHAUSTION MAY RESULT IN ABRUPT TERMINATION. 28751*** This is OK, if you do not plan to use the bounded memory capabilities 28752*** offered by the PPL. Otherwise, if you are using GCC or the Intel C/C++ 28753*** compiler, please make sure you use a version of GMP compiled with the 28754*** \`-fexceptions' compiler option. 28755*** To build such a version, you can configure GMP as follows: 28756*** CPPFLAGS=-fexceptions ./configure --enable-cxx --prefix=/usr/local" >&2;} 28757fi 28758 28759if test x"$PERL" = xno 28760then 28761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PERL UNAVAILABLE: 28762*** CANNOT REBUILD SOME FILES IF SOURCES ARE CHANGED. 28763*** Perl could not be found on your system. This is OK, if you only plan 28764*** to build the PPL without modifying the sources and without trying to 28765*** build a distribution out of a CVS working copy. If this is not the case, 28766*** then you need to add Perl to your development environment: 28767*** see http://www.perl.org/ for more information." >&5 28768$as_echo "$as_me: WARNING: PERL UNAVAILABLE: 28769*** CANNOT REBUILD SOME FILES IF SOURCES ARE CHANGED. 28770*** Perl could not be found on your system. This is OK, if you only plan 28771*** to build the PPL without modifying the sources and without trying to 28772*** build a distribution out of a CVS working copy. If this is not the case, 28773*** then you need to add Perl to your development environment: 28774*** see http://www.perl.org/ for more information." >&2;} 28775fi 28776 28777if test x"$coefficient_kind" = xnative 28778then 28779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: USING NATIVE INTEGERS IS EXTREMELY DANGEROUS: 28780*** CONSIDER ANY RESULT YOU WILL GET FROM THE LIBRARY AS PSEUDO-RANDOM!!! 28781*** You have requested to use a native integral type to represent 28782*** coefficients. This means that arithmetic overflows will be possible 28783*** and will not be detected. The consequence of that is that nothing 28784*** can be said about the behavior of the library: whatever the 28785*** documentation says, it does not apply to the version of the library 28786*** you are about to build. Just one arithmetic overflow is enough 28787*** to invalidate any possible significance of the results. 28788*** Please, do not assume that your computation will not overflow because 28789*** only small coefficients are involved. Do not do it because 28790*** (1) coefficients may grow very rapidly depending on the polyhedra 28791*** computations being performed; 28792*** (2) the library may do internal polyhedra computations that you 28793*** cannot easily anticipate; 28794*** (3) the library has never had, among its design goals, the one of 28795*** trying to keep the coefficients small. 28796*** 28797*** Please, consider using a _checked_ native integral type instead." >&5 28798$as_echo "$as_me: WARNING: USING NATIVE INTEGERS IS EXTREMELY DANGEROUS: 28799*** CONSIDER ANY RESULT YOU WILL GET FROM THE LIBRARY AS PSEUDO-RANDOM!!! 28800*** You have requested to use a native integral type to represent 28801*** coefficients. This means that arithmetic overflows will be possible 28802*** and will not be detected. The consequence of that is that nothing 28803*** can be said about the behavior of the library: whatever the 28804*** documentation says, it does not apply to the version of the library 28805*** you are about to build. Just one arithmetic overflow is enough 28806*** to invalidate any possible significance of the results. 28807*** Please, do not assume that your computation will not overflow because 28808*** only small coefficients are involved. Do not do it because 28809*** (1) coefficients may grow very rapidly depending on the polyhedra 28810*** computations being performed; 28811*** (2) the library may do internal polyhedra computations that you 28812*** cannot easily anticipate; 28813*** (3) the library has never had, among its design goals, the one of 28814*** trying to keep the coefficients small. 28815*** 28816*** Please, consider using a _checked_ native integral type instead." >&2;} 28817fi 28818