1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for cloog 0.18.0. 4@%:@ 5@%:@ Report bugs to <cloog-development@googlegroups.com>. 6@%:@ 7@%:@ 8@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9@%:@ 10@%:@ 11@%:@ This configure script is free software; the Free Software Foundation 12@%:@ gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in @%:@( 28 *posix*) : 29 set -o posix ;; @%:@( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in @%:@( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in @%:@(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in @%:@ (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in @%:@( 172 *posix*) : 173 set -o posix ;; @%:@( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in @%:@( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in @%:@ (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: cloog-development@googlegroups.com about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296@%:@ as_fn_unset VAR 297@%:@ --------------- 298@%:@ Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305@%:@ as_fn_set_status STATUS 306@%:@ ----------------------- 307@%:@ Set @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments 400@%:@ must be portable across @S|@(()) 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 @S|@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=. 584LIB@&t@OBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='cloog' 592PACKAGE_TARNAME='cloog' 593PACKAGE_VERSION='0.18.0' 594PACKAGE_STRING='cloog 0.18.0' 595PACKAGE_BUGREPORT='cloog-development@googlegroups.com' 596PACKAGE_URL='' 597 598ac_unique_file="source/cloog.c" 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 635enable_option_checking=no 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIB@&t@OBJS 640subdirs 641pkgconfig_libfile 642pkgconfig_libdir 643VERSION_REVISION 644VERSION_MINOR 645VERSION_MAJOR 646BITS 647INSTALL 648GIT_INDEX 649NO_OSL_FALSE 650NO_OSL_TRUE 651BUNDLED_OSL_FALSE 652BUNDLED_OSL_TRUE 653OSL_LIBS 654OSL_LDFLAGS 655OSL_CPPFLAGS 656NO_ISL_FALSE 657NO_ISL_TRUE 658BUNDLED_ISL_FALSE 659BUNDLED_ISL_TRUE 660ISL_LIBS 661ISL_LDFLAGS 662ISL_CPPFLAGS 663NEED_GET_MEMORY_FUNCTIONS_FALSE 664NEED_GET_MEMORY_FUNCTIONS_TRUE 665CFLAGS_WARN 666PRTDIAG 667HAVE_TEXI2DVI_FALSE 668HAVE_TEXI2DVI_TRUE 669TEXI2DVI 670CPP 671OTOOL64 672OTOOL 673LIPO 674NMEDIT 675DSYMUTIL 676MANIFEST_TOOL 677RANLIB 678ac_ct_AR 679AR 680DLLTOOL 681OBJDUMP 682NM 683ac_ct_DUMPBIN 684DUMPBIN 685LD 686FGREP 687EGREP 688GREP 689SED 690host_os 691host_vendor 692host_cpu 693host 694build_os 695build_vendor 696build_cpu 697build 698LIBTOOL 699CD 700LN_S 701am__fastdepCC_FALSE 702am__fastdepCC_TRUE 703CCDEPMODE 704am__nodep 705AMDEPBACKSLASH 706AMDEP_FALSE 707AMDEP_TRUE 708am__quote 709am__include 710DEPDIR 711OBJEXT 712EXEEXT 713ac_ct_CC 714CPPFLAGS 715LDFLAGS 716CFLAGS 717CC 718AM_BACKSLASH 719AM_DEFAULT_VERBOSITY 720AM_DEFAULT_V 721AM_V 722am__untar 723am__tar 724AMTAR 725am__leading_dot 726SET_MAKE 727AWK 728mkdir_p 729MKDIR_P 730INSTALL_STRIP_PROGRAM 731STRIP 732install_sh 733MAKEINFO 734AUTOHEADER 735AUTOMAKE 736AUTOCONF 737ACLOCAL 738VERSION 739PACKAGE 740CYGPATH_W 741am__isrc 742INSTALL_DATA 743INSTALL_SCRIPT 744INSTALL_PROGRAM 745versioninfo 746target_alias 747host_alias 748build_alias 749LIBS 750ECHO_T 751ECHO_N 752ECHO_C 753DEFS 754mandir 755localedir 756libdir 757psdir 758pdfdir 759dvidir 760htmldir 761infodir 762docdir 763oldincludedir 764includedir 765localstatedir 766sharedstatedir 767sysconfdir 768datadir 769datarootdir 770libexecdir 771sbindir 772bindir 773program_transform_name 774prefix 775exec_prefix 776PACKAGE_URL 777PACKAGE_BUGREPORT 778PACKAGE_STRING 779PACKAGE_VERSION 780PACKAGE_TARNAME 781PACKAGE_NAME 782PATH_SEPARATOR 783SHELL' 784ac_subst_files='' 785ac_user_opts=' 786enable_option_checking 787enable_silent_rules 788enable_dependency_tracking 789enable_shared 790enable_static 791with_pic 792enable_fast_install 793with_gnu_ld 794with_sysroot 795enable_libtool_lock 796enable_portable_binary 797with_gcc_arch 798with_isl 799with_isl_prefix 800with_isl_exec_prefix 801with_isl_builddir 802with_gmp 803with_gmp_prefix 804with_gmp_exec_prefix 805with_gmp_builddir 806with_osl 807with_osl_prefix 808with_osl_exec_prefix 809with_osl_builddir 810' 811 ac_precious_vars='build_alias 812host_alias 813target_alias 814CC 815CFLAGS 816LDFLAGS 817LIBS 818CPPFLAGS 819CPP' 820ac_subdirs_all='isl 821osl' 822 823# Initialize some variables set by options. 824ac_init_help= 825ac_init_version=false 826ac_unrecognized_opts= 827ac_unrecognized_sep= 828# The variables have the same names as the options, with 829# dashes changed to underlines. 830cache_file=/dev/null 831exec_prefix=NONE 832no_create= 833no_recursion= 834prefix=NONE 835program_prefix=NONE 836program_suffix=NONE 837program_transform_name=s,x,x, 838silent= 839site= 840srcdir= 841verbose= 842x_includes=NONE 843x_libraries=NONE 844 845# Installation directory options. 846# These are left unexpanded so users can "make install exec_prefix=/foo" 847# and all the variables that are supposed to be based on exec_prefix 848# by default will actually change. 849# Use braces instead of parens because sh, perl, etc. also accept them. 850# (The list follows the same order as the GNU Coding Standards.) 851bindir='${exec_prefix}/bin' 852sbindir='${exec_prefix}/sbin' 853libexecdir='${exec_prefix}/libexec' 854datarootdir='${prefix}/share' 855datadir='${datarootdir}' 856sysconfdir='${prefix}/etc' 857sharedstatedir='${prefix}/com' 858localstatedir='${prefix}/var' 859includedir='${prefix}/include' 860oldincludedir='/usr/include' 861docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 862infodir='${datarootdir}/info' 863htmldir='${docdir}' 864dvidir='${docdir}' 865pdfdir='${docdir}' 866psdir='${docdir}' 867libdir='${exec_prefix}/lib' 868localedir='${datarootdir}/locale' 869mandir='${datarootdir}/man' 870 871ac_prev= 872ac_dashdash= 873for ac_option 874do 875 # If the previous option needs an argument, assign it. 876 if test -n "$ac_prev"; then 877 eval $ac_prev=\$ac_option 878 ac_prev= 879 continue 880 fi 881 882 case $ac_option in 883 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 884 *=) ac_optarg= ;; 885 *) ac_optarg=yes ;; 886 esac 887 888 # Accept the important Cygnus configure options, so we can diagnose typos. 889 890 case $ac_dashdash$ac_option in 891 --) 892 ac_dashdash=yes ;; 893 894 -bindir | --bindir | --bindi | --bind | --bin | --bi) 895 ac_prev=bindir ;; 896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 897 bindir=$ac_optarg ;; 898 899 -build | --build | --buil | --bui | --bu) 900 ac_prev=build_alias ;; 901 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 902 build_alias=$ac_optarg ;; 903 904 -cache-file | --cache-file | --cache-fil | --cache-fi \ 905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 906 ac_prev=cache_file ;; 907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 909 cache_file=$ac_optarg ;; 910 911 --config-cache | -C) 912 cache_file=config.cache ;; 913 914 -datadir | --datadir | --datadi | --datad) 915 ac_prev=datadir ;; 916 -datadir=* | --datadir=* | --datadi=* | --datad=*) 917 datadir=$ac_optarg ;; 918 919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 920 | --dataroo | --dataro | --datar) 921 ac_prev=datarootdir ;; 922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 924 datarootdir=$ac_optarg ;; 925 926 -disable-* | --disable-*) 927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 928 # Reject names that are not valid shell variable names. 929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930 as_fn_error $? "invalid feature name: $ac_useropt" 931 ac_useropt_orig=$ac_useropt 932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933 case $ac_user_opts in 934 *" 935"enable_$ac_useropt" 936"*) ;; 937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 938 ac_unrecognized_sep=', ';; 939 esac 940 eval enable_$ac_useropt=no ;; 941 942 -docdir | --docdir | --docdi | --doc | --do) 943 ac_prev=docdir ;; 944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 945 docdir=$ac_optarg ;; 946 947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 948 ac_prev=dvidir ;; 949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 950 dvidir=$ac_optarg ;; 951 952 -enable-* | --enable-*) 953 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 # Reject names that are not valid shell variable names. 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 as_fn_error $? "invalid feature name: $ac_useropt" 957 ac_useropt_orig=$ac_useropt 958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 case $ac_user_opts in 960 *" 961"enable_$ac_useropt" 962"*) ;; 963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 964 ac_unrecognized_sep=', ';; 965 esac 966 eval enable_$ac_useropt=\$ac_optarg ;; 967 968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 970 | --exec | --exe | --ex) 971 ac_prev=exec_prefix ;; 972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 974 | --exec=* | --exe=* | --ex=*) 975 exec_prefix=$ac_optarg ;; 976 977 -gas | --gas | --ga | --g) 978 # Obsolete; use --with-gas. 979 with_gas=yes ;; 980 981 -help | --help | --hel | --he | -h) 982 ac_init_help=long ;; 983 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 984 ac_init_help=recursive ;; 985 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 986 ac_init_help=short ;; 987 988 -host | --host | --hos | --ho) 989 ac_prev=host_alias ;; 990 -host=* | --host=* | --hos=* | --ho=*) 991 host_alias=$ac_optarg ;; 992 993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 994 ac_prev=htmldir ;; 995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 996 | --ht=*) 997 htmldir=$ac_optarg ;; 998 999 -includedir | --includedir | --includedi | --included | --include \ 1000 | --includ | --inclu | --incl | --inc) 1001 ac_prev=includedir ;; 1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1003 | --includ=* | --inclu=* | --incl=* | --inc=*) 1004 includedir=$ac_optarg ;; 1005 1006 -infodir | --infodir | --infodi | --infod | --info | --inf) 1007 ac_prev=infodir ;; 1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1009 infodir=$ac_optarg ;; 1010 1011 -libdir | --libdir | --libdi | --libd) 1012 ac_prev=libdir ;; 1013 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1014 libdir=$ac_optarg ;; 1015 1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1017 | --libexe | --libex | --libe) 1018 ac_prev=libexecdir ;; 1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1020 | --libexe=* | --libex=* | --libe=*) 1021 libexecdir=$ac_optarg ;; 1022 1023 -localedir | --localedir | --localedi | --localed | --locale) 1024 ac_prev=localedir ;; 1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1026 localedir=$ac_optarg ;; 1027 1028 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1029 | --localstate | --localstat | --localsta | --localst | --locals) 1030 ac_prev=localstatedir ;; 1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1033 localstatedir=$ac_optarg ;; 1034 1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1036 ac_prev=mandir ;; 1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1038 mandir=$ac_optarg ;; 1039 1040 -nfp | --nfp | --nf) 1041 # Obsolete; use --without-fp. 1042 with_fp=no ;; 1043 1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1045 | --no-cr | --no-c | -n) 1046 no_create=yes ;; 1047 1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1050 no_recursion=yes ;; 1051 1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1054 | --oldin | --oldi | --old | --ol | --o) 1055 ac_prev=oldincludedir ;; 1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1059 oldincludedir=$ac_optarg ;; 1060 1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1062 ac_prev=prefix ;; 1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1064 prefix=$ac_optarg ;; 1065 1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1067 | --program-pre | --program-pr | --program-p) 1068 ac_prev=program_prefix ;; 1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1071 program_prefix=$ac_optarg ;; 1072 1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1074 | --program-suf | --program-su | --program-s) 1075 ac_prev=program_suffix ;; 1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1078 program_suffix=$ac_optarg ;; 1079 1080 -program-transform-name | --program-transform-name \ 1081 | --program-transform-nam | --program-transform-na \ 1082 | --program-transform-n | --program-transform- \ 1083 | --program-transform | --program-transfor \ 1084 | --program-transfo | --program-transf \ 1085 | --program-trans | --program-tran \ 1086 | --progr-tra | --program-tr | --program-t) 1087 ac_prev=program_transform_name ;; 1088 -program-transform-name=* | --program-transform-name=* \ 1089 | --program-transform-nam=* | --program-transform-na=* \ 1090 | --program-transform-n=* | --program-transform-=* \ 1091 | --program-transform=* | --program-transfor=* \ 1092 | --program-transfo=* | --program-transf=* \ 1093 | --program-trans=* | --program-tran=* \ 1094 | --progr-tra=* | --program-tr=* | --program-t=*) 1095 program_transform_name=$ac_optarg ;; 1096 1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1098 ac_prev=pdfdir ;; 1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1100 pdfdir=$ac_optarg ;; 1101 1102 -psdir | --psdir | --psdi | --psd | --ps) 1103 ac_prev=psdir ;; 1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1105 psdir=$ac_optarg ;; 1106 1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1108 | -silent | --silent | --silen | --sile | --sil) 1109 silent=yes ;; 1110 1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1112 ac_prev=sbindir ;; 1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1114 | --sbi=* | --sb=*) 1115 sbindir=$ac_optarg ;; 1116 1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1119 | --sharedst | --shareds | --shared | --share | --shar \ 1120 | --sha | --sh) 1121 ac_prev=sharedstatedir ;; 1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1125 | --sha=* | --sh=*) 1126 sharedstatedir=$ac_optarg ;; 1127 1128 -site | --site | --sit) 1129 ac_prev=site ;; 1130 -site=* | --site=* | --sit=*) 1131 site=$ac_optarg ;; 1132 1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1134 ac_prev=srcdir ;; 1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1136 srcdir=$ac_optarg ;; 1137 1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1139 | --syscon | --sysco | --sysc | --sys | --sy) 1140 ac_prev=sysconfdir ;; 1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1143 sysconfdir=$ac_optarg ;; 1144 1145 -target | --target | --targe | --targ | --tar | --ta | --t) 1146 ac_prev=target_alias ;; 1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1148 target_alias=$ac_optarg ;; 1149 1150 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1151 verbose=yes ;; 1152 1153 -version | --version | --versio | --versi | --vers | -V) 1154 ac_init_version=: ;; 1155 1156 -with-* | --with-*) 1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1158 # Reject names that are not valid shell variable names. 1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 as_fn_error $? "invalid package name: $ac_useropt" 1161 ac_useropt_orig=$ac_useropt 1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 case $ac_user_opts in 1164 *" 1165"with_$ac_useropt" 1166"*) ;; 1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1168 ac_unrecognized_sep=', ';; 1169 esac 1170 eval with_$ac_useropt=\$ac_optarg ;; 1171 1172 -without-* | --without-*) 1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1174 # Reject names that are not valid shell variable names. 1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 as_fn_error $? "invalid package name: $ac_useropt" 1177 ac_useropt_orig=$ac_useropt 1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 case $ac_user_opts in 1180 *" 1181"with_$ac_useropt" 1182"*) ;; 1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1184 ac_unrecognized_sep=', ';; 1185 esac 1186 eval with_$ac_useropt=no ;; 1187 1188 --x) 1189 # Obsolete; use --with-x. 1190 with_x=yes ;; 1191 1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1193 | --x-incl | --x-inc | --x-in | --x-i) 1194 ac_prev=x_includes ;; 1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1197 x_includes=$ac_optarg ;; 1198 1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1201 ac_prev=x_libraries ;; 1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1204 x_libraries=$ac_optarg ;; 1205 1206 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1207Try \`$0 --help' for more information" 1208 ;; 1209 1210 *=*) 1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1212 # Reject names that are not valid shell variable names. 1213 case $ac_envvar in #( 1214 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1216 esac 1217 eval $ac_envvar=\$ac_optarg 1218 export $ac_envvar ;; 1219 1220 *) 1221 # FIXME: should be removed in autoconf 3.0. 1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1226 ;; 1227 1228 esac 1229done 1230 1231if test -n "$ac_prev"; then 1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233 as_fn_error $? "missing argument to $ac_option" 1234fi 1235 1236if test -n "$ac_unrecognized_opts"; then 1237 case $enable_option_checking in 1238 no) ;; 1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241 esac 1242fi 1243 1244# Check all directory arguments for consistency. 1245for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 libdir localedir mandir 1249do 1250 eval ac_val=\$$ac_var 1251 # Remove trailing slashes. 1252 case $ac_val in 1253 */ ) 1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1255 eval $ac_var=\$ac_val;; 1256 esac 1257 # Be sure to have absolute directory names. 1258 case $ac_val in 1259 [\\/$]* | ?:[\\/]* ) continue;; 1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1261 esac 1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1263done 1264 1265# There might be people who depend on the old broken behavior: `$host' 1266# used to hold the argument of --host etc. 1267# FIXME: To remove some day. 1268build=$build_alias 1269host=$host_alias 1270target=$target_alias 1271 1272# FIXME: To remove some day. 1273if test "x$host_alias" != x; then 1274 if test "x$build_alias" = x; then 1275 cross_compiling=maybe 1276 elif test "x$build_alias" != "x$host_alias"; then 1277 cross_compiling=yes 1278 fi 1279fi 1280 1281ac_tool_prefix= 1282test -n "$host_alias" && ac_tool_prefix=$host_alias- 1283 1284test "$silent" = yes && exec 6>/dev/null 1285 1286 1287ac_pwd=`pwd` && test -n "$ac_pwd" && 1288ac_ls_di=`ls -di .` && 1289ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1290 as_fn_error $? "working directory cannot be determined" 1291test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1292 as_fn_error $? "pwd does not report name of working directory" 1293 1294 1295# Find the source files, if location was not specified. 1296if test -z "$srcdir"; then 1297 ac_srcdir_defaulted=yes 1298 # Try the directory containing this script, then the parent directory. 1299 ac_confdir=`$as_dirname -- "$as_myself" || 1300$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1301 X"$as_myself" : 'X\(//\)[^/]' \| \ 1302 X"$as_myself" : 'X\(//\)$' \| \ 1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1304$as_echo X"$as_myself" | 1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)[^/].*/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\/\)$/{ 1314 s//\1/ 1315 q 1316 } 1317 /^X\(\/\).*/{ 1318 s//\1/ 1319 q 1320 } 1321 s/.*/./; q'` 1322 srcdir=$ac_confdir 1323 if test ! -r "$srcdir/$ac_unique_file"; then 1324 srcdir=.. 1325 fi 1326else 1327 ac_srcdir_defaulted=no 1328fi 1329if test ! -r "$srcdir/$ac_unique_file"; then 1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1332fi 1333ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1334ac_abs_confdir=`( 1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1336 pwd)` 1337# When building in place, set srcdir=. 1338if test "$ac_abs_confdir" = "$ac_pwd"; then 1339 srcdir=. 1340fi 1341# Remove unnecessary trailing slashes from srcdir. 1342# Double slashes in file names in object file debugging info 1343# mess up M-x gdb in Emacs. 1344case $srcdir in 1345*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1346esac 1347for ac_var in $ac_precious_vars; do 1348 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_env_${ac_var}_value=\$${ac_var} 1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1351 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1352done 1353 1354# 1355# Report the --help message. 1356# 1357if test "$ac_init_help" = "long"; then 1358 # Omit some internal or obsolete options to make the list less imposing. 1359 # This message is too long to be a string in the A/UX 3.1 sh. 1360 cat <<_ACEOF 1361\`configure' configures cloog 0.18.0 to adapt to many kinds of systems. 1362 1363Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1365To assign environment variables (e.g., CC, CFLAGS...), specify them as 1366VAR=VALUE. See below for descriptions of some of the useful variables. 1367 1368Defaults for the options are specified in brackets. 1369 1370Configuration: 1371 -h, --help display this help and exit 1372 --help=short display options specific to this package 1373 --help=recursive display the short help of all the included packages 1374 -V, --version display version information and exit 1375 -q, --quiet, --silent do not print \`checking ...' messages 1376 --cache-file=FILE cache test results in FILE [disabled] 1377 -C, --config-cache alias for \`--cache-file=config.cache' 1378 -n, --no-create do not create output files 1379 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1380 1381Installation directories: 1382 --prefix=PREFIX install architecture-independent files in PREFIX 1383 @<:@@S|@ac_default_prefix@:>@ 1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1385 @<:@PREFIX@:>@ 1386 1387By default, \`make install' will install all the files in 1388\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1389an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1390for instance \`--prefix=\$HOME'. 1391 1392For better control, use the options below. 1393 1394Fine tuning of the installation directories: 1395 --bindir=DIR user executables [EPREFIX/bin] 1396 --sbindir=DIR system admin executables [EPREFIX/sbin] 1397 --libexecdir=DIR program executables [EPREFIX/libexec] 1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1401 --libdir=DIR object code libraries [EPREFIX/lib] 1402 --includedir=DIR C header files [PREFIX/include] 1403 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1406 --infodir=DIR info documentation [DATAROOTDIR/info] 1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1408 --mandir=DIR man documentation [DATAROOTDIR/man] 1409 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/cloog@:>@ 1410 --htmldir=DIR html documentation [DOCDIR] 1411 --dvidir=DIR dvi documentation [DOCDIR] 1412 --pdfdir=DIR pdf documentation [DOCDIR] 1413 --psdir=DIR ps documentation [DOCDIR] 1414_ACEOF 1415 1416 cat <<\_ACEOF 1417 1418Program names: 1419 --program-prefix=PREFIX prepend PREFIX to installed program names 1420 --program-suffix=SUFFIX append SUFFIX to installed program names 1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1422 1423System types: 1424 --build=BUILD configure for building on BUILD [guessed] 1425 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1426_ACEOF 1427fi 1428 1429if test -n "$ac_init_help"; then 1430 case $ac_init_help in 1431 short | recursive ) echo "Configuration of cloog 0.18.0:";; 1432 esac 1433 cat <<\_ACEOF 1434 1435Optional Features: 1436 --disable-option-checking ignore unrecognized --enable/--with options 1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1439 --enable-silent-rules less verbose build output (undo: `make V=1') 1440 --disable-silent-rules verbose build output (undo: `make V=0') 1441 --disable-dependency-tracking speeds up one-time build 1442 --enable-dependency-tracking do not reject slow dependency extractors 1443 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1444 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ 1445 --enable-fast-install@<:@=PKGS@:>@ 1446 optimize for fast installation @<:@default=yes@:>@ 1447 --disable-libtool-lock avoid locking (might break parallel builds) 1448 --enable-portable-binary 1449 disable compiler optimizations that would produce 1450 unportable binaries 1451 1452Optional Packages: 1453 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1454 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1455 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1456 both@:>@ 1457 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1458 --with-sysroot=DIR Search for dependent libraries within DIR 1459 (or the compiler's sysroot if not specified). 1460 --with-gcc-arch=<arch> use architecture <arch> for gcc -march/-mtune, 1461 instead of guessing 1462 --with-isl=no|system|build|bundled 1463 Which isl to use 1464 --with-isl-prefix=DIR Prefix of isl installation 1465 --with-isl-exec-prefix=DIR 1466 Exec prefix of isl installation 1467 --with-isl-builddir=DIR Location of isl builddir 1468 --with-gmp=system|build Which gmp to use 1469 --with-gmp-prefix=DIR Prefix of gmp installation 1470 --with-gmp-exec-prefix=DIR 1471 Exec prefix of gmp installation 1472 --with-gmp-builddir=DIR Location of gmp builddir 1473 --with-osl=no|system|build|bundled 1474 Which osl to use 1475 --with-osl-prefix=DIR Prefix of osl installation 1476 --with-osl-exec-prefix=DIR 1477 Exec prefix of osl installation 1478 --with-osl-builddir=DIR Location of osl builddir 1479 1480Some influential environment variables: 1481 CC C compiler command 1482 CFLAGS C compiler flags 1483 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1484 nonstandard directory <lib dir> 1485 LIBS libraries to pass to the linker, e.g. -l<library> 1486 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1487 you have headers in a nonstandard directory <include dir> 1488 CPP C preprocessor 1489 1490Use these variables to override the choices made by `configure' or to help 1491it to find libraries and programs with nonstandard names/locations. 1492 1493Report bugs to <cloog-development@googlegroups.com>. 1494_ACEOF 1495ac_status=$? 1496fi 1497 1498if test "$ac_init_help" = "recursive"; then 1499 # If there are subdirs, report their specific --help. 1500 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1501 test -d "$ac_dir" || 1502 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1503 continue 1504 ac_builddir=. 1505 1506case "$ac_dir" in 1507.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1508*) 1509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1510 # A ".." for each directory in $ac_dir_suffix. 1511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1512 case $ac_top_builddir_sub in 1513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1515 esac ;; 1516esac 1517ac_abs_top_builddir=$ac_pwd 1518ac_abs_builddir=$ac_pwd$ac_dir_suffix 1519# for backward compatibility: 1520ac_top_builddir=$ac_top_build_prefix 1521 1522case $srcdir in 1523 .) # We are building in place. 1524 ac_srcdir=. 1525 ac_top_srcdir=$ac_top_builddir_sub 1526 ac_abs_top_srcdir=$ac_pwd ;; 1527 [\\/]* | ?:[\\/]* ) # Absolute name. 1528 ac_srcdir=$srcdir$ac_dir_suffix; 1529 ac_top_srcdir=$srcdir 1530 ac_abs_top_srcdir=$srcdir ;; 1531 *) # Relative name. 1532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1533 ac_top_srcdir=$ac_top_build_prefix$srcdir 1534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1535esac 1536ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1537 1538 cd "$ac_dir" || { ac_status=$?; continue; } 1539 # Check for guested configure. 1540 if test -f "$ac_srcdir/configure.gnu"; then 1541 echo && 1542 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1543 elif test -f "$ac_srcdir/configure"; then 1544 echo && 1545 $SHELL "$ac_srcdir/configure" --help=recursive 1546 else 1547 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1548 fi || ac_status=$? 1549 cd "$ac_pwd" || { ac_status=$?; break; } 1550 done 1551fi 1552 1553test -n "$ac_init_help" && exit $ac_status 1554if $ac_init_version; then 1555 cat <<\_ACEOF 1556cloog configure 0.18.0 1557generated by GNU Autoconf 2.69 1558 1559Copyright (C) 2012 Free Software Foundation, Inc. 1560This configure script is free software; the Free Software Foundation 1561gives unlimited permission to copy, distribute and modify it. 1562_ACEOF 1563 exit 1564fi 1565 1566## ------------------------ ## 1567## Autoconf initialization. ## 1568## ------------------------ ## 1569 1570@%:@ ac_fn_c_try_compile LINENO 1571@%:@ -------------------------- 1572@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1573ac_fn_c_try_compile () 1574{ 1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1576 rm -f conftest.$ac_objext 1577 if { { ac_try="$ac_compile" 1578case "(($ac_try" in 1579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1580 *) ac_try_echo=$ac_try;; 1581esac 1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1583$as_echo "$ac_try_echo"; } >&5 1584 (eval "$ac_compile") 2>conftest.err 1585 ac_status=$? 1586 if test -s conftest.err; then 1587 grep -v '^ *+' conftest.err >conftest.er1 1588 cat conftest.er1 >&5 1589 mv -f conftest.er1 conftest.err 1590 fi 1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1592 test $ac_status = 0; } && { 1593 test -z "$ac_c_werror_flag" || 1594 test ! -s conftest.err 1595 } && test -s conftest.$ac_objext; then : 1596 ac_retval=0 1597else 1598 $as_echo "$as_me: failed program was:" >&5 1599sed 's/^/| /' conftest.$ac_ext >&5 1600 1601 ac_retval=1 1602fi 1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1604 as_fn_set_status $ac_retval 1605 1606} @%:@ ac_fn_c_try_compile 1607 1608@%:@ ac_fn_c_try_link LINENO 1609@%:@ ----------------------- 1610@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1611ac_fn_c_try_link () 1612{ 1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1614 rm -f conftest.$ac_objext conftest$ac_exeext 1615 if { { ac_try="$ac_link" 1616case "(($ac_try" in 1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618 *) ac_try_echo=$ac_try;; 1619esac 1620eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621$as_echo "$ac_try_echo"; } >&5 1622 (eval "$ac_link") 2>conftest.err 1623 ac_status=$? 1624 if test -s conftest.err; then 1625 grep -v '^ *+' conftest.err >conftest.er1 1626 cat conftest.er1 >&5 1627 mv -f conftest.er1 conftest.err 1628 fi 1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1630 test $ac_status = 0; } && { 1631 test -z "$ac_c_werror_flag" || 1632 test ! -s conftest.err 1633 } && test -s conftest$ac_exeext && { 1634 test "$cross_compiling" = yes || 1635 test -x conftest$ac_exeext 1636 }; then : 1637 ac_retval=0 1638else 1639 $as_echo "$as_me: failed program was:" >&5 1640sed 's/^/| /' conftest.$ac_ext >&5 1641 1642 ac_retval=1 1643fi 1644 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1645 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1646 # interfere with the next link command; also delete a directory that is 1647 # left behind by Apple's compiler. We do this before executing the actions. 1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1650 as_fn_set_status $ac_retval 1651 1652} @%:@ ac_fn_c_try_link 1653 1654@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1655@%:@ ------------------------------------------------------- 1656@%:@ Tests whether HEADER exists and can be compiled using the include files in 1657@%:@ INCLUDES, setting the cache variable VAR accordingly. 1658ac_fn_c_check_header_compile () 1659{ 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1662$as_echo_n "checking for $2... " >&6; } 1663if eval \${$3+:} false; then : 1664 $as_echo_n "(cached) " >&6 1665else 1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1667/* end confdefs.h. */ 1668$4 1669@%:@include <$2> 1670_ACEOF 1671if ac_fn_c_try_compile "$LINENO"; then : 1672 eval "$3=yes" 1673else 1674 eval "$3=no" 1675fi 1676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1677fi 1678eval ac_res=\$$3 1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1680$as_echo "$ac_res" >&6; } 1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1682 1683} @%:@ ac_fn_c_check_header_compile 1684 1685@%:@ ac_fn_c_try_cpp LINENO 1686@%:@ ---------------------- 1687@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1688ac_fn_c_try_cpp () 1689{ 1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1691 if { { ac_try="$ac_cpp conftest.$ac_ext" 1692case "(($ac_try" in 1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1694 *) ac_try_echo=$ac_try;; 1695esac 1696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1697$as_echo "$ac_try_echo"; } >&5 1698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1699 ac_status=$? 1700 if test -s conftest.err; then 1701 grep -v '^ *+' conftest.err >conftest.er1 1702 cat conftest.er1 >&5 1703 mv -f conftest.er1 conftest.err 1704 fi 1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1706 test $ac_status = 0; } > conftest.i && { 1707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1708 test ! -s conftest.err 1709 }; then : 1710 ac_retval=0 1711else 1712 $as_echo "$as_me: failed program was:" >&5 1713sed 's/^/| /' conftest.$ac_ext >&5 1714 1715 ac_retval=1 1716fi 1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1718 as_fn_set_status $ac_retval 1719 1720} @%:@ ac_fn_c_try_cpp 1721 1722@%:@ ac_fn_c_try_run LINENO 1723@%:@ ---------------------- 1724@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1725@%:@ that executables *can* be run. 1726ac_fn_c_try_run () 1727{ 1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1729 if { { ac_try="$ac_link" 1730case "(($ac_try" in 1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1732 *) ac_try_echo=$ac_try;; 1733esac 1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1735$as_echo "$ac_try_echo"; } >&5 1736 (eval "$ac_link") 2>&5 1737 ac_status=$? 1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1739 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1740 { { case "(($ac_try" in 1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1742 *) ac_try_echo=$ac_try;; 1743esac 1744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1745$as_echo "$ac_try_echo"; } >&5 1746 (eval "$ac_try") 2>&5 1747 ac_status=$? 1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1749 test $ac_status = 0; }; }; then : 1750 ac_retval=0 1751else 1752 $as_echo "$as_me: program exited with status $ac_status" >&5 1753 $as_echo "$as_me: failed program was:" >&5 1754sed 's/^/| /' conftest.$ac_ext >&5 1755 1756 ac_retval=$ac_status 1757fi 1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1760 as_fn_set_status $ac_retval 1761 1762} @%:@ ac_fn_c_try_run 1763 1764@%:@ ac_fn_c_check_func LINENO FUNC VAR 1765@%:@ ---------------------------------- 1766@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1767ac_fn_c_check_func () 1768{ 1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1771$as_echo_n "checking for $2... " >&6; } 1772if eval \${$3+:} false; then : 1773 $as_echo_n "(cached) " >&6 1774else 1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1776/* end confdefs.h. */ 1777/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1778 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1779#define $2 innocuous_$2 1780 1781/* System header to define __stub macros and hopefully few prototypes, 1782 which can conflict with char $2 (); below. 1783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1784 <limits.h> exists even on freestanding compilers. */ 1785 1786#ifdef __STDC__ 1787# include <limits.h> 1788#else 1789# include <assert.h> 1790#endif 1791 1792#undef $2 1793 1794/* Override any GCC internal prototype to avoid an error. 1795 Use char because int might match the return type of a GCC 1796 builtin and then its argument prototype would still apply. */ 1797#ifdef __cplusplus 1798extern "C" 1799#endif 1800char $2 (); 1801/* The GNU C library defines this for functions which it implements 1802 to always fail with ENOSYS. Some functions are actually named 1803 something starting with __ and the normal name is an alias. */ 1804#if defined __stub_$2 || defined __stub___$2 1805choke me 1806#endif 1807 1808int 1809main () 1810{ 1811return $2 (); 1812 ; 1813 return 0; 1814} 1815_ACEOF 1816if ac_fn_c_try_link "$LINENO"; then : 1817 eval "$3=yes" 1818else 1819 eval "$3=no" 1820fi 1821rm -f core conftest.err conftest.$ac_objext \ 1822 conftest$ac_exeext conftest.$ac_ext 1823fi 1824eval ac_res=\$$3 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1826$as_echo "$ac_res" >&6; } 1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1828 1829} @%:@ ac_fn_c_check_func 1830 1831@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1832@%:@ ------------------------------------------- 1833@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache 1834@%:@ variable VAR accordingly. 1835ac_fn_c_check_type () 1836{ 1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1839$as_echo_n "checking for $2... " >&6; } 1840if eval \${$3+:} false; then : 1841 $as_echo_n "(cached) " >&6 1842else 1843 eval "$3=no" 1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1845/* end confdefs.h. */ 1846$4 1847int 1848main () 1849{ 1850if (sizeof ($2)) 1851 return 0; 1852 ; 1853 return 0; 1854} 1855_ACEOF 1856if ac_fn_c_try_compile "$LINENO"; then : 1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1858/* end confdefs.h. */ 1859$4 1860int 1861main () 1862{ 1863if (sizeof (($2))) 1864 return 0; 1865 ; 1866 return 0; 1867} 1868_ACEOF 1869if ac_fn_c_try_compile "$LINENO"; then : 1870 1871else 1872 eval "$3=yes" 1873fi 1874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1875fi 1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1877fi 1878eval ac_res=\$$3 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1880$as_echo "$ac_res" >&6; } 1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1882 1883} @%:@ ac_fn_c_check_type 1884 1885@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1886@%:@ ------------------------------------------------------- 1887@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using 1888@%:@ the include files in INCLUDES and setting the cache variable VAR 1889@%:@ accordingly. 1890ac_fn_c_check_header_mongrel () 1891{ 1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1893 if eval \${$3+:} false; then : 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1895$as_echo_n "checking for $2... " >&6; } 1896if eval \${$3+:} false; then : 1897 $as_echo_n "(cached) " >&6 1898fi 1899eval ac_res=\$$3 1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1901$as_echo "$ac_res" >&6; } 1902else 1903 # Is the header compilable? 1904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1905$as_echo_n "checking $2 usability... " >&6; } 1906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1907/* end confdefs.h. */ 1908$4 1909@%:@include <$2> 1910_ACEOF 1911if ac_fn_c_try_compile "$LINENO"; then : 1912 ac_header_compiler=yes 1913else 1914 ac_header_compiler=no 1915fi 1916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1918$as_echo "$ac_header_compiler" >&6; } 1919 1920# Is the header present? 1921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1922$as_echo_n "checking $2 presence... " >&6; } 1923cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1924/* end confdefs.h. */ 1925@%:@include <$2> 1926_ACEOF 1927if ac_fn_c_try_cpp "$LINENO"; then : 1928 ac_header_preproc=yes 1929else 1930 ac_header_preproc=no 1931fi 1932rm -f conftest.err conftest.i conftest.$ac_ext 1933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1934$as_echo "$ac_header_preproc" >&6; } 1935 1936# So? What about this header? 1937case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1938 yes:no: ) 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1940$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1942$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1943 ;; 1944 no:yes:* ) 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1946$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1948$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1950$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1952$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1954$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1955( $as_echo "## ------------------------------------------------- ## 1956## Report this to cloog-development@googlegroups.com ## 1957## ------------------------------------------------- ##" 1958 ) | sed "s/^/$as_me: WARNING: /" >&2 1959 ;; 1960esac 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1962$as_echo_n "checking for $2... " >&6; } 1963if eval \${$3+:} false; then : 1964 $as_echo_n "(cached) " >&6 1965else 1966 eval "$3=\$ac_header_compiler" 1967fi 1968eval ac_res=\$$3 1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1970$as_echo "$ac_res" >&6; } 1971fi 1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1973 1974} @%:@ ac_fn_c_check_header_mongrel 1975 1976@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1977@%:@ --------------------------------------------- 1978@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1979@%:@ accordingly. 1980ac_fn_c_check_decl () 1981{ 1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1983 as_decl_name=`echo $2|sed 's/ *(.*//'` 1984 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1986$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1987if eval \${$3+:} false; then : 1988 $as_echo_n "(cached) " >&6 1989else 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1991/* end confdefs.h. */ 1992$4 1993int 1994main () 1995{ 1996@%:@ifndef $as_decl_name 1997@%:@ifdef __cplusplus 1998 (void) $as_decl_use; 1999@%:@else 2000 (void) $as_decl_name; 2001@%:@endif 2002@%:@endif 2003 2004 ; 2005 return 0; 2006} 2007_ACEOF 2008if ac_fn_c_try_compile "$LINENO"; then : 2009 eval "$3=yes" 2010else 2011 eval "$3=no" 2012fi 2013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2014fi 2015eval ac_res=\$$3 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2017$as_echo "$ac_res" >&6; } 2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2019 2020} @%:@ ac_fn_c_check_decl 2021cat >config.log <<_ACEOF 2022This file contains any messages produced by compilers while 2023running configure, to aid debugging if configure makes a mistake. 2024 2025It was created by cloog $as_me 0.18.0, which was 2026generated by GNU Autoconf 2.69. Invocation command line was 2027 2028 $ $0 $@ 2029 2030_ACEOF 2031exec 5>>config.log 2032{ 2033cat <<_ASUNAME 2034## --------- ## 2035## Platform. ## 2036## --------- ## 2037 2038hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2039uname -m = `(uname -m) 2>/dev/null || echo unknown` 2040uname -r = `(uname -r) 2>/dev/null || echo unknown` 2041uname -s = `(uname -s) 2>/dev/null || echo unknown` 2042uname -v = `(uname -v) 2>/dev/null || echo unknown` 2043 2044/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2045/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2046 2047/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2048/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2049/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2050/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2051/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2052/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2053/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2054 2055_ASUNAME 2056 2057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2058for as_dir in $PATH 2059do 2060 IFS=$as_save_IFS 2061 test -z "$as_dir" && as_dir=. 2062 $as_echo "PATH: $as_dir" 2063 done 2064IFS=$as_save_IFS 2065 2066} >&5 2067 2068cat >&5 <<_ACEOF 2069 2070 2071## ----------- ## 2072## Core tests. ## 2073## ----------- ## 2074 2075_ACEOF 2076 2077 2078# Keep a trace of the command line. 2079# Strip out --no-create and --no-recursion so they do not pile up. 2080# Strip out --silent because we don't want to record it for future runs. 2081# Also quote any args containing shell meta-characters. 2082# Make two passes to allow for proper duplicate-argument suppression. 2083ac_configure_args= 2084ac_configure_args0= 2085ac_configure_args1= 2086ac_must_keep_next=false 2087for ac_pass in 1 2 2088do 2089 for ac_arg 2090 do 2091 case $ac_arg in 2092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2094 | -silent | --silent | --silen | --sile | --sil) 2095 continue ;; 2096 *\'*) 2097 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2098 esac 2099 case $ac_pass in 2100 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2101 2) 2102 as_fn_append ac_configure_args1 " '$ac_arg'" 2103 if test $ac_must_keep_next = true; then 2104 ac_must_keep_next=false # Got value, back to normal. 2105 else 2106 case $ac_arg in 2107 *=* | --config-cache | -C | -disable-* | --disable-* \ 2108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2110 | -with-* | --with-* | -without-* | --without-* | --x) 2111 case "$ac_configure_args0 " in 2112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2113 esac 2114 ;; 2115 -* ) ac_must_keep_next=true ;; 2116 esac 2117 fi 2118 as_fn_append ac_configure_args " '$ac_arg'" 2119 ;; 2120 esac 2121 done 2122done 2123{ ac_configure_args0=; unset ac_configure_args0;} 2124{ ac_configure_args1=; unset ac_configure_args1;} 2125 2126# When interrupted or exit'd, cleanup temporary files, and complete 2127# config.log. We remove comments because anyway the quotes in there 2128# would cause problems or look ugly. 2129# WARNING: Use '\'' to represent an apostrophe within the trap. 2130# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2131trap 'exit_status=$? 2132 # Save into config.log some information that might help in debugging. 2133 { 2134 echo 2135 2136 $as_echo "## ---------------- ## 2137## Cache variables. ## 2138## ---------------- ##" 2139 echo 2140 # The following way of writing the cache mishandles newlines in values, 2141( 2142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2143 eval ac_val=\$$ac_var 2144 case $ac_val in #( 2145 *${as_nl}*) 2146 case $ac_var in #( 2147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2148$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2149 esac 2150 case $ac_var in #( 2151 _ | IFS | as_nl) ;; #( 2152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2153 *) { eval $ac_var=; unset $ac_var;} ;; 2154 esac ;; 2155 esac 2156 done 2157 (set) 2>&1 | 2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2159 *${as_nl}ac_space=\ *) 2160 sed -n \ 2161 "s/'\''/'\''\\\\'\'''\''/g; 2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2163 ;; #( 2164 *) 2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2166 ;; 2167 esac | 2168 sort 2169) 2170 echo 2171 2172 $as_echo "## ----------------- ## 2173## Output variables. ## 2174## ----------------- ##" 2175 echo 2176 for ac_var in $ac_subst_vars 2177 do 2178 eval ac_val=\$$ac_var 2179 case $ac_val in 2180 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2181 esac 2182 $as_echo "$ac_var='\''$ac_val'\''" 2183 done | sort 2184 echo 2185 2186 if test -n "$ac_subst_files"; then 2187 $as_echo "## ------------------- ## 2188## File substitutions. ## 2189## ------------------- ##" 2190 echo 2191 for ac_var in $ac_subst_files 2192 do 2193 eval ac_val=\$$ac_var 2194 case $ac_val in 2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2196 esac 2197 $as_echo "$ac_var='\''$ac_val'\''" 2198 done | sort 2199 echo 2200 fi 2201 2202 if test -s confdefs.h; then 2203 $as_echo "## ----------- ## 2204## confdefs.h. ## 2205## ----------- ##" 2206 echo 2207 cat confdefs.h 2208 echo 2209 fi 2210 test "$ac_signal" != 0 && 2211 $as_echo "$as_me: caught signal $ac_signal" 2212 $as_echo "$as_me: exit $exit_status" 2213 } >&5 2214 rm -f core *.core core.conftest.* && 2215 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2216 exit $exit_status 2217' 0 2218for ac_signal in 1 2 13 15; do 2219 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2220done 2221ac_signal=0 2222 2223# confdefs.h avoids OS command line length limits that DEFS can exceed. 2224rm -f -r conftest* confdefs.h 2225 2226$as_echo "/* confdefs.h */" > confdefs.h 2227 2228# Predefined preprocessor variables. 2229 2230cat >>confdefs.h <<_ACEOF 2231@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2232_ACEOF 2233 2234cat >>confdefs.h <<_ACEOF 2235@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2236_ACEOF 2237 2238cat >>confdefs.h <<_ACEOF 2239@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2240_ACEOF 2241 2242cat >>confdefs.h <<_ACEOF 2243@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2244_ACEOF 2245 2246cat >>confdefs.h <<_ACEOF 2247@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2248_ACEOF 2249 2250cat >>confdefs.h <<_ACEOF 2251@%:@define PACKAGE_URL "$PACKAGE_URL" 2252_ACEOF 2253 2254 2255# Let the site file select an alternate cache file if it wants to. 2256# Prefer an explicitly selected file to automatically selected ones. 2257ac_site_file1=NONE 2258ac_site_file2=NONE 2259if test -n "$CONFIG_SITE"; then 2260 # We do not want a PATH search for config.site. 2261 case $CONFIG_SITE in @%:@(( 2262 -*) ac_site_file1=./$CONFIG_SITE;; 2263 */*) ac_site_file1=$CONFIG_SITE;; 2264 *) ac_site_file1=./$CONFIG_SITE;; 2265 esac 2266elif test "x$prefix" != xNONE; then 2267 ac_site_file1=$prefix/share/config.site 2268 ac_site_file2=$prefix/etc/config.site 2269else 2270 ac_site_file1=$ac_default_prefix/share/config.site 2271 ac_site_file2=$ac_default_prefix/etc/config.site 2272fi 2273for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2274do 2275 test "x$ac_site_file" = xNONE && continue 2276 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2278$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2279 sed 's/^/| /' "$ac_site_file" >&5 2280 . "$ac_site_file" \ 2281 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2283as_fn_error $? "failed to load site script $ac_site_file 2284See \`config.log' for more details" "$LINENO" 5; } 2285 fi 2286done 2287 2288if test -r "$cache_file"; then 2289 # Some versions of bash will fail to source /dev/null (special files 2290 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2291 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2293$as_echo "$as_me: loading cache $cache_file" >&6;} 2294 case $cache_file in 2295 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2296 *) . "./$cache_file";; 2297 esac 2298 fi 2299else 2300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2301$as_echo "$as_me: creating cache $cache_file" >&6;} 2302 >$cache_file 2303fi 2304 2305# Check that the precious variables saved in the cache have kept the same 2306# value. 2307ac_cache_corrupted=false 2308for ac_var in $ac_precious_vars; do 2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2310 eval ac_new_set=\$ac_env_${ac_var}_set 2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2312 eval ac_new_val=\$ac_env_${ac_var}_value 2313 case $ac_old_set,$ac_new_set in 2314 set,) 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2316$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2317 ac_cache_corrupted=: ;; 2318 ,set) 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2320$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2321 ac_cache_corrupted=: ;; 2322 ,);; 2323 *) 2324 if test "x$ac_old_val" != "x$ac_new_val"; then 2325 # differences in whitespace do not lead to failure. 2326 ac_old_val_w=`echo x $ac_old_val` 2327 ac_new_val_w=`echo x $ac_new_val` 2328 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2330$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2331 ac_cache_corrupted=: 2332 else 2333 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2334$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2335 eval $ac_var=\$ac_old_val 2336 fi 2337 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2338$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2340$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2341 fi;; 2342 esac 2343 # Pass precious variables to config.status. 2344 if test "$ac_new_set" = set; then 2345 case $ac_new_val in 2346 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2347 *) ac_arg=$ac_var=$ac_new_val ;; 2348 esac 2349 case " $ac_configure_args " in 2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2351 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2352 esac 2353 fi 2354done 2355if $ac_cache_corrupted; then 2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2357$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2359$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2360 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2361fi 2362## -------------------- ## 2363## Main body of script. ## 2364## -------------------- ## 2365 2366ac_ext=c 2367ac_cpp='$CPP $CPPFLAGS' 2368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2370ac_compiler_gnu=$ac_cv_c_compiler_gnu 2371 2372 2373 2374ac_aux_dir= 2375for ac_dir in autoconf "$srcdir"/autoconf; do 2376 if test -f "$ac_dir/install-sh"; then 2377 ac_aux_dir=$ac_dir 2378 ac_install_sh="$ac_aux_dir/install-sh -c" 2379 break 2380 elif test -f "$ac_dir/install.sh"; then 2381 ac_aux_dir=$ac_dir 2382 ac_install_sh="$ac_aux_dir/install.sh -c" 2383 break 2384 elif test -f "$ac_dir/shtool"; then 2385 ac_aux_dir=$ac_dir 2386 ac_install_sh="$ac_aux_dir/shtool install -c" 2387 break 2388 fi 2389done 2390if test -z "$ac_aux_dir"; then 2391 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5 2392fi 2393 2394# These three variables are undocumented and unsupported, 2395# and are intended to be withdrawn in a future Autoconf release. 2396# They can cause serious problems if a builder's source tree is in a directory 2397# whose full name contains unusual characters. 2398ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2399ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2400ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2401 2402 2403 2404 2405VERSION_MAJOR=0 2406VERSION_MINOR=18 2407VERSION_REVISION=0 2408 2409versioninfo=4:0:0 2410 2411am__api_version='1.11' 2412 2413# Find a good install program. We prefer a C program (faster), 2414# so one script is as good as another. But avoid the broken or 2415# incompatible versions: 2416# SysV /etc/install, /usr/sbin/install 2417# SunOS /usr/etc/install 2418# IRIX /sbin/install 2419# AIX /bin/install 2420# AmigaOS /C/install, which installs bootblocks on floppy discs 2421# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2422# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2423# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2424# OS/2's system install, which has a completely different semantic 2425# ./install, which can be erroneously created by make from ./install.sh. 2426# Reject install programs that cannot install multiple files. 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2428$as_echo_n "checking for a BSD-compatible install... " >&6; } 2429if test -z "$INSTALL"; then 2430if ${ac_cv_path_install+:} false; then : 2431 $as_echo_n "(cached) " >&6 2432else 2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2434for as_dir in $PATH 2435do 2436 IFS=$as_save_IFS 2437 test -z "$as_dir" && as_dir=. 2438 # Account for people who put trailing slashes in PATH elements. 2439case $as_dir/ in @%:@(( 2440 ./ | .// | /[cC]/* | \ 2441 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2442 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2443 /usr/ucb/* ) ;; 2444 *) 2445 # OSF1 and SCO ODT 3.0 have their own names for install. 2446 # Don't use installbsd from OSF since it installs stuff as root 2447 # by default. 2448 for ac_prog in ginstall scoinst install; do 2449 for ac_exec_ext in '' $ac_executable_extensions; do 2450 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2451 if test $ac_prog = install && 2452 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2453 # AIX install. It has an incompatible calling convention. 2454 : 2455 elif test $ac_prog = install && 2456 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2457 # program-specific install script used by HP pwplus--don't use. 2458 : 2459 else 2460 rm -rf conftest.one conftest.two conftest.dir 2461 echo one > conftest.one 2462 echo two > conftest.two 2463 mkdir conftest.dir 2464 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2465 test -s conftest.one && test -s conftest.two && 2466 test -s conftest.dir/conftest.one && 2467 test -s conftest.dir/conftest.two 2468 then 2469 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2470 break 3 2471 fi 2472 fi 2473 fi 2474 done 2475 done 2476 ;; 2477esac 2478 2479 done 2480IFS=$as_save_IFS 2481 2482rm -rf conftest.one conftest.two conftest.dir 2483 2484fi 2485 if test "${ac_cv_path_install+set}" = set; then 2486 INSTALL=$ac_cv_path_install 2487 else 2488 # As a last resort, use the slow shell script. Don't cache a 2489 # value for INSTALL within a source directory, because that will 2490 # break other packages using the cache if that directory is 2491 # removed, or if the value is a relative name. 2492 INSTALL=$ac_install_sh 2493 fi 2494fi 2495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2496$as_echo "$INSTALL" >&6; } 2497 2498# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2499# It thinks the first close brace ends the variable substitution. 2500test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2501 2502test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2503 2504test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2505 2506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2507$as_echo_n "checking whether build environment is sane... " >&6; } 2508# Just in case 2509sleep 1 2510echo timestamp > conftest.file 2511# Reject unsafe characters in $srcdir or the absolute working directory 2512# name. Accept space and tab only in the latter. 2513am_lf=' 2514' 2515case `pwd` in 2516 *[\\\"\#\$\&\'\`$am_lf]*) 2517 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2518esac 2519case $srcdir in 2520 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2521 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2522esac 2523 2524# Do `set' in a subshell so we don't clobber the current shell's 2525# arguments. Must try -L first in case configure is actually a 2526# symlink; some systems play weird games with the mod time of symlinks 2527# (eg FreeBSD returns the mod time of the symlink's containing 2528# directory). 2529if ( 2530 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2531 if test "$*" = "X"; then 2532 # -L didn't work. 2533 set X `ls -t "$srcdir/configure" conftest.file` 2534 fi 2535 rm -f conftest.file 2536 if test "$*" != "X $srcdir/configure conftest.file" \ 2537 && test "$*" != "X conftest.file $srcdir/configure"; then 2538 2539 # If neither matched, then we have a broken ls. This can happen 2540 # if, for instance, CONFIG_SHELL is bash and it inherits a 2541 # broken ls alias from the environment. This has actually 2542 # happened. Such a system could not be considered "sane". 2543 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2544alias in your environment" "$LINENO" 5 2545 fi 2546 2547 test "$2" = conftest.file 2548 ) 2549then 2550 # Ok. 2551 : 2552else 2553 as_fn_error $? "newly created file is older than distributed files! 2554Check your system clock" "$LINENO" 5 2555fi 2556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2557$as_echo "yes" >&6; } 2558test "$program_prefix" != NONE && 2559 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2560# Use a double $ so make ignores it. 2561test "$program_suffix" != NONE && 2562 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2563# Double any \ or $. 2564# By default was `s,x,x', remove it if useless. 2565ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2566program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2567 2568# expand $ac_aux_dir to an absolute path 2569am_aux_dir=`cd $ac_aux_dir && pwd` 2570 2571if test x"${MISSING+set}" != xset; then 2572 case $am_aux_dir in 2573 *\ * | *\ *) 2574 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2575 *) 2576 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2577 esac 2578fi 2579# Use eval to expand $SHELL 2580if eval "$MISSING --run true"; then 2581 am_missing_run="$MISSING --run " 2582else 2583 am_missing_run= 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2585$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2586fi 2587 2588if test x"${install_sh}" != xset; then 2589 case $am_aux_dir in 2590 *\ * | *\ *) 2591 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2592 *) 2593 install_sh="\${SHELL} $am_aux_dir/install-sh" 2594 esac 2595fi 2596 2597# Installed binaries are usually stripped using `strip' when the user 2598# run `make install-strip'. However `strip' might not be the right 2599# tool to use in cross-compilation environments, therefore Automake 2600# will honor the `STRIP' environment variable to overrule this program. 2601if test "$cross_compiling" != no; then 2602 if test -n "$ac_tool_prefix"; then 2603 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2604set dummy ${ac_tool_prefix}strip; ac_word=$2 2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2606$as_echo_n "checking for $ac_word... " >&6; } 2607if ${ac_cv_prog_STRIP+:} false; then : 2608 $as_echo_n "(cached) " >&6 2609else 2610 if test -n "$STRIP"; then 2611 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2612else 2613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2614for as_dir in $PATH 2615do 2616 IFS=$as_save_IFS 2617 test -z "$as_dir" && as_dir=. 2618 for ac_exec_ext in '' $ac_executable_extensions; do 2619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2620 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2622 break 2 2623 fi 2624done 2625 done 2626IFS=$as_save_IFS 2627 2628fi 2629fi 2630STRIP=$ac_cv_prog_STRIP 2631if test -n "$STRIP"; then 2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2633$as_echo "$STRIP" >&6; } 2634else 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2636$as_echo "no" >&6; } 2637fi 2638 2639 2640fi 2641if test -z "$ac_cv_prog_STRIP"; then 2642 ac_ct_STRIP=$STRIP 2643 # Extract the first word of "strip", so it can be a program name with args. 2644set dummy strip; ac_word=$2 2645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2646$as_echo_n "checking for $ac_word... " >&6; } 2647if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2648 $as_echo_n "(cached) " >&6 2649else 2650 if test -n "$ac_ct_STRIP"; then 2651 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2652else 2653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2654for as_dir in $PATH 2655do 2656 IFS=$as_save_IFS 2657 test -z "$as_dir" && as_dir=. 2658 for ac_exec_ext in '' $ac_executable_extensions; do 2659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2660 ac_cv_prog_ac_ct_STRIP="strip" 2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2662 break 2 2663 fi 2664done 2665 done 2666IFS=$as_save_IFS 2667 2668fi 2669fi 2670ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2671if test -n "$ac_ct_STRIP"; then 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2673$as_echo "$ac_ct_STRIP" >&6; } 2674else 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2676$as_echo "no" >&6; } 2677fi 2678 2679 if test "x$ac_ct_STRIP" = x; then 2680 STRIP=":" 2681 else 2682 case $cross_compiling:$ac_tool_warned in 2683yes:) 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2685$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2686ac_tool_warned=yes ;; 2687esac 2688 STRIP=$ac_ct_STRIP 2689 fi 2690else 2691 STRIP="$ac_cv_prog_STRIP" 2692fi 2693 2694fi 2695INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2696 2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2698$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2699if test -z "$MKDIR_P"; then 2700 if ${ac_cv_path_mkdir+:} false; then : 2701 $as_echo_n "(cached) " >&6 2702else 2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2704for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2705do 2706 IFS=$as_save_IFS 2707 test -z "$as_dir" && as_dir=. 2708 for ac_prog in mkdir gmkdir; do 2709 for ac_exec_ext in '' $ac_executable_extensions; do 2710 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2711 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2712 'mkdir (GNU coreutils) '* | \ 2713 'mkdir (coreutils) '* | \ 2714 'mkdir (fileutils) '4.1*) 2715 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2716 break 3;; 2717 esac 2718 done 2719 done 2720 done 2721IFS=$as_save_IFS 2722 2723fi 2724 2725 test -d ./--version && rmdir ./--version 2726 if test "${ac_cv_path_mkdir+set}" = set; then 2727 MKDIR_P="$ac_cv_path_mkdir -p" 2728 else 2729 # As a last resort, use the slow shell script. Don't cache a 2730 # value for MKDIR_P within a source directory, because that will 2731 # break other packages using the cache if that directory is 2732 # removed, or if the value is a relative name. 2733 MKDIR_P="$ac_install_sh -d" 2734 fi 2735fi 2736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2737$as_echo "$MKDIR_P" >&6; } 2738 2739mkdir_p="$MKDIR_P" 2740case $mkdir_p in 2741 [\\/$]* | ?:[\\/]*) ;; 2742 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2743esac 2744 2745for ac_prog in gawk mawk nawk awk 2746do 2747 # Extract the first word of "$ac_prog", so it can be a program name with args. 2748set dummy $ac_prog; ac_word=$2 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2750$as_echo_n "checking for $ac_word... " >&6; } 2751if ${ac_cv_prog_AWK+:} false; then : 2752 $as_echo_n "(cached) " >&6 2753else 2754 if test -n "$AWK"; then 2755 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2756else 2757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2758for as_dir in $PATH 2759do 2760 IFS=$as_save_IFS 2761 test -z "$as_dir" && as_dir=. 2762 for ac_exec_ext in '' $ac_executable_extensions; do 2763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2764 ac_cv_prog_AWK="$ac_prog" 2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2766 break 2 2767 fi 2768done 2769 done 2770IFS=$as_save_IFS 2771 2772fi 2773fi 2774AWK=$ac_cv_prog_AWK 2775if test -n "$AWK"; then 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2777$as_echo "$AWK" >&6; } 2778else 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2780$as_echo "no" >&6; } 2781fi 2782 2783 2784 test -n "$AWK" && break 2785done 2786 2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2788$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2789set x ${MAKE-make} 2790ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2791if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2792 $as_echo_n "(cached) " >&6 2793else 2794 cat >conftest.make <<\_ACEOF 2795SHELL = /bin/sh 2796all: 2797 @echo '@@@%%%=$(MAKE)=@@@%%%' 2798_ACEOF 2799# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2800case `${MAKE-make} -f conftest.make 2>/dev/null` in 2801 *@@@%%%=?*=@@@%%%*) 2802 eval ac_cv_prog_make_${ac_make}_set=yes;; 2803 *) 2804 eval ac_cv_prog_make_${ac_make}_set=no;; 2805esac 2806rm -f conftest.make 2807fi 2808if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2810$as_echo "yes" >&6; } 2811 SET_MAKE= 2812else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814$as_echo "no" >&6; } 2815 SET_MAKE="MAKE=${MAKE-make}" 2816fi 2817 2818rm -rf .tst 2>/dev/null 2819mkdir .tst 2>/dev/null 2820if test -d .tst; then 2821 am__leading_dot=. 2822else 2823 am__leading_dot=_ 2824fi 2825rmdir .tst 2>/dev/null 2826 2827if test "`cd $srcdir && pwd`" != "`pwd`"; then 2828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2829 # is not polluted with repeated "-I." 2830 am__isrc=' -I$(srcdir)' 2831 # test to see if srcdir already configured 2832 if test -f $srcdir/config.status; then 2833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2834 fi 2835fi 2836 2837# test whether we have cygpath 2838if test -z "$CYGPATH_W"; then 2839 if (cygpath --version) >/dev/null 2>/dev/null; then 2840 CYGPATH_W='cygpath -w' 2841 else 2842 CYGPATH_W=echo 2843 fi 2844fi 2845 2846 2847# Define the identity of the package. 2848 PACKAGE='cloog' 2849 VERSION='0.18.0' 2850 2851 2852cat >>confdefs.h <<_ACEOF 2853@%:@define PACKAGE "$PACKAGE" 2854_ACEOF 2855 2856 2857cat >>confdefs.h <<_ACEOF 2858@%:@define VERSION "$VERSION" 2859_ACEOF 2860 2861# Some tools Automake needs. 2862 2863ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2864 2865 2866AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2867 2868 2869AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2870 2871 2872AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2873 2874 2875MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2876 2877# We need awk for the "check" target. The system "awk" is bad on 2878# some platforms. 2879# Always define AMTAR for backward compatibility. Yes, it's still used 2880# in the wild :-( We should find a proper way to deprecate it ... 2881AMTAR='$${TAR-tar}' 2882 2883am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2884 2885 2886 2887 2888 2889@%:@ Check whether --enable-silent-rules was given. 2890if test "${enable_silent_rules+set}" = set; then : 2891 enableval=$enable_silent_rules; 2892fi 2893 2894case $enable_silent_rules in 2895yes) AM_DEFAULT_VERBOSITY=0;; 2896no) AM_DEFAULT_VERBOSITY=1;; 2897*) AM_DEFAULT_VERBOSITY=0;; 2898esac 2899am_make=${MAKE-make} 2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2901$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2902if ${am_cv_make_support_nested_variables+:} false; then : 2903 $as_echo_n "(cached) " >&6 2904else 2905 if $as_echo 'TRUE=$(BAR$(V)) 2906BAR0=false 2907BAR1=true 2908V=1 2909am__doit: 2910 @$(TRUE) 2911.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2912 am_cv_make_support_nested_variables=yes 2913else 2914 am_cv_make_support_nested_variables=no 2915fi 2916fi 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2918$as_echo "$am_cv_make_support_nested_variables" >&6; } 2919if test $am_cv_make_support_nested_variables = yes; then 2920 AM_V='$(V)' 2921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2922else 2923 AM_V=$AM_DEFAULT_VERBOSITY 2924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2925fi 2926AM_BACKSLASH='\' 2927 2928 2929 2930ac_ext=c 2931ac_cpp='$CPP $CPPFLAGS' 2932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2934ac_compiler_gnu=$ac_cv_c_compiler_gnu 2935if test -n "$ac_tool_prefix"; then 2936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2937set dummy ${ac_tool_prefix}gcc; ac_word=$2 2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2939$as_echo_n "checking for $ac_word... " >&6; } 2940if ${ac_cv_prog_CC+:} false; then : 2941 $as_echo_n "(cached) " >&6 2942else 2943 if test -n "$CC"; then 2944 ac_cv_prog_CC="$CC" # Let the user override the test. 2945else 2946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2947for as_dir in $PATH 2948do 2949 IFS=$as_save_IFS 2950 test -z "$as_dir" && as_dir=. 2951 for ac_exec_ext in '' $ac_executable_extensions; do 2952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2953 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2955 break 2 2956 fi 2957done 2958 done 2959IFS=$as_save_IFS 2960 2961fi 2962fi 2963CC=$ac_cv_prog_CC 2964if test -n "$CC"; then 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2966$as_echo "$CC" >&6; } 2967else 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2969$as_echo "no" >&6; } 2970fi 2971 2972 2973fi 2974if test -z "$ac_cv_prog_CC"; then 2975 ac_ct_CC=$CC 2976 # Extract the first word of "gcc", so it can be a program name with args. 2977set dummy gcc; ac_word=$2 2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2979$as_echo_n "checking for $ac_word... " >&6; } 2980if ${ac_cv_prog_ac_ct_CC+:} false; then : 2981 $as_echo_n "(cached) " >&6 2982else 2983 if test -n "$ac_ct_CC"; then 2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2985else 2986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2987for as_dir in $PATH 2988do 2989 IFS=$as_save_IFS 2990 test -z "$as_dir" && as_dir=. 2991 for ac_exec_ext in '' $ac_executable_extensions; do 2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2993 ac_cv_prog_ac_ct_CC="gcc" 2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2995 break 2 2996 fi 2997done 2998 done 2999IFS=$as_save_IFS 3000 3001fi 3002fi 3003ac_ct_CC=$ac_cv_prog_ac_ct_CC 3004if test -n "$ac_ct_CC"; then 3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3006$as_echo "$ac_ct_CC" >&6; } 3007else 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3009$as_echo "no" >&6; } 3010fi 3011 3012 if test "x$ac_ct_CC" = x; then 3013 CC="" 3014 else 3015 case $cross_compiling:$ac_tool_warned in 3016yes:) 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3018$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3019ac_tool_warned=yes ;; 3020esac 3021 CC=$ac_ct_CC 3022 fi 3023else 3024 CC="$ac_cv_prog_CC" 3025fi 3026 3027if test -z "$CC"; then 3028 if test -n "$ac_tool_prefix"; then 3029 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3030set dummy ${ac_tool_prefix}cc; ac_word=$2 3031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3032$as_echo_n "checking for $ac_word... " >&6; } 3033if ${ac_cv_prog_CC+:} false; then : 3034 $as_echo_n "(cached) " >&6 3035else 3036 if test -n "$CC"; then 3037 ac_cv_prog_CC="$CC" # Let the user override the test. 3038else 3039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3040for as_dir in $PATH 3041do 3042 IFS=$as_save_IFS 3043 test -z "$as_dir" && as_dir=. 3044 for ac_exec_ext in '' $ac_executable_extensions; do 3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3046 ac_cv_prog_CC="${ac_tool_prefix}cc" 3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3048 break 2 3049 fi 3050done 3051 done 3052IFS=$as_save_IFS 3053 3054fi 3055fi 3056CC=$ac_cv_prog_CC 3057if test -n "$CC"; then 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3059$as_echo "$CC" >&6; } 3060else 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3062$as_echo "no" >&6; } 3063fi 3064 3065 3066 fi 3067fi 3068if test -z "$CC"; then 3069 # Extract the first word of "cc", so it can be a program name with args. 3070set dummy cc; ac_word=$2 3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3072$as_echo_n "checking for $ac_word... " >&6; } 3073if ${ac_cv_prog_CC+:} false; then : 3074 $as_echo_n "(cached) " >&6 3075else 3076 if test -n "$CC"; then 3077 ac_cv_prog_CC="$CC" # Let the user override the test. 3078else 3079 ac_prog_rejected=no 3080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3081for as_dir in $PATH 3082do 3083 IFS=$as_save_IFS 3084 test -z "$as_dir" && as_dir=. 3085 for ac_exec_ext in '' $ac_executable_extensions; do 3086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3088 ac_prog_rejected=yes 3089 continue 3090 fi 3091 ac_cv_prog_CC="cc" 3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3093 break 2 3094 fi 3095done 3096 done 3097IFS=$as_save_IFS 3098 3099if test $ac_prog_rejected = yes; then 3100 # We found a bogon in the path, so make sure we never use it. 3101 set dummy $ac_cv_prog_CC 3102 shift 3103 if test $@%:@ != 0; then 3104 # We chose a different compiler from the bogus one. 3105 # However, it has the same basename, so the bogon will be chosen 3106 # first if we set CC to just the basename; use the full file name. 3107 shift 3108 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3109 fi 3110fi 3111fi 3112fi 3113CC=$ac_cv_prog_CC 3114if test -n "$CC"; then 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3116$as_echo "$CC" >&6; } 3117else 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3119$as_echo "no" >&6; } 3120fi 3121 3122 3123fi 3124if test -z "$CC"; then 3125 if test -n "$ac_tool_prefix"; then 3126 for ac_prog in cl.exe 3127 do 3128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3129set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3131$as_echo_n "checking for $ac_word... " >&6; } 3132if ${ac_cv_prog_CC+:} false; then : 3133 $as_echo_n "(cached) " >&6 3134else 3135 if test -n "$CC"; then 3136 ac_cv_prog_CC="$CC" # Let the user override the test. 3137else 3138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3139for as_dir in $PATH 3140do 3141 IFS=$as_save_IFS 3142 test -z "$as_dir" && as_dir=. 3143 for ac_exec_ext in '' $ac_executable_extensions; do 3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3147 break 2 3148 fi 3149done 3150 done 3151IFS=$as_save_IFS 3152 3153fi 3154fi 3155CC=$ac_cv_prog_CC 3156if test -n "$CC"; then 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3158$as_echo "$CC" >&6; } 3159else 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161$as_echo "no" >&6; } 3162fi 3163 3164 3165 test -n "$CC" && break 3166 done 3167fi 3168if test -z "$CC"; then 3169 ac_ct_CC=$CC 3170 for ac_prog in cl.exe 3171do 3172 # Extract the first word of "$ac_prog", so it can be a program name with args. 3173set dummy $ac_prog; ac_word=$2 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175$as_echo_n "checking for $ac_word... " >&6; } 3176if ${ac_cv_prog_ac_ct_CC+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178else 3179 if test -n "$ac_ct_CC"; then 3180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3181else 3182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3183for as_dir in $PATH 3184do 3185 IFS=$as_save_IFS 3186 test -z "$as_dir" && as_dir=. 3187 for ac_exec_ext in '' $ac_executable_extensions; do 3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3189 ac_cv_prog_ac_ct_CC="$ac_prog" 3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3191 break 2 3192 fi 3193done 3194 done 3195IFS=$as_save_IFS 3196 3197fi 3198fi 3199ac_ct_CC=$ac_cv_prog_ac_ct_CC 3200if test -n "$ac_ct_CC"; then 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3202$as_echo "$ac_ct_CC" >&6; } 3203else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3205$as_echo "no" >&6; } 3206fi 3207 3208 3209 test -n "$ac_ct_CC" && break 3210done 3211 3212 if test "x$ac_ct_CC" = x; then 3213 CC="" 3214 else 3215 case $cross_compiling:$ac_tool_warned in 3216yes:) 3217{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3218$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3219ac_tool_warned=yes ;; 3220esac 3221 CC=$ac_ct_CC 3222 fi 3223fi 3224 3225fi 3226 3227 3228test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3230as_fn_error $? "no acceptable C compiler found in \$PATH 3231See \`config.log' for more details" "$LINENO" 5; } 3232 3233# Provide some information about the compiler. 3234$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3235set X $ac_compile 3236ac_compiler=$2 3237for ac_option in --version -v -V -qversion; do 3238 { { ac_try="$ac_compiler $ac_option >&5" 3239case "(($ac_try" in 3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3241 *) ac_try_echo=$ac_try;; 3242esac 3243eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3244$as_echo "$ac_try_echo"; } >&5 3245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3246 ac_status=$? 3247 if test -s conftest.err; then 3248 sed '10a\ 3249... rest of stderr output deleted ... 3250 10q' conftest.err >conftest.er1 3251 cat conftest.er1 >&5 3252 fi 3253 rm -f conftest.er1 conftest.err 3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3255 test $ac_status = 0; } 3256done 3257 3258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3259/* end confdefs.h. */ 3260 3261int 3262main () 3263{ 3264 3265 ; 3266 return 0; 3267} 3268_ACEOF 3269ac_clean_files_save=$ac_clean_files 3270ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3271# Try to create an executable without -o first, disregard a.out. 3272# It will help us diagnose broken compilers, and finding out an intuition 3273# of exeext. 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3275$as_echo_n "checking whether the C compiler works... " >&6; } 3276ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3277 3278# The possible output files: 3279ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3280 3281ac_rmfiles= 3282for ac_file in $ac_files 3283do 3284 case $ac_file in 3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3286 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3287 esac 3288done 3289rm -f $ac_rmfiles 3290 3291if { { ac_try="$ac_link_default" 3292case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295esac 3296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3297$as_echo "$ac_try_echo"; } >&5 3298 (eval "$ac_link_default") 2>&5 3299 ac_status=$? 3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3301 test $ac_status = 0; }; then : 3302 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3303# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3304# in a Makefile. We should not override ac_cv_exeext if it was cached, 3305# so that the user can short-circuit this test for compilers unknown to 3306# Autoconf. 3307for ac_file in $ac_files '' 3308do 3309 test -f "$ac_file" || continue 3310 case $ac_file in 3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3312 ;; 3313 [ab].out ) 3314 # We found the default executable, but exeext='' is most 3315 # certainly right. 3316 break;; 3317 *.* ) 3318 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3319 then :; else 3320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3321 fi 3322 # We set ac_cv_exeext here because the later test for it is not 3323 # safe: cross compilers may not add the suffix if given an `-o' 3324 # argument, so we may need to know it at that point already. 3325 # Even if this section looks crufty: it has the advantage of 3326 # actually working. 3327 break;; 3328 * ) 3329 break;; 3330 esac 3331done 3332test "$ac_cv_exeext" = no && ac_cv_exeext= 3333 3334else 3335 ac_file='' 3336fi 3337if test -z "$ac_file"; then : 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3339$as_echo "no" >&6; } 3340$as_echo "$as_me: failed program was:" >&5 3341sed 's/^/| /' conftest.$ac_ext >&5 3342 3343{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3344$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3345as_fn_error 77 "C compiler cannot create executables 3346See \`config.log' for more details" "$LINENO" 5; } 3347else 3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3349$as_echo "yes" >&6; } 3350fi 3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3352$as_echo_n "checking for C compiler default output file name... " >&6; } 3353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3354$as_echo "$ac_file" >&6; } 3355ac_exeext=$ac_cv_exeext 3356 3357rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3358ac_clean_files=$ac_clean_files_save 3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3360$as_echo_n "checking for suffix of executables... " >&6; } 3361if { { ac_try="$ac_link" 3362case "(($ac_try" in 3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3364 *) ac_try_echo=$ac_try;; 3365esac 3366eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3367$as_echo "$ac_try_echo"; } >&5 3368 (eval "$ac_link") 2>&5 3369 ac_status=$? 3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3371 test $ac_status = 0; }; then : 3372 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3373# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3374# work properly (i.e., refer to `conftest.exe'), while it won't with 3375# `rm'. 3376for ac_file in conftest.exe conftest conftest.*; do 3377 test -f "$ac_file" || continue 3378 case $ac_file in 3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3380 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3381 break;; 3382 * ) break;; 3383 esac 3384done 3385else 3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3388as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3389See \`config.log' for more details" "$LINENO" 5; } 3390fi 3391rm -f conftest conftest$ac_cv_exeext 3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3393$as_echo "$ac_cv_exeext" >&6; } 3394 3395rm -f conftest.$ac_ext 3396EXEEXT=$ac_cv_exeext 3397ac_exeext=$EXEEXT 3398cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3399/* end confdefs.h. */ 3400@%:@include <stdio.h> 3401int 3402main () 3403{ 3404FILE *f = fopen ("conftest.out", "w"); 3405 return ferror (f) || fclose (f) != 0; 3406 3407 ; 3408 return 0; 3409} 3410_ACEOF 3411ac_clean_files="$ac_clean_files conftest.out" 3412# Check that the compiler produces executables we can run. If not, either 3413# the compiler is broken, or we cross compile. 3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3415$as_echo_n "checking whether we are cross compiling... " >&6; } 3416if test "$cross_compiling" != yes; then 3417 { { ac_try="$ac_link" 3418case "(($ac_try" in 3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3420 *) ac_try_echo=$ac_try;; 3421esac 3422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3423$as_echo "$ac_try_echo"; } >&5 3424 (eval "$ac_link") 2>&5 3425 ac_status=$? 3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3427 test $ac_status = 0; } 3428 if { ac_try='./conftest$ac_cv_exeext' 3429 { { case "(($ac_try" in 3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3431 *) ac_try_echo=$ac_try;; 3432esac 3433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3434$as_echo "$ac_try_echo"; } >&5 3435 (eval "$ac_try") 2>&5 3436 ac_status=$? 3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3438 test $ac_status = 0; }; }; then 3439 cross_compiling=no 3440 else 3441 if test "$cross_compiling" = maybe; then 3442 cross_compiling=yes 3443 else 3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3446as_fn_error $? "cannot run C compiled programs. 3447If you meant to cross compile, use \`--host'. 3448See \`config.log' for more details" "$LINENO" 5; } 3449 fi 3450 fi 3451fi 3452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3453$as_echo "$cross_compiling" >&6; } 3454 3455rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3456ac_clean_files=$ac_clean_files_save 3457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3458$as_echo_n "checking for suffix of object files... " >&6; } 3459if ${ac_cv_objext+:} false; then : 3460 $as_echo_n "(cached) " >&6 3461else 3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3463/* end confdefs.h. */ 3464 3465int 3466main () 3467{ 3468 3469 ; 3470 return 0; 3471} 3472_ACEOF 3473rm -f conftest.o conftest.obj 3474if { { ac_try="$ac_compile" 3475case "(($ac_try" in 3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3477 *) ac_try_echo=$ac_try;; 3478esac 3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3480$as_echo "$ac_try_echo"; } >&5 3481 (eval "$ac_compile") 2>&5 3482 ac_status=$? 3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3484 test $ac_status = 0; }; then : 3485 for ac_file in conftest.o conftest.obj conftest.*; do 3486 test -f "$ac_file" || continue; 3487 case $ac_file in 3488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3489 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3490 break;; 3491 esac 3492done 3493else 3494 $as_echo "$as_me: failed program was:" >&5 3495sed 's/^/| /' conftest.$ac_ext >&5 3496 3497{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3499as_fn_error $? "cannot compute suffix of object files: cannot compile 3500See \`config.log' for more details" "$LINENO" 5; } 3501fi 3502rm -f conftest.$ac_cv_objext conftest.$ac_ext 3503fi 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3505$as_echo "$ac_cv_objext" >&6; } 3506OBJEXT=$ac_cv_objext 3507ac_objext=$OBJEXT 3508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3509$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3510if ${ac_cv_c_compiler_gnu+:} false; then : 3511 $as_echo_n "(cached) " >&6 3512else 3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3514/* end confdefs.h. */ 3515 3516int 3517main () 3518{ 3519#ifndef __GNUC__ 3520 choke me 3521#endif 3522 3523 ; 3524 return 0; 3525} 3526_ACEOF 3527if ac_fn_c_try_compile "$LINENO"; then : 3528 ac_compiler_gnu=yes 3529else 3530 ac_compiler_gnu=no 3531fi 3532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3533ac_cv_c_compiler_gnu=$ac_compiler_gnu 3534 3535fi 3536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3537$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3538if test $ac_compiler_gnu = yes; then 3539 GCC=yes 3540else 3541 GCC= 3542fi 3543ac_test_CFLAGS=${CFLAGS+set} 3544ac_save_CFLAGS=$CFLAGS 3545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3546$as_echo_n "checking whether $CC accepts -g... " >&6; } 3547if ${ac_cv_prog_cc_g+:} false; then : 3548 $as_echo_n "(cached) " >&6 3549else 3550 ac_save_c_werror_flag=$ac_c_werror_flag 3551 ac_c_werror_flag=yes 3552 ac_cv_prog_cc_g=no 3553 CFLAGS="-g" 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3555/* end confdefs.h. */ 3556 3557int 3558main () 3559{ 3560 3561 ; 3562 return 0; 3563} 3564_ACEOF 3565if ac_fn_c_try_compile "$LINENO"; then : 3566 ac_cv_prog_cc_g=yes 3567else 3568 CFLAGS="" 3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3570/* end confdefs.h. */ 3571 3572int 3573main () 3574{ 3575 3576 ; 3577 return 0; 3578} 3579_ACEOF 3580if ac_fn_c_try_compile "$LINENO"; then : 3581 3582else 3583 ac_c_werror_flag=$ac_save_c_werror_flag 3584 CFLAGS="-g" 3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3586/* end confdefs.h. */ 3587 3588int 3589main () 3590{ 3591 3592 ; 3593 return 0; 3594} 3595_ACEOF 3596if ac_fn_c_try_compile "$LINENO"; then : 3597 ac_cv_prog_cc_g=yes 3598fi 3599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3600fi 3601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3602fi 3603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3604 ac_c_werror_flag=$ac_save_c_werror_flag 3605fi 3606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3607$as_echo "$ac_cv_prog_cc_g" >&6; } 3608if test "$ac_test_CFLAGS" = set; then 3609 CFLAGS=$ac_save_CFLAGS 3610elif test $ac_cv_prog_cc_g = yes; then 3611 if test "$GCC" = yes; then 3612 CFLAGS="-g -O2" 3613 else 3614 CFLAGS="-g" 3615 fi 3616else 3617 if test "$GCC" = yes; then 3618 CFLAGS="-O2" 3619 else 3620 CFLAGS= 3621 fi 3622fi 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3624$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3625if ${ac_cv_prog_cc_c89+:} false; then : 3626 $as_echo_n "(cached) " >&6 3627else 3628 ac_cv_prog_cc_c89=no 3629ac_save_CC=$CC 3630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3631/* end confdefs.h. */ 3632#include <stdarg.h> 3633#include <stdio.h> 3634struct stat; 3635/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3636struct buf { int x; }; 3637FILE * (*rcsopen) (struct buf *, struct stat *, int); 3638static char *e (p, i) 3639 char **p; 3640 int i; 3641{ 3642 return p[i]; 3643} 3644static char *f (char * (*g) (char **, int), char **p, ...) 3645{ 3646 char *s; 3647 va_list v; 3648 va_start (v,p); 3649 s = g (p, va_arg (v,int)); 3650 va_end (v); 3651 return s; 3652} 3653 3654/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3655 function prototypes and stuff, but not '\xHH' hex character constants. 3656 These don't provoke an error unfortunately, instead are silently treated 3657 as 'x'. The following induces an error, until -std is added to get 3658 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3659 array size at least. It's necessary to write '\x00'==0 to get something 3660 that's true only with -std. */ 3661int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3662 3663/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3664 inside strings and character constants. */ 3665#define FOO(x) 'x' 3666int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3667 3668int test (int i, double x); 3669struct s1 {int (*f) (int a);}; 3670struct s2 {int (*f) (double a);}; 3671int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3672int argc; 3673char **argv; 3674int 3675main () 3676{ 3677return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3678 ; 3679 return 0; 3680} 3681_ACEOF 3682for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3683 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3684do 3685 CC="$ac_save_CC $ac_arg" 3686 if ac_fn_c_try_compile "$LINENO"; then : 3687 ac_cv_prog_cc_c89=$ac_arg 3688fi 3689rm -f core conftest.err conftest.$ac_objext 3690 test "x$ac_cv_prog_cc_c89" != "xno" && break 3691done 3692rm -f conftest.$ac_ext 3693CC=$ac_save_CC 3694 3695fi 3696# AC_CACHE_VAL 3697case "x$ac_cv_prog_cc_c89" in 3698 x) 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3700$as_echo "none needed" >&6; } ;; 3701 xno) 3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3703$as_echo "unsupported" >&6; } ;; 3704 *) 3705 CC="$CC $ac_cv_prog_cc_c89" 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3707$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3708esac 3709if test "x$ac_cv_prog_cc_c89" != xno; then : 3710 3711fi 3712 3713ac_ext=c 3714ac_cpp='$CPP $CPPFLAGS' 3715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3717ac_compiler_gnu=$ac_cv_c_compiler_gnu 3718DEPDIR="${am__leading_dot}deps" 3719 3720ac_config_commands="$ac_config_commands depfiles" 3721 3722 3723am_make=${MAKE-make} 3724cat > confinc << 'END' 3725am__doit: 3726 @echo this is the am__doit target 3727.PHONY: am__doit 3728END 3729# If we don't find an include directive, just comment out the code. 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3731$as_echo_n "checking for style of include used by $am_make... " >&6; } 3732am__include="#" 3733am__quote= 3734_am_result=none 3735# First try GNU make style include. 3736echo "include confinc" > confmf 3737# Ignore all kinds of additional output from `make'. 3738case `$am_make -s -f confmf 2> /dev/null` in #( 3739*the\ am__doit\ target*) 3740 am__include=include 3741 am__quote= 3742 _am_result=GNU 3743 ;; 3744esac 3745# Now try BSD make style include. 3746if test "$am__include" = "#"; then 3747 echo '.include "confinc"' > confmf 3748 case `$am_make -s -f confmf 2> /dev/null` in #( 3749 *the\ am__doit\ target*) 3750 am__include=.include 3751 am__quote="\"" 3752 _am_result=BSD 3753 ;; 3754 esac 3755fi 3756 3757 3758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3759$as_echo "$_am_result" >&6; } 3760rm -f confinc confmf 3761 3762@%:@ Check whether --enable-dependency-tracking was given. 3763if test "${enable_dependency_tracking+set}" = set; then : 3764 enableval=$enable_dependency_tracking; 3765fi 3766 3767if test "x$enable_dependency_tracking" != xno; then 3768 am_depcomp="$ac_aux_dir/depcomp" 3769 AMDEPBACKSLASH='\' 3770 am__nodep='_no' 3771fi 3772 if test "x$enable_dependency_tracking" != xno; then 3773 AMDEP_TRUE= 3774 AMDEP_FALSE='#' 3775else 3776 AMDEP_TRUE='#' 3777 AMDEP_FALSE= 3778fi 3779 3780 3781 3782depcc="$CC" am_compiler_list= 3783 3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3785$as_echo_n "checking dependency style of $depcc... " >&6; } 3786if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3787 $as_echo_n "(cached) " >&6 3788else 3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3790 # We make a subdir and do the tests there. Otherwise we can end up 3791 # making bogus files that we don't know about and never remove. For 3792 # instance it was reported that on HP-UX the gcc test will end up 3793 # making a dummy file named `D' -- because `-MD' means `put the output 3794 # in D'. 3795 rm -rf conftest.dir 3796 mkdir conftest.dir 3797 # Copy depcomp to subdir because otherwise we won't find it if we're 3798 # using a relative directory. 3799 cp "$am_depcomp" conftest.dir 3800 cd conftest.dir 3801 # We will build objects and dependencies in a subdirectory because 3802 # it helps to detect inapplicable dependency modes. For instance 3803 # both Tru64's cc and ICC support -MD to output dependencies as a 3804 # side effect of compilation, but ICC will put the dependencies in 3805 # the current directory while Tru64 will put them in the object 3806 # directory. 3807 mkdir sub 3808 3809 am_cv_CC_dependencies_compiler_type=none 3810 if test "$am_compiler_list" = ""; then 3811 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3812 fi 3813 am__universal=false 3814 case " $depcc " in #( 3815 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3816 esac 3817 3818 for depmode in $am_compiler_list; do 3819 # Setup a source with many dependencies, because some compilers 3820 # like to wrap large dependency lists on column 80 (with \), and 3821 # we should not choose a depcomp mode which is confused by this. 3822 # 3823 # We need to recreate these files for each test, as the compiler may 3824 # overwrite some of them when testing with obscure command lines. 3825 # This happens at least with the AIX C compiler. 3826 : > sub/conftest.c 3827 for i in 1 2 3 4 5 6; do 3828 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3829 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3830 # Solaris 8's {/usr,}/bin/sh. 3831 touch sub/conftst$i.h 3832 done 3833 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3834 3835 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3836 # mode. It turns out that the SunPro C++ compiler does not properly 3837 # handle `-M -o', and we need to detect this. Also, some Intel 3838 # versions had trouble with output in subdirs 3839 am__obj=sub/conftest.${OBJEXT-o} 3840 am__minus_obj="-o $am__obj" 3841 case $depmode in 3842 gcc) 3843 # This depmode causes a compiler race in universal mode. 3844 test "$am__universal" = false || continue 3845 ;; 3846 nosideeffect) 3847 # after this tag, mechanisms are not by side-effect, so they'll 3848 # only be used when explicitly requested 3849 if test "x$enable_dependency_tracking" = xyes; then 3850 continue 3851 else 3852 break 3853 fi 3854 ;; 3855 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3856 # This compiler won't grok `-c -o', but also, the minuso test has 3857 # not run yet. These depmodes are late enough in the game, and 3858 # so weak that their functioning should not be impacted. 3859 am__obj=conftest.${OBJEXT-o} 3860 am__minus_obj= 3861 ;; 3862 none) break ;; 3863 esac 3864 if depmode=$depmode \ 3865 source=sub/conftest.c object=$am__obj \ 3866 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3867 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3868 >/dev/null 2>conftest.err && 3869 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3870 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3871 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3872 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3873 # icc doesn't choke on unknown options, it will just issue warnings 3874 # or remarks (even with -Werror). So we grep stderr for any message 3875 # that says an option was ignored or not supported. 3876 # When given -MP, icc 7.0 and 7.1 complain thusly: 3877 # icc: Command line warning: ignoring option '-M'; no argument required 3878 # The diagnosis changed in icc 8.0: 3879 # icc: Command line remark: option '-MP' not supported 3880 if (grep 'ignoring option' conftest.err || 3881 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3882 am_cv_CC_dependencies_compiler_type=$depmode 3883 break 3884 fi 3885 fi 3886 done 3887 3888 cd .. 3889 rm -rf conftest.dir 3890else 3891 am_cv_CC_dependencies_compiler_type=none 3892fi 3893 3894fi 3895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3896$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3897CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3898 3899 if 3900 test "x$enable_dependency_tracking" != xno \ 3901 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3902 am__fastdepCC_TRUE= 3903 am__fastdepCC_FALSE='#' 3904else 3905 am__fastdepCC_TRUE='#' 3906 am__fastdepCC_FALSE= 3907fi 3908 3909 3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3911$as_echo_n "checking whether ln -s works... " >&6; } 3912LN_S=$as_ln_s 3913if test "$LN_S" = "ln -s"; then 3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3915$as_echo "yes" >&6; } 3916else 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3918$as_echo "no, using $LN_S" >&6; } 3919fi 3920 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3922$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3923set x ${MAKE-make} 3924ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3925if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3926 $as_echo_n "(cached) " >&6 3927else 3928 cat >conftest.make <<\_ACEOF 3929SHELL = /bin/sh 3930all: 3931 @echo '@@@%%%=$(MAKE)=@@@%%%' 3932_ACEOF 3933# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3934case `${MAKE-make} -f conftest.make 2>/dev/null` in 3935 *@@@%%%=?*=@@@%%%*) 3936 eval ac_cv_prog_make_${ac_make}_set=yes;; 3937 *) 3938 eval ac_cv_prog_make_${ac_make}_set=no;; 3939esac 3940rm -f conftest.make 3941fi 3942if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3944$as_echo "yes" >&6; } 3945 SET_MAKE= 3946else 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3948$as_echo "no" >&6; } 3949 SET_MAKE="MAKE=${MAKE-make}" 3950fi 3951 3952# Extract the first word of "cd", so it can be a program name with args. 3953set dummy cd; ac_word=$2 3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3955$as_echo_n "checking for $ac_word... " >&6; } 3956if ${ac_cv_prog_CD+:} false; then : 3957 $as_echo_n "(cached) " >&6 3958else 3959 if test -n "$CD"; then 3960 ac_cv_prog_CD="$CD" # Let the user override the test. 3961else 3962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3963for as_dir in $PATH 3964do 3965 IFS=$as_save_IFS 3966 test -z "$as_dir" && as_dir=. 3967 for ac_exec_ext in '' $ac_executable_extensions; do 3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3969 ac_cv_prog_CD="" 3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3971 break 2 3972 fi 3973done 3974 done 3975IFS=$as_save_IFS 3976 3977fi 3978fi 3979CD=$ac_cv_prog_CD 3980if test -n "$CD"; then 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CD" >&5 3982$as_echo "$CD" >&6; } 3983else 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3985$as_echo "no" >&6; } 3986fi 3987 3988 3989 3990case `pwd` in 3991 *\ * | *\ *) 3992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3993$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3994esac 3995 3996 3997 3998macro_version='2.4.2' 3999macro_revision='1.3337' 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013ltmain="$ac_aux_dir/ltmain.sh" 4014 4015# Make sure we can run config.sub. 4016$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4017 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4018 4019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4020$as_echo_n "checking build system type... " >&6; } 4021if ${ac_cv_build+:} false; then : 4022 $as_echo_n "(cached) " >&6 4023else 4024 ac_build_alias=$build_alias 4025test "x$ac_build_alias" = x && 4026 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4027test "x$ac_build_alias" = x && 4028 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4029ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4030 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4031 4032fi 4033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4034$as_echo "$ac_cv_build" >&6; } 4035case $ac_cv_build in 4036*-*-*) ;; 4037*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4038esac 4039build=$ac_cv_build 4040ac_save_IFS=$IFS; IFS='-' 4041set x $ac_cv_build 4042shift 4043build_cpu=$1 4044build_vendor=$2 4045shift; shift 4046# Remember, the first character of IFS is used to create $*, 4047# except with old shells: 4048build_os=$* 4049IFS=$ac_save_IFS 4050case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4051 4052 4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4054$as_echo_n "checking host system type... " >&6; } 4055if ${ac_cv_host+:} false; then : 4056 $as_echo_n "(cached) " >&6 4057else 4058 if test "x$host_alias" = x; then 4059 ac_cv_host=$ac_cv_build 4060else 4061 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4062 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4063fi 4064 4065fi 4066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4067$as_echo "$ac_cv_host" >&6; } 4068case $ac_cv_host in 4069*-*-*) ;; 4070*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4071esac 4072host=$ac_cv_host 4073ac_save_IFS=$IFS; IFS='-' 4074set x $ac_cv_host 4075shift 4076host_cpu=$1 4077host_vendor=$2 4078shift; shift 4079# Remember, the first character of IFS is used to create $*, 4080# except with old shells: 4081host_os=$* 4082IFS=$ac_save_IFS 4083case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4084 4085 4086# Backslashify metacharacters that are still active within 4087# double-quoted strings. 4088sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4089 4090# Same as above, but do not quote variable references. 4091double_quote_subst='s/\(["`\\]\)/\\\1/g' 4092 4093# Sed substitution to delay expansion of an escaped shell variable in a 4094# double_quote_subst'ed string. 4095delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4096 4097# Sed substitution to delay expansion of an escaped single quote. 4098delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4099 4100# Sed substitution to avoid accidental globbing in evaled expressions 4101no_glob_subst='s/\*/\\\*/g' 4102 4103ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4104ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4105ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4106 4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4108$as_echo_n "checking how to print strings... " >&6; } 4109# Test print first, because it will be a builtin if present. 4110if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4111 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4112 ECHO='print -r --' 4113elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4114 ECHO='printf %s\n' 4115else 4116 # Use this function as a fallback that always works. 4117 func_fallback_echo () 4118 { 4119 eval 'cat <<_LTECHO_EOF 4120$1 4121_LTECHO_EOF' 4122 } 4123 ECHO='func_fallback_echo' 4124fi 4125 4126# func_echo_all arg... 4127# Invoke $ECHO with all args, space-separated. 4128func_echo_all () 4129{ 4130 $ECHO "" 4131} 4132 4133case "$ECHO" in 4134 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4135$as_echo "printf" >&6; } ;; 4136 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4137$as_echo "print -r" >&6; } ;; 4138 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4139$as_echo "cat" >&6; } ;; 4140esac 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4156$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4157if ${ac_cv_path_SED+:} false; then : 4158 $as_echo_n "(cached) " >&6 4159else 4160 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4161 for ac_i in 1 2 3 4 5 6 7; do 4162 ac_script="$ac_script$as_nl$ac_script" 4163 done 4164 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4165 { ac_script=; unset ac_script;} 4166 if test -z "$SED"; then 4167 ac_path_SED_found=false 4168 # Loop through the user's path and test for each of PROGNAME-LIST 4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4170for as_dir in $PATH 4171do 4172 IFS=$as_save_IFS 4173 test -z "$as_dir" && as_dir=. 4174 for ac_prog in sed gsed; do 4175 for ac_exec_ext in '' $ac_executable_extensions; do 4176 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4177 as_fn_executable_p "$ac_path_SED" || continue 4178# Check for GNU ac_path_SED and select it if it is found. 4179 # Check for GNU $ac_path_SED 4180case `"$ac_path_SED" --version 2>&1` in 4181*GNU*) 4182 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4183*) 4184 ac_count=0 4185 $as_echo_n 0123456789 >"conftest.in" 4186 while : 4187 do 4188 cat "conftest.in" "conftest.in" >"conftest.tmp" 4189 mv "conftest.tmp" "conftest.in" 4190 cp "conftest.in" "conftest.nl" 4191 $as_echo '' >> "conftest.nl" 4192 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4194 as_fn_arith $ac_count + 1 && ac_count=$as_val 4195 if test $ac_count -gt ${ac_path_SED_max-0}; then 4196 # Best one so far, save it but keep looking for a better one 4197 ac_cv_path_SED="$ac_path_SED" 4198 ac_path_SED_max=$ac_count 4199 fi 4200 # 10*(2^10) chars as input seems more than enough 4201 test $ac_count -gt 10 && break 4202 done 4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4204esac 4205 4206 $ac_path_SED_found && break 3 4207 done 4208 done 4209 done 4210IFS=$as_save_IFS 4211 if test -z "$ac_cv_path_SED"; then 4212 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4213 fi 4214else 4215 ac_cv_path_SED=$SED 4216fi 4217 4218fi 4219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4220$as_echo "$ac_cv_path_SED" >&6; } 4221 SED="$ac_cv_path_SED" 4222 rm -f conftest.sed 4223 4224test -z "$SED" && SED=sed 4225Xsed="$SED -e 1s/^X//" 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4238$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4239if ${ac_cv_path_GREP+:} false; then : 4240 $as_echo_n "(cached) " >&6 4241else 4242 if test -z "$GREP"; then 4243 ac_path_GREP_found=false 4244 # Loop through the user's path and test for each of PROGNAME-LIST 4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4246for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4247do 4248 IFS=$as_save_IFS 4249 test -z "$as_dir" && as_dir=. 4250 for ac_prog in grep ggrep; do 4251 for ac_exec_ext in '' $ac_executable_extensions; do 4252 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4253 as_fn_executable_p "$ac_path_GREP" || continue 4254# Check for GNU ac_path_GREP and select it if it is found. 4255 # Check for GNU $ac_path_GREP 4256case `"$ac_path_GREP" --version 2>&1` in 4257*GNU*) 4258 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4259*) 4260 ac_count=0 4261 $as_echo_n 0123456789 >"conftest.in" 4262 while : 4263 do 4264 cat "conftest.in" "conftest.in" >"conftest.tmp" 4265 mv "conftest.tmp" "conftest.in" 4266 cp "conftest.in" "conftest.nl" 4267 $as_echo 'GREP' >> "conftest.nl" 4268 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4269 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4270 as_fn_arith $ac_count + 1 && ac_count=$as_val 4271 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4272 # Best one so far, save it but keep looking for a better one 4273 ac_cv_path_GREP="$ac_path_GREP" 4274 ac_path_GREP_max=$ac_count 4275 fi 4276 # 10*(2^10) chars as input seems more than enough 4277 test $ac_count -gt 10 && break 4278 done 4279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4280esac 4281 4282 $ac_path_GREP_found && break 3 4283 done 4284 done 4285 done 4286IFS=$as_save_IFS 4287 if test -z "$ac_cv_path_GREP"; then 4288 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4289 fi 4290else 4291 ac_cv_path_GREP=$GREP 4292fi 4293 4294fi 4295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4296$as_echo "$ac_cv_path_GREP" >&6; } 4297 GREP="$ac_cv_path_GREP" 4298 4299 4300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4301$as_echo_n "checking for egrep... " >&6; } 4302if ${ac_cv_path_EGREP+:} false; then : 4303 $as_echo_n "(cached) " >&6 4304else 4305 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4306 then ac_cv_path_EGREP="$GREP -E" 4307 else 4308 if test -z "$EGREP"; then 4309 ac_path_EGREP_found=false 4310 # Loop through the user's path and test for each of PROGNAME-LIST 4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4312for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4313do 4314 IFS=$as_save_IFS 4315 test -z "$as_dir" && as_dir=. 4316 for ac_prog in egrep; do 4317 for ac_exec_ext in '' $ac_executable_extensions; do 4318 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4319 as_fn_executable_p "$ac_path_EGREP" || continue 4320# Check for GNU ac_path_EGREP and select it if it is found. 4321 # Check for GNU $ac_path_EGREP 4322case `"$ac_path_EGREP" --version 2>&1` in 4323*GNU*) 4324 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4325*) 4326 ac_count=0 4327 $as_echo_n 0123456789 >"conftest.in" 4328 while : 4329 do 4330 cat "conftest.in" "conftest.in" >"conftest.tmp" 4331 mv "conftest.tmp" "conftest.in" 4332 cp "conftest.in" "conftest.nl" 4333 $as_echo 'EGREP' >> "conftest.nl" 4334 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4336 as_fn_arith $ac_count + 1 && ac_count=$as_val 4337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4338 # Best one so far, save it but keep looking for a better one 4339 ac_cv_path_EGREP="$ac_path_EGREP" 4340 ac_path_EGREP_max=$ac_count 4341 fi 4342 # 10*(2^10) chars as input seems more than enough 4343 test $ac_count -gt 10 && break 4344 done 4345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4346esac 4347 4348 $ac_path_EGREP_found && break 3 4349 done 4350 done 4351 done 4352IFS=$as_save_IFS 4353 if test -z "$ac_cv_path_EGREP"; then 4354 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4355 fi 4356else 4357 ac_cv_path_EGREP=$EGREP 4358fi 4359 4360 fi 4361fi 4362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4363$as_echo "$ac_cv_path_EGREP" >&6; } 4364 EGREP="$ac_cv_path_EGREP" 4365 4366 4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4368$as_echo_n "checking for fgrep... " >&6; } 4369if ${ac_cv_path_FGREP+:} false; then : 4370 $as_echo_n "(cached) " >&6 4371else 4372 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4373 then ac_cv_path_FGREP="$GREP -F" 4374 else 4375 if test -z "$FGREP"; then 4376 ac_path_FGREP_found=false 4377 # Loop through the user's path and test for each of PROGNAME-LIST 4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4379for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4380do 4381 IFS=$as_save_IFS 4382 test -z "$as_dir" && as_dir=. 4383 for ac_prog in fgrep; do 4384 for ac_exec_ext in '' $ac_executable_extensions; do 4385 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4386 as_fn_executable_p "$ac_path_FGREP" || continue 4387# Check for GNU ac_path_FGREP and select it if it is found. 4388 # Check for GNU $ac_path_FGREP 4389case `"$ac_path_FGREP" --version 2>&1` in 4390*GNU*) 4391 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4392*) 4393 ac_count=0 4394 $as_echo_n 0123456789 >"conftest.in" 4395 while : 4396 do 4397 cat "conftest.in" "conftest.in" >"conftest.tmp" 4398 mv "conftest.tmp" "conftest.in" 4399 cp "conftest.in" "conftest.nl" 4400 $as_echo 'FGREP' >> "conftest.nl" 4401 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4403 as_fn_arith $ac_count + 1 && ac_count=$as_val 4404 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4405 # Best one so far, save it but keep looking for a better one 4406 ac_cv_path_FGREP="$ac_path_FGREP" 4407 ac_path_FGREP_max=$ac_count 4408 fi 4409 # 10*(2^10) chars as input seems more than enough 4410 test $ac_count -gt 10 && break 4411 done 4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4413esac 4414 4415 $ac_path_FGREP_found && break 3 4416 done 4417 done 4418 done 4419IFS=$as_save_IFS 4420 if test -z "$ac_cv_path_FGREP"; then 4421 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4422 fi 4423else 4424 ac_cv_path_FGREP=$FGREP 4425fi 4426 4427 fi 4428fi 4429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4430$as_echo "$ac_cv_path_FGREP" >&6; } 4431 FGREP="$ac_cv_path_FGREP" 4432 4433 4434test -z "$GREP" && GREP=grep 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454@%:@ Check whether --with-gnu-ld was given. 4455if test "${with_gnu_ld+set}" = set; then : 4456 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4457else 4458 with_gnu_ld=no 4459fi 4460 4461ac_prog=ld 4462if test "$GCC" = yes; then 4463 # Check if gcc -print-prog-name=ld gives a path. 4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4465$as_echo_n "checking for ld used by $CC... " >&6; } 4466 case $host in 4467 *-*-mingw*) 4468 # gcc leaves a trailing carriage return which upsets mingw 4469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4470 *) 4471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4472 esac 4473 case $ac_prog in 4474 # Accept absolute paths. 4475 [\\/]* | ?:[\\/]*) 4476 re_direlt='/[^/][^/]*/\.\./' 4477 # Canonicalize the pathname of ld 4478 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4479 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4480 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4481 done 4482 test -z "$LD" && LD="$ac_prog" 4483 ;; 4484 "") 4485 # If it fails, then pretend we aren't using GCC. 4486 ac_prog=ld 4487 ;; 4488 *) 4489 # If it is relative, then search for the first ld in PATH. 4490 with_gnu_ld=unknown 4491 ;; 4492 esac 4493elif test "$with_gnu_ld" = yes; then 4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4495$as_echo_n "checking for GNU ld... " >&6; } 4496else 4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4498$as_echo_n "checking for non-GNU ld... " >&6; } 4499fi 4500if ${lt_cv_path_LD+:} false; then : 4501 $as_echo_n "(cached) " >&6 4502else 4503 if test -z "$LD"; then 4504 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4505 for ac_dir in $PATH; do 4506 IFS="$lt_save_ifs" 4507 test -z "$ac_dir" && ac_dir=. 4508 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4509 lt_cv_path_LD="$ac_dir/$ac_prog" 4510 # Check to see if the program is GNU ld. I'd rather use --version, 4511 # but apparently some variants of GNU ld only accept -v. 4512 # Break only if it was the GNU/non-GNU ld that we prefer. 4513 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4514 *GNU* | *'with BFD'*) 4515 test "$with_gnu_ld" != no && break 4516 ;; 4517 *) 4518 test "$with_gnu_ld" != yes && break 4519 ;; 4520 esac 4521 fi 4522 done 4523 IFS="$lt_save_ifs" 4524else 4525 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4526fi 4527fi 4528 4529LD="$lt_cv_path_LD" 4530if test -n "$LD"; then 4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4532$as_echo "$LD" >&6; } 4533else 4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4535$as_echo "no" >&6; } 4536fi 4537test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4539$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4540if ${lt_cv_prog_gnu_ld+:} false; then : 4541 $as_echo_n "(cached) " >&6 4542else 4543 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4544case `$LD -v 2>&1 </dev/null` in 4545*GNU* | *'with BFD'*) 4546 lt_cv_prog_gnu_ld=yes 4547 ;; 4548*) 4549 lt_cv_prog_gnu_ld=no 4550 ;; 4551esac 4552fi 4553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4554$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4555with_gnu_ld=$lt_cv_prog_gnu_ld 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4566$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4567if ${lt_cv_path_NM+:} false; then : 4568 $as_echo_n "(cached) " >&6 4569else 4570 if test -n "$NM"; then 4571 # Let the user override the test. 4572 lt_cv_path_NM="$NM" 4573else 4574 lt_nm_to_check="${ac_tool_prefix}nm" 4575 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4576 lt_nm_to_check="$lt_nm_to_check nm" 4577 fi 4578 for lt_tmp_nm in $lt_nm_to_check; do 4579 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4580 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4581 IFS="$lt_save_ifs" 4582 test -z "$ac_dir" && ac_dir=. 4583 tmp_nm="$ac_dir/$lt_tmp_nm" 4584 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4585 # Check to see if the nm accepts a BSD-compat flag. 4586 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4587 # nm: unknown option "B" ignored 4588 # Tru64's nm complains that /dev/null is an invalid object file 4589 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4590 */dev/null* | *'Invalid file or object type'*) 4591 lt_cv_path_NM="$tmp_nm -B" 4592 break 4593 ;; 4594 *) 4595 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4596 */dev/null*) 4597 lt_cv_path_NM="$tmp_nm -p" 4598 break 4599 ;; 4600 *) 4601 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4602 continue # so that we can try to find one that supports BSD flags 4603 ;; 4604 esac 4605 ;; 4606 esac 4607 fi 4608 done 4609 IFS="$lt_save_ifs" 4610 done 4611 : ${lt_cv_path_NM=no} 4612fi 4613fi 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4615$as_echo "$lt_cv_path_NM" >&6; } 4616if test "$lt_cv_path_NM" != "no"; then 4617 NM="$lt_cv_path_NM" 4618else 4619 # Didn't find any BSD compatible name lister, look for dumpbin. 4620 if test -n "$DUMPBIN"; then : 4621 # Let the user override the test. 4622 else 4623 if test -n "$ac_tool_prefix"; then 4624 for ac_prog in dumpbin "link -dump" 4625 do 4626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4627set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4629$as_echo_n "checking for $ac_word... " >&6; } 4630if ${ac_cv_prog_DUMPBIN+:} false; then : 4631 $as_echo_n "(cached) " >&6 4632else 4633 if test -n "$DUMPBIN"; then 4634 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4635else 4636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4637for as_dir in $PATH 4638do 4639 IFS=$as_save_IFS 4640 test -z "$as_dir" && as_dir=. 4641 for ac_exec_ext in '' $ac_executable_extensions; do 4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4643 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4645 break 2 4646 fi 4647done 4648 done 4649IFS=$as_save_IFS 4650 4651fi 4652fi 4653DUMPBIN=$ac_cv_prog_DUMPBIN 4654if test -n "$DUMPBIN"; then 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4656$as_echo "$DUMPBIN" >&6; } 4657else 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4659$as_echo "no" >&6; } 4660fi 4661 4662 4663 test -n "$DUMPBIN" && break 4664 done 4665fi 4666if test -z "$DUMPBIN"; then 4667 ac_ct_DUMPBIN=$DUMPBIN 4668 for ac_prog in dumpbin "link -dump" 4669do 4670 # Extract the first word of "$ac_prog", so it can be a program name with args. 4671set dummy $ac_prog; ac_word=$2 4672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4673$as_echo_n "checking for $ac_word... " >&6; } 4674if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4675 $as_echo_n "(cached) " >&6 4676else 4677 if test -n "$ac_ct_DUMPBIN"; then 4678 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4679else 4680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4681for as_dir in $PATH 4682do 4683 IFS=$as_save_IFS 4684 test -z "$as_dir" && as_dir=. 4685 for ac_exec_ext in '' $ac_executable_extensions; do 4686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4687 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4689 break 2 4690 fi 4691done 4692 done 4693IFS=$as_save_IFS 4694 4695fi 4696fi 4697ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4698if test -n "$ac_ct_DUMPBIN"; then 4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4700$as_echo "$ac_ct_DUMPBIN" >&6; } 4701else 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4703$as_echo "no" >&6; } 4704fi 4705 4706 4707 test -n "$ac_ct_DUMPBIN" && break 4708done 4709 4710 if test "x$ac_ct_DUMPBIN" = x; then 4711 DUMPBIN=":" 4712 else 4713 case $cross_compiling:$ac_tool_warned in 4714yes:) 4715{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4716$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4717ac_tool_warned=yes ;; 4718esac 4719 DUMPBIN=$ac_ct_DUMPBIN 4720 fi 4721fi 4722 4723 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4724 *COFF*) 4725 DUMPBIN="$DUMPBIN -symbols" 4726 ;; 4727 *) 4728 DUMPBIN=: 4729 ;; 4730 esac 4731 fi 4732 4733 if test "$DUMPBIN" != ":"; then 4734 NM="$DUMPBIN" 4735 fi 4736fi 4737test -z "$NM" && NM=nm 4738 4739 4740 4741 4742 4743 4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4745$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4746if ${lt_cv_nm_interface+:} false; then : 4747 $as_echo_n "(cached) " >&6 4748else 4749 lt_cv_nm_interface="BSD nm" 4750 echo "int some_variable = 0;" > conftest.$ac_ext 4751 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4752 (eval "$ac_compile" 2>conftest.err) 4753 cat conftest.err >&5 4754 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4755 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4756 cat conftest.err >&5 4757 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4758 cat conftest.out >&5 4759 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4760 lt_cv_nm_interface="MS dumpbin" 4761 fi 4762 rm -f conftest* 4763fi 4764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4765$as_echo "$lt_cv_nm_interface" >&6; } 4766 4767# find the maximum length of command line arguments 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4769$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4770if ${lt_cv_sys_max_cmd_len+:} false; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 i=0 4774 teststring="ABCD" 4775 4776 case $build_os in 4777 msdosdjgpp*) 4778 # On DJGPP, this test can blow up pretty badly due to problems in libc 4779 # (any single argument exceeding 2000 bytes causes a buffer overrun 4780 # during glob expansion). Even if it were fixed, the result of this 4781 # check would be larger than it should be. 4782 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4783 ;; 4784 4785 gnu*) 4786 # Under GNU Hurd, this test is not required because there is 4787 # no limit to the length of command line arguments. 4788 # Libtool will interpret -1 as no limit whatsoever 4789 lt_cv_sys_max_cmd_len=-1; 4790 ;; 4791 4792 cygwin* | mingw* | cegcc*) 4793 # On Win9x/ME, this test blows up -- it succeeds, but takes 4794 # about 5 minutes as the teststring grows exponentially. 4795 # Worse, since 9x/ME are not pre-emptively multitasking, 4796 # you end up with a "frozen" computer, even though with patience 4797 # the test eventually succeeds (with a max line length of 256k). 4798 # Instead, let's just punt: use the minimum linelength reported by 4799 # all of the supported platforms: 8192 (on NT/2K/XP). 4800 lt_cv_sys_max_cmd_len=8192; 4801 ;; 4802 4803 mint*) 4804 # On MiNT this can take a long time and run out of memory. 4805 lt_cv_sys_max_cmd_len=8192; 4806 ;; 4807 4808 amigaos*) 4809 # On AmigaOS with pdksh, this test takes hours, literally. 4810 # So we just punt and use a minimum line length of 8192. 4811 lt_cv_sys_max_cmd_len=8192; 4812 ;; 4813 4814 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4815 # This has been around since 386BSD, at least. Likely further. 4816 if test -x /sbin/sysctl; then 4817 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4818 elif test -x /usr/sbin/sysctl; then 4819 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4820 else 4821 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4822 fi 4823 # And add a safety zone 4824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4826 ;; 4827 4828 interix*) 4829 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4830 lt_cv_sys_max_cmd_len=196608 4831 ;; 4832 4833 os2*) 4834 # The test takes a long time on OS/2. 4835 lt_cv_sys_max_cmd_len=8192 4836 ;; 4837 4838 osf*) 4839 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4840 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4841 # nice to cause kernel panics so lets avoid the loop below. 4842 # First set a reasonable default. 4843 lt_cv_sys_max_cmd_len=16384 4844 # 4845 if test -x /sbin/sysconfig; then 4846 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4847 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4848 esac 4849 fi 4850 ;; 4851 sco3.2v5*) 4852 lt_cv_sys_max_cmd_len=102400 4853 ;; 4854 sysv5* | sco5v6* | sysv4.2uw2*) 4855 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4856 if test -n "$kargmax"; then 4857 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4858 else 4859 lt_cv_sys_max_cmd_len=32768 4860 fi 4861 ;; 4862 *) 4863 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4864 if test -n "$lt_cv_sys_max_cmd_len"; then 4865 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4867 else 4868 # Make teststring a little bigger before we do anything with it. 4869 # a 1K string should be a reasonable start. 4870 for i in 1 2 3 4 5 6 7 8 ; do 4871 teststring=$teststring$teststring 4872 done 4873 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4874 # If test is not a shell built-in, we'll probably end up computing a 4875 # maximum length that is only half of the actual maximum length, but 4876 # we can't tell. 4877 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 4878 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4879 test $i != 17 # 1/2 MB should be enough 4880 do 4881 i=`expr $i + 1` 4882 teststring=$teststring$teststring 4883 done 4884 # Only check the string length outside the loop. 4885 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4886 teststring= 4887 # Add a significant safety factor because C++ compilers can tack on 4888 # massive amounts of additional arguments before passing them to the 4889 # linker. It appears as though 1/2 is a usable value. 4890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4891 fi 4892 ;; 4893 esac 4894 4895fi 4896 4897if test -n $lt_cv_sys_max_cmd_len ; then 4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4899$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4900else 4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4902$as_echo "none" >&6; } 4903fi 4904max_cmd_len=$lt_cv_sys_max_cmd_len 4905 4906 4907 4908 4909 4910 4911: ${CP="cp -f"} 4912: ${MV="mv -f"} 4913: ${RM="rm -f"} 4914 4915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4916$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4917# Try some XSI features 4918xsi_shell=no 4919( _lt_dummy="a/b/c" 4920 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 4921 = c,a/b,b/c, \ 4922 && eval 'test $(( 1 + 1 )) -eq 2 \ 4923 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4924 && xsi_shell=yes 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4926$as_echo "$xsi_shell" >&6; } 4927 4928 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4930$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4931lt_shell_append=no 4932( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4933 >/dev/null 2>&1 \ 4934 && lt_shell_append=yes 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4936$as_echo "$lt_shell_append" >&6; } 4937 4938 4939if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4940 lt_unset=unset 4941else 4942 lt_unset=false 4943fi 4944 4945 4946 4947 4948 4949# test EBCDIC or ASCII 4950case `echo X|tr X '\101'` in 4951 A) # ASCII based system 4952 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4953 lt_SP2NL='tr \040 \012' 4954 lt_NL2SP='tr \015\012 \040\040' 4955 ;; 4956 *) # EBCDIC based system 4957 lt_SP2NL='tr \100 \n' 4958 lt_NL2SP='tr \r\n \100\100' 4959 ;; 4960esac 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4971$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4972if ${lt_cv_to_host_file_cmd+:} false; then : 4973 $as_echo_n "(cached) " >&6 4974else 4975 case $host in 4976 *-*-mingw* ) 4977 case $build in 4978 *-*-mingw* ) # actually msys 4979 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 4980 ;; 4981 *-*-cygwin* ) 4982 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 4983 ;; 4984 * ) # otherwise, assume *nix 4985 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 4986 ;; 4987 esac 4988 ;; 4989 *-*-cygwin* ) 4990 case $build in 4991 *-*-mingw* ) # actually msys 4992 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 4993 ;; 4994 *-*-cygwin* ) 4995 lt_cv_to_host_file_cmd=func_convert_file_noop 4996 ;; 4997 * ) # otherwise, assume *nix 4998 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 4999 ;; 5000 esac 5001 ;; 5002 * ) # unhandled hosts (and "normal" native builds) 5003 lt_cv_to_host_file_cmd=func_convert_file_noop 5004 ;; 5005esac 5006 5007fi 5008 5009to_host_file_cmd=$lt_cv_to_host_file_cmd 5010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5011$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5012 5013 5014 5015 5016 5017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5018$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5019if ${lt_cv_to_tool_file_cmd+:} false; then : 5020 $as_echo_n "(cached) " >&6 5021else 5022 #assume ordinary cross tools, or native build. 5023lt_cv_to_tool_file_cmd=func_convert_file_noop 5024case $host in 5025 *-*-mingw* ) 5026 case $build in 5027 *-*-mingw* ) # actually msys 5028 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5029 ;; 5030 esac 5031 ;; 5032esac 5033 5034fi 5035 5036to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5038$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5039 5040 5041 5042 5043 5044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5045$as_echo_n "checking for $LD option to reload object files... " >&6; } 5046if ${lt_cv_ld_reload_flag+:} false; then : 5047 $as_echo_n "(cached) " >&6 5048else 5049 lt_cv_ld_reload_flag='-r' 5050fi 5051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5052$as_echo "$lt_cv_ld_reload_flag" >&6; } 5053reload_flag=$lt_cv_ld_reload_flag 5054case $reload_flag in 5055"" | " "*) ;; 5056*) reload_flag=" $reload_flag" ;; 5057esac 5058reload_cmds='$LD$reload_flag -o $output$reload_objs' 5059case $host_os in 5060 cygwin* | mingw* | pw32* | cegcc*) 5061 if test "$GCC" != yes; then 5062 reload_cmds=false 5063 fi 5064 ;; 5065 darwin*) 5066 if test "$GCC" = yes; then 5067 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5068 else 5069 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5070 fi 5071 ;; 5072esac 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082if test -n "$ac_tool_prefix"; then 5083 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5084set dummy ${ac_tool_prefix}objdump; ac_word=$2 5085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5086$as_echo_n "checking for $ac_word... " >&6; } 5087if ${ac_cv_prog_OBJDUMP+:} false; then : 5088 $as_echo_n "(cached) " >&6 5089else 5090 if test -n "$OBJDUMP"; then 5091 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5092else 5093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5094for as_dir in $PATH 5095do 5096 IFS=$as_save_IFS 5097 test -z "$as_dir" && as_dir=. 5098 for ac_exec_ext in '' $ac_executable_extensions; do 5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5100 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5102 break 2 5103 fi 5104done 5105 done 5106IFS=$as_save_IFS 5107 5108fi 5109fi 5110OBJDUMP=$ac_cv_prog_OBJDUMP 5111if test -n "$OBJDUMP"; then 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5113$as_echo "$OBJDUMP" >&6; } 5114else 5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5116$as_echo "no" >&6; } 5117fi 5118 5119 5120fi 5121if test -z "$ac_cv_prog_OBJDUMP"; then 5122 ac_ct_OBJDUMP=$OBJDUMP 5123 # Extract the first word of "objdump", so it can be a program name with args. 5124set dummy objdump; ac_word=$2 5125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5126$as_echo_n "checking for $ac_word... " >&6; } 5127if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5128 $as_echo_n "(cached) " >&6 5129else 5130 if test -n "$ac_ct_OBJDUMP"; then 5131 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5132else 5133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5134for as_dir in $PATH 5135do 5136 IFS=$as_save_IFS 5137 test -z "$as_dir" && as_dir=. 5138 for ac_exec_ext in '' $ac_executable_extensions; do 5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5140 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5142 break 2 5143 fi 5144done 5145 done 5146IFS=$as_save_IFS 5147 5148fi 5149fi 5150ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5151if test -n "$ac_ct_OBJDUMP"; then 5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5153$as_echo "$ac_ct_OBJDUMP" >&6; } 5154else 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5156$as_echo "no" >&6; } 5157fi 5158 5159 if test "x$ac_ct_OBJDUMP" = x; then 5160 OBJDUMP="false" 5161 else 5162 case $cross_compiling:$ac_tool_warned in 5163yes:) 5164{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5165$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5166ac_tool_warned=yes ;; 5167esac 5168 OBJDUMP=$ac_ct_OBJDUMP 5169 fi 5170else 5171 OBJDUMP="$ac_cv_prog_OBJDUMP" 5172fi 5173 5174test -z "$OBJDUMP" && OBJDUMP=objdump 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5185$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5186if ${lt_cv_deplibs_check_method+:} false; then : 5187 $as_echo_n "(cached) " >&6 5188else 5189 lt_cv_file_magic_cmd='$MAGIC_CMD' 5190lt_cv_file_magic_test_file= 5191lt_cv_deplibs_check_method='unknown' 5192# Need to set the preceding variable on all platforms that support 5193# interlibrary dependencies. 5194# 'none' -- dependencies not supported. 5195# `unknown' -- same as none, but documents that we really don't know. 5196# 'pass_all' -- all dependencies passed with no checks. 5197# 'test_compile' -- check by making test program. 5198# 'file_magic [[regex]]' -- check by looking for files in library path 5199# which responds to the $file_magic_cmd with a given extended regex. 5200# If you have `file' or equivalent on your system and you're not sure 5201# whether `pass_all' will *always* work, you probably want this one. 5202 5203case $host_os in 5204aix[4-9]*) 5205 lt_cv_deplibs_check_method=pass_all 5206 ;; 5207 5208beos*) 5209 lt_cv_deplibs_check_method=pass_all 5210 ;; 5211 5212bsdi[45]*) 5213 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5214 lt_cv_file_magic_cmd='/usr/bin/file -L' 5215 lt_cv_file_magic_test_file=/shlib/libc.so 5216 ;; 5217 5218cygwin*) 5219 # func_win32_libid is a shell function defined in ltmain.sh 5220 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5221 lt_cv_file_magic_cmd='func_win32_libid' 5222 ;; 5223 5224mingw* | pw32*) 5225 # Base MSYS/MinGW do not provide the 'file' command needed by 5226 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5227 # unless we find 'file', for example because we are cross-compiling. 5228 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5229 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5230 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5231 lt_cv_file_magic_cmd='func_win32_libid' 5232 else 5233 # Keep this pattern in sync with the one in func_win32_libid. 5234 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5235 lt_cv_file_magic_cmd='$OBJDUMP -f' 5236 fi 5237 ;; 5238 5239cegcc*) 5240 # use the weaker test based on 'objdump'. See mingw*. 5241 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5242 lt_cv_file_magic_cmd='$OBJDUMP -f' 5243 ;; 5244 5245darwin* | rhapsody*) 5246 lt_cv_deplibs_check_method=pass_all 5247 ;; 5248 5249freebsd* | dragonfly*) 5250 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5251 case $host_cpu in 5252 i*86 ) 5253 # Not sure whether the presence of OpenBSD here was a mistake. 5254 # Let's accept both of them until this is cleared up. 5255 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5256 lt_cv_file_magic_cmd=/usr/bin/file 5257 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5258 ;; 5259 esac 5260 else 5261 lt_cv_deplibs_check_method=pass_all 5262 fi 5263 ;; 5264 5265gnu*) 5266 lt_cv_deplibs_check_method=pass_all 5267 ;; 5268 5269haiku*) 5270 lt_cv_deplibs_check_method=pass_all 5271 ;; 5272 5273hpux10.20* | hpux11*) 5274 lt_cv_file_magic_cmd=/usr/bin/file 5275 case $host_cpu in 5276 ia64*) 5277 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5278 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5279 ;; 5280 hppa*64*) 5281 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]' 5282 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5283 ;; 5284 *) 5285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5286 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5287 ;; 5288 esac 5289 ;; 5290 5291interix[3-9]*) 5292 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5294 ;; 5295 5296irix5* | irix6* | nonstopux*) 5297 case $LD in 5298 *-32|*"-32 ") libmagic=32-bit;; 5299 *-n32|*"-n32 ") libmagic=N32;; 5300 *-64|*"-64 ") libmagic=64-bit;; 5301 *) libmagic=never-match;; 5302 esac 5303 lt_cv_deplibs_check_method=pass_all 5304 ;; 5305 5306# This must be glibc/ELF. 5307linux* | k*bsd*-gnu | kopensolaris*-gnu) 5308 lt_cv_deplibs_check_method=pass_all 5309 ;; 5310 5311netbsd* | netbsdelf*-gnu) 5312 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5314 else 5315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5316 fi 5317 ;; 5318 5319newos6*) 5320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5321 lt_cv_file_magic_cmd=/usr/bin/file 5322 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5323 ;; 5324 5325*nto* | *qnx*) 5326 lt_cv_deplibs_check_method=pass_all 5327 ;; 5328 5329openbsd*) 5330 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5332 else 5333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5334 fi 5335 ;; 5336 5337osf3* | osf4* | osf5*) 5338 lt_cv_deplibs_check_method=pass_all 5339 ;; 5340 5341rdos*) 5342 lt_cv_deplibs_check_method=pass_all 5343 ;; 5344 5345solaris*) 5346 lt_cv_deplibs_check_method=pass_all 5347 ;; 5348 5349sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5350 lt_cv_deplibs_check_method=pass_all 5351 ;; 5352 5353sysv4 | sysv4.3*) 5354 case $host_vendor in 5355 motorola) 5356 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]' 5357 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5358 ;; 5359 ncr) 5360 lt_cv_deplibs_check_method=pass_all 5361 ;; 5362 sequent) 5363 lt_cv_file_magic_cmd='/bin/file' 5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5365 ;; 5366 sni) 5367 lt_cv_file_magic_cmd='/bin/file' 5368 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5369 lt_cv_file_magic_test_file=/lib/libc.so 5370 ;; 5371 siemens) 5372 lt_cv_deplibs_check_method=pass_all 5373 ;; 5374 pc) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377 esac 5378 ;; 5379 5380tpf*) 5381 lt_cv_deplibs_check_method=pass_all 5382 ;; 5383esac 5384 5385fi 5386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5387$as_echo "$lt_cv_deplibs_check_method" >&6; } 5388 5389file_magic_glob= 5390want_nocaseglob=no 5391if test "$build" = "$host"; then 5392 case $host_os in 5393 mingw* | pw32*) 5394 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5395 want_nocaseglob=yes 5396 else 5397 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5398 fi 5399 ;; 5400 esac 5401fi 5402 5403file_magic_cmd=$lt_cv_file_magic_cmd 5404deplibs_check_method=$lt_cv_deplibs_check_method 5405test -z "$deplibs_check_method" && deplibs_check_method=unknown 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428if test -n "$ac_tool_prefix"; then 5429 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5430set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5432$as_echo_n "checking for $ac_word... " >&6; } 5433if ${ac_cv_prog_DLLTOOL+:} false; then : 5434 $as_echo_n "(cached) " >&6 5435else 5436 if test -n "$DLLTOOL"; then 5437 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5438else 5439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5440for as_dir in $PATH 5441do 5442 IFS=$as_save_IFS 5443 test -z "$as_dir" && as_dir=. 5444 for ac_exec_ext in '' $ac_executable_extensions; do 5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5446 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5448 break 2 5449 fi 5450done 5451 done 5452IFS=$as_save_IFS 5453 5454fi 5455fi 5456DLLTOOL=$ac_cv_prog_DLLTOOL 5457if test -n "$DLLTOOL"; then 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5459$as_echo "$DLLTOOL" >&6; } 5460else 5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5462$as_echo "no" >&6; } 5463fi 5464 5465 5466fi 5467if test -z "$ac_cv_prog_DLLTOOL"; then 5468 ac_ct_DLLTOOL=$DLLTOOL 5469 # Extract the first word of "dlltool", so it can be a program name with args. 5470set dummy dlltool; ac_word=$2 5471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5472$as_echo_n "checking for $ac_word... " >&6; } 5473if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5474 $as_echo_n "(cached) " >&6 5475else 5476 if test -n "$ac_ct_DLLTOOL"; then 5477 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5478else 5479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5480for as_dir in $PATH 5481do 5482 IFS=$as_save_IFS 5483 test -z "$as_dir" && as_dir=. 5484 for ac_exec_ext in '' $ac_executable_extensions; do 5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5486 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5488 break 2 5489 fi 5490done 5491 done 5492IFS=$as_save_IFS 5493 5494fi 5495fi 5496ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5497if test -n "$ac_ct_DLLTOOL"; then 5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5499$as_echo "$ac_ct_DLLTOOL" >&6; } 5500else 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5502$as_echo "no" >&6; } 5503fi 5504 5505 if test "x$ac_ct_DLLTOOL" = x; then 5506 DLLTOOL="false" 5507 else 5508 case $cross_compiling:$ac_tool_warned in 5509yes:) 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5511$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5512ac_tool_warned=yes ;; 5513esac 5514 DLLTOOL=$ac_ct_DLLTOOL 5515 fi 5516else 5517 DLLTOOL="$ac_cv_prog_DLLTOOL" 5518fi 5519 5520test -z "$DLLTOOL" && DLLTOOL=dlltool 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5532$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5533if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5534 $as_echo_n "(cached) " >&6 5535else 5536 lt_cv_sharedlib_from_linklib_cmd='unknown' 5537 5538case $host_os in 5539cygwin* | mingw* | pw32* | cegcc*) 5540 # two different shell functions defined in ltmain.sh 5541 # decide which to use based on capabilities of $DLLTOOL 5542 case `$DLLTOOL --help 2>&1` in 5543 *--identify-strict*) 5544 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5545 ;; 5546 *) 5547 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5548 ;; 5549 esac 5550 ;; 5551*) 5552 # fallback: assume linklib IS sharedlib 5553 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5554 ;; 5555esac 5556 5557fi 5558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5559$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5560sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5561test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5562 5563 5564 5565 5566 5567 5568 5569 5570if test -n "$ac_tool_prefix"; then 5571 for ac_prog in ar 5572 do 5573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5574set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576$as_echo_n "checking for $ac_word... " >&6; } 5577if ${ac_cv_prog_AR+:} false; then : 5578 $as_echo_n "(cached) " >&6 5579else 5580 if test -n "$AR"; then 5581 ac_cv_prog_AR="$AR" # Let the user override the test. 5582else 5583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5584for as_dir in $PATH 5585do 5586 IFS=$as_save_IFS 5587 test -z "$as_dir" && as_dir=. 5588 for ac_exec_ext in '' $ac_executable_extensions; do 5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5590 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5592 break 2 5593 fi 5594done 5595 done 5596IFS=$as_save_IFS 5597 5598fi 5599fi 5600AR=$ac_cv_prog_AR 5601if test -n "$AR"; then 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5603$as_echo "$AR" >&6; } 5604else 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5606$as_echo "no" >&6; } 5607fi 5608 5609 5610 test -n "$AR" && break 5611 done 5612fi 5613if test -z "$AR"; then 5614 ac_ct_AR=$AR 5615 for ac_prog in ar 5616do 5617 # Extract the first word of "$ac_prog", so it can be a program name with args. 5618set dummy $ac_prog; ac_word=$2 5619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5620$as_echo_n "checking for $ac_word... " >&6; } 5621if ${ac_cv_prog_ac_ct_AR+:} false; then : 5622 $as_echo_n "(cached) " >&6 5623else 5624 if test -n "$ac_ct_AR"; then 5625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5626else 5627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5628for as_dir in $PATH 5629do 5630 IFS=$as_save_IFS 5631 test -z "$as_dir" && as_dir=. 5632 for ac_exec_ext in '' $ac_executable_extensions; do 5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5634 ac_cv_prog_ac_ct_AR="$ac_prog" 5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 break 2 5637 fi 5638done 5639 done 5640IFS=$as_save_IFS 5641 5642fi 5643fi 5644ac_ct_AR=$ac_cv_prog_ac_ct_AR 5645if test -n "$ac_ct_AR"; then 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5647$as_echo "$ac_ct_AR" >&6; } 5648else 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5650$as_echo "no" >&6; } 5651fi 5652 5653 5654 test -n "$ac_ct_AR" && break 5655done 5656 5657 if test "x$ac_ct_AR" = x; then 5658 AR="false" 5659 else 5660 case $cross_compiling:$ac_tool_warned in 5661yes:) 5662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5664ac_tool_warned=yes ;; 5665esac 5666 AR=$ac_ct_AR 5667 fi 5668fi 5669 5670: ${AR=ar} 5671: ${AR_FLAGS=cru} 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5684$as_echo_n "checking for archiver @FILE support... " >&6; } 5685if ${lt_cv_ar_at_file+:} false; then : 5686 $as_echo_n "(cached) " >&6 5687else 5688 lt_cv_ar_at_file=no 5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5690/* end confdefs.h. */ 5691 5692int 5693main () 5694{ 5695 5696 ; 5697 return 0; 5698} 5699_ACEOF 5700if ac_fn_c_try_compile "$LINENO"; then : 5701 echo conftest.$ac_objext > conftest.lst 5702 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5703 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5704 (eval $lt_ar_try) 2>&5 5705 ac_status=$? 5706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5707 test $ac_status = 0; } 5708 if test "$ac_status" -eq 0; then 5709 # Ensure the archiver fails upon bogus file names. 5710 rm -f conftest.$ac_objext libconftest.a 5711 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5712 (eval $lt_ar_try) 2>&5 5713 ac_status=$? 5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5715 test $ac_status = 0; } 5716 if test "$ac_status" -ne 0; then 5717 lt_cv_ar_at_file=@ 5718 fi 5719 fi 5720 rm -f conftest.* libconftest.a 5721 5722fi 5723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5724 5725fi 5726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5727$as_echo "$lt_cv_ar_at_file" >&6; } 5728 5729if test "x$lt_cv_ar_at_file" = xno; then 5730 archiver_list_spec= 5731else 5732 archiver_list_spec=$lt_cv_ar_at_file 5733fi 5734 5735 5736 5737 5738 5739 5740 5741if test -n "$ac_tool_prefix"; then 5742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5743set dummy ${ac_tool_prefix}strip; ac_word=$2 5744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5745$as_echo_n "checking for $ac_word... " >&6; } 5746if ${ac_cv_prog_STRIP+:} false; then : 5747 $as_echo_n "(cached) " >&6 5748else 5749 if test -n "$STRIP"; then 5750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5751else 5752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5753for as_dir in $PATH 5754do 5755 IFS=$as_save_IFS 5756 test -z "$as_dir" && as_dir=. 5757 for ac_exec_ext in '' $ac_executable_extensions; do 5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5759 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5761 break 2 5762 fi 5763done 5764 done 5765IFS=$as_save_IFS 5766 5767fi 5768fi 5769STRIP=$ac_cv_prog_STRIP 5770if test -n "$STRIP"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5772$as_echo "$STRIP" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775$as_echo "no" >&6; } 5776fi 5777 5778 5779fi 5780if test -z "$ac_cv_prog_STRIP"; then 5781 ac_ct_STRIP=$STRIP 5782 # Extract the first word of "strip", so it can be a program name with args. 5783set dummy strip; ac_word=$2 5784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5785$as_echo_n "checking for $ac_word... " >&6; } 5786if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5787 $as_echo_n "(cached) " >&6 5788else 5789 if test -n "$ac_ct_STRIP"; then 5790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5791else 5792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5793for as_dir in $PATH 5794do 5795 IFS=$as_save_IFS 5796 test -z "$as_dir" && as_dir=. 5797 for ac_exec_ext in '' $ac_executable_extensions; do 5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5799 ac_cv_prog_ac_ct_STRIP="strip" 5800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5801 break 2 5802 fi 5803done 5804 done 5805IFS=$as_save_IFS 5806 5807fi 5808fi 5809ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5810if test -n "$ac_ct_STRIP"; then 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5812$as_echo "$ac_ct_STRIP" >&6; } 5813else 5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5815$as_echo "no" >&6; } 5816fi 5817 5818 if test "x$ac_ct_STRIP" = x; then 5819 STRIP=":" 5820 else 5821 case $cross_compiling:$ac_tool_warned in 5822yes:) 5823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5825ac_tool_warned=yes ;; 5826esac 5827 STRIP=$ac_ct_STRIP 5828 fi 5829else 5830 STRIP="$ac_cv_prog_STRIP" 5831fi 5832 5833test -z "$STRIP" && STRIP=: 5834 5835 5836 5837 5838 5839 5840if test -n "$ac_tool_prefix"; then 5841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5842set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5844$as_echo_n "checking for $ac_word... " >&6; } 5845if ${ac_cv_prog_RANLIB+:} false; then : 5846 $as_echo_n "(cached) " >&6 5847else 5848 if test -n "$RANLIB"; then 5849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5850else 5851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5852for as_dir in $PATH 5853do 5854 IFS=$as_save_IFS 5855 test -z "$as_dir" && as_dir=. 5856 for ac_exec_ext in '' $ac_executable_extensions; do 5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5858 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5860 break 2 5861 fi 5862done 5863 done 5864IFS=$as_save_IFS 5865 5866fi 5867fi 5868RANLIB=$ac_cv_prog_RANLIB 5869if test -n "$RANLIB"; then 5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5871$as_echo "$RANLIB" >&6; } 5872else 5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5874$as_echo "no" >&6; } 5875fi 5876 5877 5878fi 5879if test -z "$ac_cv_prog_RANLIB"; then 5880 ac_ct_RANLIB=$RANLIB 5881 # Extract the first word of "ranlib", so it can be a program name with args. 5882set dummy ranlib; ac_word=$2 5883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5884$as_echo_n "checking for $ac_word... " >&6; } 5885if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5886 $as_echo_n "(cached) " >&6 5887else 5888 if test -n "$ac_ct_RANLIB"; then 5889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5890else 5891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5892for as_dir in $PATH 5893do 5894 IFS=$as_save_IFS 5895 test -z "$as_dir" && as_dir=. 5896 for ac_exec_ext in '' $ac_executable_extensions; do 5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5898 ac_cv_prog_ac_ct_RANLIB="ranlib" 5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5900 break 2 5901 fi 5902done 5903 done 5904IFS=$as_save_IFS 5905 5906fi 5907fi 5908ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5909if test -n "$ac_ct_RANLIB"; then 5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5911$as_echo "$ac_ct_RANLIB" >&6; } 5912else 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5914$as_echo "no" >&6; } 5915fi 5916 5917 if test "x$ac_ct_RANLIB" = x; then 5918 RANLIB=":" 5919 else 5920 case $cross_compiling:$ac_tool_warned in 5921yes:) 5922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5924ac_tool_warned=yes ;; 5925esac 5926 RANLIB=$ac_ct_RANLIB 5927 fi 5928else 5929 RANLIB="$ac_cv_prog_RANLIB" 5930fi 5931 5932test -z "$RANLIB" && RANLIB=: 5933 5934 5935 5936 5937 5938 5939# Determine commands to create old-style static archives. 5940old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5941old_postinstall_cmds='chmod 644 $oldlib' 5942old_postuninstall_cmds= 5943 5944if test -n "$RANLIB"; then 5945 case $host_os in 5946 openbsd*) 5947 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 5948 ;; 5949 *) 5950 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 5951 ;; 5952 esac 5953 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 5954fi 5955 5956case $host_os in 5957 darwin*) 5958 lock_old_archive_extraction=yes ;; 5959 *) 5960 lock_old_archive_extraction=no ;; 5961esac 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001# If no C compiler was specified, use CC. 6002LTCC=${LTCC-"$CC"} 6003 6004# If no C compiler flags were specified, use CFLAGS. 6005LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6006 6007# Allow CC to be a program name with arguments. 6008compiler=$CC 6009 6010 6011# Check for command to grab the raw symbol name followed by C symbol from nm. 6012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6013$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6014if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6015 $as_echo_n "(cached) " >&6 6016else 6017 6018# These are sane defaults that work on at least a few old systems. 6019# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6020 6021# Character class describing NM global symbol codes. 6022symcode='[BCDEGRST]' 6023 6024# Regexp to match symbols that can be accessed directly from C. 6025sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6026 6027# Define system-specific variables. 6028case $host_os in 6029aix*) 6030 symcode='[BCDT]' 6031 ;; 6032cygwin* | mingw* | pw32* | cegcc*) 6033 symcode='[ABCDGISTW]' 6034 ;; 6035hpux*) 6036 if test "$host_cpu" = ia64; then 6037 symcode='[ABCDEGRST]' 6038 fi 6039 ;; 6040irix* | nonstopux*) 6041 symcode='[BCDEGRST]' 6042 ;; 6043osf*) 6044 symcode='[BCDEGQRST]' 6045 ;; 6046solaris*) 6047 symcode='[BDRT]' 6048 ;; 6049sco3.2v5*) 6050 symcode='[DT]' 6051 ;; 6052sysv4.2uw2*) 6053 symcode='[DT]' 6054 ;; 6055sysv5* | sco5v6* | unixware* | OpenUNIX*) 6056 symcode='[ABDT]' 6057 ;; 6058sysv4) 6059 symcode='[DFNSTU]' 6060 ;; 6061esac 6062 6063# If we're using GNU nm, then use its standard symbol codes. 6064case `$NM -V 2>&1` in 6065*GNU* | *'with BFD'*) 6066 symcode='[ABCDGIRSTW]' ;; 6067esac 6068 6069# Transform an extracted symbol line into a proper C declaration. 6070# Some systems (esp. on ia64) link data and code symbols differently, 6071# so use this general approach. 6072lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6073 6074# Transform an extracted symbol line into symbol name and symbol address 6075lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6076lt_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'" 6077 6078# Handle CRLF in mingw tool chain 6079opt_cr= 6080case $build_os in 6081mingw*) 6082 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6083 ;; 6084esac 6085 6086# Try without a prefix underscore, then with it. 6087for ac_symprfx in "" "_"; do 6088 6089 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6090 symxfrm="\\1 $ac_symprfx\\2 \\2" 6091 6092 # Write the raw and C identifiers. 6093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6094 # Fake it for dumpbin and say T for any non-static function 6095 # and D for any global variable. 6096 # Also find C++ and __fastcall symbols from MSVC++, 6097 # which start with @ or ?. 6098 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6099" {last_section=section; section=\$ 3};"\ 6100" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6101" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6102" \$ 0!~/External *\|/{next};"\ 6103" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6104" {if(hide[section]) next};"\ 6105" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6106" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6107" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6108" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6109" ' prfx=^$ac_symprfx" 6110 else 6111 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6112 fi 6113 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6114 6115 # Check to see that the pipe works correctly. 6116 pipe_works=no 6117 6118 rm -f conftest* 6119 cat > conftest.$ac_ext <<_LT_EOF 6120#ifdef __cplusplus 6121extern "C" { 6122#endif 6123char nm_test_var; 6124void nm_test_func(void); 6125void nm_test_func(void){} 6126#ifdef __cplusplus 6127} 6128#endif 6129int main(){nm_test_var='a';nm_test_func();return(0);} 6130_LT_EOF 6131 6132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6133 (eval $ac_compile) 2>&5 6134 ac_status=$? 6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6136 test $ac_status = 0; }; then 6137 # Now try to grab the symbols. 6138 nlist=conftest.nm 6139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6140 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6141 ac_status=$? 6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6143 test $ac_status = 0; } && test -s "$nlist"; then 6144 # Try sorting and uniquifying the output. 6145 if sort "$nlist" | uniq > "$nlist"T; then 6146 mv -f "$nlist"T "$nlist" 6147 else 6148 rm -f "$nlist"T 6149 fi 6150 6151 # Make sure that we snagged all the symbols we need. 6152 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6153 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6154 cat <<_LT_EOF > conftest.$ac_ext 6155/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6156#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6157/* DATA imports from DLLs on WIN32 con't be const, because runtime 6158 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6159# define LT@&t@_DLSYM_CONST 6160#elif defined(__osf__) 6161/* This system does not cope well with relocations in const data. */ 6162# define LT@&t@_DLSYM_CONST 6163#else 6164# define LT@&t@_DLSYM_CONST const 6165#endif 6166 6167#ifdef __cplusplus 6168extern "C" { 6169#endif 6170 6171_LT_EOF 6172 # Now generate the symbol file. 6173 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6174 6175 cat <<_LT_EOF >> conftest.$ac_ext 6176 6177/* The mapping between symbol names and symbols. */ 6178LT@&t@_DLSYM_CONST struct { 6179 const char *name; 6180 void *address; 6181} 6182lt__PROGRAM__LTX_preloaded_symbols[] = 6183{ 6184 { "@PROGRAM@", (void *) 0 }, 6185_LT_EOF 6186 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6187 cat <<\_LT_EOF >> conftest.$ac_ext 6188 {0, (void *) 0} 6189}; 6190 6191/* This works around a problem in FreeBSD linker */ 6192#ifdef FREEBSD_WORKAROUND 6193static const void *lt_preloaded_setup() { 6194 return lt__PROGRAM__LTX_preloaded_symbols; 6195} 6196#endif 6197 6198#ifdef __cplusplus 6199} 6200#endif 6201_LT_EOF 6202 # Now try linking the two files. 6203 mv conftest.$ac_objext conftstm.$ac_objext 6204 lt_globsym_save_LIBS=$LIBS 6205 lt_globsym_save_CFLAGS=$CFLAGS 6206 LIBS="conftstm.$ac_objext" 6207 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6209 (eval $ac_link) 2>&5 6210 ac_status=$? 6211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6212 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6213 pipe_works=yes 6214 fi 6215 LIBS=$lt_globsym_save_LIBS 6216 CFLAGS=$lt_globsym_save_CFLAGS 6217 else 6218 echo "cannot find nm_test_func in $nlist" >&5 6219 fi 6220 else 6221 echo "cannot find nm_test_var in $nlist" >&5 6222 fi 6223 else 6224 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6225 fi 6226 else 6227 echo "$progname: failed program was:" >&5 6228 cat conftest.$ac_ext >&5 6229 fi 6230 rm -rf conftest* conftst* 6231 6232 # Do not use the global_symbol_pipe unless it works. 6233 if test "$pipe_works" = yes; then 6234 break 6235 else 6236 lt_cv_sys_global_symbol_pipe= 6237 fi 6238done 6239 6240fi 6241 6242if test -z "$lt_cv_sys_global_symbol_pipe"; then 6243 lt_cv_sys_global_symbol_to_cdecl= 6244fi 6245if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6247$as_echo "failed" >&6; } 6248else 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6250$as_echo "ok" >&6; } 6251fi 6252 6253# Response file support. 6254if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6255 nm_file_list_spec='@' 6256elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6257 nm_file_list_spec='@' 6258fi 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6287$as_echo_n "checking for sysroot... " >&6; } 6288 6289@%:@ Check whether --with-sysroot was given. 6290if test "${with_sysroot+set}" = set; then : 6291 withval=$with_sysroot; 6292else 6293 with_sysroot=no 6294fi 6295 6296 6297lt_sysroot= 6298case ${with_sysroot} in #( 6299 yes) 6300 if test "$GCC" = yes; then 6301 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6302 fi 6303 ;; #( 6304 /*) 6305 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6306 ;; #( 6307 no|'') 6308 ;; #( 6309 *) 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6311$as_echo "${with_sysroot}" >&6; } 6312 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6313 ;; 6314esac 6315 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6317$as_echo "${lt_sysroot:-no}" >&6; } 6318 6319 6320 6321 6322 6323@%:@ Check whether --enable-libtool-lock was given. 6324if test "${enable_libtool_lock+set}" = set; then : 6325 enableval=$enable_libtool_lock; 6326fi 6327 6328test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6329 6330# Some flags need to be propagated to the compiler or linker for good 6331# libtool support. 6332case $host in 6333ia64-*-hpux*) 6334 # Find out which ABI we are using. 6335 echo 'int i;' > conftest.$ac_ext 6336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6337 (eval $ac_compile) 2>&5 6338 ac_status=$? 6339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6340 test $ac_status = 0; }; then 6341 case `/usr/bin/file conftest.$ac_objext` in 6342 *ELF-32*) 6343 HPUX_IA64_MODE="32" 6344 ;; 6345 *ELF-64*) 6346 HPUX_IA64_MODE="64" 6347 ;; 6348 esac 6349 fi 6350 rm -rf conftest* 6351 ;; 6352*-*-irix6*) 6353 # Find out which ABI we are using. 6354 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6356 (eval $ac_compile) 2>&5 6357 ac_status=$? 6358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6359 test $ac_status = 0; }; then 6360 if test "$lt_cv_prog_gnu_ld" = yes; then 6361 case `/usr/bin/file conftest.$ac_objext` in 6362 *32-bit*) 6363 LD="${LD-ld} -melf32bsmip" 6364 ;; 6365 *N32*) 6366 LD="${LD-ld} -melf32bmipn32" 6367 ;; 6368 *64-bit*) 6369 LD="${LD-ld} -melf64bmip" 6370 ;; 6371 esac 6372 else 6373 case `/usr/bin/file conftest.$ac_objext` in 6374 *32-bit*) 6375 LD="${LD-ld} -32" 6376 ;; 6377 *N32*) 6378 LD="${LD-ld} -n32" 6379 ;; 6380 *64-bit*) 6381 LD="${LD-ld} -64" 6382 ;; 6383 esac 6384 fi 6385 fi 6386 rm -rf conftest* 6387 ;; 6388 6389x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6390s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6391 # Find out which ABI we are using. 6392 echo 'int i;' > conftest.$ac_ext 6393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6394 (eval $ac_compile) 2>&5 6395 ac_status=$? 6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6397 test $ac_status = 0; }; then 6398 case `/usr/bin/file conftest.o` in 6399 *32-bit*) 6400 case $host in 6401 x86_64-*kfreebsd*-gnu) 6402 LD="${LD-ld} -m elf_i386_fbsd" 6403 ;; 6404 x86_64-*linux*) 6405 LD="${LD-ld} -m elf_i386" 6406 ;; 6407 ppc64-*linux*|powerpc64-*linux*) 6408 LD="${LD-ld} -m elf32ppclinux" 6409 ;; 6410 s390x-*linux*) 6411 LD="${LD-ld} -m elf_s390" 6412 ;; 6413 sparc64-*linux*) 6414 LD="${LD-ld} -m elf32_sparc" 6415 ;; 6416 esac 6417 ;; 6418 *64-bit*) 6419 case $host in 6420 x86_64-*kfreebsd*-gnu) 6421 LD="${LD-ld} -m elf_x86_64_fbsd" 6422 ;; 6423 x86_64-*linux*) 6424 LD="${LD-ld} -m elf_x86_64" 6425 ;; 6426 ppc*-*linux*|powerpc*-*linux*) 6427 LD="${LD-ld} -m elf64ppc" 6428 ;; 6429 s390*-*linux*|s390*-*tpf*) 6430 LD="${LD-ld} -m elf64_s390" 6431 ;; 6432 sparc*-*linux*) 6433 LD="${LD-ld} -m elf64_sparc" 6434 ;; 6435 esac 6436 ;; 6437 esac 6438 fi 6439 rm -rf conftest* 6440 ;; 6441 6442*-*-sco3.2v5*) 6443 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6444 SAVE_CFLAGS="$CFLAGS" 6445 CFLAGS="$CFLAGS -belf" 6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6447$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6448if ${lt_cv_cc_needs_belf+:} false; then : 6449 $as_echo_n "(cached) " >&6 6450else 6451 ac_ext=c 6452ac_cpp='$CPP $CPPFLAGS' 6453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6455ac_compiler_gnu=$ac_cv_c_compiler_gnu 6456 6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6458/* end confdefs.h. */ 6459 6460int 6461main () 6462{ 6463 6464 ; 6465 return 0; 6466} 6467_ACEOF 6468if ac_fn_c_try_link "$LINENO"; then : 6469 lt_cv_cc_needs_belf=yes 6470else 6471 lt_cv_cc_needs_belf=no 6472fi 6473rm -f core conftest.err conftest.$ac_objext \ 6474 conftest$ac_exeext conftest.$ac_ext 6475 ac_ext=c 6476ac_cpp='$CPP $CPPFLAGS' 6477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6479ac_compiler_gnu=$ac_cv_c_compiler_gnu 6480 6481fi 6482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6483$as_echo "$lt_cv_cc_needs_belf" >&6; } 6484 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6485 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6486 CFLAGS="$SAVE_CFLAGS" 6487 fi 6488 ;; 6489*-*solaris*) 6490 # Find out which ABI we are using. 6491 echo 'int i;' > conftest.$ac_ext 6492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6493 (eval $ac_compile) 2>&5 6494 ac_status=$? 6495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6496 test $ac_status = 0; }; then 6497 case `/usr/bin/file conftest.o` in 6498 *64-bit*) 6499 case $lt_cv_prog_gnu_ld in 6500 yes*) 6501 case $host in 6502 i?86-*-solaris*) 6503 LD="${LD-ld} -m elf_x86_64" 6504 ;; 6505 sparc*-*-solaris*) 6506 LD="${LD-ld} -m elf64_sparc" 6507 ;; 6508 esac 6509 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6510 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6511 LD="${LD-ld}_sol2" 6512 fi 6513 ;; 6514 *) 6515 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6516 LD="${LD-ld} -64" 6517 fi 6518 ;; 6519 esac 6520 ;; 6521 esac 6522 fi 6523 rm -rf conftest* 6524 ;; 6525esac 6526 6527need_locks="$enable_libtool_lock" 6528 6529if test -n "$ac_tool_prefix"; then 6530 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6531set dummy ${ac_tool_prefix}mt; ac_word=$2 6532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6533$as_echo_n "checking for $ac_word... " >&6; } 6534if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6535 $as_echo_n "(cached) " >&6 6536else 6537 if test -n "$MANIFEST_TOOL"; then 6538 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6539else 6540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6541for as_dir in $PATH 6542do 6543 IFS=$as_save_IFS 6544 test -z "$as_dir" && as_dir=. 6545 for ac_exec_ext in '' $ac_executable_extensions; do 6546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6547 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6549 break 2 6550 fi 6551done 6552 done 6553IFS=$as_save_IFS 6554 6555fi 6556fi 6557MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6558if test -n "$MANIFEST_TOOL"; then 6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6560$as_echo "$MANIFEST_TOOL" >&6; } 6561else 6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6563$as_echo "no" >&6; } 6564fi 6565 6566 6567fi 6568if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6569 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6570 # Extract the first word of "mt", so it can be a program name with args. 6571set dummy mt; ac_word=$2 6572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6573$as_echo_n "checking for $ac_word... " >&6; } 6574if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6575 $as_echo_n "(cached) " >&6 6576else 6577 if test -n "$ac_ct_MANIFEST_TOOL"; then 6578 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6579else 6580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6581for as_dir in $PATH 6582do 6583 IFS=$as_save_IFS 6584 test -z "$as_dir" && as_dir=. 6585 for ac_exec_ext in '' $ac_executable_extensions; do 6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6587 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6589 break 2 6590 fi 6591done 6592 done 6593IFS=$as_save_IFS 6594 6595fi 6596fi 6597ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6598if test -n "$ac_ct_MANIFEST_TOOL"; then 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6600$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6601else 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6603$as_echo "no" >&6; } 6604fi 6605 6606 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6607 MANIFEST_TOOL=":" 6608 else 6609 case $cross_compiling:$ac_tool_warned in 6610yes:) 6611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6613ac_tool_warned=yes ;; 6614esac 6615 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6616 fi 6617else 6618 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6619fi 6620 6621test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6623$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6624if ${lt_cv_path_mainfest_tool+:} false; then : 6625 $as_echo_n "(cached) " >&6 6626else 6627 lt_cv_path_mainfest_tool=no 6628 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6629 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6630 cat conftest.err >&5 6631 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6632 lt_cv_path_mainfest_tool=yes 6633 fi 6634 rm -f conftest* 6635fi 6636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6637$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6638if test "x$lt_cv_path_mainfest_tool" != xyes; then 6639 MANIFEST_TOOL=: 6640fi 6641 6642 6643 6644 6645 6646 6647 case $host_os in 6648 rhapsody* | darwin*) 6649 if test -n "$ac_tool_prefix"; then 6650 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6651set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6653$as_echo_n "checking for $ac_word... " >&6; } 6654if ${ac_cv_prog_DSYMUTIL+:} false; then : 6655 $as_echo_n "(cached) " >&6 6656else 6657 if test -n "$DSYMUTIL"; then 6658 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6659else 6660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6661for as_dir in $PATH 6662do 6663 IFS=$as_save_IFS 6664 test -z "$as_dir" && as_dir=. 6665 for ac_exec_ext in '' $ac_executable_extensions; do 6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6667 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6669 break 2 6670 fi 6671done 6672 done 6673IFS=$as_save_IFS 6674 6675fi 6676fi 6677DSYMUTIL=$ac_cv_prog_DSYMUTIL 6678if test -n "$DSYMUTIL"; then 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6680$as_echo "$DSYMUTIL" >&6; } 6681else 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6683$as_echo "no" >&6; } 6684fi 6685 6686 6687fi 6688if test -z "$ac_cv_prog_DSYMUTIL"; then 6689 ac_ct_DSYMUTIL=$DSYMUTIL 6690 # Extract the first word of "dsymutil", so it can be a program name with args. 6691set dummy dsymutil; ac_word=$2 6692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6693$as_echo_n "checking for $ac_word... " >&6; } 6694if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6695 $as_echo_n "(cached) " >&6 6696else 6697 if test -n "$ac_ct_DSYMUTIL"; then 6698 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6699else 6700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6701for as_dir in $PATH 6702do 6703 IFS=$as_save_IFS 6704 test -z "$as_dir" && as_dir=. 6705 for ac_exec_ext in '' $ac_executable_extensions; do 6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6707 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6709 break 2 6710 fi 6711done 6712 done 6713IFS=$as_save_IFS 6714 6715fi 6716fi 6717ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6718if test -n "$ac_ct_DSYMUTIL"; then 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6720$as_echo "$ac_ct_DSYMUTIL" >&6; } 6721else 6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6723$as_echo "no" >&6; } 6724fi 6725 6726 if test "x$ac_ct_DSYMUTIL" = x; then 6727 DSYMUTIL=":" 6728 else 6729 case $cross_compiling:$ac_tool_warned in 6730yes:) 6731{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6732$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6733ac_tool_warned=yes ;; 6734esac 6735 DSYMUTIL=$ac_ct_DSYMUTIL 6736 fi 6737else 6738 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6739fi 6740 6741 if test -n "$ac_tool_prefix"; then 6742 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6743set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6745$as_echo_n "checking for $ac_word... " >&6; } 6746if ${ac_cv_prog_NMEDIT+:} false; then : 6747 $as_echo_n "(cached) " >&6 6748else 6749 if test -n "$NMEDIT"; then 6750 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6751else 6752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6753for as_dir in $PATH 6754do 6755 IFS=$as_save_IFS 6756 test -z "$as_dir" && as_dir=. 6757 for ac_exec_ext in '' $ac_executable_extensions; do 6758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6759 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6761 break 2 6762 fi 6763done 6764 done 6765IFS=$as_save_IFS 6766 6767fi 6768fi 6769NMEDIT=$ac_cv_prog_NMEDIT 6770if test -n "$NMEDIT"; then 6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6772$as_echo "$NMEDIT" >&6; } 6773else 6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6775$as_echo "no" >&6; } 6776fi 6777 6778 6779fi 6780if test -z "$ac_cv_prog_NMEDIT"; then 6781 ac_ct_NMEDIT=$NMEDIT 6782 # Extract the first word of "nmedit", so it can be a program name with args. 6783set dummy nmedit; ac_word=$2 6784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6785$as_echo_n "checking for $ac_word... " >&6; } 6786if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6787 $as_echo_n "(cached) " >&6 6788else 6789 if test -n "$ac_ct_NMEDIT"; then 6790 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6791else 6792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6793for as_dir in $PATH 6794do 6795 IFS=$as_save_IFS 6796 test -z "$as_dir" && as_dir=. 6797 for ac_exec_ext in '' $ac_executable_extensions; do 6798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6799 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6801 break 2 6802 fi 6803done 6804 done 6805IFS=$as_save_IFS 6806 6807fi 6808fi 6809ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6810if test -n "$ac_ct_NMEDIT"; then 6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6812$as_echo "$ac_ct_NMEDIT" >&6; } 6813else 6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6815$as_echo "no" >&6; } 6816fi 6817 6818 if test "x$ac_ct_NMEDIT" = x; then 6819 NMEDIT=":" 6820 else 6821 case $cross_compiling:$ac_tool_warned in 6822yes:) 6823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6825ac_tool_warned=yes ;; 6826esac 6827 NMEDIT=$ac_ct_NMEDIT 6828 fi 6829else 6830 NMEDIT="$ac_cv_prog_NMEDIT" 6831fi 6832 6833 if test -n "$ac_tool_prefix"; then 6834 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6835set dummy ${ac_tool_prefix}lipo; ac_word=$2 6836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6837$as_echo_n "checking for $ac_word... " >&6; } 6838if ${ac_cv_prog_LIPO+:} false; then : 6839 $as_echo_n "(cached) " >&6 6840else 6841 if test -n "$LIPO"; then 6842 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6843else 6844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6845for as_dir in $PATH 6846do 6847 IFS=$as_save_IFS 6848 test -z "$as_dir" && as_dir=. 6849 for ac_exec_ext in '' $ac_executable_extensions; do 6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6851 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6853 break 2 6854 fi 6855done 6856 done 6857IFS=$as_save_IFS 6858 6859fi 6860fi 6861LIPO=$ac_cv_prog_LIPO 6862if test -n "$LIPO"; then 6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6864$as_echo "$LIPO" >&6; } 6865else 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6867$as_echo "no" >&6; } 6868fi 6869 6870 6871fi 6872if test -z "$ac_cv_prog_LIPO"; then 6873 ac_ct_LIPO=$LIPO 6874 # Extract the first word of "lipo", so it can be a program name with args. 6875set dummy lipo; ac_word=$2 6876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6877$as_echo_n "checking for $ac_word... " >&6; } 6878if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6879 $as_echo_n "(cached) " >&6 6880else 6881 if test -n "$ac_ct_LIPO"; then 6882 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6883else 6884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6885for as_dir in $PATH 6886do 6887 IFS=$as_save_IFS 6888 test -z "$as_dir" && as_dir=. 6889 for ac_exec_ext in '' $ac_executable_extensions; do 6890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6891 ac_cv_prog_ac_ct_LIPO="lipo" 6892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6893 break 2 6894 fi 6895done 6896 done 6897IFS=$as_save_IFS 6898 6899fi 6900fi 6901ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6902if test -n "$ac_ct_LIPO"; then 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6904$as_echo "$ac_ct_LIPO" >&6; } 6905else 6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6907$as_echo "no" >&6; } 6908fi 6909 6910 if test "x$ac_ct_LIPO" = x; then 6911 LIPO=":" 6912 else 6913 case $cross_compiling:$ac_tool_warned in 6914yes:) 6915{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6916$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6917ac_tool_warned=yes ;; 6918esac 6919 LIPO=$ac_ct_LIPO 6920 fi 6921else 6922 LIPO="$ac_cv_prog_LIPO" 6923fi 6924 6925 if test -n "$ac_tool_prefix"; then 6926 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6927set dummy ${ac_tool_prefix}otool; ac_word=$2 6928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6929$as_echo_n "checking for $ac_word... " >&6; } 6930if ${ac_cv_prog_OTOOL+:} false; then : 6931 $as_echo_n "(cached) " >&6 6932else 6933 if test -n "$OTOOL"; then 6934 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6935else 6936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6937for as_dir in $PATH 6938do 6939 IFS=$as_save_IFS 6940 test -z "$as_dir" && as_dir=. 6941 for ac_exec_ext in '' $ac_executable_extensions; do 6942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6943 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6945 break 2 6946 fi 6947done 6948 done 6949IFS=$as_save_IFS 6950 6951fi 6952fi 6953OTOOL=$ac_cv_prog_OTOOL 6954if test -n "$OTOOL"; then 6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6956$as_echo "$OTOOL" >&6; } 6957else 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6959$as_echo "no" >&6; } 6960fi 6961 6962 6963fi 6964if test -z "$ac_cv_prog_OTOOL"; then 6965 ac_ct_OTOOL=$OTOOL 6966 # Extract the first word of "otool", so it can be a program name with args. 6967set dummy otool; ac_word=$2 6968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6969$as_echo_n "checking for $ac_word... " >&6; } 6970if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6971 $as_echo_n "(cached) " >&6 6972else 6973 if test -n "$ac_ct_OTOOL"; then 6974 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6975else 6976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6977for as_dir in $PATH 6978do 6979 IFS=$as_save_IFS 6980 test -z "$as_dir" && as_dir=. 6981 for ac_exec_ext in '' $ac_executable_extensions; do 6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6983 ac_cv_prog_ac_ct_OTOOL="otool" 6984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6985 break 2 6986 fi 6987done 6988 done 6989IFS=$as_save_IFS 6990 6991fi 6992fi 6993ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6994if test -n "$ac_ct_OTOOL"; then 6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6996$as_echo "$ac_ct_OTOOL" >&6; } 6997else 6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6999$as_echo "no" >&6; } 7000fi 7001 7002 if test "x$ac_ct_OTOOL" = x; then 7003 OTOOL=":" 7004 else 7005 case $cross_compiling:$ac_tool_warned in 7006yes:) 7007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7009ac_tool_warned=yes ;; 7010esac 7011 OTOOL=$ac_ct_OTOOL 7012 fi 7013else 7014 OTOOL="$ac_cv_prog_OTOOL" 7015fi 7016 7017 if test -n "$ac_tool_prefix"; then 7018 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7019set dummy ${ac_tool_prefix}otool64; ac_word=$2 7020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7021$as_echo_n "checking for $ac_word... " >&6; } 7022if ${ac_cv_prog_OTOOL64+:} false; then : 7023 $as_echo_n "(cached) " >&6 7024else 7025 if test -n "$OTOOL64"; then 7026 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7027else 7028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7029for as_dir in $PATH 7030do 7031 IFS=$as_save_IFS 7032 test -z "$as_dir" && as_dir=. 7033 for ac_exec_ext in '' $ac_executable_extensions; do 7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7035 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7037 break 2 7038 fi 7039done 7040 done 7041IFS=$as_save_IFS 7042 7043fi 7044fi 7045OTOOL64=$ac_cv_prog_OTOOL64 7046if test -n "$OTOOL64"; then 7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7048$as_echo "$OTOOL64" >&6; } 7049else 7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7051$as_echo "no" >&6; } 7052fi 7053 7054 7055fi 7056if test -z "$ac_cv_prog_OTOOL64"; then 7057 ac_ct_OTOOL64=$OTOOL64 7058 # Extract the first word of "otool64", so it can be a program name with args. 7059set dummy otool64; ac_word=$2 7060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7061$as_echo_n "checking for $ac_word... " >&6; } 7062if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7063 $as_echo_n "(cached) " >&6 7064else 7065 if test -n "$ac_ct_OTOOL64"; then 7066 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7067else 7068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7069for as_dir in $PATH 7070do 7071 IFS=$as_save_IFS 7072 test -z "$as_dir" && as_dir=. 7073 for ac_exec_ext in '' $ac_executable_extensions; do 7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7075 ac_cv_prog_ac_ct_OTOOL64="otool64" 7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7077 break 2 7078 fi 7079done 7080 done 7081IFS=$as_save_IFS 7082 7083fi 7084fi 7085ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7086if test -n "$ac_ct_OTOOL64"; then 7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7088$as_echo "$ac_ct_OTOOL64" >&6; } 7089else 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7091$as_echo "no" >&6; } 7092fi 7093 7094 if test "x$ac_ct_OTOOL64" = x; then 7095 OTOOL64=":" 7096 else 7097 case $cross_compiling:$ac_tool_warned in 7098yes:) 7099{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7100$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7101ac_tool_warned=yes ;; 7102esac 7103 OTOOL64=$ac_ct_OTOOL64 7104 fi 7105else 7106 OTOOL64="$ac_cv_prog_OTOOL64" 7107fi 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7136$as_echo_n "checking for -single_module linker flag... " >&6; } 7137if ${lt_cv_apple_cc_single_mod+:} false; then : 7138 $as_echo_n "(cached) " >&6 7139else 7140 lt_cv_apple_cc_single_mod=no 7141 if test -z "${LT_MULTI_MODULE}"; then 7142 # By default we will add the -single_module flag. You can override 7143 # by either setting the environment variable LT_MULTI_MODULE 7144 # non-empty at configure time, or by adding -multi_module to the 7145 # link flags. 7146 rm -rf libconftest.dylib* 7147 echo "int foo(void){return 1;}" > conftest.c 7148 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7149-dynamiclib -Wl,-single_module conftest.c" >&5 7150 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7151 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7152 _lt_result=$? 7153 # If there is a non-empty error log, and "single_module" 7154 # appears in it, assume the flag caused a linker warning 7155 if test -s conftest.err && $GREP single_module conftest.err; then 7156 cat conftest.err >&5 7157 # Otherwise, if the output was created with a 0 exit code from 7158 # the compiler, it worked. 7159 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7160 lt_cv_apple_cc_single_mod=yes 7161 else 7162 cat conftest.err >&5 7163 fi 7164 rm -rf libconftest.dylib* 7165 rm -f conftest.* 7166 fi 7167fi 7168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7169$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7170 7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7172$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7173if ${lt_cv_ld_exported_symbols_list+:} false; then : 7174 $as_echo_n "(cached) " >&6 7175else 7176 lt_cv_ld_exported_symbols_list=no 7177 save_LDFLAGS=$LDFLAGS 7178 echo "_main" > conftest.sym 7179 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7181/* end confdefs.h. */ 7182 7183int 7184main () 7185{ 7186 7187 ; 7188 return 0; 7189} 7190_ACEOF 7191if ac_fn_c_try_link "$LINENO"; then : 7192 lt_cv_ld_exported_symbols_list=yes 7193else 7194 lt_cv_ld_exported_symbols_list=no 7195fi 7196rm -f core conftest.err conftest.$ac_objext \ 7197 conftest$ac_exeext conftest.$ac_ext 7198 LDFLAGS="$save_LDFLAGS" 7199 7200fi 7201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7202$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7203 7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7205$as_echo_n "checking for -force_load linker flag... " >&6; } 7206if ${lt_cv_ld_force_load+:} false; then : 7207 $as_echo_n "(cached) " >&6 7208else 7209 lt_cv_ld_force_load=no 7210 cat > conftest.c << _LT_EOF 7211int forced_loaded() { return 2;} 7212_LT_EOF 7213 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7214 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7215 echo "$AR cru libconftest.a conftest.o" >&5 7216 $AR cru libconftest.a conftest.o 2>&5 7217 echo "$RANLIB libconftest.a" >&5 7218 $RANLIB libconftest.a 2>&5 7219 cat > conftest.c << _LT_EOF 7220int main() { return 0;} 7221_LT_EOF 7222 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7223 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7224 _lt_result=$? 7225 if test -s conftest.err && $GREP force_load conftest.err; then 7226 cat conftest.err >&5 7227 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7228 lt_cv_ld_force_load=yes 7229 else 7230 cat conftest.err >&5 7231 fi 7232 rm -f conftest.err libconftest.a conftest conftest.c 7233 rm -rf conftest.dSYM 7234 7235fi 7236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7237$as_echo "$lt_cv_ld_force_load" >&6; } 7238 case $host_os in 7239 rhapsody* | darwin1.[012]) 7240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7241 darwin1.*) 7242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7243 darwin*) # darwin 5.x on 7244 # if running on 10.5 or later, the deployment target defaults 7245 # to the OS version, if on x86, and 10.4, the deployment 7246 # target defaults to 10.4. Don't you love it? 7247 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7248 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7249 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7250 10.[012]*) 7251 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7252 10.*) 7253 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7254 esac 7255 ;; 7256 esac 7257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7258 _lt_dar_single_mod='$single_module' 7259 fi 7260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7262 else 7263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7264 fi 7265 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7266 _lt_dsymutil='~$DSYMUTIL $lib || :' 7267 else 7268 _lt_dsymutil= 7269 fi 7270 ;; 7271 esac 7272 7273ac_ext=c 7274ac_cpp='$CPP $CPPFLAGS' 7275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7277ac_compiler_gnu=$ac_cv_c_compiler_gnu 7278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7279$as_echo_n "checking how to run the C preprocessor... " >&6; } 7280# On Suns, sometimes $CPP names a directory. 7281if test -n "$CPP" && test -d "$CPP"; then 7282 CPP= 7283fi 7284if test -z "$CPP"; then 7285 if ${ac_cv_prog_CPP+:} false; then : 7286 $as_echo_n "(cached) " >&6 7287else 7288 # Double quotes because CPP needs to be expanded 7289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7290 do 7291 ac_preproc_ok=false 7292for ac_c_preproc_warn_flag in '' yes 7293do 7294 # Use a header file that comes with gcc, so configuring glibc 7295 # with a fresh cross-compiler works. 7296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7297 # <limits.h> exists even on freestanding compilers. 7298 # On the NeXT, cc -E runs the code through the compiler's parser, 7299 # not just through cpp. "Syntax error" is here to catch this case. 7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7301/* end confdefs.h. */ 7302@%:@ifdef __STDC__ 7303@%:@ include <limits.h> 7304@%:@else 7305@%:@ include <assert.h> 7306@%:@endif 7307 Syntax error 7308_ACEOF 7309if ac_fn_c_try_cpp "$LINENO"; then : 7310 7311else 7312 # Broken: fails on valid input. 7313continue 7314fi 7315rm -f conftest.err conftest.i conftest.$ac_ext 7316 7317 # OK, works on sane cases. Now check whether nonexistent headers 7318 # can be detected and how. 7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7320/* end confdefs.h. */ 7321@%:@include <ac_nonexistent.h> 7322_ACEOF 7323if ac_fn_c_try_cpp "$LINENO"; then : 7324 # Broken: success on invalid input. 7325continue 7326else 7327 # Passes both tests. 7328ac_preproc_ok=: 7329break 7330fi 7331rm -f conftest.err conftest.i conftest.$ac_ext 7332 7333done 7334# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7335rm -f conftest.i conftest.err conftest.$ac_ext 7336if $ac_preproc_ok; then : 7337 break 7338fi 7339 7340 done 7341 ac_cv_prog_CPP=$CPP 7342 7343fi 7344 CPP=$ac_cv_prog_CPP 7345else 7346 ac_cv_prog_CPP=$CPP 7347fi 7348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7349$as_echo "$CPP" >&6; } 7350ac_preproc_ok=false 7351for ac_c_preproc_warn_flag in '' yes 7352do 7353 # Use a header file that comes with gcc, so configuring glibc 7354 # with a fresh cross-compiler works. 7355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7356 # <limits.h> exists even on freestanding compilers. 7357 # On the NeXT, cc -E runs the code through the compiler's parser, 7358 # not just through cpp. "Syntax error" is here to catch this case. 7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7360/* end confdefs.h. */ 7361@%:@ifdef __STDC__ 7362@%:@ include <limits.h> 7363@%:@else 7364@%:@ include <assert.h> 7365@%:@endif 7366 Syntax error 7367_ACEOF 7368if ac_fn_c_try_cpp "$LINENO"; then : 7369 7370else 7371 # Broken: fails on valid input. 7372continue 7373fi 7374rm -f conftest.err conftest.i conftest.$ac_ext 7375 7376 # OK, works on sane cases. Now check whether nonexistent headers 7377 # can be detected and how. 7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7379/* end confdefs.h. */ 7380@%:@include <ac_nonexistent.h> 7381_ACEOF 7382if ac_fn_c_try_cpp "$LINENO"; then : 7383 # Broken: success on invalid input. 7384continue 7385else 7386 # Passes both tests. 7387ac_preproc_ok=: 7388break 7389fi 7390rm -f conftest.err conftest.i conftest.$ac_ext 7391 7392done 7393# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7394rm -f conftest.i conftest.err conftest.$ac_ext 7395if $ac_preproc_ok; then : 7396 7397else 7398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7399$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7400as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7401See \`config.log' for more details" "$LINENO" 5; } 7402fi 7403 7404ac_ext=c 7405ac_cpp='$CPP $CPPFLAGS' 7406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7408ac_compiler_gnu=$ac_cv_c_compiler_gnu 7409 7410 7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7412$as_echo_n "checking for ANSI C header files... " >&6; } 7413if ${ac_cv_header_stdc+:} false; then : 7414 $as_echo_n "(cached) " >&6 7415else 7416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7417/* end confdefs.h. */ 7418#include <stdlib.h> 7419#include <stdarg.h> 7420#include <string.h> 7421#include <float.h> 7422 7423int 7424main () 7425{ 7426 7427 ; 7428 return 0; 7429} 7430_ACEOF 7431if ac_fn_c_try_compile "$LINENO"; then : 7432 ac_cv_header_stdc=yes 7433else 7434 ac_cv_header_stdc=no 7435fi 7436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7437 7438if test $ac_cv_header_stdc = yes; then 7439 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7441/* end confdefs.h. */ 7442#include <string.h> 7443 7444_ACEOF 7445if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7446 $EGREP "memchr" >/dev/null 2>&1; then : 7447 7448else 7449 ac_cv_header_stdc=no 7450fi 7451rm -f conftest* 7452 7453fi 7454 7455if test $ac_cv_header_stdc = yes; then 7456 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7458/* end confdefs.h. */ 7459#include <stdlib.h> 7460 7461_ACEOF 7462if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7463 $EGREP "free" >/dev/null 2>&1; then : 7464 7465else 7466 ac_cv_header_stdc=no 7467fi 7468rm -f conftest* 7469 7470fi 7471 7472if test $ac_cv_header_stdc = yes; then 7473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7474 if test "$cross_compiling" = yes; then : 7475 : 7476else 7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7478/* end confdefs.h. */ 7479#include <ctype.h> 7480#include <stdlib.h> 7481#if ((' ' & 0x0FF) == 0x020) 7482# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7483# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7484#else 7485# define ISLOWER(c) \ 7486 (('a' <= (c) && (c) <= 'i') \ 7487 || ('j' <= (c) && (c) <= 'r') \ 7488 || ('s' <= (c) && (c) <= 'z')) 7489# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7490#endif 7491 7492#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7493int 7494main () 7495{ 7496 int i; 7497 for (i = 0; i < 256; i++) 7498 if (XOR (islower (i), ISLOWER (i)) 7499 || toupper (i) != TOUPPER (i)) 7500 return 2; 7501 return 0; 7502} 7503_ACEOF 7504if ac_fn_c_try_run "$LINENO"; then : 7505 7506else 7507 ac_cv_header_stdc=no 7508fi 7509rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7510 conftest.$ac_objext conftest.beam conftest.$ac_ext 7511fi 7512 7513fi 7514fi 7515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7516$as_echo "$ac_cv_header_stdc" >&6; } 7517if test $ac_cv_header_stdc = yes; then 7518 7519$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 7520 7521fi 7522 7523# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7524for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7525 inttypes.h stdint.h unistd.h 7526do : 7527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7528ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7529" 7530if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7531 cat >>confdefs.h <<_ACEOF 7532@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7533_ACEOF 7534 7535fi 7536 7537done 7538 7539 7540for ac_header in dlfcn.h 7541do : 7542 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7543" 7544if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7545 cat >>confdefs.h <<_ACEOF 7546@%:@define HAVE_DLFCN_H 1 7547_ACEOF 7548 7549fi 7550 7551done 7552 7553 7554 7555 7556 7557# Set options 7558 7559 7560 7561 enable_dlopen=no 7562 7563 7564 enable_win32_dll=no 7565 7566 7567 @%:@ Check whether --enable-shared was given. 7568if test "${enable_shared+set}" = set; then : 7569 enableval=$enable_shared; p=${PACKAGE-default} 7570 case $enableval in 7571 yes) enable_shared=yes ;; 7572 no) enable_shared=no ;; 7573 *) 7574 enable_shared=no 7575 # Look at the argument we got. We use all the common list separators. 7576 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7577 for pkg in $enableval; do 7578 IFS="$lt_save_ifs" 7579 if test "X$pkg" = "X$p"; then 7580 enable_shared=yes 7581 fi 7582 done 7583 IFS="$lt_save_ifs" 7584 ;; 7585 esac 7586else 7587 enable_shared=yes 7588fi 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 @%:@ Check whether --enable-static was given. 7599if test "${enable_static+set}" = set; then : 7600 enableval=$enable_static; p=${PACKAGE-default} 7601 case $enableval in 7602 yes) enable_static=yes ;; 7603 no) enable_static=no ;; 7604 *) 7605 enable_static=no 7606 # Look at the argument we got. We use all the common list separators. 7607 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7608 for pkg in $enableval; do 7609 IFS="$lt_save_ifs" 7610 if test "X$pkg" = "X$p"; then 7611 enable_static=yes 7612 fi 7613 done 7614 IFS="$lt_save_ifs" 7615 ;; 7616 esac 7617else 7618 enable_static=yes 7619fi 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630@%:@ Check whether --with-pic was given. 7631if test "${with_pic+set}" = set; then : 7632 withval=$with_pic; lt_p=${PACKAGE-default} 7633 case $withval in 7634 yes|no) pic_mode=$withval ;; 7635 *) 7636 pic_mode=default 7637 # Look at the argument we got. We use all the common list separators. 7638 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7639 for lt_pkg in $withval; do 7640 IFS="$lt_save_ifs" 7641 if test "X$lt_pkg" = "X$lt_p"; then 7642 pic_mode=yes 7643 fi 7644 done 7645 IFS="$lt_save_ifs" 7646 ;; 7647 esac 7648else 7649 pic_mode=default 7650fi 7651 7652 7653test -z "$pic_mode" && pic_mode=default 7654 7655 7656 7657 7658 7659 7660 7661 @%:@ Check whether --enable-fast-install was given. 7662if test "${enable_fast_install+set}" = set; then : 7663 enableval=$enable_fast_install; p=${PACKAGE-default} 7664 case $enableval in 7665 yes) enable_fast_install=yes ;; 7666 no) enable_fast_install=no ;; 7667 *) 7668 enable_fast_install=no 7669 # Look at the argument we got. We use all the common list separators. 7670 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7671 for pkg in $enableval; do 7672 IFS="$lt_save_ifs" 7673 if test "X$pkg" = "X$p"; then 7674 enable_fast_install=yes 7675 fi 7676 done 7677 IFS="$lt_save_ifs" 7678 ;; 7679 esac 7680else 7681 enable_fast_install=yes 7682fi 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694# This can be used to rebuild libtool when needed 7695LIBTOOL_DEPS="$ltmain" 7696 7697# Always use our own libtool. 7698LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729test -z "$LN_S" && LN_S="ln -s" 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744if test -n "${ZSH_VERSION+set}" ; then 7745 setopt NO_GLOB_SUBST 7746fi 7747 7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7749$as_echo_n "checking for objdir... " >&6; } 7750if ${lt_cv_objdir+:} false; then : 7751 $as_echo_n "(cached) " >&6 7752else 7753 rm -f .libs 2>/dev/null 7754mkdir .libs 2>/dev/null 7755if test -d .libs; then 7756 lt_cv_objdir=.libs 7757else 7758 # MS-DOS does not allow filenames that begin with a dot. 7759 lt_cv_objdir=_libs 7760fi 7761rmdir .libs 2>/dev/null 7762fi 7763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7764$as_echo "$lt_cv_objdir" >&6; } 7765objdir=$lt_cv_objdir 7766 7767 7768 7769 7770 7771cat >>confdefs.h <<_ACEOF 7772@%:@define LT_OBJDIR "$lt_cv_objdir/" 7773_ACEOF 7774 7775 7776 7777 7778case $host_os in 7779aix3*) 7780 # AIX sometimes has problems with the GCC collect2 program. For some 7781 # reason, if we set the COLLECT_NAMES environment variable, the problems 7782 # vanish in a puff of smoke. 7783 if test "X${COLLECT_NAMES+set}" != Xset; then 7784 COLLECT_NAMES= 7785 export COLLECT_NAMES 7786 fi 7787 ;; 7788esac 7789 7790# Global variables: 7791ofile=libtool 7792can_build_shared=yes 7793 7794# All known linkers require a `.a' archive for static linking (except MSVC, 7795# which needs '.lib'). 7796libext=a 7797 7798with_gnu_ld="$lt_cv_prog_gnu_ld" 7799 7800old_CC="$CC" 7801old_CFLAGS="$CFLAGS" 7802 7803# Set sane defaults for various variables 7804test -z "$CC" && CC=cc 7805test -z "$LTCC" && LTCC=$CC 7806test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7807test -z "$LD" && LD=ld 7808test -z "$ac_objext" && ac_objext=o 7809 7810for cc_temp in $compiler""; do 7811 case $cc_temp in 7812 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7813 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7814 \-*) ;; 7815 *) break;; 7816 esac 7817done 7818cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7819 7820 7821# Only perform the check for file, if the check method requires it 7822test -z "$MAGIC_CMD" && MAGIC_CMD=file 7823case $deplibs_check_method in 7824file_magic*) 7825 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7827$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7828if ${lt_cv_path_MAGIC_CMD+:} false; then : 7829 $as_echo_n "(cached) " >&6 7830else 7831 case $MAGIC_CMD in 7832[\\/*] | ?:[\\/]*) 7833 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7834 ;; 7835*) 7836 lt_save_MAGIC_CMD="$MAGIC_CMD" 7837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7838 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7839 for ac_dir in $ac_dummy; do 7840 IFS="$lt_save_ifs" 7841 test -z "$ac_dir" && ac_dir=. 7842 if test -f $ac_dir/${ac_tool_prefix}file; then 7843 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7844 if test -n "$file_magic_test_file"; then 7845 case $deplibs_check_method in 7846 "file_magic "*) 7847 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7848 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7849 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7850 $EGREP "$file_magic_regex" > /dev/null; then 7851 : 7852 else 7853 cat <<_LT_EOF 1>&2 7854 7855*** Warning: the command libtool uses to detect shared libraries, 7856*** $file_magic_cmd, produces output that libtool cannot recognize. 7857*** The result is that libtool may fail to recognize shared libraries 7858*** as such. This will affect the creation of libtool libraries that 7859*** depend on shared libraries, but programs linked with such libtool 7860*** libraries will work regardless of this problem. Nevertheless, you 7861*** may want to report the problem to your system manager and/or to 7862*** bug-libtool@gnu.org 7863 7864_LT_EOF 7865 fi ;; 7866 esac 7867 fi 7868 break 7869 fi 7870 done 7871 IFS="$lt_save_ifs" 7872 MAGIC_CMD="$lt_save_MAGIC_CMD" 7873 ;; 7874esac 7875fi 7876 7877MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7878if test -n "$MAGIC_CMD"; then 7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7880$as_echo "$MAGIC_CMD" >&6; } 7881else 7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7883$as_echo "no" >&6; } 7884fi 7885 7886 7887 7888 7889 7890if test -z "$lt_cv_path_MAGIC_CMD"; then 7891 if test -n "$ac_tool_prefix"; then 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7893$as_echo_n "checking for file... " >&6; } 7894if ${lt_cv_path_MAGIC_CMD+:} false; then : 7895 $as_echo_n "(cached) " >&6 7896else 7897 case $MAGIC_CMD in 7898[\\/*] | ?:[\\/]*) 7899 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7900 ;; 7901*) 7902 lt_save_MAGIC_CMD="$MAGIC_CMD" 7903 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7904 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7905 for ac_dir in $ac_dummy; do 7906 IFS="$lt_save_ifs" 7907 test -z "$ac_dir" && ac_dir=. 7908 if test -f $ac_dir/file; then 7909 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7910 if test -n "$file_magic_test_file"; then 7911 case $deplibs_check_method in 7912 "file_magic "*) 7913 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7914 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7915 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7916 $EGREP "$file_magic_regex" > /dev/null; then 7917 : 7918 else 7919 cat <<_LT_EOF 1>&2 7920 7921*** Warning: the command libtool uses to detect shared libraries, 7922*** $file_magic_cmd, produces output that libtool cannot recognize. 7923*** The result is that libtool may fail to recognize shared libraries 7924*** as such. This will affect the creation of libtool libraries that 7925*** depend on shared libraries, but programs linked with such libtool 7926*** libraries will work regardless of this problem. Nevertheless, you 7927*** may want to report the problem to your system manager and/or to 7928*** bug-libtool@gnu.org 7929 7930_LT_EOF 7931 fi ;; 7932 esac 7933 fi 7934 break 7935 fi 7936 done 7937 IFS="$lt_save_ifs" 7938 MAGIC_CMD="$lt_save_MAGIC_CMD" 7939 ;; 7940esac 7941fi 7942 7943MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7944if test -n "$MAGIC_CMD"; then 7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7946$as_echo "$MAGIC_CMD" >&6; } 7947else 7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7949$as_echo "no" >&6; } 7950fi 7951 7952 7953 else 7954 MAGIC_CMD=: 7955 fi 7956fi 7957 7958 fi 7959 ;; 7960esac 7961 7962# Use C for the default configuration in the libtool script 7963 7964lt_save_CC="$CC" 7965ac_ext=c 7966ac_cpp='$CPP $CPPFLAGS' 7967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7969ac_compiler_gnu=$ac_cv_c_compiler_gnu 7970 7971 7972# Source file extension for C test sources. 7973ac_ext=c 7974 7975# Object file extension for compiled C test sources. 7976objext=o 7977objext=$objext 7978 7979# Code to be used in simple compile tests 7980lt_simple_compile_test_code="int some_variable = 0;" 7981 7982# Code to be used in simple link tests 7983lt_simple_link_test_code='int main(){return(0);}' 7984 7985 7986 7987 7988 7989 7990 7991# If no C compiler was specified, use CC. 7992LTCC=${LTCC-"$CC"} 7993 7994# If no C compiler flags were specified, use CFLAGS. 7995LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7996 7997# Allow CC to be a program name with arguments. 7998compiler=$CC 7999 8000# Save the default compiler, since it gets overwritten when the other 8001# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8002compiler_DEFAULT=$CC 8003 8004# save warnings/boilerplate of simple test code 8005ac_outfile=conftest.$ac_objext 8006echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8007eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8008_lt_compiler_boilerplate=`cat conftest.err` 8009$RM conftest* 8010 8011ac_outfile=conftest.$ac_objext 8012echo "$lt_simple_link_test_code" >conftest.$ac_ext 8013eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8014_lt_linker_boilerplate=`cat conftest.err` 8015$RM -r conftest* 8016 8017 8018## CAVEAT EMPTOR: 8019## There is no encapsulation within the following macros, do not change 8020## the running order or otherwise move them around unless you know exactly 8021## what you are doing... 8022if test -n "$compiler"; then 8023 8024lt_prog_compiler_no_builtin_flag= 8025 8026if test "$GCC" = yes; then 8027 case $cc_basename in 8028 nvcc*) 8029 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8030 *) 8031 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8032 esac 8033 8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8035$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8036if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8037 $as_echo_n "(cached) " >&6 8038else 8039 lt_cv_prog_compiler_rtti_exceptions=no 8040 ac_outfile=conftest.$ac_objext 8041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8042 lt_compiler_flag="-fno-rtti -fno-exceptions" 8043 # Insert the option either (1) after the last *FLAGS variable, or 8044 # (2) before a word containing "conftest.", or (3) at the end. 8045 # Note that $ac_compile itself does not contain backslashes and begins 8046 # with a dollar sign (not a hyphen), so the echo should work correctly. 8047 # The option is referenced via a variable to avoid confusing sed. 8048 lt_compile=`echo "$ac_compile" | $SED \ 8049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8051 -e 's:$: $lt_compiler_flag:'` 8052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8053 (eval "$lt_compile" 2>conftest.err) 8054 ac_status=$? 8055 cat conftest.err >&5 8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8057 if (exit $ac_status) && test -s "$ac_outfile"; then 8058 # The compiler can only warn and ignore the option if not recognized 8059 # So say no if there are warnings other than the usual output. 8060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8061 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8062 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8063 lt_cv_prog_compiler_rtti_exceptions=yes 8064 fi 8065 fi 8066 $RM conftest* 8067 8068fi 8069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8070$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8071 8072if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8073 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8074else 8075 : 8076fi 8077 8078fi 8079 8080 8081 8082 8083 8084 8085 lt_prog_compiler_wl= 8086lt_prog_compiler_pic= 8087lt_prog_compiler_static= 8088 8089 8090 if test "$GCC" = yes; then 8091 lt_prog_compiler_wl='-Wl,' 8092 lt_prog_compiler_static='-static' 8093 8094 case $host_os in 8095 aix*) 8096 # All AIX code is PIC. 8097 if test "$host_cpu" = ia64; then 8098 # AIX 5 now supports IA64 processor 8099 lt_prog_compiler_static='-Bstatic' 8100 fi 8101 ;; 8102 8103 amigaos*) 8104 case $host_cpu in 8105 powerpc) 8106 # see comment about AmigaOS4 .so support 8107 lt_prog_compiler_pic='-fPIC' 8108 ;; 8109 m68k) 8110 # FIXME: we need at least 68020 code to build shared libraries, but 8111 # adding the `-m68020' flag to GCC prevents building anything better, 8112 # like `-m68040'. 8113 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8114 ;; 8115 esac 8116 ;; 8117 8118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8119 # PIC is the default for these OSes. 8120 ;; 8121 8122 mingw* | cygwin* | pw32* | os2* | cegcc*) 8123 # This hack is so that the source file can tell whether it is being 8124 # built for inclusion in a dll (and should export symbols for example). 8125 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8126 # (--disable-auto-import) libraries 8127 lt_prog_compiler_pic='-DDLL_EXPORT' 8128 ;; 8129 8130 darwin* | rhapsody*) 8131 # PIC is the default on this platform 8132 # Common symbols not allowed in MH_DYLIB files 8133 lt_prog_compiler_pic='-fno-common' 8134 ;; 8135 8136 haiku*) 8137 # PIC is the default for Haiku. 8138 # The "-static" flag exists, but is broken. 8139 lt_prog_compiler_static= 8140 ;; 8141 8142 hpux*) 8143 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8144 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8145 # sets the default TLS model and affects inlining. 8146 case $host_cpu in 8147 hppa*64*) 8148 # +Z the default 8149 ;; 8150 *) 8151 lt_prog_compiler_pic='-fPIC' 8152 ;; 8153 esac 8154 ;; 8155 8156 interix[3-9]*) 8157 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8158 # Instead, we relocate shared libraries at runtime. 8159 ;; 8160 8161 msdosdjgpp*) 8162 # Just because we use GCC doesn't mean we suddenly get shared libraries 8163 # on systems that don't support them. 8164 lt_prog_compiler_can_build_shared=no 8165 enable_shared=no 8166 ;; 8167 8168 *nto* | *qnx*) 8169 # QNX uses GNU C++, but need to define -shared option too, otherwise 8170 # it will coredump. 8171 lt_prog_compiler_pic='-fPIC -shared' 8172 ;; 8173 8174 sysv4*MP*) 8175 if test -d /usr/nec; then 8176 lt_prog_compiler_pic=-Kconform_pic 8177 fi 8178 ;; 8179 8180 *) 8181 lt_prog_compiler_pic='-fPIC' 8182 ;; 8183 esac 8184 8185 case $cc_basename in 8186 nvcc*) # Cuda Compiler Driver 2.2 8187 lt_prog_compiler_wl='-Xlinker ' 8188 if test -n "$lt_prog_compiler_pic"; then 8189 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8190 fi 8191 ;; 8192 esac 8193 else 8194 # PORTME Check for flag to pass linker flags through the system compiler. 8195 case $host_os in 8196 aix*) 8197 lt_prog_compiler_wl='-Wl,' 8198 if test "$host_cpu" = ia64; then 8199 # AIX 5 now supports IA64 processor 8200 lt_prog_compiler_static='-Bstatic' 8201 else 8202 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8203 fi 8204 ;; 8205 8206 mingw* | cygwin* | pw32* | os2* | cegcc*) 8207 # This hack is so that the source file can tell whether it is being 8208 # built for inclusion in a dll (and should export symbols for example). 8209 lt_prog_compiler_pic='-DDLL_EXPORT' 8210 ;; 8211 8212 hpux9* | hpux10* | hpux11*) 8213 lt_prog_compiler_wl='-Wl,' 8214 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8215 # not for PA HP-UX. 8216 case $host_cpu in 8217 hppa*64*|ia64*) 8218 # +Z the default 8219 ;; 8220 *) 8221 lt_prog_compiler_pic='+Z' 8222 ;; 8223 esac 8224 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8225 lt_prog_compiler_static='${wl}-a ${wl}archive' 8226 ;; 8227 8228 irix5* | irix6* | nonstopux*) 8229 lt_prog_compiler_wl='-Wl,' 8230 # PIC (with -KPIC) is the default. 8231 lt_prog_compiler_static='-non_shared' 8232 ;; 8233 8234 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8235 case $cc_basename in 8236 # old Intel for x86_64 which still supported -KPIC. 8237 ecc*) 8238 lt_prog_compiler_wl='-Wl,' 8239 lt_prog_compiler_pic='-KPIC' 8240 lt_prog_compiler_static='-static' 8241 ;; 8242 # icc used to be incompatible with GCC. 8243 # ICC 10 doesn't accept -KPIC any more. 8244 icc* | ifort*) 8245 lt_prog_compiler_wl='-Wl,' 8246 lt_prog_compiler_pic='-fPIC' 8247 lt_prog_compiler_static='-static' 8248 ;; 8249 # Lahey Fortran 8.1. 8250 lf95*) 8251 lt_prog_compiler_wl='-Wl,' 8252 lt_prog_compiler_pic='--shared' 8253 lt_prog_compiler_static='--static' 8254 ;; 8255 nagfor*) 8256 # NAG Fortran compiler 8257 lt_prog_compiler_wl='-Wl,-Wl,,' 8258 lt_prog_compiler_pic='-PIC' 8259 lt_prog_compiler_static='-Bstatic' 8260 ;; 8261 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8262 # Portland Group compilers (*not* the Pentium gcc compiler, 8263 # which looks to be a dead project) 8264 lt_prog_compiler_wl='-Wl,' 8265 lt_prog_compiler_pic='-fpic' 8266 lt_prog_compiler_static='-Bstatic' 8267 ;; 8268 ccc*) 8269 lt_prog_compiler_wl='-Wl,' 8270 # All Alpha code is PIC. 8271 lt_prog_compiler_static='-non_shared' 8272 ;; 8273 xl* | bgxl* | bgf* | mpixl*) 8274 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8275 lt_prog_compiler_wl='-Wl,' 8276 lt_prog_compiler_pic='-qpic' 8277 lt_prog_compiler_static='-qstaticlink' 8278 ;; 8279 *) 8280 case `$CC -V 2>&1 | sed 5q` in 8281 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8282 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8283 lt_prog_compiler_pic='-KPIC' 8284 lt_prog_compiler_static='-Bstatic' 8285 lt_prog_compiler_wl='' 8286 ;; 8287 *Sun\ F* | *Sun*Fortran*) 8288 lt_prog_compiler_pic='-KPIC' 8289 lt_prog_compiler_static='-Bstatic' 8290 lt_prog_compiler_wl='-Qoption ld ' 8291 ;; 8292 *Sun\ C*) 8293 # Sun C 5.9 8294 lt_prog_compiler_pic='-KPIC' 8295 lt_prog_compiler_static='-Bstatic' 8296 lt_prog_compiler_wl='-Wl,' 8297 ;; 8298 *Intel*\ [CF]*Compiler*) 8299 lt_prog_compiler_wl='-Wl,' 8300 lt_prog_compiler_pic='-fPIC' 8301 lt_prog_compiler_static='-static' 8302 ;; 8303 *Portland\ Group*) 8304 lt_prog_compiler_wl='-Wl,' 8305 lt_prog_compiler_pic='-fpic' 8306 lt_prog_compiler_static='-Bstatic' 8307 ;; 8308 esac 8309 ;; 8310 esac 8311 ;; 8312 8313 newsos6) 8314 lt_prog_compiler_pic='-KPIC' 8315 lt_prog_compiler_static='-Bstatic' 8316 ;; 8317 8318 *nto* | *qnx*) 8319 # QNX uses GNU C++, but need to define -shared option too, otherwise 8320 # it will coredump. 8321 lt_prog_compiler_pic='-fPIC -shared' 8322 ;; 8323 8324 osf3* | osf4* | osf5*) 8325 lt_prog_compiler_wl='-Wl,' 8326 # All OSF/1 code is PIC. 8327 lt_prog_compiler_static='-non_shared' 8328 ;; 8329 8330 rdos*) 8331 lt_prog_compiler_static='-non_shared' 8332 ;; 8333 8334 solaris*) 8335 lt_prog_compiler_pic='-KPIC' 8336 lt_prog_compiler_static='-Bstatic' 8337 case $cc_basename in 8338 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8339 lt_prog_compiler_wl='-Qoption ld ';; 8340 *) 8341 lt_prog_compiler_wl='-Wl,';; 8342 esac 8343 ;; 8344 8345 sunos4*) 8346 lt_prog_compiler_wl='-Qoption ld ' 8347 lt_prog_compiler_pic='-PIC' 8348 lt_prog_compiler_static='-Bstatic' 8349 ;; 8350 8351 sysv4 | sysv4.2uw2* | sysv4.3*) 8352 lt_prog_compiler_wl='-Wl,' 8353 lt_prog_compiler_pic='-KPIC' 8354 lt_prog_compiler_static='-Bstatic' 8355 ;; 8356 8357 sysv4*MP*) 8358 if test -d /usr/nec ;then 8359 lt_prog_compiler_pic='-Kconform_pic' 8360 lt_prog_compiler_static='-Bstatic' 8361 fi 8362 ;; 8363 8364 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8365 lt_prog_compiler_wl='-Wl,' 8366 lt_prog_compiler_pic='-KPIC' 8367 lt_prog_compiler_static='-Bstatic' 8368 ;; 8369 8370 unicos*) 8371 lt_prog_compiler_wl='-Wl,' 8372 lt_prog_compiler_can_build_shared=no 8373 ;; 8374 8375 uts4*) 8376 lt_prog_compiler_pic='-pic' 8377 lt_prog_compiler_static='-Bstatic' 8378 ;; 8379 8380 *) 8381 lt_prog_compiler_can_build_shared=no 8382 ;; 8383 esac 8384 fi 8385 8386case $host_os in 8387 # For platforms which do not support PIC, -DPIC is meaningless: 8388 *djgpp*) 8389 lt_prog_compiler_pic= 8390 ;; 8391 *) 8392 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 8393 ;; 8394esac 8395 8396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8397$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8398if ${lt_cv_prog_compiler_pic+:} false; then : 8399 $as_echo_n "(cached) " >&6 8400else 8401 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8402fi 8403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8404$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8405lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8406 8407# 8408# Check to make sure the PIC flag actually works. 8409# 8410if test -n "$lt_prog_compiler_pic"; then 8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8412$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8413if ${lt_cv_prog_compiler_pic_works+:} false; then : 8414 $as_echo_n "(cached) " >&6 8415else 8416 lt_cv_prog_compiler_pic_works=no 8417 ac_outfile=conftest.$ac_objext 8418 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8419 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" 8420 # Insert the option either (1) after the last *FLAGS variable, or 8421 # (2) before a word containing "conftest.", or (3) at the end. 8422 # Note that $ac_compile itself does not contain backslashes and begins 8423 # with a dollar sign (not a hyphen), so the echo should work correctly. 8424 # The option is referenced via a variable to avoid confusing sed. 8425 lt_compile=`echo "$ac_compile" | $SED \ 8426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8428 -e 's:$: $lt_compiler_flag:'` 8429 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8430 (eval "$lt_compile" 2>conftest.err) 8431 ac_status=$? 8432 cat conftest.err >&5 8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8434 if (exit $ac_status) && test -s "$ac_outfile"; then 8435 # The compiler can only warn and ignore the option if not recognized 8436 # So say no if there are warnings other than the usual output. 8437 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8438 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8439 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8440 lt_cv_prog_compiler_pic_works=yes 8441 fi 8442 fi 8443 $RM conftest* 8444 8445fi 8446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8447$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8448 8449if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8450 case $lt_prog_compiler_pic in 8451 "" | " "*) ;; 8452 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8453 esac 8454else 8455 lt_prog_compiler_pic= 8456 lt_prog_compiler_can_build_shared=no 8457fi 8458 8459fi 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471# 8472# Check to make sure the static flag actually works. 8473# 8474wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8476$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8477if ${lt_cv_prog_compiler_static_works+:} false; then : 8478 $as_echo_n "(cached) " >&6 8479else 8480 lt_cv_prog_compiler_static_works=no 8481 save_LDFLAGS="$LDFLAGS" 8482 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8483 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8484 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8485 # The linker can only warn and ignore the option if not recognized 8486 # So say no if there are warnings 8487 if test -s conftest.err; then 8488 # Append any errors to the config.log. 8489 cat conftest.err 1>&5 8490 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8491 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8492 if diff conftest.exp conftest.er2 >/dev/null; then 8493 lt_cv_prog_compiler_static_works=yes 8494 fi 8495 else 8496 lt_cv_prog_compiler_static_works=yes 8497 fi 8498 fi 8499 $RM -r conftest* 8500 LDFLAGS="$save_LDFLAGS" 8501 8502fi 8503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8504$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8505 8506if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8507 : 8508else 8509 lt_prog_compiler_static= 8510fi 8511 8512 8513 8514 8515 8516 8517 8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8519$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8520if ${lt_cv_prog_compiler_c_o+:} false; then : 8521 $as_echo_n "(cached) " >&6 8522else 8523 lt_cv_prog_compiler_c_o=no 8524 $RM -r conftest 2>/dev/null 8525 mkdir conftest 8526 cd conftest 8527 mkdir out 8528 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8529 8530 lt_compiler_flag="-o out/conftest2.$ac_objext" 8531 # Insert the option either (1) after the last *FLAGS variable, or 8532 # (2) before a word containing "conftest.", or (3) at the end. 8533 # Note that $ac_compile itself does not contain backslashes and begins 8534 # with a dollar sign (not a hyphen), so the echo should work correctly. 8535 lt_compile=`echo "$ac_compile" | $SED \ 8536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8538 -e 's:$: $lt_compiler_flag:'` 8539 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8540 (eval "$lt_compile" 2>out/conftest.err) 8541 ac_status=$? 8542 cat out/conftest.err >&5 8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8544 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8545 then 8546 # The compiler can only warn and ignore the option if not recognized 8547 # So say no if there are warnings 8548 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8549 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8550 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8551 lt_cv_prog_compiler_c_o=yes 8552 fi 8553 fi 8554 chmod u+w . 2>&5 8555 $RM conftest* 8556 # SGI C++ compiler will create directory out/ii_files/ for 8557 # template instantiation 8558 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8559 $RM out/* && rmdir out 8560 cd .. 8561 $RM -r conftest 8562 $RM conftest* 8563 8564fi 8565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8566$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8567 8568 8569 8570 8571 8572 8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8574$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8575if ${lt_cv_prog_compiler_c_o+:} false; then : 8576 $as_echo_n "(cached) " >&6 8577else 8578 lt_cv_prog_compiler_c_o=no 8579 $RM -r conftest 2>/dev/null 8580 mkdir conftest 8581 cd conftest 8582 mkdir out 8583 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8584 8585 lt_compiler_flag="-o out/conftest2.$ac_objext" 8586 # Insert the option either (1) after the last *FLAGS variable, or 8587 # (2) before a word containing "conftest.", or (3) at the end. 8588 # Note that $ac_compile itself does not contain backslashes and begins 8589 # with a dollar sign (not a hyphen), so the echo should work correctly. 8590 lt_compile=`echo "$ac_compile" | $SED \ 8591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8593 -e 's:$: $lt_compiler_flag:'` 8594 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8595 (eval "$lt_compile" 2>out/conftest.err) 8596 ac_status=$? 8597 cat out/conftest.err >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8599 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8600 then 8601 # The compiler can only warn and ignore the option if not recognized 8602 # So say no if there are warnings 8603 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8604 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8605 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8606 lt_cv_prog_compiler_c_o=yes 8607 fi 8608 fi 8609 chmod u+w . 2>&5 8610 $RM conftest* 8611 # SGI C++ compiler will create directory out/ii_files/ for 8612 # template instantiation 8613 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8614 $RM out/* && rmdir out 8615 cd .. 8616 $RM -r conftest 8617 $RM conftest* 8618 8619fi 8620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8621$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8622 8623 8624 8625 8626hard_links="nottested" 8627if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8628 # do not overwrite the value of need_locks provided by the user 8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8630$as_echo_n "checking if we can lock with hard links... " >&6; } 8631 hard_links=yes 8632 $RM conftest* 8633 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8634 touch conftest.a 8635 ln conftest.a conftest.b 2>&5 || hard_links=no 8636 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8638$as_echo "$hard_links" >&6; } 8639 if test "$hard_links" = no; then 8640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8641$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8642 need_locks=warn 8643 fi 8644else 8645 need_locks=no 8646fi 8647 8648 8649 8650 8651 8652 8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8654$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8655 8656 runpath_var= 8657 allow_undefined_flag= 8658 always_export_symbols=no 8659 archive_cmds= 8660 archive_expsym_cmds= 8661 compiler_needs_object=no 8662 enable_shared_with_static_runtimes=no 8663 export_dynamic_flag_spec= 8664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8665 hardcode_automatic=no 8666 hardcode_direct=no 8667 hardcode_direct_absolute=no 8668 hardcode_libdir_flag_spec= 8669 hardcode_libdir_separator= 8670 hardcode_minus_L=no 8671 hardcode_shlibpath_var=unsupported 8672 inherit_rpath=no 8673 link_all_deplibs=unknown 8674 module_cmds= 8675 module_expsym_cmds= 8676 old_archive_from_new_cmds= 8677 old_archive_from_expsyms_cmds= 8678 thread_safe_flag_spec= 8679 whole_archive_flag_spec= 8680 # include_expsyms should be a list of space-separated symbols to be *always* 8681 # included in the symbol list 8682 include_expsyms= 8683 # exclude_expsyms can be an extended regexp of symbols to exclude 8684 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8685 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8686 # as well as any symbol that contains `d'. 8687 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8688 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8689 # platforms (ab)use it in PIC code, but their linkers get confused if 8690 # the symbol is explicitly referenced. Since portable code cannot 8691 # rely on this symbol name, it's probably fine to never include it in 8692 # preloaded symbol tables. 8693 # Exclude shared library initialization/finalization symbols. 8694 extract_expsyms_cmds= 8695 8696 case $host_os in 8697 cygwin* | mingw* | pw32* | cegcc*) 8698 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8699 # When not using gcc, we currently assume that we are using 8700 # Microsoft Visual C++. 8701 if test "$GCC" != yes; then 8702 with_gnu_ld=no 8703 fi 8704 ;; 8705 interix*) 8706 # we just hope/assume this is gcc and not c89 (= MSVC++) 8707 with_gnu_ld=yes 8708 ;; 8709 openbsd*) 8710 with_gnu_ld=no 8711 ;; 8712 linux* | k*bsd*-gnu | gnu*) 8713 link_all_deplibs=no 8714 ;; 8715 esac 8716 8717 ld_shlibs=yes 8718 8719 # On some targets, GNU ld is compatible enough with the native linker 8720 # that we're better off using the native interface for both. 8721 lt_use_gnu_ld_interface=no 8722 if test "$with_gnu_ld" = yes; then 8723 case $host_os in 8724 aix*) 8725 # The AIX port of GNU ld has always aspired to compatibility 8726 # with the native linker. However, as the warning in the GNU ld 8727 # block says, versions before 2.19.5* couldn't really create working 8728 # shared libraries, regardless of the interface used. 8729 case `$LD -v 2>&1` in 8730 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8731 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8732 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8733 *) 8734 lt_use_gnu_ld_interface=yes 8735 ;; 8736 esac 8737 ;; 8738 *) 8739 lt_use_gnu_ld_interface=yes 8740 ;; 8741 esac 8742 fi 8743 8744 if test "$lt_use_gnu_ld_interface" = yes; then 8745 # If archive_cmds runs LD, not CC, wlarc should be empty 8746 wlarc='${wl}' 8747 8748 # Set some defaults for GNU ld with shared library support. These 8749 # are reset later if shared libraries are not supported. Putting them 8750 # here allows them to be overridden if necessary. 8751 runpath_var=LD_RUN_PATH 8752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8753 export_dynamic_flag_spec='${wl}--export-dynamic' 8754 # ancient GNU ld didn't support --whole-archive et. al. 8755 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8756 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8757 else 8758 whole_archive_flag_spec= 8759 fi 8760 supports_anon_versioning=no 8761 case `$LD -v 2>&1` in 8762 *GNU\ gold*) supports_anon_versioning=yes ;; 8763 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8764 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8765 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8766 *\ 2.11.*) ;; # other 2.11 versions 8767 *) supports_anon_versioning=yes ;; 8768 esac 8769 8770 # See if GNU ld supports shared libraries. 8771 case $host_os in 8772 aix[3-9]*) 8773 # On AIX/PPC, the GNU linker is very broken 8774 if test "$host_cpu" != ia64; then 8775 ld_shlibs=no 8776 cat <<_LT_EOF 1>&2 8777 8778*** Warning: the GNU linker, at least up to release 2.19, is reported 8779*** to be unable to reliably create shared libraries on AIX. 8780*** Therefore, libtool is disabling shared libraries support. If you 8781*** really care for shared libraries, you may want to install binutils 8782*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8783*** You will then need to restart the configuration process. 8784 8785_LT_EOF 8786 fi 8787 ;; 8788 8789 amigaos*) 8790 case $host_cpu in 8791 powerpc) 8792 # see comment about AmigaOS4 .so support 8793 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8794 archive_expsym_cmds='' 8795 ;; 8796 m68k) 8797 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)' 8798 hardcode_libdir_flag_spec='-L$libdir' 8799 hardcode_minus_L=yes 8800 ;; 8801 esac 8802 ;; 8803 8804 beos*) 8805 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8806 allow_undefined_flag=unsupported 8807 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8808 # support --undefined. This deserves some investigation. FIXME 8809 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8810 else 8811 ld_shlibs=no 8812 fi 8813 ;; 8814 8815 cygwin* | mingw* | pw32* | cegcc*) 8816 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8817 # as there is no search path for DLLs. 8818 hardcode_libdir_flag_spec='-L$libdir' 8819 export_dynamic_flag_spec='${wl}--export-all-symbols' 8820 allow_undefined_flag=unsupported 8821 always_export_symbols=no 8822 enable_shared_with_static_runtimes=yes 8823 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' 8824 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8825 8826 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8827 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8828 # If the export-symbols file already is a .def file (1st line 8829 # is EXPORTS), use it as is; otherwise, prepend... 8830 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8831 cp $export_symbols $output_objdir/$soname.def; 8832 else 8833 echo EXPORTS > $output_objdir/$soname.def; 8834 cat $export_symbols >> $output_objdir/$soname.def; 8835 fi~ 8836 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8837 else 8838 ld_shlibs=no 8839 fi 8840 ;; 8841 8842 haiku*) 8843 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8844 link_all_deplibs=yes 8845 ;; 8846 8847 interix[3-9]*) 8848 hardcode_direct=no 8849 hardcode_shlibpath_var=no 8850 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8851 export_dynamic_flag_spec='${wl}-E' 8852 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8853 # Instead, shared libraries are loaded at an image base (0x10000000 by 8854 # default) and relocated if they conflict, which is a slow very memory 8855 # consuming and fragmenting process. To avoid this, we pick a random, 8856 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8857 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8858 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8859 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' 8860 ;; 8861 8862 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8863 tmp_diet=no 8864 if test "$host_os" = linux-dietlibc; then 8865 case $cc_basename in 8866 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8867 esac 8868 fi 8869 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8870 && test "$tmp_diet" = no 8871 then 8872 tmp_addflag=' $pic_flag' 8873 tmp_sharedflag='-shared' 8874 case $cc_basename,$host_cpu in 8875 pgcc*) # Portland Group C compiler 8876 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' 8877 tmp_addflag=' $pic_flag' 8878 ;; 8879 pgf77* | pgf90* | pgf95* | pgfortran*) 8880 # Portland Group f77 and f90 compilers 8881 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' 8882 tmp_addflag=' $pic_flag -Mnomain' ;; 8883 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8884 tmp_addflag=' -i_dynamic' ;; 8885 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8886 tmp_addflag=' -i_dynamic -nofor_main' ;; 8887 ifc* | ifort*) # Intel Fortran compiler 8888 tmp_addflag=' -nofor_main' ;; 8889 lf95*) # Lahey Fortran 8.1 8890 whole_archive_flag_spec= 8891 tmp_sharedflag='--shared' ;; 8892 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8893 tmp_sharedflag='-qmkshrobj' 8894 tmp_addflag= ;; 8895 nvcc*) # Cuda Compiler Driver 2.2 8896 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' 8897 compiler_needs_object=yes 8898 ;; 8899 esac 8900 case `$CC -V 2>&1 | sed 5q` in 8901 *Sun\ C*) # Sun C 5.9 8902 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' 8903 compiler_needs_object=yes 8904 tmp_sharedflag='-G' ;; 8905 *Sun\ F*) # Sun Fortran 8.3 8906 tmp_sharedflag='-G' ;; 8907 esac 8908 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8909 8910 if test "x$supports_anon_versioning" = xyes; then 8911 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8912 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8913 echo "local: *; };" >> $output_objdir/$libname.ver~ 8914 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8915 fi 8916 8917 case $cc_basename in 8918 xlf* | bgf* | bgxlf* | mpixlf*) 8919 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8920 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8922 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8923 if test "x$supports_anon_versioning" = xyes; then 8924 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8926 echo "local: *; };" >> $output_objdir/$libname.ver~ 8927 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8928 fi 8929 ;; 8930 esac 8931 else 8932 ld_shlibs=no 8933 fi 8934 ;; 8935 8936 netbsd* | netbsdelf*-gnu) 8937 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8938 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8939 wlarc= 8940 else 8941 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8942 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8943 fi 8944 ;; 8945 8946 solaris*) 8947 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8948 ld_shlibs=no 8949 cat <<_LT_EOF 1>&2 8950 8951*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8952*** create shared libraries on Solaris systems. Therefore, libtool 8953*** is disabling shared libraries support. We urge you to upgrade GNU 8954*** binutils to release 2.9.1 or newer. Another option is to modify 8955*** your PATH or compiler configuration so that the native linker is 8956*** used, and then restart. 8957 8958_LT_EOF 8959 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8961 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8962 else 8963 ld_shlibs=no 8964 fi 8965 ;; 8966 8967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8968 case `$LD -v 2>&1` in 8969 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8970 ld_shlibs=no 8971 cat <<_LT_EOF 1>&2 8972 8973*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8974*** reliably create shared libraries on SCO systems. Therefore, libtool 8975*** is disabling shared libraries support. We urge you to upgrade GNU 8976*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8977*** your PATH or compiler configuration so that the native linker is 8978*** used, and then restart. 8979 8980_LT_EOF 8981 ;; 8982 *) 8983 # For security reasons, it is highly recommended that you always 8984 # use absolute paths for naming shared libraries, and exclude the 8985 # DT_RUNPATH tag from executables and libraries. But doing so 8986 # requires that you compile everything twice, which is a pain. 8987 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8990 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8991 else 8992 ld_shlibs=no 8993 fi 8994 ;; 8995 esac 8996 ;; 8997 8998 sunos4*) 8999 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9000 wlarc= 9001 hardcode_direct=yes 9002 hardcode_shlibpath_var=no 9003 ;; 9004 9005 *) 9006 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9007 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9008 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9009 else 9010 ld_shlibs=no 9011 fi 9012 ;; 9013 esac 9014 9015 if test "$ld_shlibs" = no; then 9016 runpath_var= 9017 hardcode_libdir_flag_spec= 9018 export_dynamic_flag_spec= 9019 whole_archive_flag_spec= 9020 fi 9021 else 9022 # PORTME fill in a description of your system's linker (not GNU ld) 9023 case $host_os in 9024 aix3*) 9025 allow_undefined_flag=unsupported 9026 always_export_symbols=yes 9027 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' 9028 # Note: this linker hardcodes the directories in LIBPATH if there 9029 # are no directories specified by -L. 9030 hardcode_minus_L=yes 9031 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9032 # Neither direct hardcoding nor static linking is supported with a 9033 # broken collect2. 9034 hardcode_direct=unsupported 9035 fi 9036 ;; 9037 9038 aix[4-9]*) 9039 if test "$host_cpu" = ia64; then 9040 # On IA64, the linker does run time linking by default, so we don't 9041 # have to do anything special. 9042 aix_use_runtimelinking=no 9043 exp_sym_flag='-Bexport' 9044 no_entry_flag="" 9045 else 9046 # If we're using GNU nm, then we don't want the "-C" option. 9047 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9048 # Also, AIX nm treats weak defined symbols like other global 9049 # defined symbols, whereas GNU nm marks them as "W". 9050 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9051 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' 9052 else 9053 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' 9054 fi 9055 aix_use_runtimelinking=no 9056 9057 # Test if we are trying to use run time linking or normal 9058 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9059 # need to do runtime linking. 9060 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9061 for ld_flag in $LDFLAGS; do 9062 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9063 aix_use_runtimelinking=yes 9064 break 9065 fi 9066 done 9067 ;; 9068 esac 9069 9070 exp_sym_flag='-bexport' 9071 no_entry_flag='-bnoentry' 9072 fi 9073 9074 # When large executables or shared objects are built, AIX ld can 9075 # have problems creating the table of contents. If linking a library 9076 # or program results in "error TOC overflow" add -mminimal-toc to 9077 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9078 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9079 9080 archive_cmds='' 9081 hardcode_direct=yes 9082 hardcode_direct_absolute=yes 9083 hardcode_libdir_separator=':' 9084 link_all_deplibs=yes 9085 file_list_spec='${wl}-f,' 9086 9087 if test "$GCC" = yes; then 9088 case $host_os in aix4.[012]|aix4.[012].*) 9089 # We only want to do this on AIX 4.2 and lower, the check 9090 # below for broken collect2 doesn't work under 4.3+ 9091 collect2name=`${CC} -print-prog-name=collect2` 9092 if test -f "$collect2name" && 9093 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9094 then 9095 # We have reworked collect2 9096 : 9097 else 9098 # We have old collect2 9099 hardcode_direct=unsupported 9100 # It fails to find uninstalled libraries when the uninstalled 9101 # path is not listed in the libpath. Setting hardcode_minus_L 9102 # to unsupported forces relinking 9103 hardcode_minus_L=yes 9104 hardcode_libdir_flag_spec='-L$libdir' 9105 hardcode_libdir_separator= 9106 fi 9107 ;; 9108 esac 9109 shared_flag='-shared' 9110 if test "$aix_use_runtimelinking" = yes; then 9111 shared_flag="$shared_flag "'${wl}-G' 9112 fi 9113 link_all_deplibs=no 9114 else 9115 # not using gcc 9116 if test "$host_cpu" = ia64; then 9117 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9118 # chokes on -Wl,-G. The following line is correct: 9119 shared_flag='-G' 9120 else 9121 if test "$aix_use_runtimelinking" = yes; then 9122 shared_flag='${wl}-G' 9123 else 9124 shared_flag='${wl}-bM:SRE' 9125 fi 9126 fi 9127 fi 9128 9129 export_dynamic_flag_spec='${wl}-bexpall' 9130 # It seems that -bexpall does not export symbols beginning with 9131 # underscore (_), so it is better to generate a list of symbols to export. 9132 always_export_symbols=yes 9133 if test "$aix_use_runtimelinking" = yes; then 9134 # Warning - without using the other runtime loading flags (-brtl), 9135 # -berok will link without error, but may produce a broken library. 9136 allow_undefined_flag='-berok' 9137 # Determine the default libpath from the value encoded in an 9138 # empty executable. 9139 if test "${lt_cv_aix_libpath+set}" = set; then 9140 aix_libpath=$lt_cv_aix_libpath 9141else 9142 if ${lt_cv_aix_libpath_+:} false; then : 9143 $as_echo_n "(cached) " >&6 9144else 9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9146/* end confdefs.h. */ 9147 9148int 9149main () 9150{ 9151 9152 ; 9153 return 0; 9154} 9155_ACEOF 9156if ac_fn_c_try_link "$LINENO"; then : 9157 9158 lt_aix_libpath_sed=' 9159 /Import File Strings/,/^$/ { 9160 /^0/ { 9161 s/^0 *\([^ ]*\) *$/\1/ 9162 p 9163 } 9164 }' 9165 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9166 # Check for a 64-bit object if we didn't find anything. 9167 if test -z "$lt_cv_aix_libpath_"; then 9168 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9169 fi 9170fi 9171rm -f core conftest.err conftest.$ac_objext \ 9172 conftest$ac_exeext conftest.$ac_ext 9173 if test -z "$lt_cv_aix_libpath_"; then 9174 lt_cv_aix_libpath_="/usr/lib:/lib" 9175 fi 9176 9177fi 9178 9179 aix_libpath=$lt_cv_aix_libpath_ 9180fi 9181 9182 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9183 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" 9184 else 9185 if test "$host_cpu" = ia64; then 9186 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9187 allow_undefined_flag="-z nodefs" 9188 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" 9189 else 9190 # Determine the default libpath from the value encoded in an 9191 # empty executable. 9192 if test "${lt_cv_aix_libpath+set}" = set; then 9193 aix_libpath=$lt_cv_aix_libpath 9194else 9195 if ${lt_cv_aix_libpath_+:} false; then : 9196 $as_echo_n "(cached) " >&6 9197else 9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9199/* end confdefs.h. */ 9200 9201int 9202main () 9203{ 9204 9205 ; 9206 return 0; 9207} 9208_ACEOF 9209if ac_fn_c_try_link "$LINENO"; then : 9210 9211 lt_aix_libpath_sed=' 9212 /Import File Strings/,/^$/ { 9213 /^0/ { 9214 s/^0 *\([^ ]*\) *$/\1/ 9215 p 9216 } 9217 }' 9218 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9219 # Check for a 64-bit object if we didn't find anything. 9220 if test -z "$lt_cv_aix_libpath_"; then 9221 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9222 fi 9223fi 9224rm -f core conftest.err conftest.$ac_objext \ 9225 conftest$ac_exeext conftest.$ac_ext 9226 if test -z "$lt_cv_aix_libpath_"; then 9227 lt_cv_aix_libpath_="/usr/lib:/lib" 9228 fi 9229 9230fi 9231 9232 aix_libpath=$lt_cv_aix_libpath_ 9233fi 9234 9235 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9236 # Warning - without using the other run time loading flags, 9237 # -berok will link without error, but may produce a broken library. 9238 no_undefined_flag=' ${wl}-bernotok' 9239 allow_undefined_flag=' ${wl}-berok' 9240 if test "$with_gnu_ld" = yes; then 9241 # We only use this code for GNU lds that support --whole-archive. 9242 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9243 else 9244 # Exported symbols can be pulled into shared objects from archives 9245 whole_archive_flag_spec='$convenience' 9246 fi 9247 archive_cmds_need_lc=yes 9248 # This is similar to how AIX traditionally builds its shared libraries. 9249 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' 9250 fi 9251 fi 9252 ;; 9253 9254 amigaos*) 9255 case $host_cpu in 9256 powerpc) 9257 # see comment about AmigaOS4 .so support 9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9259 archive_expsym_cmds='' 9260 ;; 9261 m68k) 9262 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)' 9263 hardcode_libdir_flag_spec='-L$libdir' 9264 hardcode_minus_L=yes 9265 ;; 9266 esac 9267 ;; 9268 9269 bsdi[45]*) 9270 export_dynamic_flag_spec=-rdynamic 9271 ;; 9272 9273 cygwin* | mingw* | pw32* | cegcc*) 9274 # When not using gcc, we currently assume that we are using 9275 # Microsoft Visual C++. 9276 # hardcode_libdir_flag_spec is actually meaningless, as there is 9277 # no search path for DLLs. 9278 case $cc_basename in 9279 cl*) 9280 # Native MSVC 9281 hardcode_libdir_flag_spec=' ' 9282 allow_undefined_flag=unsupported 9283 always_export_symbols=yes 9284 file_list_spec='@' 9285 # Tell ltmain to make .lib files, not .a files. 9286 libext=lib 9287 # Tell ltmain to make .dll files, not .so files. 9288 shrext_cmds=".dll" 9289 # FIXME: Setting linknames here is a bad hack. 9290 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9291 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9292 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9293 else 9294 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9295 fi~ 9296 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9297 linknames=' 9298 # The linker will not automatically build a static lib if we build a DLL. 9299 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9300 enable_shared_with_static_runtimes=yes 9301 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9302 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9303 # Don't use ranlib 9304 old_postinstall_cmds='chmod 644 $oldlib' 9305 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9306 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9307 case $lt_outputfile in 9308 *.exe|*.EXE) ;; 9309 *) 9310 lt_outputfile="$lt_outputfile.exe" 9311 lt_tool_outputfile="$lt_tool_outputfile.exe" 9312 ;; 9313 esac~ 9314 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9315 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9316 $RM "$lt_outputfile.manifest"; 9317 fi' 9318 ;; 9319 *) 9320 # Assume MSVC wrapper 9321 hardcode_libdir_flag_spec=' ' 9322 allow_undefined_flag=unsupported 9323 # Tell ltmain to make .lib files, not .a files. 9324 libext=lib 9325 # Tell ltmain to make .dll files, not .so files. 9326 shrext_cmds=".dll" 9327 # FIXME: Setting linknames here is a bad hack. 9328 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9329 # The linker will automatically build a .lib file if we build a DLL. 9330 old_archive_from_new_cmds='true' 9331 # FIXME: Should let the user specify the lib program. 9332 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9333 enable_shared_with_static_runtimes=yes 9334 ;; 9335 esac 9336 ;; 9337 9338 darwin* | rhapsody*) 9339 9340 9341 archive_cmds_need_lc=no 9342 hardcode_direct=no 9343 hardcode_automatic=yes 9344 hardcode_shlibpath_var=unsupported 9345 if test "$lt_cv_ld_force_load" = "yes"; then 9346 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\"`' 9347 9348 else 9349 whole_archive_flag_spec='' 9350 fi 9351 link_all_deplibs=yes 9352 allow_undefined_flag="$_lt_dar_allow_undefined" 9353 case $cc_basename in 9354 ifort*) _lt_dar_can_shared=yes ;; 9355 *) _lt_dar_can_shared=$GCC ;; 9356 esac 9357 if test "$_lt_dar_can_shared" = "yes"; then 9358 output_verbose_link_cmd=func_echo_all 9359 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9360 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9361 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}" 9362 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}" 9363 9364 else 9365 ld_shlibs=no 9366 fi 9367 9368 ;; 9369 9370 dgux*) 9371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9372 hardcode_libdir_flag_spec='-L$libdir' 9373 hardcode_shlibpath_var=no 9374 ;; 9375 9376 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9377 # support. Future versions do this automatically, but an explicit c++rt0.o 9378 # does not break anything, and helps significantly (at the cost of a little 9379 # extra space). 9380 freebsd2.2*) 9381 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9382 hardcode_libdir_flag_spec='-R$libdir' 9383 hardcode_direct=yes 9384 hardcode_shlibpath_var=no 9385 ;; 9386 9387 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9388 freebsd2.*) 9389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9390 hardcode_direct=yes 9391 hardcode_minus_L=yes 9392 hardcode_shlibpath_var=no 9393 ;; 9394 9395 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9396 freebsd* | dragonfly*) 9397 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9398 hardcode_libdir_flag_spec='-R$libdir' 9399 hardcode_direct=yes 9400 hardcode_shlibpath_var=no 9401 ;; 9402 9403 hpux9*) 9404 if test "$GCC" = yes; then 9405 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' 9406 else 9407 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' 9408 fi 9409 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9410 hardcode_libdir_separator=: 9411 hardcode_direct=yes 9412 9413 # hardcode_minus_L: Not really in the search PATH, 9414 # but as the default location of the library. 9415 hardcode_minus_L=yes 9416 export_dynamic_flag_spec='${wl}-E' 9417 ;; 9418 9419 hpux10*) 9420 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9421 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9422 else 9423 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9424 fi 9425 if test "$with_gnu_ld" = no; then 9426 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9427 hardcode_libdir_separator=: 9428 hardcode_direct=yes 9429 hardcode_direct_absolute=yes 9430 export_dynamic_flag_spec='${wl}-E' 9431 # hardcode_minus_L: Not really in the search PATH, 9432 # but as the default location of the library. 9433 hardcode_minus_L=yes 9434 fi 9435 ;; 9436 9437 hpux11*) 9438 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9439 case $host_cpu in 9440 hppa*64*) 9441 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9442 ;; 9443 ia64*) 9444 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9445 ;; 9446 *) 9447 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9448 ;; 9449 esac 9450 else 9451 case $host_cpu in 9452 hppa*64*) 9453 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9454 ;; 9455 ia64*) 9456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9457 ;; 9458 *) 9459 9460 # Older versions of the 11.00 compiler do not understand -b yet 9461 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9463$as_echo_n "checking if $CC understands -b... " >&6; } 9464if ${lt_cv_prog_compiler__b+:} false; then : 9465 $as_echo_n "(cached) " >&6 9466else 9467 lt_cv_prog_compiler__b=no 9468 save_LDFLAGS="$LDFLAGS" 9469 LDFLAGS="$LDFLAGS -b" 9470 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9471 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9472 # The linker can only warn and ignore the option if not recognized 9473 # So say no if there are warnings 9474 if test -s conftest.err; then 9475 # Append any errors to the config.log. 9476 cat conftest.err 1>&5 9477 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9478 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9479 if diff conftest.exp conftest.er2 >/dev/null; then 9480 lt_cv_prog_compiler__b=yes 9481 fi 9482 else 9483 lt_cv_prog_compiler__b=yes 9484 fi 9485 fi 9486 $RM -r conftest* 9487 LDFLAGS="$save_LDFLAGS" 9488 9489fi 9490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9491$as_echo "$lt_cv_prog_compiler__b" >&6; } 9492 9493if test x"$lt_cv_prog_compiler__b" = xyes; then 9494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9495else 9496 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9497fi 9498 9499 ;; 9500 esac 9501 fi 9502 if test "$with_gnu_ld" = no; then 9503 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9504 hardcode_libdir_separator=: 9505 9506 case $host_cpu in 9507 hppa*64*|ia64*) 9508 hardcode_direct=no 9509 hardcode_shlibpath_var=no 9510 ;; 9511 *) 9512 hardcode_direct=yes 9513 hardcode_direct_absolute=yes 9514 export_dynamic_flag_spec='${wl}-E' 9515 9516 # hardcode_minus_L: Not really in the search PATH, 9517 # but as the default location of the library. 9518 hardcode_minus_L=yes 9519 ;; 9520 esac 9521 fi 9522 ;; 9523 9524 irix5* | irix6* | nonstopux*) 9525 if test "$GCC" = yes; then 9526 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' 9527 # Try to use the -exported_symbol ld option, if it does not 9528 # work, assume that -exports_file does not work either and 9529 # implicitly export all symbols. 9530 # This should be the same for all languages, so no per-tag cache variable. 9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9532$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9533if ${lt_cv_irix_exported_symbol+:} false; then : 9534 $as_echo_n "(cached) " >&6 9535else 9536 save_LDFLAGS="$LDFLAGS" 9537 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9539/* end confdefs.h. */ 9540int foo (void) { return 0; } 9541_ACEOF 9542if ac_fn_c_try_link "$LINENO"; then : 9543 lt_cv_irix_exported_symbol=yes 9544else 9545 lt_cv_irix_exported_symbol=no 9546fi 9547rm -f core conftest.err conftest.$ac_objext \ 9548 conftest$ac_exeext conftest.$ac_ext 9549 LDFLAGS="$save_LDFLAGS" 9550fi 9551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9552$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9553 if test "$lt_cv_irix_exported_symbol" = yes; then 9554 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' 9555 fi 9556 else 9557 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' 9558 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' 9559 fi 9560 archive_cmds_need_lc='no' 9561 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9562 hardcode_libdir_separator=: 9563 inherit_rpath=yes 9564 link_all_deplibs=yes 9565 ;; 9566 9567 netbsd* | netbsdelf*-gnu) 9568 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9570 else 9571 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9572 fi 9573 hardcode_libdir_flag_spec='-R$libdir' 9574 hardcode_direct=yes 9575 hardcode_shlibpath_var=no 9576 ;; 9577 9578 newsos6) 9579 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9580 hardcode_direct=yes 9581 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9582 hardcode_libdir_separator=: 9583 hardcode_shlibpath_var=no 9584 ;; 9585 9586 *nto* | *qnx*) 9587 ;; 9588 9589 openbsd*) 9590 if test -f /usr/libexec/ld.so; then 9591 hardcode_direct=yes 9592 hardcode_shlibpath_var=no 9593 hardcode_direct_absolute=yes 9594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9595 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9596 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9598 export_dynamic_flag_spec='${wl}-E' 9599 else 9600 case $host_os in 9601 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9602 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9603 hardcode_libdir_flag_spec='-R$libdir' 9604 ;; 9605 *) 9606 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9607 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9608 ;; 9609 esac 9610 fi 9611 else 9612 ld_shlibs=no 9613 fi 9614 ;; 9615 9616 os2*) 9617 hardcode_libdir_flag_spec='-L$libdir' 9618 hardcode_minus_L=yes 9619 allow_undefined_flag=unsupported 9620 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' 9621 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9622 ;; 9623 9624 osf3*) 9625 if test "$GCC" = yes; then 9626 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9627 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' 9628 else 9629 allow_undefined_flag=' -expect_unresolved \*' 9630 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' 9631 fi 9632 archive_cmds_need_lc='no' 9633 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9634 hardcode_libdir_separator=: 9635 ;; 9636 9637 osf4* | osf5*) # as osf3* with the addition of -msym flag 9638 if test "$GCC" = yes; then 9639 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9640 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' 9641 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9642 else 9643 allow_undefined_flag=' -expect_unresolved \*' 9644 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' 9645 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~ 9646 $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' 9647 9648 # Both c and cxx compiler support -rpath directly 9649 hardcode_libdir_flag_spec='-rpath $libdir' 9650 fi 9651 archive_cmds_need_lc='no' 9652 hardcode_libdir_separator=: 9653 ;; 9654 9655 solaris*) 9656 no_undefined_flag=' -z defs' 9657 if test "$GCC" = yes; then 9658 wlarc='${wl}' 9659 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9661 $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' 9662 else 9663 case `$CC -V 2>&1` in 9664 *"Compilers 5.0"*) 9665 wlarc='' 9666 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9667 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9668 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9669 ;; 9670 *) 9671 wlarc='${wl}' 9672 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9673 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9674 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9675 ;; 9676 esac 9677 fi 9678 hardcode_libdir_flag_spec='-R$libdir' 9679 hardcode_shlibpath_var=no 9680 case $host_os in 9681 solaris2.[0-5] | solaris2.[0-5].*) ;; 9682 *) 9683 # The compiler driver will combine and reorder linker options, 9684 # but understands `-z linker_flag'. GCC discards it without `$wl', 9685 # but is careful enough not to reorder. 9686 # Supported since Solaris 2.6 (maybe 2.5.1?) 9687 if test "$GCC" = yes; then 9688 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9689 else 9690 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9691 fi 9692 ;; 9693 esac 9694 link_all_deplibs=yes 9695 ;; 9696 9697 sunos4*) 9698 if test "x$host_vendor" = xsequent; then 9699 # Use $CC to link under sequent, because it throws in some extra .o 9700 # files that make .init and .fini sections work. 9701 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9702 else 9703 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9704 fi 9705 hardcode_libdir_flag_spec='-L$libdir' 9706 hardcode_direct=yes 9707 hardcode_minus_L=yes 9708 hardcode_shlibpath_var=no 9709 ;; 9710 9711 sysv4) 9712 case $host_vendor in 9713 sni) 9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9715 hardcode_direct=yes # is this really true??? 9716 ;; 9717 siemens) 9718 ## LD is ld it makes a PLAMLIB 9719 ## CC just makes a GrossModule. 9720 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9721 reload_cmds='$CC -r -o $output$reload_objs' 9722 hardcode_direct=no 9723 ;; 9724 motorola) 9725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9726 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9727 ;; 9728 esac 9729 runpath_var='LD_RUN_PATH' 9730 hardcode_shlibpath_var=no 9731 ;; 9732 9733 sysv4.3*) 9734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9735 hardcode_shlibpath_var=no 9736 export_dynamic_flag_spec='-Bexport' 9737 ;; 9738 9739 sysv4*MP*) 9740 if test -d /usr/nec; then 9741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9742 hardcode_shlibpath_var=no 9743 runpath_var=LD_RUN_PATH 9744 hardcode_runpath_var=yes 9745 ld_shlibs=yes 9746 fi 9747 ;; 9748 9749 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9750 no_undefined_flag='${wl}-z,text' 9751 archive_cmds_need_lc=no 9752 hardcode_shlibpath_var=no 9753 runpath_var='LD_RUN_PATH' 9754 9755 if test "$GCC" = yes; then 9756 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9757 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9758 else 9759 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9760 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9761 fi 9762 ;; 9763 9764 sysv5* | sco3.2v5* | sco5v6*) 9765 # Note: We can NOT use -z defs as we might desire, because we do not 9766 # link with -lc, and that would cause any symbols used from libc to 9767 # always be unresolved, which means just about no library would 9768 # ever link correctly. If we're not using GNU ld we use -z text 9769 # though, which does catch some bad symbols but isn't as heavy-handed 9770 # as -z defs. 9771 no_undefined_flag='${wl}-z,text' 9772 allow_undefined_flag='${wl}-z,nodefs' 9773 archive_cmds_need_lc=no 9774 hardcode_shlibpath_var=no 9775 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9776 hardcode_libdir_separator=':' 9777 link_all_deplibs=yes 9778 export_dynamic_flag_spec='${wl}-Bexport' 9779 runpath_var='LD_RUN_PATH' 9780 9781 if test "$GCC" = yes; then 9782 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9783 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9784 else 9785 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9786 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9787 fi 9788 ;; 9789 9790 uts4*) 9791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9792 hardcode_libdir_flag_spec='-L$libdir' 9793 hardcode_shlibpath_var=no 9794 ;; 9795 9796 *) 9797 ld_shlibs=no 9798 ;; 9799 esac 9800 9801 if test x$host_vendor = xsni; then 9802 case $host in 9803 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9804 export_dynamic_flag_spec='${wl}-Blargedynsym' 9805 ;; 9806 esac 9807 fi 9808 fi 9809 9810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9811$as_echo "$ld_shlibs" >&6; } 9812test "$ld_shlibs" = no && can_build_shared=no 9813 9814with_gnu_ld=$with_gnu_ld 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830# 9831# Do we need to explicitly link libc? 9832# 9833case "x$archive_cmds_need_lc" in 9834x|xyes) 9835 # Assume -lc should be added 9836 archive_cmds_need_lc=yes 9837 9838 if test "$enable_shared" = yes && test "$GCC" = yes; then 9839 case $archive_cmds in 9840 *'~'*) 9841 # FIXME: we may have to deal with multi-command sequences. 9842 ;; 9843 '$CC '*) 9844 # Test whether the compiler implicitly links with -lc since on some 9845 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9846 # to ld, don't add -lc before -lgcc. 9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9848$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9849if ${lt_cv_archive_cmds_need_lc+:} false; then : 9850 $as_echo_n "(cached) " >&6 9851else 9852 $RM conftest* 9853 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9854 9855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9856 (eval $ac_compile) 2>&5 9857 ac_status=$? 9858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9859 test $ac_status = 0; } 2>conftest.err; then 9860 soname=conftest 9861 lib=conftest 9862 libobjs=conftest.$ac_objext 9863 deplibs= 9864 wl=$lt_prog_compiler_wl 9865 pic_flag=$lt_prog_compiler_pic 9866 compiler_flags=-v 9867 linker_flags=-v 9868 verstring= 9869 output_objdir=. 9870 libname=conftest 9871 lt_save_allow_undefined_flag=$allow_undefined_flag 9872 allow_undefined_flag= 9873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9874 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9875 ac_status=$? 9876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9877 test $ac_status = 0; } 9878 then 9879 lt_cv_archive_cmds_need_lc=no 9880 else 9881 lt_cv_archive_cmds_need_lc=yes 9882 fi 9883 allow_undefined_flag=$lt_save_allow_undefined_flag 9884 else 9885 cat conftest.err 1>&5 9886 fi 9887 $RM conftest* 9888 9889fi 9890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9891$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9892 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9893 ;; 9894 esac 9895 fi 9896 ;; 9897esac 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10051$as_echo_n "checking dynamic linker characteristics... " >&6; } 10052 10053if test "$GCC" = yes; then 10054 case $host_os in 10055 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10056 *) lt_awk_arg="/^libraries:/" ;; 10057 esac 10058 case $host_os in 10059 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10060 *) lt_sed_strip_eq="s,=/,/,g" ;; 10061 esac 10062 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10063 case $lt_search_path_spec in 10064 *\;*) 10065 # if the path contains ";" then we assume it to be the separator 10066 # otherwise default to the standard path separator (i.e. ":") - it is 10067 # assumed that no part of a normal pathname contains ";" but that should 10068 # okay in the real world where ";" in dirpaths is itself problematic. 10069 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10070 ;; 10071 *) 10072 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10073 ;; 10074 esac 10075 # Ok, now we have the path, separated by spaces, we can step through it 10076 # and add multilib dir if necessary. 10077 lt_tmp_lt_search_path_spec= 10078 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10079 for lt_sys_path in $lt_search_path_spec; do 10080 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10081 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10082 else 10083 test -d "$lt_sys_path" && \ 10084 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10085 fi 10086 done 10087 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10088BEGIN {RS=" "; FS="/|\n";} { 10089 lt_foo=""; 10090 lt_count=0; 10091 for (lt_i = NF; lt_i > 0; lt_i--) { 10092 if ($lt_i != "" && $lt_i != ".") { 10093 if ($lt_i == "..") { 10094 lt_count++; 10095 } else { 10096 if (lt_count == 0) { 10097 lt_foo="/" $lt_i lt_foo; 10098 } else { 10099 lt_count--; 10100 } 10101 } 10102 } 10103 } 10104 if (lt_foo != "") { lt_freq[lt_foo]++; } 10105 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10106}'` 10107 # AWK program above erroneously prepends '/' to C:/dos/paths 10108 # for these hosts. 10109 case $host_os in 10110 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10111 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10112 esac 10113 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10114else 10115 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10116fi 10117library_names_spec= 10118libname_spec='lib$name' 10119soname_spec= 10120shrext_cmds=".so" 10121postinstall_cmds= 10122postuninstall_cmds= 10123finish_cmds= 10124finish_eval= 10125shlibpath_var= 10126shlibpath_overrides_runpath=unknown 10127version_type=none 10128dynamic_linker="$host_os ld.so" 10129sys_lib_dlsearch_path_spec="/lib /usr/lib" 10130need_lib_prefix=unknown 10131hardcode_into_libs=no 10132 10133# when you set need_version to no, make sure it does not cause -set_version 10134# flags to be left without arguments 10135need_version=unknown 10136 10137case $host_os in 10138aix3*) 10139 version_type=linux # correct to gnu/linux during the next big refactor 10140 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10141 shlibpath_var=LIBPATH 10142 10143 # AIX 3 has no versioning support, so we append a major version to the name. 10144 soname_spec='${libname}${release}${shared_ext}$major' 10145 ;; 10146 10147aix[4-9]*) 10148 version_type=linux # correct to gnu/linux during the next big refactor 10149 need_lib_prefix=no 10150 need_version=no 10151 hardcode_into_libs=yes 10152 if test "$host_cpu" = ia64; then 10153 # AIX 5 supports IA64 10154 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10155 shlibpath_var=LD_LIBRARY_PATH 10156 else 10157 # With GCC up to 2.95.x, collect2 would create an import file 10158 # for dependence libraries. The import file would start with 10159 # the line `#! .'. This would cause the generated library to 10160 # depend on `.', always an invalid library. This was fixed in 10161 # development snapshots of GCC prior to 3.0. 10162 case $host_os in 10163 aix4 | aix4.[01] | aix4.[01].*) 10164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10165 echo ' yes ' 10166 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10167 : 10168 else 10169 can_build_shared=no 10170 fi 10171 ;; 10172 esac 10173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10174 # soname into executable. Probably we can add versioning support to 10175 # collect2, so additional links can be useful in future. 10176 if test "$aix_use_runtimelinking" = yes; then 10177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10178 # instead of lib<name>.a to let people know that these are not 10179 # typical AIX shared libraries. 10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10181 else 10182 # We preserve .a as extension for shared libraries through AIX4.2 10183 # and later when we are not doing run time linking. 10184 library_names_spec='${libname}${release}.a $libname.a' 10185 soname_spec='${libname}${release}${shared_ext}$major' 10186 fi 10187 shlibpath_var=LIBPATH 10188 fi 10189 ;; 10190 10191amigaos*) 10192 case $host_cpu in 10193 powerpc) 10194 # Since July 2007 AmigaOS4 officially supports .so libraries. 10195 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10197 ;; 10198 m68k) 10199 library_names_spec='$libname.ixlibrary $libname.a' 10200 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10201 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' 10202 ;; 10203 esac 10204 ;; 10205 10206beos*) 10207 library_names_spec='${libname}${shared_ext}' 10208 dynamic_linker="$host_os ld.so" 10209 shlibpath_var=LIBRARY_PATH 10210 ;; 10211 10212bsdi[45]*) 10213 version_type=linux # correct to gnu/linux during the next big refactor 10214 need_version=no 10215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10216 soname_spec='${libname}${release}${shared_ext}$major' 10217 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10218 shlibpath_var=LD_LIBRARY_PATH 10219 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10220 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10221 # the default ld.so.conf also contains /usr/contrib/lib and 10222 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10223 # libtool to hard-code these into programs 10224 ;; 10225 10226cygwin* | mingw* | pw32* | cegcc*) 10227 version_type=windows 10228 shrext_cmds=".dll" 10229 need_version=no 10230 need_lib_prefix=no 10231 10232 case $GCC,$cc_basename in 10233 yes,*) 10234 # gcc 10235 library_names_spec='$libname.dll.a' 10236 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10237 postinstall_cmds='base_file=`basename \${file}`~ 10238 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10239 dldir=$destdir/`dirname \$dlpath`~ 10240 test -d \$dldir || mkdir -p \$dldir~ 10241 $install_prog $dir/$dlname \$dldir/$dlname~ 10242 chmod a+x \$dldir/$dlname~ 10243 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10244 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10245 fi' 10246 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10247 dlpath=$dir/\$dldll~ 10248 $RM \$dlpath' 10249 shlibpath_overrides_runpath=yes 10250 10251 case $host_os in 10252 cygwin*) 10253 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10254 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10255 10256 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10257 ;; 10258 mingw* | cegcc*) 10259 # MinGW DLLs use traditional 'lib' prefix 10260 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10261 ;; 10262 pw32*) 10263 # pw32 DLLs use 'pw' prefix rather than 'lib' 10264 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10265 ;; 10266 esac 10267 dynamic_linker='Win32 ld.exe' 10268 ;; 10269 10270 *,cl*) 10271 # Native MSVC 10272 libname_spec='$name' 10273 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10274 library_names_spec='${libname}.dll.lib' 10275 10276 case $build_os in 10277 mingw*) 10278 sys_lib_search_path_spec= 10279 lt_save_ifs=$IFS 10280 IFS=';' 10281 for lt_path in $LIB 10282 do 10283 IFS=$lt_save_ifs 10284 # Let DOS variable expansion print the short 8.3 style file name. 10285 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10286 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10287 done 10288 IFS=$lt_save_ifs 10289 # Convert to MSYS style. 10290 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10291 ;; 10292 cygwin*) 10293 # Convert to unix form, then to dos form, then back to unix form 10294 # but this time dos style (no spaces!) so that the unix form looks 10295 # like /cygdrive/c/PROGRA~1:/cygdr... 10296 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10297 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10298 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10299 ;; 10300 *) 10301 sys_lib_search_path_spec="$LIB" 10302 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10303 # It is most probably a Windows format PATH. 10304 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10305 else 10306 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10307 fi 10308 # FIXME: find the short name or the path components, as spaces are 10309 # common. (e.g. "Program Files" -> "PROGRA~1") 10310 ;; 10311 esac 10312 10313 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10314 postinstall_cmds='base_file=`basename \${file}`~ 10315 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10316 dldir=$destdir/`dirname \$dlpath`~ 10317 test -d \$dldir || mkdir -p \$dldir~ 10318 $install_prog $dir/$dlname \$dldir/$dlname' 10319 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10320 dlpath=$dir/\$dldll~ 10321 $RM \$dlpath' 10322 shlibpath_overrides_runpath=yes 10323 dynamic_linker='Win32 link.exe' 10324 ;; 10325 10326 *) 10327 # Assume MSVC wrapper 10328 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10329 dynamic_linker='Win32 ld.exe' 10330 ;; 10331 esac 10332 # FIXME: first we should search . and the directory the executable is in 10333 shlibpath_var=PATH 10334 ;; 10335 10336darwin* | rhapsody*) 10337 dynamic_linker="$host_os dyld" 10338 version_type=darwin 10339 need_lib_prefix=no 10340 need_version=no 10341 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10342 soname_spec='${libname}${release}${major}$shared_ext' 10343 shlibpath_overrides_runpath=yes 10344 shlibpath_var=DYLD_LIBRARY_PATH 10345 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10346 10347 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10348 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10349 ;; 10350 10351dgux*) 10352 version_type=linux # correct to gnu/linux during the next big refactor 10353 need_lib_prefix=no 10354 need_version=no 10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10356 soname_spec='${libname}${release}${shared_ext}$major' 10357 shlibpath_var=LD_LIBRARY_PATH 10358 ;; 10359 10360freebsd* | dragonfly*) 10361 # DragonFly does not have aout. When/if they implement a new 10362 # versioning mechanism, adjust this. 10363 if test -x /usr/bin/objformat; then 10364 objformat=`/usr/bin/objformat` 10365 else 10366 case $host_os in 10367 freebsd[23].*) objformat=aout ;; 10368 *) objformat=elf ;; 10369 esac 10370 fi 10371 version_type=freebsd-$objformat 10372 case $version_type in 10373 freebsd-elf*) 10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10375 need_version=no 10376 need_lib_prefix=no 10377 ;; 10378 freebsd-*) 10379 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10380 need_version=yes 10381 ;; 10382 esac 10383 shlibpath_var=LD_LIBRARY_PATH 10384 case $host_os in 10385 freebsd2.*) 10386 shlibpath_overrides_runpath=yes 10387 ;; 10388 freebsd3.[01]* | freebsdelf3.[01]*) 10389 shlibpath_overrides_runpath=yes 10390 hardcode_into_libs=yes 10391 ;; 10392 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10393 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10394 shlibpath_overrides_runpath=no 10395 hardcode_into_libs=yes 10396 ;; 10397 *) # from 4.6 on, and DragonFly 10398 shlibpath_overrides_runpath=yes 10399 hardcode_into_libs=yes 10400 ;; 10401 esac 10402 ;; 10403 10404gnu*) 10405 version_type=linux # correct to gnu/linux during the next big refactor 10406 need_lib_prefix=no 10407 need_version=no 10408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10409 soname_spec='${libname}${release}${shared_ext}$major' 10410 shlibpath_var=LD_LIBRARY_PATH 10411 shlibpath_overrides_runpath=no 10412 hardcode_into_libs=yes 10413 ;; 10414 10415haiku*) 10416 version_type=linux # correct to gnu/linux during the next big refactor 10417 need_lib_prefix=no 10418 need_version=no 10419 dynamic_linker="$host_os runtime_loader" 10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10421 soname_spec='${libname}${release}${shared_ext}$major' 10422 shlibpath_var=LIBRARY_PATH 10423 shlibpath_overrides_runpath=yes 10424 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10425 hardcode_into_libs=yes 10426 ;; 10427 10428hpux9* | hpux10* | hpux11*) 10429 # Give a soname corresponding to the major version so that dld.sl refuses to 10430 # link against other versions. 10431 version_type=sunos 10432 need_lib_prefix=no 10433 need_version=no 10434 case $host_cpu in 10435 ia64*) 10436 shrext_cmds='.so' 10437 hardcode_into_libs=yes 10438 dynamic_linker="$host_os dld.so" 10439 shlibpath_var=LD_LIBRARY_PATH 10440 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10442 soname_spec='${libname}${release}${shared_ext}$major' 10443 if test "X$HPUX_IA64_MODE" = X32; then 10444 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10445 else 10446 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10447 fi 10448 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10449 ;; 10450 hppa*64*) 10451 shrext_cmds='.sl' 10452 hardcode_into_libs=yes 10453 dynamic_linker="$host_os dld.sl" 10454 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10455 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10457 soname_spec='${libname}${release}${shared_ext}$major' 10458 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10459 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10460 ;; 10461 *) 10462 shrext_cmds='.sl' 10463 dynamic_linker="$host_os dld.sl" 10464 shlibpath_var=SHLIB_PATH 10465 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10467 soname_spec='${libname}${release}${shared_ext}$major' 10468 ;; 10469 esac 10470 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10471 postinstall_cmds='chmod 555 $lib' 10472 # or fails outright, so override atomically: 10473 install_override_mode=555 10474 ;; 10475 10476interix[3-9]*) 10477 version_type=linux # correct to gnu/linux during the next big refactor 10478 need_lib_prefix=no 10479 need_version=no 10480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10481 soname_spec='${libname}${release}${shared_ext}$major' 10482 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10483 shlibpath_var=LD_LIBRARY_PATH 10484 shlibpath_overrides_runpath=no 10485 hardcode_into_libs=yes 10486 ;; 10487 10488irix5* | irix6* | nonstopux*) 10489 case $host_os in 10490 nonstopux*) version_type=nonstopux ;; 10491 *) 10492 if test "$lt_cv_prog_gnu_ld" = yes; then 10493 version_type=linux # correct to gnu/linux during the next big refactor 10494 else 10495 version_type=irix 10496 fi ;; 10497 esac 10498 need_lib_prefix=no 10499 need_version=no 10500 soname_spec='${libname}${release}${shared_ext}$major' 10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10502 case $host_os in 10503 irix5* | nonstopux*) 10504 libsuff= shlibsuff= 10505 ;; 10506 *) 10507 case $LD in # libtool.m4 will add one of these switches to LD 10508 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10509 libsuff= shlibsuff= libmagic=32-bit;; 10510 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10511 libsuff=32 shlibsuff=N32 libmagic=N32;; 10512 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10513 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10514 *) libsuff= shlibsuff= libmagic=never-match;; 10515 esac 10516 ;; 10517 esac 10518 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10519 shlibpath_overrides_runpath=no 10520 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10521 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10522 hardcode_into_libs=yes 10523 ;; 10524 10525# No shared lib support for Linux oldld, aout, or coff. 10526linux*oldld* | linux*aout* | linux*coff*) 10527 dynamic_linker=no 10528 ;; 10529 10530# This must be glibc/ELF. 10531linux* | k*bsd*-gnu | kopensolaris*-gnu) 10532 version_type=linux # correct to gnu/linux during the next big refactor 10533 need_lib_prefix=no 10534 need_version=no 10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10536 soname_spec='${libname}${release}${shared_ext}$major' 10537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10538 shlibpath_var=LD_LIBRARY_PATH 10539 shlibpath_overrides_runpath=no 10540 10541 # Some binutils ld are patched to set DT_RUNPATH 10542 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10543 $as_echo_n "(cached) " >&6 10544else 10545 lt_cv_shlibpath_overrides_runpath=no 10546 save_LDFLAGS=$LDFLAGS 10547 save_libdir=$libdir 10548 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10549 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10551/* end confdefs.h. */ 10552 10553int 10554main () 10555{ 10556 10557 ; 10558 return 0; 10559} 10560_ACEOF 10561if ac_fn_c_try_link "$LINENO"; then : 10562 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10563 lt_cv_shlibpath_overrides_runpath=yes 10564fi 10565fi 10566rm -f core conftest.err conftest.$ac_objext \ 10567 conftest$ac_exeext conftest.$ac_ext 10568 LDFLAGS=$save_LDFLAGS 10569 libdir=$save_libdir 10570 10571fi 10572 10573 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10574 10575 # This implies no fast_install, which is unacceptable. 10576 # Some rework will be needed to allow for fast_install 10577 # before this can be enabled. 10578 hardcode_into_libs=yes 10579 10580 # Append ld.so.conf contents to the search path 10581 if test -f /etc/ld.so.conf; then 10582 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' ' '` 10583 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10584 fi 10585 10586 # We used to test for /lib/ld.so.1 and disable shared libraries on 10587 # powerpc, because MkLinux only supported shared libraries with the 10588 # GNU dynamic linker. Since this was broken with cross compilers, 10589 # most powerpc-linux boxes support dynamic linking these days and 10590 # people can always --disable-shared, the test was removed, and we 10591 # assume the GNU/Linux dynamic linker is in use. 10592 dynamic_linker='GNU/Linux ld.so' 10593 ;; 10594 10595netbsdelf*-gnu) 10596 version_type=linux 10597 need_lib_prefix=no 10598 need_version=no 10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10600 soname_spec='${libname}${release}${shared_ext}$major' 10601 shlibpath_var=LD_LIBRARY_PATH 10602 shlibpath_overrides_runpath=no 10603 hardcode_into_libs=yes 10604 dynamic_linker='NetBSD ld.elf_so' 10605 ;; 10606 10607netbsd*) 10608 version_type=sunos 10609 need_lib_prefix=no 10610 need_version=no 10611 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10613 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10614 dynamic_linker='NetBSD (a.out) ld.so' 10615 else 10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10617 soname_spec='${libname}${release}${shared_ext}$major' 10618 dynamic_linker='NetBSD ld.elf_so' 10619 fi 10620 shlibpath_var=LD_LIBRARY_PATH 10621 shlibpath_overrides_runpath=yes 10622 hardcode_into_libs=yes 10623 ;; 10624 10625newsos6) 10626 version_type=linux # correct to gnu/linux during the next big refactor 10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10628 shlibpath_var=LD_LIBRARY_PATH 10629 shlibpath_overrides_runpath=yes 10630 ;; 10631 10632*nto* | *qnx*) 10633 version_type=qnx 10634 need_lib_prefix=no 10635 need_version=no 10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10637 soname_spec='${libname}${release}${shared_ext}$major' 10638 shlibpath_var=LD_LIBRARY_PATH 10639 shlibpath_overrides_runpath=no 10640 hardcode_into_libs=yes 10641 dynamic_linker='ldqnx.so' 10642 ;; 10643 10644openbsd*) 10645 version_type=sunos 10646 sys_lib_dlsearch_path_spec="/usr/lib" 10647 need_lib_prefix=no 10648 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10649 case $host_os in 10650 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10651 *) need_version=no ;; 10652 esac 10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10655 shlibpath_var=LD_LIBRARY_PATH 10656 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10657 case $host_os in 10658 openbsd2.[89] | openbsd2.[89].*) 10659 shlibpath_overrides_runpath=no 10660 ;; 10661 *) 10662 shlibpath_overrides_runpath=yes 10663 ;; 10664 esac 10665 else 10666 shlibpath_overrides_runpath=yes 10667 fi 10668 ;; 10669 10670os2*) 10671 libname_spec='$name' 10672 shrext_cmds=".dll" 10673 need_lib_prefix=no 10674 library_names_spec='$libname${shared_ext} $libname.a' 10675 dynamic_linker='OS/2 ld.exe' 10676 shlibpath_var=LIBPATH 10677 ;; 10678 10679osf3* | osf4* | osf5*) 10680 version_type=osf 10681 need_lib_prefix=no 10682 need_version=no 10683 soname_spec='${libname}${release}${shared_ext}$major' 10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10685 shlibpath_var=LD_LIBRARY_PATH 10686 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10687 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10688 ;; 10689 10690rdos*) 10691 dynamic_linker=no 10692 ;; 10693 10694solaris*) 10695 version_type=linux # correct to gnu/linux during the next big refactor 10696 need_lib_prefix=no 10697 need_version=no 10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10699 soname_spec='${libname}${release}${shared_ext}$major' 10700 shlibpath_var=LD_LIBRARY_PATH 10701 shlibpath_overrides_runpath=yes 10702 hardcode_into_libs=yes 10703 # ldd complains unless libraries are executable 10704 postinstall_cmds='chmod +x $lib' 10705 ;; 10706 10707sunos4*) 10708 version_type=sunos 10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10710 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10711 shlibpath_var=LD_LIBRARY_PATH 10712 shlibpath_overrides_runpath=yes 10713 if test "$with_gnu_ld" = yes; then 10714 need_lib_prefix=no 10715 fi 10716 need_version=yes 10717 ;; 10718 10719sysv4 | sysv4.3*) 10720 version_type=linux # correct to gnu/linux during the next big refactor 10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10722 soname_spec='${libname}${release}${shared_ext}$major' 10723 shlibpath_var=LD_LIBRARY_PATH 10724 case $host_vendor in 10725 sni) 10726 shlibpath_overrides_runpath=no 10727 need_lib_prefix=no 10728 runpath_var=LD_RUN_PATH 10729 ;; 10730 siemens) 10731 need_lib_prefix=no 10732 ;; 10733 motorola) 10734 need_lib_prefix=no 10735 need_version=no 10736 shlibpath_overrides_runpath=no 10737 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10738 ;; 10739 esac 10740 ;; 10741 10742sysv4*MP*) 10743 if test -d /usr/nec ;then 10744 version_type=linux # correct to gnu/linux during the next big refactor 10745 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10746 soname_spec='$libname${shared_ext}.$major' 10747 shlibpath_var=LD_LIBRARY_PATH 10748 fi 10749 ;; 10750 10751sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10752 version_type=freebsd-elf 10753 need_lib_prefix=no 10754 need_version=no 10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10756 soname_spec='${libname}${release}${shared_ext}$major' 10757 shlibpath_var=LD_LIBRARY_PATH 10758 shlibpath_overrides_runpath=yes 10759 hardcode_into_libs=yes 10760 if test "$with_gnu_ld" = yes; then 10761 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10762 else 10763 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10764 case $host_os in 10765 sco3.2v5*) 10766 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10767 ;; 10768 esac 10769 fi 10770 sys_lib_dlsearch_path_spec='/usr/lib' 10771 ;; 10772 10773tpf*) 10774 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10775 version_type=linux # correct to gnu/linux during the next big refactor 10776 need_lib_prefix=no 10777 need_version=no 10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10779 shlibpath_var=LD_LIBRARY_PATH 10780 shlibpath_overrides_runpath=no 10781 hardcode_into_libs=yes 10782 ;; 10783 10784uts4*) 10785 version_type=linux # correct to gnu/linux during the next big refactor 10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10787 soname_spec='${libname}${release}${shared_ext}$major' 10788 shlibpath_var=LD_LIBRARY_PATH 10789 ;; 10790 10791*) 10792 dynamic_linker=no 10793 ;; 10794esac 10795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10796$as_echo "$dynamic_linker" >&6; } 10797test "$dynamic_linker" = no && can_build_shared=no 10798 10799variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10800if test "$GCC" = yes; then 10801 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10802fi 10803 10804if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10805 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10806fi 10807if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10808 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10809fi 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10903$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10904hardcode_action= 10905if test -n "$hardcode_libdir_flag_spec" || 10906 test -n "$runpath_var" || 10907 test "X$hardcode_automatic" = "Xyes" ; then 10908 10909 # We can hardcode non-existent directories. 10910 if test "$hardcode_direct" != no && 10911 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10912 # have to relink, otherwise we might link with an installed library 10913 # when we should be linking with a yet-to-be-installed one 10914 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10915 test "$hardcode_minus_L" != no; then 10916 # Linking always hardcodes the temporary library directory. 10917 hardcode_action=relink 10918 else 10919 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10920 hardcode_action=immediate 10921 fi 10922else 10923 # We cannot hardcode anything, or else we can only hardcode existing 10924 # directories. 10925 hardcode_action=unsupported 10926fi 10927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10928$as_echo "$hardcode_action" >&6; } 10929 10930if test "$hardcode_action" = relink || 10931 test "$inherit_rpath" = yes; then 10932 # Fast installation is not supported 10933 enable_fast_install=no 10934elif test "$shlibpath_overrides_runpath" = yes || 10935 test "$enable_shared" = no; then 10936 # Fast installation is not necessary 10937 enable_fast_install=needless 10938fi 10939 10940 10941 10942 10943 10944 10945 if test "x$enable_dlopen" != xyes; then 10946 enable_dlopen=unknown 10947 enable_dlopen_self=unknown 10948 enable_dlopen_self_static=unknown 10949else 10950 lt_cv_dlopen=no 10951 lt_cv_dlopen_libs= 10952 10953 case $host_os in 10954 beos*) 10955 lt_cv_dlopen="load_add_on" 10956 lt_cv_dlopen_libs= 10957 lt_cv_dlopen_self=yes 10958 ;; 10959 10960 mingw* | pw32* | cegcc*) 10961 lt_cv_dlopen="LoadLibrary" 10962 lt_cv_dlopen_libs= 10963 ;; 10964 10965 cygwin*) 10966 lt_cv_dlopen="dlopen" 10967 lt_cv_dlopen_libs= 10968 ;; 10969 10970 darwin*) 10971 # if libdl is installed we need to link against it 10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10973$as_echo_n "checking for dlopen in -ldl... " >&6; } 10974if ${ac_cv_lib_dl_dlopen+:} false; then : 10975 $as_echo_n "(cached) " >&6 10976else 10977 ac_check_lib_save_LIBS=$LIBS 10978LIBS="-ldl $LIBS" 10979cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10980/* end confdefs.h. */ 10981 10982/* Override any GCC internal prototype to avoid an error. 10983 Use char because int might match the return type of a GCC 10984 builtin and then its argument prototype would still apply. */ 10985#ifdef __cplusplus 10986extern "C" 10987#endif 10988char dlopen (); 10989int 10990main () 10991{ 10992return dlopen (); 10993 ; 10994 return 0; 10995} 10996_ACEOF 10997if ac_fn_c_try_link "$LINENO"; then : 10998 ac_cv_lib_dl_dlopen=yes 10999else 11000 ac_cv_lib_dl_dlopen=no 11001fi 11002rm -f core conftest.err conftest.$ac_objext \ 11003 conftest$ac_exeext conftest.$ac_ext 11004LIBS=$ac_check_lib_save_LIBS 11005fi 11006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11007$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11008if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11009 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11010else 11011 11012 lt_cv_dlopen="dyld" 11013 lt_cv_dlopen_libs= 11014 lt_cv_dlopen_self=yes 11015 11016fi 11017 11018 ;; 11019 11020 *) 11021 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11022if test "x$ac_cv_func_shl_load" = xyes; then : 11023 lt_cv_dlopen="shl_load" 11024else 11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11026$as_echo_n "checking for shl_load in -ldld... " >&6; } 11027if ${ac_cv_lib_dld_shl_load+:} false; then : 11028 $as_echo_n "(cached) " >&6 11029else 11030 ac_check_lib_save_LIBS=$LIBS 11031LIBS="-ldld $LIBS" 11032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11033/* end confdefs.h. */ 11034 11035/* Override any GCC internal prototype to avoid an error. 11036 Use char because int might match the return type of a GCC 11037 builtin and then its argument prototype would still apply. */ 11038#ifdef __cplusplus 11039extern "C" 11040#endif 11041char shl_load (); 11042int 11043main () 11044{ 11045return shl_load (); 11046 ; 11047 return 0; 11048} 11049_ACEOF 11050if ac_fn_c_try_link "$LINENO"; then : 11051 ac_cv_lib_dld_shl_load=yes 11052else 11053 ac_cv_lib_dld_shl_load=no 11054fi 11055rm -f core conftest.err conftest.$ac_objext \ 11056 conftest$ac_exeext conftest.$ac_ext 11057LIBS=$ac_check_lib_save_LIBS 11058fi 11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11060$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11061if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11062 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11063else 11064 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11065if test "x$ac_cv_func_dlopen" = xyes; then : 11066 lt_cv_dlopen="dlopen" 11067else 11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11069$as_echo_n "checking for dlopen in -ldl... " >&6; } 11070if ${ac_cv_lib_dl_dlopen+:} false; then : 11071 $as_echo_n "(cached) " >&6 11072else 11073 ac_check_lib_save_LIBS=$LIBS 11074LIBS="-ldl $LIBS" 11075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11076/* end confdefs.h. */ 11077 11078/* Override any GCC internal prototype to avoid an error. 11079 Use char because int might match the return type of a GCC 11080 builtin and then its argument prototype would still apply. */ 11081#ifdef __cplusplus 11082extern "C" 11083#endif 11084char dlopen (); 11085int 11086main () 11087{ 11088return dlopen (); 11089 ; 11090 return 0; 11091} 11092_ACEOF 11093if ac_fn_c_try_link "$LINENO"; then : 11094 ac_cv_lib_dl_dlopen=yes 11095else 11096 ac_cv_lib_dl_dlopen=no 11097fi 11098rm -f core conftest.err conftest.$ac_objext \ 11099 conftest$ac_exeext conftest.$ac_ext 11100LIBS=$ac_check_lib_save_LIBS 11101fi 11102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11103$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11104if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11105 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11106else 11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11108$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11109if ${ac_cv_lib_svld_dlopen+:} false; then : 11110 $as_echo_n "(cached) " >&6 11111else 11112 ac_check_lib_save_LIBS=$LIBS 11113LIBS="-lsvld $LIBS" 11114cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11115/* end confdefs.h. */ 11116 11117/* Override any GCC internal prototype to avoid an error. 11118 Use char because int might match the return type of a GCC 11119 builtin and then its argument prototype would still apply. */ 11120#ifdef __cplusplus 11121extern "C" 11122#endif 11123char dlopen (); 11124int 11125main () 11126{ 11127return dlopen (); 11128 ; 11129 return 0; 11130} 11131_ACEOF 11132if ac_fn_c_try_link "$LINENO"; then : 11133 ac_cv_lib_svld_dlopen=yes 11134else 11135 ac_cv_lib_svld_dlopen=no 11136fi 11137rm -f core conftest.err conftest.$ac_objext \ 11138 conftest$ac_exeext conftest.$ac_ext 11139LIBS=$ac_check_lib_save_LIBS 11140fi 11141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11142$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11143if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11144 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11145else 11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11147$as_echo_n "checking for dld_link in -ldld... " >&6; } 11148if ${ac_cv_lib_dld_dld_link+:} false; then : 11149 $as_echo_n "(cached) " >&6 11150else 11151 ac_check_lib_save_LIBS=$LIBS 11152LIBS="-ldld $LIBS" 11153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11154/* end confdefs.h. */ 11155 11156/* Override any GCC internal prototype to avoid an error. 11157 Use char because int might match the return type of a GCC 11158 builtin and then its argument prototype would still apply. */ 11159#ifdef __cplusplus 11160extern "C" 11161#endif 11162char dld_link (); 11163int 11164main () 11165{ 11166return dld_link (); 11167 ; 11168 return 0; 11169} 11170_ACEOF 11171if ac_fn_c_try_link "$LINENO"; then : 11172 ac_cv_lib_dld_dld_link=yes 11173else 11174 ac_cv_lib_dld_dld_link=no 11175fi 11176rm -f core conftest.err conftest.$ac_objext \ 11177 conftest$ac_exeext conftest.$ac_ext 11178LIBS=$ac_check_lib_save_LIBS 11179fi 11180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11181$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11182if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11183 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11184fi 11185 11186 11187fi 11188 11189 11190fi 11191 11192 11193fi 11194 11195 11196fi 11197 11198 11199fi 11200 11201 ;; 11202 esac 11203 11204 if test "x$lt_cv_dlopen" != xno; then 11205 enable_dlopen=yes 11206 else 11207 enable_dlopen=no 11208 fi 11209 11210 case $lt_cv_dlopen in 11211 dlopen) 11212 save_CPPFLAGS="$CPPFLAGS" 11213 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11214 11215 save_LDFLAGS="$LDFLAGS" 11216 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11217 11218 save_LIBS="$LIBS" 11219 LIBS="$lt_cv_dlopen_libs $LIBS" 11220 11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11222$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11223if ${lt_cv_dlopen_self+:} false; then : 11224 $as_echo_n "(cached) " >&6 11225else 11226 if test "$cross_compiling" = yes; then : 11227 lt_cv_dlopen_self=cross 11228else 11229 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11230 lt_status=$lt_dlunknown 11231 cat > conftest.$ac_ext <<_LT_EOF 11232#line $LINENO "configure" 11233#include "confdefs.h" 11234 11235#if HAVE_DLFCN_H 11236#include <dlfcn.h> 11237#endif 11238 11239#include <stdio.h> 11240 11241#ifdef RTLD_GLOBAL 11242# define LT_DLGLOBAL RTLD_GLOBAL 11243#else 11244# ifdef DL_GLOBAL 11245# define LT_DLGLOBAL DL_GLOBAL 11246# else 11247# define LT_DLGLOBAL 0 11248# endif 11249#endif 11250 11251/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11252 find out it does not work in some platform. */ 11253#ifndef LT_DLLAZY_OR_NOW 11254# ifdef RTLD_LAZY 11255# define LT_DLLAZY_OR_NOW RTLD_LAZY 11256# else 11257# ifdef DL_LAZY 11258# define LT_DLLAZY_OR_NOW DL_LAZY 11259# else 11260# ifdef RTLD_NOW 11261# define LT_DLLAZY_OR_NOW RTLD_NOW 11262# else 11263# ifdef DL_NOW 11264# define LT_DLLAZY_OR_NOW DL_NOW 11265# else 11266# define LT_DLLAZY_OR_NOW 0 11267# endif 11268# endif 11269# endif 11270# endif 11271#endif 11272 11273/* When -fvisbility=hidden is used, assume the code has been annotated 11274 correspondingly for the symbols needed. */ 11275#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11276int fnord () __attribute__((visibility("default"))); 11277#endif 11278 11279int fnord () { return 42; } 11280int main () 11281{ 11282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11283 int status = $lt_dlunknown; 11284 11285 if (self) 11286 { 11287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11288 else 11289 { 11290 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11291 else puts (dlerror ()); 11292 } 11293 /* dlclose (self); */ 11294 } 11295 else 11296 puts (dlerror ()); 11297 11298 return status; 11299} 11300_LT_EOF 11301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11302 (eval $ac_link) 2>&5 11303 ac_status=$? 11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11305 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11306 (./conftest; exit; ) >&5 2>/dev/null 11307 lt_status=$? 11308 case x$lt_status in 11309 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11310 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11311 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11312 esac 11313 else : 11314 # compilation failed 11315 lt_cv_dlopen_self=no 11316 fi 11317fi 11318rm -fr conftest* 11319 11320 11321fi 11322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11323$as_echo "$lt_cv_dlopen_self" >&6; } 11324 11325 if test "x$lt_cv_dlopen_self" = xyes; then 11326 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11328$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11329if ${lt_cv_dlopen_self_static+:} false; then : 11330 $as_echo_n "(cached) " >&6 11331else 11332 if test "$cross_compiling" = yes; then : 11333 lt_cv_dlopen_self_static=cross 11334else 11335 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11336 lt_status=$lt_dlunknown 11337 cat > conftest.$ac_ext <<_LT_EOF 11338#line $LINENO "configure" 11339#include "confdefs.h" 11340 11341#if HAVE_DLFCN_H 11342#include <dlfcn.h> 11343#endif 11344 11345#include <stdio.h> 11346 11347#ifdef RTLD_GLOBAL 11348# define LT_DLGLOBAL RTLD_GLOBAL 11349#else 11350# ifdef DL_GLOBAL 11351# define LT_DLGLOBAL DL_GLOBAL 11352# else 11353# define LT_DLGLOBAL 0 11354# endif 11355#endif 11356 11357/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11358 find out it does not work in some platform. */ 11359#ifndef LT_DLLAZY_OR_NOW 11360# ifdef RTLD_LAZY 11361# define LT_DLLAZY_OR_NOW RTLD_LAZY 11362# else 11363# ifdef DL_LAZY 11364# define LT_DLLAZY_OR_NOW DL_LAZY 11365# else 11366# ifdef RTLD_NOW 11367# define LT_DLLAZY_OR_NOW RTLD_NOW 11368# else 11369# ifdef DL_NOW 11370# define LT_DLLAZY_OR_NOW DL_NOW 11371# else 11372# define LT_DLLAZY_OR_NOW 0 11373# endif 11374# endif 11375# endif 11376# endif 11377#endif 11378 11379/* When -fvisbility=hidden is used, assume the code has been annotated 11380 correspondingly for the symbols needed. */ 11381#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11382int fnord () __attribute__((visibility("default"))); 11383#endif 11384 11385int fnord () { return 42; } 11386int main () 11387{ 11388 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11389 int status = $lt_dlunknown; 11390 11391 if (self) 11392 { 11393 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11394 else 11395 { 11396 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11397 else puts (dlerror ()); 11398 } 11399 /* dlclose (self); */ 11400 } 11401 else 11402 puts (dlerror ()); 11403 11404 return status; 11405} 11406_LT_EOF 11407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11408 (eval $ac_link) 2>&5 11409 ac_status=$? 11410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11411 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11412 (./conftest; exit; ) >&5 2>/dev/null 11413 lt_status=$? 11414 case x$lt_status in 11415 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11416 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11417 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11418 esac 11419 else : 11420 # compilation failed 11421 lt_cv_dlopen_self_static=no 11422 fi 11423fi 11424rm -fr conftest* 11425 11426 11427fi 11428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11429$as_echo "$lt_cv_dlopen_self_static" >&6; } 11430 fi 11431 11432 CPPFLAGS="$save_CPPFLAGS" 11433 LDFLAGS="$save_LDFLAGS" 11434 LIBS="$save_LIBS" 11435 ;; 11436 esac 11437 11438 case $lt_cv_dlopen_self in 11439 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11440 *) enable_dlopen_self=unknown ;; 11441 esac 11442 11443 case $lt_cv_dlopen_self_static in 11444 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11445 *) enable_dlopen_self_static=unknown ;; 11446 esac 11447fi 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465striplib= 11466old_striplib= 11467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11468$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11469if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11470 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11471 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11473$as_echo "yes" >&6; } 11474else 11475# FIXME - insert some real tests, host_os isn't really good enough 11476 case $host_os in 11477 darwin*) 11478 if test -n "$STRIP" ; then 11479 striplib="$STRIP -x" 11480 old_striplib="$STRIP -S" 11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11482$as_echo "yes" >&6; } 11483 else 11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11485$as_echo "no" >&6; } 11486 fi 11487 ;; 11488 *) 11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11490$as_echo "no" >&6; } 11491 ;; 11492 esac 11493fi 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 # Report which library types will actually be built 11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11508$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11510$as_echo "$can_build_shared" >&6; } 11511 11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11513$as_echo_n "checking whether to build shared libraries... " >&6; } 11514 test "$can_build_shared" = "no" && enable_shared=no 11515 11516 # On AIX, shared libraries and static libraries use the same namespace, and 11517 # are all built from PIC. 11518 case $host_os in 11519 aix3*) 11520 test "$enable_shared" = yes && enable_static=no 11521 if test -n "$RANLIB"; then 11522 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11523 postinstall_cmds='$RANLIB $lib' 11524 fi 11525 ;; 11526 11527 aix[4-9]*) 11528 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11529 test "$enable_shared" = yes && enable_static=no 11530 fi 11531 ;; 11532 esac 11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11534$as_echo "$enable_shared" >&6; } 11535 11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11537$as_echo_n "checking whether to build static libraries... " >&6; } 11538 # Make sure either enable_shared or enable_static is yes. 11539 test "$enable_shared" = yes || enable_static=yes 11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11541$as_echo "$enable_static" >&6; } 11542 11543 11544 11545 11546fi 11547ac_ext=c 11548ac_cpp='$CPP $CPPFLAGS' 11549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11551ac_compiler_gnu=$ac_cv_c_compiler_gnu 11552 11553CC="$lt_save_CC" 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 ac_config_commands="$ac_config_commands libtool" 11570 11571 11572 11573 11574# Only expand once: 11575 11576 11577# Extract the first word of "texi2dvi", so it can be a program name with args. 11578set dummy texi2dvi; ac_word=$2 11579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11580$as_echo_n "checking for $ac_word... " >&6; } 11581if ${ac_cv_prog_TEXI2DVI+:} false; then : 11582 $as_echo_n "(cached) " >&6 11583else 11584 if test -n "$TEXI2DVI"; then 11585 ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test. 11586else 11587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11588for as_dir in $PATH 11589do 11590 IFS=$as_save_IFS 11591 test -z "$as_dir" && as_dir=. 11592 for ac_exec_ext in '' $ac_executable_extensions; do 11593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11594 ac_cv_prog_TEXI2DVI="texi2dvi" 11595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11596 break 2 11597 fi 11598done 11599 done 11600IFS=$as_save_IFS 11601 11602fi 11603fi 11604TEXI2DVI=$ac_cv_prog_TEXI2DVI 11605if test -n "$TEXI2DVI"; then 11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5 11607$as_echo "$TEXI2DVI" >&6; } 11608else 11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11610$as_echo "no" >&6; } 11611fi 11612 11613 11614 if test -n "$TEXI2DVI"; then 11615 HAVE_TEXI2DVI_TRUE= 11616 HAVE_TEXI2DVI_FALSE='#' 11617else 11618 HAVE_TEXI2DVI_TRUE='#' 11619 HAVE_TEXI2DVI_FALSE= 11620fi 11621 11622 11623 11624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5 11625$as_echo_n "checking for C compiler vendor... " >&6; } 11626if ${ax_cv_c_compiler_vendor+:} false; then : 11627 $as_echo_n "(cached) " >&6 11628else 11629 ax_cv_c_compiler_vendor=unknown 11630 # note: don't check for gcc first since some other compilers define __GNUC__ 11631 for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do 11632 vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")" 11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11634/* end confdefs.h. */ 11635 11636int 11637main () 11638{ 11639 11640#if !($vencpp) 11641 thisisanerror; 11642#endif 11643 11644 ; 11645 return 0; 11646} 11647_ACEOF 11648if ac_fn_c_try_compile "$LINENO"; then : 11649 ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break 11650fi 11651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11652 done 11653 11654fi 11655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5 11656$as_echo "$ax_cv_c_compiler_vendor" >&6; } 11657 11658 11659 11660 11661 11662 11663@%:@ Check whether --enable-portable-binary was given. 11664if test "${enable_portable_binary+set}" = set; then : 11665 enableval=$enable_portable_binary; acx_maxopt_portable=$withval 11666else 11667 acx_maxopt_portable=no 11668fi 11669 11670 11671# Try to determine "good" native compiler flags if none specified via CFLAGS 11672if test "$ac_test_CFLAGS" != "set"; then 11673 CFLAGS="" 11674 case $ax_cv_c_compiler_vendor in 11675 dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host" 11676 if test "x$acx_maxopt_portable" = xno; then 11677 CFLAGS="$CFLAGS -arch host" 11678 fi;; 11679 11680 sun) CFLAGS="-native -fast -xO5 -dalign" 11681 if test "x$acx_maxopt_portable" = xyes; then 11682 CFLAGS="$CFLAGS -xarch=generic" 11683 fi;; 11684 11685 hp) CFLAGS="+Oall +Optrs_ansi +DSnative" 11686 if test "x$acx_maxopt_portable" = xyes; then 11687 CFLAGS="$CFLAGS +DAportable" 11688 fi;; 11689 11690 ibm) if test "x$acx_maxopt_portable" = xno; then 11691 xlc_opt="-qarch=auto -qtune=auto" 11692 else 11693 xlc_opt="-qtune=auto" 11694 fi 11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5 11696$as_echo_n "checking whether C compiler accepts $xlc_opt... " >&6; } 11697ax_save_FLAGS=$CFLAGS 11698 CFLAGS="$xlc_opt" 11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11700/* end confdefs.h. */ 11701 11702int 11703main () 11704{ 11705 11706 ; 11707 return 0; 11708} 11709_ACEOF 11710if ac_fn_c_try_compile "$LINENO"; then : 11711 eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=yes 11712else 11713 eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=no 11714fi 11715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11716 CFLAGS=$ax_save_FLAGS 11717eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh` 11718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 11719$as_echo "$ax_check_compiler_flags" >&6; } 11720if test "x$ax_check_compiler_flags" = xyes; then 11721 CFLAGS="-O3 -qansialias -w $xlc_opt" 11722else 11723 CFLAGS="-O3 -qansialias -w" 11724 echo "******************************************************" 11725 echo "* You seem to have the IBM C compiler. It is *" 11726 echo "* recommended for best performance that you use: *" 11727 echo "* *" 11728 echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *" 11729 echo "* ^^^ ^^^ *" 11730 echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *" 11731 echo "* CPU you have. (Set the CFLAGS environment var. *" 11732 echo "* and re-run configure.) For more info, man cc. *" 11733 echo "******************************************************" 11734fi 11735 11736 ;; 11737 11738 intel) CFLAGS="-O3 -ansi_alias" 11739 if test "x$acx_maxopt_portable" = xno; then 11740 icc_archflag=unknown 11741 icc_flags="" 11742 case $host_cpu in 11743 i686*|x86_64*) 11744 # icc accepts gcc assembly syntax, so these should work: 11745 11746ac_ext=c 11747ac_cpp='$CPP $CPPFLAGS' 11748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11750ac_compiler_gnu=$ac_cv_c_compiler_gnu 11751 11752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5 11753$as_echo_n "checking for x86 cpuid 0 output... " >&6; } 11754if ${ax_cv_gcc_x86_cpuid_0+:} false; then : 11755 $as_echo_n "(cached) " >&6 11756else 11757 if test "$cross_compiling" = yes; then : 11758 ax_cv_gcc_x86_cpuid_0=unknown 11759else 11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11761/* end confdefs.h. */ 11762#include <stdio.h> 11763int 11764main () 11765{ 11766 11767 int op = 0, eax, ebx, ecx, edx; 11768 FILE *f; 11769 __asm__("cpuid" 11770 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) 11771 : "a" (op)); 11772 f = fopen("conftest_cpuid", "w"); if (!f) return 1; 11773 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx); 11774 fclose(f); 11775 return 0; 11776 11777 ; 11778 return 0; 11779} 11780_ACEOF 11781if ac_fn_c_try_run "$LINENO"; then : 11782 ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid 11783else 11784 ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid 11785fi 11786rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11787 conftest.$ac_objext conftest.beam conftest.$ac_ext 11788fi 11789 11790fi 11791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5 11792$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; } 11793ac_ext=c 11794ac_cpp='$CPP $CPPFLAGS' 11795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11797ac_compiler_gnu=$ac_cv_c_compiler_gnu 11798 11799 11800 11801ac_ext=c 11802ac_cpp='$CPP $CPPFLAGS' 11803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11805ac_compiler_gnu=$ac_cv_c_compiler_gnu 11806 11807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5 11808$as_echo_n "checking for x86 cpuid 1 output... " >&6; } 11809if ${ax_cv_gcc_x86_cpuid_1+:} false; then : 11810 $as_echo_n "(cached) " >&6 11811else 11812 if test "$cross_compiling" = yes; then : 11813 ax_cv_gcc_x86_cpuid_1=unknown 11814else 11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11816/* end confdefs.h. */ 11817#include <stdio.h> 11818int 11819main () 11820{ 11821 11822 int op = 1, eax, ebx, ecx, edx; 11823 FILE *f; 11824 __asm__("cpuid" 11825 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) 11826 : "a" (op)); 11827 f = fopen("conftest_cpuid", "w"); if (!f) return 1; 11828 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx); 11829 fclose(f); 11830 return 0; 11831 11832 ; 11833 return 0; 11834} 11835_ACEOF 11836if ac_fn_c_try_run "$LINENO"; then : 11837 ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid 11838else 11839 ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid 11840fi 11841rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 11842 conftest.$ac_objext conftest.beam conftest.$ac_ext 11843fi 11844 11845fi 11846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5 11847$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; } 11848ac_ext=c 11849ac_cpp='$CPP $CPPFLAGS' 11850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11852ac_compiler_gnu=$ac_cv_c_compiler_gnu 11853 11854 11855 case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG 11856 *:756e6547:*:*) # Intel 11857 case $ax_cv_gcc_x86_cpuid_1 in 11858 *6a?:*[234]:*:*|*6[789b]?:*:*:*) icc_flags="-xK";; 11859 *f3[347]:*:*:*|*f41347:*:*:*) icc_flags="-xP -xN -xW -xK";; 11860 *f??:*:*:*) icc_flags="-xN -xW -xK";; 11861 esac ;; 11862 esac ;; 11863 esac 11864 if test "x$icc_flags" != x; then 11865 for flag in $icc_flags; do 11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 11867$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 11868ax_save_FLAGS=$CFLAGS 11869 CFLAGS="$flag" 11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11871/* end confdefs.h. */ 11872 11873int 11874main () 11875{ 11876 11877 ; 11878 return 0; 11879} 11880_ACEOF 11881if ac_fn_c_try_compile "$LINENO"; then : 11882 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes 11883else 11884 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no 11885fi 11886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11887 CFLAGS=$ax_save_FLAGS 11888eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh` 11889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 11890$as_echo "$ax_check_compiler_flags" >&6; } 11891if test "x$ax_check_compiler_flags" = xyes; then 11892 icc_archflag=$flag; break 11893else 11894 : 11895fi 11896 11897 done 11898 fi 11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5 11900$as_echo_n "checking for icc architecture flag... " >&6; } 11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5 11902$as_echo "$icc_archflag" >&6; } 11903 if test "x$icc_archflag" != xunknown; then 11904 CFLAGS="$CFLAGS $icc_archflag" 11905 fi 11906 fi 11907 ;; 11908 11909 gnu) 11910 # default optimization flags for gcc on all systems 11911 CFLAGS="-O3 -fomit-frame-pointer" 11912 11913 # -malign-double for x86 systems 11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5 11915$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; } 11916if ${ax_cv_c_flags__malign_double+:} false; then : 11917 $as_echo_n "(cached) " >&6 11918else 11919 11920 ax_save_FLAGS=$CFLAGS 11921 CFLAGS="-malign-double" 11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11923/* end confdefs.h. */ 11924 11925int 11926main () 11927{ 11928 11929 ; 11930 return 0; 11931} 11932_ACEOF 11933if ac_fn_c_try_compile "$LINENO"; then : 11934 ax_cv_c_flags__malign_double=yes 11935else 11936 ax_cv_c_flags__malign_double=no 11937fi 11938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11939 CFLAGS=$ax_save_FLAGS 11940fi 11941 11942eval ax_check_compiler_flags=$ax_cv_c_flags__malign_double 11943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 11944$as_echo "$ax_check_compiler_flags" >&6; } 11945if test "x$ax_check_compiler_flags" = xyes; then 11946 CFLAGS="$CFLAGS -malign-double" 11947else 11948 : 11949fi 11950 11951 11952 # -fstrict-aliasing for gcc-2.95+ 11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5 11954$as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; } 11955if ${ax_cv_c_flags__fstrict_aliasing+:} false; then : 11956 $as_echo_n "(cached) " >&6 11957else 11958 11959 ax_save_FLAGS=$CFLAGS 11960 CFLAGS="-fstrict-aliasing" 11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11962/* end confdefs.h. */ 11963 11964int 11965main () 11966{ 11967 11968 ; 11969 return 0; 11970} 11971_ACEOF 11972if ac_fn_c_try_compile "$LINENO"; then : 11973 ax_cv_c_flags__fstrict_aliasing=yes 11974else 11975 ax_cv_c_flags__fstrict_aliasing=no 11976fi 11977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11978 CFLAGS=$ax_save_FLAGS 11979fi 11980 11981eval ax_check_compiler_flags=$ax_cv_c_flags__fstrict_aliasing 11982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 11983$as_echo "$ax_check_compiler_flags" >&6; } 11984if test "x$ax_check_compiler_flags" = xyes; then 11985 CFLAGS="$CFLAGS -fstrict-aliasing" 11986else 11987 : 11988fi 11989 11990 11991 # note that we enable "unsafe" fp optimization with other compilers, too 11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5 11993$as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; } 11994if ${ax_cv_c_flags__ffast_math+:} false; then : 11995 $as_echo_n "(cached) " >&6 11996else 11997 11998 ax_save_FLAGS=$CFLAGS 11999 CFLAGS="-ffast-math" 12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12001/* end confdefs.h. */ 12002 12003int 12004main () 12005{ 12006 12007 ; 12008 return 0; 12009} 12010_ACEOF 12011if ac_fn_c_try_compile "$LINENO"; then : 12012 ax_cv_c_flags__ffast_math=yes 12013else 12014 ax_cv_c_flags__ffast_math=no 12015fi 12016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12017 CFLAGS=$ax_save_FLAGS 12018fi 12019 12020eval ax_check_compiler_flags=$ax_cv_c_flags__ffast_math 12021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 12022$as_echo "$ax_check_compiler_flags" >&6; } 12023if test "x$ax_check_compiler_flags" = xyes; then 12024 CFLAGS="$CFLAGS -ffast-math" 12025else 12026 : 12027fi 12028 12029 12030 12031 12032 12033 12034@%:@ Check whether --with-gcc-arch was given. 12035if test "${with_gcc_arch+set}" = set; then : 12036 withval=$with_gcc_arch; ax_gcc_arch=$withval 12037else 12038 ax_gcc_arch=yes 12039fi 12040 12041 12042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5 12043$as_echo_n "checking for gcc architecture flag... " >&6; } 12044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 12045$as_echo "" >&6; } 12046if ${ax_cv_gcc_archflag+:} false; then : 12047 $as_echo_n "(cached) " >&6 12048else 12049 12050ax_cv_gcc_archflag="unknown" 12051 12052if test "$GCC" = yes; then 12053 12054if test "x$ax_gcc_arch" = xyes; then 12055ax_gcc_arch="" 12056if test "$cross_compiling" = no; then 12057case $host_cpu in 12058 i[3456]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones 12059 12060ac_ext=c 12061ac_cpp='$CPP $CPPFLAGS' 12062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12064ac_compiler_gnu=$ac_cv_c_compiler_gnu 12065 12066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5 12067$as_echo_n "checking for x86 cpuid 0 output... " >&6; } 12068if ${ax_cv_gcc_x86_cpuid_0+:} false; then : 12069 $as_echo_n "(cached) " >&6 12070else 12071 if test "$cross_compiling" = yes; then : 12072 ax_cv_gcc_x86_cpuid_0=unknown 12073else 12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12075/* end confdefs.h. */ 12076#include <stdio.h> 12077int 12078main () 12079{ 12080 12081 int op = 0, eax, ebx, ecx, edx; 12082 FILE *f; 12083 __asm__("cpuid" 12084 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) 12085 : "a" (op)); 12086 f = fopen("conftest_cpuid", "w"); if (!f) return 1; 12087 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx); 12088 fclose(f); 12089 return 0; 12090 12091 ; 12092 return 0; 12093} 12094_ACEOF 12095if ac_fn_c_try_run "$LINENO"; then : 12096 ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid 12097else 12098 ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid 12099fi 12100rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12101 conftest.$ac_objext conftest.beam conftest.$ac_ext 12102fi 12103 12104fi 12105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5 12106$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; } 12107ac_ext=c 12108ac_cpp='$CPP $CPPFLAGS' 12109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12111ac_compiler_gnu=$ac_cv_c_compiler_gnu 12112 12113 12114 12115ac_ext=c 12116ac_cpp='$CPP $CPPFLAGS' 12117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12119ac_compiler_gnu=$ac_cv_c_compiler_gnu 12120 12121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5 12122$as_echo_n "checking for x86 cpuid 1 output... " >&6; } 12123if ${ax_cv_gcc_x86_cpuid_1+:} false; then : 12124 $as_echo_n "(cached) " >&6 12125else 12126 if test "$cross_compiling" = yes; then : 12127 ax_cv_gcc_x86_cpuid_1=unknown 12128else 12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12130/* end confdefs.h. */ 12131#include <stdio.h> 12132int 12133main () 12134{ 12135 12136 int op = 1, eax, ebx, ecx, edx; 12137 FILE *f; 12138 __asm__("cpuid" 12139 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) 12140 : "a" (op)); 12141 f = fopen("conftest_cpuid", "w"); if (!f) return 1; 12142 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx); 12143 fclose(f); 12144 return 0; 12145 12146 ; 12147 return 0; 12148} 12149_ACEOF 12150if ac_fn_c_try_run "$LINENO"; then : 12151 ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid 12152else 12153 ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid 12154fi 12155rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12156 conftest.$ac_objext conftest.beam conftest.$ac_ext 12157fi 12158 12159fi 12160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5 12161$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; } 12162ac_ext=c 12163ac_cpp='$CPP $CPPFLAGS' 12164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12166ac_compiler_gnu=$ac_cv_c_compiler_gnu 12167 12168 12169 case $ax_cv_gcc_x86_cpuid_0 in 12170 *:756e6547:*:*) # Intel 12171 case $ax_cv_gcc_x86_cpuid_1 in 12172 *5[48]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;; 12173 *5??:*:*:*) ax_gcc_arch=pentium ;; 12174 *6[3456]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;; 12175 *6a?:*[01]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;; 12176 *6a?:*[234]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;; 12177 *6[9d]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;; 12178 *6[78b]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;; 12179 *6??:*:*:*) ax_gcc_arch=pentiumpro ;; 12180 *f3[347]:*:*:*|*f41347:*:*:*) 12181 case $host_cpu in 12182 x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;; 12183 *) ax_gcc_arch="prescott pentium4 pentiumpro" ;; 12184 esac ;; 12185 *f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";; 12186 esac ;; 12187 *:68747541:*:*) # AMD 12188 case $ax_cv_gcc_x86_cpuid_1 in 12189 *5[67]?:*:*:*) ax_gcc_arch=k6 ;; 12190 *5[8d]?:*:*:*) ax_gcc_arch="k6-2 k6" ;; 12191 *5[9]?:*:*:*) ax_gcc_arch="k6-3 k6" ;; 12192 *60?:*:*:*) ax_gcc_arch=k7 ;; 12193 *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;; 12194 *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;; 12195 *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;; 12196 *6[68a]?:*:*:*) 12197 12198ac_ext=c 12199ac_cpp='$CPP $CPPFLAGS' 12200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12202ac_compiler_gnu=$ac_cv_c_compiler_gnu 12203 12204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5 12205$as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; } 12206if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then : 12207 $as_echo_n "(cached) " >&6 12208else 12209 if test "$cross_compiling" = yes; then : 12210 ax_cv_gcc_x86_cpuid_0x80000006=unknown 12211else 12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12213/* end confdefs.h. */ 12214#include <stdio.h> 12215int 12216main () 12217{ 12218 12219 int op = 0x80000006, eax, ebx, ecx, edx; 12220 FILE *f; 12221 __asm__("cpuid" 12222 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) 12223 : "a" (op)); 12224 f = fopen("conftest_cpuid", "w"); if (!f) return 1; 12225 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx); 12226 fclose(f); 12227 return 0; 12228 12229 ; 12230 return 0; 12231} 12232_ACEOF 12233if ac_fn_c_try_run "$LINENO"; then : 12234 ax_cv_gcc_x86_cpuid_0x80000006=`cat conftest_cpuid`; rm -f conftest_cpuid 12235else 12236 ax_cv_gcc_x86_cpuid_0x80000006=unknown; rm -f conftest_cpuid 12237fi 12238rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12239 conftest.$ac_objext conftest.beam conftest.$ac_ext 12240fi 12241 12242fi 12243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000006" >&5 12244$as_echo "$ax_cv_gcc_x86_cpuid_0x80000006" >&6; } 12245ac_ext=c 12246ac_cpp='$CPP $CPPFLAGS' 12247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12249ac_compiler_gnu=$ac_cv_c_compiler_gnu 12250 12251 # L2 cache size 12252 case $ax_cv_gcc_x86_cpuid_0x80000006 in 12253 *:*:*[1-9a-f]??????:*) # (L2 = ecx >> 16) >= 256 12254 ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;; 12255 *) ax_gcc_arch="athlon-4 athlon k7" ;; 12256 esac ;; 12257 *f[4cef8b]?:*:*:*) ax_gcc_arch="athlon64 k8" ;; 12258 *f5?:*:*:*) ax_gcc_arch="opteron k8" ;; 12259 *f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;; 12260 *f??:*:*:*) ax_gcc_arch="k8" ;; 12261 esac ;; 12262 *:746e6543:*:*) # IDT 12263 case $ax_cv_gcc_x86_cpuid_1 in 12264 *54?:*:*:*) ax_gcc_arch=winchip-c6 ;; 12265 *58?:*:*:*) ax_gcc_arch=winchip2 ;; 12266 *6[78]?:*:*:*) ax_gcc_arch=c3 ;; 12267 *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;; 12268 esac ;; 12269 esac 12270 if test x"$ax_gcc_arch" = x; then # fallback 12271 case $host_cpu in 12272 i586*) ax_gcc_arch=pentium ;; 12273 i686*) ax_gcc_arch=pentiumpro ;; 12274 esac 12275 fi 12276 ;; 12277 12278 sparc*) 12279 # Extract the first word of "prtdiag", so it can be a program name with args. 12280set dummy prtdiag; ac_word=$2 12281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12282$as_echo_n "checking for $ac_word... " >&6; } 12283if ${ac_cv_path_PRTDIAG+:} false; then : 12284 $as_echo_n "(cached) " >&6 12285else 12286 case $PRTDIAG in 12287 [\\/]* | ?:[\\/]*) 12288 ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path. 12289 ;; 12290 *) 12291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12292as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/" 12293for as_dir in $as_dummy 12294do 12295 IFS=$as_save_IFS 12296 test -z "$as_dir" && as_dir=. 12297 for ac_exec_ext in '' $ac_executable_extensions; do 12298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12299 ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext" 12300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12301 break 2 12302 fi 12303done 12304 done 12305IFS=$as_save_IFS 12306 12307 test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag" 12308 ;; 12309esac 12310fi 12311PRTDIAG=$ac_cv_path_PRTDIAG 12312if test -n "$PRTDIAG"; then 12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5 12314$as_echo "$PRTDIAG" >&6; } 12315else 12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12317$as_echo "no" >&6; } 12318fi 12319 12320 12321 cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null` 12322 cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters` 12323 case $cputype in 12324 *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;; 12325 *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;; 12326 *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;; 12327 *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;; 12328 *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;; 12329 *cypress*) ax_gcc_arch=cypress ;; 12330 esac ;; 12331 12332 alphaev5) ax_gcc_arch=ev5 ;; 12333 alphaev56) ax_gcc_arch=ev56 ;; 12334 alphapca56) ax_gcc_arch="pca56 ev56" ;; 12335 alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;; 12336 alphaev6) ax_gcc_arch=ev6 ;; 12337 alphaev67) ax_gcc_arch=ev67 ;; 12338 alphaev68) ax_gcc_arch="ev68 ev67" ;; 12339 alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;; 12340 alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;; 12341 alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;; 12342 12343 powerpc*) 12344 cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null` 12345 cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'` 12346 case $cputype in 12347 *750*) ax_gcc_arch="750 G3" ;; 12348 *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;; 12349 *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;; 12350 *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;; 12351 *970*) ax_gcc_arch="970 G5 power4";; 12352 *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";; 12353 *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";; 12354 603ev|8240) ax_gcc_arch="$cputype 603e 603";; 12355 *) ax_gcc_arch=$cputype ;; 12356 esac 12357 ax_gcc_arch="$ax_gcc_arch powerpc" 12358 ;; 12359esac 12360fi # not cross-compiling 12361fi # guess arch 12362 12363if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then 12364for arch in $ax_gcc_arch; do 12365 if test "x$acx_maxopt_portable" = xyes; then # if we require portable code 12366 flags="-mtune=$arch" 12367 # -mcpu=$arch and m$arch generate nonportable code on every arch except 12368 # x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr. 12369 case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac 12370 else 12371 flags="-march=$arch -mcpu=$arch -m$arch" 12372 fi 12373 for flag in $flags; do 12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 12375$as_echo_n "checking whether C compiler accepts $flag... " >&6; } 12376ax_save_FLAGS=$CFLAGS 12377 CFLAGS="$flag" 12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12379/* end confdefs.h. */ 12380 12381int 12382main () 12383{ 12384 12385 ; 12386 return 0; 12387} 12388_ACEOF 12389if ac_fn_c_try_compile "$LINENO"; then : 12390 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes 12391else 12392 eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no 12393fi 12394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12395 CFLAGS=$ax_save_FLAGS 12396eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh` 12397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 12398$as_echo "$ax_check_compiler_flags" >&6; } 12399if test "x$ax_check_compiler_flags" = xyes; then 12400 ax_cv_gcc_archflag=$flag; break 12401else 12402 : 12403fi 12404 12405 done 12406 test "x$ax_cv_gcc_archflag" = xunknown || break 12407done 12408fi 12409 12410fi # $GCC=yes 12411 12412fi 12413 12414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5 12415$as_echo_n "checking for gcc architecture flag... " >&6; } 12416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5 12417$as_echo "$ax_cv_gcc_archflag" >&6; } 12418if test "x$ax_cv_gcc_archflag" = xunknown; then 12419 : 12420else 12421 CFLAGS="$CFLAGS $ax_cv_gcc_archflag" 12422fi 12423 12424 ;; 12425 esac 12426 12427 if test -z "$CFLAGS"; then 12428 echo "" 12429 echo "********************************************************" 12430 echo "* WARNING: Don't know the best CFLAGS for this system *" 12431 echo "* Use ./configure CFLAGS=... to specify your own flags *" 12432 echo "* (otherwise, a default of CFLAGS=-O3 will be used) *" 12433 echo "********************************************************" 12434 echo "" 12435 CFLAGS="-O3" 12436 fi 12437 12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5 12439$as_echo_n "checking whether C compiler accepts $CFLAGS... " >&6; } 12440ax_save_FLAGS=$CFLAGS 12441 CFLAGS="$CFLAGS" 12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12443/* end confdefs.h. */ 12444 12445int 12446main () 12447{ 12448 12449 ; 12450 return 0; 12451} 12452_ACEOF 12453if ac_fn_c_try_compile "$LINENO"; then : 12454 eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=yes 12455else 12456 eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=no 12457fi 12458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12459 CFLAGS=$ax_save_FLAGS 12460eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh` 12461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5 12462$as_echo "$ax_check_compiler_flags" >&6; } 12463if test "x$ax_check_compiler_flags" = xyes; then 12464 : 12465else 12466 12467 echo "" 12468 echo "********************************************************" 12469 echo "* WARNING: The guessed CFLAGS don't seem to work with *" 12470 echo "* your compiler. *" 12471 echo "* Use ./configure CFLAGS=... to specify your own flags *" 12472 echo "********************************************************" 12473 echo "" 12474 CFLAGS="" 12475 12476fi 12477 12478 12479fi 12480 12481 12482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS_WARN for maximum warnings" >&5 12483$as_echo_n "checking CFLAGS_WARN for maximum warnings... " >&6; } 12484if ${ac_cv_cflags_warn_all+:} false; then : 12485 $as_echo_n "(cached) " >&6 12486else 12487 ac_cv_cflags_warn_all="no, unknown" 12488 12489 ac_ext=c 12490ac_cpp='$CPP $CPPFLAGS' 12491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12493ac_compiler_gnu=$ac_cv_c_compiler_gnu 12494 12495 ac_save_CFLAGS="$CFLAGS" 12496for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" # 12497do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` 12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12499/* end confdefs.h. */ 12500 12501int 12502main () 12503{ 12504return 0; 12505 ; 12506 return 0; 12507} 12508_ACEOF 12509if ac_fn_c_try_compile "$LINENO"; then : 12510 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break 12511fi 12512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12513done 12514 CFLAGS="$ac_save_CFLAGS" 12515 ac_ext=c 12516ac_cpp='$CPP $CPPFLAGS' 12517ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12518ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12519ac_compiler_gnu=$ac_cv_c_compiler_gnu 12520 12521 12522fi 12523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5 12524$as_echo "$ac_cv_cflags_warn_all" >&6; } 12525case ".$ac_cv_cflags_warn_all" in 12526 .ok|.ok,*) ;; 12527 .|.no|.no,*) 12528 ;; 12529 *) 12530 if echo " $CFLAGS_WARN " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null 12531 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN does contain \$ac_cv_cflags_warn_all"; } >&5 12532 (: CFLAGS_WARN does contain $ac_cv_cflags_warn_all) 2>&5 12533 ac_status=$? 12534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12535 test $ac_status = 0; } 12536 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN=\"\$CFLAGS_WARN \$ac_cv_cflags_warn_all\""; } >&5 12537 (: CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all") 2>&5 12538 ac_status=$? 12539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12540 test $ac_status = 0; } 12541 CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all" 12542 fi 12543 ;; 12544esac 12545 12546 12547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12548$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12549if ${ac_cv_c_const+:} false; then : 12550 $as_echo_n "(cached) " >&6 12551else 12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12553/* end confdefs.h. */ 12554 12555int 12556main () 12557{ 12558 12559#ifndef __cplusplus 12560 /* Ultrix mips cc rejects this sort of thing. */ 12561 typedef int charset[2]; 12562 const charset cs = { 0, 0 }; 12563 /* SunOS 4.1.1 cc rejects this. */ 12564 char const *const *pcpcc; 12565 char **ppc; 12566 /* NEC SVR4.0.2 mips cc rejects this. */ 12567 struct point {int x, y;}; 12568 static struct point const zero = {0,0}; 12569 /* AIX XL C 1.02.0.0 rejects this. 12570 It does not let you subtract one const X* pointer from another in 12571 an arm of an if-expression whose if-part is not a constant 12572 expression */ 12573 const char *g = "string"; 12574 pcpcc = &g + (g ? g-g : 0); 12575 /* HPUX 7.0 cc rejects these. */ 12576 ++pcpcc; 12577 ppc = (char**) pcpcc; 12578 pcpcc = (char const *const *) ppc; 12579 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12580 char tx; 12581 char *t = &tx; 12582 char const *s = 0 ? (char *) 0 : (char const *) 0; 12583 12584 *t++ = 0; 12585 if (s) return 0; 12586 } 12587 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12588 int x[] = {25, 17}; 12589 const int *foo = &x[0]; 12590 ++foo; 12591 } 12592 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12593 typedef const int *iptr; 12594 iptr p = 0; 12595 ++p; 12596 } 12597 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12598 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12599 struct s { int j; const int *ap[3]; } bx; 12600 struct s *b = &bx; b->j = 5; 12601 } 12602 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12603 const int foo = 10; 12604 if (!foo) return 0; 12605 } 12606 return !cs[0] && !zero.x; 12607#endif 12608 12609 ; 12610 return 0; 12611} 12612_ACEOF 12613if ac_fn_c_try_compile "$LINENO"; then : 12614 ac_cv_c_const=yes 12615else 12616 ac_cv_c_const=no 12617fi 12618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12619fi 12620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12621$as_echo "$ac_cv_c_const" >&6; } 12622if test $ac_cv_c_const = no; then 12623 12624$as_echo "@%:@define const /**/" >>confdefs.h 12625 12626fi 12627 12628ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 12629if test "x$ac_cv_type_size_t" = xyes; then : 12630 12631else 12632 12633cat >>confdefs.h <<_ACEOF 12634@%:@define size_t unsigned int 12635_ACEOF 12636 12637fi 12638 12639 12640 12641 12642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 12643$as_echo_n "checking for ANSI C header files... " >&6; } 12644if ${ac_cv_header_stdc+:} false; then : 12645 $as_echo_n "(cached) " >&6 12646else 12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12648/* end confdefs.h. */ 12649#include <stdlib.h> 12650#include <stdarg.h> 12651#include <string.h> 12652#include <float.h> 12653 12654int 12655main () 12656{ 12657 12658 ; 12659 return 0; 12660} 12661_ACEOF 12662if ac_fn_c_try_compile "$LINENO"; then : 12663 ac_cv_header_stdc=yes 12664else 12665 ac_cv_header_stdc=no 12666fi 12667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12668 12669if test $ac_cv_header_stdc = yes; then 12670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12672/* end confdefs.h. */ 12673#include <string.h> 12674 12675_ACEOF 12676if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12677 $EGREP "memchr" >/dev/null 2>&1; then : 12678 12679else 12680 ac_cv_header_stdc=no 12681fi 12682rm -f conftest* 12683 12684fi 12685 12686if test $ac_cv_header_stdc = yes; then 12687 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12689/* end confdefs.h. */ 12690#include <stdlib.h> 12691 12692_ACEOF 12693if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12694 $EGREP "free" >/dev/null 2>&1; then : 12695 12696else 12697 ac_cv_header_stdc=no 12698fi 12699rm -f conftest* 12700 12701fi 12702 12703if test $ac_cv_header_stdc = yes; then 12704 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12705 if test "$cross_compiling" = yes; then : 12706 : 12707else 12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12709/* end confdefs.h. */ 12710#include <ctype.h> 12711#include <stdlib.h> 12712#if ((' ' & 0x0FF) == 0x020) 12713# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12714# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12715#else 12716# define ISLOWER(c) \ 12717 (('a' <= (c) && (c) <= 'i') \ 12718 || ('j' <= (c) && (c) <= 'r') \ 12719 || ('s' <= (c) && (c) <= 'z')) 12720# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12721#endif 12722 12723#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12724int 12725main () 12726{ 12727 int i; 12728 for (i = 0; i < 256; i++) 12729 if (XOR (islower (i), ISLOWER (i)) 12730 || toupper (i) != TOUPPER (i)) 12731 return 2; 12732 return 0; 12733} 12734_ACEOF 12735if ac_fn_c_try_run "$LINENO"; then : 12736 12737else 12738 ac_cv_header_stdc=no 12739fi 12740rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12741 conftest.$ac_objext conftest.beam conftest.$ac_ext 12742fi 12743 12744fi 12745fi 12746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 12747$as_echo "$ac_cv_header_stdc" >&6; } 12748if test $ac_cv_header_stdc = yes; then 12749 12750$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 12751 12752fi 12753 12754 12755 12756for ac_func in strtol 12757do : 12758 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" 12759if test "x$ac_cv_func_strtol" = xyes; then : 12760 cat >>confdefs.h <<_ACEOF 12761@%:@define HAVE_STRTOL 1 12762_ACEOF 12763 12764fi 12765done 12766 12767 12768 12769 12770for ac_func in getrusage 12771do : 12772 ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage" 12773if test "x$ac_cv_func_getrusage" = xyes; then : 12774 cat >>confdefs.h <<_ACEOF 12775@%:@define HAVE_GETRUSAGE 1 12776_ACEOF 12777 12778$as_echo "@%:@define CLOOG_RUSAGE /**/" >>confdefs.h 12779 12780fi 12781done 12782 12783 12784 12785 12786 12787@%:@ Check whether --with-isl was given. 12788if test "${with_isl+set}" = set; then : 12789 withval=$with_isl; 12790fi 12791 12792case "system" in 12793no|system|build|bundled) 12794 12795@%:@ Check whether --with-isl_prefix was given. 12796if test "${with_isl_prefix+set}" = set; then : 12797 withval=$with_isl_prefix; 12798fi 12799 12800 12801@%:@ Check whether --with-isl_exec_prefix was given. 12802if test "${with_isl_exec_prefix+set}" = set; then : 12803 withval=$with_isl_exec_prefix; 12804fi 12805 12806esac 12807case "build" in 12808no|system|build|bundled) 12809 12810@%:@ Check whether --with-isl_builddir was given. 12811if test "${with_isl_builddir+set}" = set; then : 12812 withval=$with_isl_builddir; 12813fi 12814 12815esac 12816if test "x$with_isl_prefix" != "x" -a "x$with_isl_exec_prefix" = "x"; then 12817 with_isl_exec_prefix=$with_isl_prefix 12818fi 12819if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then 12820 if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then 12821 as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5 12822 fi 12823 with_isl="system" 12824fi 12825if test "x$with_isl_builddir" != "x"; then 12826 if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then 12827 as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5 12828 fi 12829 with_isl="build" 12830 isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-` 12831 { $as_echo "$as_me:${as_lineno-$LINENO}: isl sources in $isl_srcdir" >&5 12832$as_echo "$as_me: isl sources in $isl_srcdir" >&6;} 12833fi 12834case "$with_isl" in 12835no|system|build|bundled) 12836 ;; 12837*) 12838 if test -d $srcdir/.git -a \ 12839 -d $srcdir/isl -a \ 12840 ! -d $srcdir/isl/.git; then 12841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule isl not initialized" >&5 12842$as_echo "$as_me: WARNING: git repo detected, but submodule isl not initialized" >&2;} 12843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5 12844$as_echo "$as_me: WARNING: You may want to run" >&2;} 12845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5 12846$as_echo "$as_me: WARNING: git submodule init" >&2;} 12847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5 12848$as_echo "$as_me: WARNING: git submodule update" >&2;} 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5 12850$as_echo "$as_me: WARNING: sh autogen.sh" >&2;} 12851 fi 12852 if test -f $srcdir/isl/configure -a "bundled" != "no"; then 12853 with_isl="bundled" 12854 else 12855 with_isl="bundled" 12856 fi 12857 ;; 12858esac 12859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which isl to use" >&5 12860$as_echo_n "checking which isl to use... " >&6; } 12861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isl" >&5 12862$as_echo "$with_isl" >&6; } 12863 12864 12865BITS="gmp" 12866 12867 12868 12869 12870 12871@%:@ Check whether --with-gmp was given. 12872if test "${with_gmp+set}" = set; then : 12873 withval=$with_gmp; 12874fi 12875 12876case "system" in 12877system|build) 12878 12879@%:@ Check whether --with-gmp_prefix was given. 12880if test "${with_gmp_prefix+set}" = set; then : 12881 withval=$with_gmp_prefix; 12882fi 12883 12884 12885@%:@ Check whether --with-gmp_exec_prefix was given. 12886if test "${with_gmp_exec_prefix+set}" = set; then : 12887 withval=$with_gmp_exec_prefix; 12888fi 12889 12890esac 12891case "build" in 12892system|build) 12893 12894@%:@ Check whether --with-gmp_builddir was given. 12895if test "${with_gmp_builddir+set}" = set; then : 12896 withval=$with_gmp_builddir; 12897fi 12898 12899esac 12900if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then 12901 with_gmp_exec_prefix=$with_gmp_prefix 12902fi 12903if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then 12904 if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then 12905 as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5 12906 fi 12907 with_gmp="system" 12908fi 12909if test "x$with_gmp_builddir" != "x"; then 12910 if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then 12911 as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5 12912 fi 12913 with_gmp="build" 12914 gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-` 12915 { $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5 12916$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;} 12917fi 12918case "$with_gmp" in 12919system|build) 12920 ;; 12921*) 12922 if test -d $srcdir/.git -a \ 12923 -d $srcdir/gmp -a \ 12924 ! -d $srcdir/gmp/.git; then 12925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5 12926$as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;} 12927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5 12928$as_echo "$as_me: WARNING: You may want to run" >&2;} 12929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5 12930$as_echo "$as_me: WARNING: git submodule init" >&2;} 12931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5 12932$as_echo "$as_me: WARNING: git submodule update" >&2;} 12933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5 12934$as_echo "$as_me: WARNING: sh autogen.sh" >&2;} 12935 fi 12936 if test -f $srcdir/gmp/configure -a "system" != "no"; then 12937 with_gmp="bundled" 12938 else 12939 with_gmp="system" 12940 fi 12941 ;; 12942esac 12943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5 12944$as_echo_n "checking which gmp to use... " >&6; } 12945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5 12946$as_echo "$with_gmp" >&6; } 12947 12948 12949 12950need_get_memory_functions=false 12951case "$with_gmp" in 12952build) 12953 CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS" 12954 LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS" 12955 ;; 12956system) 12957 if test "x$with_gmp_prefix" != "x"; then 12958 CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS" 12959 fi 12960 12961 if test "$with_gmp_exec_prefix" != "yes" ; then 12962 LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS" 12963 fi 12964 ;; 12965esac 12966case "$with_gmp" in 12967build|system) 12968 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 12969if test "x$ac_cv_header_gmp_h" = xyes; then : 12970 12971else 12972 as_fn_error $? "Can't find gmp headers." "$LINENO" 5 12973fi 12974 12975 12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5 12977$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; } 12978if ${ac_cv_lib_gmp___gmpz_init+:} false; then : 12979 $as_echo_n "(cached) " >&6 12980else 12981 ac_check_lib_save_LIBS=$LIBS 12982LIBS="-lgmp $LIBS" 12983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12984/* end confdefs.h. */ 12985 12986/* Override any GCC internal prototype to avoid an error. 12987 Use char because int might match the return type of a GCC 12988 builtin and then its argument prototype would still apply. */ 12989#ifdef __cplusplus 12990extern "C" 12991#endif 12992char __gmpz_init (); 12993int 12994main () 12995{ 12996return __gmpz_init (); 12997 ; 12998 return 0; 12999} 13000_ACEOF 13001if ac_fn_c_try_link "$LINENO"; then : 13002 ac_cv_lib_gmp___gmpz_init=yes 13003else 13004 ac_cv_lib_gmp___gmpz_init=no 13005fi 13006rm -f core conftest.err conftest.$ac_objext \ 13007 conftest$ac_exeext conftest.$ac_ext 13008LIBS=$ac_check_lib_save_LIBS 13009fi 13010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5 13011$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; } 13012if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then : 13013 LIBS="$LIBS -lgmp" 13014else 13015 as_fn_error $? "Can't find gmp library." "$LINENO" 5 13016fi 13017 13018 ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h> 13019" 13020if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes; then : 13021 ac_have_decl=1 13022else 13023 ac_have_decl=0 13024fi 13025 13026cat >>confdefs.h <<_ACEOF 13027@%:@define HAVE_DECL_MP_GET_MEMORY_FUNCTIONS $ac_have_decl 13028_ACEOF 13029if test $ac_have_decl = 1; then : 13030 13031else 13032 13033 need_get_memory_functions=true 13034 13035fi 13036 13037 ;; 13038esac 13039 if test x$need_get_memory_functions = xtrue; then 13040 NEED_GET_MEMORY_FUNCTIONS_TRUE= 13041 NEED_GET_MEMORY_FUNCTIONS_FALSE='#' 13042else 13043 NEED_GET_MEMORY_FUNCTIONS_TRUE='#' 13044 NEED_GET_MEMORY_FUNCTIONS_FALSE= 13045fi 13046 13047 13048 13049 13050 13051 13052case "$with_isl" in 13053bundled) 13054 ISL_CPPFLAGS="-I$srcdir/isl/include -Iisl/include" 13055 ;; 13056build) 13057 ISL_CPPFLAGS="-I$isl_srcdir/include -I$with_isl_builddir/include" 13058 ISL_LIBS="$with_isl_builddir/libisl.la" 13059 ;; 13060system) 13061 if test "x$with_isl_prefix" != "x"; then 13062 ISL_CPPFLAGS="-I$with_isl_prefix/include" 13063 fi 13064 if test "x$with_isl_exec_prefix" != "x"; then 13065 ISL_LDFLAGS="-L$with_isl_exec_prefix/lib" 13066 fi 13067 ISL_LIBS="-lisl" 13068esac 13069 if test $with_isl = bundled; then 13070 BUNDLED_ISL_TRUE= 13071 BUNDLED_ISL_FALSE='#' 13072else 13073 BUNDLED_ISL_TRUE='#' 13074 BUNDLED_ISL_FALSE= 13075fi 13076 13077 if test $with_isl = no; then 13078 NO_ISL_TRUE= 13079 NO_ISL_FALSE='#' 13080else 13081 NO_ISL_TRUE='#' 13082 NO_ISL_FALSE= 13083fi 13084 13085 13086 13087 13088 13089 13090 13091@%:@ Check whether --with-osl was given. 13092if test "${with_osl+set}" = set; then : 13093 withval=$with_osl; 13094fi 13095 13096case "system" in 13097no|system|build|bundled) 13098 13099@%:@ Check whether --with-osl_prefix was given. 13100if test "${with_osl_prefix+set}" = set; then : 13101 withval=$with_osl_prefix; 13102fi 13103 13104 13105@%:@ Check whether --with-osl_exec_prefix was given. 13106if test "${with_osl_exec_prefix+set}" = set; then : 13107 withval=$with_osl_exec_prefix; 13108fi 13109 13110esac 13111case "build" in 13112no|system|build|bundled) 13113 13114@%:@ Check whether --with-osl_builddir was given. 13115if test "${with_osl_builddir+set}" = set; then : 13116 withval=$with_osl_builddir; 13117fi 13118 13119esac 13120if test "x$with_osl_prefix" != "x" -a "x$with_osl_exec_prefix" = "x"; then 13121 with_osl_exec_prefix=$with_osl_prefix 13122fi 13123if test "x$with_osl_prefix" != "x" -o "x$with_osl_exec_prefix" != "x"; then 13124 if test "x$with_osl" != "x" -a "x$with_osl" != "xsystem"; then 13125 as_fn_error $? "Setting $with_osl_prefix implies use of system osl" "$LINENO" 5 13126 fi 13127 with_osl="system" 13128fi 13129if test "x$with_osl_builddir" != "x"; then 13130 if test "x$with_osl" != "x" -a "x$with_osl" != "xbuild"; then 13131 as_fn_error $? "Setting $with_osl_builddir implies use of build osl" "$LINENO" 5 13132 fi 13133 with_osl="build" 13134 osl_srcdir=`echo @abs_srcdir@ | $with_osl_builddir/config.status --file=-` 13135 { $as_echo "$as_me:${as_lineno-$LINENO}: osl sources in $osl_srcdir" >&5 13136$as_echo "$as_me: osl sources in $osl_srcdir" >&6;} 13137fi 13138case "$with_osl" in 13139no|system|build|bundled) 13140 ;; 13141*) 13142 if test -d $srcdir/.git -a \ 13143 -d $srcdir/osl -a \ 13144 ! -d $srcdir/osl/.git; then 13145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule osl not initialized" >&5 13146$as_echo "$as_me: WARNING: git repo detected, but submodule osl not initialized" >&2;} 13147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5 13148$as_echo "$as_me: WARNING: You may want to run" >&2;} 13149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5 13150$as_echo "$as_me: WARNING: git submodule init" >&2;} 13151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5 13152$as_echo "$as_me: WARNING: git submodule update" >&2;} 13153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5 13154$as_echo "$as_me: WARNING: sh autogen.sh" >&2;} 13155 fi 13156 if test -f $srcdir/osl/configure -a "no" != "no"; then 13157 with_osl="bundled" 13158 else 13159 with_osl="no" 13160 fi 13161 ;; 13162esac 13163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which osl to use" >&5 13164$as_echo_n "checking which osl to use... " >&6; } 13165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_osl" >&5 13166$as_echo "$with_osl" >&6; } 13167 13168 13169osl_flag="OSL_SUPPORT" 13170 13171 13172 13173 13174case "$with_osl" in 13175bundled) 13176 OSL_CPPFLAGS="-D$osl_flag -I$srcdir/osl/include -Iosl/include" 13177 ;; 13178build) 13179 OSL_CPPFLAGS="-D$osl_flag -I$osl_srcdir/include -I$with_osl_builddir/include" 13180 OSL_LIBS="$with_osl_builddir/libosl.la" 13181 ;; 13182system) 13183 if test "x$with_osl_prefix" != "x"; then 13184 OSL_CPPFLAGS="-D$osl_flag -I$with_osl_prefix/include" 13185 fi 13186 if test "x$with_osl_exec_prefix" != "x"; then 13187 OSL_LDFLAGS="-L$with_osl_exec_prefix/lib" 13188 fi 13189 OSL_LIBS="-losl" 13190esac 13191 if test $with_osl = bundled; then 13192 BUNDLED_OSL_TRUE= 13193 BUNDLED_OSL_FALSE='#' 13194else 13195 BUNDLED_OSL_TRUE='#' 13196 BUNDLED_OSL_FALSE= 13197fi 13198 13199 if test $with_osl = no; then 13200 NO_OSL_TRUE= 13201 NO_OSL_FALSE='#' 13202else 13203 NO_OSL_TRUE='#' 13204 NO_OSL_FALSE= 13205fi 13206 13207 13208 13209 13210$as_echo "@%:@define CLOOG_INT_GMP 1" >>confdefs.h 13211 13212 13213 13214if test -f $srcdir/.git/HEAD; then 13215 GIT_INDEX="\$(top_srcdir)/.git/index" 13216fi 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234PACKAGE_NAME="cloog-isl" 13235PACKAGE_CFLAGS="-DCLOOG_INT_GMP=1" 13236 13237# we need the expanded forms... 13238test "x$prefix" = xNONE && prefix=$ac_default_prefix 13239test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13240 13241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5 13242$as_echo_n "checking our pkgconfig libname... " >&6; } 13243test ".$ax_create_pkgconfig_libname" != "." || \ 13244ax_create_pkgconfig_libname="${PACKAGE_NAME}" 13245test ".$ax_create_pkgconfig_libname" != "." || \ 13246ax_create_pkgconfig_libname="$PACKAGE" 13247ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"` 13248ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"` 13249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5 13250$as_echo "$ax_create_pkgconfig_libname" >&6; } 13251 13252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5 13253$as_echo_n "checking our pkgconfig version... " >&6; } 13254test ".$ax_create_pkgconfig_version" != "." || \ 13255ax_create_pkgconfig_version="${PACKAGE_VERSION}" 13256test ".$ax_create_pkgconfig_version" != "." || \ 13257ax_create_pkgconfig_version="$VERSION" 13258ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"` 13259ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"` 13260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5 13261$as_echo "$ax_create_pkgconfig_version" >&6; } 13262 13263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5 13264$as_echo_n "checking our pkgconfig_libdir... " >&6; } 13265test ".$pkgconfig_libdir" = "." && \ 13266pkgconfig_libdir='${libdir}/pkgconfig' 13267ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"` 13268ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"` 13269ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"` 13270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5 13271$as_echo "$pkgconfig_libdir" >&6; } 13272test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && ( 13273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5 13274$as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; }) 13275 13276 13277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5 13278$as_echo_n "checking our pkgconfig_libfile... " >&6; } 13279test ".$pkgconfig_libfile" != "." || \ 13280pkgconfig_libfile="$ax_create_pkgconfig_libname.pc" 13281ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"` 13282ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"` 13283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5 13284$as_echo "$pkgconfig_libfile" >&6; } 13285test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && ( 13286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5 13287$as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; }) 13288 13289 13290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5 13291$as_echo_n "checking our package / suffix... " >&6; } 13292ax_create_pkgconfig_suffix="$program_suffix" 13293test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix="" 13294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5 13295$as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; } 13296 13297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5 13298$as_echo_n "checking our pkgconfig description... " >&6; } 13299ax_create_pkgconfig_description="$PACKAGE_SUMMARY" 13300test ".$ax_create_pkgconfig_description" != "." || \ 13301ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library" 13302ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"` 13303ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"` 13304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5 13305$as_echo "$ax_create_pkgconfig_description" >&6; } 13306 13307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5 13308$as_echo_n "checking our pkgconfig requires... " >&6; } 13309ax_create_pkgconfig_requires="$PACKAGE_REQUIRES" 13310ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"` 13311ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"` 13312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5 13313$as_echo "$ax_create_pkgconfig_requires" >&6; } 13314 13315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5 13316$as_echo_n "checking our pkgconfig ext libs... " >&6; } 13317ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS" 13318test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname" 13319ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS" 13320ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"` 13321ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"` 13322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5 13323$as_echo "$ax_create_pkgconfig_libs" >&6; } 13324 13325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5 13326$as_echo_n "checking our pkgconfig cppflags... " >&6; } 13327ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS" 13328ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"` 13329ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"` 13330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5 13331$as_echo "$ax_create_pkgconfig_cppflags" >&6; } 13332 13333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5 13334$as_echo_n "checking our pkgconfig ldflags... " >&6; } 13335ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS" 13336ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"` 13337ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"` 13338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5 13339$as_echo "$ax_create_pkgconfig_ldflags" >&6; } 13340 13341test ".$ax_create_pkgconfig_generate" != "." || \ 13342ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc" 13343ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"` 13344ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"` 13345test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && ( 13346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5 13347$as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; }) 13348 13349if test ".$ax_create_pkgconfig_src_libdir" = "." ; then 13350ax_create_pkgconfig_src_libdir=`pwd` 13351ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" || 13352$as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13353 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \ 13354 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \ 13355 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null || 13356$as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" | 13357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13358 s//\1/ 13359 q 13360 } 13361 /^X\(\/\/\)[^/].*/{ 13362 s//\1/ 13363 q 13364 } 13365 /^X\(\/\/\)$/{ 13366 s//\1/ 13367 q 13368 } 13369 /^X\(\/\).*/{ 13370 s//\1/ 13371 q 13372 } 13373 s/.*/./; q'` 13374test ! -d $ax_create_pkgconfig_src_libdir/src || \ 13375ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src" 13376case ".$objdir" in 13377*libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac 13378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5 13379$as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; } 13380fi 13381 13382if test ".$ax_create_pkgconfig_src_headers" = "." ; then 13383ax_create_pkgconfig_src_headers=`pwd` 13384v="$ac_top_srcdir" ; 13385test ".$v" != "." || v="$ax_spec_dir" 13386test ".$v" != "." || v="$srcdir" 13387case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac 13388ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" || 13389$as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13390 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \ 13391 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \ 13392 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null || 13393$as_echo X"$ax_create_pkgconfig_src_headers/$v/x" | 13394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13395 s//\1/ 13396 q 13397 } 13398 /^X\(\/\/\)[^/].*/{ 13399 s//\1/ 13400 q 13401 } 13402 /^X\(\/\/\)$/{ 13403 s//\1/ 13404 q 13405 } 13406 /^X\(\/\).*/{ 13407 s//\1/ 13408 q 13409 } 13410 s/.*/./; q'` 13411test ! -d $ax_create_pkgconfig_src_headers/include || \ 13412ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include" 13413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5 13414$as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; } 13415fi 13416 13417 13418ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate" 13419 13420 13421ac_config_files="$ac_config_files Makefile test/Makefile" 13422 13423ac_config_files="$ac_config_files autoconf/Doxyfile" 13424 13425ac_config_files="$ac_config_files doc/Makefile" 13426 13427ac_config_files="$ac_config_files source/version.c" 13428 13429ac_config_files="$ac_config_files include/cloog/version.h" 13430 13431ac_config_files="$ac_config_files genversion.sh" 13432 13433ac_config_commands="$ac_config_commands version.h" 13434 13435ac_config_commands="$ac_config_commands doc/gitversion.texi" 13436 13437if test $with_isl = bundled; then 13438 13439 13440subdirs="$subdirs isl" 13441 13442fi 13443if test $with_osl = bundled; then 13444 subdirs="$subdirs osl" 13445 13446fi 13447 13448cat >confcache <<\_ACEOF 13449# This file is a shell script that caches the results of configure 13450# tests run on this system so they can be shared between configure 13451# scripts and configure runs, see configure's option --config-cache. 13452# It is not useful on other systems. If it contains results you don't 13453# want to keep, you may remove or edit it. 13454# 13455# config.status only pays attention to the cache file if you give it 13456# the --recheck option to rerun configure. 13457# 13458# `ac_cv_env_foo' variables (set or unset) will be overridden when 13459# loading this file, other *unset* `ac_cv_foo' will be assigned the 13460# following values. 13461 13462_ACEOF 13463 13464# The following way of writing the cache mishandles newlines in values, 13465# but we know of no workaround that is simple, portable, and efficient. 13466# So, we kill variables containing newlines. 13467# Ultrix sh set writes to stderr and can't be redirected directly, 13468# and sets the high bit in the cache file unless we assign to the vars. 13469( 13470 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13471 eval ac_val=\$$ac_var 13472 case $ac_val in #( 13473 *${as_nl}*) 13474 case $ac_var in #( 13475 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13476$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13477 esac 13478 case $ac_var in #( 13479 _ | IFS | as_nl) ;; #( 13480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13481 *) { eval $ac_var=; unset $ac_var;} ;; 13482 esac ;; 13483 esac 13484 done 13485 13486 (set) 2>&1 | 13487 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13488 *${as_nl}ac_space=\ *) 13489 # `set' does not quote correctly, so add quotes: double-quote 13490 # substitution turns \\\\ into \\, and sed turns \\ into \. 13491 sed -n \ 13492 "s/'/'\\\\''/g; 13493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13494 ;; #( 13495 *) 13496 # `set' quotes correctly as required by POSIX, so do not add quotes. 13497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13498 ;; 13499 esac | 13500 sort 13501) | 13502 sed ' 13503 /^ac_cv_env_/b end 13504 t clear 13505 :clear 13506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13507 t end 13508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13509 :end' >>confcache 13510if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13511 if test -w "$cache_file"; then 13512 if test "x$cache_file" != "x/dev/null"; then 13513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13514$as_echo "$as_me: updating cache $cache_file" >&6;} 13515 if test ! -f "$cache_file" || test -h "$cache_file"; then 13516 cat confcache >"$cache_file" 13517 else 13518 case $cache_file in #( 13519 */* | ?:*) 13520 mv -f confcache "$cache_file"$$ && 13521 mv -f "$cache_file"$$ "$cache_file" ;; #( 13522 *) 13523 mv -f confcache "$cache_file" ;; 13524 esac 13525 fi 13526 fi 13527 else 13528 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13529$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13530 fi 13531fi 13532rm -f confcache 13533 13534test "x$prefix" = xNONE && prefix=$ac_default_prefix 13535# Let make expand exec_prefix. 13536test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13537 13538# Transform confdefs.h into DEFS. 13539# Protect against shell expansion while executing Makefile rules. 13540# Protect against Makefile macro expansion. 13541# 13542# If the first sed substitution is executed (which looks for macros that 13543# take arguments), then branch to the quote section. Otherwise, 13544# look for a macro that doesn't take arguments. 13545ac_script=' 13546:mline 13547/\\$/{ 13548 N 13549 s,\\\n,, 13550 b mline 13551} 13552t clear 13553:clear 13554s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 13555t quote 13556s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 13557t quote 13558b any 13559:quote 13560s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 13561s/\[/\\&/g 13562s/\]/\\&/g 13563s/\$/$$/g 13564H 13565:any 13566${ 13567 g 13568 s/^\n// 13569 s/\n/ /g 13570 p 13571} 13572' 13573DEFS=`sed -n "$ac_script" confdefs.h` 13574 13575 13576ac_libobjs= 13577ac_ltlibobjs= 13578U= 13579for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 13580 # 1. Remove the extension, and $U if already installed. 13581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13584 # will be set to the directory where LIBOBJS objects are built. 13585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13587done 13588LIB@&t@OBJS=$ac_libobjs 13589 13590LTLIBOBJS=$ac_ltlibobjs 13591 13592 13593 if test -n "$EXEEXT"; then 13594 am__EXEEXT_TRUE= 13595 am__EXEEXT_FALSE='#' 13596else 13597 am__EXEEXT_TRUE='#' 13598 am__EXEEXT_FALSE= 13599fi 13600 13601if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13602 as_fn_error $? "conditional \"AMDEP\" was never defined. 13603Usually this means the macro was only invoked conditionally." "$LINENO" 5 13604fi 13605if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13606 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13607Usually this means the macro was only invoked conditionally." "$LINENO" 5 13608fi 13609if test -z "${HAVE_TEXI2DVI_TRUE}" && test -z "${HAVE_TEXI2DVI_FALSE}"; then 13610 as_fn_error $? "conditional \"HAVE_TEXI2DVI\" was never defined. 13611Usually this means the macro was only invoked conditionally." "$LINENO" 5 13612fi 13613if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then 13614 as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined. 13615Usually this means the macro was only invoked conditionally." "$LINENO" 5 13616fi 13617if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then 13618 as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined. 13619Usually this means the macro was only invoked conditionally." "$LINENO" 5 13620fi 13621if test -z "${NO_ISL_TRUE}" && test -z "${NO_ISL_FALSE}"; then 13622 as_fn_error $? "conditional \"NO_ISL\" was never defined. 13623Usually this means the macro was only invoked conditionally." "$LINENO" 5 13624fi 13625if test -z "${BUNDLED_OSL_TRUE}" && test -z "${BUNDLED_OSL_FALSE}"; then 13626 as_fn_error $? "conditional \"BUNDLED_OSL\" was never defined. 13627Usually this means the macro was only invoked conditionally." "$LINENO" 5 13628fi 13629if test -z "${NO_OSL_TRUE}" && test -z "${NO_OSL_FALSE}"; then 13630 as_fn_error $? "conditional \"NO_OSL\" was never defined. 13631Usually this means the macro was only invoked conditionally." "$LINENO" 5 13632fi 13633 13634: "${CONFIG_STATUS=./config.status}" 13635ac_write_fail=0 13636ac_clean_files_save=$ac_clean_files 13637ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13638{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13639$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13640as_write_fail=0 13641cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13642#! $SHELL 13643# Generated by $as_me. 13644# Run this file to recreate the current configuration. 13645# Compiler output produced by configure, useful for debugging 13646# configure, is in config.log if it exists. 13647 13648debug=false 13649ac_cs_recheck=false 13650ac_cs_silent=false 13651 13652SHELL=\${CONFIG_SHELL-$SHELL} 13653export SHELL 13654_ASEOF 13655cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13656## -------------------- ## 13657## M4sh Initialization. ## 13658## -------------------- ## 13659 13660# Be more Bourne compatible 13661DUALCASE=1; export DUALCASE # for MKS sh 13662if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13663 emulate sh 13664 NULLCMD=: 13665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13666 # is contrary to our usage. Disable this feature. 13667 alias -g '${1+"$@"}'='"$@"' 13668 setopt NO_GLOB_SUBST 13669else 13670 case `(set -o) 2>/dev/null` in @%:@( 13671 *posix*) : 13672 set -o posix ;; @%:@( 13673 *) : 13674 ;; 13675esac 13676fi 13677 13678 13679as_nl=' 13680' 13681export as_nl 13682# Printing a long string crashes Solaris 7 /usr/bin/printf. 13683as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13684as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13685as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13686# Prefer a ksh shell builtin over an external printf program on Solaris, 13687# but without wasting forks for bash or zsh. 13688if test -z "$BASH_VERSION$ZSH_VERSION" \ 13689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13690 as_echo='print -r --' 13691 as_echo_n='print -rn --' 13692elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13693 as_echo='printf %s\n' 13694 as_echo_n='printf %s' 13695else 13696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13697 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13698 as_echo_n='/usr/ucb/echo -n' 13699 else 13700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13701 as_echo_n_body='eval 13702 arg=$1; 13703 case $arg in @%:@( 13704 *"$as_nl"*) 13705 expr "X$arg" : "X\\(.*\\)$as_nl"; 13706 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13707 esac; 13708 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13709 ' 13710 export as_echo_n_body 13711 as_echo_n='sh -c $as_echo_n_body as_echo' 13712 fi 13713 export as_echo_body 13714 as_echo='sh -c $as_echo_body as_echo' 13715fi 13716 13717# The user is always right. 13718if test "${PATH_SEPARATOR+set}" != set; then 13719 PATH_SEPARATOR=: 13720 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13721 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13722 PATH_SEPARATOR=';' 13723 } 13724fi 13725 13726 13727# IFS 13728# We need space, tab and new line, in precisely that order. Quoting is 13729# there to prevent editors from complaining about space-tab. 13730# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13731# splitting by setting IFS to empty value.) 13732IFS=" "" $as_nl" 13733 13734# Find who we are. Look in the path if we contain no directory separator. 13735as_myself= 13736case $0 in @%:@(( 13737 *[\\/]* ) as_myself=$0 ;; 13738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13739for as_dir in $PATH 13740do 13741 IFS=$as_save_IFS 13742 test -z "$as_dir" && as_dir=. 13743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13744 done 13745IFS=$as_save_IFS 13746 13747 ;; 13748esac 13749# We did not find ourselves, most probably we were run as `sh COMMAND' 13750# in which case we are not to be found in the path. 13751if test "x$as_myself" = x; then 13752 as_myself=$0 13753fi 13754if test ! -f "$as_myself"; then 13755 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13756 exit 1 13757fi 13758 13759# Unset variables that we do not need and which cause bugs (e.g. in 13760# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13761# suppresses any "Segmentation fault" message there. '((' could 13762# trigger a bug in pdksh 5.2.14. 13763for as_var in BASH_ENV ENV MAIL MAILPATH 13764do eval test x\${$as_var+set} = xset \ 13765 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13766done 13767PS1='$ ' 13768PS2='> ' 13769PS4='+ ' 13770 13771# NLS nuisances. 13772LC_ALL=C 13773export LC_ALL 13774LANGUAGE=C 13775export LANGUAGE 13776 13777# CDPATH. 13778(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13779 13780 13781@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 13782@%:@ ---------------------------------------- 13783@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13784@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13785@%:@ script with STATUS, using 1 if that was 0. 13786as_fn_error () 13787{ 13788 as_status=$1; test $as_status -eq 0 && as_status=1 13789 if test "$4"; then 13790 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13791 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13792 fi 13793 $as_echo "$as_me: error: $2" >&2 13794 as_fn_exit $as_status 13795} @%:@ as_fn_error 13796 13797 13798@%:@ as_fn_set_status STATUS 13799@%:@ ----------------------- 13800@%:@ Set @S|@? to STATUS, without forking. 13801as_fn_set_status () 13802{ 13803 return $1 13804} @%:@ as_fn_set_status 13805 13806@%:@ as_fn_exit STATUS 13807@%:@ ----------------- 13808@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13809as_fn_exit () 13810{ 13811 set +e 13812 as_fn_set_status $1 13813 exit $1 13814} @%:@ as_fn_exit 13815 13816@%:@ as_fn_unset VAR 13817@%:@ --------------- 13818@%:@ Portably unset VAR. 13819as_fn_unset () 13820{ 13821 { eval $1=; unset $1;} 13822} 13823as_unset=as_fn_unset 13824@%:@ as_fn_append VAR VALUE 13825@%:@ ---------------------- 13826@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 13827@%:@ advantage of any shell optimizations that allow amortized linear growth over 13828@%:@ repeated appends, instead of the typical quadratic growth present in naive 13829@%:@ implementations. 13830if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13831 eval 'as_fn_append () 13832 { 13833 eval $1+=\$2 13834 }' 13835else 13836 as_fn_append () 13837 { 13838 eval $1=\$$1\$2 13839 } 13840fi # as_fn_append 13841 13842@%:@ as_fn_arith ARG... 13843@%:@ ------------------ 13844@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 13845@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 13846@%:@ must be portable across @S|@(()) and expr. 13847if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13848 eval 'as_fn_arith () 13849 { 13850 as_val=$(( $* )) 13851 }' 13852else 13853 as_fn_arith () 13854 { 13855 as_val=`expr "$@" || test $? -eq 1` 13856 } 13857fi # as_fn_arith 13858 13859 13860if expr a : '\(a\)' >/dev/null 2>&1 && 13861 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13862 as_expr=expr 13863else 13864 as_expr=false 13865fi 13866 13867if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13868 as_basename=basename 13869else 13870 as_basename=false 13871fi 13872 13873if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13874 as_dirname=dirname 13875else 13876 as_dirname=false 13877fi 13878 13879as_me=`$as_basename -- "$0" || 13880$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13881 X"$0" : 'X\(//\)$' \| \ 13882 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13883$as_echo X/"$0" | 13884 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13885 s//\1/ 13886 q 13887 } 13888 /^X\/\(\/\/\)$/{ 13889 s//\1/ 13890 q 13891 } 13892 /^X\/\(\/\).*/{ 13893 s//\1/ 13894 q 13895 } 13896 s/.*/./; q'` 13897 13898# Avoid depending upon Character Ranges. 13899as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13900as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13901as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13902as_cr_digits='0123456789' 13903as_cr_alnum=$as_cr_Letters$as_cr_digits 13904 13905ECHO_C= ECHO_N= ECHO_T= 13906case `echo -n x` in @%:@((((( 13907-n*) 13908 case `echo 'xy\c'` in 13909 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13910 xy) ECHO_C='\c';; 13911 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13912 ECHO_T=' ';; 13913 esac;; 13914*) 13915 ECHO_N='-n';; 13916esac 13917 13918rm -f conf$$ conf$$.exe conf$$.file 13919if test -d conf$$.dir; then 13920 rm -f conf$$.dir/conf$$.file 13921else 13922 rm -f conf$$.dir 13923 mkdir conf$$.dir 2>/dev/null 13924fi 13925if (echo >conf$$.file) 2>/dev/null; then 13926 if ln -s conf$$.file conf$$ 2>/dev/null; then 13927 as_ln_s='ln -s' 13928 # ... but there are two gotchas: 13929 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13930 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13931 # In both cases, we have to default to `cp -pR'. 13932 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13933 as_ln_s='cp -pR' 13934 elif ln conf$$.file conf$$ 2>/dev/null; then 13935 as_ln_s=ln 13936 else 13937 as_ln_s='cp -pR' 13938 fi 13939else 13940 as_ln_s='cp -pR' 13941fi 13942rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13943rmdir conf$$.dir 2>/dev/null 13944 13945 13946@%:@ as_fn_mkdir_p 13947@%:@ ------------- 13948@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 13949as_fn_mkdir_p () 13950{ 13951 13952 case $as_dir in #( 13953 -*) as_dir=./$as_dir;; 13954 esac 13955 test -d "$as_dir" || eval $as_mkdir_p || { 13956 as_dirs= 13957 while :; do 13958 case $as_dir in #( 13959 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13960 *) as_qdir=$as_dir;; 13961 esac 13962 as_dirs="'$as_qdir' $as_dirs" 13963 as_dir=`$as_dirname -- "$as_dir" || 13964$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13965 X"$as_dir" : 'X\(//\)[^/]' \| \ 13966 X"$as_dir" : 'X\(//\)$' \| \ 13967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13968$as_echo X"$as_dir" | 13969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13970 s//\1/ 13971 q 13972 } 13973 /^X\(\/\/\)[^/].*/{ 13974 s//\1/ 13975 q 13976 } 13977 /^X\(\/\/\)$/{ 13978 s//\1/ 13979 q 13980 } 13981 /^X\(\/\).*/{ 13982 s//\1/ 13983 q 13984 } 13985 s/.*/./; q'` 13986 test -d "$as_dir" && break 13987 done 13988 test -z "$as_dirs" || eval "mkdir $as_dirs" 13989 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13990 13991 13992} @%:@ as_fn_mkdir_p 13993if mkdir -p . 2>/dev/null; then 13994 as_mkdir_p='mkdir -p "$as_dir"' 13995else 13996 test -d ./-p && rmdir ./-p 13997 as_mkdir_p=false 13998fi 13999 14000 14001@%:@ as_fn_executable_p FILE 14002@%:@ ----------------------- 14003@%:@ Test if FILE is an executable regular file. 14004as_fn_executable_p () 14005{ 14006 test -f "$1" && test -x "$1" 14007} @%:@ as_fn_executable_p 14008as_test_x='test -x' 14009as_executable_p=as_fn_executable_p 14010 14011# Sed expression to map a string onto a valid CPP name. 14012as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14013 14014# Sed expression to map a string onto a valid variable name. 14015as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14016 14017 14018exec 6>&1 14019## ----------------------------------- ## 14020## Main body of $CONFIG_STATUS script. ## 14021## ----------------------------------- ## 14022_ASEOF 14023test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14024 14025cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14026# Save the log message, to keep $0 and so on meaningful, and to 14027# report actual input values of CONFIG_FILES etc. instead of their 14028# values after options handling. 14029ac_log=" 14030This file was extended by cloog $as_me 0.18.0, which was 14031generated by GNU Autoconf 2.69. Invocation command line was 14032 14033 CONFIG_FILES = $CONFIG_FILES 14034 CONFIG_HEADERS = $CONFIG_HEADERS 14035 CONFIG_LINKS = $CONFIG_LINKS 14036 CONFIG_COMMANDS = $CONFIG_COMMANDS 14037 $ $0 $@ 14038 14039on `(hostname || uname -n) 2>/dev/null | sed 1q` 14040" 14041 14042_ACEOF 14043 14044case $ac_config_files in *" 14045"*) set x $ac_config_files; shift; ac_config_files=$*;; 14046esac 14047 14048 14049 14050cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14051# Files that config.status was made for. 14052config_files="$ac_config_files" 14053config_commands="$ac_config_commands" 14054 14055_ACEOF 14056 14057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14058ac_cs_usage="\ 14059\`$as_me' instantiates files and other configuration actions 14060from templates according to the current configuration. Unless the files 14061and actions are specified as TAGs, all are instantiated by default. 14062 14063Usage: $0 [OPTION]... [TAG]... 14064 14065 -h, --help print this help, then exit 14066 -V, --version print version number and configuration settings, then exit 14067 --config print configuration, then exit 14068 -q, --quiet, --silent 14069 do not print progress messages 14070 -d, --debug don't remove temporary files 14071 --recheck update $as_me by reconfiguring in the same conditions 14072 --file=FILE[:TEMPLATE] 14073 instantiate the configuration file FILE 14074 14075Configuration files: 14076$config_files 14077 14078Configuration commands: 14079$config_commands 14080 14081Report bugs to <cloog-development@googlegroups.com>." 14082 14083_ACEOF 14084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14085ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14086ac_cs_version="\\ 14087cloog config.status 0.18.0 14088configured by $0, generated by GNU Autoconf 2.69, 14089 with options \\"\$ac_cs_config\\" 14090 14091Copyright (C) 2012 Free Software Foundation, Inc. 14092This config.status script is free software; the Free Software Foundation 14093gives unlimited permission to copy, distribute and modify it." 14094 14095ac_pwd='$ac_pwd' 14096srcdir='$srcdir' 14097INSTALL='$INSTALL' 14098MKDIR_P='$MKDIR_P' 14099AWK='$AWK' 14100test -n "\$AWK" || AWK=awk 14101_ACEOF 14102 14103cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14104# The default lists apply if the user does not specify any file. 14105ac_need_defaults=: 14106while test $# != 0 14107do 14108 case $1 in 14109 --*=?*) 14110 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14111 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14112 ac_shift=: 14113 ;; 14114 --*=) 14115 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14116 ac_optarg= 14117 ac_shift=: 14118 ;; 14119 *) 14120 ac_option=$1 14121 ac_optarg=$2 14122 ac_shift=shift 14123 ;; 14124 esac 14125 14126 case $ac_option in 14127 # Handling of the options. 14128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14129 ac_cs_recheck=: ;; 14130 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14131 $as_echo "$ac_cs_version"; exit ;; 14132 --config | --confi | --conf | --con | --co | --c ) 14133 $as_echo "$ac_cs_config"; exit ;; 14134 --debug | --debu | --deb | --de | --d | -d ) 14135 debug=: ;; 14136 --file | --fil | --fi | --f ) 14137 $ac_shift 14138 case $ac_optarg in 14139 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14140 '') as_fn_error $? "missing file argument" ;; 14141 esac 14142 as_fn_append CONFIG_FILES " '$ac_optarg'" 14143 ac_need_defaults=false;; 14144 --he | --h | --help | --hel | -h ) 14145 $as_echo "$ac_cs_usage"; exit ;; 14146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14147 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14148 ac_cs_silent=: ;; 14149 14150 # This is an error. 14151 -*) as_fn_error $? "unrecognized option: \`$1' 14152Try \`$0 --help' for more information." ;; 14153 14154 *) as_fn_append ac_config_targets " $1" 14155 ac_need_defaults=false ;; 14156 14157 esac 14158 shift 14159done 14160 14161ac_configure_extra_args= 14162 14163if $ac_cs_silent; then 14164 exec 6>/dev/null 14165 ac_configure_extra_args="$ac_configure_extra_args --silent" 14166fi 14167 14168_ACEOF 14169cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14170if \$ac_cs_recheck; then 14171 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14172 shift 14173 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14174 CONFIG_SHELL='$SHELL' 14175 export CONFIG_SHELL 14176 exec "\$@" 14177fi 14178 14179_ACEOF 14180cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14181exec 5>>config.log 14182{ 14183 echo 14184 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 14185@%:@@%:@ Running $as_me. @%:@@%:@ 14186_ASBOX 14187 $as_echo "$ac_log" 14188} >&5 14189 14190_ACEOF 14191cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14192# 14193# INIT-COMMANDS 14194# 14195AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14196 14197 14198# The HP-UX ksh and POSIX shell print the target directory to stdout 14199# if CDPATH is set. 14200(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14201 14202sed_quote_subst='$sed_quote_subst' 14203double_quote_subst='$double_quote_subst' 14204delay_variable_subst='$delay_variable_subst' 14205macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14206macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14207enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14208enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14209pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14210enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14211SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14212ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14213PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14214host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14215host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14216host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14217build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14218build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14219build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14220SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14221Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14222GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14223EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14224FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14225LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14226NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14227LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14228max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14229ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14230exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14231lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14232lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14233lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14234lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14235lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14236reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14237reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14238OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14239deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14240file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14241file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14242want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14243DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14244sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14245AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14246AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14247archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14248STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14249RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14250old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14251old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14252old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14253lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14254CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14255CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14256compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14257GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14258lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14259lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14260lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14261lt_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"`' 14262nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14263lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14264objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14265MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14266lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14267lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14268lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14269lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14270lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14271need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14272MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14273DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14274NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14275LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14276OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14277OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14278libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14279shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14280extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14281archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14282enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14283export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14284whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14285compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14286old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14287old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14288archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14289archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14290module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14291module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14292with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14293allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14294no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14295hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14296hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14297hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14298hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14299hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14300hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14301hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14302inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14303link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14304always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14305export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14306exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14307include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14308prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14309postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14310file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14311variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14312need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14313need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14314version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14315runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14316shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14317shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14318libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14319library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14320soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14321install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14322postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14323postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14324finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14325finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14326hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14327sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14328sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14329hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14330enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14331enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14332enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14333old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14334striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14335 14336LTCC='$LTCC' 14337LTCFLAGS='$LTCFLAGS' 14338compiler='$compiler_DEFAULT' 14339 14340# A function that is used when there is no print builtin or printf. 14341func_fallback_echo () 14342{ 14343 eval 'cat <<_LTECHO_EOF 14344\$1 14345_LTECHO_EOF' 14346} 14347 14348# Quote evaled strings. 14349for var in SHELL \ 14350ECHO \ 14351PATH_SEPARATOR \ 14352SED \ 14353GREP \ 14354EGREP \ 14355FGREP \ 14356LD \ 14357NM \ 14358LN_S \ 14359lt_SP2NL \ 14360lt_NL2SP \ 14361reload_flag \ 14362OBJDUMP \ 14363deplibs_check_method \ 14364file_magic_cmd \ 14365file_magic_glob \ 14366want_nocaseglob \ 14367DLLTOOL \ 14368sharedlib_from_linklib_cmd \ 14369AR \ 14370AR_FLAGS \ 14371archiver_list_spec \ 14372STRIP \ 14373RANLIB \ 14374CC \ 14375CFLAGS \ 14376compiler \ 14377lt_cv_sys_global_symbol_pipe \ 14378lt_cv_sys_global_symbol_to_cdecl \ 14379lt_cv_sys_global_symbol_to_c_name_address \ 14380lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14381nm_file_list_spec \ 14382lt_prog_compiler_no_builtin_flag \ 14383lt_prog_compiler_pic \ 14384lt_prog_compiler_wl \ 14385lt_prog_compiler_static \ 14386lt_cv_prog_compiler_c_o \ 14387need_locks \ 14388MANIFEST_TOOL \ 14389DSYMUTIL \ 14390NMEDIT \ 14391LIPO \ 14392OTOOL \ 14393OTOOL64 \ 14394shrext_cmds \ 14395export_dynamic_flag_spec \ 14396whole_archive_flag_spec \ 14397compiler_needs_object \ 14398with_gnu_ld \ 14399allow_undefined_flag \ 14400no_undefined_flag \ 14401hardcode_libdir_flag_spec \ 14402hardcode_libdir_separator \ 14403exclude_expsyms \ 14404include_expsyms \ 14405file_list_spec \ 14406variables_saved_for_relink \ 14407libname_spec \ 14408library_names_spec \ 14409soname_spec \ 14410install_override_mode \ 14411finish_eval \ 14412old_striplib \ 14413striplib; do 14414 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14415 *[\\\\\\\`\\"\\\$]*) 14416 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14417 ;; 14418 *) 14419 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14420 ;; 14421 esac 14422done 14423 14424# Double-quote double-evaled strings. 14425for var in reload_cmds \ 14426old_postinstall_cmds \ 14427old_postuninstall_cmds \ 14428old_archive_cmds \ 14429extract_expsyms_cmds \ 14430old_archive_from_new_cmds \ 14431old_archive_from_expsyms_cmds \ 14432archive_cmds \ 14433archive_expsym_cmds \ 14434module_cmds \ 14435module_expsym_cmds \ 14436export_symbols_cmds \ 14437prelink_cmds \ 14438postlink_cmds \ 14439postinstall_cmds \ 14440postuninstall_cmds \ 14441finish_cmds \ 14442sys_lib_search_path_spec \ 14443sys_lib_dlsearch_path_spec; do 14444 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14445 *[\\\\\\\`\\"\\\$]*) 14446 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14447 ;; 14448 *) 14449 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14450 ;; 14451 esac 14452done 14453 14454ac_aux_dir='$ac_aux_dir' 14455xsi_shell='$xsi_shell' 14456lt_shell_append='$lt_shell_append' 14457 14458# See if we are running on zsh, and set the options which allow our 14459# commands through without removal of \ escapes INIT. 14460if test -n "\${ZSH_VERSION+set}" ; then 14461 setopt NO_GLOB_SUBST 14462fi 14463 14464 14465 PACKAGE='$PACKAGE' 14466 VERSION='$VERSION' 14467 TIMESTAMP='$TIMESTAMP' 14468 RM='$RM' 14469 ofile='$ofile' 14470 14471 14472 14473 14474ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate" 14475pkgconfig_prefix='$prefix' 14476pkgconfig_execprefix='$exec_prefix' 14477pkgconfig_bindir='$bindir' 14478pkgconfig_libdir='$libdir' 14479pkgconfig_includedir='$includedir' 14480pkgconfig_datarootdir='$datarootdir' 14481pkgconfig_datadir='$datadir' 14482pkgconfig_sysconfdir='$sysconfdir' 14483pkgconfig_suffix='$ax_create_pkgconfig_suffix' 14484pkgconfig_package='$PACKAGE_NAME' 14485pkgconfig_libname='$ax_create_pkgconfig_libname' 14486pkgconfig_description='$ax_create_pkgconfig_description' 14487pkgconfig_version='$ax_create_pkgconfig_version' 14488pkgconfig_requires='$ax_create_pkgconfig_requires' 14489pkgconfig_libs='$ax_create_pkgconfig_libs' 14490pkgconfig_ldflags='$ax_create_pkgconfig_ldflags' 14491pkgconfig_cppflags='$ax_create_pkgconfig_cppflags' 14492pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir' 14493pkgconfig_src_headers='$ax_create_pkgconfig_src_headers' 14494 14495 14496_ACEOF 14497 14498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14499 14500# Handling of arguments. 14501for ac_config_target in $ac_config_targets 14502do 14503 case $ac_config_target in 14504 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14505 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14506 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;; 14507 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14508 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 14509 "autoconf/Doxyfile") CONFIG_FILES="$CONFIG_FILES autoconf/Doxyfile" ;; 14510 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14511 "source/version.c") CONFIG_FILES="$CONFIG_FILES source/version.c" ;; 14512 "include/cloog/version.h") CONFIG_FILES="$CONFIG_FILES include/cloog/version.h" ;; 14513 "genversion.sh") CONFIG_FILES="$CONFIG_FILES genversion.sh" ;; 14514 "version.h") CONFIG_COMMANDS="$CONFIG_COMMANDS version.h" ;; 14515 "doc/gitversion.texi") CONFIG_COMMANDS="$CONFIG_COMMANDS doc/gitversion.texi" ;; 14516 14517 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14518 esac 14519done 14520 14521 14522# If the user did not use the arguments to specify the items to instantiate, 14523# then the envvar interface is used. Set only those that are not. 14524# We use the long form for the default assignment because of an extremely 14525# bizarre bug on SunOS 4.1.3. 14526if $ac_need_defaults; then 14527 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14529fi 14530 14531# Have a temporary directory for convenience. Make it in the build tree 14532# simply because there is no reason against having it here, and in addition, 14533# creating and moving files from /tmp can sometimes cause problems. 14534# Hook for its removal unless debugging. 14535# Note that there is a small window in which the directory will not be cleaned: 14536# after its creation but before its name has been assigned to `$tmp'. 14537$debug || 14538{ 14539 tmp= ac_tmp= 14540 trap 'exit_status=$? 14541 : "${ac_tmp:=$tmp}" 14542 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14543' 0 14544 trap 'as_fn_exit 1' 1 2 13 15 14545} 14546# Create a (secure) tmp directory for tmp files. 14547 14548{ 14549 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14550 test -d "$tmp" 14551} || 14552{ 14553 tmp=./conf$$-$RANDOM 14554 (umask 077 && mkdir "$tmp") 14555} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14556ac_tmp=$tmp 14557 14558# Set up the scripts for CONFIG_FILES section. 14559# No need to generate them if there are no CONFIG_FILES. 14560# This happens for instance with `./config.status config.h'. 14561if test -n "$CONFIG_FILES"; then 14562 14563 14564ac_cr=`echo X | tr X '\015'` 14565# On cygwin, bash can eat \r inside `` if the user requested igncr. 14566# But we know of no other shell where ac_cr would be empty at this 14567# point, so we can use a bashism as a fallback. 14568if test "x$ac_cr" = x; then 14569 eval ac_cr=\$\'\\r\' 14570fi 14571ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14572if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14573 ac_cs_awk_cr='\\r' 14574else 14575 ac_cs_awk_cr=$ac_cr 14576fi 14577 14578echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14579_ACEOF 14580 14581 14582{ 14583 echo "cat >conf$$subs.awk <<_ACEOF" && 14584 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14585 echo "_ACEOF" 14586} >conf$$subs.sh || 14587 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14588ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14589ac_delim='%!_!# ' 14590for ac_last_try in false false false false false :; do 14591 . ./conf$$subs.sh || 14592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14593 14594 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14595 if test $ac_delim_n = $ac_delim_num; then 14596 break 14597 elif $ac_last_try; then 14598 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14599 else 14600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14601 fi 14602done 14603rm -f conf$$subs.sh 14604 14605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14606cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14607_ACEOF 14608sed -n ' 14609h 14610s/^/S["/; s/!.*/"]=/ 14611p 14612g 14613s/^[^!]*!// 14614:repl 14615t repl 14616s/'"$ac_delim"'$// 14617t delim 14618:nl 14619h 14620s/\(.\{148\}\)..*/\1/ 14621t more1 14622s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14623p 14624n 14625b repl 14626:more1 14627s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14628p 14629g 14630s/.\{148\}// 14631t nl 14632:delim 14633h 14634s/\(.\{148\}\)..*/\1/ 14635t more2 14636s/["\\]/\\&/g; s/^/"/; s/$/"/ 14637p 14638b 14639:more2 14640s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14641p 14642g 14643s/.\{148\}// 14644t delim 14645' <conf$$subs.awk | sed ' 14646/^[^""]/{ 14647 N 14648 s/\n// 14649} 14650' >>$CONFIG_STATUS || ac_write_fail=1 14651rm -f conf$$subs.awk 14652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14653_ACAWK 14654cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14655 for (key in S) S_is_set[key] = 1 14656 FS = "" 14657 14658} 14659{ 14660 line = $ 0 14661 nfields = split(line, field, "@") 14662 substed = 0 14663 len = length(field[1]) 14664 for (i = 2; i < nfields; i++) { 14665 key = field[i] 14666 keylen = length(key) 14667 if (S_is_set[key]) { 14668 value = S[key] 14669 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14670 len += length(value) + length(field[++i]) 14671 substed = 1 14672 } else 14673 len += 1 + keylen 14674 } 14675 14676 print line 14677} 14678 14679_ACAWK 14680_ACEOF 14681cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14682if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14683 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14684else 14685 cat 14686fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14687 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14688_ACEOF 14689 14690# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14691# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14692# trailing colons and then remove the whole line if VPATH becomes empty 14693# (actually we leave an empty line to preserve line numbers). 14694if test "x$srcdir" = x.; then 14695 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14696h 14697s/// 14698s/^/:/ 14699s/[ ]*$/:/ 14700s/:\$(srcdir):/:/g 14701s/:\${srcdir}:/:/g 14702s/:@srcdir@:/:/g 14703s/^:*// 14704s/:*$// 14705x 14706s/\(=[ ]*\).*/\1/ 14707G 14708s/\n// 14709s/^[^=]*=[ ]*$// 14710}' 14711fi 14712 14713cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14714fi # test -n "$CONFIG_FILES" 14715 14716 14717eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 14718shift 14719for ac_tag 14720do 14721 case $ac_tag in 14722 :[FHLC]) ac_mode=$ac_tag; continue;; 14723 esac 14724 case $ac_mode$ac_tag in 14725 :[FHL]*:*);; 14726 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14727 :[FH]-) ac_tag=-:-;; 14728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14729 esac 14730 ac_save_IFS=$IFS 14731 IFS=: 14732 set x $ac_tag 14733 IFS=$ac_save_IFS 14734 shift 14735 ac_file=$1 14736 shift 14737 14738 case $ac_mode in 14739 :L) ac_source=$1;; 14740 :[FH]) 14741 ac_file_inputs= 14742 for ac_f 14743 do 14744 case $ac_f in 14745 -) ac_f="$ac_tmp/stdin";; 14746 *) # Look for the file first in the build tree, then in the source tree 14747 # (if the path is not absolute). The absolute path cannot be DOS-style, 14748 # because $ac_f cannot contain `:'. 14749 test -f "$ac_f" || 14750 case $ac_f in 14751 [\\/$]*) false;; 14752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14753 esac || 14754 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14755 esac 14756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14757 as_fn_append ac_file_inputs " '$ac_f'" 14758 done 14759 14760 # Let's still pretend it is `configure' which instantiates (i.e., don't 14761 # use $as_me), people would be surprised to read: 14762 # /* config.h. Generated by config.status. */ 14763 configure_input='Generated from '` 14764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14765 `' by configure.' 14766 if test x"$ac_file" != x-; then 14767 configure_input="$ac_file. $configure_input" 14768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14769$as_echo "$as_me: creating $ac_file" >&6;} 14770 fi 14771 # Neutralize special characters interpreted by sed in replacement strings. 14772 case $configure_input in #( 14773 *\&* | *\|* | *\\* ) 14774 ac_sed_conf_input=`$as_echo "$configure_input" | 14775 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14776 *) ac_sed_conf_input=$configure_input;; 14777 esac 14778 14779 case $ac_tag in 14780 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14782 esac 14783 ;; 14784 esac 14785 14786 ac_dir=`$as_dirname -- "$ac_file" || 14787$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14788 X"$ac_file" : 'X\(//\)[^/]' \| \ 14789 X"$ac_file" : 'X\(//\)$' \| \ 14790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14791$as_echo X"$ac_file" | 14792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14793 s//\1/ 14794 q 14795 } 14796 /^X\(\/\/\)[^/].*/{ 14797 s//\1/ 14798 q 14799 } 14800 /^X\(\/\/\)$/{ 14801 s//\1/ 14802 q 14803 } 14804 /^X\(\/\).*/{ 14805 s//\1/ 14806 q 14807 } 14808 s/.*/./; q'` 14809 as_dir="$ac_dir"; as_fn_mkdir_p 14810 ac_builddir=. 14811 14812case "$ac_dir" in 14813.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14814*) 14815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14816 # A ".." for each directory in $ac_dir_suffix. 14817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14818 case $ac_top_builddir_sub in 14819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14821 esac ;; 14822esac 14823ac_abs_top_builddir=$ac_pwd 14824ac_abs_builddir=$ac_pwd$ac_dir_suffix 14825# for backward compatibility: 14826ac_top_builddir=$ac_top_build_prefix 14827 14828case $srcdir in 14829 .) # We are building in place. 14830 ac_srcdir=. 14831 ac_top_srcdir=$ac_top_builddir_sub 14832 ac_abs_top_srcdir=$ac_pwd ;; 14833 [\\/]* | ?:[\\/]* ) # Absolute name. 14834 ac_srcdir=$srcdir$ac_dir_suffix; 14835 ac_top_srcdir=$srcdir 14836 ac_abs_top_srcdir=$srcdir ;; 14837 *) # Relative name. 14838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14839 ac_top_srcdir=$ac_top_build_prefix$srcdir 14840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14841esac 14842ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14843 14844 14845 case $ac_mode in 14846 :F) 14847 # 14848 # CONFIG_FILE 14849 # 14850 14851 case $INSTALL in 14852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14853 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14854 esac 14855 ac_MKDIR_P=$MKDIR_P 14856 case $MKDIR_P in 14857 [\\/$]* | ?:[\\/]* ) ;; 14858 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14859 esac 14860_ACEOF 14861 14862cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14863# If the template does not know about datarootdir, expand it. 14864# FIXME: This hack should be removed a few years after 2.60. 14865ac_datarootdir_hack=; ac_datarootdir_seen= 14866ac_sed_dataroot=' 14867/datarootdir/ { 14868 p 14869 q 14870} 14871/@datadir@/p 14872/@docdir@/p 14873/@infodir@/p 14874/@localedir@/p 14875/@mandir@/p' 14876case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14877*datarootdir*) ac_datarootdir_seen=yes;; 14878*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14880$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14881_ACEOF 14882cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14883 ac_datarootdir_hack=' 14884 s&@datadir@&$datadir&g 14885 s&@docdir@&$docdir&g 14886 s&@infodir@&$infodir&g 14887 s&@localedir@&$localedir&g 14888 s&@mandir@&$mandir&g 14889 s&\\\${datarootdir}&$datarootdir&g' ;; 14890esac 14891_ACEOF 14892 14893# Neutralize VPATH when `$srcdir' = `.'. 14894# Shell code in configure.ac might set extrasub. 14895# FIXME: do we really want to maintain this feature? 14896cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14897ac_sed_extra="$ac_vpsub 14898$extrasub 14899_ACEOF 14900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14901:t 14902/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14903s|@configure_input@|$ac_sed_conf_input|;t t 14904s&@top_builddir@&$ac_top_builddir_sub&;t t 14905s&@top_build_prefix@&$ac_top_build_prefix&;t t 14906s&@srcdir@&$ac_srcdir&;t t 14907s&@abs_srcdir@&$ac_abs_srcdir&;t t 14908s&@top_srcdir@&$ac_top_srcdir&;t t 14909s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14910s&@builddir@&$ac_builddir&;t t 14911s&@abs_builddir@&$ac_abs_builddir&;t t 14912s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14913s&@INSTALL@&$ac_INSTALL&;t t 14914s&@MKDIR_P@&$ac_MKDIR_P&;t t 14915$ac_datarootdir_hack 14916" 14917eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14918 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14919 14920test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14921 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14922 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14923 "$ac_tmp/out"`; test -z "$ac_out"; } && 14924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14925which seems to be undefined. Please make sure it is defined" >&5 14926$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14927which seems to be undefined. Please make sure it is defined" >&2;} 14928 14929 rm -f "$ac_tmp/stdin" 14930 case $ac_file in 14931 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14932 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14933 esac \ 14934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14935 ;; 14936 14937 14938 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14939$as_echo "$as_me: executing $ac_file commands" >&6;} 14940 ;; 14941 esac 14942 14943 14944 case $ac_file$ac_mode in 14945 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14946 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14947 # are listed without --file. Let's play safe and only enable the eval 14948 # if we detect the quoting. 14949 case $CONFIG_FILES in 14950 *\'*) eval set x "$CONFIG_FILES" ;; 14951 *) set x $CONFIG_FILES ;; 14952 esac 14953 shift 14954 for mf 14955 do 14956 # Strip MF so we end up with the name of the file. 14957 mf=`echo "$mf" | sed -e 's/:.*$//'` 14958 # Check whether this is an Automake generated Makefile or not. 14959 # We used to match only the files named `Makefile.in', but 14960 # some people rename them; so instead we look at the file content. 14961 # Grep'ing the first line is not enough: some people post-process 14962 # each Makefile.in and add a new line on top of each file to say so. 14963 # Grep'ing the whole file is not good either: AIX grep has a line 14964 # limit of 2048, but all sed's we know have understand at least 4000. 14965 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14966 dirpart=`$as_dirname -- "$mf" || 14967$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14968 X"$mf" : 'X\(//\)[^/]' \| \ 14969 X"$mf" : 'X\(//\)$' \| \ 14970 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14971$as_echo X"$mf" | 14972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14973 s//\1/ 14974 q 14975 } 14976 /^X\(\/\/\)[^/].*/{ 14977 s//\1/ 14978 q 14979 } 14980 /^X\(\/\/\)$/{ 14981 s//\1/ 14982 q 14983 } 14984 /^X\(\/\).*/{ 14985 s//\1/ 14986 q 14987 } 14988 s/.*/./; q'` 14989 else 14990 continue 14991 fi 14992 # Extract the definition of DEPDIR, am__include, and am__quote 14993 # from the Makefile without running `make'. 14994 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14995 test -z "$DEPDIR" && continue 14996 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14997 test -z "am__include" && continue 14998 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14999 # When using ansi2knr, U may be empty or an underscore; expand it 15000 U=`sed -n 's/^U = //p' < "$mf"` 15001 # Find all dependency output files, they are included files with 15002 # $(DEPDIR) in their names. We invoke sed twice because it is the 15003 # simplest approach to changing $(DEPDIR) to its actual value in the 15004 # expansion. 15005 for file in `sed -n " 15006 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15007 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15008 # Make sure the directory exists. 15009 test -f "$dirpart/$file" && continue 15010 fdir=`$as_dirname -- "$file" || 15011$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15012 X"$file" : 'X\(//\)[^/]' \| \ 15013 X"$file" : 'X\(//\)$' \| \ 15014 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15015$as_echo X"$file" | 15016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15017 s//\1/ 15018 q 15019 } 15020 /^X\(\/\/\)[^/].*/{ 15021 s//\1/ 15022 q 15023 } 15024 /^X\(\/\/\)$/{ 15025 s//\1/ 15026 q 15027 } 15028 /^X\(\/\).*/{ 15029 s//\1/ 15030 q 15031 } 15032 s/.*/./; q'` 15033 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15034 # echo "creating $dirpart/$file" 15035 echo '# dummy' > "$dirpart/$file" 15036 done 15037 done 15038} 15039 ;; 15040 "libtool":C) 15041 15042 # See if we are running on zsh, and set the options which allow our 15043 # commands through without removal of \ escapes. 15044 if test -n "${ZSH_VERSION+set}" ; then 15045 setopt NO_GLOB_SUBST 15046 fi 15047 15048 cfgfile="${ofile}T" 15049 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15050 $RM "$cfgfile" 15051 15052 cat <<_LT_EOF >> "$cfgfile" 15053#! $SHELL 15054 15055# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15056# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15057# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15058# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15059# 15060# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15061# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15062# Foundation, Inc. 15063# Written by Gordon Matzigkeit, 1996 15064# 15065# This file is part of GNU Libtool. 15066# 15067# GNU Libtool is free software; you can redistribute it and/or 15068# modify it under the terms of the GNU General Public License as 15069# published by the Free Software Foundation; either version 2 of 15070# the License, or (at your option) any later version. 15071# 15072# As a special exception to the GNU General Public License, 15073# if you distribute this file as part of a program or library that 15074# is built using GNU Libtool, you may include this file under the 15075# same distribution terms that you use for the rest of that program. 15076# 15077# GNU Libtool is distributed in the hope that it will be useful, 15078# but WITHOUT ANY WARRANTY; without even the implied warranty of 15079# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15080# GNU General Public License for more details. 15081# 15082# You should have received a copy of the GNU General Public License 15083# along with GNU Libtool; see the file COPYING. If not, a copy 15084# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15085# obtained by writing to the Free Software Foundation, Inc., 15086# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15087 15088 15089# The names of the tagged configurations supported by this script. 15090available_tags="" 15091 15092# ### BEGIN LIBTOOL CONFIG 15093 15094# Which release of libtool.m4 was used? 15095macro_version=$macro_version 15096macro_revision=$macro_revision 15097 15098# Whether or not to build shared libraries. 15099build_libtool_libs=$enable_shared 15100 15101# Whether or not to build static libraries. 15102build_old_libs=$enable_static 15103 15104# What type of objects to build. 15105pic_mode=$pic_mode 15106 15107# Whether or not to optimize for fast installation. 15108fast_install=$enable_fast_install 15109 15110# Shell to use when invoking shell scripts. 15111SHELL=$lt_SHELL 15112 15113# An echo program that protects backslashes. 15114ECHO=$lt_ECHO 15115 15116# The PATH separator for the build system. 15117PATH_SEPARATOR=$lt_PATH_SEPARATOR 15118 15119# The host system. 15120host_alias=$host_alias 15121host=$host 15122host_os=$host_os 15123 15124# The build system. 15125build_alias=$build_alias 15126build=$build 15127build_os=$build_os 15128 15129# A sed program that does not truncate output. 15130SED=$lt_SED 15131 15132# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15133Xsed="\$SED -e 1s/^X//" 15134 15135# A grep program that handles long lines. 15136GREP=$lt_GREP 15137 15138# An ERE matcher. 15139EGREP=$lt_EGREP 15140 15141# A literal string matcher. 15142FGREP=$lt_FGREP 15143 15144# A BSD- or MS-compatible name lister. 15145NM=$lt_NM 15146 15147# Whether we need soft or hard links. 15148LN_S=$lt_LN_S 15149 15150# What is the maximum length of a command? 15151max_cmd_len=$max_cmd_len 15152 15153# Object file suffix (normally "o"). 15154objext=$ac_objext 15155 15156# Executable file suffix (normally ""). 15157exeext=$exeext 15158 15159# whether the shell understands "unset". 15160lt_unset=$lt_unset 15161 15162# turn spaces into newlines. 15163SP2NL=$lt_lt_SP2NL 15164 15165# turn newlines into spaces. 15166NL2SP=$lt_lt_NL2SP 15167 15168# convert \$build file names to \$host format. 15169to_host_file_cmd=$lt_cv_to_host_file_cmd 15170 15171# convert \$build files to toolchain format. 15172to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15173 15174# An object symbol dumper. 15175OBJDUMP=$lt_OBJDUMP 15176 15177# Method to check whether dependent libraries are shared objects. 15178deplibs_check_method=$lt_deplibs_check_method 15179 15180# Command to use when deplibs_check_method = "file_magic". 15181file_magic_cmd=$lt_file_magic_cmd 15182 15183# How to find potential files when deplibs_check_method = "file_magic". 15184file_magic_glob=$lt_file_magic_glob 15185 15186# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15187want_nocaseglob=$lt_want_nocaseglob 15188 15189# DLL creation program. 15190DLLTOOL=$lt_DLLTOOL 15191 15192# Command to associate shared and link libraries. 15193sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15194 15195# The archiver. 15196AR=$lt_AR 15197 15198# Flags to create an archive. 15199AR_FLAGS=$lt_AR_FLAGS 15200 15201# How to feed a file listing to the archiver. 15202archiver_list_spec=$lt_archiver_list_spec 15203 15204# A symbol stripping program. 15205STRIP=$lt_STRIP 15206 15207# Commands used to install an old-style archive. 15208RANLIB=$lt_RANLIB 15209old_postinstall_cmds=$lt_old_postinstall_cmds 15210old_postuninstall_cmds=$lt_old_postuninstall_cmds 15211 15212# Whether to use a lock for old archive extraction. 15213lock_old_archive_extraction=$lock_old_archive_extraction 15214 15215# A C compiler. 15216LTCC=$lt_CC 15217 15218# LTCC compiler flags. 15219LTCFLAGS=$lt_CFLAGS 15220 15221# Take the output of nm and produce a listing of raw symbols and C names. 15222global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15223 15224# Transform the output of nm in a proper C declaration. 15225global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15226 15227# Transform the output of nm in a C name address pair. 15228global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15229 15230# Transform the output of nm in a C name address pair when lib prefix is needed. 15231global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15232 15233# Specify filename containing input files for \$NM. 15234nm_file_list_spec=$lt_nm_file_list_spec 15235 15236# The root where to search for dependent libraries,and in which our libraries should be installed. 15237lt_sysroot=$lt_sysroot 15238 15239# The name of the directory that contains temporary libtool files. 15240objdir=$objdir 15241 15242# Used to examine libraries when file_magic_cmd begins with "file". 15243MAGIC_CMD=$MAGIC_CMD 15244 15245# Must we lock files when doing compilation? 15246need_locks=$lt_need_locks 15247 15248# Manifest tool. 15249MANIFEST_TOOL=$lt_MANIFEST_TOOL 15250 15251# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15252DSYMUTIL=$lt_DSYMUTIL 15253 15254# Tool to change global to local symbols on Mac OS X. 15255NMEDIT=$lt_NMEDIT 15256 15257# Tool to manipulate fat objects and archives on Mac OS X. 15258LIPO=$lt_LIPO 15259 15260# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15261OTOOL=$lt_OTOOL 15262 15263# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15264OTOOL64=$lt_OTOOL64 15265 15266# Old archive suffix (normally "a"). 15267libext=$libext 15268 15269# Shared library suffix (normally ".so"). 15270shrext_cmds=$lt_shrext_cmds 15271 15272# The commands to extract the exported symbol list from a shared archive. 15273extract_expsyms_cmds=$lt_extract_expsyms_cmds 15274 15275# Variables whose values should be saved in libtool wrapper scripts and 15276# restored at link time. 15277variables_saved_for_relink=$lt_variables_saved_for_relink 15278 15279# Do we need the "lib" prefix for modules? 15280need_lib_prefix=$need_lib_prefix 15281 15282# Do we need a version for libraries? 15283need_version=$need_version 15284 15285# Library versioning type. 15286version_type=$version_type 15287 15288# Shared library runtime path variable. 15289runpath_var=$runpath_var 15290 15291# Shared library path variable. 15292shlibpath_var=$shlibpath_var 15293 15294# Is shlibpath searched before the hard-coded library search path? 15295shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15296 15297# Format of library name prefix. 15298libname_spec=$lt_libname_spec 15299 15300# List of archive names. First name is the real one, the rest are links. 15301# The last name is the one that the linker finds with -lNAME 15302library_names_spec=$lt_library_names_spec 15303 15304# The coded name of the library, if different from the real name. 15305soname_spec=$lt_soname_spec 15306 15307# Permission mode override for installation of shared libraries. 15308install_override_mode=$lt_install_override_mode 15309 15310# Command to use after installation of a shared archive. 15311postinstall_cmds=$lt_postinstall_cmds 15312 15313# Command to use after uninstallation of a shared archive. 15314postuninstall_cmds=$lt_postuninstall_cmds 15315 15316# Commands used to finish a libtool library installation in a directory. 15317finish_cmds=$lt_finish_cmds 15318 15319# As "finish_cmds", except a single script fragment to be evaled but 15320# not shown. 15321finish_eval=$lt_finish_eval 15322 15323# Whether we should hardcode library paths into libraries. 15324hardcode_into_libs=$hardcode_into_libs 15325 15326# Compile-time system search path for libraries. 15327sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15328 15329# Run-time system search path for libraries. 15330sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15331 15332# Whether dlopen is supported. 15333dlopen_support=$enable_dlopen 15334 15335# Whether dlopen of programs is supported. 15336dlopen_self=$enable_dlopen_self 15337 15338# Whether dlopen of statically linked programs is supported. 15339dlopen_self_static=$enable_dlopen_self_static 15340 15341# Commands to strip libraries. 15342old_striplib=$lt_old_striplib 15343striplib=$lt_striplib 15344 15345 15346# The linker used to build libraries. 15347LD=$lt_LD 15348 15349# How to create reloadable object files. 15350reload_flag=$lt_reload_flag 15351reload_cmds=$lt_reload_cmds 15352 15353# Commands used to build an old-style archive. 15354old_archive_cmds=$lt_old_archive_cmds 15355 15356# A language specific compiler. 15357CC=$lt_compiler 15358 15359# Is the compiler the GNU compiler? 15360with_gcc=$GCC 15361 15362# Compiler flag to turn off builtin functions. 15363no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15364 15365# Additional compiler flags for building library objects. 15366pic_flag=$lt_lt_prog_compiler_pic 15367 15368# How to pass a linker flag through the compiler. 15369wl=$lt_lt_prog_compiler_wl 15370 15371# Compiler flag to prevent dynamic linking. 15372link_static_flag=$lt_lt_prog_compiler_static 15373 15374# Does compiler simultaneously support -c and -o options? 15375compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15376 15377# Whether or not to add -lc for building shared libraries. 15378build_libtool_need_lc=$archive_cmds_need_lc 15379 15380# Whether or not to disallow shared libs when runtime libs are static. 15381allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15382 15383# Compiler flag to allow reflexive dlopens. 15384export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15385 15386# Compiler flag to generate shared objects directly from archives. 15387whole_archive_flag_spec=$lt_whole_archive_flag_spec 15388 15389# Whether the compiler copes with passing no objects directly. 15390compiler_needs_object=$lt_compiler_needs_object 15391 15392# Create an old-style archive from a shared archive. 15393old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15394 15395# Create a temporary old-style archive to link instead of a shared archive. 15396old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15397 15398# Commands used to build a shared archive. 15399archive_cmds=$lt_archive_cmds 15400archive_expsym_cmds=$lt_archive_expsym_cmds 15401 15402# Commands used to build a loadable module if different from building 15403# a shared archive. 15404module_cmds=$lt_module_cmds 15405module_expsym_cmds=$lt_module_expsym_cmds 15406 15407# Whether we are building with GNU ld or not. 15408with_gnu_ld=$lt_with_gnu_ld 15409 15410# Flag that allows shared libraries with undefined symbols to be built. 15411allow_undefined_flag=$lt_allow_undefined_flag 15412 15413# Flag that enforces no undefined symbols. 15414no_undefined_flag=$lt_no_undefined_flag 15415 15416# Flag to hardcode \$libdir into a binary during linking. 15417# This must work even if \$libdir does not exist 15418hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15419 15420# Whether we need a single "-rpath" flag with a separated argument. 15421hardcode_libdir_separator=$lt_hardcode_libdir_separator 15422 15423# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15424# DIR into the resulting binary. 15425hardcode_direct=$hardcode_direct 15426 15427# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15428# DIR into the resulting binary and the resulting library dependency is 15429# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15430# library is relocated. 15431hardcode_direct_absolute=$hardcode_direct_absolute 15432 15433# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15434# into the resulting binary. 15435hardcode_minus_L=$hardcode_minus_L 15436 15437# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15438# into the resulting binary. 15439hardcode_shlibpath_var=$hardcode_shlibpath_var 15440 15441# Set to "yes" if building a shared library automatically hardcodes DIR 15442# into the library and all subsequent libraries and executables linked 15443# against it. 15444hardcode_automatic=$hardcode_automatic 15445 15446# Set to yes if linker adds runtime paths of dependent libraries 15447# to runtime path list. 15448inherit_rpath=$inherit_rpath 15449 15450# Whether libtool must link a program against all its dependency libraries. 15451link_all_deplibs=$link_all_deplibs 15452 15453# Set to "yes" if exported symbols are required. 15454always_export_symbols=$always_export_symbols 15455 15456# The commands to list exported symbols. 15457export_symbols_cmds=$lt_export_symbols_cmds 15458 15459# Symbols that should not be listed in the preloaded symbols. 15460exclude_expsyms=$lt_exclude_expsyms 15461 15462# Symbols that must always be exported. 15463include_expsyms=$lt_include_expsyms 15464 15465# Commands necessary for linking programs (against libraries) with templates. 15466prelink_cmds=$lt_prelink_cmds 15467 15468# Commands necessary for finishing linking programs. 15469postlink_cmds=$lt_postlink_cmds 15470 15471# Specify filename containing input files. 15472file_list_spec=$lt_file_list_spec 15473 15474# How to hardcode a shared library path into an executable. 15475hardcode_action=$hardcode_action 15476 15477# ### END LIBTOOL CONFIG 15478 15479_LT_EOF 15480 15481 case $host_os in 15482 aix3*) 15483 cat <<\_LT_EOF >> "$cfgfile" 15484# AIX sometimes has problems with the GCC collect2 program. For some 15485# reason, if we set the COLLECT_NAMES environment variable, the problems 15486# vanish in a puff of smoke. 15487if test "X${COLLECT_NAMES+set}" != Xset; then 15488 COLLECT_NAMES= 15489 export COLLECT_NAMES 15490fi 15491_LT_EOF 15492 ;; 15493 esac 15494 15495 15496ltmain="$ac_aux_dir/ltmain.sh" 15497 15498 15499 # We use sed instead of cat because bash on DJGPP gets confused if 15500 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15501 # text mode, it properly converts lines to CR/LF. This bash problem 15502 # is reportedly fixed, but why not run on old versions too? 15503 sed '$q' "$ltmain" >> "$cfgfile" \ 15504 || (rm -f "$cfgfile"; exit 1) 15505 15506 if test x"$xsi_shell" = xyes; then 15507 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15508func_dirname ()\ 15509{\ 15510\ case ${1} in\ 15511\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15512\ * ) func_dirname_result="${3}" ;;\ 15513\ esac\ 15514} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15515 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15516 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15517test 0 -eq $? || _lt_function_replace_fail=: 15518 15519 15520 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15521func_basename ()\ 15522{\ 15523\ func_basename_result="${1##*/}"\ 15524} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15525 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15527test 0 -eq $? || _lt_function_replace_fail=: 15528 15529 15530 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15531func_dirname_and_basename ()\ 15532{\ 15533\ case ${1} in\ 15534\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15535\ * ) func_dirname_result="${3}" ;;\ 15536\ esac\ 15537\ func_basename_result="${1##*/}"\ 15538} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15539 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15541test 0 -eq $? || _lt_function_replace_fail=: 15542 15543 15544 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15545func_stripname ()\ 15546{\ 15547\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15548\ # positional parameters, so assign one to ordinary parameter first.\ 15549\ func_stripname_result=${3}\ 15550\ func_stripname_result=${func_stripname_result#"${1}"}\ 15551\ func_stripname_result=${func_stripname_result%"${2}"}\ 15552} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15553 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15554 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15555test 0 -eq $? || _lt_function_replace_fail=: 15556 15557 15558 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15559func_split_long_opt ()\ 15560{\ 15561\ func_split_long_opt_name=${1%%=*}\ 15562\ func_split_long_opt_arg=${1#*=}\ 15563} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15564 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15566test 0 -eq $? || _lt_function_replace_fail=: 15567 15568 15569 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15570func_split_short_opt ()\ 15571{\ 15572\ func_split_short_opt_arg=${1#??}\ 15573\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15574} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15575 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15577test 0 -eq $? || _lt_function_replace_fail=: 15578 15579 15580 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15581func_lo2o ()\ 15582{\ 15583\ case ${1} in\ 15584\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15585\ *) func_lo2o_result=${1} ;;\ 15586\ esac\ 15587} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15588 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15590test 0 -eq $? || _lt_function_replace_fail=: 15591 15592 15593 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15594func_xform ()\ 15595{\ 15596 func_xform_result=${1%.*}.lo\ 15597} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15598 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15599 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15600test 0 -eq $? || _lt_function_replace_fail=: 15601 15602 15603 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15604func_arith ()\ 15605{\ 15606 func_arith_result=$(( $* ))\ 15607} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15608 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15609 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15610test 0 -eq $? || _lt_function_replace_fail=: 15611 15612 15613 sed -e '/^func_len ()$/,/^} # func_len /c\ 15614func_len ()\ 15615{\ 15616 func_len_result=${#1}\ 15617} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15618 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15620test 0 -eq $? || _lt_function_replace_fail=: 15621 15622fi 15623 15624if test x"$lt_shell_append" = xyes; then 15625 sed -e '/^func_append ()$/,/^} # func_append /c\ 15626func_append ()\ 15627{\ 15628 eval "${1}+=\\${2}"\ 15629} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15630 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15632test 0 -eq $? || _lt_function_replace_fail=: 15633 15634 15635 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15636func_append_quoted ()\ 15637{\ 15638\ func_quote_for_eval "${2}"\ 15639\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15640} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15641 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15643test 0 -eq $? || _lt_function_replace_fail=: 15644 15645 15646 # Save a `func_append' function call where possible by direct use of '+=' 15647 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15648 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15650 test 0 -eq $? || _lt_function_replace_fail=: 15651else 15652 # Save a `func_append' function call even when '+=' is not available 15653 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15654 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15655 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15656 test 0 -eq $? || _lt_function_replace_fail=: 15657fi 15658 15659if test x"$_lt_function_replace_fail" = x":"; then 15660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15661$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15662fi 15663 15664 15665 mv -f "$cfgfile" "$ofile" || 15666 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15667 chmod +x "$ofile" 15668 15669 ;; 15670 "$ax_create_pkgconfig_generate":C) 15671pkgconfig_generate="$ax_create_pkgconfig_generate" 15672if test ! -f "$pkgconfig_generate.in" 15673then generate="true" 15674elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null 15675then generate="true" 15676else generate="false"; 15677fi 15678if $generate ; then 15679{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5 15680$as_echo "$as_me: creating $pkgconfig_generate.in" >&6;} 15681cat > $pkgconfig_generate.in <<AXEOF 15682# generated by configure / remove this line to disable regeneration 15683prefix=@prefix@ 15684exec_prefix=@exec_prefix@ 15685bindir=@bindir@ 15686libdir=@libdir@ 15687datarootdir=@datarootdir@ 15688datadir=@datadir@ 15689sysconfdir=@sysconfdir@ 15690includedir=@includedir@ 15691package=@PACKAGE@ 15692suffix=@suffix@ 15693 15694Name: @PACKAGE_NAME@ 15695Description: @PACKAGE_DESCRIPTION@ 15696Version: @PACKAGE_VERSION@ 15697Requires: @PACKAGE_REQUIRES@ 15698Libs: -L\${libdir} @LDFLAGS@ @LIBS@ 15699Cflags: -I\${includedir} @CPPFLAGS@ 15700AXEOF 15701fi # DONE generate $pkgconfig_generate.in 15702{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5 15703$as_echo "$as_me: creating $pkgconfig_generate" >&6;} 15704cat >conftest.sed <<AXEOF 15705s|@prefix@|${pkgconfig_prefix}| 15706s|@exec_prefix@|${pkgconfig_execprefix}| 15707s|@bindir@|${pkgconfig_bindir}| 15708s|@libdir@|${pkgconfig_libdir}| 15709s|@datarootdir@|${pkgconfig_datarootdir}| 15710s|@datadir@|${pkgconfig_datadir}| 15711s|@sysconfdir@|${pkgconfig_sysconfdir}| 15712s|@includedir@|${pkgconfig_includedir}| 15713s|@suffix@|${pkgconfig_suffix}| 15714s|@PACKAGE@|${pkgconfig_package}| 15715s|@PACKAGE_NAME@|${pkgconfig_libname}| 15716s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}| 15717s|@PACKAGE_VERSION@|${pkgconfig_version}| 15718s|@PACKAGE_REQUIRES@|${pkgconfig_requires}| 15719s|@LIBS@|${pkgconfig_libs}| 15720s|@LDFLAGS@|${pkgconfig_ldflags}| 15721s|@CPPFLAGS@|${pkgconfig_cppflags}| 15722AXEOF 15723sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate 15724if test ! -s $pkgconfig_generate ; then 15725 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5 15726fi ; rm conftest.sed # DONE generate $pkgconfig_generate 15727pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'` 15728{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5 15729$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;} 15730cat >conftest.sed <<AXEOF 15731s|@prefix@|${pkgconfig_prefix}| 15732s|@exec_prefix@|${pkgconfig_execprefix}| 15733s|@bindir@|${pkgconfig_bindir}| 15734s|@libdir@|${pkgconfig_src_libdir}| 15735s|@datarootdir@|${pkgconfig_datarootdir}| 15736s|@datadir@|${pkgconfig_datadir}| 15737s|@sysconfdir@|${pkgconfig_sysconfdir}| 15738s|@includedir@|${pkgconfig_src_headers}| 15739s|@suffix@|${pkgconfig_suffix}| 15740s|@PACKAGE@|${pkgconfig_package}| 15741s|@PACKAGE_NAME@|${pkgconfig_libname}| 15742s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}| 15743s|@PACKAGE_VERSION@|${pkgconfig_version}| 15744s|@PACKAGE_REQUIRES@|${pkgconfig_requires}| 15745s|@LIBS@|${pkgconfig_libs}| 15746s|@LDFLAGS@|${pkgconfig_ldflags}| 15747s|@CPPFLAGS@|${pkgconfig_cppflags}| 15748AXEOF 15749sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled 15750if test ! -s $pkgconfig_uninstalled ; then 15751 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5 15752fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled 15753 pkgconfig_requires_add=`echo ${pkgconfig_requires}` 15754if test ".$pkgconfig_requires_add" != "." ; then 15755 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add" 15756 else pkgconfig_requires_add=":" ; fi 15757pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'` 15758{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5 15759$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;} 15760cat >conftest.sed <<AXEOF 15761s|@prefix@|\"${pkgconfig_prefix}\"| 15762s|@exec_prefix@|\"${pkgconfig_execprefix}\"| 15763s|@bindir@|\"${pkgconfig_bindir}\"| 15764s|@libdir@|\"${pkgconfig_src_libdir}\"| 15765s|@datarootdir@|\"${pkgconfig_datarootdir}\"| 15766s|@datadir@|\"${pkgconfig_datadir}\"| 15767s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"| 15768s|@includedir@|\"${pkgconfig_src_headers}\"| 15769s|@suffix@|\"${pkgconfig_suffix}\"| 15770s|@PACKAGE@|\"${pkgconfig_package}\"| 15771s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"| 15772s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"| 15773s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"| 15774s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"| 15775s|@LIBS@|\"${pkgconfig_libs}\"| 15776s|@LDFLAGS@|\"${pkgconfig_ldflags}\"| 15777s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"| 15778s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo > 15779s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of > 15780s>Version: *>\\;\\; --modversion|--version) echo > 15781s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add> 15782s>Libs: *>\\;\\; --libs) echo > 15783s>Cflags: *>\\;\\; --cflags) echo > 15784/--libs)/a\\ 15785 $pkgconfig_requires_add 15786/--cflags)/a\\ 15787 $pkgconfig_requires_add\\ 15788;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\ 15789;; --uninstalled) exit 0 \\ 15790;; *) ;; esac done 15791AXEOF 15792sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled 15793if test ! -s $pkgconfig_uninstalled ; then 15794 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5 15795fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled 15796 ;; 15797 "genversion.sh":F) chmod +x genversion.sh ;; 15798 "version.h":C) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h ;; 15799 "doc/gitversion.texi":C) echo '@set VERSION '`./genversion.sh`'' > doc/gitversion.texi ;; 15800 15801 esac 15802done # for ac_tag 15803 15804 15805as_fn_exit 0 15806_ACEOF 15807ac_clean_files=$ac_clean_files_save 15808 15809test $ac_write_fail = 0 || 15810 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15811 15812 15813 ac_configure_args="$ac_configure_args $cloog_configure_args" 15814 15815 15816# configure is writing to config.log, and then calls config.status. 15817# config.status does its own redirection, appending to config.log. 15818# Unfortunately, on DOS this fails, as config.log is still kept open 15819# by configure, so config.status won't be able to write to it; its 15820# output is simply discarded. So we exec the FD to /dev/null, 15821# effectively closing config.log, so it can be properly (re)opened and 15822# appended to by config.status. When coming back to configure, we 15823# need to make the FD available again. 15824if test "$no_create" != yes; then 15825 ac_cs_success=: 15826 ac_config_status_args= 15827 test "$silent" = yes && 15828 ac_config_status_args="$ac_config_status_args --quiet" 15829 exec 5>/dev/null 15830 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15831 exec 5>>config.log 15832 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15833 # would make configure fail if this is the last instruction. 15834 $ac_cs_success || as_fn_exit 1 15835fi 15836 15837# 15838# CONFIG_SUBDIRS section. 15839# 15840if test "$no_recursion" != yes; then 15841 15842 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 15843 # so they do not pile up. 15844 ac_sub_configure_args= 15845 ac_prev= 15846 eval "set x $ac_configure_args" 15847 shift 15848 for ac_arg 15849 do 15850 if test -n "$ac_prev"; then 15851 ac_prev= 15852 continue 15853 fi 15854 case $ac_arg in 15855 -cache-file | --cache-file | --cache-fil | --cache-fi \ 15856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 15857 ac_prev=cache_file ;; 15858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 15859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 15860 | --c=*) 15861 ;; 15862 --config-cache | -C) 15863 ;; 15864 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 15865 ac_prev=srcdir ;; 15866 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 15867 ;; 15868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 15869 ac_prev=prefix ;; 15870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 15871 ;; 15872 --disable-option-checking) 15873 ;; 15874 *) 15875 case $ac_arg in 15876 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15877 esac 15878 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 15879 esac 15880 done 15881 15882 # Always prepend --prefix to ensure using the same prefix 15883 # in subdir configurations. 15884 ac_arg="--prefix=$prefix" 15885 case $ac_arg in 15886 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15887 esac 15888 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 15889 15890 # Pass --silent 15891 if test "$silent" = yes; then 15892 ac_sub_configure_args="--silent $ac_sub_configure_args" 15893 fi 15894 15895 # Always prepend --disable-option-checking to silence warnings, since 15896 # different subdirs can have different --enable and --with options. 15897 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 15898 15899 ac_popdir=`pwd` 15900 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 15901 15902 # Do not complain, so a configure script can configure whichever 15903 # parts of a large source tree are present. 15904 test -d "$srcdir/$ac_dir" || continue 15905 15906 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 15907 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 15908 $as_echo "$ac_msg" >&6 15909 as_dir="$ac_dir"; as_fn_mkdir_p 15910 ac_builddir=. 15911 15912case "$ac_dir" in 15913.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15914*) 15915 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15916 # A ".." for each directory in $ac_dir_suffix. 15917 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15918 case $ac_top_builddir_sub in 15919 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15920 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15921 esac ;; 15922esac 15923ac_abs_top_builddir=$ac_pwd 15924ac_abs_builddir=$ac_pwd$ac_dir_suffix 15925# for backward compatibility: 15926ac_top_builddir=$ac_top_build_prefix 15927 15928case $srcdir in 15929 .) # We are building in place. 15930 ac_srcdir=. 15931 ac_top_srcdir=$ac_top_builddir_sub 15932 ac_abs_top_srcdir=$ac_pwd ;; 15933 [\\/]* | ?:[\\/]* ) # Absolute name. 15934 ac_srcdir=$srcdir$ac_dir_suffix; 15935 ac_top_srcdir=$srcdir 15936 ac_abs_top_srcdir=$srcdir ;; 15937 *) # Relative name. 15938 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15939 ac_top_srcdir=$ac_top_build_prefix$srcdir 15940 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15941esac 15942ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15943 15944 15945 cd "$ac_dir" 15946 15947 # Check for guested configure; otherwise get Cygnus style configure. 15948 if test -f "$ac_srcdir/configure.gnu"; then 15949 ac_sub_configure=$ac_srcdir/configure.gnu 15950 elif test -f "$ac_srcdir/configure"; then 15951 ac_sub_configure=$ac_srcdir/configure 15952 elif test -f "$ac_srcdir/configure.in"; then 15953 # This should be Cygnus configure. 15954 ac_sub_configure=$ac_aux_dir/configure 15955 else 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 15957$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 15958 ac_sub_configure= 15959 fi 15960 15961 # The recursion is here. 15962 if test -n "$ac_sub_configure"; then 15963 # Make the cache file name correct relative to the subdirectory. 15964 case $cache_file in 15965 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 15966 *) # Relative name. 15967 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 15968 esac 15969 15970 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 15971$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 15972 # The eval makes quoting arguments work. 15973 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 15974 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 15975 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 15976 fi 15977 15978 cd "$ac_popdir" 15979 done 15980fi 15981if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15983$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15984fi 15985 15986 15987 15988echo " /*-----------------------------------------------*" 15989echo " * CLooG configuration is OK *" 15990echo " *-----------------------------------------------*/" 15991echo "It appears that your system is OK to start CLooG compilation. You need" 15992echo "now to type \"make\". After compilation, you should check CLooG by typing" 15993echo "\"make check\". If no problem occur, you can type \"make uninstall\" if" 15994echo "you are upgrading an old version. Lastly type \"make install\" to install" 15995echo "CLooG on your system (log as root if necessary)." 15996