1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for libXevie 1.0.3. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177test \$(( 1 + 1 )) = 2 || exit 1 178 179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 183 PATH=/empty FPATH=/empty; export PATH FPATH 184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 186 if (eval "$as_required") 2>/dev/null; then : 187 as_have_required=yes 188else 189 as_have_required=no 190fi 191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 192 193else 194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 195as_found=false 196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 197do 198 IFS=$as_save_IFS 199 test -z "$as_dir" && as_dir=. 200 as_found=: 201 case $as_dir in #( 202 /*) 203 for as_base in sh bash ksh sh5; do 204 # Try only shells that exist, to save several forks. 205 as_shell=$as_dir/$as_base 206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 208 CONFIG_SHELL=$as_shell as_have_required=yes 209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 210 break 2 211fi 212fi 213 done;; 214 esac 215 as_found=false 216done 217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 219 CONFIG_SHELL=$SHELL as_have_required=yes 220fi; } 221IFS=$as_save_IFS 222 223 224 if test "x$CONFIG_SHELL" != x; then : 225 # We cannot yet assume a decent shell, so we have to provide a 226 # neutralization value for shells without unset; and this also 227 # works around shells that cannot unset nonexistent variables. 228 # Preserve -v and -x to the replacement shell. 229 BASH_ENV=/dev/null 230 ENV=/dev/null 231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 232 export CONFIG_SHELL 233 case $- in # (((( 234 *v*x* | *x*v* ) as_opts=-vx ;; 235 *v* ) as_opts=-v ;; 236 *x* ) as_opts=-x ;; 237 * ) as_opts= ;; 238 esac 239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 240fi 241 242 if test x$as_have_required = xno; then : 243 $as_echo "$0: This script requires a shell more modern than all" 244 $as_echo "$0: the shells that I found on your system." 245 if test x${ZSH_VERSION+set} = xset ; then 246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 247 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 248 else 249 $as_echo "$0: Please tell bug-autoconf@gnu.org and 250$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 251$0: about your system, including any error possibly output 252$0: before this message. Then install a modern shell, or 253$0: manually run the script under such a shell if you do 254$0: have one." 255 fi 256 exit 1 257fi 258fi 259fi 260SHELL=${CONFIG_SHELL-/bin/sh} 261export SHELL 262# Unset more variables known to interfere with behavior of common tools. 263CLICOLOR_FORCE= GREP_OPTIONS= 264unset CLICOLOR_FORCE GREP_OPTIONS 265 266## --------------------- ## 267## M4sh Shell Functions. ## 268## --------------------- ## 269# as_fn_unset VAR 270# --------------- 271# Portably unset VAR. 272as_fn_unset () 273{ 274 { eval $1=; unset $1;} 275} 276as_unset=as_fn_unset 277 278# as_fn_set_status STATUS 279# ----------------------- 280# Set $? to STATUS, without forking. 281as_fn_set_status () 282{ 283 return $1 284} # as_fn_set_status 285 286# as_fn_exit STATUS 287# ----------------- 288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 289as_fn_exit () 290{ 291 set +e 292 as_fn_set_status $1 293 exit $1 294} # as_fn_exit 295 296# as_fn_mkdir_p 297# ------------- 298# Create "$as_dir" as a directory, including parents if necessary. 299as_fn_mkdir_p () 300{ 301 302 case $as_dir in #( 303 -*) as_dir=./$as_dir;; 304 esac 305 test -d "$as_dir" || eval $as_mkdir_p || { 306 as_dirs= 307 while :; do 308 case $as_dir in #( 309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 310 *) as_qdir=$as_dir;; 311 esac 312 as_dirs="'$as_qdir' $as_dirs" 313 as_dir=`$as_dirname -- "$as_dir" || 314$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 315 X"$as_dir" : 'X\(//\)[^/]' \| \ 316 X"$as_dir" : 'X\(//\)$' \| \ 317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 318$as_echo X"$as_dir" | 319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 320 s//\1/ 321 q 322 } 323 /^X\(\/\/\)[^/].*/{ 324 s//\1/ 325 q 326 } 327 /^X\(\/\/\)$/{ 328 s//\1/ 329 q 330 } 331 /^X\(\/\).*/{ 332 s//\1/ 333 q 334 } 335 s/.*/./; q'` 336 test -d "$as_dir" && break 337 done 338 test -z "$as_dirs" || eval "mkdir $as_dirs" 339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 340 341 342} # as_fn_mkdir_p 343# as_fn_append VAR VALUE 344# ---------------------- 345# Append the text in VALUE to the end of the definition contained in VAR. Take 346# advantage of any shell optimizations that allow amortized linear growth over 347# repeated appends, instead of the typical quadratic growth present in naive 348# implementations. 349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 350 eval 'as_fn_append () 351 { 352 eval $1+=\$2 353 }' 354else 355 as_fn_append () 356 { 357 eval $1=\$$1\$2 358 } 359fi # as_fn_append 360 361# as_fn_arith ARG... 362# ------------------ 363# Perform arithmetic evaluation on the ARGs, and store the result in the 364# global $as_val. Take advantage of shells that can avoid forks. The arguments 365# must be portable across $(()) and expr. 366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 367 eval 'as_fn_arith () 368 { 369 as_val=$(( $* )) 370 }' 371else 372 as_fn_arith () 373 { 374 as_val=`expr "$@" || test $? -eq 1` 375 } 376fi # as_fn_arith 377 378 379# as_fn_error STATUS ERROR [LINENO LOG_FD] 380# ---------------------------------------- 381# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 382# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 383# script with STATUS, using 1 if that was 0. 384as_fn_error () 385{ 386 as_status=$1; test $as_status -eq 0 && as_status=1 387 if test "$4"; then 388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 390 fi 391 $as_echo "$as_me: error: $2" >&2 392 as_fn_exit $as_status 393} # as_fn_error 394 395if expr a : '\(a\)' >/dev/null 2>&1 && 396 test "X`expr 00001 : '.*\(...\)'`" = X001; then 397 as_expr=expr 398else 399 as_expr=false 400fi 401 402if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 403 as_basename=basename 404else 405 as_basename=false 406fi 407 408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 409 as_dirname=dirname 410else 411 as_dirname=false 412fi 413 414as_me=`$as_basename -- "$0" || 415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 416 X"$0" : 'X\(//\)$' \| \ 417 X"$0" : 'X\(/\)' \| . 2>/dev/null || 418$as_echo X/"$0" | 419 sed '/^.*\/\([^/][^/]*\)\/*$/{ 420 s//\1/ 421 q 422 } 423 /^X\/\(\/\/\)$/{ 424 s//\1/ 425 q 426 } 427 /^X\/\(\/\).*/{ 428 s//\1/ 429 q 430 } 431 s/.*/./; q'` 432 433# Avoid depending upon Character Ranges. 434as_cr_letters='abcdefghijklmnopqrstuvwxyz' 435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 436as_cr_Letters=$as_cr_letters$as_cr_LETTERS 437as_cr_digits='0123456789' 438as_cr_alnum=$as_cr_Letters$as_cr_digits 439 440 441 as_lineno_1=$LINENO as_lineno_1a=$LINENO 442 as_lineno_2=$LINENO as_lineno_2a=$LINENO 443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 446 sed -n ' 447 p 448 /[$]LINENO/= 449 ' <$as_myself | 450 sed ' 451 s/[$]LINENO.*/&-/ 452 t lineno 453 b 454 :lineno 455 N 456 :loop 457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 458 t loop 459 s/-\n.*// 460 ' >$as_me.lineno && 461 chmod +x "$as_me.lineno" || 462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 463 464 # Don't try to exec as it changes $[0], causing all sort of problems 465 # (the dirname of $[0] is not the place where we might find the 466 # original and so on. Autoconf is especially sensitive to this). 467 . "./$as_me.lineno" 468 # Exit status is that of the last command. 469 exit 470} 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in #((((( 474-n*) 475 case `echo 'xy\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 xy) ECHO_C='\c';; 478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 479 ECHO_T=' ';; 480 esac;; 481*) 482 ECHO_N='-n';; 483esac 484 485rm -f conf$$ conf$$.exe conf$$.file 486if test -d conf$$.dir; then 487 rm -f conf$$.dir/conf$$.file 488else 489 rm -f conf$$.dir 490 mkdir conf$$.dir 2>/dev/null 491fi 492if (echo >conf$$.file) 2>/dev/null; then 493 if ln -s conf$$.file conf$$ 2>/dev/null; then 494 as_ln_s='ln -s' 495 # ... but there are two gotchas: 496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 498 # In both cases, we have to default to `cp -p'. 499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 500 as_ln_s='cp -p' 501 elif ln conf$$.file conf$$ 2>/dev/null; then 502 as_ln_s=ln 503 else 504 as_ln_s='cp -p' 505 fi 506else 507 as_ln_s='cp -p' 508fi 509rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 510rmdir conf$$.dir 2>/dev/null 511 512if mkdir -p . 2>/dev/null; then 513 as_mkdir_p='mkdir -p "$as_dir"' 514else 515 test -d ./-p && rmdir ./-p 516 as_mkdir_p=false 517fi 518 519if test -x / >/dev/null 2>&1; then 520 as_test_x='test -x' 521else 522 if ls -dL / >/dev/null 2>&1; then 523 as_ls_L_option=L 524 else 525 as_ls_L_option= 526 fi 527 as_test_x=' 528 eval sh -c '\'' 529 if test -d "$1"; then 530 test -d "$1/."; 531 else 532 case $1 in #( 533 -*)set "./$1";; 534 esac; 535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 536 ???[sx]*):;;*)false;;esac;fi 537 '\'' sh 538 ' 539fi 540as_executable_p=$as_test_x 541 542# Sed expression to map a string onto a valid CPP name. 543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 544 545# Sed expression to map a string onto a valid variable name. 546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 547 548SHELL=${CONFIG_SHELL-/bin/sh} 549 550 551test -n "$DJDIR" || exec 7<&0 </dev/null 552exec 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570 571# Identity of this package. 572PACKAGE_NAME='libXevie' 573PACKAGE_TARNAME='libXevie' 574PACKAGE_VERSION='1.0.3' 575PACKAGE_STRING='libXevie 1.0.3' 576PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 577PACKAGE_URL='' 578 579# Factoring default headers for most tests. 580ac_includes_default="\ 581#include <stdio.h> 582#ifdef HAVE_SYS_TYPES_H 583# include <sys/types.h> 584#endif 585#ifdef HAVE_SYS_STAT_H 586# include <sys/stat.h> 587#endif 588#ifdef STDC_HEADERS 589# include <stdlib.h> 590# include <stddef.h> 591#else 592# ifdef HAVE_STDLIB_H 593# include <stdlib.h> 594# endif 595#endif 596#ifdef HAVE_STRING_H 597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 598# include <memory.h> 599# endif 600# include <string.h> 601#endif 602#ifdef HAVE_STRINGS_H 603# include <strings.h> 604#endif 605#ifdef HAVE_INTTYPES_H 606# include <inttypes.h> 607#endif 608#ifdef HAVE_STDINT_H 609# include <stdint.h> 610#endif 611#ifdef HAVE_UNISTD_H 612# include <unistd.h> 613#endif" 614 615ac_subst_vars='am__EXEEXT_FALSE 616am__EXEEXT_TRUE 617LTLIBOBJS 618LIBOBJS 619MAKE_LINT_LIB_FALSE 620MAKE_LINT_LIB_TRUE 621LINTLIB 622LINT_FALSE 623LINT_TRUE 624LINT_FLAGS 625LINT 626XEVIE_LIBS 627XEVIE_CFLAGS 628OTOOL64 629OTOOL 630LIPO 631NMEDIT 632DSYMUTIL 633RANLIB 634AR 635OBJDUMP 636LN_S 637NM 638ac_ct_DUMPBIN 639DUMPBIN 640LD 641FGREP 642LIBTOOL 643AM_BACKSLASH 644AM_DEFAULT_VERBOSITY 645MAN_SUBSTS 646XORG_MAN_PAGE 647ADMIN_MAN_DIR 648DRIVER_MAN_DIR 649MISC_MAN_DIR 650FILE_MAN_DIR 651LIB_MAN_DIR 652APP_MAN_DIR 653ADMIN_MAN_SUFFIX 654DRIVER_MAN_SUFFIX 655MISC_MAN_SUFFIX 656FILE_MAN_SUFFIX 657LIB_MAN_SUFFIX 658APP_MAN_SUFFIX 659SED 660host_os 661host_vendor 662host_cpu 663host 664build_os 665build_vendor 666build_cpu 667build 668INSTALL_CMD 669PKG_CONFIG 670CHANGELOG_CMD 671CWARNFLAGS 672EGREP 673GREP 674CPP 675am__fastdepCC_FALSE 676am__fastdepCC_TRUE 677CCDEPMODE 678AMDEPBACKSLASH 679AMDEP_FALSE 680AMDEP_TRUE 681am__quote 682am__include 683DEPDIR 684OBJEXT 685EXEEXT 686ac_ct_CC 687CPPFLAGS 688LDFLAGS 689CFLAGS 690CC 691MAINT 692MAINTAINER_MODE_FALSE 693MAINTAINER_MODE_TRUE 694am__untar 695am__tar 696AMTAR 697am__leading_dot 698SET_MAKE 699AWK 700mkdir_p 701MKDIR_P 702INSTALL_STRIP_PROGRAM 703STRIP 704install_sh 705MAKEINFO 706AUTOHEADER 707AUTOMAKE 708AUTOCONF 709ACLOCAL 710VERSION 711PACKAGE 712CYGPATH_W 713am__isrc 714INSTALL_DATA 715INSTALL_SCRIPT 716INSTALL_PROGRAM 717target_alias 718host_alias 719build_alias 720LIBS 721ECHO_T 722ECHO_N 723ECHO_C 724DEFS 725mandir 726localedir 727libdir 728psdir 729pdfdir 730dvidir 731htmldir 732infodir 733docdir 734oldincludedir 735includedir 736localstatedir 737sharedstatedir 738sysconfdir 739datadir 740datarootdir 741libexecdir 742sbindir 743bindir 744program_transform_name 745prefix 746exec_prefix 747PACKAGE_URL 748PACKAGE_BUGREPORT 749PACKAGE_STRING 750PACKAGE_VERSION 751PACKAGE_TARNAME 752PACKAGE_NAME 753PATH_SEPARATOR 754SHELL' 755ac_subst_files='' 756ac_user_opts=' 757enable_option_checking 758enable_maintainer_mode 759enable_dependency_tracking 760enable_strict_compilation 761enable_silent_rules 762enable_shared 763enable_static 764with_pic 765enable_fast_install 766with_gnu_ld 767enable_libtool_lock 768with_lint 769enable_lint_library 770' 771 ac_precious_vars='build_alias 772host_alias 773target_alias 774CC 775CFLAGS 776LDFLAGS 777LIBS 778CPPFLAGS 779CPP 780PKG_CONFIG 781XEVIE_CFLAGS 782XEVIE_LIBS 783LINT 784LINT_FLAGS' 785 786 787# Initialize some variables set by options. 788ac_init_help= 789ac_init_version=false 790ac_unrecognized_opts= 791ac_unrecognized_sep= 792# The variables have the same names as the options, with 793# dashes changed to underlines. 794cache_file=/dev/null 795exec_prefix=NONE 796no_create= 797no_recursion= 798prefix=NONE 799program_prefix=NONE 800program_suffix=NONE 801program_transform_name=s,x,x, 802silent= 803site= 804srcdir= 805verbose= 806x_includes=NONE 807x_libraries=NONE 808 809# Installation directory options. 810# These are left unexpanded so users can "make install exec_prefix=/foo" 811# and all the variables that are supposed to be based on exec_prefix 812# by default will actually change. 813# Use braces instead of parens because sh, perl, etc. also accept them. 814# (The list follows the same order as the GNU Coding Standards.) 815bindir='${exec_prefix}/bin' 816sbindir='${exec_prefix}/sbin' 817libexecdir='${exec_prefix}/libexec' 818datarootdir='${prefix}/share' 819datadir='${datarootdir}' 820sysconfdir='${prefix}/etc' 821sharedstatedir='${prefix}/com' 822localstatedir='${prefix}/var' 823includedir='${prefix}/include' 824oldincludedir='/usr/include' 825docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 826infodir='${datarootdir}/info' 827htmldir='${docdir}' 828dvidir='${docdir}' 829pdfdir='${docdir}' 830psdir='${docdir}' 831libdir='${exec_prefix}/lib' 832localedir='${datarootdir}/locale' 833mandir='${datarootdir}/man' 834 835ac_prev= 836ac_dashdash= 837for ac_option 838do 839 # If the previous option needs an argument, assign it. 840 if test -n "$ac_prev"; then 841 eval $ac_prev=\$ac_option 842 ac_prev= 843 continue 844 fi 845 846 case $ac_option in 847 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 848 *=) ac_optarg= ;; 849 *) ac_optarg=yes ;; 850 esac 851 852 # Accept the important Cygnus configure options, so we can diagnose typos. 853 854 case $ac_dashdash$ac_option in 855 --) 856 ac_dashdash=yes ;; 857 858 -bindir | --bindir | --bindi | --bind | --bin | --bi) 859 ac_prev=bindir ;; 860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 861 bindir=$ac_optarg ;; 862 863 -build | --build | --buil | --bui | --bu) 864 ac_prev=build_alias ;; 865 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 866 build_alias=$ac_optarg ;; 867 868 -cache-file | --cache-file | --cache-fil | --cache-fi \ 869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 870 ac_prev=cache_file ;; 871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 873 cache_file=$ac_optarg ;; 874 875 --config-cache | -C) 876 cache_file=config.cache ;; 877 878 -datadir | --datadir | --datadi | --datad) 879 ac_prev=datadir ;; 880 -datadir=* | --datadir=* | --datadi=* | --datad=*) 881 datadir=$ac_optarg ;; 882 883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 884 | --dataroo | --dataro | --datar) 885 ac_prev=datarootdir ;; 886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 888 datarootdir=$ac_optarg ;; 889 890 -disable-* | --disable-*) 891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 892 # Reject names that are not valid shell variable names. 893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 894 as_fn_error $? "invalid feature name: $ac_useropt" 895 ac_useropt_orig=$ac_useropt 896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 897 case $ac_user_opts in 898 *" 899"enable_$ac_useropt" 900"*) ;; 901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 902 ac_unrecognized_sep=', ';; 903 esac 904 eval enable_$ac_useropt=no ;; 905 906 -docdir | --docdir | --docdi | --doc | --do) 907 ac_prev=docdir ;; 908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 909 docdir=$ac_optarg ;; 910 911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 912 ac_prev=dvidir ;; 913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 914 dvidir=$ac_optarg ;; 915 916 -enable-* | --enable-*) 917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 918 # Reject names that are not valid shell variable names. 919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 920 as_fn_error $? "invalid feature name: $ac_useropt" 921 ac_useropt_orig=$ac_useropt 922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 923 case $ac_user_opts in 924 *" 925"enable_$ac_useropt" 926"*) ;; 927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 928 ac_unrecognized_sep=', ';; 929 esac 930 eval enable_$ac_useropt=\$ac_optarg ;; 931 932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 934 | --exec | --exe | --ex) 935 ac_prev=exec_prefix ;; 936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 938 | --exec=* | --exe=* | --ex=*) 939 exec_prefix=$ac_optarg ;; 940 941 -gas | --gas | --ga | --g) 942 # Obsolete; use --with-gas. 943 with_gas=yes ;; 944 945 -help | --help | --hel | --he | -h) 946 ac_init_help=long ;; 947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 948 ac_init_help=recursive ;; 949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 950 ac_init_help=short ;; 951 952 -host | --host | --hos | --ho) 953 ac_prev=host_alias ;; 954 -host=* | --host=* | --hos=* | --ho=*) 955 host_alias=$ac_optarg ;; 956 957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 958 ac_prev=htmldir ;; 959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 960 | --ht=*) 961 htmldir=$ac_optarg ;; 962 963 -includedir | --includedir | --includedi | --included | --include \ 964 | --includ | --inclu | --incl | --inc) 965 ac_prev=includedir ;; 966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 967 | --includ=* | --inclu=* | --incl=* | --inc=*) 968 includedir=$ac_optarg ;; 969 970 -infodir | --infodir | --infodi | --infod | --info | --inf) 971 ac_prev=infodir ;; 972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 973 infodir=$ac_optarg ;; 974 975 -libdir | --libdir | --libdi | --libd) 976 ac_prev=libdir ;; 977 -libdir=* | --libdir=* | --libdi=* | --libd=*) 978 libdir=$ac_optarg ;; 979 980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 981 | --libexe | --libex | --libe) 982 ac_prev=libexecdir ;; 983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 984 | --libexe=* | --libex=* | --libe=*) 985 libexecdir=$ac_optarg ;; 986 987 -localedir | --localedir | --localedi | --localed | --locale) 988 ac_prev=localedir ;; 989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 990 localedir=$ac_optarg ;; 991 992 -localstatedir | --localstatedir | --localstatedi | --localstated \ 993 | --localstate | --localstat | --localsta | --localst | --locals) 994 ac_prev=localstatedir ;; 995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 997 localstatedir=$ac_optarg ;; 998 999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1000 ac_prev=mandir ;; 1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1002 mandir=$ac_optarg ;; 1003 1004 -nfp | --nfp | --nf) 1005 # Obsolete; use --without-fp. 1006 with_fp=no ;; 1007 1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1009 | --no-cr | --no-c | -n) 1010 no_create=yes ;; 1011 1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1014 no_recursion=yes ;; 1015 1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1018 | --oldin | --oldi | --old | --ol | --o) 1019 ac_prev=oldincludedir ;; 1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1023 oldincludedir=$ac_optarg ;; 1024 1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1026 ac_prev=prefix ;; 1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1028 prefix=$ac_optarg ;; 1029 1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1031 | --program-pre | --program-pr | --program-p) 1032 ac_prev=program_prefix ;; 1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1035 program_prefix=$ac_optarg ;; 1036 1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1038 | --program-suf | --program-su | --program-s) 1039 ac_prev=program_suffix ;; 1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1042 program_suffix=$ac_optarg ;; 1043 1044 -program-transform-name | --program-transform-name \ 1045 | --program-transform-nam | --program-transform-na \ 1046 | --program-transform-n | --program-transform- \ 1047 | --program-transform | --program-transfor \ 1048 | --program-transfo | --program-transf \ 1049 | --program-trans | --program-tran \ 1050 | --progr-tra | --program-tr | --program-t) 1051 ac_prev=program_transform_name ;; 1052 -program-transform-name=* | --program-transform-name=* \ 1053 | --program-transform-nam=* | --program-transform-na=* \ 1054 | --program-transform-n=* | --program-transform-=* \ 1055 | --program-transform=* | --program-transfor=* \ 1056 | --program-transfo=* | --program-transf=* \ 1057 | --program-trans=* | --program-tran=* \ 1058 | --progr-tra=* | --program-tr=* | --program-t=*) 1059 program_transform_name=$ac_optarg ;; 1060 1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1062 ac_prev=pdfdir ;; 1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1064 pdfdir=$ac_optarg ;; 1065 1066 -psdir | --psdir | --psdi | --psd | --ps) 1067 ac_prev=psdir ;; 1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1069 psdir=$ac_optarg ;; 1070 1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1072 | -silent | --silent | --silen | --sile | --sil) 1073 silent=yes ;; 1074 1075 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1076 ac_prev=sbindir ;; 1077 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1078 | --sbi=* | --sb=*) 1079 sbindir=$ac_optarg ;; 1080 1081 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1082 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1083 | --sharedst | --shareds | --shared | --share | --shar \ 1084 | --sha | --sh) 1085 ac_prev=sharedstatedir ;; 1086 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1087 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1088 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1089 | --sha=* | --sh=*) 1090 sharedstatedir=$ac_optarg ;; 1091 1092 -site | --site | --sit) 1093 ac_prev=site ;; 1094 -site=* | --site=* | --sit=*) 1095 site=$ac_optarg ;; 1096 1097 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1098 ac_prev=srcdir ;; 1099 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1100 srcdir=$ac_optarg ;; 1101 1102 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1103 | --syscon | --sysco | --sysc | --sys | --sy) 1104 ac_prev=sysconfdir ;; 1105 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1106 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1107 sysconfdir=$ac_optarg ;; 1108 1109 -target | --target | --targe | --targ | --tar | --ta | --t) 1110 ac_prev=target_alias ;; 1111 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1112 target_alias=$ac_optarg ;; 1113 1114 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1115 verbose=yes ;; 1116 1117 -version | --version | --versio | --versi | --vers | -V) 1118 ac_init_version=: ;; 1119 1120 -with-* | --with-*) 1121 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1122 # Reject names that are not valid shell variable names. 1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1124 as_fn_error $? "invalid package name: $ac_useropt" 1125 ac_useropt_orig=$ac_useropt 1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1127 case $ac_user_opts in 1128 *" 1129"with_$ac_useropt" 1130"*) ;; 1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1132 ac_unrecognized_sep=', ';; 1133 esac 1134 eval with_$ac_useropt=\$ac_optarg ;; 1135 1136 -without-* | --without-*) 1137 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1138 # Reject names that are not valid shell variable names. 1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 as_fn_error $? "invalid package name: $ac_useropt" 1141 ac_useropt_orig=$ac_useropt 1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 case $ac_user_opts in 1144 *" 1145"with_$ac_useropt" 1146"*) ;; 1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1148 ac_unrecognized_sep=', ';; 1149 esac 1150 eval with_$ac_useropt=no ;; 1151 1152 --x) 1153 # Obsolete; use --with-x. 1154 with_x=yes ;; 1155 1156 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1157 | --x-incl | --x-inc | --x-in | --x-i) 1158 ac_prev=x_includes ;; 1159 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1160 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1161 x_includes=$ac_optarg ;; 1162 1163 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1164 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1165 ac_prev=x_libraries ;; 1166 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1167 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1168 x_libraries=$ac_optarg ;; 1169 1170 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1171Try \`$0 --help' for more information" 1172 ;; 1173 1174 *=*) 1175 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1176 # Reject names that are not valid shell variable names. 1177 case $ac_envvar in #( 1178 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1179 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1180 esac 1181 eval $ac_envvar=\$ac_optarg 1182 export $ac_envvar ;; 1183 1184 *) 1185 # FIXME: should be removed in autoconf 3.0. 1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1189 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1190 ;; 1191 1192 esac 1193done 1194 1195if test -n "$ac_prev"; then 1196 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1197 as_fn_error $? "missing argument to $ac_option" 1198fi 1199 1200if test -n "$ac_unrecognized_opts"; then 1201 case $enable_option_checking in 1202 no) ;; 1203 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1205 esac 1206fi 1207 1208# Check all directory arguments for consistency. 1209for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1210 datadir sysconfdir sharedstatedir localstatedir includedir \ 1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1212 libdir localedir mandir 1213do 1214 eval ac_val=\$$ac_var 1215 # Remove trailing slashes. 1216 case $ac_val in 1217 */ ) 1218 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1219 eval $ac_var=\$ac_val;; 1220 esac 1221 # Be sure to have absolute directory names. 1222 case $ac_val in 1223 [\\/$]* | ?:[\\/]* ) continue;; 1224 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1225 esac 1226 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1227done 1228 1229# There might be people who depend on the old broken behavior: `$host' 1230# used to hold the argument of --host etc. 1231# FIXME: To remove some day. 1232build=$build_alias 1233host=$host_alias 1234target=$target_alias 1235 1236# FIXME: To remove some day. 1237if test "x$host_alias" != x; then 1238 if test "x$build_alias" = x; then 1239 cross_compiling=maybe 1240 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1241 If a cross compiler is detected then cross compile mode will be used" >&2 1242 elif test "x$build_alias" != "x$host_alias"; then 1243 cross_compiling=yes 1244 fi 1245fi 1246 1247ac_tool_prefix= 1248test -n "$host_alias" && ac_tool_prefix=$host_alias- 1249 1250test "$silent" = yes && exec 6>/dev/null 1251 1252 1253ac_pwd=`pwd` && test -n "$ac_pwd" && 1254ac_ls_di=`ls -di .` && 1255ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1256 as_fn_error $? "working directory cannot be determined" 1257test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1258 as_fn_error $? "pwd does not report name of working directory" 1259 1260 1261# Find the source files, if location was not specified. 1262if test -z "$srcdir"; then 1263 ac_srcdir_defaulted=yes 1264 # Try the directory containing this script, then the parent directory. 1265 ac_confdir=`$as_dirname -- "$as_myself" || 1266$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1267 X"$as_myself" : 'X\(//\)[^/]' \| \ 1268 X"$as_myself" : 'X\(//\)$' \| \ 1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1270$as_echo X"$as_myself" | 1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)[^/].*/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\/\)$/{ 1280 s//\1/ 1281 q 1282 } 1283 /^X\(\/\).*/{ 1284 s//\1/ 1285 q 1286 } 1287 s/.*/./; q'` 1288 srcdir=$ac_confdir 1289 if test ! -r "$srcdir/$ac_unique_file"; then 1290 srcdir=.. 1291 fi 1292else 1293 ac_srcdir_defaulted=no 1294fi 1295if test ! -r "$srcdir/$ac_unique_file"; then 1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1298fi 1299ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1300ac_abs_confdir=`( 1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1302 pwd)` 1303# When building in place, set srcdir=. 1304if test "$ac_abs_confdir" = "$ac_pwd"; then 1305 srcdir=. 1306fi 1307# Remove unnecessary trailing slashes from srcdir. 1308# Double slashes in file names in object file debugging info 1309# mess up M-x gdb in Emacs. 1310case $srcdir in 1311*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1312esac 1313for ac_var in $ac_precious_vars; do 1314 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1315 eval ac_env_${ac_var}_value=\$${ac_var} 1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1318done 1319 1320# 1321# Report the --help message. 1322# 1323if test "$ac_init_help" = "long"; then 1324 # Omit some internal or obsolete options to make the list less imposing. 1325 # This message is too long to be a string in the A/UX 3.1 sh. 1326 cat <<_ACEOF 1327\`configure' configures libXevie 1.0.3 to adapt to many kinds of systems. 1328 1329Usage: $0 [OPTION]... [VAR=VALUE]... 1330 1331To assign environment variables (e.g., CC, CFLAGS...), specify them as 1332VAR=VALUE. See below for descriptions of some of the useful variables. 1333 1334Defaults for the options are specified in brackets. 1335 1336Configuration: 1337 -h, --help display this help and exit 1338 --help=short display options specific to this package 1339 --help=recursive display the short help of all the included packages 1340 -V, --version display version information and exit 1341 -q, --quiet, --silent do not print \`checking ...' messages 1342 --cache-file=FILE cache test results in FILE [disabled] 1343 -C, --config-cache alias for \`--cache-file=config.cache' 1344 -n, --no-create do not create output files 1345 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1346 1347Installation directories: 1348 --prefix=PREFIX install architecture-independent files in PREFIX 1349 [$ac_default_prefix] 1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1351 [PREFIX] 1352 1353By default, \`make install' will install all the files in 1354\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1355an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1356for instance \`--prefix=\$HOME'. 1357 1358For better control, use the options below. 1359 1360Fine tuning of the installation directories: 1361 --bindir=DIR user executables [EPREFIX/bin] 1362 --sbindir=DIR system admin executables [EPREFIX/sbin] 1363 --libexecdir=DIR program executables [EPREFIX/libexec] 1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1367 --libdir=DIR object code libraries [EPREFIX/lib] 1368 --includedir=DIR C header files [PREFIX/include] 1369 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1372 --infodir=DIR info documentation [DATAROOTDIR/info] 1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1374 --mandir=DIR man documentation [DATAROOTDIR/man] 1375 --docdir=DIR documentation root [DATAROOTDIR/doc/libXevie] 1376 --htmldir=DIR html documentation [DOCDIR] 1377 --dvidir=DIR dvi documentation [DOCDIR] 1378 --pdfdir=DIR pdf documentation [DOCDIR] 1379 --psdir=DIR ps documentation [DOCDIR] 1380_ACEOF 1381 1382 cat <<\_ACEOF 1383 1384Program names: 1385 --program-prefix=PREFIX prepend PREFIX to installed program names 1386 --program-suffix=SUFFIX append SUFFIX to installed program names 1387 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1388 1389System types: 1390 --build=BUILD configure for building on BUILD [guessed] 1391 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1392_ACEOF 1393fi 1394 1395if test -n "$ac_init_help"; then 1396 case $ac_init_help in 1397 short | recursive ) echo "Configuration of libXevie 1.0.3:";; 1398 esac 1399 cat <<\_ACEOF 1400 1401Optional Features: 1402 --disable-option-checking ignore unrecognized --enable/--with options 1403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1405 --enable-maintainer-mode enable make rules and dependencies not useful 1406 (and sometimes confusing) to the casual installer 1407 --disable-dependency-tracking speeds up one-time build 1408 --enable-dependency-tracking do not reject slow dependency extractors 1409 --enable-strict-compilation 1410 Enable all warnings from compiler and make them 1411 errors (default: disabled) 1412 --enable-silent-rules less verbose build output (undo: `make V=1') 1413 --disable-silent-rules verbose build output (undo: `make V=0') 1414 --enable-shared[=PKGS] build shared libraries [default=yes] 1415 --enable-static[=PKGS] build static libraries [default=yes] 1416 --enable-fast-install[=PKGS] 1417 optimize for fast installation [default=yes] 1418 --disable-libtool-lock avoid locking (might break parallel builds) 1419 --enable-lint-library Create lint library (default: disabled) 1420 1421Optional Packages: 1422 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1423 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1424 --with-pic try to use only PIC/non-PIC objects [default=use 1425 both] 1426 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1427 --with-lint Use a lint-style source code checker (default: 1428 disabled) 1429 1430Some influential environment variables: 1431 CC C compiler command 1432 CFLAGS C compiler flags 1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1434 nonstandard directory <lib dir> 1435 LIBS libraries to pass to the linker, e.g. -l<library> 1436 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1437 you have headers in a nonstandard directory <include dir> 1438 CPP C preprocessor 1439 PKG_CONFIG path to pkg-config utility 1440 XEVIE_CFLAGS 1441 C compiler flags for XEVIE, overriding pkg-config 1442 XEVIE_LIBS linker flags for XEVIE, overriding pkg-config 1443 LINT Path to a lint-style command 1444 LINT_FLAGS Flags for the lint-style command 1445 1446Use these variables to override the choices made by `configure' or to help 1447it to find libraries and programs with nonstandard names/locations. 1448 1449Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1450_ACEOF 1451ac_status=$? 1452fi 1453 1454if test "$ac_init_help" = "recursive"; then 1455 # If there are subdirs, report their specific --help. 1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1457 test -d "$ac_dir" || 1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1459 continue 1460 ac_builddir=. 1461 1462case "$ac_dir" in 1463.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1464*) 1465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1466 # A ".." for each directory in $ac_dir_suffix. 1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1468 case $ac_top_builddir_sub in 1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1471 esac ;; 1472esac 1473ac_abs_top_builddir=$ac_pwd 1474ac_abs_builddir=$ac_pwd$ac_dir_suffix 1475# for backward compatibility: 1476ac_top_builddir=$ac_top_build_prefix 1477 1478case $srcdir in 1479 .) # We are building in place. 1480 ac_srcdir=. 1481 ac_top_srcdir=$ac_top_builddir_sub 1482 ac_abs_top_srcdir=$ac_pwd ;; 1483 [\\/]* | ?:[\\/]* ) # Absolute name. 1484 ac_srcdir=$srcdir$ac_dir_suffix; 1485 ac_top_srcdir=$srcdir 1486 ac_abs_top_srcdir=$srcdir ;; 1487 *) # Relative name. 1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1489 ac_top_srcdir=$ac_top_build_prefix$srcdir 1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1491esac 1492ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1493 1494 cd "$ac_dir" || { ac_status=$?; continue; } 1495 # Check for guested configure. 1496 if test -f "$ac_srcdir/configure.gnu"; then 1497 echo && 1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1499 elif test -f "$ac_srcdir/configure"; then 1500 echo && 1501 $SHELL "$ac_srcdir/configure" --help=recursive 1502 else 1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1504 fi || ac_status=$? 1505 cd "$ac_pwd" || { ac_status=$?; break; } 1506 done 1507fi 1508 1509test -n "$ac_init_help" && exit $ac_status 1510if $ac_init_version; then 1511 cat <<\_ACEOF 1512libXevie configure 1.0.3 1513generated by GNU Autoconf 2.68 1514 1515Copyright (C) 2010 Free Software Foundation, Inc. 1516This configure script is free software; the Free Software Foundation 1517gives unlimited permission to copy, distribute and modify it. 1518_ACEOF 1519 exit 1520fi 1521 1522## ------------------------ ## 1523## Autoconf initialization. ## 1524## ------------------------ ## 1525 1526# ac_fn_c_try_compile LINENO 1527# -------------------------- 1528# Try to compile conftest.$ac_ext, and return whether this succeeded. 1529ac_fn_c_try_compile () 1530{ 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 rm -f conftest.$ac_objext 1533 if { { ac_try="$ac_compile" 1534case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537esac 1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539$as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_compile") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } && { 1549 test -z "$ac_c_werror_flag" || 1550 test ! -s conftest.err 1551 } && test -s conftest.$ac_objext; then : 1552 ac_retval=0 1553else 1554 $as_echo "$as_me: failed program was:" >&5 1555sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558fi 1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1560 as_fn_set_status $ac_retval 1561 1562} # ac_fn_c_try_compile 1563 1564# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1565# --------------------------------------------- 1566# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1567# accordingly. 1568ac_fn_c_check_decl () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 as_decl_name=`echo $2|sed 's/ *(.*//'` 1572 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1574$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1575if eval \${$3+:} false; then : 1576 $as_echo_n "(cached) " >&6 1577else 1578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1579/* end confdefs.h. */ 1580$4 1581int 1582main () 1583{ 1584#ifndef $as_decl_name 1585#ifdef __cplusplus 1586 (void) $as_decl_use; 1587#else 1588 (void) $as_decl_name; 1589#endif 1590#endif 1591 1592 ; 1593 return 0; 1594} 1595_ACEOF 1596if ac_fn_c_try_compile "$LINENO"; then : 1597 eval "$3=yes" 1598else 1599 eval "$3=no" 1600fi 1601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1602fi 1603eval ac_res=\$$3 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1605$as_echo "$ac_res" >&6; } 1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1607 1608} # ac_fn_c_check_decl 1609 1610# ac_fn_c_try_cpp LINENO 1611# ---------------------- 1612# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1613ac_fn_c_try_cpp () 1614{ 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 if { { ac_try="$ac_cpp conftest.$ac_ext" 1617case "(($ac_try" in 1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1619 *) ac_try_echo=$ac_try;; 1620esac 1621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1622$as_echo "$ac_try_echo"; } >&5 1623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1624 ac_status=$? 1625 if test -s conftest.err; then 1626 grep -v '^ *+' conftest.err >conftest.er1 1627 cat conftest.er1 >&5 1628 mv -f conftest.er1 conftest.err 1629 fi 1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1631 test $ac_status = 0; } > conftest.i && { 1632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1633 test ! -s conftest.err 1634 }; then : 1635 ac_retval=0 1636else 1637 $as_echo "$as_me: failed program was:" >&5 1638sed 's/^/| /' conftest.$ac_ext >&5 1639 1640 ac_retval=1 1641fi 1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1643 as_fn_set_status $ac_retval 1644 1645} # ac_fn_c_try_cpp 1646 1647# ac_fn_c_try_run LINENO 1648# ---------------------- 1649# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1650# that executables *can* be run. 1651ac_fn_c_try_run () 1652{ 1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654 if { { ac_try="$ac_link" 1655case "(($ac_try" in 1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1657 *) ac_try_echo=$ac_try;; 1658esac 1659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1660$as_echo "$ac_try_echo"; } >&5 1661 (eval "$ac_link") 2>&5 1662 ac_status=$? 1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1664 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1665 { { case "(($ac_try" in 1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1667 *) ac_try_echo=$ac_try;; 1668esac 1669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1670$as_echo "$ac_try_echo"; } >&5 1671 (eval "$ac_try") 2>&5 1672 ac_status=$? 1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 test $ac_status = 0; }; }; then : 1675 ac_retval=0 1676else 1677 $as_echo "$as_me: program exited with status $ac_status" >&5 1678 $as_echo "$as_me: failed program was:" >&5 1679sed 's/^/| /' conftest.$ac_ext >&5 1680 1681 ac_retval=$ac_status 1682fi 1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1685 as_fn_set_status $ac_retval 1686 1687} # ac_fn_c_try_run 1688 1689# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1690# ------------------------------------------------------- 1691# Tests whether HEADER exists and can be compiled using the include files in 1692# INCLUDES, setting the cache variable VAR accordingly. 1693ac_fn_c_check_header_compile () 1694{ 1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1697$as_echo_n "checking for $2... " >&6; } 1698if eval \${$3+:} false; then : 1699 $as_echo_n "(cached) " >&6 1700else 1701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1702/* end confdefs.h. */ 1703$4 1704#include <$2> 1705_ACEOF 1706if ac_fn_c_try_compile "$LINENO"; then : 1707 eval "$3=yes" 1708else 1709 eval "$3=no" 1710fi 1711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1712fi 1713eval ac_res=\$$3 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1715$as_echo "$ac_res" >&6; } 1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1717 1718} # ac_fn_c_check_header_compile 1719 1720# ac_fn_c_try_link LINENO 1721# ----------------------- 1722# Try to link conftest.$ac_ext, and return whether this succeeded. 1723ac_fn_c_try_link () 1724{ 1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1726 rm -f conftest.$ac_objext conftest$ac_exeext 1727 if { { ac_try="$ac_link" 1728case "(($ac_try" in 1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1730 *) ac_try_echo=$ac_try;; 1731esac 1732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1733$as_echo "$ac_try_echo"; } >&5 1734 (eval "$ac_link") 2>conftest.err 1735 ac_status=$? 1736 if test -s conftest.err; then 1737 grep -v '^ *+' conftest.err >conftest.er1 1738 cat conftest.er1 >&5 1739 mv -f conftest.er1 conftest.err 1740 fi 1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1742 test $ac_status = 0; } && { 1743 test -z "$ac_c_werror_flag" || 1744 test ! -s conftest.err 1745 } && test -s conftest$ac_exeext && { 1746 test "$cross_compiling" = yes || 1747 $as_test_x conftest$ac_exeext 1748 }; then : 1749 ac_retval=0 1750else 1751 $as_echo "$as_me: failed program was:" >&5 1752sed 's/^/| /' conftest.$ac_ext >&5 1753 1754 ac_retval=1 1755fi 1756 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1757 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1758 # interfere with the next link command; also delete a directory that is 1759 # left behind by Apple's compiler. We do this before executing the actions. 1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1762 as_fn_set_status $ac_retval 1763 1764} # ac_fn_c_try_link 1765 1766# ac_fn_c_check_func LINENO FUNC VAR 1767# ---------------------------------- 1768# Tests whether FUNC exists, setting the cache variable VAR accordingly 1769ac_fn_c_check_func () 1770{ 1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1773$as_echo_n "checking for $2... " >&6; } 1774if eval \${$3+:} false; then : 1775 $as_echo_n "(cached) " >&6 1776else 1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1778/* end confdefs.h. */ 1779/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1780 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1781#define $2 innocuous_$2 1782 1783/* System header to define __stub macros and hopefully few prototypes, 1784 which can conflict with char $2 (); below. 1785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1786 <limits.h> exists even on freestanding compilers. */ 1787 1788#ifdef __STDC__ 1789# include <limits.h> 1790#else 1791# include <assert.h> 1792#endif 1793 1794#undef $2 1795 1796/* Override any GCC internal prototype to avoid an error. 1797 Use char because int might match the return type of a GCC 1798 builtin and then its argument prototype would still apply. */ 1799#ifdef __cplusplus 1800extern "C" 1801#endif 1802char $2 (); 1803/* The GNU C library defines this for functions which it implements 1804 to always fail with ENOSYS. Some functions are actually named 1805 something starting with __ and the normal name is an alias. */ 1806#if defined __stub_$2 || defined __stub___$2 1807choke me 1808#endif 1809 1810int 1811main () 1812{ 1813return $2 (); 1814 ; 1815 return 0; 1816} 1817_ACEOF 1818if ac_fn_c_try_link "$LINENO"; then : 1819 eval "$3=yes" 1820else 1821 eval "$3=no" 1822fi 1823rm -f core conftest.err conftest.$ac_objext \ 1824 conftest$ac_exeext conftest.$ac_ext 1825fi 1826eval ac_res=\$$3 1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1828$as_echo "$ac_res" >&6; } 1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1830 1831} # ac_fn_c_check_func 1832cat >config.log <<_ACEOF 1833This file contains any messages produced by compilers while 1834running configure, to aid debugging if configure makes a mistake. 1835 1836It was created by libXevie $as_me 1.0.3, which was 1837generated by GNU Autoconf 2.68. Invocation command line was 1838 1839 $ $0 $@ 1840 1841_ACEOF 1842exec 5>>config.log 1843{ 1844cat <<_ASUNAME 1845## --------- ## 1846## Platform. ## 1847## --------- ## 1848 1849hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1850uname -m = `(uname -m) 2>/dev/null || echo unknown` 1851uname -r = `(uname -r) 2>/dev/null || echo unknown` 1852uname -s = `(uname -s) 2>/dev/null || echo unknown` 1853uname -v = `(uname -v) 2>/dev/null || echo unknown` 1854 1855/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1856/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1857 1858/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1859/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1860/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1861/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1862/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1863/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1864/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1865 1866_ASUNAME 1867 1868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1869for as_dir in $PATH 1870do 1871 IFS=$as_save_IFS 1872 test -z "$as_dir" && as_dir=. 1873 $as_echo "PATH: $as_dir" 1874 done 1875IFS=$as_save_IFS 1876 1877} >&5 1878 1879cat >&5 <<_ACEOF 1880 1881 1882## ----------- ## 1883## Core tests. ## 1884## ----------- ## 1885 1886_ACEOF 1887 1888 1889# Keep a trace of the command line. 1890# Strip out --no-create and --no-recursion so they do not pile up. 1891# Strip out --silent because we don't want to record it for future runs. 1892# Also quote any args containing shell meta-characters. 1893# Make two passes to allow for proper duplicate-argument suppression. 1894ac_configure_args= 1895ac_configure_args0= 1896ac_configure_args1= 1897ac_must_keep_next=false 1898for ac_pass in 1 2 1899do 1900 for ac_arg 1901 do 1902 case $ac_arg in 1903 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1905 | -silent | --silent | --silen | --sile | --sil) 1906 continue ;; 1907 *\'*) 1908 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1909 esac 1910 case $ac_pass in 1911 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1912 2) 1913 as_fn_append ac_configure_args1 " '$ac_arg'" 1914 if test $ac_must_keep_next = true; then 1915 ac_must_keep_next=false # Got value, back to normal. 1916 else 1917 case $ac_arg in 1918 *=* | --config-cache | -C | -disable-* | --disable-* \ 1919 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1920 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1921 | -with-* | --with-* | -without-* | --without-* | --x) 1922 case "$ac_configure_args0 " in 1923 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1924 esac 1925 ;; 1926 -* ) ac_must_keep_next=true ;; 1927 esac 1928 fi 1929 as_fn_append ac_configure_args " '$ac_arg'" 1930 ;; 1931 esac 1932 done 1933done 1934{ ac_configure_args0=; unset ac_configure_args0;} 1935{ ac_configure_args1=; unset ac_configure_args1;} 1936 1937# When interrupted or exit'd, cleanup temporary files, and complete 1938# config.log. We remove comments because anyway the quotes in there 1939# would cause problems or look ugly. 1940# WARNING: Use '\'' to represent an apostrophe within the trap. 1941# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1942trap 'exit_status=$? 1943 # Save into config.log some information that might help in debugging. 1944 { 1945 echo 1946 1947 $as_echo "## ---------------- ## 1948## Cache variables. ## 1949## ---------------- ##" 1950 echo 1951 # The following way of writing the cache mishandles newlines in values, 1952( 1953 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1954 eval ac_val=\$$ac_var 1955 case $ac_val in #( 1956 *${as_nl}*) 1957 case $ac_var in #( 1958 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1959$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1960 esac 1961 case $ac_var in #( 1962 _ | IFS | as_nl) ;; #( 1963 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1964 *) { eval $ac_var=; unset $ac_var;} ;; 1965 esac ;; 1966 esac 1967 done 1968 (set) 2>&1 | 1969 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1970 *${as_nl}ac_space=\ *) 1971 sed -n \ 1972 "s/'\''/'\''\\\\'\'''\''/g; 1973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1974 ;; #( 1975 *) 1976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1977 ;; 1978 esac | 1979 sort 1980) 1981 echo 1982 1983 $as_echo "## ----------------- ## 1984## Output variables. ## 1985## ----------------- ##" 1986 echo 1987 for ac_var in $ac_subst_vars 1988 do 1989 eval ac_val=\$$ac_var 1990 case $ac_val in 1991 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1992 esac 1993 $as_echo "$ac_var='\''$ac_val'\''" 1994 done | sort 1995 echo 1996 1997 if test -n "$ac_subst_files"; then 1998 $as_echo "## ------------------- ## 1999## File substitutions. ## 2000## ------------------- ##" 2001 echo 2002 for ac_var in $ac_subst_files 2003 do 2004 eval ac_val=\$$ac_var 2005 case $ac_val in 2006 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2007 esac 2008 $as_echo "$ac_var='\''$ac_val'\''" 2009 done | sort 2010 echo 2011 fi 2012 2013 if test -s confdefs.h; then 2014 $as_echo "## ----------- ## 2015## confdefs.h. ## 2016## ----------- ##" 2017 echo 2018 cat confdefs.h 2019 echo 2020 fi 2021 test "$ac_signal" != 0 && 2022 $as_echo "$as_me: caught signal $ac_signal" 2023 $as_echo "$as_me: exit $exit_status" 2024 } >&5 2025 rm -f core *.core core.conftest.* && 2026 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2027 exit $exit_status 2028' 0 2029for ac_signal in 1 2 13 15; do 2030 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2031done 2032ac_signal=0 2033 2034# confdefs.h avoids OS command line length limits that DEFS can exceed. 2035rm -f -r conftest* confdefs.h 2036 2037$as_echo "/* confdefs.h */" > confdefs.h 2038 2039# Predefined preprocessor variables. 2040 2041cat >>confdefs.h <<_ACEOF 2042#define PACKAGE_NAME "$PACKAGE_NAME" 2043_ACEOF 2044 2045cat >>confdefs.h <<_ACEOF 2046#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2047_ACEOF 2048 2049cat >>confdefs.h <<_ACEOF 2050#define PACKAGE_VERSION "$PACKAGE_VERSION" 2051_ACEOF 2052 2053cat >>confdefs.h <<_ACEOF 2054#define PACKAGE_STRING "$PACKAGE_STRING" 2055_ACEOF 2056 2057cat >>confdefs.h <<_ACEOF 2058#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2059_ACEOF 2060 2061cat >>confdefs.h <<_ACEOF 2062#define PACKAGE_URL "$PACKAGE_URL" 2063_ACEOF 2064 2065 2066# Let the site file select an alternate cache file if it wants to. 2067# Prefer an explicitly selected file to automatically selected ones. 2068ac_site_file1=NONE 2069ac_site_file2=NONE 2070if test -n "$CONFIG_SITE"; then 2071 # We do not want a PATH search for config.site. 2072 case $CONFIG_SITE in #(( 2073 -*) ac_site_file1=./$CONFIG_SITE;; 2074 */*) ac_site_file1=$CONFIG_SITE;; 2075 *) ac_site_file1=./$CONFIG_SITE;; 2076 esac 2077elif test "x$prefix" != xNONE; then 2078 ac_site_file1=$prefix/share/config.site 2079 ac_site_file2=$prefix/etc/config.site 2080else 2081 ac_site_file1=$ac_default_prefix/share/config.site 2082 ac_site_file2=$ac_default_prefix/etc/config.site 2083fi 2084for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2085do 2086 test "x$ac_site_file" = xNONE && continue 2087 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2089$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2090 sed 's/^/| /' "$ac_site_file" >&5 2091 . "$ac_site_file" \ 2092 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2094as_fn_error $? "failed to load site script $ac_site_file 2095See \`config.log' for more details" "$LINENO" 5; } 2096 fi 2097done 2098 2099if test -r "$cache_file"; then 2100 # Some versions of bash will fail to source /dev/null (special files 2101 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2102 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2104$as_echo "$as_me: loading cache $cache_file" >&6;} 2105 case $cache_file in 2106 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2107 *) . "./$cache_file";; 2108 esac 2109 fi 2110else 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2112$as_echo "$as_me: creating cache $cache_file" >&6;} 2113 >$cache_file 2114fi 2115 2116# Check that the precious variables saved in the cache have kept the same 2117# value. 2118ac_cache_corrupted=false 2119for ac_var in $ac_precious_vars; do 2120 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2121 eval ac_new_set=\$ac_env_${ac_var}_set 2122 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2123 eval ac_new_val=\$ac_env_${ac_var}_value 2124 case $ac_old_set,$ac_new_set in 2125 set,) 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2127$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2128 ac_cache_corrupted=: ;; 2129 ,set) 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2131$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2132 ac_cache_corrupted=: ;; 2133 ,);; 2134 *) 2135 if test "x$ac_old_val" != "x$ac_new_val"; then 2136 # differences in whitespace do not lead to failure. 2137 ac_old_val_w=`echo x $ac_old_val` 2138 ac_new_val_w=`echo x $ac_new_val` 2139 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2141$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2142 ac_cache_corrupted=: 2143 else 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2145$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2146 eval $ac_var=\$ac_old_val 2147 fi 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2149$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2151$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2152 fi;; 2153 esac 2154 # Pass precious variables to config.status. 2155 if test "$ac_new_set" = set; then 2156 case $ac_new_val in 2157 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2158 *) ac_arg=$ac_var=$ac_new_val ;; 2159 esac 2160 case " $ac_configure_args " in 2161 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2162 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2163 esac 2164 fi 2165done 2166if $ac_cache_corrupted; then 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2170$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2171 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2172fi 2173## -------------------- ## 2174## Main body of script. ## 2175## -------------------- ## 2176 2177ac_ext=c 2178ac_cpp='$CPP $CPPFLAGS' 2179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2181ac_compiler_gnu=$ac_cv_c_compiler_gnu 2182 2183 2184am__api_version='1.11' 2185 2186ac_aux_dir= 2187for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2188 if test -f "$ac_dir/install-sh"; then 2189 ac_aux_dir=$ac_dir 2190 ac_install_sh="$ac_aux_dir/install-sh -c" 2191 break 2192 elif test -f "$ac_dir/install.sh"; then 2193 ac_aux_dir=$ac_dir 2194 ac_install_sh="$ac_aux_dir/install.sh -c" 2195 break 2196 elif test -f "$ac_dir/shtool"; then 2197 ac_aux_dir=$ac_dir 2198 ac_install_sh="$ac_aux_dir/shtool install -c" 2199 break 2200 fi 2201done 2202if test -z "$ac_aux_dir"; then 2203 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2204fi 2205 2206# These three variables are undocumented and unsupported, 2207# and are intended to be withdrawn in a future Autoconf release. 2208# They can cause serious problems if a builder's source tree is in a directory 2209# whose full name contains unusual characters. 2210ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2211ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2212ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2213 2214 2215# Find a good install program. We prefer a C program (faster), 2216# so one script is as good as another. But avoid the broken or 2217# incompatible versions: 2218# SysV /etc/install, /usr/sbin/install 2219# SunOS /usr/etc/install 2220# IRIX /sbin/install 2221# AIX /bin/install 2222# AmigaOS /C/install, which installs bootblocks on floppy discs 2223# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2224# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2225# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2226# OS/2's system install, which has a completely different semantic 2227# ./install, which can be erroneously created by make from ./install.sh. 2228# Reject install programs that cannot install multiple files. 2229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2230$as_echo_n "checking for a BSD-compatible install... " >&6; } 2231if test -z "$INSTALL"; then 2232if ${ac_cv_path_install+:} false; then : 2233 $as_echo_n "(cached) " >&6 2234else 2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2236for as_dir in $PATH 2237do 2238 IFS=$as_save_IFS 2239 test -z "$as_dir" && as_dir=. 2240 # Account for people who put trailing slashes in PATH elements. 2241case $as_dir/ in #(( 2242 ./ | .// | /[cC]/* | \ 2243 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2244 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2245 /usr/ucb/* ) ;; 2246 *) 2247 # OSF1 and SCO ODT 3.0 have their own names for install. 2248 # Don't use installbsd from OSF since it installs stuff as root 2249 # by default. 2250 for ac_prog in ginstall scoinst install; do 2251 for ac_exec_ext in '' $ac_executable_extensions; do 2252 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2253 if test $ac_prog = install && 2254 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2255 # AIX install. It has an incompatible calling convention. 2256 : 2257 elif test $ac_prog = install && 2258 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2259 # program-specific install script used by HP pwplus--don't use. 2260 : 2261 else 2262 rm -rf conftest.one conftest.two conftest.dir 2263 echo one > conftest.one 2264 echo two > conftest.two 2265 mkdir conftest.dir 2266 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2267 test -s conftest.one && test -s conftest.two && 2268 test -s conftest.dir/conftest.one && 2269 test -s conftest.dir/conftest.two 2270 then 2271 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2272 break 3 2273 fi 2274 fi 2275 fi 2276 done 2277 done 2278 ;; 2279esac 2280 2281 done 2282IFS=$as_save_IFS 2283 2284rm -rf conftest.one conftest.two conftest.dir 2285 2286fi 2287 if test "${ac_cv_path_install+set}" = set; then 2288 INSTALL=$ac_cv_path_install 2289 else 2290 # As a last resort, use the slow shell script. Don't cache a 2291 # value for INSTALL within a source directory, because that will 2292 # break other packages using the cache if that directory is 2293 # removed, or if the value is a relative name. 2294 INSTALL=$ac_install_sh 2295 fi 2296fi 2297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2298$as_echo "$INSTALL" >&6; } 2299 2300# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2301# It thinks the first close brace ends the variable substitution. 2302test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2303 2304test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2305 2306test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2307 2308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2309$as_echo_n "checking whether build environment is sane... " >&6; } 2310# Just in case 2311sleep 1 2312echo timestamp > conftest.file 2313# Reject unsafe characters in $srcdir or the absolute working directory 2314# name. Accept space and tab only in the latter. 2315am_lf=' 2316' 2317case `pwd` in 2318 *[\\\"\#\$\&\'\`$am_lf]*) 2319 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2320esac 2321case $srcdir in 2322 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2323 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2324esac 2325 2326# Do `set' in a subshell so we don't clobber the current shell's 2327# arguments. Must try -L first in case configure is actually a 2328# symlink; some systems play weird games with the mod time of symlinks 2329# (eg FreeBSD returns the mod time of the symlink's containing 2330# directory). 2331if ( 2332 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2333 if test "$*" = "X"; then 2334 # -L didn't work. 2335 set X `ls -t "$srcdir/configure" conftest.file` 2336 fi 2337 rm -f conftest.file 2338 if test "$*" != "X $srcdir/configure conftest.file" \ 2339 && test "$*" != "X conftest.file $srcdir/configure"; then 2340 2341 # If neither matched, then we have a broken ls. This can happen 2342 # if, for instance, CONFIG_SHELL is bash and it inherits a 2343 # broken ls alias from the environment. This has actually 2344 # happened. Such a system could not be considered "sane". 2345 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2346alias in your environment" "$LINENO" 5 2347 fi 2348 2349 test "$2" = conftest.file 2350 ) 2351then 2352 # Ok. 2353 : 2354else 2355 as_fn_error $? "newly created file is older than distributed files! 2356Check your system clock" "$LINENO" 5 2357fi 2358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2359$as_echo "yes" >&6; } 2360test "$program_prefix" != NONE && 2361 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2362# Use a double $ so make ignores it. 2363test "$program_suffix" != NONE && 2364 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2365# Double any \ or $. 2366# By default was `s,x,x', remove it if useless. 2367ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2368program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2369 2370# expand $ac_aux_dir to an absolute path 2371am_aux_dir=`cd $ac_aux_dir && pwd` 2372 2373if test x"${MISSING+set}" != xset; then 2374 case $am_aux_dir in 2375 *\ * | *\ *) 2376 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2377 *) 2378 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2379 esac 2380fi 2381# Use eval to expand $SHELL 2382if eval "$MISSING --run true"; then 2383 am_missing_run="$MISSING --run " 2384else 2385 am_missing_run= 2386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2387$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2388fi 2389 2390if test x"${install_sh}" != xset; then 2391 case $am_aux_dir in 2392 *\ * | *\ *) 2393 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2394 *) 2395 install_sh="\${SHELL} $am_aux_dir/install-sh" 2396 esac 2397fi 2398 2399# Installed binaries are usually stripped using `strip' when the user 2400# run `make install-strip'. However `strip' might not be the right 2401# tool to use in cross-compilation environments, therefore Automake 2402# will honor the `STRIP' environment variable to overrule this program. 2403if test "$cross_compiling" != no; then 2404 if test -n "$ac_tool_prefix"; then 2405 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2406set dummy ${ac_tool_prefix}strip; ac_word=$2 2407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2408$as_echo_n "checking for $ac_word... " >&6; } 2409if ${ac_cv_prog_STRIP+:} false; then : 2410 $as_echo_n "(cached) " >&6 2411else 2412 if test -n "$STRIP"; then 2413 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2414else 2415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2416for as_dir in $PATH 2417do 2418 IFS=$as_save_IFS 2419 test -z "$as_dir" && as_dir=. 2420 for ac_exec_ext in '' $ac_executable_extensions; do 2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2424 break 2 2425 fi 2426done 2427 done 2428IFS=$as_save_IFS 2429 2430fi 2431fi 2432STRIP=$ac_cv_prog_STRIP 2433if test -n "$STRIP"; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2435$as_echo "$STRIP" >&6; } 2436else 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2438$as_echo "no" >&6; } 2439fi 2440 2441 2442fi 2443if test -z "$ac_cv_prog_STRIP"; then 2444 ac_ct_STRIP=$STRIP 2445 # Extract the first word of "strip", so it can be a program name with args. 2446set dummy strip; ac_word=$2 2447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2448$as_echo_n "checking for $ac_word... " >&6; } 2449if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2450 $as_echo_n "(cached) " >&6 2451else 2452 if test -n "$ac_ct_STRIP"; then 2453 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2454else 2455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2456for as_dir in $PATH 2457do 2458 IFS=$as_save_IFS 2459 test -z "$as_dir" && as_dir=. 2460 for ac_exec_ext in '' $ac_executable_extensions; do 2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2462 ac_cv_prog_ac_ct_STRIP="strip" 2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2464 break 2 2465 fi 2466done 2467 done 2468IFS=$as_save_IFS 2469 2470fi 2471fi 2472ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2473if test -n "$ac_ct_STRIP"; then 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2475$as_echo "$ac_ct_STRIP" >&6; } 2476else 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2478$as_echo "no" >&6; } 2479fi 2480 2481 if test "x$ac_ct_STRIP" = x; then 2482 STRIP=":" 2483 else 2484 case $cross_compiling:$ac_tool_warned in 2485yes:) 2486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2488ac_tool_warned=yes ;; 2489esac 2490 STRIP=$ac_ct_STRIP 2491 fi 2492else 2493 STRIP="$ac_cv_prog_STRIP" 2494fi 2495 2496fi 2497INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2498 2499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2500$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2501if test -z "$MKDIR_P"; then 2502 if ${ac_cv_path_mkdir+:} false; then : 2503 $as_echo_n "(cached) " >&6 2504else 2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2506for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2507do 2508 IFS=$as_save_IFS 2509 test -z "$as_dir" && as_dir=. 2510 for ac_prog in mkdir gmkdir; do 2511 for ac_exec_ext in '' $ac_executable_extensions; do 2512 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2513 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2514 'mkdir (GNU coreutils) '* | \ 2515 'mkdir (coreutils) '* | \ 2516 'mkdir (fileutils) '4.1*) 2517 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2518 break 3;; 2519 esac 2520 done 2521 done 2522 done 2523IFS=$as_save_IFS 2524 2525fi 2526 2527 test -d ./--version && rmdir ./--version 2528 if test "${ac_cv_path_mkdir+set}" = set; then 2529 MKDIR_P="$ac_cv_path_mkdir -p" 2530 else 2531 # As a last resort, use the slow shell script. Don't cache a 2532 # value for MKDIR_P within a source directory, because that will 2533 # break other packages using the cache if that directory is 2534 # removed, or if the value is a relative name. 2535 MKDIR_P="$ac_install_sh -d" 2536 fi 2537fi 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2539$as_echo "$MKDIR_P" >&6; } 2540 2541mkdir_p="$MKDIR_P" 2542case $mkdir_p in 2543 [\\/$]* | ?:[\\/]*) ;; 2544 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2545esac 2546 2547for ac_prog in gawk mawk nawk awk 2548do 2549 # Extract the first word of "$ac_prog", so it can be a program name with args. 2550set dummy $ac_prog; ac_word=$2 2551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2552$as_echo_n "checking for $ac_word... " >&6; } 2553if ${ac_cv_prog_AWK+:} false; then : 2554 $as_echo_n "(cached) " >&6 2555else 2556 if test -n "$AWK"; then 2557 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2558else 2559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2560for as_dir in $PATH 2561do 2562 IFS=$as_save_IFS 2563 test -z "$as_dir" && as_dir=. 2564 for ac_exec_ext in '' $ac_executable_extensions; do 2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2566 ac_cv_prog_AWK="$ac_prog" 2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2568 break 2 2569 fi 2570done 2571 done 2572IFS=$as_save_IFS 2573 2574fi 2575fi 2576AWK=$ac_cv_prog_AWK 2577if test -n "$AWK"; then 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2579$as_echo "$AWK" >&6; } 2580else 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2582$as_echo "no" >&6; } 2583fi 2584 2585 2586 test -n "$AWK" && break 2587done 2588 2589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2590$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2591set x ${MAKE-make} 2592ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2593if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2594 $as_echo_n "(cached) " >&6 2595else 2596 cat >conftest.make <<\_ACEOF 2597SHELL = /bin/sh 2598all: 2599 @echo '@@@%%%=$(MAKE)=@@@%%%' 2600_ACEOF 2601# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2602case `${MAKE-make} -f conftest.make 2>/dev/null` in 2603 *@@@%%%=?*=@@@%%%*) 2604 eval ac_cv_prog_make_${ac_make}_set=yes;; 2605 *) 2606 eval ac_cv_prog_make_${ac_make}_set=no;; 2607esac 2608rm -f conftest.make 2609fi 2610if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2612$as_echo "yes" >&6; } 2613 SET_MAKE= 2614else 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2616$as_echo "no" >&6; } 2617 SET_MAKE="MAKE=${MAKE-make}" 2618fi 2619 2620rm -rf .tst 2>/dev/null 2621mkdir .tst 2>/dev/null 2622if test -d .tst; then 2623 am__leading_dot=. 2624else 2625 am__leading_dot=_ 2626fi 2627rmdir .tst 2>/dev/null 2628 2629if test "`cd $srcdir && pwd`" != "`pwd`"; then 2630 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2631 # is not polluted with repeated "-I." 2632 am__isrc=' -I$(srcdir)' 2633 # test to see if srcdir already configured 2634 if test -f $srcdir/config.status; then 2635 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2636 fi 2637fi 2638 2639# test whether we have cygpath 2640if test -z "$CYGPATH_W"; then 2641 if (cygpath --version) >/dev/null 2>/dev/null; then 2642 CYGPATH_W='cygpath -w' 2643 else 2644 CYGPATH_W=echo 2645 fi 2646fi 2647 2648 2649# Define the identity of the package. 2650 PACKAGE='libXevie' 2651 VERSION='1.0.3' 2652 2653 2654cat >>confdefs.h <<_ACEOF 2655#define PACKAGE "$PACKAGE" 2656_ACEOF 2657 2658 2659cat >>confdefs.h <<_ACEOF 2660#define VERSION "$VERSION" 2661_ACEOF 2662 2663# Some tools Automake needs. 2664 2665ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2666 2667 2668AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2669 2670 2671AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2672 2673 2674AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2675 2676 2677MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2678 2679# We need awk for the "check" target. The system "awk" is bad on 2680# some platforms. 2681# Always define AMTAR for backward compatibility. 2682 2683AMTAR=${AMTAR-"${am_missing_run}tar"} 2684 2685am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2686 2687 2688 2689 2690 2691 2692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2693$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2694 # Check whether --enable-maintainer-mode was given. 2695if test "${enable_maintainer_mode+set}" = set; then : 2696 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2697else 2698 USE_MAINTAINER_MODE=no 2699fi 2700 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2702$as_echo "$USE_MAINTAINER_MODE" >&6; } 2703 if test $USE_MAINTAINER_MODE = yes; then 2704 MAINTAINER_MODE_TRUE= 2705 MAINTAINER_MODE_FALSE='#' 2706else 2707 MAINTAINER_MODE_TRUE='#' 2708 MAINTAINER_MODE_FALSE= 2709fi 2710 2711 MAINT=$MAINTAINER_MODE_TRUE 2712 2713 2714 2715# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727DEPDIR="${am__leading_dot}deps" 2728 2729ac_config_commands="$ac_config_commands depfiles" 2730 2731 2732am_make=${MAKE-make} 2733cat > confinc << 'END' 2734am__doit: 2735 @echo this is the am__doit target 2736.PHONY: am__doit 2737END 2738# If we don't find an include directive, just comment out the code. 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2740$as_echo_n "checking for style of include used by $am_make... " >&6; } 2741am__include="#" 2742am__quote= 2743_am_result=none 2744# First try GNU make style include. 2745echo "include confinc" > confmf 2746# Ignore all kinds of additional output from `make'. 2747case `$am_make -s -f confmf 2> /dev/null` in #( 2748*the\ am__doit\ target*) 2749 am__include=include 2750 am__quote= 2751 _am_result=GNU 2752 ;; 2753esac 2754# Now try BSD make style include. 2755if test "$am__include" = "#"; then 2756 echo '.include "confinc"' > confmf 2757 case `$am_make -s -f confmf 2> /dev/null` in #( 2758 *the\ am__doit\ target*) 2759 am__include=.include 2760 am__quote="\"" 2761 _am_result=BSD 2762 ;; 2763 esac 2764fi 2765 2766 2767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2768$as_echo "$_am_result" >&6; } 2769rm -f confinc confmf 2770 2771# Check whether --enable-dependency-tracking was given. 2772if test "${enable_dependency_tracking+set}" = set; then : 2773 enableval=$enable_dependency_tracking; 2774fi 2775 2776if test "x$enable_dependency_tracking" != xno; then 2777 am_depcomp="$ac_aux_dir/depcomp" 2778 AMDEPBACKSLASH='\' 2779fi 2780 if test "x$enable_dependency_tracking" != xno; then 2781 AMDEP_TRUE= 2782 AMDEP_FALSE='#' 2783else 2784 AMDEP_TRUE='#' 2785 AMDEP_FALSE= 2786fi 2787 2788 2789ac_ext=c 2790ac_cpp='$CPP $CPPFLAGS' 2791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2793ac_compiler_gnu=$ac_cv_c_compiler_gnu 2794if test -n "$ac_tool_prefix"; then 2795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2796set dummy ${ac_tool_prefix}gcc; ac_word=$2 2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2798$as_echo_n "checking for $ac_word... " >&6; } 2799if ${ac_cv_prog_CC+:} false; then : 2800 $as_echo_n "(cached) " >&6 2801else 2802 if test -n "$CC"; then 2803 ac_cv_prog_CC="$CC" # Let the user override the test. 2804else 2805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2806for as_dir in $PATH 2807do 2808 IFS=$as_save_IFS 2809 test -z "$as_dir" && as_dir=. 2810 for ac_exec_ext in '' $ac_executable_extensions; do 2811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2812 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2814 break 2 2815 fi 2816done 2817 done 2818IFS=$as_save_IFS 2819 2820fi 2821fi 2822CC=$ac_cv_prog_CC 2823if test -n "$CC"; then 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2825$as_echo "$CC" >&6; } 2826else 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2828$as_echo "no" >&6; } 2829fi 2830 2831 2832fi 2833if test -z "$ac_cv_prog_CC"; then 2834 ac_ct_CC=$CC 2835 # Extract the first word of "gcc", so it can be a program name with args. 2836set dummy gcc; ac_word=$2 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2838$as_echo_n "checking for $ac_word... " >&6; } 2839if ${ac_cv_prog_ac_ct_CC+:} false; then : 2840 $as_echo_n "(cached) " >&6 2841else 2842 if test -n "$ac_ct_CC"; then 2843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2844else 2845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2846for as_dir in $PATH 2847do 2848 IFS=$as_save_IFS 2849 test -z "$as_dir" && as_dir=. 2850 for ac_exec_ext in '' $ac_executable_extensions; do 2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2852 ac_cv_prog_ac_ct_CC="gcc" 2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2854 break 2 2855 fi 2856done 2857 done 2858IFS=$as_save_IFS 2859 2860fi 2861fi 2862ac_ct_CC=$ac_cv_prog_ac_ct_CC 2863if test -n "$ac_ct_CC"; then 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2865$as_echo "$ac_ct_CC" >&6; } 2866else 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2868$as_echo "no" >&6; } 2869fi 2870 2871 if test "x$ac_ct_CC" = x; then 2872 CC="" 2873 else 2874 case $cross_compiling:$ac_tool_warned in 2875yes:) 2876{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2877$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2878ac_tool_warned=yes ;; 2879esac 2880 CC=$ac_ct_CC 2881 fi 2882else 2883 CC="$ac_cv_prog_CC" 2884fi 2885 2886if test -z "$CC"; then 2887 if test -n "$ac_tool_prefix"; then 2888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2889set dummy ${ac_tool_prefix}cc; ac_word=$2 2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2891$as_echo_n "checking for $ac_word... " >&6; } 2892if ${ac_cv_prog_CC+:} false; then : 2893 $as_echo_n "(cached) " >&6 2894else 2895 if test -n "$CC"; then 2896 ac_cv_prog_CC="$CC" # Let the user override the test. 2897else 2898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2899for as_dir in $PATH 2900do 2901 IFS=$as_save_IFS 2902 test -z "$as_dir" && as_dir=. 2903 for ac_exec_ext in '' $ac_executable_extensions; do 2904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2905 ac_cv_prog_CC="${ac_tool_prefix}cc" 2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2907 break 2 2908 fi 2909done 2910 done 2911IFS=$as_save_IFS 2912 2913fi 2914fi 2915CC=$ac_cv_prog_CC 2916if test -n "$CC"; then 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2918$as_echo "$CC" >&6; } 2919else 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2921$as_echo "no" >&6; } 2922fi 2923 2924 2925 fi 2926fi 2927if test -z "$CC"; then 2928 # Extract the first word of "cc", so it can be a program name with args. 2929set dummy cc; ac_word=$2 2930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2931$as_echo_n "checking for $ac_word... " >&6; } 2932if ${ac_cv_prog_CC+:} false; then : 2933 $as_echo_n "(cached) " >&6 2934else 2935 if test -n "$CC"; then 2936 ac_cv_prog_CC="$CC" # Let the user override the test. 2937else 2938 ac_prog_rejected=no 2939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2940for as_dir in $PATH 2941do 2942 IFS=$as_save_IFS 2943 test -z "$as_dir" && as_dir=. 2944 for ac_exec_ext in '' $ac_executable_extensions; do 2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2947 ac_prog_rejected=yes 2948 continue 2949 fi 2950 ac_cv_prog_CC="cc" 2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2952 break 2 2953 fi 2954done 2955 done 2956IFS=$as_save_IFS 2957 2958if test $ac_prog_rejected = yes; then 2959 # We found a bogon in the path, so make sure we never use it. 2960 set dummy $ac_cv_prog_CC 2961 shift 2962 if test $# != 0; then 2963 # We chose a different compiler from the bogus one. 2964 # However, it has the same basename, so the bogon will be chosen 2965 # first if we set CC to just the basename; use the full file name. 2966 shift 2967 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2968 fi 2969fi 2970fi 2971fi 2972CC=$ac_cv_prog_CC 2973if test -n "$CC"; then 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2975$as_echo "$CC" >&6; } 2976else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2978$as_echo "no" >&6; } 2979fi 2980 2981 2982fi 2983if test -z "$CC"; then 2984 if test -n "$ac_tool_prefix"; then 2985 for ac_prog in cl.exe 2986 do 2987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2988set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2990$as_echo_n "checking for $ac_word... " >&6; } 2991if ${ac_cv_prog_CC+:} false; then : 2992 $as_echo_n "(cached) " >&6 2993else 2994 if test -n "$CC"; then 2995 ac_cv_prog_CC="$CC" # Let the user override the test. 2996else 2997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2998for as_dir in $PATH 2999do 3000 IFS=$as_save_IFS 3001 test -z "$as_dir" && as_dir=. 3002 for ac_exec_ext in '' $ac_executable_extensions; do 3003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3004 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3006 break 2 3007 fi 3008done 3009 done 3010IFS=$as_save_IFS 3011 3012fi 3013fi 3014CC=$ac_cv_prog_CC 3015if test -n "$CC"; then 3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3017$as_echo "$CC" >&6; } 3018else 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3020$as_echo "no" >&6; } 3021fi 3022 3023 3024 test -n "$CC" && break 3025 done 3026fi 3027if test -z "$CC"; then 3028 ac_ct_CC=$CC 3029 for ac_prog in cl.exe 3030do 3031 # Extract the first word of "$ac_prog", so it can be a program name with args. 3032set dummy $ac_prog; ac_word=$2 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034$as_echo_n "checking for $ac_word... " >&6; } 3035if ${ac_cv_prog_ac_ct_CC+:} false; then : 3036 $as_echo_n "(cached) " >&6 3037else 3038 if test -n "$ac_ct_CC"; then 3039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3040else 3041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3042for as_dir in $PATH 3043do 3044 IFS=$as_save_IFS 3045 test -z "$as_dir" && as_dir=. 3046 for ac_exec_ext in '' $ac_executable_extensions; do 3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3048 ac_cv_prog_ac_ct_CC="$ac_prog" 3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3050 break 2 3051 fi 3052done 3053 done 3054IFS=$as_save_IFS 3055 3056fi 3057fi 3058ac_ct_CC=$ac_cv_prog_ac_ct_CC 3059if test -n "$ac_ct_CC"; then 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3061$as_echo "$ac_ct_CC" >&6; } 3062else 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064$as_echo "no" >&6; } 3065fi 3066 3067 3068 test -n "$ac_ct_CC" && break 3069done 3070 3071 if test "x$ac_ct_CC" = x; then 3072 CC="" 3073 else 3074 case $cross_compiling:$ac_tool_warned in 3075yes:) 3076{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3077$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3078ac_tool_warned=yes ;; 3079esac 3080 CC=$ac_ct_CC 3081 fi 3082fi 3083 3084fi 3085 3086 3087test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3089as_fn_error $? "no acceptable C compiler found in \$PATH 3090See \`config.log' for more details" "$LINENO" 5; } 3091 3092# Provide some information about the compiler. 3093$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3094set X $ac_compile 3095ac_compiler=$2 3096for ac_option in --version -v -V -qversion; do 3097 { { ac_try="$ac_compiler $ac_option >&5" 3098case "(($ac_try" in 3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3100 *) ac_try_echo=$ac_try;; 3101esac 3102eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3103$as_echo "$ac_try_echo"; } >&5 3104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3105 ac_status=$? 3106 if test -s conftest.err; then 3107 sed '10a\ 3108... rest of stderr output deleted ... 3109 10q' conftest.err >conftest.er1 3110 cat conftest.er1 >&5 3111 fi 3112 rm -f conftest.er1 conftest.err 3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3114 test $ac_status = 0; } 3115done 3116 3117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3118/* end confdefs.h. */ 3119 3120int 3121main () 3122{ 3123 3124 ; 3125 return 0; 3126} 3127_ACEOF 3128ac_clean_files_save=$ac_clean_files 3129ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3130# Try to create an executable without -o first, disregard a.out. 3131# It will help us diagnose broken compilers, and finding out an intuition 3132# of exeext. 3133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3134$as_echo_n "checking whether the C compiler works... " >&6; } 3135ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3136 3137# The possible output files: 3138ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3139 3140ac_rmfiles= 3141for ac_file in $ac_files 3142do 3143 case $ac_file in 3144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3145 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3146 esac 3147done 3148rm -f $ac_rmfiles 3149 3150if { { ac_try="$ac_link_default" 3151case "(($ac_try" in 3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3153 *) ac_try_echo=$ac_try;; 3154esac 3155eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3156$as_echo "$ac_try_echo"; } >&5 3157 (eval "$ac_link_default") 2>&5 3158 ac_status=$? 3159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3160 test $ac_status = 0; }; then : 3161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3162# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3163# in a Makefile. We should not override ac_cv_exeext if it was cached, 3164# so that the user can short-circuit this test for compilers unknown to 3165# Autoconf. 3166for ac_file in $ac_files '' 3167do 3168 test -f "$ac_file" || continue 3169 case $ac_file in 3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3171 ;; 3172 [ab].out ) 3173 # We found the default executable, but exeext='' is most 3174 # certainly right. 3175 break;; 3176 *.* ) 3177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3178 then :; else 3179 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3180 fi 3181 # We set ac_cv_exeext here because the later test for it is not 3182 # safe: cross compilers may not add the suffix if given an `-o' 3183 # argument, so we may need to know it at that point already. 3184 # Even if this section looks crufty: it has the advantage of 3185 # actually working. 3186 break;; 3187 * ) 3188 break;; 3189 esac 3190done 3191test "$ac_cv_exeext" = no && ac_cv_exeext= 3192 3193else 3194 ac_file='' 3195fi 3196if test -z "$ac_file"; then : 3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3198$as_echo "no" >&6; } 3199$as_echo "$as_me: failed program was:" >&5 3200sed 's/^/| /' conftest.$ac_ext >&5 3201 3202{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3203$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3204as_fn_error 77 "C compiler cannot create executables 3205See \`config.log' for more details" "$LINENO" 5; } 3206else 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3208$as_echo "yes" >&6; } 3209fi 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3211$as_echo_n "checking for C compiler default output file name... " >&6; } 3212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3213$as_echo "$ac_file" >&6; } 3214ac_exeext=$ac_cv_exeext 3215 3216rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3217ac_clean_files=$ac_clean_files_save 3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3219$as_echo_n "checking for suffix of executables... " >&6; } 3220if { { ac_try="$ac_link" 3221case "(($ac_try" in 3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3223 *) ac_try_echo=$ac_try;; 3224esac 3225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3226$as_echo "$ac_try_echo"; } >&5 3227 (eval "$ac_link") 2>&5 3228 ac_status=$? 3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3230 test $ac_status = 0; }; then : 3231 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3232# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3233# work properly (i.e., refer to `conftest.exe'), while it won't with 3234# `rm'. 3235for ac_file in conftest.exe conftest conftest.*; do 3236 test -f "$ac_file" || continue 3237 case $ac_file in 3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3239 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3240 break;; 3241 * ) break;; 3242 esac 3243done 3244else 3245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3247as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3248See \`config.log' for more details" "$LINENO" 5; } 3249fi 3250rm -f conftest conftest$ac_cv_exeext 3251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3252$as_echo "$ac_cv_exeext" >&6; } 3253 3254rm -f conftest.$ac_ext 3255EXEEXT=$ac_cv_exeext 3256ac_exeext=$EXEEXT 3257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3258/* end confdefs.h. */ 3259#include <stdio.h> 3260int 3261main () 3262{ 3263FILE *f = fopen ("conftest.out", "w"); 3264 return ferror (f) || fclose (f) != 0; 3265 3266 ; 3267 return 0; 3268} 3269_ACEOF 3270ac_clean_files="$ac_clean_files conftest.out" 3271# Check that the compiler produces executables we can run. If not, either 3272# the compiler is broken, or we cross compile. 3273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3274$as_echo_n "checking whether we are cross compiling... " >&6; } 3275if test "$cross_compiling" != yes; then 3276 { { ac_try="$ac_link" 3277case "(($ac_try" in 3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3279 *) ac_try_echo=$ac_try;; 3280esac 3281eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3282$as_echo "$ac_try_echo"; } >&5 3283 (eval "$ac_link") 2>&5 3284 ac_status=$? 3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3286 test $ac_status = 0; } 3287 if { ac_try='./conftest$ac_cv_exeext' 3288 { { case "(($ac_try" in 3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3290 *) ac_try_echo=$ac_try;; 3291esac 3292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3293$as_echo "$ac_try_echo"; } >&5 3294 (eval "$ac_try") 2>&5 3295 ac_status=$? 3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3297 test $ac_status = 0; }; }; then 3298 cross_compiling=no 3299 else 3300 if test "$cross_compiling" = maybe; then 3301 cross_compiling=yes 3302 else 3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3305as_fn_error $? "cannot run C compiled programs. 3306If you meant to cross compile, use \`--host'. 3307See \`config.log' for more details" "$LINENO" 5; } 3308 fi 3309 fi 3310fi 3311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3312$as_echo "$cross_compiling" >&6; } 3313 3314rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3315ac_clean_files=$ac_clean_files_save 3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3317$as_echo_n "checking for suffix of object files... " >&6; } 3318if ${ac_cv_objext+:} false; then : 3319 $as_echo_n "(cached) " >&6 3320else 3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3322/* end confdefs.h. */ 3323 3324int 3325main () 3326{ 3327 3328 ; 3329 return 0; 3330} 3331_ACEOF 3332rm -f conftest.o conftest.obj 3333if { { ac_try="$ac_compile" 3334case "(($ac_try" in 3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3336 *) ac_try_echo=$ac_try;; 3337esac 3338eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3339$as_echo "$ac_try_echo"; } >&5 3340 (eval "$ac_compile") 2>&5 3341 ac_status=$? 3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3343 test $ac_status = 0; }; then : 3344 for ac_file in conftest.o conftest.obj conftest.*; do 3345 test -f "$ac_file" || continue; 3346 case $ac_file in 3347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3349 break;; 3350 esac 3351done 3352else 3353 $as_echo "$as_me: failed program was:" >&5 3354sed 's/^/| /' conftest.$ac_ext >&5 3355 3356{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3357$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3358as_fn_error $? "cannot compute suffix of object files: cannot compile 3359See \`config.log' for more details" "$LINENO" 5; } 3360fi 3361rm -f conftest.$ac_cv_objext conftest.$ac_ext 3362fi 3363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3364$as_echo "$ac_cv_objext" >&6; } 3365OBJEXT=$ac_cv_objext 3366ac_objext=$OBJEXT 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3368$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3369if ${ac_cv_c_compiler_gnu+:} false; then : 3370 $as_echo_n "(cached) " >&6 3371else 3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3373/* end confdefs.h. */ 3374 3375int 3376main () 3377{ 3378#ifndef __GNUC__ 3379 choke me 3380#endif 3381 3382 ; 3383 return 0; 3384} 3385_ACEOF 3386if ac_fn_c_try_compile "$LINENO"; then : 3387 ac_compiler_gnu=yes 3388else 3389 ac_compiler_gnu=no 3390fi 3391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3392ac_cv_c_compiler_gnu=$ac_compiler_gnu 3393 3394fi 3395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3396$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3397if test $ac_compiler_gnu = yes; then 3398 GCC=yes 3399else 3400 GCC= 3401fi 3402ac_test_CFLAGS=${CFLAGS+set} 3403ac_save_CFLAGS=$CFLAGS 3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3405$as_echo_n "checking whether $CC accepts -g... " >&6; } 3406if ${ac_cv_prog_cc_g+:} false; then : 3407 $as_echo_n "(cached) " >&6 3408else 3409 ac_save_c_werror_flag=$ac_c_werror_flag 3410 ac_c_werror_flag=yes 3411 ac_cv_prog_cc_g=no 3412 CFLAGS="-g" 3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3414/* end confdefs.h. */ 3415 3416int 3417main () 3418{ 3419 3420 ; 3421 return 0; 3422} 3423_ACEOF 3424if ac_fn_c_try_compile "$LINENO"; then : 3425 ac_cv_prog_cc_g=yes 3426else 3427 CFLAGS="" 3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3429/* end confdefs.h. */ 3430 3431int 3432main () 3433{ 3434 3435 ; 3436 return 0; 3437} 3438_ACEOF 3439if ac_fn_c_try_compile "$LINENO"; then : 3440 3441else 3442 ac_c_werror_flag=$ac_save_c_werror_flag 3443 CFLAGS="-g" 3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3445/* end confdefs.h. */ 3446 3447int 3448main () 3449{ 3450 3451 ; 3452 return 0; 3453} 3454_ACEOF 3455if ac_fn_c_try_compile "$LINENO"; then : 3456 ac_cv_prog_cc_g=yes 3457fi 3458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3459fi 3460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3461fi 3462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3463 ac_c_werror_flag=$ac_save_c_werror_flag 3464fi 3465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3466$as_echo "$ac_cv_prog_cc_g" >&6; } 3467if test "$ac_test_CFLAGS" = set; then 3468 CFLAGS=$ac_save_CFLAGS 3469elif test $ac_cv_prog_cc_g = yes; then 3470 if test "$GCC" = yes; then 3471 CFLAGS="-g -O2" 3472 else 3473 CFLAGS="-g" 3474 fi 3475else 3476 if test "$GCC" = yes; then 3477 CFLAGS="-O2" 3478 else 3479 CFLAGS= 3480 fi 3481fi 3482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3483$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3484if ${ac_cv_prog_cc_c89+:} false; then : 3485 $as_echo_n "(cached) " >&6 3486else 3487 ac_cv_prog_cc_c89=no 3488ac_save_CC=$CC 3489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3490/* end confdefs.h. */ 3491#include <stdarg.h> 3492#include <stdio.h> 3493#include <sys/types.h> 3494#include <sys/stat.h> 3495/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3496struct buf { int x; }; 3497FILE * (*rcsopen) (struct buf *, struct stat *, int); 3498static char *e (p, i) 3499 char **p; 3500 int i; 3501{ 3502 return p[i]; 3503} 3504static char *f (char * (*g) (char **, int), char **p, ...) 3505{ 3506 char *s; 3507 va_list v; 3508 va_start (v,p); 3509 s = g (p, va_arg (v,int)); 3510 va_end (v); 3511 return s; 3512} 3513 3514/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3515 function prototypes and stuff, but not '\xHH' hex character constants. 3516 These don't provoke an error unfortunately, instead are silently treated 3517 as 'x'. The following induces an error, until -std is added to get 3518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3519 array size at least. It's necessary to write '\x00'==0 to get something 3520 that's true only with -std. */ 3521int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3522 3523/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3524 inside strings and character constants. */ 3525#define FOO(x) 'x' 3526int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3527 3528int test (int i, double x); 3529struct s1 {int (*f) (int a);}; 3530struct s2 {int (*f) (double a);}; 3531int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3532int argc; 3533char **argv; 3534int 3535main () 3536{ 3537return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3538 ; 3539 return 0; 3540} 3541_ACEOF 3542for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3543 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3544do 3545 CC="$ac_save_CC $ac_arg" 3546 if ac_fn_c_try_compile "$LINENO"; then : 3547 ac_cv_prog_cc_c89=$ac_arg 3548fi 3549rm -f core conftest.err conftest.$ac_objext 3550 test "x$ac_cv_prog_cc_c89" != "xno" && break 3551done 3552rm -f conftest.$ac_ext 3553CC=$ac_save_CC 3554 3555fi 3556# AC_CACHE_VAL 3557case "x$ac_cv_prog_cc_c89" in 3558 x) 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3560$as_echo "none needed" >&6; } ;; 3561 xno) 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3563$as_echo "unsupported" >&6; } ;; 3564 *) 3565 CC="$CC $ac_cv_prog_cc_c89" 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3567$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3568esac 3569if test "x$ac_cv_prog_cc_c89" != xno; then : 3570 3571fi 3572 3573ac_ext=c 3574ac_cpp='$CPP $CPPFLAGS' 3575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3577ac_compiler_gnu=$ac_cv_c_compiler_gnu 3578 3579depcc="$CC" am_compiler_list= 3580 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3582$as_echo_n "checking dependency style of $depcc... " >&6; } 3583if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3584 $as_echo_n "(cached) " >&6 3585else 3586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3587 # We make a subdir and do the tests there. Otherwise we can end up 3588 # making bogus files that we don't know about and never remove. For 3589 # instance it was reported that on HP-UX the gcc test will end up 3590 # making a dummy file named `D' -- because `-MD' means `put the output 3591 # in D'. 3592 mkdir conftest.dir 3593 # Copy depcomp to subdir because otherwise we won't find it if we're 3594 # using a relative directory. 3595 cp "$am_depcomp" conftest.dir 3596 cd conftest.dir 3597 # We will build objects and dependencies in a subdirectory because 3598 # it helps to detect inapplicable dependency modes. For instance 3599 # both Tru64's cc and ICC support -MD to output dependencies as a 3600 # side effect of compilation, but ICC will put the dependencies in 3601 # the current directory while Tru64 will put them in the object 3602 # directory. 3603 mkdir sub 3604 3605 am_cv_CC_dependencies_compiler_type=none 3606 if test "$am_compiler_list" = ""; then 3607 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3608 fi 3609 am__universal=false 3610 case " $depcc " in #( 3611 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3612 esac 3613 3614 for depmode in $am_compiler_list; do 3615 # Setup a source with many dependencies, because some compilers 3616 # like to wrap large dependency lists on column 80 (with \), and 3617 # we should not choose a depcomp mode which is confused by this. 3618 # 3619 # We need to recreate these files for each test, as the compiler may 3620 # overwrite some of them when testing with obscure command lines. 3621 # This happens at least with the AIX C compiler. 3622 : > sub/conftest.c 3623 for i in 1 2 3 4 5 6; do 3624 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3626 # Solaris 8's {/usr,}/bin/sh. 3627 touch sub/conftst$i.h 3628 done 3629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3630 3631 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3632 # mode. It turns out that the SunPro C++ compiler does not properly 3633 # handle `-M -o', and we need to detect this. Also, some Intel 3634 # versions had trouble with output in subdirs 3635 am__obj=sub/conftest.${OBJEXT-o} 3636 am__minus_obj="-o $am__obj" 3637 case $depmode in 3638 gcc) 3639 # This depmode causes a compiler race in universal mode. 3640 test "$am__universal" = false || continue 3641 ;; 3642 nosideeffect) 3643 # after this tag, mechanisms are not by side-effect, so they'll 3644 # only be used when explicitly requested 3645 if test "x$enable_dependency_tracking" = xyes; then 3646 continue 3647 else 3648 break 3649 fi 3650 ;; 3651 msvisualcpp | msvcmsys) 3652 # This compiler won't grok `-c -o', but also, the minuso test has 3653 # not run yet. These depmodes are late enough in the game, and 3654 # so weak that their functioning should not be impacted. 3655 am__obj=conftest.${OBJEXT-o} 3656 am__minus_obj= 3657 ;; 3658 none) break ;; 3659 esac 3660 if depmode=$depmode \ 3661 source=sub/conftest.c object=$am__obj \ 3662 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3663 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3664 >/dev/null 2>conftest.err && 3665 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3666 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3667 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3668 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3669 # icc doesn't choke on unknown options, it will just issue warnings 3670 # or remarks (even with -Werror). So we grep stderr for any message 3671 # that says an option was ignored or not supported. 3672 # When given -MP, icc 7.0 and 7.1 complain thusly: 3673 # icc: Command line warning: ignoring option '-M'; no argument required 3674 # The diagnosis changed in icc 8.0: 3675 # icc: Command line remark: option '-MP' not supported 3676 if (grep 'ignoring option' conftest.err || 3677 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3678 am_cv_CC_dependencies_compiler_type=$depmode 3679 break 3680 fi 3681 fi 3682 done 3683 3684 cd .. 3685 rm -rf conftest.dir 3686else 3687 am_cv_CC_dependencies_compiler_type=none 3688fi 3689 3690fi 3691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3692$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3693CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3694 3695 if 3696 test "x$enable_dependency_tracking" != xno \ 3697 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3698 am__fastdepCC_TRUE= 3699 am__fastdepCC_FALSE='#' 3700else 3701 am__fastdepCC_TRUE='#' 3702 am__fastdepCC_FALSE= 3703fi 3704 3705 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3707$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3708if ${ac_cv_prog_cc_c99+:} false; then : 3709 $as_echo_n "(cached) " >&6 3710else 3711 ac_cv_prog_cc_c99=no 3712ac_save_CC=$CC 3713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3714/* end confdefs.h. */ 3715#include <stdarg.h> 3716#include <stdbool.h> 3717#include <stdlib.h> 3718#include <wchar.h> 3719#include <stdio.h> 3720 3721// Check varargs macros. These examples are taken from C99 6.10.3.5. 3722#define debug(...) fprintf (stderr, __VA_ARGS__) 3723#define showlist(...) puts (#__VA_ARGS__) 3724#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3725static void 3726test_varargs_macros (void) 3727{ 3728 int x = 1234; 3729 int y = 5678; 3730 debug ("Flag"); 3731 debug ("X = %d\n", x); 3732 showlist (The first, second, and third items.); 3733 report (x>y, "x is %d but y is %d", x, y); 3734} 3735 3736// Check long long types. 3737#define BIG64 18446744073709551615ull 3738#define BIG32 4294967295ul 3739#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3740#if !BIG_OK 3741 your preprocessor is broken; 3742#endif 3743#if BIG_OK 3744#else 3745 your preprocessor is broken; 3746#endif 3747static long long int bignum = -9223372036854775807LL; 3748static unsigned long long int ubignum = BIG64; 3749 3750struct incomplete_array 3751{ 3752 int datasize; 3753 double data[]; 3754}; 3755 3756struct named_init { 3757 int number; 3758 const wchar_t *name; 3759 double average; 3760}; 3761 3762typedef const char *ccp; 3763 3764static inline int 3765test_restrict (ccp restrict text) 3766{ 3767 // See if C++-style comments work. 3768 // Iterate through items via the restricted pointer. 3769 // Also check for declarations in for loops. 3770 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3771 continue; 3772 return 0; 3773} 3774 3775// Check varargs and va_copy. 3776static void 3777test_varargs (const char *format, ...) 3778{ 3779 va_list args; 3780 va_start (args, format); 3781 va_list args_copy; 3782 va_copy (args_copy, args); 3783 3784 const char *str; 3785 int number; 3786 float fnumber; 3787 3788 while (*format) 3789 { 3790 switch (*format++) 3791 { 3792 case 's': // string 3793 str = va_arg (args_copy, const char *); 3794 break; 3795 case 'd': // int 3796 number = va_arg (args_copy, int); 3797 break; 3798 case 'f': // float 3799 fnumber = va_arg (args_copy, double); 3800 break; 3801 default: 3802 break; 3803 } 3804 } 3805 va_end (args_copy); 3806 va_end (args); 3807} 3808 3809int 3810main () 3811{ 3812 3813 // Check bool. 3814 _Bool success = false; 3815 3816 // Check restrict. 3817 if (test_restrict ("String literal") == 0) 3818 success = true; 3819 char *restrict newvar = "Another string"; 3820 3821 // Check varargs. 3822 test_varargs ("s, d' f .", "string", 65, 34.234); 3823 test_varargs_macros (); 3824 3825 // Check flexible array members. 3826 struct incomplete_array *ia = 3827 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3828 ia->datasize = 10; 3829 for (int i = 0; i < ia->datasize; ++i) 3830 ia->data[i] = i * 1.234; 3831 3832 // Check named initializers. 3833 struct named_init ni = { 3834 .number = 34, 3835 .name = L"Test wide string", 3836 .average = 543.34343, 3837 }; 3838 3839 ni.number = 58; 3840 3841 int dynamic_array[ni.number]; 3842 dynamic_array[ni.number - 1] = 543; 3843 3844 // work around unused variable warnings 3845 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3846 || dynamic_array[ni.number - 1] != 543); 3847 3848 ; 3849 return 0; 3850} 3851_ACEOF 3852for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3853do 3854 CC="$ac_save_CC $ac_arg" 3855 if ac_fn_c_try_compile "$LINENO"; then : 3856 ac_cv_prog_cc_c99=$ac_arg 3857fi 3858rm -f core conftest.err conftest.$ac_objext 3859 test "x$ac_cv_prog_cc_c99" != "xno" && break 3860done 3861rm -f conftest.$ac_ext 3862CC=$ac_save_CC 3863 3864fi 3865# AC_CACHE_VAL 3866case "x$ac_cv_prog_cc_c99" in 3867 x) 3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3869$as_echo "none needed" >&6; } ;; 3870 xno) 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3872$as_echo "unsupported" >&6; } ;; 3873 *) 3874 CC="$CC $ac_cv_prog_cc_c99" 3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3876$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3877esac 3878if test "x$ac_cv_prog_cc_c99" != xno; then : 3879 3880fi 3881 3882 3883 3884ac_ext=c 3885ac_cpp='$CPP $CPPFLAGS' 3886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3888ac_compiler_gnu=$ac_cv_c_compiler_gnu 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3890$as_echo_n "checking how to run the C preprocessor... " >&6; } 3891# On Suns, sometimes $CPP names a directory. 3892if test -n "$CPP" && test -d "$CPP"; then 3893 CPP= 3894fi 3895if test -z "$CPP"; then 3896 if ${ac_cv_prog_CPP+:} false; then : 3897 $as_echo_n "(cached) " >&6 3898else 3899 # Double quotes because CPP needs to be expanded 3900 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3901 do 3902 ac_preproc_ok=false 3903for ac_c_preproc_warn_flag in '' yes 3904do 3905 # Use a header file that comes with gcc, so configuring glibc 3906 # with a fresh cross-compiler works. 3907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3908 # <limits.h> exists even on freestanding compilers. 3909 # On the NeXT, cc -E runs the code through the compiler's parser, 3910 # not just through cpp. "Syntax error" is here to catch this case. 3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3912/* end confdefs.h. */ 3913#ifdef __STDC__ 3914# include <limits.h> 3915#else 3916# include <assert.h> 3917#endif 3918 Syntax error 3919_ACEOF 3920if ac_fn_c_try_cpp "$LINENO"; then : 3921 3922else 3923 # Broken: fails on valid input. 3924continue 3925fi 3926rm -f conftest.err conftest.i conftest.$ac_ext 3927 3928 # OK, works on sane cases. Now check whether nonexistent headers 3929 # can be detected and how. 3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3931/* end confdefs.h. */ 3932#include <ac_nonexistent.h> 3933_ACEOF 3934if ac_fn_c_try_cpp "$LINENO"; then : 3935 # Broken: success on invalid input. 3936continue 3937else 3938 # Passes both tests. 3939ac_preproc_ok=: 3940break 3941fi 3942rm -f conftest.err conftest.i conftest.$ac_ext 3943 3944done 3945# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3946rm -f conftest.i conftest.err conftest.$ac_ext 3947if $ac_preproc_ok; then : 3948 break 3949fi 3950 3951 done 3952 ac_cv_prog_CPP=$CPP 3953 3954fi 3955 CPP=$ac_cv_prog_CPP 3956else 3957 ac_cv_prog_CPP=$CPP 3958fi 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3960$as_echo "$CPP" >&6; } 3961ac_preproc_ok=false 3962for ac_c_preproc_warn_flag in '' yes 3963do 3964 # Use a header file that comes with gcc, so configuring glibc 3965 # with a fresh cross-compiler works. 3966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3967 # <limits.h> exists even on freestanding compilers. 3968 # On the NeXT, cc -E runs the code through the compiler's parser, 3969 # not just through cpp. "Syntax error" is here to catch this case. 3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3971/* end confdefs.h. */ 3972#ifdef __STDC__ 3973# include <limits.h> 3974#else 3975# include <assert.h> 3976#endif 3977 Syntax error 3978_ACEOF 3979if ac_fn_c_try_cpp "$LINENO"; then : 3980 3981else 3982 # Broken: fails on valid input. 3983continue 3984fi 3985rm -f conftest.err conftest.i conftest.$ac_ext 3986 3987 # OK, works on sane cases. Now check whether nonexistent headers 3988 # can be detected and how. 3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3990/* end confdefs.h. */ 3991#include <ac_nonexistent.h> 3992_ACEOF 3993if ac_fn_c_try_cpp "$LINENO"; then : 3994 # Broken: success on invalid input. 3995continue 3996else 3997 # Passes both tests. 3998ac_preproc_ok=: 3999break 4000fi 4001rm -f conftest.err conftest.i conftest.$ac_ext 4002 4003done 4004# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4005rm -f conftest.i conftest.err conftest.$ac_ext 4006if $ac_preproc_ok; then : 4007 4008else 4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4011as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4012See \`config.log' for more details" "$LINENO" 5; } 4013fi 4014 4015ac_ext=c 4016ac_cpp='$CPP $CPPFLAGS' 4017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4019ac_compiler_gnu=$ac_cv_c_compiler_gnu 4020 4021 4022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4023$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4024if ${ac_cv_path_GREP+:} false; then : 4025 $as_echo_n "(cached) " >&6 4026else 4027 if test -z "$GREP"; then 4028 ac_path_GREP_found=false 4029 # Loop through the user's path and test for each of PROGNAME-LIST 4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4031for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4032do 4033 IFS=$as_save_IFS 4034 test -z "$as_dir" && as_dir=. 4035 for ac_prog in grep ggrep; do 4036 for ac_exec_ext in '' $ac_executable_extensions; do 4037 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4038 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4039# Check for GNU ac_path_GREP and select it if it is found. 4040 # Check for GNU $ac_path_GREP 4041case `"$ac_path_GREP" --version 2>&1` in 4042*GNU*) 4043 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4044*) 4045 ac_count=0 4046 $as_echo_n 0123456789 >"conftest.in" 4047 while : 4048 do 4049 cat "conftest.in" "conftest.in" >"conftest.tmp" 4050 mv "conftest.tmp" "conftest.in" 4051 cp "conftest.in" "conftest.nl" 4052 $as_echo 'GREP' >> "conftest.nl" 4053 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4055 as_fn_arith $ac_count + 1 && ac_count=$as_val 4056 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4057 # Best one so far, save it but keep looking for a better one 4058 ac_cv_path_GREP="$ac_path_GREP" 4059 ac_path_GREP_max=$ac_count 4060 fi 4061 # 10*(2^10) chars as input seems more than enough 4062 test $ac_count -gt 10 && break 4063 done 4064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4065esac 4066 4067 $ac_path_GREP_found && break 3 4068 done 4069 done 4070 done 4071IFS=$as_save_IFS 4072 if test -z "$ac_cv_path_GREP"; then 4073 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4074 fi 4075else 4076 ac_cv_path_GREP=$GREP 4077fi 4078 4079fi 4080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4081$as_echo "$ac_cv_path_GREP" >&6; } 4082 GREP="$ac_cv_path_GREP" 4083 4084 4085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4086$as_echo_n "checking for egrep... " >&6; } 4087if ${ac_cv_path_EGREP+:} false; then : 4088 $as_echo_n "(cached) " >&6 4089else 4090 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4091 then ac_cv_path_EGREP="$GREP -E" 4092 else 4093 if test -z "$EGREP"; then 4094 ac_path_EGREP_found=false 4095 # Loop through the user's path and test for each of PROGNAME-LIST 4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4097for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4098do 4099 IFS=$as_save_IFS 4100 test -z "$as_dir" && as_dir=. 4101 for ac_prog in egrep; do 4102 for ac_exec_ext in '' $ac_executable_extensions; do 4103 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4104 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4105# Check for GNU ac_path_EGREP and select it if it is found. 4106 # Check for GNU $ac_path_EGREP 4107case `"$ac_path_EGREP" --version 2>&1` in 4108*GNU*) 4109 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4110*) 4111 ac_count=0 4112 $as_echo_n 0123456789 >"conftest.in" 4113 while : 4114 do 4115 cat "conftest.in" "conftest.in" >"conftest.tmp" 4116 mv "conftest.tmp" "conftest.in" 4117 cp "conftest.in" "conftest.nl" 4118 $as_echo 'EGREP' >> "conftest.nl" 4119 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4120 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4121 as_fn_arith $ac_count + 1 && ac_count=$as_val 4122 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4123 # Best one so far, save it but keep looking for a better one 4124 ac_cv_path_EGREP="$ac_path_EGREP" 4125 ac_path_EGREP_max=$ac_count 4126 fi 4127 # 10*(2^10) chars as input seems more than enough 4128 test $ac_count -gt 10 && break 4129 done 4130 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4131esac 4132 4133 $ac_path_EGREP_found && break 3 4134 done 4135 done 4136 done 4137IFS=$as_save_IFS 4138 if test -z "$ac_cv_path_EGREP"; then 4139 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4140 fi 4141else 4142 ac_cv_path_EGREP=$EGREP 4143fi 4144 4145 fi 4146fi 4147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4148$as_echo "$ac_cv_path_EGREP" >&6; } 4149 EGREP="$ac_cv_path_EGREP" 4150 4151 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4153$as_echo_n "checking for ANSI C header files... " >&6; } 4154if ${ac_cv_header_stdc+:} false; then : 4155 $as_echo_n "(cached) " >&6 4156else 4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4158/* end confdefs.h. */ 4159#include <stdlib.h> 4160#include <stdarg.h> 4161#include <string.h> 4162#include <float.h> 4163 4164int 4165main () 4166{ 4167 4168 ; 4169 return 0; 4170} 4171_ACEOF 4172if ac_fn_c_try_compile "$LINENO"; then : 4173 ac_cv_header_stdc=yes 4174else 4175 ac_cv_header_stdc=no 4176fi 4177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4178 4179if test $ac_cv_header_stdc = yes; then 4180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4182/* end confdefs.h. */ 4183#include <string.h> 4184 4185_ACEOF 4186if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4187 $EGREP "memchr" >/dev/null 2>&1; then : 4188 4189else 4190 ac_cv_header_stdc=no 4191fi 4192rm -f conftest* 4193 4194fi 4195 4196if test $ac_cv_header_stdc = yes; then 4197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4199/* end confdefs.h. */ 4200#include <stdlib.h> 4201 4202_ACEOF 4203if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4204 $EGREP "free" >/dev/null 2>&1; then : 4205 4206else 4207 ac_cv_header_stdc=no 4208fi 4209rm -f conftest* 4210 4211fi 4212 4213if test $ac_cv_header_stdc = yes; then 4214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4215 if test "$cross_compiling" = yes; then : 4216 : 4217else 4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4219/* end confdefs.h. */ 4220#include <ctype.h> 4221#include <stdlib.h> 4222#if ((' ' & 0x0FF) == 0x020) 4223# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4224# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4225#else 4226# define ISLOWER(c) \ 4227 (('a' <= (c) && (c) <= 'i') \ 4228 || ('j' <= (c) && (c) <= 'r') \ 4229 || ('s' <= (c) && (c) <= 'z')) 4230# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4231#endif 4232 4233#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4234int 4235main () 4236{ 4237 int i; 4238 for (i = 0; i < 256; i++) 4239 if (XOR (islower (i), ISLOWER (i)) 4240 || toupper (i) != TOUPPER (i)) 4241 return 2; 4242 return 0; 4243} 4244_ACEOF 4245if ac_fn_c_try_run "$LINENO"; then : 4246 4247else 4248 ac_cv_header_stdc=no 4249fi 4250rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4251 conftest.$ac_objext conftest.beam conftest.$ac_ext 4252fi 4253 4254fi 4255fi 4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4257$as_echo "$ac_cv_header_stdc" >&6; } 4258if test $ac_cv_header_stdc = yes; then 4259 4260$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4261 4262fi 4263 4264# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4265for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4266 inttypes.h stdint.h unistd.h 4267do : 4268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4269ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4270" 4271if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4272 cat >>confdefs.h <<_ACEOF 4273#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4274_ACEOF 4275 4276fi 4277 4278done 4279 4280 4281 4282 4283if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4284 if test -n "$ac_tool_prefix"; then 4285 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4286set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4288$as_echo_n "checking for $ac_word... " >&6; } 4289if ${ac_cv_path_PKG_CONFIG+:} false; then : 4290 $as_echo_n "(cached) " >&6 4291else 4292 case $PKG_CONFIG in 4293 [\\/]* | ?:[\\/]*) 4294 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4295 ;; 4296 *) 4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4298for as_dir in $PATH 4299do 4300 IFS=$as_save_IFS 4301 test -z "$as_dir" && as_dir=. 4302 for ac_exec_ext in '' $ac_executable_extensions; do 4303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4304 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4306 break 2 4307 fi 4308done 4309 done 4310IFS=$as_save_IFS 4311 4312 ;; 4313esac 4314fi 4315PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4316if test -n "$PKG_CONFIG"; then 4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4318$as_echo "$PKG_CONFIG" >&6; } 4319else 4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4321$as_echo "no" >&6; } 4322fi 4323 4324 4325fi 4326if test -z "$ac_cv_path_PKG_CONFIG"; then 4327 ac_pt_PKG_CONFIG=$PKG_CONFIG 4328 # Extract the first word of "pkg-config", so it can be a program name with args. 4329set dummy pkg-config; ac_word=$2 4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4331$as_echo_n "checking for $ac_word... " >&6; } 4332if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4333 $as_echo_n "(cached) " >&6 4334else 4335 case $ac_pt_PKG_CONFIG in 4336 [\\/]* | ?:[\\/]*) 4337 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4338 ;; 4339 *) 4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4341for as_dir in $PATH 4342do 4343 IFS=$as_save_IFS 4344 test -z "$as_dir" && as_dir=. 4345 for ac_exec_ext in '' $ac_executable_extensions; do 4346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4347 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4349 break 2 4350 fi 4351done 4352 done 4353IFS=$as_save_IFS 4354 4355 ;; 4356esac 4357fi 4358ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4359if test -n "$ac_pt_PKG_CONFIG"; then 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4361$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4362else 4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4364$as_echo "no" >&6; } 4365fi 4366 4367 if test "x$ac_pt_PKG_CONFIG" = x; then 4368 PKG_CONFIG="" 4369 else 4370 case $cross_compiling:$ac_tool_warned in 4371yes:) 4372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4374ac_tool_warned=yes ;; 4375esac 4376 PKG_CONFIG=$ac_pt_PKG_CONFIG 4377 fi 4378else 4379 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4380fi 4381 4382fi 4383if test -n "$PKG_CONFIG"; then 4384 _pkg_min_version=0.9.0 4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4386$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4387 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4389$as_echo "yes" >&6; } 4390 else 4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4392$as_echo "no" >&6; } 4393 PKG_CONFIG="" 4394 fi 4395 4396fi 4397# Make sure we can run config.sub. 4398$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4399 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4400 4401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4402$as_echo_n "checking build system type... " >&6; } 4403if ${ac_cv_build+:} false; then : 4404 $as_echo_n "(cached) " >&6 4405else 4406 ac_build_alias=$build_alias 4407test "x$ac_build_alias" = x && 4408 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4409test "x$ac_build_alias" = x && 4410 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4411ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4412 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4413 4414fi 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4416$as_echo "$ac_cv_build" >&6; } 4417case $ac_cv_build in 4418*-*-*) ;; 4419*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4420esac 4421build=$ac_cv_build 4422ac_save_IFS=$IFS; IFS='-' 4423set x $ac_cv_build 4424shift 4425build_cpu=$1 4426build_vendor=$2 4427shift; shift 4428# Remember, the first character of IFS is used to create $*, 4429# except with old shells: 4430build_os=$* 4431IFS=$ac_save_IFS 4432case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4433 4434 4435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4436$as_echo_n "checking host system type... " >&6; } 4437if ${ac_cv_host+:} false; then : 4438 $as_echo_n "(cached) " >&6 4439else 4440 if test "x$host_alias" = x; then 4441 ac_cv_host=$ac_cv_build 4442else 4443 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4444 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4445fi 4446 4447fi 4448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4449$as_echo "$ac_cv_host" >&6; } 4450case $ac_cv_host in 4451*-*-*) ;; 4452*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4453esac 4454host=$ac_cv_host 4455ac_save_IFS=$IFS; IFS='-' 4456set x $ac_cv_host 4457shift 4458host_cpu=$1 4459host_vendor=$2 4460shift; shift 4461# Remember, the first character of IFS is used to create $*, 4462# except with old shells: 4463host_os=$* 4464IFS=$ac_save_IFS 4465case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4466 4467 4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4469$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4470if ${ac_cv_path_SED+:} false; then : 4471 $as_echo_n "(cached) " >&6 4472else 4473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4474 for ac_i in 1 2 3 4 5 6 7; do 4475 ac_script="$ac_script$as_nl$ac_script" 4476 done 4477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4478 { ac_script=; unset ac_script;} 4479 if test -z "$SED"; then 4480 ac_path_SED_found=false 4481 # Loop through the user's path and test for each of PROGNAME-LIST 4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4483for as_dir in $PATH 4484do 4485 IFS=$as_save_IFS 4486 test -z "$as_dir" && as_dir=. 4487 for ac_prog in sed gsed; do 4488 for ac_exec_ext in '' $ac_executable_extensions; do 4489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4491# Check for GNU ac_path_SED and select it if it is found. 4492 # Check for GNU $ac_path_SED 4493case `"$ac_path_SED" --version 2>&1` in 4494*GNU*) 4495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4496*) 4497 ac_count=0 4498 $as_echo_n 0123456789 >"conftest.in" 4499 while : 4500 do 4501 cat "conftest.in" "conftest.in" >"conftest.tmp" 4502 mv "conftest.tmp" "conftest.in" 4503 cp "conftest.in" "conftest.nl" 4504 $as_echo '' >> "conftest.nl" 4505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4507 as_fn_arith $ac_count + 1 && ac_count=$as_val 4508 if test $ac_count -gt ${ac_path_SED_max-0}; then 4509 # Best one so far, save it but keep looking for a better one 4510 ac_cv_path_SED="$ac_path_SED" 4511 ac_path_SED_max=$ac_count 4512 fi 4513 # 10*(2^10) chars as input seems more than enough 4514 test $ac_count -gt 10 && break 4515 done 4516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4517esac 4518 4519 $ac_path_SED_found && break 3 4520 done 4521 done 4522 done 4523IFS=$as_save_IFS 4524 if test -z "$ac_cv_path_SED"; then 4525 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4526 fi 4527else 4528 ac_cv_path_SED=$SED 4529fi 4530 4531fi 4532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4533$as_echo "$ac_cv_path_SED" >&6; } 4534 SED="$ac_cv_path_SED" 4535 rm -f conftest.sed 4536 4537 4538 4539 4540 4541if test "x$GCC" = xyes ; then 4542 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4543-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4544-Wbad-function-cast -Wformat=2" 4545 case `$CC -dumpversion` in 4546 3.4.* | 4.*) 4547 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4548 ;; 4549 esac 4550else 4551 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4552if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4553 SUNCC="yes" 4554else 4555 SUNCC="no" 4556fi 4557 4558 if test "x$SUNCC" = "xyes"; then 4559 CWARNFLAGS="-v" 4560 fi 4561fi 4562 4563 4564 4565# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4566 4567 4568 4569# Check whether --enable-strict-compilation was given. 4570if test "${enable_strict_compilation+set}" = set; then : 4571 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4572else 4573 STRICT_COMPILE=no 4574fi 4575 4576if test "x$STRICT_COMPILE" = "xyes"; then 4577 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4578if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4579 SUNCC="yes" 4580else 4581 SUNCC="no" 4582fi 4583 4584 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4585if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4586 INTELCC="yes" 4587else 4588 INTELCC="no" 4589fi 4590 4591 if test "x$GCC" = xyes ; then 4592 STRICT_CFLAGS="-pedantic -Werror" 4593 elif test "x$SUNCC" = "xyes"; then 4594 STRICT_CFLAGS="-errwarn" 4595 elif test "x$INTELCC" = "xyes"; then 4596 STRICT_CFLAGS="-Werror" 4597 fi 4598fi 4599CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4600 4601 4602 4603 4604cat >>confdefs.h <<_ACEOF 4605#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4606_ACEOF 4607 4608 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4609 if test "x$PVM" = "x"; then 4610 PVM="0" 4611 fi 4612 4613cat >>confdefs.h <<_ACEOF 4614#define PACKAGE_VERSION_MINOR $PVM 4615_ACEOF 4616 4617 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4618 if test "x$PVP" = "x"; then 4619 PVP="0" 4620 fi 4621 4622cat >>confdefs.h <<_ACEOF 4623#define PACKAGE_VERSION_PATCHLEVEL $PVP 4624_ACEOF 4625 4626 4627 4628CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4629mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4630|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4631echo 'git directory not found: installing possibly empty changelog.' >&2)" 4632 4633 4634 4635 4636macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4637INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4638mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4639|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4640echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4641 4642 4643 4644 4645 4646 4647if test x$APP_MAN_SUFFIX = x ; then 4648 APP_MAN_SUFFIX=1 4649fi 4650if test x$APP_MAN_DIR = x ; then 4651 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4652fi 4653 4654if test x$LIB_MAN_SUFFIX = x ; then 4655 LIB_MAN_SUFFIX=3 4656fi 4657if test x$LIB_MAN_DIR = x ; then 4658 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4659fi 4660 4661if test x$FILE_MAN_SUFFIX = x ; then 4662 case $host_os in 4663 solaris*) FILE_MAN_SUFFIX=4 ;; 4664 *) FILE_MAN_SUFFIX=5 ;; 4665 esac 4666fi 4667if test x$FILE_MAN_DIR = x ; then 4668 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4669fi 4670 4671if test x$MISC_MAN_SUFFIX = x ; then 4672 case $host_os in 4673 solaris*) MISC_MAN_SUFFIX=5 ;; 4674 *) MISC_MAN_SUFFIX=7 ;; 4675 esac 4676fi 4677if test x$MISC_MAN_DIR = x ; then 4678 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4679fi 4680 4681if test x$DRIVER_MAN_SUFFIX = x ; then 4682 case $host_os in 4683 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4684 *) DRIVER_MAN_SUFFIX=4 ;; 4685 esac 4686fi 4687if test x$DRIVER_MAN_DIR = x ; then 4688 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4689fi 4690 4691if test x$ADMIN_MAN_SUFFIX = x ; then 4692 case $host_os in 4693 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4694 *) ADMIN_MAN_SUFFIX=8 ;; 4695 esac 4696fi 4697if test x$ADMIN_MAN_DIR = x ; then 4698 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4699fi 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715XORG_MAN_PAGE="X Version 11" 4716 4717MAN_SUBSTS="\ 4718 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4719 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4720 -e 's|__xservername__|Xorg|g' \ 4721 -e 's|__xconfigfile__|xorg.conf|g' \ 4722 -e 's|__projectroot__|\$(prefix)|g' \ 4723 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4724 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4725 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4726 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4727 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4728 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4729 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4730 4731 4732 4733# Check whether --enable-silent-rules was given. 4734if test "${enable_silent_rules+set}" = set; then : 4735 enableval=$enable_silent_rules; 4736fi 4737 4738case $enable_silent_rules in 4739yes) AM_DEFAULT_VERBOSITY=0;; 4740no) AM_DEFAULT_VERBOSITY=1;; 4741*) AM_DEFAULT_VERBOSITY=0;; 4742esac 4743AM_BACKSLASH='\' 4744 4745 4746ac_config_headers="$ac_config_headers config.h" 4747 4748 4749# Check for progs 4750case `pwd` in 4751 *\ * | *\ *) 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4753$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4754esac 4755 4756 4757 4758macro_version='2.2.10' 4759macro_revision='1.3175' 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773ltmain="$ac_aux_dir/ltmain.sh" 4774 4775# Backslashify metacharacters that are still active within 4776# double-quoted strings. 4777sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4778 4779# Same as above, but do not quote variable references. 4780double_quote_subst='s/\(["`\\]\)/\\\1/g' 4781 4782# Sed substitution to delay expansion of an escaped shell variable in a 4783# double_quote_subst'ed string. 4784delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4785 4786# Sed substitution to delay expansion of an escaped single quote. 4787delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4788 4789# Sed substitution to avoid accidental globbing in evaled expressions 4790no_glob_subst='s/\*/\\\*/g' 4791 4792ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4793ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4794ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4795 4796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4797$as_echo_n "checking how to print strings... " >&6; } 4798# Test print first, because it will be a builtin if present. 4799if test "X`print -r -- -n 2>/dev/null`" = X-n && \ 4800 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4801 ECHO='print -r --' 4802elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4803 ECHO='printf %s\n' 4804else 4805 # Use this function as a fallback that always works. 4806 func_fallback_echo () 4807 { 4808 eval 'cat <<_LTECHO_EOF 4809$1 4810_LTECHO_EOF' 4811 } 4812 ECHO='func_fallback_echo' 4813fi 4814 4815# func_echo_all arg... 4816# Invoke $ECHO with all args, space-separated. 4817func_echo_all () 4818{ 4819 $ECHO "" 4820} 4821 4822case "$ECHO" in 4823 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4824$as_echo "printf" >&6; } ;; 4825 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4826$as_echo "print -r" >&6; } ;; 4827 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4828$as_echo "cat" >&6; } ;; 4829esac 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4845$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4846if ${ac_cv_path_SED+:} false; then : 4847 $as_echo_n "(cached) " >&6 4848else 4849 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4850 for ac_i in 1 2 3 4 5 6 7; do 4851 ac_script="$ac_script$as_nl$ac_script" 4852 done 4853 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4854 { ac_script=; unset ac_script;} 4855 if test -z "$SED"; then 4856 ac_path_SED_found=false 4857 # Loop through the user's path and test for each of PROGNAME-LIST 4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4859for as_dir in $PATH 4860do 4861 IFS=$as_save_IFS 4862 test -z "$as_dir" && as_dir=. 4863 for ac_prog in sed gsed; do 4864 for ac_exec_ext in '' $ac_executable_extensions; do 4865 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4866 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4867# Check for GNU ac_path_SED and select it if it is found. 4868 # Check for GNU $ac_path_SED 4869case `"$ac_path_SED" --version 2>&1` in 4870*GNU*) 4871 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4872*) 4873 ac_count=0 4874 $as_echo_n 0123456789 >"conftest.in" 4875 while : 4876 do 4877 cat "conftest.in" "conftest.in" >"conftest.tmp" 4878 mv "conftest.tmp" "conftest.in" 4879 cp "conftest.in" "conftest.nl" 4880 $as_echo '' >> "conftest.nl" 4881 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4882 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4883 as_fn_arith $ac_count + 1 && ac_count=$as_val 4884 if test $ac_count -gt ${ac_path_SED_max-0}; then 4885 # Best one so far, save it but keep looking for a better one 4886 ac_cv_path_SED="$ac_path_SED" 4887 ac_path_SED_max=$ac_count 4888 fi 4889 # 10*(2^10) chars as input seems more than enough 4890 test $ac_count -gt 10 && break 4891 done 4892 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4893esac 4894 4895 $ac_path_SED_found && break 3 4896 done 4897 done 4898 done 4899IFS=$as_save_IFS 4900 if test -z "$ac_cv_path_SED"; then 4901 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4902 fi 4903else 4904 ac_cv_path_SED=$SED 4905fi 4906 4907fi 4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4909$as_echo "$ac_cv_path_SED" >&6; } 4910 SED="$ac_cv_path_SED" 4911 rm -f conftest.sed 4912 4913test -z "$SED" && SED=sed 4914Xsed="$SED -e 1s/^X//" 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4927$as_echo_n "checking for fgrep... " >&6; } 4928if ${ac_cv_path_FGREP+:} false; then : 4929 $as_echo_n "(cached) " >&6 4930else 4931 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4932 then ac_cv_path_FGREP="$GREP -F" 4933 else 4934 if test -z "$FGREP"; then 4935 ac_path_FGREP_found=false 4936 # Loop through the user's path and test for each of PROGNAME-LIST 4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4938for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4939do 4940 IFS=$as_save_IFS 4941 test -z "$as_dir" && as_dir=. 4942 for ac_prog in fgrep; do 4943 for ac_exec_ext in '' $ac_executable_extensions; do 4944 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4945 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4946# Check for GNU ac_path_FGREP and select it if it is found. 4947 # Check for GNU $ac_path_FGREP 4948case `"$ac_path_FGREP" --version 2>&1` in 4949*GNU*) 4950 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4951*) 4952 ac_count=0 4953 $as_echo_n 0123456789 >"conftest.in" 4954 while : 4955 do 4956 cat "conftest.in" "conftest.in" >"conftest.tmp" 4957 mv "conftest.tmp" "conftest.in" 4958 cp "conftest.in" "conftest.nl" 4959 $as_echo 'FGREP' >> "conftest.nl" 4960 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4961 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4962 as_fn_arith $ac_count + 1 && ac_count=$as_val 4963 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4964 # Best one so far, save it but keep looking for a better one 4965 ac_cv_path_FGREP="$ac_path_FGREP" 4966 ac_path_FGREP_max=$ac_count 4967 fi 4968 # 10*(2^10) chars as input seems more than enough 4969 test $ac_count -gt 10 && break 4970 done 4971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4972esac 4973 4974 $ac_path_FGREP_found && break 3 4975 done 4976 done 4977 done 4978IFS=$as_save_IFS 4979 if test -z "$ac_cv_path_FGREP"; then 4980 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4981 fi 4982else 4983 ac_cv_path_FGREP=$FGREP 4984fi 4985 4986 fi 4987fi 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4989$as_echo "$ac_cv_path_FGREP" >&6; } 4990 FGREP="$ac_cv_path_FGREP" 4991 4992 4993test -z "$GREP" && GREP=grep 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013# Check whether --with-gnu-ld was given. 5014if test "${with_gnu_ld+set}" = set; then : 5015 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5016else 5017 with_gnu_ld=no 5018fi 5019 5020ac_prog=ld 5021if test "$GCC" = yes; then 5022 # Check if gcc -print-prog-name=ld gives a path. 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5024$as_echo_n "checking for ld used by $CC... " >&6; } 5025 case $host in 5026 *-*-mingw*) 5027 # gcc leaves a trailing carriage return which upsets mingw 5028 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5029 *) 5030 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5031 esac 5032 case $ac_prog in 5033 # Accept absolute paths. 5034 [\\/]* | ?:[\\/]*) 5035 re_direlt='/[^/][^/]*/\.\./' 5036 # Canonicalize the pathname of ld 5037 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5038 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5039 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5040 done 5041 test -z "$LD" && LD="$ac_prog" 5042 ;; 5043 "") 5044 # If it fails, then pretend we aren't using GCC. 5045 ac_prog=ld 5046 ;; 5047 *) 5048 # If it is relative, then search for the first ld in PATH. 5049 with_gnu_ld=unknown 5050 ;; 5051 esac 5052elif test "$with_gnu_ld" = yes; then 5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5054$as_echo_n "checking for GNU ld... " >&6; } 5055else 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5057$as_echo_n "checking for non-GNU ld... " >&6; } 5058fi 5059if ${lt_cv_path_LD+:} false; then : 5060 $as_echo_n "(cached) " >&6 5061else 5062 if test -z "$LD"; then 5063 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5064 for ac_dir in $PATH; do 5065 IFS="$lt_save_ifs" 5066 test -z "$ac_dir" && ac_dir=. 5067 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5068 lt_cv_path_LD="$ac_dir/$ac_prog" 5069 # Check to see if the program is GNU ld. I'd rather use --version, 5070 # but apparently some variants of GNU ld only accept -v. 5071 # Break only if it was the GNU/non-GNU ld that we prefer. 5072 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5073 *GNU* | *'with BFD'*) 5074 test "$with_gnu_ld" != no && break 5075 ;; 5076 *) 5077 test "$with_gnu_ld" != yes && break 5078 ;; 5079 esac 5080 fi 5081 done 5082 IFS="$lt_save_ifs" 5083else 5084 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5085fi 5086fi 5087 5088LD="$lt_cv_path_LD" 5089if test -n "$LD"; then 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5091$as_echo "$LD" >&6; } 5092else 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5094$as_echo "no" >&6; } 5095fi 5096test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5098$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5099if ${lt_cv_prog_gnu_ld+:} false; then : 5100 $as_echo_n "(cached) " >&6 5101else 5102 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5103case `$LD -v 2>&1 </dev/null` in 5104*GNU* | *'with BFD'*) 5105 lt_cv_prog_gnu_ld=yes 5106 ;; 5107*) 5108 lt_cv_prog_gnu_ld=no 5109 ;; 5110esac 5111fi 5112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5113$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5114with_gnu_ld=$lt_cv_prog_gnu_ld 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5125$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5126if ${lt_cv_path_NM+:} false; then : 5127 $as_echo_n "(cached) " >&6 5128else 5129 if test -n "$NM"; then 5130 # Let the user override the test. 5131 lt_cv_path_NM="$NM" 5132else 5133 lt_nm_to_check="${ac_tool_prefix}nm" 5134 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5135 lt_nm_to_check="$lt_nm_to_check nm" 5136 fi 5137 for lt_tmp_nm in $lt_nm_to_check; do 5138 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5139 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5140 IFS="$lt_save_ifs" 5141 test -z "$ac_dir" && ac_dir=. 5142 tmp_nm="$ac_dir/$lt_tmp_nm" 5143 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5144 # Check to see if the nm accepts a BSD-compat flag. 5145 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5146 # nm: unknown option "B" ignored 5147 # Tru64's nm complains that /dev/null is an invalid object file 5148 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5149 */dev/null* | *'Invalid file or object type'*) 5150 lt_cv_path_NM="$tmp_nm -B" 5151 break 5152 ;; 5153 *) 5154 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5155 */dev/null*) 5156 lt_cv_path_NM="$tmp_nm -p" 5157 break 5158 ;; 5159 *) 5160 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5161 continue # so that we can try to find one that supports BSD flags 5162 ;; 5163 esac 5164 ;; 5165 esac 5166 fi 5167 done 5168 IFS="$lt_save_ifs" 5169 done 5170 : ${lt_cv_path_NM=no} 5171fi 5172fi 5173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5174$as_echo "$lt_cv_path_NM" >&6; } 5175if test "$lt_cv_path_NM" != "no"; then 5176 NM="$lt_cv_path_NM" 5177else 5178 # Didn't find any BSD compatible name lister, look for dumpbin. 5179 if test -n "$DUMPBIN"; then : 5180 # Let the user override the test. 5181 else 5182 if test -n "$ac_tool_prefix"; then 5183 for ac_prog in dumpbin "link -dump" 5184 do 5185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5186set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5188$as_echo_n "checking for $ac_word... " >&6; } 5189if ${ac_cv_prog_DUMPBIN+:} false; then : 5190 $as_echo_n "(cached) " >&6 5191else 5192 if test -n "$DUMPBIN"; then 5193 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5194else 5195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5196for as_dir in $PATH 5197do 5198 IFS=$as_save_IFS 5199 test -z "$as_dir" && as_dir=. 5200 for ac_exec_ext in '' $ac_executable_extensions; do 5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5202 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5204 break 2 5205 fi 5206done 5207 done 5208IFS=$as_save_IFS 5209 5210fi 5211fi 5212DUMPBIN=$ac_cv_prog_DUMPBIN 5213if test -n "$DUMPBIN"; then 5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5215$as_echo "$DUMPBIN" >&6; } 5216else 5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5218$as_echo "no" >&6; } 5219fi 5220 5221 5222 test -n "$DUMPBIN" && break 5223 done 5224fi 5225if test -z "$DUMPBIN"; then 5226 ac_ct_DUMPBIN=$DUMPBIN 5227 for ac_prog in dumpbin "link -dump" 5228do 5229 # Extract the first word of "$ac_prog", so it can be a program name with args. 5230set dummy $ac_prog; ac_word=$2 5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5232$as_echo_n "checking for $ac_word... " >&6; } 5233if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5234 $as_echo_n "(cached) " >&6 5235else 5236 if test -n "$ac_ct_DUMPBIN"; then 5237 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5238else 5239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5240for as_dir in $PATH 5241do 5242 IFS=$as_save_IFS 5243 test -z "$as_dir" && as_dir=. 5244 for ac_exec_ext in '' $ac_executable_extensions; do 5245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5246 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5248 break 2 5249 fi 5250done 5251 done 5252IFS=$as_save_IFS 5253 5254fi 5255fi 5256ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5257if test -n "$ac_ct_DUMPBIN"; then 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5259$as_echo "$ac_ct_DUMPBIN" >&6; } 5260else 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5262$as_echo "no" >&6; } 5263fi 5264 5265 5266 test -n "$ac_ct_DUMPBIN" && break 5267done 5268 5269 if test "x$ac_ct_DUMPBIN" = x; then 5270 DUMPBIN=":" 5271 else 5272 case $cross_compiling:$ac_tool_warned in 5273yes:) 5274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5276ac_tool_warned=yes ;; 5277esac 5278 DUMPBIN=$ac_ct_DUMPBIN 5279 fi 5280fi 5281 5282 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5283 *COFF*) 5284 DUMPBIN="$DUMPBIN -symbols" 5285 ;; 5286 *) 5287 DUMPBIN=: 5288 ;; 5289 esac 5290 fi 5291 5292 if test "$DUMPBIN" != ":"; then 5293 NM="$DUMPBIN" 5294 fi 5295fi 5296test -z "$NM" && NM=nm 5297 5298 5299 5300 5301 5302 5303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5304$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5305if ${lt_cv_nm_interface+:} false; then : 5306 $as_echo_n "(cached) " >&6 5307else 5308 lt_cv_nm_interface="BSD nm" 5309 echo "int some_variable = 0;" > conftest.$ac_ext 5310 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5311 (eval "$ac_compile" 2>conftest.err) 5312 cat conftest.err >&5 5313 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5314 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5315 cat conftest.err >&5 5316 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5317 cat conftest.out >&5 5318 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5319 lt_cv_nm_interface="MS dumpbin" 5320 fi 5321 rm -f conftest* 5322fi 5323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5324$as_echo "$lt_cv_nm_interface" >&6; } 5325 5326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5327$as_echo_n "checking whether ln -s works... " >&6; } 5328LN_S=$as_ln_s 5329if test "$LN_S" = "ln -s"; then 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5331$as_echo "yes" >&6; } 5332else 5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5334$as_echo "no, using $LN_S" >&6; } 5335fi 5336 5337# find the maximum length of command line arguments 5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5339$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5340if ${lt_cv_sys_max_cmd_len+:} false; then : 5341 $as_echo_n "(cached) " >&6 5342else 5343 i=0 5344 teststring="ABCD" 5345 5346 case $build_os in 5347 msdosdjgpp*) 5348 # On DJGPP, this test can blow up pretty badly due to problems in libc 5349 # (any single argument exceeding 2000 bytes causes a buffer overrun 5350 # during glob expansion). Even if it were fixed, the result of this 5351 # check would be larger than it should be. 5352 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5353 ;; 5354 5355 gnu*) 5356 # Under GNU Hurd, this test is not required because there is 5357 # no limit to the length of command line arguments. 5358 # Libtool will interpret -1 as no limit whatsoever 5359 lt_cv_sys_max_cmd_len=-1; 5360 ;; 5361 5362 cygwin* | mingw* | cegcc*) 5363 # On Win9x/ME, this test blows up -- it succeeds, but takes 5364 # about 5 minutes as the teststring grows exponentially. 5365 # Worse, since 9x/ME are not pre-emptively multitasking, 5366 # you end up with a "frozen" computer, even though with patience 5367 # the test eventually succeeds (with a max line length of 256k). 5368 # Instead, let's just punt: use the minimum linelength reported by 5369 # all of the supported platforms: 8192 (on NT/2K/XP). 5370 lt_cv_sys_max_cmd_len=8192; 5371 ;; 5372 5373 mint*) 5374 # On MiNT this can take a long time and run out of memory. 5375 lt_cv_sys_max_cmd_len=8192; 5376 ;; 5377 5378 amigaos*) 5379 # On AmigaOS with pdksh, this test takes hours, literally. 5380 # So we just punt and use a minimum line length of 8192. 5381 lt_cv_sys_max_cmd_len=8192; 5382 ;; 5383 5384 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5385 # This has been around since 386BSD, at least. Likely further. 5386 if test -x /sbin/sysctl; then 5387 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5388 elif test -x /usr/sbin/sysctl; then 5389 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5390 else 5391 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5392 fi 5393 # And add a safety zone 5394 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5396 ;; 5397 5398 interix*) 5399 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5400 lt_cv_sys_max_cmd_len=196608 5401 ;; 5402 5403 osf*) 5404 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5405 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5406 # nice to cause kernel panics so lets avoid the loop below. 5407 # First set a reasonable default. 5408 lt_cv_sys_max_cmd_len=16384 5409 # 5410 if test -x /sbin/sysconfig; then 5411 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5412 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5413 esac 5414 fi 5415 ;; 5416 sco3.2v5*) 5417 lt_cv_sys_max_cmd_len=102400 5418 ;; 5419 sysv5* | sco5v6* | sysv4.2uw2*) 5420 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5421 if test -n "$kargmax"; then 5422 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5423 else 5424 lt_cv_sys_max_cmd_len=32768 5425 fi 5426 ;; 5427 *) 5428 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5429 if test -n "$lt_cv_sys_max_cmd_len"; then 5430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5432 else 5433 # Make teststring a little bigger before we do anything with it. 5434 # a 1K string should be a reasonable start. 5435 for i in 1 2 3 4 5 6 7 8 ; do 5436 teststring=$teststring$teststring 5437 done 5438 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5439 # If test is not a shell built-in, we'll probably end up computing a 5440 # maximum length that is only half of the actual maximum length, but 5441 # we can't tell. 5442 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ 5443 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5444 test $i != 17 # 1/2 MB should be enough 5445 do 5446 i=`expr $i + 1` 5447 teststring=$teststring$teststring 5448 done 5449 # Only check the string length outside the loop. 5450 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5451 teststring= 5452 # Add a significant safety factor because C++ compilers can tack on 5453 # massive amounts of additional arguments before passing them to the 5454 # linker. It appears as though 1/2 is a usable value. 5455 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5456 fi 5457 ;; 5458 esac 5459 5460fi 5461 5462if test -n $lt_cv_sys_max_cmd_len ; then 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5464$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5465else 5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5467$as_echo "none" >&6; } 5468fi 5469max_cmd_len=$lt_cv_sys_max_cmd_len 5470 5471 5472 5473 5474 5475 5476: ${CP="cp -f"} 5477: ${MV="mv -f"} 5478: ${RM="rm -f"} 5479 5480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5481$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5482# Try some XSI features 5483xsi_shell=no 5484( _lt_dummy="a/b/c" 5485 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5486 = c,a/b,, \ 5487 && eval 'test $(( 1 + 1 )) -eq 2 \ 5488 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5489 && xsi_shell=yes 5490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5491$as_echo "$xsi_shell" >&6; } 5492 5493 5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5495$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5496lt_shell_append=no 5497( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5498 >/dev/null 2>&1 \ 5499 && lt_shell_append=yes 5500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5501$as_echo "$lt_shell_append" >&6; } 5502 5503 5504if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5505 lt_unset=unset 5506else 5507 lt_unset=false 5508fi 5509 5510 5511 5512 5513 5514# test EBCDIC or ASCII 5515case `echo X|tr X '\101'` in 5516 A) # ASCII based system 5517 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5518 lt_SP2NL='tr \040 \012' 5519 lt_NL2SP='tr \015\012 \040\040' 5520 ;; 5521 *) # EBCDIC based system 5522 lt_SP2NL='tr \100 \n' 5523 lt_NL2SP='tr \r\n \100\100' 5524 ;; 5525esac 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5536$as_echo_n "checking for $LD option to reload object files... " >&6; } 5537if ${lt_cv_ld_reload_flag+:} false; then : 5538 $as_echo_n "(cached) " >&6 5539else 5540 lt_cv_ld_reload_flag='-r' 5541fi 5542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5543$as_echo "$lt_cv_ld_reload_flag" >&6; } 5544reload_flag=$lt_cv_ld_reload_flag 5545case $reload_flag in 5546"" | " "*) ;; 5547*) reload_flag=" $reload_flag" ;; 5548esac 5549reload_cmds='$LD$reload_flag -o $output$reload_objs' 5550case $host_os in 5551 darwin*) 5552 if test "$GCC" = yes; then 5553 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5554 else 5555 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5556 fi 5557 ;; 5558esac 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568if test -n "$ac_tool_prefix"; then 5569 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5570set dummy ${ac_tool_prefix}objdump; ac_word=$2 5571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5572$as_echo_n "checking for $ac_word... " >&6; } 5573if ${ac_cv_prog_OBJDUMP+:} false; then : 5574 $as_echo_n "(cached) " >&6 5575else 5576 if test -n "$OBJDUMP"; then 5577 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5578else 5579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5580for as_dir in $PATH 5581do 5582 IFS=$as_save_IFS 5583 test -z "$as_dir" && as_dir=. 5584 for ac_exec_ext in '' $ac_executable_extensions; do 5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5586 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5588 break 2 5589 fi 5590done 5591 done 5592IFS=$as_save_IFS 5593 5594fi 5595fi 5596OBJDUMP=$ac_cv_prog_OBJDUMP 5597if test -n "$OBJDUMP"; then 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5599$as_echo "$OBJDUMP" >&6; } 5600else 5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5602$as_echo "no" >&6; } 5603fi 5604 5605 5606fi 5607if test -z "$ac_cv_prog_OBJDUMP"; then 5608 ac_ct_OBJDUMP=$OBJDUMP 5609 # Extract the first word of "objdump", so it can be a program name with args. 5610set dummy objdump; ac_word=$2 5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5612$as_echo_n "checking for $ac_word... " >&6; } 5613if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5614 $as_echo_n "(cached) " >&6 5615else 5616 if test -n "$ac_ct_OBJDUMP"; then 5617 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5618else 5619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5620for as_dir in $PATH 5621do 5622 IFS=$as_save_IFS 5623 test -z "$as_dir" && as_dir=. 5624 for ac_exec_ext in '' $ac_executable_extensions; do 5625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5626 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5628 break 2 5629 fi 5630done 5631 done 5632IFS=$as_save_IFS 5633 5634fi 5635fi 5636ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5637if test -n "$ac_ct_OBJDUMP"; then 5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5639$as_echo "$ac_ct_OBJDUMP" >&6; } 5640else 5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5642$as_echo "no" >&6; } 5643fi 5644 5645 if test "x$ac_ct_OBJDUMP" = x; then 5646 OBJDUMP="false" 5647 else 5648 case $cross_compiling:$ac_tool_warned in 5649yes:) 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5651$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5652ac_tool_warned=yes ;; 5653esac 5654 OBJDUMP=$ac_ct_OBJDUMP 5655 fi 5656else 5657 OBJDUMP="$ac_cv_prog_OBJDUMP" 5658fi 5659 5660test -z "$OBJDUMP" && OBJDUMP=objdump 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5671$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5672if ${lt_cv_deplibs_check_method+:} false; then : 5673 $as_echo_n "(cached) " >&6 5674else 5675 lt_cv_file_magic_cmd='$MAGIC_CMD' 5676lt_cv_file_magic_test_file= 5677lt_cv_deplibs_check_method='unknown' 5678# Need to set the preceding variable on all platforms that support 5679# interlibrary dependencies. 5680# 'none' -- dependencies not supported. 5681# `unknown' -- same as none, but documents that we really don't know. 5682# 'pass_all' -- all dependencies passed with no checks. 5683# 'test_compile' -- check by making test program. 5684# 'file_magic [[regex]]' -- check by looking for files in library path 5685# which responds to the $file_magic_cmd with a given extended regex. 5686# If you have `file' or equivalent on your system and you're not sure 5687# whether `pass_all' will *always* work, you probably want this one. 5688 5689case $host_os in 5690aix[4-9]*) 5691 lt_cv_deplibs_check_method=pass_all 5692 ;; 5693 5694beos*) 5695 lt_cv_deplibs_check_method=pass_all 5696 ;; 5697 5698bsdi[45]*) 5699 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5700 lt_cv_file_magic_cmd='/usr/bin/file -L' 5701 lt_cv_file_magic_test_file=/shlib/libc.so 5702 ;; 5703 5704cygwin*) 5705 # func_win32_libid is a shell function defined in ltmain.sh 5706 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5707 lt_cv_file_magic_cmd='func_win32_libid' 5708 ;; 5709 5710mingw* | pw32*) 5711 # Base MSYS/MinGW do not provide the 'file' command needed by 5712 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5713 # unless we find 'file', for example because we are cross-compiling. 5714 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5715 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5716 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5717 lt_cv_file_magic_cmd='func_win32_libid' 5718 else 5719 # Keep this pattern in sync with the one in func_win32_libid. 5720 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5721 lt_cv_file_magic_cmd='$OBJDUMP -f' 5722 fi 5723 ;; 5724 5725cegcc*) 5726 # use the weaker test based on 'objdump'. See mingw*. 5727 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5728 lt_cv_file_magic_cmd='$OBJDUMP -f' 5729 ;; 5730 5731darwin* | rhapsody*) 5732 lt_cv_deplibs_check_method=pass_all 5733 ;; 5734 5735freebsd* | dragonfly*) 5736 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5737 case $host_cpu in 5738 i*86 ) 5739 # Not sure whether the presence of OpenBSD here was a mistake. 5740 # Let's accept both of them until this is cleared up. 5741 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5742 lt_cv_file_magic_cmd=/usr/bin/file 5743 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5744 ;; 5745 esac 5746 else 5747 lt_cv_deplibs_check_method=pass_all 5748 fi 5749 ;; 5750 5751gnu*) 5752 lt_cv_deplibs_check_method=pass_all 5753 ;; 5754 5755haiku*) 5756 lt_cv_deplibs_check_method=pass_all 5757 ;; 5758 5759hpux10.20* | hpux11*) 5760 lt_cv_file_magic_cmd=/usr/bin/file 5761 case $host_cpu in 5762 ia64*) 5763 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5764 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5765 ;; 5766 hppa*64*) 5767 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]' 5768 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5769 ;; 5770 *) 5771 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5772 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5773 ;; 5774 esac 5775 ;; 5776 5777interix[3-9]*) 5778 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5779 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5780 ;; 5781 5782irix5* | irix6* | nonstopux*) 5783 case $LD in 5784 *-32|*"-32 ") libmagic=32-bit;; 5785 *-n32|*"-n32 ") libmagic=N32;; 5786 *-64|*"-64 ") libmagic=64-bit;; 5787 *) libmagic=never-match;; 5788 esac 5789 lt_cv_deplibs_check_method=pass_all 5790 ;; 5791 5792# This must be Linux ELF. 5793linux* | k*bsd*-gnu | kopensolaris*-gnu) 5794 lt_cv_deplibs_check_method=pass_all 5795 ;; 5796 5797netbsd*) 5798 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5799 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5800 else 5801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5802 fi 5803 ;; 5804 5805newos6*) 5806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5807 lt_cv_file_magic_cmd=/usr/bin/file 5808 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5809 ;; 5810 5811*nto* | *qnx*) 5812 lt_cv_deplibs_check_method=pass_all 5813 ;; 5814 5815openbsd*) 5816 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5817 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5818 else 5819 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5820 fi 5821 ;; 5822 5823osf3* | osf4* | osf5*) 5824 lt_cv_deplibs_check_method=pass_all 5825 ;; 5826 5827rdos*) 5828 lt_cv_deplibs_check_method=pass_all 5829 ;; 5830 5831solaris*) 5832 lt_cv_deplibs_check_method=pass_all 5833 ;; 5834 5835sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5836 lt_cv_deplibs_check_method=pass_all 5837 ;; 5838 5839sysv4 | sysv4.3*) 5840 case $host_vendor in 5841 motorola) 5842 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]' 5843 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5844 ;; 5845 ncr) 5846 lt_cv_deplibs_check_method=pass_all 5847 ;; 5848 sequent) 5849 lt_cv_file_magic_cmd='/bin/file' 5850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5851 ;; 5852 sni) 5853 lt_cv_file_magic_cmd='/bin/file' 5854 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5855 lt_cv_file_magic_test_file=/lib/libc.so 5856 ;; 5857 siemens) 5858 lt_cv_deplibs_check_method=pass_all 5859 ;; 5860 pc) 5861 lt_cv_deplibs_check_method=pass_all 5862 ;; 5863 esac 5864 ;; 5865 5866tpf*) 5867 lt_cv_deplibs_check_method=pass_all 5868 ;; 5869esac 5870 5871fi 5872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5873$as_echo "$lt_cv_deplibs_check_method" >&6; } 5874file_magic_cmd=$lt_cv_file_magic_cmd 5875deplibs_check_method=$lt_cv_deplibs_check_method 5876test -z "$deplibs_check_method" && deplibs_check_method=unknown 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889if test -n "$ac_tool_prefix"; then 5890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5891set dummy ${ac_tool_prefix}ar; ac_word=$2 5892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5893$as_echo_n "checking for $ac_word... " >&6; } 5894if ${ac_cv_prog_AR+:} false; then : 5895 $as_echo_n "(cached) " >&6 5896else 5897 if test -n "$AR"; then 5898 ac_cv_prog_AR="$AR" # Let the user override the test. 5899else 5900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5901for as_dir in $PATH 5902do 5903 IFS=$as_save_IFS 5904 test -z "$as_dir" && as_dir=. 5905 for ac_exec_ext in '' $ac_executable_extensions; do 5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5907 ac_cv_prog_AR="${ac_tool_prefix}ar" 5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5909 break 2 5910 fi 5911done 5912 done 5913IFS=$as_save_IFS 5914 5915fi 5916fi 5917AR=$ac_cv_prog_AR 5918if test -n "$AR"; then 5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5920$as_echo "$AR" >&6; } 5921else 5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5923$as_echo "no" >&6; } 5924fi 5925 5926 5927fi 5928if test -z "$ac_cv_prog_AR"; then 5929 ac_ct_AR=$AR 5930 # Extract the first word of "ar", so it can be a program name with args. 5931set dummy ar; ac_word=$2 5932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5933$as_echo_n "checking for $ac_word... " >&6; } 5934if ${ac_cv_prog_ac_ct_AR+:} false; then : 5935 $as_echo_n "(cached) " >&6 5936else 5937 if test -n "$ac_ct_AR"; then 5938 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5939else 5940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5941for as_dir in $PATH 5942do 5943 IFS=$as_save_IFS 5944 test -z "$as_dir" && as_dir=. 5945 for ac_exec_ext in '' $ac_executable_extensions; do 5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5947 ac_cv_prog_ac_ct_AR="ar" 5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5949 break 2 5950 fi 5951done 5952 done 5953IFS=$as_save_IFS 5954 5955fi 5956fi 5957ac_ct_AR=$ac_cv_prog_ac_ct_AR 5958if test -n "$ac_ct_AR"; then 5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5960$as_echo "$ac_ct_AR" >&6; } 5961else 5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5963$as_echo "no" >&6; } 5964fi 5965 5966 if test "x$ac_ct_AR" = x; then 5967 AR="false" 5968 else 5969 case $cross_compiling:$ac_tool_warned in 5970yes:) 5971{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5972$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5973ac_tool_warned=yes ;; 5974esac 5975 AR=$ac_ct_AR 5976 fi 5977else 5978 AR="$ac_cv_prog_AR" 5979fi 5980 5981test -z "$AR" && AR=ar 5982test -z "$AR_FLAGS" && AR_FLAGS=cru 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994if test -n "$ac_tool_prefix"; then 5995 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5996set dummy ${ac_tool_prefix}strip; ac_word=$2 5997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5998$as_echo_n "checking for $ac_word... " >&6; } 5999if ${ac_cv_prog_STRIP+:} false; then : 6000 $as_echo_n "(cached) " >&6 6001else 6002 if test -n "$STRIP"; then 6003 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6004else 6005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6006for as_dir in $PATH 6007do 6008 IFS=$as_save_IFS 6009 test -z "$as_dir" && as_dir=. 6010 for ac_exec_ext in '' $ac_executable_extensions; do 6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6012 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6014 break 2 6015 fi 6016done 6017 done 6018IFS=$as_save_IFS 6019 6020fi 6021fi 6022STRIP=$ac_cv_prog_STRIP 6023if test -n "$STRIP"; then 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6025$as_echo "$STRIP" >&6; } 6026else 6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6028$as_echo "no" >&6; } 6029fi 6030 6031 6032fi 6033if test -z "$ac_cv_prog_STRIP"; then 6034 ac_ct_STRIP=$STRIP 6035 # Extract the first word of "strip", so it can be a program name with args. 6036set dummy strip; ac_word=$2 6037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6038$as_echo_n "checking for $ac_word... " >&6; } 6039if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6040 $as_echo_n "(cached) " >&6 6041else 6042 if test -n "$ac_ct_STRIP"; then 6043 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6044else 6045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6046for as_dir in $PATH 6047do 6048 IFS=$as_save_IFS 6049 test -z "$as_dir" && as_dir=. 6050 for ac_exec_ext in '' $ac_executable_extensions; do 6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6052 ac_cv_prog_ac_ct_STRIP="strip" 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 break 2 6055 fi 6056done 6057 done 6058IFS=$as_save_IFS 6059 6060fi 6061fi 6062ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6063if test -n "$ac_ct_STRIP"; then 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6065$as_echo "$ac_ct_STRIP" >&6; } 6066else 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6068$as_echo "no" >&6; } 6069fi 6070 6071 if test "x$ac_ct_STRIP" = x; then 6072 STRIP=":" 6073 else 6074 case $cross_compiling:$ac_tool_warned in 6075yes:) 6076{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6077$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6078ac_tool_warned=yes ;; 6079esac 6080 STRIP=$ac_ct_STRIP 6081 fi 6082else 6083 STRIP="$ac_cv_prog_STRIP" 6084fi 6085 6086test -z "$STRIP" && STRIP=: 6087 6088 6089 6090 6091 6092 6093if test -n "$ac_tool_prefix"; then 6094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6095set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6097$as_echo_n "checking for $ac_word... " >&6; } 6098if ${ac_cv_prog_RANLIB+:} false; then : 6099 $as_echo_n "(cached) " >&6 6100else 6101 if test -n "$RANLIB"; then 6102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6103else 6104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6105for as_dir in $PATH 6106do 6107 IFS=$as_save_IFS 6108 test -z "$as_dir" && as_dir=. 6109 for ac_exec_ext in '' $ac_executable_extensions; do 6110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6113 break 2 6114 fi 6115done 6116 done 6117IFS=$as_save_IFS 6118 6119fi 6120fi 6121RANLIB=$ac_cv_prog_RANLIB 6122if test -n "$RANLIB"; then 6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6124$as_echo "$RANLIB" >&6; } 6125else 6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6127$as_echo "no" >&6; } 6128fi 6129 6130 6131fi 6132if test -z "$ac_cv_prog_RANLIB"; then 6133 ac_ct_RANLIB=$RANLIB 6134 # Extract the first word of "ranlib", so it can be a program name with args. 6135set dummy ranlib; ac_word=$2 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6137$as_echo_n "checking for $ac_word... " >&6; } 6138if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6139 $as_echo_n "(cached) " >&6 6140else 6141 if test -n "$ac_ct_RANLIB"; then 6142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6143else 6144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6145for as_dir in $PATH 6146do 6147 IFS=$as_save_IFS 6148 test -z "$as_dir" && as_dir=. 6149 for ac_exec_ext in '' $ac_executable_extensions; do 6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6151 ac_cv_prog_ac_ct_RANLIB="ranlib" 6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6153 break 2 6154 fi 6155done 6156 done 6157IFS=$as_save_IFS 6158 6159fi 6160fi 6161ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6162if test -n "$ac_ct_RANLIB"; then 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6164$as_echo "$ac_ct_RANLIB" >&6; } 6165else 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6167$as_echo "no" >&6; } 6168fi 6169 6170 if test "x$ac_ct_RANLIB" = x; then 6171 RANLIB=":" 6172 else 6173 case $cross_compiling:$ac_tool_warned in 6174yes:) 6175{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6177ac_tool_warned=yes ;; 6178esac 6179 RANLIB=$ac_ct_RANLIB 6180 fi 6181else 6182 RANLIB="$ac_cv_prog_RANLIB" 6183fi 6184 6185test -z "$RANLIB" && RANLIB=: 6186 6187 6188 6189 6190 6191 6192# Determine commands to create old-style static archives. 6193old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6194old_postinstall_cmds='chmod 644 $oldlib' 6195old_postuninstall_cmds= 6196 6197if test -n "$RANLIB"; then 6198 case $host_os in 6199 openbsd*) 6200 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6201 ;; 6202 *) 6203 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6204 ;; 6205 esac 6206 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6207fi 6208 6209case $host_os in 6210 darwin*) 6211 lock_old_archive_extraction=yes ;; 6212 *) 6213 lock_old_archive_extraction=no ;; 6214esac 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254# If no C compiler was specified, use CC. 6255LTCC=${LTCC-"$CC"} 6256 6257# If no C compiler flags were specified, use CFLAGS. 6258LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6259 6260# Allow CC to be a program name with arguments. 6261compiler=$CC 6262 6263 6264# Check for command to grab the raw symbol name followed by C symbol from nm. 6265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6266$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6267if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6268 $as_echo_n "(cached) " >&6 6269else 6270 6271# These are sane defaults that work on at least a few old systems. 6272# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6273 6274# Character class describing NM global symbol codes. 6275symcode='[BCDEGRST]' 6276 6277# Regexp to match symbols that can be accessed directly from C. 6278sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6279 6280# Define system-specific variables. 6281case $host_os in 6282aix*) 6283 symcode='[BCDT]' 6284 ;; 6285cygwin* | mingw* | pw32* | cegcc*) 6286 symcode='[ABCDGISTW]' 6287 ;; 6288hpux*) 6289 if test "$host_cpu" = ia64; then 6290 symcode='[ABCDEGRST]' 6291 fi 6292 ;; 6293irix* | nonstopux*) 6294 symcode='[BCDEGRST]' 6295 ;; 6296osf*) 6297 symcode='[BCDEGQRST]' 6298 ;; 6299solaris*) 6300 symcode='[BDRT]' 6301 ;; 6302sco3.2v5*) 6303 symcode='[DT]' 6304 ;; 6305sysv4.2uw2*) 6306 symcode='[DT]' 6307 ;; 6308sysv5* | sco5v6* | unixware* | OpenUNIX*) 6309 symcode='[ABDT]' 6310 ;; 6311sysv4) 6312 symcode='[DFNSTU]' 6313 ;; 6314esac 6315 6316# If we're using GNU nm, then use its standard symbol codes. 6317case `$NM -V 2>&1` in 6318*GNU* | *'with BFD'*) 6319 symcode='[ABCDGIRSTW]' ;; 6320esac 6321 6322# Transform an extracted symbol line into a proper C declaration. 6323# Some systems (esp. on ia64) link data and code symbols differently, 6324# so use this general approach. 6325lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6326 6327# Transform an extracted symbol line into symbol name and symbol address 6328lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6329lt_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'" 6330 6331# Handle CRLF in mingw tool chain 6332opt_cr= 6333case $build_os in 6334mingw*) 6335 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6336 ;; 6337esac 6338 6339# Try without a prefix underscore, then with it. 6340for ac_symprfx in "" "_"; do 6341 6342 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6343 symxfrm="\\1 $ac_symprfx\\2 \\2" 6344 6345 # Write the raw and C identifiers. 6346 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6347 # Fake it for dumpbin and say T for any non-static function 6348 # and D for any global variable. 6349 # Also find C++ and __fastcall symbols from MSVC++, 6350 # which start with @ or ?. 6351 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6352" {last_section=section; section=\$ 3};"\ 6353" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6354" \$ 0!~/External *\|/{next};"\ 6355" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6356" {if(hide[section]) next};"\ 6357" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6358" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6359" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6360" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6361" ' prfx=^$ac_symprfx" 6362 else 6363 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6364 fi 6365 6366 # Check to see that the pipe works correctly. 6367 pipe_works=no 6368 6369 rm -f conftest* 6370 cat > conftest.$ac_ext <<_LT_EOF 6371#ifdef __cplusplus 6372extern "C" { 6373#endif 6374char nm_test_var; 6375void nm_test_func(void); 6376void nm_test_func(void){} 6377#ifdef __cplusplus 6378} 6379#endif 6380int main(){nm_test_var='a';nm_test_func();return(0);} 6381_LT_EOF 6382 6383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6384 (eval $ac_compile) 2>&5 6385 ac_status=$? 6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6387 test $ac_status = 0; }; then 6388 # Now try to grab the symbols. 6389 nlist=conftest.nm 6390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6391 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6392 ac_status=$? 6393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6394 test $ac_status = 0; } && test -s "$nlist"; then 6395 # Try sorting and uniquifying the output. 6396 if sort "$nlist" | uniq > "$nlist"T; then 6397 mv -f "$nlist"T "$nlist" 6398 else 6399 rm -f "$nlist"T 6400 fi 6401 6402 # Make sure that we snagged all the symbols we need. 6403 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6404 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6405 cat <<_LT_EOF > conftest.$ac_ext 6406#ifdef __cplusplus 6407extern "C" { 6408#endif 6409 6410_LT_EOF 6411 # Now generate the symbol file. 6412 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6413 6414 cat <<_LT_EOF >> conftest.$ac_ext 6415 6416/* The mapping between symbol names and symbols. */ 6417const struct { 6418 const char *name; 6419 void *address; 6420} 6421lt__PROGRAM__LTX_preloaded_symbols[] = 6422{ 6423 { "@PROGRAM@", (void *) 0 }, 6424_LT_EOF 6425 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6426 cat <<\_LT_EOF >> conftest.$ac_ext 6427 {0, (void *) 0} 6428}; 6429 6430/* This works around a problem in FreeBSD linker */ 6431#ifdef FREEBSD_WORKAROUND 6432static const void *lt_preloaded_setup() { 6433 return lt__PROGRAM__LTX_preloaded_symbols; 6434} 6435#endif 6436 6437#ifdef __cplusplus 6438} 6439#endif 6440_LT_EOF 6441 # Now try linking the two files. 6442 mv conftest.$ac_objext conftstm.$ac_objext 6443 lt_save_LIBS="$LIBS" 6444 lt_save_CFLAGS="$CFLAGS" 6445 LIBS="conftstm.$ac_objext" 6446 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6448 (eval $ac_link) 2>&5 6449 ac_status=$? 6450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6451 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6452 pipe_works=yes 6453 fi 6454 LIBS="$lt_save_LIBS" 6455 CFLAGS="$lt_save_CFLAGS" 6456 else 6457 echo "cannot find nm_test_func in $nlist" >&5 6458 fi 6459 else 6460 echo "cannot find nm_test_var in $nlist" >&5 6461 fi 6462 else 6463 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6464 fi 6465 else 6466 echo "$progname: failed program was:" >&5 6467 cat conftest.$ac_ext >&5 6468 fi 6469 rm -rf conftest* conftst* 6470 6471 # Do not use the global_symbol_pipe unless it works. 6472 if test "$pipe_works" = yes; then 6473 break 6474 else 6475 lt_cv_sys_global_symbol_pipe= 6476 fi 6477done 6478 6479fi 6480 6481if test -z "$lt_cv_sys_global_symbol_pipe"; then 6482 lt_cv_sys_global_symbol_to_cdecl= 6483fi 6484if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6486$as_echo "failed" >&6; } 6487else 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6489$as_echo "ok" >&6; } 6490fi 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513# Check whether --enable-libtool-lock was given. 6514if test "${enable_libtool_lock+set}" = set; then : 6515 enableval=$enable_libtool_lock; 6516fi 6517 6518test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6519 6520# Some flags need to be propagated to the compiler or linker for good 6521# libtool support. 6522case $host in 6523ia64-*-hpux*) 6524 # Find out which ABI we are using. 6525 echo 'int i;' > conftest.$ac_ext 6526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6527 (eval $ac_compile) 2>&5 6528 ac_status=$? 6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6530 test $ac_status = 0; }; then 6531 case `/usr/bin/file conftest.$ac_objext` in 6532 *ELF-32*) 6533 HPUX_IA64_MODE="32" 6534 ;; 6535 *ELF-64*) 6536 HPUX_IA64_MODE="64" 6537 ;; 6538 esac 6539 fi 6540 rm -rf conftest* 6541 ;; 6542*-*-irix6*) 6543 # Find out which ABI we are using. 6544 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6546 (eval $ac_compile) 2>&5 6547 ac_status=$? 6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6549 test $ac_status = 0; }; then 6550 if test "$lt_cv_prog_gnu_ld" = yes; then 6551 case `/usr/bin/file conftest.$ac_objext` in 6552 *32-bit*) 6553 LD="${LD-ld} -melf32bsmip" 6554 ;; 6555 *N32*) 6556 LD="${LD-ld} -melf32bmipn32" 6557 ;; 6558 *64-bit*) 6559 LD="${LD-ld} -melf64bmip" 6560 ;; 6561 esac 6562 else 6563 case `/usr/bin/file conftest.$ac_objext` in 6564 *32-bit*) 6565 LD="${LD-ld} -32" 6566 ;; 6567 *N32*) 6568 LD="${LD-ld} -n32" 6569 ;; 6570 *64-bit*) 6571 LD="${LD-ld} -64" 6572 ;; 6573 esac 6574 fi 6575 fi 6576 rm -rf conftest* 6577 ;; 6578 6579x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6580s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6581 # Find out which ABI we are using. 6582 echo 'int i;' > conftest.$ac_ext 6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6584 (eval $ac_compile) 2>&5 6585 ac_status=$? 6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6587 test $ac_status = 0; }; then 6588 case `/usr/bin/file conftest.o` in 6589 *32-bit*) 6590 case $host in 6591 x86_64-*kfreebsd*-gnu) 6592 LD="${LD-ld} -m elf_i386_fbsd" 6593 ;; 6594 x86_64-*linux*) 6595 LD="${LD-ld} -m elf_i386" 6596 ;; 6597 ppc64-*linux*|powerpc64-*linux*) 6598 LD="${LD-ld} -m elf32ppclinux" 6599 ;; 6600 s390x-*linux*) 6601 LD="${LD-ld} -m elf_s390" 6602 ;; 6603 sparc64-*linux*) 6604 LD="${LD-ld} -m elf32_sparc" 6605 ;; 6606 esac 6607 ;; 6608 *64-bit*) 6609 case $host in 6610 x86_64-*kfreebsd*-gnu) 6611 LD="${LD-ld} -m elf_x86_64_fbsd" 6612 ;; 6613 x86_64-*linux*) 6614 LD="${LD-ld} -m elf_x86_64" 6615 ;; 6616 ppc*-*linux*|powerpc*-*linux*) 6617 LD="${LD-ld} -m elf64ppc" 6618 ;; 6619 s390*-*linux*|s390*-*tpf*) 6620 LD="${LD-ld} -m elf64_s390" 6621 ;; 6622 sparc*-*linux*) 6623 LD="${LD-ld} -m elf64_sparc" 6624 ;; 6625 esac 6626 ;; 6627 esac 6628 fi 6629 rm -rf conftest* 6630 ;; 6631 6632*-*-sco3.2v5*) 6633 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6634 SAVE_CFLAGS="$CFLAGS" 6635 CFLAGS="$CFLAGS -belf" 6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6637$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6638if ${lt_cv_cc_needs_belf+:} false; then : 6639 $as_echo_n "(cached) " >&6 6640else 6641 ac_ext=c 6642ac_cpp='$CPP $CPPFLAGS' 6643ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6644ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6645ac_compiler_gnu=$ac_cv_c_compiler_gnu 6646 6647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6648/* end confdefs.h. */ 6649 6650int 6651main () 6652{ 6653 6654 ; 6655 return 0; 6656} 6657_ACEOF 6658if ac_fn_c_try_link "$LINENO"; then : 6659 lt_cv_cc_needs_belf=yes 6660else 6661 lt_cv_cc_needs_belf=no 6662fi 6663rm -f core conftest.err conftest.$ac_objext \ 6664 conftest$ac_exeext conftest.$ac_ext 6665 ac_ext=c 6666ac_cpp='$CPP $CPPFLAGS' 6667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6669ac_compiler_gnu=$ac_cv_c_compiler_gnu 6670 6671fi 6672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6673$as_echo "$lt_cv_cc_needs_belf" >&6; } 6674 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6675 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6676 CFLAGS="$SAVE_CFLAGS" 6677 fi 6678 ;; 6679sparc*-*solaris*) 6680 # Find out which ABI we are using. 6681 echo 'int i;' > conftest.$ac_ext 6682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6683 (eval $ac_compile) 2>&5 6684 ac_status=$? 6685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6686 test $ac_status = 0; }; then 6687 case `/usr/bin/file conftest.o` in 6688 *64-bit*) 6689 case $lt_cv_prog_gnu_ld in 6690 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6691 *) 6692 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6693 LD="${LD-ld} -64" 6694 fi 6695 ;; 6696 esac 6697 ;; 6698 esac 6699 fi 6700 rm -rf conftest* 6701 ;; 6702esac 6703 6704need_locks="$enable_libtool_lock" 6705 6706 6707 case $host_os in 6708 rhapsody* | darwin*) 6709 if test -n "$ac_tool_prefix"; then 6710 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6711set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6713$as_echo_n "checking for $ac_word... " >&6; } 6714if ${ac_cv_prog_DSYMUTIL+:} false; then : 6715 $as_echo_n "(cached) " >&6 6716else 6717 if test -n "$DSYMUTIL"; then 6718 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6719else 6720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6721for as_dir in $PATH 6722do 6723 IFS=$as_save_IFS 6724 test -z "$as_dir" && as_dir=. 6725 for ac_exec_ext in '' $ac_executable_extensions; do 6726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6727 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6729 break 2 6730 fi 6731done 6732 done 6733IFS=$as_save_IFS 6734 6735fi 6736fi 6737DSYMUTIL=$ac_cv_prog_DSYMUTIL 6738if test -n "$DSYMUTIL"; then 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6740$as_echo "$DSYMUTIL" >&6; } 6741else 6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6743$as_echo "no" >&6; } 6744fi 6745 6746 6747fi 6748if test -z "$ac_cv_prog_DSYMUTIL"; then 6749 ac_ct_DSYMUTIL=$DSYMUTIL 6750 # Extract the first word of "dsymutil", so it can be a program name with args. 6751set dummy dsymutil; ac_word=$2 6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6753$as_echo_n "checking for $ac_word... " >&6; } 6754if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6755 $as_echo_n "(cached) " >&6 6756else 6757 if test -n "$ac_ct_DSYMUTIL"; then 6758 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6759else 6760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6761for as_dir in $PATH 6762do 6763 IFS=$as_save_IFS 6764 test -z "$as_dir" && as_dir=. 6765 for ac_exec_ext in '' $ac_executable_extensions; do 6766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6767 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6769 break 2 6770 fi 6771done 6772 done 6773IFS=$as_save_IFS 6774 6775fi 6776fi 6777ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6778if test -n "$ac_ct_DSYMUTIL"; then 6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6780$as_echo "$ac_ct_DSYMUTIL" >&6; } 6781else 6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6783$as_echo "no" >&6; } 6784fi 6785 6786 if test "x$ac_ct_DSYMUTIL" = x; then 6787 DSYMUTIL=":" 6788 else 6789 case $cross_compiling:$ac_tool_warned in 6790yes:) 6791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6793ac_tool_warned=yes ;; 6794esac 6795 DSYMUTIL=$ac_ct_DSYMUTIL 6796 fi 6797else 6798 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6799fi 6800 6801 if test -n "$ac_tool_prefix"; then 6802 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6803set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6805$as_echo_n "checking for $ac_word... " >&6; } 6806if ${ac_cv_prog_NMEDIT+:} false; then : 6807 $as_echo_n "(cached) " >&6 6808else 6809 if test -n "$NMEDIT"; then 6810 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6811else 6812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6813for as_dir in $PATH 6814do 6815 IFS=$as_save_IFS 6816 test -z "$as_dir" && as_dir=. 6817 for ac_exec_ext in '' $ac_executable_extensions; do 6818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6819 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6821 break 2 6822 fi 6823done 6824 done 6825IFS=$as_save_IFS 6826 6827fi 6828fi 6829NMEDIT=$ac_cv_prog_NMEDIT 6830if test -n "$NMEDIT"; then 6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6832$as_echo "$NMEDIT" >&6; } 6833else 6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6835$as_echo "no" >&6; } 6836fi 6837 6838 6839fi 6840if test -z "$ac_cv_prog_NMEDIT"; then 6841 ac_ct_NMEDIT=$NMEDIT 6842 # Extract the first word of "nmedit", so it can be a program name with args. 6843set dummy nmedit; ac_word=$2 6844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6845$as_echo_n "checking for $ac_word... " >&6; } 6846if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6847 $as_echo_n "(cached) " >&6 6848else 6849 if test -n "$ac_ct_NMEDIT"; then 6850 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6851else 6852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6853for as_dir in $PATH 6854do 6855 IFS=$as_save_IFS 6856 test -z "$as_dir" && as_dir=. 6857 for ac_exec_ext in '' $ac_executable_extensions; do 6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6859 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6861 break 2 6862 fi 6863done 6864 done 6865IFS=$as_save_IFS 6866 6867fi 6868fi 6869ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6870if test -n "$ac_ct_NMEDIT"; then 6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6872$as_echo "$ac_ct_NMEDIT" >&6; } 6873else 6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6875$as_echo "no" >&6; } 6876fi 6877 6878 if test "x$ac_ct_NMEDIT" = x; then 6879 NMEDIT=":" 6880 else 6881 case $cross_compiling:$ac_tool_warned in 6882yes:) 6883{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6884$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6885ac_tool_warned=yes ;; 6886esac 6887 NMEDIT=$ac_ct_NMEDIT 6888 fi 6889else 6890 NMEDIT="$ac_cv_prog_NMEDIT" 6891fi 6892 6893 if test -n "$ac_tool_prefix"; then 6894 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6895set dummy ${ac_tool_prefix}lipo; ac_word=$2 6896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6897$as_echo_n "checking for $ac_word... " >&6; } 6898if ${ac_cv_prog_LIPO+:} false; then : 6899 $as_echo_n "(cached) " >&6 6900else 6901 if test -n "$LIPO"; then 6902 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6903else 6904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6905for as_dir in $PATH 6906do 6907 IFS=$as_save_IFS 6908 test -z "$as_dir" && as_dir=. 6909 for ac_exec_ext in '' $ac_executable_extensions; do 6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6911 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6913 break 2 6914 fi 6915done 6916 done 6917IFS=$as_save_IFS 6918 6919fi 6920fi 6921LIPO=$ac_cv_prog_LIPO 6922if test -n "$LIPO"; then 6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6924$as_echo "$LIPO" >&6; } 6925else 6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6927$as_echo "no" >&6; } 6928fi 6929 6930 6931fi 6932if test -z "$ac_cv_prog_LIPO"; then 6933 ac_ct_LIPO=$LIPO 6934 # Extract the first word of "lipo", so it can be a program name with args. 6935set dummy lipo; ac_word=$2 6936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6937$as_echo_n "checking for $ac_word... " >&6; } 6938if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6939 $as_echo_n "(cached) " >&6 6940else 6941 if test -n "$ac_ct_LIPO"; then 6942 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6943else 6944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6945for as_dir in $PATH 6946do 6947 IFS=$as_save_IFS 6948 test -z "$as_dir" && as_dir=. 6949 for ac_exec_ext in '' $ac_executable_extensions; do 6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6951 ac_cv_prog_ac_ct_LIPO="lipo" 6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6953 break 2 6954 fi 6955done 6956 done 6957IFS=$as_save_IFS 6958 6959fi 6960fi 6961ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6962if test -n "$ac_ct_LIPO"; then 6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6964$as_echo "$ac_ct_LIPO" >&6; } 6965else 6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6967$as_echo "no" >&6; } 6968fi 6969 6970 if test "x$ac_ct_LIPO" = x; then 6971 LIPO=":" 6972 else 6973 case $cross_compiling:$ac_tool_warned in 6974yes:) 6975{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6976$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6977ac_tool_warned=yes ;; 6978esac 6979 LIPO=$ac_ct_LIPO 6980 fi 6981else 6982 LIPO="$ac_cv_prog_LIPO" 6983fi 6984 6985 if test -n "$ac_tool_prefix"; then 6986 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6987set dummy ${ac_tool_prefix}otool; ac_word=$2 6988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6989$as_echo_n "checking for $ac_word... " >&6; } 6990if ${ac_cv_prog_OTOOL+:} false; then : 6991 $as_echo_n "(cached) " >&6 6992else 6993 if test -n "$OTOOL"; then 6994 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6995else 6996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6997for as_dir in $PATH 6998do 6999 IFS=$as_save_IFS 7000 test -z "$as_dir" && as_dir=. 7001 for ac_exec_ext in '' $ac_executable_extensions; do 7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7003 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7005 break 2 7006 fi 7007done 7008 done 7009IFS=$as_save_IFS 7010 7011fi 7012fi 7013OTOOL=$ac_cv_prog_OTOOL 7014if test -n "$OTOOL"; then 7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7016$as_echo "$OTOOL" >&6; } 7017else 7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7019$as_echo "no" >&6; } 7020fi 7021 7022 7023fi 7024if test -z "$ac_cv_prog_OTOOL"; then 7025 ac_ct_OTOOL=$OTOOL 7026 # Extract the first word of "otool", so it can be a program name with args. 7027set dummy otool; ac_word=$2 7028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7029$as_echo_n "checking for $ac_word... " >&6; } 7030if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7031 $as_echo_n "(cached) " >&6 7032else 7033 if test -n "$ac_ct_OTOOL"; then 7034 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7035else 7036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7037for as_dir in $PATH 7038do 7039 IFS=$as_save_IFS 7040 test -z "$as_dir" && as_dir=. 7041 for ac_exec_ext in '' $ac_executable_extensions; do 7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7043 ac_cv_prog_ac_ct_OTOOL="otool" 7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7045 break 2 7046 fi 7047done 7048 done 7049IFS=$as_save_IFS 7050 7051fi 7052fi 7053ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7054if test -n "$ac_ct_OTOOL"; then 7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7056$as_echo "$ac_ct_OTOOL" >&6; } 7057else 7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7059$as_echo "no" >&6; } 7060fi 7061 7062 if test "x$ac_ct_OTOOL" = x; then 7063 OTOOL=":" 7064 else 7065 case $cross_compiling:$ac_tool_warned in 7066yes:) 7067{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7069ac_tool_warned=yes ;; 7070esac 7071 OTOOL=$ac_ct_OTOOL 7072 fi 7073else 7074 OTOOL="$ac_cv_prog_OTOOL" 7075fi 7076 7077 if test -n "$ac_tool_prefix"; then 7078 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7079set dummy ${ac_tool_prefix}otool64; ac_word=$2 7080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7081$as_echo_n "checking for $ac_word... " >&6; } 7082if ${ac_cv_prog_OTOOL64+:} false; then : 7083 $as_echo_n "(cached) " >&6 7084else 7085 if test -n "$OTOOL64"; then 7086 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7087else 7088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7089for as_dir in $PATH 7090do 7091 IFS=$as_save_IFS 7092 test -z "$as_dir" && as_dir=. 7093 for ac_exec_ext in '' $ac_executable_extensions; do 7094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7095 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7097 break 2 7098 fi 7099done 7100 done 7101IFS=$as_save_IFS 7102 7103fi 7104fi 7105OTOOL64=$ac_cv_prog_OTOOL64 7106if test -n "$OTOOL64"; then 7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7108$as_echo "$OTOOL64" >&6; } 7109else 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7111$as_echo "no" >&6; } 7112fi 7113 7114 7115fi 7116if test -z "$ac_cv_prog_OTOOL64"; then 7117 ac_ct_OTOOL64=$OTOOL64 7118 # Extract the first word of "otool64", so it can be a program name with args. 7119set dummy otool64; ac_word=$2 7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7121$as_echo_n "checking for $ac_word... " >&6; } 7122if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7123 $as_echo_n "(cached) " >&6 7124else 7125 if test -n "$ac_ct_OTOOL64"; then 7126 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7127else 7128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7129for as_dir in $PATH 7130do 7131 IFS=$as_save_IFS 7132 test -z "$as_dir" && as_dir=. 7133 for ac_exec_ext in '' $ac_executable_extensions; do 7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7135 ac_cv_prog_ac_ct_OTOOL64="otool64" 7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7137 break 2 7138 fi 7139done 7140 done 7141IFS=$as_save_IFS 7142 7143fi 7144fi 7145ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7146if test -n "$ac_ct_OTOOL64"; then 7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7148$as_echo "$ac_ct_OTOOL64" >&6; } 7149else 7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7151$as_echo "no" >&6; } 7152fi 7153 7154 if test "x$ac_ct_OTOOL64" = x; then 7155 OTOOL64=":" 7156 else 7157 case $cross_compiling:$ac_tool_warned in 7158yes:) 7159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7161ac_tool_warned=yes ;; 7162esac 7163 OTOOL64=$ac_ct_OTOOL64 7164 fi 7165else 7166 OTOOL64="$ac_cv_prog_OTOOL64" 7167fi 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7196$as_echo_n "checking for -single_module linker flag... " >&6; } 7197if ${lt_cv_apple_cc_single_mod+:} false; then : 7198 $as_echo_n "(cached) " >&6 7199else 7200 lt_cv_apple_cc_single_mod=no 7201 if test -z "${LT_MULTI_MODULE}"; then 7202 # By default we will add the -single_module flag. You can override 7203 # by either setting the environment variable LT_MULTI_MODULE 7204 # non-empty at configure time, or by adding -multi_module to the 7205 # link flags. 7206 rm -rf libconftest.dylib* 7207 echo "int foo(void){return 1;}" > conftest.c 7208 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7209-dynamiclib -Wl,-single_module conftest.c" >&5 7210 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7211 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7212 _lt_result=$? 7213 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7214 lt_cv_apple_cc_single_mod=yes 7215 else 7216 cat conftest.err >&5 7217 fi 7218 rm -rf libconftest.dylib* 7219 rm -f conftest.* 7220 fi 7221fi 7222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7223$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7225$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7226if ${lt_cv_ld_exported_symbols_list+:} false; then : 7227 $as_echo_n "(cached) " >&6 7228else 7229 lt_cv_ld_exported_symbols_list=no 7230 save_LDFLAGS=$LDFLAGS 7231 echo "_main" > conftest.sym 7232 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7234/* end confdefs.h. */ 7235 7236int 7237main () 7238{ 7239 7240 ; 7241 return 0; 7242} 7243_ACEOF 7244if ac_fn_c_try_link "$LINENO"; then : 7245 lt_cv_ld_exported_symbols_list=yes 7246else 7247 lt_cv_ld_exported_symbols_list=no 7248fi 7249rm -f core conftest.err conftest.$ac_objext \ 7250 conftest$ac_exeext conftest.$ac_ext 7251 LDFLAGS="$save_LDFLAGS" 7252 7253fi 7254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7255$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7257$as_echo_n "checking for -force_load linker flag... " >&6; } 7258if ${lt_cv_ld_force_load+:} false; then : 7259 $as_echo_n "(cached) " >&6 7260else 7261 lt_cv_ld_force_load=no 7262 cat > conftest.c << _LT_EOF 7263int forced_loaded() { return 2;} 7264_LT_EOF 7265 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7266 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7267 echo "$AR cru libconftest.a conftest.o" >&5 7268 $AR cru libconftest.a conftest.o 2>&5 7269 echo "$RANLIB libconftest.a" >&5 7270 $RANLIB libconftest.a 2>&5 7271 cat > conftest.c << _LT_EOF 7272int main() { return 0;} 7273_LT_EOF 7274 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7275 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7276 _lt_result=$? 7277 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 7278 lt_cv_ld_force_load=yes 7279 else 7280 cat conftest.err >&5 7281 fi 7282 rm -f conftest.err libconftest.a conftest conftest.c 7283 rm -rf conftest.dSYM 7284 7285fi 7286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7287$as_echo "$lt_cv_ld_force_load" >&6; } 7288 case $host_os in 7289 rhapsody* | darwin1.[012]) 7290 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7291 darwin1.*) 7292 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7293 darwin*) # darwin 5.x on 7294 # if running on 10.5 or later, the deployment target defaults 7295 # to the OS version, if on x86, and 10.4, the deployment 7296 # target defaults to 10.4. Don't you love it? 7297 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7298 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7299 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7300 10.[012]*) 7301 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7302 10.*) 7303 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7304 esac 7305 ;; 7306 esac 7307 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7308 _lt_dar_single_mod='$single_module' 7309 fi 7310 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7311 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7312 else 7313 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7314 fi 7315 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7316 _lt_dsymutil='~$DSYMUTIL $lib || :' 7317 else 7318 _lt_dsymutil= 7319 fi 7320 ;; 7321 esac 7322 7323for ac_header in dlfcn.h 7324do : 7325 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7326" 7327if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7328 cat >>confdefs.h <<_ACEOF 7329#define HAVE_DLFCN_H 1 7330_ACEOF 7331 7332fi 7333 7334done 7335 7336 7337 7338 7339 7340# Set options 7341 7342 7343 7344 enable_dlopen=no 7345 7346 7347 enable_win32_dll=no 7348 7349 7350 # Check whether --enable-shared was given. 7351if test "${enable_shared+set}" = set; then : 7352 enableval=$enable_shared; p=${PACKAGE-default} 7353 case $enableval in 7354 yes) enable_shared=yes ;; 7355 no) enable_shared=no ;; 7356 *) 7357 enable_shared=no 7358 # Look at the argument we got. We use all the common list separators. 7359 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7360 for pkg in $enableval; do 7361 IFS="$lt_save_ifs" 7362 if test "X$pkg" = "X$p"; then 7363 enable_shared=yes 7364 fi 7365 done 7366 IFS="$lt_save_ifs" 7367 ;; 7368 esac 7369else 7370 enable_shared=yes 7371fi 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 # Check whether --enable-static was given. 7382if test "${enable_static+set}" = set; then : 7383 enableval=$enable_static; p=${PACKAGE-default} 7384 case $enableval in 7385 yes) enable_static=yes ;; 7386 no) enable_static=no ;; 7387 *) 7388 enable_static=no 7389 # Look at the argument we got. We use all the common list separators. 7390 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7391 for pkg in $enableval; do 7392 IFS="$lt_save_ifs" 7393 if test "X$pkg" = "X$p"; then 7394 enable_static=yes 7395 fi 7396 done 7397 IFS="$lt_save_ifs" 7398 ;; 7399 esac 7400else 7401 enable_static=yes 7402fi 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413# Check whether --with-pic was given. 7414if test "${with_pic+set}" = set; then : 7415 withval=$with_pic; pic_mode="$withval" 7416else 7417 pic_mode=default 7418fi 7419 7420 7421test -z "$pic_mode" && pic_mode=default 7422 7423 7424 7425 7426 7427 7428 7429 # Check whether --enable-fast-install was given. 7430if test "${enable_fast_install+set}" = set; then : 7431 enableval=$enable_fast_install; p=${PACKAGE-default} 7432 case $enableval in 7433 yes) enable_fast_install=yes ;; 7434 no) enable_fast_install=no ;; 7435 *) 7436 enable_fast_install=no 7437 # Look at the argument we got. We use all the common list separators. 7438 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7439 for pkg in $enableval; do 7440 IFS="$lt_save_ifs" 7441 if test "X$pkg" = "X$p"; then 7442 enable_fast_install=yes 7443 fi 7444 done 7445 IFS="$lt_save_ifs" 7446 ;; 7447 esac 7448else 7449 enable_fast_install=yes 7450fi 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462# This can be used to rebuild libtool when needed 7463LIBTOOL_DEPS="$ltmain" 7464 7465# Always use our own libtool. 7466LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493test -z "$LN_S" && LN_S="ln -s" 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508if test -n "${ZSH_VERSION+set}" ; then 7509 setopt NO_GLOB_SUBST 7510fi 7511 7512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7513$as_echo_n "checking for objdir... " >&6; } 7514if ${lt_cv_objdir+:} false; then : 7515 $as_echo_n "(cached) " >&6 7516else 7517 rm -f .libs 2>/dev/null 7518mkdir .libs 2>/dev/null 7519if test -d .libs; then 7520 lt_cv_objdir=.libs 7521else 7522 # MS-DOS does not allow filenames that begin with a dot. 7523 lt_cv_objdir=_libs 7524fi 7525rmdir .libs 2>/dev/null 7526fi 7527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7528$as_echo "$lt_cv_objdir" >&6; } 7529objdir=$lt_cv_objdir 7530 7531 7532 7533 7534 7535cat >>confdefs.h <<_ACEOF 7536#define LT_OBJDIR "$lt_cv_objdir/" 7537_ACEOF 7538 7539 7540 7541 7542case $host_os in 7543aix3*) 7544 # AIX sometimes has problems with the GCC collect2 program. For some 7545 # reason, if we set the COLLECT_NAMES environment variable, the problems 7546 # vanish in a puff of smoke. 7547 if test "X${COLLECT_NAMES+set}" != Xset; then 7548 COLLECT_NAMES= 7549 export COLLECT_NAMES 7550 fi 7551 ;; 7552esac 7553 7554# Global variables: 7555ofile=libtool 7556can_build_shared=yes 7557 7558# All known linkers require a `.a' archive for static linking (except MSVC, 7559# which needs '.lib'). 7560libext=a 7561 7562with_gnu_ld="$lt_cv_prog_gnu_ld" 7563 7564old_CC="$CC" 7565old_CFLAGS="$CFLAGS" 7566 7567# Set sane defaults for various variables 7568test -z "$CC" && CC=cc 7569test -z "$LTCC" && LTCC=$CC 7570test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7571test -z "$LD" && LD=ld 7572test -z "$ac_objext" && ac_objext=o 7573 7574for cc_temp in $compiler""; do 7575 case $cc_temp in 7576 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7577 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7578 \-*) ;; 7579 *) break;; 7580 esac 7581done 7582cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7583 7584 7585# Only perform the check for file, if the check method requires it 7586test -z "$MAGIC_CMD" && MAGIC_CMD=file 7587case $deplibs_check_method in 7588file_magic*) 7589 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7591$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7592if ${lt_cv_path_MAGIC_CMD+:} false; then : 7593 $as_echo_n "(cached) " >&6 7594else 7595 case $MAGIC_CMD in 7596[\\/*] | ?:[\\/]*) 7597 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7598 ;; 7599*) 7600 lt_save_MAGIC_CMD="$MAGIC_CMD" 7601 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7602 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7603 for ac_dir in $ac_dummy; do 7604 IFS="$lt_save_ifs" 7605 test -z "$ac_dir" && ac_dir=. 7606 if test -f $ac_dir/${ac_tool_prefix}file; then 7607 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7608 if test -n "$file_magic_test_file"; then 7609 case $deplibs_check_method in 7610 "file_magic "*) 7611 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7612 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7613 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7614 $EGREP "$file_magic_regex" > /dev/null; then 7615 : 7616 else 7617 cat <<_LT_EOF 1>&2 7618 7619*** Warning: the command libtool uses to detect shared libraries, 7620*** $file_magic_cmd, produces output that libtool cannot recognize. 7621*** The result is that libtool may fail to recognize shared libraries 7622*** as such. This will affect the creation of libtool libraries that 7623*** depend on shared libraries, but programs linked with such libtool 7624*** libraries will work regardless of this problem. Nevertheless, you 7625*** may want to report the problem to your system manager and/or to 7626*** bug-libtool@gnu.org 7627 7628_LT_EOF 7629 fi ;; 7630 esac 7631 fi 7632 break 7633 fi 7634 done 7635 IFS="$lt_save_ifs" 7636 MAGIC_CMD="$lt_save_MAGIC_CMD" 7637 ;; 7638esac 7639fi 7640 7641MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7642if test -n "$MAGIC_CMD"; then 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7644$as_echo "$MAGIC_CMD" >&6; } 7645else 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7647$as_echo "no" >&6; } 7648fi 7649 7650 7651 7652 7653 7654if test -z "$lt_cv_path_MAGIC_CMD"; then 7655 if test -n "$ac_tool_prefix"; then 7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7657$as_echo_n "checking for file... " >&6; } 7658if ${lt_cv_path_MAGIC_CMD+:} false; then : 7659 $as_echo_n "(cached) " >&6 7660else 7661 case $MAGIC_CMD in 7662[\\/*] | ?:[\\/]*) 7663 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7664 ;; 7665*) 7666 lt_save_MAGIC_CMD="$MAGIC_CMD" 7667 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7668 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7669 for ac_dir in $ac_dummy; do 7670 IFS="$lt_save_ifs" 7671 test -z "$ac_dir" && ac_dir=. 7672 if test -f $ac_dir/file; then 7673 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7674 if test -n "$file_magic_test_file"; then 7675 case $deplibs_check_method in 7676 "file_magic "*) 7677 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7678 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7679 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7680 $EGREP "$file_magic_regex" > /dev/null; then 7681 : 7682 else 7683 cat <<_LT_EOF 1>&2 7684 7685*** Warning: the command libtool uses to detect shared libraries, 7686*** $file_magic_cmd, produces output that libtool cannot recognize. 7687*** The result is that libtool may fail to recognize shared libraries 7688*** as such. This will affect the creation of libtool libraries that 7689*** depend on shared libraries, but programs linked with such libtool 7690*** libraries will work regardless of this problem. Nevertheless, you 7691*** may want to report the problem to your system manager and/or to 7692*** bug-libtool@gnu.org 7693 7694_LT_EOF 7695 fi ;; 7696 esac 7697 fi 7698 break 7699 fi 7700 done 7701 IFS="$lt_save_ifs" 7702 MAGIC_CMD="$lt_save_MAGIC_CMD" 7703 ;; 7704esac 7705fi 7706 7707MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7708if test -n "$MAGIC_CMD"; then 7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7710$as_echo "$MAGIC_CMD" >&6; } 7711else 7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7713$as_echo "no" >&6; } 7714fi 7715 7716 7717 else 7718 MAGIC_CMD=: 7719 fi 7720fi 7721 7722 fi 7723 ;; 7724esac 7725 7726# Use C for the default configuration in the libtool script 7727 7728lt_save_CC="$CC" 7729ac_ext=c 7730ac_cpp='$CPP $CPPFLAGS' 7731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7733ac_compiler_gnu=$ac_cv_c_compiler_gnu 7734 7735 7736# Source file extension for C test sources. 7737ac_ext=c 7738 7739# Object file extension for compiled C test sources. 7740objext=o 7741objext=$objext 7742 7743# Code to be used in simple compile tests 7744lt_simple_compile_test_code="int some_variable = 0;" 7745 7746# Code to be used in simple link tests 7747lt_simple_link_test_code='int main(){return(0);}' 7748 7749 7750 7751 7752 7753 7754 7755# If no C compiler was specified, use CC. 7756LTCC=${LTCC-"$CC"} 7757 7758# If no C compiler flags were specified, use CFLAGS. 7759LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7760 7761# Allow CC to be a program name with arguments. 7762compiler=$CC 7763 7764# Save the default compiler, since it gets overwritten when the other 7765# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7766compiler_DEFAULT=$CC 7767 7768# save warnings/boilerplate of simple test code 7769ac_outfile=conftest.$ac_objext 7770echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7771eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7772_lt_compiler_boilerplate=`cat conftest.err` 7773$RM conftest* 7774 7775ac_outfile=conftest.$ac_objext 7776echo "$lt_simple_link_test_code" >conftest.$ac_ext 7777eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7778_lt_linker_boilerplate=`cat conftest.err` 7779$RM -r conftest* 7780 7781 7782if test -n "$compiler"; then 7783 7784lt_prog_compiler_no_builtin_flag= 7785 7786if test "$GCC" = yes; then 7787 case $cc_basename in 7788 nvcc*) 7789 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7790 *) 7791 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7792 esac 7793 7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7795$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7796if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7797 $as_echo_n "(cached) " >&6 7798else 7799 lt_cv_prog_compiler_rtti_exceptions=no 7800 ac_outfile=conftest.$ac_objext 7801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7802 lt_compiler_flag="-fno-rtti -fno-exceptions" 7803 # Insert the option either (1) after the last *FLAGS variable, or 7804 # (2) before a word containing "conftest.", or (3) at the end. 7805 # Note that $ac_compile itself does not contain backslashes and begins 7806 # with a dollar sign (not a hyphen), so the echo should work correctly. 7807 # The option is referenced via a variable to avoid confusing sed. 7808 lt_compile=`echo "$ac_compile" | $SED \ 7809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7811 -e 's:$: $lt_compiler_flag:'` 7812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 7813 (eval "$lt_compile" 2>conftest.err) 7814 ac_status=$? 7815 cat conftest.err >&5 7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7817 if (exit $ac_status) && test -s "$ac_outfile"; then 7818 # The compiler can only warn and ignore the option if not recognized 7819 # So say no if there are warnings other than the usual output. 7820 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 7821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7822 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7823 lt_cv_prog_compiler_rtti_exceptions=yes 7824 fi 7825 fi 7826 $RM conftest* 7827 7828fi 7829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7830$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7831 7832if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7833 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7834else 7835 : 7836fi 7837 7838fi 7839 7840 7841 7842 7843 7844 7845 lt_prog_compiler_wl= 7846lt_prog_compiler_pic= 7847lt_prog_compiler_static= 7848 7849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7850$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7851 7852 if test "$GCC" = yes; then 7853 lt_prog_compiler_wl='-Wl,' 7854 lt_prog_compiler_static='-static' 7855 7856 case $host_os in 7857 aix*) 7858 # All AIX code is PIC. 7859 if test "$host_cpu" = ia64; then 7860 # AIX 5 now supports IA64 processor 7861 lt_prog_compiler_static='-Bstatic' 7862 fi 7863 ;; 7864 7865 amigaos*) 7866 case $host_cpu in 7867 powerpc) 7868 # see comment about AmigaOS4 .so support 7869 lt_prog_compiler_pic='-fPIC' 7870 ;; 7871 m68k) 7872 # FIXME: we need at least 68020 code to build shared libraries, but 7873 # adding the `-m68020' flag to GCC prevents building anything better, 7874 # like `-m68040'. 7875 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7876 ;; 7877 esac 7878 ;; 7879 7880 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7881 # PIC is the default for these OSes. 7882 ;; 7883 7884 mingw* | cygwin* | pw32* | os2* | cegcc*) 7885 # This hack is so that the source file can tell whether it is being 7886 # built for inclusion in a dll (and should export symbols for example). 7887 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7888 # (--disable-auto-import) libraries 7889 lt_prog_compiler_pic='-DDLL_EXPORT' 7890 ;; 7891 7892 darwin* | rhapsody*) 7893 # PIC is the default on this platform 7894 # Common symbols not allowed in MH_DYLIB files 7895 lt_prog_compiler_pic='-fno-common' 7896 ;; 7897 7898 haiku*) 7899 # PIC is the default for Haiku. 7900 # The "-static" flag exists, but is broken. 7901 lt_prog_compiler_static= 7902 ;; 7903 7904 hpux*) 7905 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7906 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7907 # sets the default TLS model and affects inlining. 7908 case $host_cpu in 7909 hppa*64*) 7910 # +Z the default 7911 ;; 7912 *) 7913 lt_prog_compiler_pic='-fPIC' 7914 ;; 7915 esac 7916 ;; 7917 7918 interix[3-9]*) 7919 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7920 # Instead, we relocate shared libraries at runtime. 7921 ;; 7922 7923 msdosdjgpp*) 7924 # Just because we use GCC doesn't mean we suddenly get shared libraries 7925 # on systems that don't support them. 7926 lt_prog_compiler_can_build_shared=no 7927 enable_shared=no 7928 ;; 7929 7930 *nto* | *qnx*) 7931 # QNX uses GNU C++, but need to define -shared option too, otherwise 7932 # it will coredump. 7933 lt_prog_compiler_pic='-fPIC -shared' 7934 ;; 7935 7936 sysv4*MP*) 7937 if test -d /usr/nec; then 7938 lt_prog_compiler_pic=-Kconform_pic 7939 fi 7940 ;; 7941 7942 *) 7943 lt_prog_compiler_pic='-fPIC' 7944 ;; 7945 esac 7946 7947 case $cc_basename in 7948 nvcc*) # Cuda Compiler Driver 2.2 7949 lt_prog_compiler_wl='-Xlinker ' 7950 lt_prog_compiler_pic='-Xcompiler -fPIC' 7951 ;; 7952 esac 7953 else 7954 # PORTME Check for flag to pass linker flags through the system compiler. 7955 case $host_os in 7956 aix*) 7957 lt_prog_compiler_wl='-Wl,' 7958 if test "$host_cpu" = ia64; then 7959 # AIX 5 now supports IA64 processor 7960 lt_prog_compiler_static='-Bstatic' 7961 else 7962 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7963 fi 7964 ;; 7965 7966 mingw* | cygwin* | pw32* | os2* | cegcc*) 7967 # This hack is so that the source file can tell whether it is being 7968 # built for inclusion in a dll (and should export symbols for example). 7969 lt_prog_compiler_pic='-DDLL_EXPORT' 7970 ;; 7971 7972 hpux9* | hpux10* | hpux11*) 7973 lt_prog_compiler_wl='-Wl,' 7974 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7975 # not for PA HP-UX. 7976 case $host_cpu in 7977 hppa*64*|ia64*) 7978 # +Z the default 7979 ;; 7980 *) 7981 lt_prog_compiler_pic='+Z' 7982 ;; 7983 esac 7984 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7985 lt_prog_compiler_static='${wl}-a ${wl}archive' 7986 ;; 7987 7988 irix5* | irix6* | nonstopux*) 7989 lt_prog_compiler_wl='-Wl,' 7990 # PIC (with -KPIC) is the default. 7991 lt_prog_compiler_static='-non_shared' 7992 ;; 7993 7994 linux* | k*bsd*-gnu | kopensolaris*-gnu) 7995 case $cc_basename in 7996 # old Intel for x86_64 which still supported -KPIC. 7997 ecc*) 7998 lt_prog_compiler_wl='-Wl,' 7999 lt_prog_compiler_pic='-KPIC' 8000 lt_prog_compiler_static='-static' 8001 ;; 8002 # icc used to be incompatible with GCC. 8003 # ICC 10 doesn't accept -KPIC any more. 8004 icc* | ifort*) 8005 lt_prog_compiler_wl='-Wl,' 8006 lt_prog_compiler_pic='-fPIC' 8007 lt_prog_compiler_static='-static' 8008 ;; 8009 # Lahey Fortran 8.1. 8010 lf95*) 8011 lt_prog_compiler_wl='-Wl,' 8012 lt_prog_compiler_pic='--shared' 8013 lt_prog_compiler_static='--static' 8014 ;; 8015 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8016 # Portland Group compilers (*not* the Pentium gcc compiler, 8017 # which looks to be a dead project) 8018 lt_prog_compiler_wl='-Wl,' 8019 lt_prog_compiler_pic='-fpic' 8020 lt_prog_compiler_static='-Bstatic' 8021 ;; 8022 ccc*) 8023 lt_prog_compiler_wl='-Wl,' 8024 # All Alpha code is PIC. 8025 lt_prog_compiler_static='-non_shared' 8026 ;; 8027 xl* | bgxl* | bgf* | mpixl*) 8028 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8029 lt_prog_compiler_wl='-Wl,' 8030 lt_prog_compiler_pic='-qpic' 8031 lt_prog_compiler_static='-qstaticlink' 8032 ;; 8033 *) 8034 case `$CC -V 2>&1 | sed 5q` in 8035 *Sun\ F* | *Sun*Fortran*) 8036 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8037 lt_prog_compiler_pic='-KPIC' 8038 lt_prog_compiler_static='-Bstatic' 8039 lt_prog_compiler_wl='' 8040 ;; 8041 *Sun\ C*) 8042 # Sun C 5.9 8043 lt_prog_compiler_pic='-KPIC' 8044 lt_prog_compiler_static='-Bstatic' 8045 lt_prog_compiler_wl='-Wl,' 8046 ;; 8047 esac 8048 ;; 8049 esac 8050 ;; 8051 8052 newsos6) 8053 lt_prog_compiler_pic='-KPIC' 8054 lt_prog_compiler_static='-Bstatic' 8055 ;; 8056 8057 *nto* | *qnx*) 8058 # QNX uses GNU C++, but need to define -shared option too, otherwise 8059 # it will coredump. 8060 lt_prog_compiler_pic='-fPIC -shared' 8061 ;; 8062 8063 osf3* | osf4* | osf5*) 8064 lt_prog_compiler_wl='-Wl,' 8065 # All OSF/1 code is PIC. 8066 lt_prog_compiler_static='-non_shared' 8067 ;; 8068 8069 rdos*) 8070 lt_prog_compiler_static='-non_shared' 8071 ;; 8072 8073 solaris*) 8074 lt_prog_compiler_pic='-KPIC' 8075 lt_prog_compiler_static='-Bstatic' 8076 case $cc_basename in 8077 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8078 lt_prog_compiler_wl='-Qoption ld ';; 8079 *) 8080 lt_prog_compiler_wl='-Wl,';; 8081 esac 8082 ;; 8083 8084 sunos4*) 8085 lt_prog_compiler_wl='-Qoption ld ' 8086 lt_prog_compiler_pic='-PIC' 8087 lt_prog_compiler_static='-Bstatic' 8088 ;; 8089 8090 sysv4 | sysv4.2uw2* | sysv4.3*) 8091 lt_prog_compiler_wl='-Wl,' 8092 lt_prog_compiler_pic='-KPIC' 8093 lt_prog_compiler_static='-Bstatic' 8094 ;; 8095 8096 sysv4*MP*) 8097 if test -d /usr/nec ;then 8098 lt_prog_compiler_pic='-Kconform_pic' 8099 lt_prog_compiler_static='-Bstatic' 8100 fi 8101 ;; 8102 8103 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8104 lt_prog_compiler_wl='-Wl,' 8105 lt_prog_compiler_pic='-KPIC' 8106 lt_prog_compiler_static='-Bstatic' 8107 ;; 8108 8109 unicos*) 8110 lt_prog_compiler_wl='-Wl,' 8111 lt_prog_compiler_can_build_shared=no 8112 ;; 8113 8114 uts4*) 8115 lt_prog_compiler_pic='-pic' 8116 lt_prog_compiler_static='-Bstatic' 8117 ;; 8118 8119 *) 8120 lt_prog_compiler_can_build_shared=no 8121 ;; 8122 esac 8123 fi 8124 8125case $host_os in 8126 # For platforms which do not support PIC, -DPIC is meaningless: 8127 *djgpp*) 8128 lt_prog_compiler_pic= 8129 ;; 8130 *) 8131 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8132 ;; 8133esac 8134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 8135$as_echo "$lt_prog_compiler_pic" >&6; } 8136 8137 8138 8139 8140 8141 8142# 8143# Check to make sure the PIC flag actually works. 8144# 8145if test -n "$lt_prog_compiler_pic"; then 8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8147$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8148if ${lt_cv_prog_compiler_pic_works+:} false; then : 8149 $as_echo_n "(cached) " >&6 8150else 8151 lt_cv_prog_compiler_pic_works=no 8152 ac_outfile=conftest.$ac_objext 8153 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8154 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8155 # Insert the option either (1) after the last *FLAGS variable, or 8156 # (2) before a word containing "conftest.", or (3) at the end. 8157 # Note that $ac_compile itself does not contain backslashes and begins 8158 # with a dollar sign (not a hyphen), so the echo should work correctly. 8159 # The option is referenced via a variable to avoid confusing sed. 8160 lt_compile=`echo "$ac_compile" | $SED \ 8161 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8163 -e 's:$: $lt_compiler_flag:'` 8164 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8165 (eval "$lt_compile" 2>conftest.err) 8166 ac_status=$? 8167 cat conftest.err >&5 8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8169 if (exit $ac_status) && test -s "$ac_outfile"; then 8170 # The compiler can only warn and ignore the option if not recognized 8171 # So say no if there are warnings other than the usual output. 8172 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8173 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8174 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8175 lt_cv_prog_compiler_pic_works=yes 8176 fi 8177 fi 8178 $RM conftest* 8179 8180fi 8181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8182$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8183 8184if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8185 case $lt_prog_compiler_pic in 8186 "" | " "*) ;; 8187 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8188 esac 8189else 8190 lt_prog_compiler_pic= 8191 lt_prog_compiler_can_build_shared=no 8192fi 8193 8194fi 8195 8196 8197 8198 8199 8200 8201# 8202# Check to make sure the static flag actually works. 8203# 8204wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8206$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8207if ${lt_cv_prog_compiler_static_works+:} false; then : 8208 $as_echo_n "(cached) " >&6 8209else 8210 lt_cv_prog_compiler_static_works=no 8211 save_LDFLAGS="$LDFLAGS" 8212 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8213 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8214 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8215 # The linker can only warn and ignore the option if not recognized 8216 # So say no if there are warnings 8217 if test -s conftest.err; then 8218 # Append any errors to the config.log. 8219 cat conftest.err 1>&5 8220 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8221 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8222 if diff conftest.exp conftest.er2 >/dev/null; then 8223 lt_cv_prog_compiler_static_works=yes 8224 fi 8225 else 8226 lt_cv_prog_compiler_static_works=yes 8227 fi 8228 fi 8229 $RM -r conftest* 8230 LDFLAGS="$save_LDFLAGS" 8231 8232fi 8233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8234$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8235 8236if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8237 : 8238else 8239 lt_prog_compiler_static= 8240fi 8241 8242 8243 8244 8245 8246 8247 8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8249$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8250if ${lt_cv_prog_compiler_c_o+:} false; then : 8251 $as_echo_n "(cached) " >&6 8252else 8253 lt_cv_prog_compiler_c_o=no 8254 $RM -r conftest 2>/dev/null 8255 mkdir conftest 8256 cd conftest 8257 mkdir out 8258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8259 8260 lt_compiler_flag="-o out/conftest2.$ac_objext" 8261 # Insert the option either (1) after the last *FLAGS variable, or 8262 # (2) before a word containing "conftest.", or (3) at the end. 8263 # Note that $ac_compile itself does not contain backslashes and begins 8264 # with a dollar sign (not a hyphen), so the echo should work correctly. 8265 lt_compile=`echo "$ac_compile" | $SED \ 8266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8268 -e 's:$: $lt_compiler_flag:'` 8269 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8270 (eval "$lt_compile" 2>out/conftest.err) 8271 ac_status=$? 8272 cat out/conftest.err >&5 8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8274 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8275 then 8276 # The compiler can only warn and ignore the option if not recognized 8277 # So say no if there are warnings 8278 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8279 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8280 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8281 lt_cv_prog_compiler_c_o=yes 8282 fi 8283 fi 8284 chmod u+w . 2>&5 8285 $RM conftest* 8286 # SGI C++ compiler will create directory out/ii_files/ for 8287 # template instantiation 8288 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8289 $RM out/* && rmdir out 8290 cd .. 8291 $RM -r conftest 8292 $RM conftest* 8293 8294fi 8295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8296$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8297 8298 8299 8300 8301 8302 8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8304$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8305if ${lt_cv_prog_compiler_c_o+:} false; then : 8306 $as_echo_n "(cached) " >&6 8307else 8308 lt_cv_prog_compiler_c_o=no 8309 $RM -r conftest 2>/dev/null 8310 mkdir conftest 8311 cd conftest 8312 mkdir out 8313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8314 8315 lt_compiler_flag="-o out/conftest2.$ac_objext" 8316 # Insert the option either (1) after the last *FLAGS variable, or 8317 # (2) before a word containing "conftest.", or (3) at the end. 8318 # Note that $ac_compile itself does not contain backslashes and begins 8319 # with a dollar sign (not a hyphen), so the echo should work correctly. 8320 lt_compile=`echo "$ac_compile" | $SED \ 8321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8323 -e 's:$: $lt_compiler_flag:'` 8324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8325 (eval "$lt_compile" 2>out/conftest.err) 8326 ac_status=$? 8327 cat out/conftest.err >&5 8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8329 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8330 then 8331 # The compiler can only warn and ignore the option if not recognized 8332 # So say no if there are warnings 8333 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8334 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8335 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8336 lt_cv_prog_compiler_c_o=yes 8337 fi 8338 fi 8339 chmod u+w . 2>&5 8340 $RM conftest* 8341 # SGI C++ compiler will create directory out/ii_files/ for 8342 # template instantiation 8343 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8344 $RM out/* && rmdir out 8345 cd .. 8346 $RM -r conftest 8347 $RM conftest* 8348 8349fi 8350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8351$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8352 8353 8354 8355 8356hard_links="nottested" 8357if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8358 # do not overwrite the value of need_locks provided by the user 8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8360$as_echo_n "checking if we can lock with hard links... " >&6; } 8361 hard_links=yes 8362 $RM conftest* 8363 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8364 touch conftest.a 8365 ln conftest.a conftest.b 2>&5 || hard_links=no 8366 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8368$as_echo "$hard_links" >&6; } 8369 if test "$hard_links" = no; then 8370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8371$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8372 need_locks=warn 8373 fi 8374else 8375 need_locks=no 8376fi 8377 8378 8379 8380 8381 8382 8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8384$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8385 8386 runpath_var= 8387 allow_undefined_flag= 8388 always_export_symbols=no 8389 archive_cmds= 8390 archive_expsym_cmds= 8391 compiler_needs_object=no 8392 enable_shared_with_static_runtimes=no 8393 export_dynamic_flag_spec= 8394 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8395 hardcode_automatic=no 8396 hardcode_direct=no 8397 hardcode_direct_absolute=no 8398 hardcode_libdir_flag_spec= 8399 hardcode_libdir_flag_spec_ld= 8400 hardcode_libdir_separator= 8401 hardcode_minus_L=no 8402 hardcode_shlibpath_var=unsupported 8403 inherit_rpath=no 8404 link_all_deplibs=unknown 8405 module_cmds= 8406 module_expsym_cmds= 8407 old_archive_from_new_cmds= 8408 old_archive_from_expsyms_cmds= 8409 thread_safe_flag_spec= 8410 whole_archive_flag_spec= 8411 # include_expsyms should be a list of space-separated symbols to be *always* 8412 # included in the symbol list 8413 include_expsyms= 8414 # exclude_expsyms can be an extended regexp of symbols to exclude 8415 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8416 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8417 # as well as any symbol that contains `d'. 8418 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8419 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8420 # platforms (ab)use it in PIC code, but their linkers get confused if 8421 # the symbol is explicitly referenced. Since portable code cannot 8422 # rely on this symbol name, it's probably fine to never include it in 8423 # preloaded symbol tables. 8424 # Exclude shared library initialization/finalization symbols. 8425 extract_expsyms_cmds= 8426 8427 case $host_os in 8428 cygwin* | mingw* | pw32* | cegcc*) 8429 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8430 # When not using gcc, we currently assume that we are using 8431 # Microsoft Visual C++. 8432 if test "$GCC" != yes; then 8433 with_gnu_ld=no 8434 fi 8435 ;; 8436 interix*) 8437 # we just hope/assume this is gcc and not c89 (= MSVC++) 8438 with_gnu_ld=yes 8439 ;; 8440 openbsd*) 8441 with_gnu_ld=no 8442 ;; 8443 esac 8444 8445 ld_shlibs=yes 8446 8447 # On some targets, GNU ld is compatible enough with the native linker 8448 # that we're better off using the native interface for both. 8449 lt_use_gnu_ld_interface=no 8450 if test "$with_gnu_ld" = yes; then 8451 case $host_os in 8452 aix*) 8453 # The AIX port of GNU ld has always aspired to compatibility 8454 # with the native linker. However, as the warning in the GNU ld 8455 # block says, versions before 2.19.5* couldn't really create working 8456 # shared libraries, regardless of the interface used. 8457 case `$LD -v 2>&1` in 8458 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8459 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8460 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8461 *) 8462 lt_use_gnu_ld_interface=yes 8463 ;; 8464 esac 8465 ;; 8466 *) 8467 lt_use_gnu_ld_interface=yes 8468 ;; 8469 esac 8470 fi 8471 8472 if test "$lt_use_gnu_ld_interface" = yes; then 8473 # If archive_cmds runs LD, not CC, wlarc should be empty 8474 wlarc='${wl}' 8475 8476 # Set some defaults for GNU ld with shared library support. These 8477 # are reset later if shared libraries are not supported. Putting them 8478 # here allows them to be overridden if necessary. 8479 runpath_var=LD_RUN_PATH 8480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8481 export_dynamic_flag_spec='${wl}--export-dynamic' 8482 # ancient GNU ld didn't support --whole-archive et. al. 8483 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8484 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8485 else 8486 whole_archive_flag_spec= 8487 fi 8488 supports_anon_versioning=no 8489 case `$LD -v 2>&1` in 8490 *GNU\ gold*) supports_anon_versioning=yes ;; 8491 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8492 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8493 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8494 *\ 2.11.*) ;; # other 2.11 versions 8495 *) supports_anon_versioning=yes ;; 8496 esac 8497 8498 # See if GNU ld supports shared libraries. 8499 case $host_os in 8500 aix[3-9]*) 8501 # On AIX/PPC, the GNU linker is very broken 8502 if test "$host_cpu" != ia64; then 8503 ld_shlibs=no 8504 cat <<_LT_EOF 1>&2 8505 8506*** Warning: the GNU linker, at least up to release 2.19, is reported 8507*** to be unable to reliably create shared libraries on AIX. 8508*** Therefore, libtool is disabling shared libraries support. If you 8509*** really care for shared libraries, you may want to install binutils 8510*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8511*** You will then need to restart the configuration process. 8512 8513_LT_EOF 8514 fi 8515 ;; 8516 8517 amigaos*) 8518 case $host_cpu in 8519 powerpc) 8520 # see comment about AmigaOS4 .so support 8521 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8522 archive_expsym_cmds='' 8523 ;; 8524 m68k) 8525 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)' 8526 hardcode_libdir_flag_spec='-L$libdir' 8527 hardcode_minus_L=yes 8528 ;; 8529 esac 8530 ;; 8531 8532 beos*) 8533 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8534 allow_undefined_flag=unsupported 8535 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8536 # support --undefined. This deserves some investigation. FIXME 8537 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8538 else 8539 ld_shlibs=no 8540 fi 8541 ;; 8542 8543 cygwin* | mingw* | pw32* | cegcc*) 8544 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8545 # as there is no search path for DLLs. 8546 hardcode_libdir_flag_spec='-L$libdir' 8547 export_dynamic_flag_spec='${wl}--export-all-symbols' 8548 allow_undefined_flag=unsupported 8549 always_export_symbols=no 8550 enable_shared_with_static_runtimes=yes 8551 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8552 8553 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8554 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8555 # If the export-symbols file already is a .def file (1st line 8556 # is EXPORTS), use it as is; otherwise, prepend... 8557 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8558 cp $export_symbols $output_objdir/$soname.def; 8559 else 8560 echo EXPORTS > $output_objdir/$soname.def; 8561 cat $export_symbols >> $output_objdir/$soname.def; 8562 fi~ 8563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8564 else 8565 ld_shlibs=no 8566 fi 8567 ;; 8568 8569 haiku*) 8570 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8571 link_all_deplibs=yes 8572 ;; 8573 8574 interix[3-9]*) 8575 hardcode_direct=no 8576 hardcode_shlibpath_var=no 8577 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8578 export_dynamic_flag_spec='${wl}-E' 8579 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8580 # Instead, shared libraries are loaded at an image base (0x10000000 by 8581 # default) and relocated if they conflict, which is a slow very memory 8582 # consuming and fragmenting process. To avoid this, we pick a random, 8583 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8584 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8585 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8586 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' 8587 ;; 8588 8589 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 8590 tmp_diet=no 8591 if test "$host_os" = linux-dietlibc; then 8592 case $cc_basename in 8593 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8594 esac 8595 fi 8596 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8597 && test "$tmp_diet" = no 8598 then 8599 tmp_addflag= 8600 tmp_sharedflag='-shared' 8601 case $cc_basename,$host_cpu in 8602 pgcc*) # Portland Group C compiler 8603 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' 8604 tmp_addflag=' $pic_flag' 8605 ;; 8606 pgf77* | pgf90* | pgf95* | pgfortran*) 8607 # Portland Group f77 and f90 compilers 8608 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' 8609 tmp_addflag=' $pic_flag -Mnomain' ;; 8610 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8611 tmp_addflag=' -i_dynamic' ;; 8612 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8613 tmp_addflag=' -i_dynamic -nofor_main' ;; 8614 ifc* | ifort*) # Intel Fortran compiler 8615 tmp_addflag=' -nofor_main' ;; 8616 lf95*) # Lahey Fortran 8.1 8617 whole_archive_flag_spec= 8618 tmp_sharedflag='--shared' ;; 8619 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8620 tmp_sharedflag='-qmkshrobj' 8621 tmp_addflag= ;; 8622 nvcc*) # Cuda Compiler Driver 2.2 8623 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' 8624 compiler_needs_object=yes 8625 ;; 8626 esac 8627 case `$CC -V 2>&1 | sed 5q` in 8628 *Sun\ C*) # Sun C 5.9 8629 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' 8630 compiler_needs_object=yes 8631 tmp_sharedflag='-G' ;; 8632 *Sun\ F*) # Sun Fortran 8.3 8633 tmp_sharedflag='-G' ;; 8634 esac 8635 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8636 8637 if test "x$supports_anon_versioning" = xyes; then 8638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8640 echo "local: *; };" >> $output_objdir/$libname.ver~ 8641 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8642 fi 8643 8644 case $cc_basename in 8645 xlf* | bgf* | bgxlf* | mpixlf*) 8646 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8647 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8648 hardcode_libdir_flag_spec= 8649 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8650 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 8651 if test "x$supports_anon_versioning" = xyes; then 8652 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8653 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8654 echo "local: *; };" >> $output_objdir/$libname.ver~ 8655 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8656 fi 8657 ;; 8658 esac 8659 else 8660 ld_shlibs=no 8661 fi 8662 ;; 8663 8664 netbsd*) 8665 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8666 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8667 wlarc= 8668 else 8669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8670 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8671 fi 8672 ;; 8673 8674 solaris*) 8675 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8676 ld_shlibs=no 8677 cat <<_LT_EOF 1>&2 8678 8679*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8680*** create shared libraries on Solaris systems. Therefore, libtool 8681*** is disabling shared libraries support. We urge you to upgrade GNU 8682*** binutils to release 2.9.1 or newer. Another option is to modify 8683*** your PATH or compiler configuration so that the native linker is 8684*** used, and then restart. 8685 8686_LT_EOF 8687 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8689 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8690 else 8691 ld_shlibs=no 8692 fi 8693 ;; 8694 8695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8696 case `$LD -v 2>&1` in 8697 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8698 ld_shlibs=no 8699 cat <<_LT_EOF 1>&2 8700 8701*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8702*** reliably create shared libraries on SCO systems. Therefore, libtool 8703*** is disabling shared libraries support. We urge you to upgrade GNU 8704*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8705*** your PATH or compiler configuration so that the native linker is 8706*** used, and then restart. 8707 8708_LT_EOF 8709 ;; 8710 *) 8711 # For security reasons, it is highly recommended that you always 8712 # use absolute paths for naming shared libraries, and exclude the 8713 # DT_RUNPATH tag from executables and libraries. But doing so 8714 # requires that you compile everything twice, which is a pain. 8715 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8718 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8719 else 8720 ld_shlibs=no 8721 fi 8722 ;; 8723 esac 8724 ;; 8725 8726 sunos4*) 8727 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8728 wlarc= 8729 hardcode_direct=yes 8730 hardcode_shlibpath_var=no 8731 ;; 8732 8733 *) 8734 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8736 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8737 else 8738 ld_shlibs=no 8739 fi 8740 ;; 8741 esac 8742 8743 if test "$ld_shlibs" = no; then 8744 runpath_var= 8745 hardcode_libdir_flag_spec= 8746 export_dynamic_flag_spec= 8747 whole_archive_flag_spec= 8748 fi 8749 else 8750 # PORTME fill in a description of your system's linker (not GNU ld) 8751 case $host_os in 8752 aix3*) 8753 allow_undefined_flag=unsupported 8754 always_export_symbols=yes 8755 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' 8756 # Note: this linker hardcodes the directories in LIBPATH if there 8757 # are no directories specified by -L. 8758 hardcode_minus_L=yes 8759 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8760 # Neither direct hardcoding nor static linking is supported with a 8761 # broken collect2. 8762 hardcode_direct=unsupported 8763 fi 8764 ;; 8765 8766 aix[4-9]*) 8767 if test "$host_cpu" = ia64; then 8768 # On IA64, the linker does run time linking by default, so we don't 8769 # have to do anything special. 8770 aix_use_runtimelinking=no 8771 exp_sym_flag='-Bexport' 8772 no_entry_flag="" 8773 else 8774 # If we're using GNU nm, then we don't want the "-C" option. 8775 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8776 # Also, AIX nm treats weak defined symbols like other global 8777 # defined symbols, whereas GNU nm marks them as "W". 8778 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8779 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' 8780 else 8781 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' 8782 fi 8783 aix_use_runtimelinking=no 8784 8785 # Test if we are trying to use run time linking or normal 8786 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8787 # need to do runtime linking. 8788 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8789 for ld_flag in $LDFLAGS; do 8790 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8791 aix_use_runtimelinking=yes 8792 break 8793 fi 8794 done 8795 ;; 8796 esac 8797 8798 exp_sym_flag='-bexport' 8799 no_entry_flag='-bnoentry' 8800 fi 8801 8802 # When large executables or shared objects are built, AIX ld can 8803 # have problems creating the table of contents. If linking a library 8804 # or program results in "error TOC overflow" add -mminimal-toc to 8805 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8806 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8807 8808 archive_cmds='' 8809 hardcode_direct=yes 8810 hardcode_direct_absolute=yes 8811 hardcode_libdir_separator=':' 8812 link_all_deplibs=yes 8813 file_list_spec='${wl}-f,' 8814 8815 if test "$GCC" = yes; then 8816 case $host_os in aix4.[012]|aix4.[012].*) 8817 # We only want to do this on AIX 4.2 and lower, the check 8818 # below for broken collect2 doesn't work under 4.3+ 8819 collect2name=`${CC} -print-prog-name=collect2` 8820 if test -f "$collect2name" && 8821 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8822 then 8823 # We have reworked collect2 8824 : 8825 else 8826 # We have old collect2 8827 hardcode_direct=unsupported 8828 # It fails to find uninstalled libraries when the uninstalled 8829 # path is not listed in the libpath. Setting hardcode_minus_L 8830 # to unsupported forces relinking 8831 hardcode_minus_L=yes 8832 hardcode_libdir_flag_spec='-L$libdir' 8833 hardcode_libdir_separator= 8834 fi 8835 ;; 8836 esac 8837 shared_flag='-shared' 8838 if test "$aix_use_runtimelinking" = yes; then 8839 shared_flag="$shared_flag "'${wl}-G' 8840 fi 8841 else 8842 # not using gcc 8843 if test "$host_cpu" = ia64; then 8844 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8845 # chokes on -Wl,-G. The following line is correct: 8846 shared_flag='-G' 8847 else 8848 if test "$aix_use_runtimelinking" = yes; then 8849 shared_flag='${wl}-G' 8850 else 8851 shared_flag='${wl}-bM:SRE' 8852 fi 8853 fi 8854 fi 8855 8856 export_dynamic_flag_spec='${wl}-bexpall' 8857 # It seems that -bexpall does not export symbols beginning with 8858 # underscore (_), so it is better to generate a list of symbols to export. 8859 always_export_symbols=yes 8860 if test "$aix_use_runtimelinking" = yes; then 8861 # Warning - without using the other runtime loading flags (-brtl), 8862 # -berok will link without error, but may produce a broken library. 8863 allow_undefined_flag='-berok' 8864 # Determine the default libpath from the value encoded in an 8865 # empty executable. 8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8867/* end confdefs.h. */ 8868 8869int 8870main () 8871{ 8872 8873 ; 8874 return 0; 8875} 8876_ACEOF 8877if ac_fn_c_try_link "$LINENO"; then : 8878 8879lt_aix_libpath_sed=' 8880 /Import File Strings/,/^$/ { 8881 /^0/ { 8882 s/^0 *\(.*\)$/\1/ 8883 p 8884 } 8885 }' 8886aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8887# Check for a 64-bit object if we didn't find anything. 8888if test -z "$aix_libpath"; then 8889 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8890fi 8891fi 8892rm -f core conftest.err conftest.$ac_objext \ 8893 conftest$ac_exeext conftest.$ac_ext 8894if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8895 8896 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8897 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" 8898 else 8899 if test "$host_cpu" = ia64; then 8900 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8901 allow_undefined_flag="-z nodefs" 8902 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" 8903 else 8904 # Determine the default libpath from the value encoded in an 8905 # empty executable. 8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8907/* end confdefs.h. */ 8908 8909int 8910main () 8911{ 8912 8913 ; 8914 return 0; 8915} 8916_ACEOF 8917if ac_fn_c_try_link "$LINENO"; then : 8918 8919lt_aix_libpath_sed=' 8920 /Import File Strings/,/^$/ { 8921 /^0/ { 8922 s/^0 *\(.*\)$/\1/ 8923 p 8924 } 8925 }' 8926aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8927# Check for a 64-bit object if we didn't find anything. 8928if test -z "$aix_libpath"; then 8929 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8930fi 8931fi 8932rm -f core conftest.err conftest.$ac_objext \ 8933 conftest$ac_exeext conftest.$ac_ext 8934if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8935 8936 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8937 # Warning - without using the other run time loading flags, 8938 # -berok will link without error, but may produce a broken library. 8939 no_undefined_flag=' ${wl}-bernotok' 8940 allow_undefined_flag=' ${wl}-berok' 8941 if test "$with_gnu_ld" = yes; then 8942 # We only use this code for GNU lds that support --whole-archive. 8943 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 8944 else 8945 # Exported symbols can be pulled into shared objects from archives 8946 whole_archive_flag_spec='$convenience' 8947 fi 8948 archive_cmds_need_lc=yes 8949 # This is similar to how AIX traditionally builds its shared libraries. 8950 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' 8951 fi 8952 fi 8953 ;; 8954 8955 amigaos*) 8956 case $host_cpu in 8957 powerpc) 8958 # see comment about AmigaOS4 .so support 8959 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8960 archive_expsym_cmds='' 8961 ;; 8962 m68k) 8963 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)' 8964 hardcode_libdir_flag_spec='-L$libdir' 8965 hardcode_minus_L=yes 8966 ;; 8967 esac 8968 ;; 8969 8970 bsdi[45]*) 8971 export_dynamic_flag_spec=-rdynamic 8972 ;; 8973 8974 cygwin* | mingw* | pw32* | cegcc*) 8975 # When not using gcc, we currently assume that we are using 8976 # Microsoft Visual C++. 8977 # hardcode_libdir_flag_spec is actually meaningless, as there is 8978 # no search path for DLLs. 8979 hardcode_libdir_flag_spec=' ' 8980 allow_undefined_flag=unsupported 8981 # Tell ltmain to make .lib files, not .a files. 8982 libext=lib 8983 # Tell ltmain to make .dll files, not .so files. 8984 shrext_cmds=".dll" 8985 # FIXME: Setting linknames here is a bad hack. 8986 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 8987 # The linker will automatically build a .lib file if we build a DLL. 8988 old_archive_from_new_cmds='true' 8989 # FIXME: Should let the user specify the lib program. 8990 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8991 fix_srcfile_path='`cygpath -w "$srcfile"`' 8992 enable_shared_with_static_runtimes=yes 8993 ;; 8994 8995 darwin* | rhapsody*) 8996 8997 8998 archive_cmds_need_lc=no 8999 hardcode_direct=no 9000 hardcode_automatic=yes 9001 hardcode_shlibpath_var=unsupported 9002 if test "$lt_cv_ld_force_load" = "yes"; then 9003 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\"`' 9004 else 9005 whole_archive_flag_spec='' 9006 fi 9007 link_all_deplibs=yes 9008 allow_undefined_flag="$_lt_dar_allow_undefined" 9009 case $cc_basename in 9010 ifort*) _lt_dar_can_shared=yes ;; 9011 *) _lt_dar_can_shared=$GCC ;; 9012 esac 9013 if test "$_lt_dar_can_shared" = "yes"; then 9014 output_verbose_link_cmd=func_echo_all 9015 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9016 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9017 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}" 9018 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}" 9019 9020 else 9021 ld_shlibs=no 9022 fi 9023 9024 ;; 9025 9026 dgux*) 9027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9028 hardcode_libdir_flag_spec='-L$libdir' 9029 hardcode_shlibpath_var=no 9030 ;; 9031 9032 freebsd1*) 9033 ld_shlibs=no 9034 ;; 9035 9036 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9037 # support. Future versions do this automatically, but an explicit c++rt0.o 9038 # does not break anything, and helps significantly (at the cost of a little 9039 # extra space). 9040 freebsd2.2*) 9041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9042 hardcode_libdir_flag_spec='-R$libdir' 9043 hardcode_direct=yes 9044 hardcode_shlibpath_var=no 9045 ;; 9046 9047 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9048 freebsd2*) 9049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9050 hardcode_direct=yes 9051 hardcode_minus_L=yes 9052 hardcode_shlibpath_var=no 9053 ;; 9054 9055 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9056 freebsd* | dragonfly*) 9057 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9058 hardcode_libdir_flag_spec='-R$libdir' 9059 hardcode_direct=yes 9060 hardcode_shlibpath_var=no 9061 ;; 9062 9063 hpux9*) 9064 if test "$GCC" = yes; then 9065 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9066 else 9067 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' 9068 fi 9069 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9070 hardcode_libdir_separator=: 9071 hardcode_direct=yes 9072 9073 # hardcode_minus_L: Not really in the search PATH, 9074 # but as the default location of the library. 9075 hardcode_minus_L=yes 9076 export_dynamic_flag_spec='${wl}-E' 9077 ;; 9078 9079 hpux10*) 9080 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9081 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9082 else 9083 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9084 fi 9085 if test "$with_gnu_ld" = no; then 9086 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9087 hardcode_libdir_flag_spec_ld='+b $libdir' 9088 hardcode_libdir_separator=: 9089 hardcode_direct=yes 9090 hardcode_direct_absolute=yes 9091 export_dynamic_flag_spec='${wl}-E' 9092 # hardcode_minus_L: Not really in the search PATH, 9093 # but as the default location of the library. 9094 hardcode_minus_L=yes 9095 fi 9096 ;; 9097 9098 hpux11*) 9099 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9100 case $host_cpu in 9101 hppa*64*) 9102 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9103 ;; 9104 ia64*) 9105 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9106 ;; 9107 *) 9108 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9109 ;; 9110 esac 9111 else 9112 case $host_cpu in 9113 hppa*64*) 9114 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9115 ;; 9116 ia64*) 9117 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9118 ;; 9119 *) 9120 9121 # Older versions of the 11.00 compiler do not understand -b yet 9122 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9124$as_echo_n "checking if $CC understands -b... " >&6; } 9125if ${lt_cv_prog_compiler__b+:} false; then : 9126 $as_echo_n "(cached) " >&6 9127else 9128 lt_cv_prog_compiler__b=no 9129 save_LDFLAGS="$LDFLAGS" 9130 LDFLAGS="$LDFLAGS -b" 9131 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9132 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9133 # The linker can only warn and ignore the option if not recognized 9134 # So say no if there are warnings 9135 if test -s conftest.err; then 9136 # Append any errors to the config.log. 9137 cat conftest.err 1>&5 9138 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9139 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9140 if diff conftest.exp conftest.er2 >/dev/null; then 9141 lt_cv_prog_compiler__b=yes 9142 fi 9143 else 9144 lt_cv_prog_compiler__b=yes 9145 fi 9146 fi 9147 $RM -r conftest* 9148 LDFLAGS="$save_LDFLAGS" 9149 9150fi 9151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9152$as_echo "$lt_cv_prog_compiler__b" >&6; } 9153 9154if test x"$lt_cv_prog_compiler__b" = xyes; then 9155 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9156else 9157 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9158fi 9159 9160 ;; 9161 esac 9162 fi 9163 if test "$with_gnu_ld" = no; then 9164 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9165 hardcode_libdir_separator=: 9166 9167 case $host_cpu in 9168 hppa*64*|ia64*) 9169 hardcode_direct=no 9170 hardcode_shlibpath_var=no 9171 ;; 9172 *) 9173 hardcode_direct=yes 9174 hardcode_direct_absolute=yes 9175 export_dynamic_flag_spec='${wl}-E' 9176 9177 # hardcode_minus_L: Not really in the search PATH, 9178 # but as the default location of the library. 9179 hardcode_minus_L=yes 9180 ;; 9181 esac 9182 fi 9183 ;; 9184 9185 irix5* | irix6* | nonstopux*) 9186 if test "$GCC" = yes; then 9187 archive_cmds='$CC -shared $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' 9188 # Try to use the -exported_symbol ld option, if it does not 9189 # work, assume that -exports_file does not work either and 9190 # implicitly export all symbols. 9191 save_LDFLAGS="$LDFLAGS" 9192 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9194/* end confdefs.h. */ 9195int foo(void) {} 9196_ACEOF 9197if ac_fn_c_try_link "$LINENO"; then : 9198 archive_expsym_cmds='$CC -shared $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' 9199 9200fi 9201rm -f core conftest.err conftest.$ac_objext \ 9202 conftest$ac_exeext conftest.$ac_ext 9203 LDFLAGS="$save_LDFLAGS" 9204 else 9205 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' 9206 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' 9207 fi 9208 archive_cmds_need_lc='no' 9209 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9210 hardcode_libdir_separator=: 9211 inherit_rpath=yes 9212 link_all_deplibs=yes 9213 ;; 9214 9215 netbsd*) 9216 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9217 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9218 else 9219 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9220 fi 9221 hardcode_libdir_flag_spec='-R$libdir' 9222 hardcode_direct=yes 9223 hardcode_shlibpath_var=no 9224 ;; 9225 9226 newsos6) 9227 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9228 hardcode_direct=yes 9229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9230 hardcode_libdir_separator=: 9231 hardcode_shlibpath_var=no 9232 ;; 9233 9234 *nto* | *qnx*) 9235 ;; 9236 9237 openbsd*) 9238 if test -f /usr/libexec/ld.so; then 9239 hardcode_direct=yes 9240 hardcode_shlibpath_var=no 9241 hardcode_direct_absolute=yes 9242 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9243 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9244 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9245 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9246 export_dynamic_flag_spec='${wl}-E' 9247 else 9248 case $host_os in 9249 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9250 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9251 hardcode_libdir_flag_spec='-R$libdir' 9252 ;; 9253 *) 9254 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9255 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9256 ;; 9257 esac 9258 fi 9259 else 9260 ld_shlibs=no 9261 fi 9262 ;; 9263 9264 os2*) 9265 hardcode_libdir_flag_spec='-L$libdir' 9266 hardcode_minus_L=yes 9267 allow_undefined_flag=unsupported 9268 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' 9269 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9270 ;; 9271 9272 osf3*) 9273 if test "$GCC" = yes; then 9274 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9275 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' 9276 else 9277 allow_undefined_flag=' -expect_unresolved \*' 9278 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' 9279 fi 9280 archive_cmds_need_lc='no' 9281 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9282 hardcode_libdir_separator=: 9283 ;; 9284 9285 osf4* | osf5*) # as osf3* with the addition of -msym flag 9286 if test "$GCC" = yes; then 9287 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9288 archive_cmds='$CC -shared${allow_undefined_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' 9289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9290 else 9291 allow_undefined_flag=' -expect_unresolved \*' 9292 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' 9293 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~ 9294 $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' 9295 9296 # Both c and cxx compiler support -rpath directly 9297 hardcode_libdir_flag_spec='-rpath $libdir' 9298 fi 9299 archive_cmds_need_lc='no' 9300 hardcode_libdir_separator=: 9301 ;; 9302 9303 solaris*) 9304 no_undefined_flag=' -z defs' 9305 if test "$GCC" = yes; then 9306 wlarc='${wl}' 9307 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9308 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9309 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9310 else 9311 case `$CC -V 2>&1` in 9312 *"Compilers 5.0"*) 9313 wlarc='' 9314 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9315 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9317 ;; 9318 *) 9319 wlarc='${wl}' 9320 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9321 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9322 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9323 ;; 9324 esac 9325 fi 9326 hardcode_libdir_flag_spec='-R$libdir' 9327 hardcode_shlibpath_var=no 9328 case $host_os in 9329 solaris2.[0-5] | solaris2.[0-5].*) ;; 9330 *) 9331 # The compiler driver will combine and reorder linker options, 9332 # but understands `-z linker_flag'. GCC discards it without `$wl', 9333 # but is careful enough not to reorder. 9334 # Supported since Solaris 2.6 (maybe 2.5.1?) 9335 if test "$GCC" = yes; then 9336 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9337 else 9338 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9339 fi 9340 ;; 9341 esac 9342 link_all_deplibs=yes 9343 ;; 9344 9345 sunos4*) 9346 if test "x$host_vendor" = xsequent; then 9347 # Use $CC to link under sequent, because it throws in some extra .o 9348 # files that make .init and .fini sections work. 9349 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9350 else 9351 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9352 fi 9353 hardcode_libdir_flag_spec='-L$libdir' 9354 hardcode_direct=yes 9355 hardcode_minus_L=yes 9356 hardcode_shlibpath_var=no 9357 ;; 9358 9359 sysv4) 9360 case $host_vendor in 9361 sni) 9362 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9363 hardcode_direct=yes # is this really true??? 9364 ;; 9365 siemens) 9366 ## LD is ld it makes a PLAMLIB 9367 ## CC just makes a GrossModule. 9368 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9369 reload_cmds='$CC -r -o $output$reload_objs' 9370 hardcode_direct=no 9371 ;; 9372 motorola) 9373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9374 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9375 ;; 9376 esac 9377 runpath_var='LD_RUN_PATH' 9378 hardcode_shlibpath_var=no 9379 ;; 9380 9381 sysv4.3*) 9382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9383 hardcode_shlibpath_var=no 9384 export_dynamic_flag_spec='-Bexport' 9385 ;; 9386 9387 sysv4*MP*) 9388 if test -d /usr/nec; then 9389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9390 hardcode_shlibpath_var=no 9391 runpath_var=LD_RUN_PATH 9392 hardcode_runpath_var=yes 9393 ld_shlibs=yes 9394 fi 9395 ;; 9396 9397 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9398 no_undefined_flag='${wl}-z,text' 9399 archive_cmds_need_lc=no 9400 hardcode_shlibpath_var=no 9401 runpath_var='LD_RUN_PATH' 9402 9403 if test "$GCC" = yes; then 9404 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9405 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9406 else 9407 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9408 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9409 fi 9410 ;; 9411 9412 sysv5* | sco3.2v5* | sco5v6*) 9413 # Note: We can NOT use -z defs as we might desire, because we do not 9414 # link with -lc, and that would cause any symbols used from libc to 9415 # always be unresolved, which means just about no library would 9416 # ever link correctly. If we're not using GNU ld we use -z text 9417 # though, which does catch some bad symbols but isn't as heavy-handed 9418 # as -z defs. 9419 no_undefined_flag='${wl}-z,text' 9420 allow_undefined_flag='${wl}-z,nodefs' 9421 archive_cmds_need_lc=no 9422 hardcode_shlibpath_var=no 9423 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9424 hardcode_libdir_separator=':' 9425 link_all_deplibs=yes 9426 export_dynamic_flag_spec='${wl}-Bexport' 9427 runpath_var='LD_RUN_PATH' 9428 9429 if test "$GCC" = yes; then 9430 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9431 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9432 else 9433 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9434 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9435 fi 9436 ;; 9437 9438 uts4*) 9439 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9440 hardcode_libdir_flag_spec='-L$libdir' 9441 hardcode_shlibpath_var=no 9442 ;; 9443 9444 *) 9445 ld_shlibs=no 9446 ;; 9447 esac 9448 9449 if test x$host_vendor = xsni; then 9450 case $host in 9451 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9452 export_dynamic_flag_spec='${wl}-Blargedynsym' 9453 ;; 9454 esac 9455 fi 9456 fi 9457 9458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9459$as_echo "$ld_shlibs" >&6; } 9460test "$ld_shlibs" = no && can_build_shared=no 9461 9462with_gnu_ld=$with_gnu_ld 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478# 9479# Do we need to explicitly link libc? 9480# 9481case "x$archive_cmds_need_lc" in 9482x|xyes) 9483 # Assume -lc should be added 9484 archive_cmds_need_lc=yes 9485 9486 if test "$enable_shared" = yes && test "$GCC" = yes; then 9487 case $archive_cmds in 9488 *'~'*) 9489 # FIXME: we may have to deal with multi-command sequences. 9490 ;; 9491 '$CC '*) 9492 # Test whether the compiler implicitly links with -lc since on some 9493 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9494 # to ld, don't add -lc before -lgcc. 9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9496$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9497if ${lt_cv_archive_cmds_need_lc+:} false; then : 9498 $as_echo_n "(cached) " >&6 9499else 9500 $RM conftest* 9501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9502 9503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9504 (eval $ac_compile) 2>&5 9505 ac_status=$? 9506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9507 test $ac_status = 0; } 2>conftest.err; then 9508 soname=conftest 9509 lib=conftest 9510 libobjs=conftest.$ac_objext 9511 deplibs= 9512 wl=$lt_prog_compiler_wl 9513 pic_flag=$lt_prog_compiler_pic 9514 compiler_flags=-v 9515 linker_flags=-v 9516 verstring= 9517 output_objdir=. 9518 libname=conftest 9519 lt_save_allow_undefined_flag=$allow_undefined_flag 9520 allow_undefined_flag= 9521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9522 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9523 ac_status=$? 9524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9525 test $ac_status = 0; } 9526 then 9527 lt_cv_archive_cmds_need_lc=no 9528 else 9529 lt_cv_archive_cmds_need_lc=yes 9530 fi 9531 allow_undefined_flag=$lt_save_allow_undefined_flag 9532 else 9533 cat conftest.err 1>&5 9534 fi 9535 $RM conftest* 9536 9537fi 9538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9539$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 9540 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9541 ;; 9542 esac 9543 fi 9544 ;; 9545esac 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9704$as_echo_n "checking dynamic linker characteristics... " >&6; } 9705 9706if test "$GCC" = yes; then 9707 case $host_os in 9708 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9709 *) lt_awk_arg="/^libraries:/" ;; 9710 esac 9711 case $host_os in 9712 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 9713 *) lt_sed_strip_eq="s,=/,/,g" ;; 9714 esac 9715 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 9716 case $lt_search_path_spec in 9717 *\;*) 9718 # if the path contains ";" then we assume it to be the separator 9719 # otherwise default to the standard path separator (i.e. ":") - it is 9720 # assumed that no part of a normal pathname contains ";" but that should 9721 # okay in the real world where ";" in dirpaths is itself problematic. 9722 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 9723 ;; 9724 *) 9725 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 9726 ;; 9727 esac 9728 # Ok, now we have the path, separated by spaces, we can step through it 9729 # and add multilib dir if necessary. 9730 lt_tmp_lt_search_path_spec= 9731 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9732 for lt_sys_path in $lt_search_path_spec; do 9733 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9734 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9735 else 9736 test -d "$lt_sys_path" && \ 9737 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9738 fi 9739 done 9740 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 9741BEGIN {RS=" "; FS="/|\n";} { 9742 lt_foo=""; 9743 lt_count=0; 9744 for (lt_i = NF; lt_i > 0; lt_i--) { 9745 if ($lt_i != "" && $lt_i != ".") { 9746 if ($lt_i == "..") { 9747 lt_count++; 9748 } else { 9749 if (lt_count == 0) { 9750 lt_foo="/" $lt_i lt_foo; 9751 } else { 9752 lt_count--; 9753 } 9754 } 9755 } 9756 } 9757 if (lt_foo != "") { lt_freq[lt_foo]++; } 9758 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9759}'` 9760 # AWK program above erroneously prepends '/' to C:/dos/paths 9761 # for these hosts. 9762 case $host_os in 9763 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 9764 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 9765 esac 9766 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 9767else 9768 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9769fi 9770library_names_spec= 9771libname_spec='lib$name' 9772soname_spec= 9773shrext_cmds=".so" 9774postinstall_cmds= 9775postuninstall_cmds= 9776finish_cmds= 9777finish_eval= 9778shlibpath_var= 9779shlibpath_overrides_runpath=unknown 9780version_type=none 9781dynamic_linker="$host_os ld.so" 9782sys_lib_dlsearch_path_spec="/lib /usr/lib" 9783need_lib_prefix=unknown 9784hardcode_into_libs=no 9785 9786# when you set need_version to no, make sure it does not cause -set_version 9787# flags to be left without arguments 9788need_version=unknown 9789 9790case $host_os in 9791aix3*) 9792 version_type=linux 9793 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9794 shlibpath_var=LIBPATH 9795 9796 # AIX 3 has no versioning support, so we append a major version to the name. 9797 soname_spec='${libname}${release}${shared_ext}$major' 9798 ;; 9799 9800aix[4-9]*) 9801 version_type=linux 9802 need_lib_prefix=no 9803 need_version=no 9804 hardcode_into_libs=yes 9805 if test "$host_cpu" = ia64; then 9806 # AIX 5 supports IA64 9807 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9808 shlibpath_var=LD_LIBRARY_PATH 9809 else 9810 # With GCC up to 2.95.x, collect2 would create an import file 9811 # for dependence libraries. The import file would start with 9812 # the line `#! .'. This would cause the generated library to 9813 # depend on `.', always an invalid library. This was fixed in 9814 # development snapshots of GCC prior to 3.0. 9815 case $host_os in 9816 aix4 | aix4.[01] | aix4.[01].*) 9817 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9818 echo ' yes ' 9819 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9820 : 9821 else 9822 can_build_shared=no 9823 fi 9824 ;; 9825 esac 9826 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9827 # soname into executable. Probably we can add versioning support to 9828 # collect2, so additional links can be useful in future. 9829 if test "$aix_use_runtimelinking" = yes; then 9830 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9831 # instead of lib<name>.a to let people know that these are not 9832 # typical AIX shared libraries. 9833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9834 else 9835 # We preserve .a as extension for shared libraries through AIX4.2 9836 # and later when we are not doing run time linking. 9837 library_names_spec='${libname}${release}.a $libname.a' 9838 soname_spec='${libname}${release}${shared_ext}$major' 9839 fi 9840 shlibpath_var=LIBPATH 9841 fi 9842 ;; 9843 9844amigaos*) 9845 case $host_cpu in 9846 powerpc) 9847 # Since July 2007 AmigaOS4 officially supports .so libraries. 9848 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9850 ;; 9851 m68k) 9852 library_names_spec='$libname.ixlibrary $libname.a' 9853 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9854 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' 9855 ;; 9856 esac 9857 ;; 9858 9859beos*) 9860 library_names_spec='${libname}${shared_ext}' 9861 dynamic_linker="$host_os ld.so" 9862 shlibpath_var=LIBRARY_PATH 9863 ;; 9864 9865bsdi[45]*) 9866 version_type=linux 9867 need_version=no 9868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9869 soname_spec='${libname}${release}${shared_ext}$major' 9870 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9871 shlibpath_var=LD_LIBRARY_PATH 9872 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9873 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9874 # the default ld.so.conf also contains /usr/contrib/lib and 9875 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9876 # libtool to hard-code these into programs 9877 ;; 9878 9879cygwin* | mingw* | pw32* | cegcc*) 9880 version_type=windows 9881 shrext_cmds=".dll" 9882 need_version=no 9883 need_lib_prefix=no 9884 9885 case $GCC,$host_os in 9886 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9887 library_names_spec='$libname.dll.a' 9888 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9889 postinstall_cmds='base_file=`basename \${file}`~ 9890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9891 dldir=$destdir/`dirname \$dlpath`~ 9892 test -d \$dldir || mkdir -p \$dldir~ 9893 $install_prog $dir/$dlname \$dldir/$dlname~ 9894 chmod a+x \$dldir/$dlname~ 9895 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9896 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9897 fi' 9898 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9899 dlpath=$dir/\$dldll~ 9900 $RM \$dlpath' 9901 shlibpath_overrides_runpath=yes 9902 9903 case $host_os in 9904 cygwin*) 9905 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9906 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9907 9908 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 9909 ;; 9910 mingw* | cegcc*) 9911 # MinGW DLLs use traditional 'lib' prefix 9912 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9913 ;; 9914 pw32*) 9915 # pw32 DLLs use 'pw' prefix rather than 'lib' 9916 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9917 ;; 9918 esac 9919 ;; 9920 9921 *) 9922 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9923 ;; 9924 esac 9925 dynamic_linker='Win32 ld.exe' 9926 # FIXME: first we should search . and the directory the executable is in 9927 shlibpath_var=PATH 9928 ;; 9929 9930darwin* | rhapsody*) 9931 dynamic_linker="$host_os dyld" 9932 version_type=darwin 9933 need_lib_prefix=no 9934 need_version=no 9935 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9936 soname_spec='${libname}${release}${major}$shared_ext' 9937 shlibpath_overrides_runpath=yes 9938 shlibpath_var=DYLD_LIBRARY_PATH 9939 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9940 9941 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9942 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9943 ;; 9944 9945dgux*) 9946 version_type=linux 9947 need_lib_prefix=no 9948 need_version=no 9949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9950 soname_spec='${libname}${release}${shared_ext}$major' 9951 shlibpath_var=LD_LIBRARY_PATH 9952 ;; 9953 9954freebsd1*) 9955 dynamic_linker=no 9956 ;; 9957 9958freebsd* | dragonfly*) 9959 # DragonFly does not have aout. When/if they implement a new 9960 # versioning mechanism, adjust this. 9961 if test -x /usr/bin/objformat; then 9962 objformat=`/usr/bin/objformat` 9963 else 9964 case $host_os in 9965 freebsd[123]*) objformat=aout ;; 9966 *) objformat=elf ;; 9967 esac 9968 fi 9969 version_type=freebsd-$objformat 9970 case $version_type in 9971 freebsd-elf*) 9972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9973 need_version=no 9974 need_lib_prefix=no 9975 ;; 9976 freebsd-*) 9977 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9978 need_version=yes 9979 ;; 9980 esac 9981 shlibpath_var=LD_LIBRARY_PATH 9982 case $host_os in 9983 freebsd2*) 9984 shlibpath_overrides_runpath=yes 9985 ;; 9986 freebsd3.[01]* | freebsdelf3.[01]*) 9987 shlibpath_overrides_runpath=yes 9988 hardcode_into_libs=yes 9989 ;; 9990 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9991 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9992 shlibpath_overrides_runpath=no 9993 hardcode_into_libs=yes 9994 ;; 9995 *) # from 4.6 on, and DragonFly 9996 shlibpath_overrides_runpath=yes 9997 hardcode_into_libs=yes 9998 ;; 9999 esac 10000 ;; 10001 10002gnu*) 10003 version_type=linux 10004 need_lib_prefix=no 10005 need_version=no 10006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10007 soname_spec='${libname}${release}${shared_ext}$major' 10008 shlibpath_var=LD_LIBRARY_PATH 10009 hardcode_into_libs=yes 10010 ;; 10011 10012haiku*) 10013 version_type=linux 10014 need_lib_prefix=no 10015 need_version=no 10016 dynamic_linker="$host_os runtime_loader" 10017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10018 soname_spec='${libname}${release}${shared_ext}$major' 10019 shlibpath_var=LIBRARY_PATH 10020 shlibpath_overrides_runpath=yes 10021 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10022 hardcode_into_libs=yes 10023 ;; 10024 10025hpux9* | hpux10* | hpux11*) 10026 # Give a soname corresponding to the major version so that dld.sl refuses to 10027 # link against other versions. 10028 version_type=sunos 10029 need_lib_prefix=no 10030 need_version=no 10031 case $host_cpu in 10032 ia64*) 10033 shrext_cmds='.so' 10034 hardcode_into_libs=yes 10035 dynamic_linker="$host_os dld.so" 10036 shlibpath_var=LD_LIBRARY_PATH 10037 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10039 soname_spec='${libname}${release}${shared_ext}$major' 10040 if test "X$HPUX_IA64_MODE" = X32; then 10041 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10042 else 10043 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10044 fi 10045 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10046 ;; 10047 hppa*64*) 10048 shrext_cmds='.sl' 10049 hardcode_into_libs=yes 10050 dynamic_linker="$host_os dld.sl" 10051 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10052 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10054 soname_spec='${libname}${release}${shared_ext}$major' 10055 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10056 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10057 ;; 10058 *) 10059 shrext_cmds='.sl' 10060 dynamic_linker="$host_os dld.sl" 10061 shlibpath_var=SHLIB_PATH 10062 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10064 soname_spec='${libname}${release}${shared_ext}$major' 10065 ;; 10066 esac 10067 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10068 postinstall_cmds='chmod 555 $lib' 10069 # or fails outright, so override atomically: 10070 install_override_mode=555 10071 ;; 10072 10073interix[3-9]*) 10074 version_type=linux 10075 need_lib_prefix=no 10076 need_version=no 10077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10078 soname_spec='${libname}${release}${shared_ext}$major' 10079 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10080 shlibpath_var=LD_LIBRARY_PATH 10081 shlibpath_overrides_runpath=no 10082 hardcode_into_libs=yes 10083 ;; 10084 10085irix5* | irix6* | nonstopux*) 10086 case $host_os in 10087 nonstopux*) version_type=nonstopux ;; 10088 *) 10089 if test "$lt_cv_prog_gnu_ld" = yes; then 10090 version_type=linux 10091 else 10092 version_type=irix 10093 fi ;; 10094 esac 10095 need_lib_prefix=no 10096 need_version=no 10097 soname_spec='${libname}${release}${shared_ext}$major' 10098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10099 case $host_os in 10100 irix5* | nonstopux*) 10101 libsuff= shlibsuff= 10102 ;; 10103 *) 10104 case $LD in # libtool.m4 will add one of these switches to LD 10105 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10106 libsuff= shlibsuff= libmagic=32-bit;; 10107 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10108 libsuff=32 shlibsuff=N32 libmagic=N32;; 10109 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10110 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10111 *) libsuff= shlibsuff= libmagic=never-match;; 10112 esac 10113 ;; 10114 esac 10115 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10116 shlibpath_overrides_runpath=no 10117 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10118 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10119 hardcode_into_libs=yes 10120 ;; 10121 10122# No shared lib support for Linux oldld, aout, or coff. 10123linux*oldld* | linux*aout* | linux*coff*) 10124 dynamic_linker=no 10125 ;; 10126 10127# This must be Linux ELF. 10128linux* | k*bsd*-gnu | kopensolaris*-gnu) 10129 version_type=linux 10130 need_lib_prefix=no 10131 need_version=no 10132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10133 soname_spec='${libname}${release}${shared_ext}$major' 10134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10135 shlibpath_var=LD_LIBRARY_PATH 10136 shlibpath_overrides_runpath=no 10137 10138 # Some binutils ld are patched to set DT_RUNPATH 10139 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10140 $as_echo_n "(cached) " >&6 10141else 10142 lt_cv_shlibpath_overrides_runpath=no 10143 save_LDFLAGS=$LDFLAGS 10144 save_libdir=$libdir 10145 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10146 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10148/* end confdefs.h. */ 10149 10150int 10151main () 10152{ 10153 10154 ; 10155 return 0; 10156} 10157_ACEOF 10158if ac_fn_c_try_link "$LINENO"; then : 10159 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10160 lt_cv_shlibpath_overrides_runpath=yes 10161fi 10162fi 10163rm -f core conftest.err conftest.$ac_objext \ 10164 conftest$ac_exeext conftest.$ac_ext 10165 LDFLAGS=$save_LDFLAGS 10166 libdir=$save_libdir 10167 10168fi 10169 10170 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10171 10172 # This implies no fast_install, which is unacceptable. 10173 # Some rework will be needed to allow for fast_install 10174 # before this can be enabled. 10175 hardcode_into_libs=yes 10176 10177 # Append ld.so.conf contents to the search path 10178 if test -f /etc/ld.so.conf; then 10179 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' ' '` 10180 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10181 fi 10182 10183 # We used to test for /lib/ld.so.1 and disable shared libraries on 10184 # powerpc, because MkLinux only supported shared libraries with the 10185 # GNU dynamic linker. Since this was broken with cross compilers, 10186 # most powerpc-linux boxes support dynamic linking these days and 10187 # people can always --disable-shared, the test was removed, and we 10188 # assume the GNU/Linux dynamic linker is in use. 10189 dynamic_linker='GNU/Linux ld.so' 10190 ;; 10191 10192netbsd*) 10193 version_type=sunos 10194 need_lib_prefix=no 10195 need_version=no 10196 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10198 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10199 dynamic_linker='NetBSD (a.out) ld.so' 10200 else 10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10202 soname_spec='${libname}${release}${shared_ext}$major' 10203 dynamic_linker='NetBSD ld.elf_so' 10204 fi 10205 shlibpath_var=LD_LIBRARY_PATH 10206 shlibpath_overrides_runpath=yes 10207 hardcode_into_libs=yes 10208 ;; 10209 10210newsos6) 10211 version_type=linux 10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10213 shlibpath_var=LD_LIBRARY_PATH 10214 shlibpath_overrides_runpath=yes 10215 ;; 10216 10217*nto* | *qnx*) 10218 version_type=qnx 10219 need_lib_prefix=no 10220 need_version=no 10221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10222 soname_spec='${libname}${release}${shared_ext}$major' 10223 shlibpath_var=LD_LIBRARY_PATH 10224 shlibpath_overrides_runpath=no 10225 hardcode_into_libs=yes 10226 dynamic_linker='ldqnx.so' 10227 ;; 10228 10229openbsd*) 10230 version_type=sunos 10231 sys_lib_dlsearch_path_spec="/usr/lib" 10232 need_lib_prefix=no 10233 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10234 case $host_os in 10235 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10236 *) need_version=no ;; 10237 esac 10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10240 shlibpath_var=LD_LIBRARY_PATH 10241 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10242 case $host_os in 10243 openbsd2.[89] | openbsd2.[89].*) 10244 shlibpath_overrides_runpath=no 10245 ;; 10246 *) 10247 shlibpath_overrides_runpath=yes 10248 ;; 10249 esac 10250 else 10251 shlibpath_overrides_runpath=yes 10252 fi 10253 ;; 10254 10255os2*) 10256 libname_spec='$name' 10257 shrext_cmds=".dll" 10258 need_lib_prefix=no 10259 library_names_spec='$libname${shared_ext} $libname.a' 10260 dynamic_linker='OS/2 ld.exe' 10261 shlibpath_var=LIBPATH 10262 ;; 10263 10264osf3* | osf4* | osf5*) 10265 version_type=osf 10266 need_lib_prefix=no 10267 need_version=no 10268 soname_spec='${libname}${release}${shared_ext}$major' 10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10270 shlibpath_var=LD_LIBRARY_PATH 10271 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10272 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10273 ;; 10274 10275rdos*) 10276 dynamic_linker=no 10277 ;; 10278 10279solaris*) 10280 version_type=linux 10281 need_lib_prefix=no 10282 need_version=no 10283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10284 soname_spec='${libname}${release}${shared_ext}$major' 10285 shlibpath_var=LD_LIBRARY_PATH 10286 shlibpath_overrides_runpath=yes 10287 hardcode_into_libs=yes 10288 # ldd complains unless libraries are executable 10289 postinstall_cmds='chmod +x $lib' 10290 ;; 10291 10292sunos4*) 10293 version_type=sunos 10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10295 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10296 shlibpath_var=LD_LIBRARY_PATH 10297 shlibpath_overrides_runpath=yes 10298 if test "$with_gnu_ld" = yes; then 10299 need_lib_prefix=no 10300 fi 10301 need_version=yes 10302 ;; 10303 10304sysv4 | sysv4.3*) 10305 version_type=linux 10306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10307 soname_spec='${libname}${release}${shared_ext}$major' 10308 shlibpath_var=LD_LIBRARY_PATH 10309 case $host_vendor in 10310 sni) 10311 shlibpath_overrides_runpath=no 10312 need_lib_prefix=no 10313 runpath_var=LD_RUN_PATH 10314 ;; 10315 siemens) 10316 need_lib_prefix=no 10317 ;; 10318 motorola) 10319 need_lib_prefix=no 10320 need_version=no 10321 shlibpath_overrides_runpath=no 10322 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10323 ;; 10324 esac 10325 ;; 10326 10327sysv4*MP*) 10328 if test -d /usr/nec ;then 10329 version_type=linux 10330 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10331 soname_spec='$libname${shared_ext}.$major' 10332 shlibpath_var=LD_LIBRARY_PATH 10333 fi 10334 ;; 10335 10336sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10337 version_type=freebsd-elf 10338 need_lib_prefix=no 10339 need_version=no 10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10341 soname_spec='${libname}${release}${shared_ext}$major' 10342 shlibpath_var=LD_LIBRARY_PATH 10343 shlibpath_overrides_runpath=yes 10344 hardcode_into_libs=yes 10345 if test "$with_gnu_ld" = yes; then 10346 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10347 else 10348 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10349 case $host_os in 10350 sco3.2v5*) 10351 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10352 ;; 10353 esac 10354 fi 10355 sys_lib_dlsearch_path_spec='/usr/lib' 10356 ;; 10357 10358tpf*) 10359 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10360 version_type=linux 10361 need_lib_prefix=no 10362 need_version=no 10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10364 shlibpath_var=LD_LIBRARY_PATH 10365 shlibpath_overrides_runpath=no 10366 hardcode_into_libs=yes 10367 ;; 10368 10369uts4*) 10370 version_type=linux 10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10372 soname_spec='${libname}${release}${shared_ext}$major' 10373 shlibpath_var=LD_LIBRARY_PATH 10374 ;; 10375 10376*) 10377 dynamic_linker=no 10378 ;; 10379esac 10380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10381$as_echo "$dynamic_linker" >&6; } 10382test "$dynamic_linker" = no && can_build_shared=no 10383 10384variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10385if test "$GCC" = yes; then 10386 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10387fi 10388 10389if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10390 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10391fi 10392if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10393 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10394fi 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10488$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10489hardcode_action= 10490if test -n "$hardcode_libdir_flag_spec" || 10491 test -n "$runpath_var" || 10492 test "X$hardcode_automatic" = "Xyes" ; then 10493 10494 # We can hardcode non-existent directories. 10495 if test "$hardcode_direct" != no && 10496 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10497 # have to relink, otherwise we might link with an installed library 10498 # when we should be linking with a yet-to-be-installed one 10499 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10500 test "$hardcode_minus_L" != no; then 10501 # Linking always hardcodes the temporary library directory. 10502 hardcode_action=relink 10503 else 10504 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10505 hardcode_action=immediate 10506 fi 10507else 10508 # We cannot hardcode anything, or else we can only hardcode existing 10509 # directories. 10510 hardcode_action=unsupported 10511fi 10512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10513$as_echo "$hardcode_action" >&6; } 10514 10515if test "$hardcode_action" = relink || 10516 test "$inherit_rpath" = yes; then 10517 # Fast installation is not supported 10518 enable_fast_install=no 10519elif test "$shlibpath_overrides_runpath" = yes || 10520 test "$enable_shared" = no; then 10521 # Fast installation is not necessary 10522 enable_fast_install=needless 10523fi 10524 10525 10526 10527 10528 10529 10530 if test "x$enable_dlopen" != xyes; then 10531 enable_dlopen=unknown 10532 enable_dlopen_self=unknown 10533 enable_dlopen_self_static=unknown 10534else 10535 lt_cv_dlopen=no 10536 lt_cv_dlopen_libs= 10537 10538 case $host_os in 10539 beos*) 10540 lt_cv_dlopen="load_add_on" 10541 lt_cv_dlopen_libs= 10542 lt_cv_dlopen_self=yes 10543 ;; 10544 10545 mingw* | pw32* | cegcc*) 10546 lt_cv_dlopen="LoadLibrary" 10547 lt_cv_dlopen_libs= 10548 ;; 10549 10550 cygwin*) 10551 lt_cv_dlopen="dlopen" 10552 lt_cv_dlopen_libs= 10553 ;; 10554 10555 darwin*) 10556 # if libdl is installed we need to link against it 10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10558$as_echo_n "checking for dlopen in -ldl... " >&6; } 10559if ${ac_cv_lib_dl_dlopen+:} false; then : 10560 $as_echo_n "(cached) " >&6 10561else 10562 ac_check_lib_save_LIBS=$LIBS 10563LIBS="-ldl $LIBS" 10564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10565/* end confdefs.h. */ 10566 10567/* Override any GCC internal prototype to avoid an error. 10568 Use char because int might match the return type of a GCC 10569 builtin and then its argument prototype would still apply. */ 10570#ifdef __cplusplus 10571extern "C" 10572#endif 10573char dlopen (); 10574int 10575main () 10576{ 10577return dlopen (); 10578 ; 10579 return 0; 10580} 10581_ACEOF 10582if ac_fn_c_try_link "$LINENO"; then : 10583 ac_cv_lib_dl_dlopen=yes 10584else 10585 ac_cv_lib_dl_dlopen=no 10586fi 10587rm -f core conftest.err conftest.$ac_objext \ 10588 conftest$ac_exeext conftest.$ac_ext 10589LIBS=$ac_check_lib_save_LIBS 10590fi 10591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10592$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10593if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10594 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10595else 10596 10597 lt_cv_dlopen="dyld" 10598 lt_cv_dlopen_libs= 10599 lt_cv_dlopen_self=yes 10600 10601fi 10602 10603 ;; 10604 10605 *) 10606 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10607if test "x$ac_cv_func_shl_load" = xyes; then : 10608 lt_cv_dlopen="shl_load" 10609else 10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10611$as_echo_n "checking for shl_load in -ldld... " >&6; } 10612if ${ac_cv_lib_dld_shl_load+:} false; then : 10613 $as_echo_n "(cached) " >&6 10614else 10615 ac_check_lib_save_LIBS=$LIBS 10616LIBS="-ldld $LIBS" 10617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10618/* end confdefs.h. */ 10619 10620/* Override any GCC internal prototype to avoid an error. 10621 Use char because int might match the return type of a GCC 10622 builtin and then its argument prototype would still apply. */ 10623#ifdef __cplusplus 10624extern "C" 10625#endif 10626char shl_load (); 10627int 10628main () 10629{ 10630return shl_load (); 10631 ; 10632 return 0; 10633} 10634_ACEOF 10635if ac_fn_c_try_link "$LINENO"; then : 10636 ac_cv_lib_dld_shl_load=yes 10637else 10638 ac_cv_lib_dld_shl_load=no 10639fi 10640rm -f core conftest.err conftest.$ac_objext \ 10641 conftest$ac_exeext conftest.$ac_ext 10642LIBS=$ac_check_lib_save_LIBS 10643fi 10644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10645$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10646if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10647 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10648else 10649 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10650if test "x$ac_cv_func_dlopen" = xyes; then : 10651 lt_cv_dlopen="dlopen" 10652else 10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10654$as_echo_n "checking for dlopen in -ldl... " >&6; } 10655if ${ac_cv_lib_dl_dlopen+:} false; then : 10656 $as_echo_n "(cached) " >&6 10657else 10658 ac_check_lib_save_LIBS=$LIBS 10659LIBS="-ldl $LIBS" 10660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10661/* end confdefs.h. */ 10662 10663/* Override any GCC internal prototype to avoid an error. 10664 Use char because int might match the return type of a GCC 10665 builtin and then its argument prototype would still apply. */ 10666#ifdef __cplusplus 10667extern "C" 10668#endif 10669char dlopen (); 10670int 10671main () 10672{ 10673return dlopen (); 10674 ; 10675 return 0; 10676} 10677_ACEOF 10678if ac_fn_c_try_link "$LINENO"; then : 10679 ac_cv_lib_dl_dlopen=yes 10680else 10681 ac_cv_lib_dl_dlopen=no 10682fi 10683rm -f core conftest.err conftest.$ac_objext \ 10684 conftest$ac_exeext conftest.$ac_ext 10685LIBS=$ac_check_lib_save_LIBS 10686fi 10687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10688$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10689if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 10690 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10691else 10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10693$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10694if ${ac_cv_lib_svld_dlopen+:} false; then : 10695 $as_echo_n "(cached) " >&6 10696else 10697 ac_check_lib_save_LIBS=$LIBS 10698LIBS="-lsvld $LIBS" 10699cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10700/* end confdefs.h. */ 10701 10702/* Override any GCC internal prototype to avoid an error. 10703 Use char because int might match the return type of a GCC 10704 builtin and then its argument prototype would still apply. */ 10705#ifdef __cplusplus 10706extern "C" 10707#endif 10708char dlopen (); 10709int 10710main () 10711{ 10712return dlopen (); 10713 ; 10714 return 0; 10715} 10716_ACEOF 10717if ac_fn_c_try_link "$LINENO"; then : 10718 ac_cv_lib_svld_dlopen=yes 10719else 10720 ac_cv_lib_svld_dlopen=no 10721fi 10722rm -f core conftest.err conftest.$ac_objext \ 10723 conftest$ac_exeext conftest.$ac_ext 10724LIBS=$ac_check_lib_save_LIBS 10725fi 10726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10727$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10728if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 10729 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10730else 10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10732$as_echo_n "checking for dld_link in -ldld... " >&6; } 10733if ${ac_cv_lib_dld_dld_link+:} false; then : 10734 $as_echo_n "(cached) " >&6 10735else 10736 ac_check_lib_save_LIBS=$LIBS 10737LIBS="-ldld $LIBS" 10738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10739/* end confdefs.h. */ 10740 10741/* Override any GCC internal prototype to avoid an error. 10742 Use char because int might match the return type of a GCC 10743 builtin and then its argument prototype would still apply. */ 10744#ifdef __cplusplus 10745extern "C" 10746#endif 10747char dld_link (); 10748int 10749main () 10750{ 10751return dld_link (); 10752 ; 10753 return 0; 10754} 10755_ACEOF 10756if ac_fn_c_try_link "$LINENO"; then : 10757 ac_cv_lib_dld_dld_link=yes 10758else 10759 ac_cv_lib_dld_dld_link=no 10760fi 10761rm -f core conftest.err conftest.$ac_objext \ 10762 conftest$ac_exeext conftest.$ac_ext 10763LIBS=$ac_check_lib_save_LIBS 10764fi 10765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10766$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10767if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 10768 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10769fi 10770 10771 10772fi 10773 10774 10775fi 10776 10777 10778fi 10779 10780 10781fi 10782 10783 10784fi 10785 10786 ;; 10787 esac 10788 10789 if test "x$lt_cv_dlopen" != xno; then 10790 enable_dlopen=yes 10791 else 10792 enable_dlopen=no 10793 fi 10794 10795 case $lt_cv_dlopen in 10796 dlopen) 10797 save_CPPFLAGS="$CPPFLAGS" 10798 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10799 10800 save_LDFLAGS="$LDFLAGS" 10801 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10802 10803 save_LIBS="$LIBS" 10804 LIBS="$lt_cv_dlopen_libs $LIBS" 10805 10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10807$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10808if ${lt_cv_dlopen_self+:} false; then : 10809 $as_echo_n "(cached) " >&6 10810else 10811 if test "$cross_compiling" = yes; then : 10812 lt_cv_dlopen_self=cross 10813else 10814 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10815 lt_status=$lt_dlunknown 10816 cat > conftest.$ac_ext <<_LT_EOF 10817#line $LINENO "configure" 10818#include "confdefs.h" 10819 10820#if HAVE_DLFCN_H 10821#include <dlfcn.h> 10822#endif 10823 10824#include <stdio.h> 10825 10826#ifdef RTLD_GLOBAL 10827# define LT_DLGLOBAL RTLD_GLOBAL 10828#else 10829# ifdef DL_GLOBAL 10830# define LT_DLGLOBAL DL_GLOBAL 10831# else 10832# define LT_DLGLOBAL 0 10833# endif 10834#endif 10835 10836/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10837 find out it does not work in some platform. */ 10838#ifndef LT_DLLAZY_OR_NOW 10839# ifdef RTLD_LAZY 10840# define LT_DLLAZY_OR_NOW RTLD_LAZY 10841# else 10842# ifdef DL_LAZY 10843# define LT_DLLAZY_OR_NOW DL_LAZY 10844# else 10845# ifdef RTLD_NOW 10846# define LT_DLLAZY_OR_NOW RTLD_NOW 10847# else 10848# ifdef DL_NOW 10849# define LT_DLLAZY_OR_NOW DL_NOW 10850# else 10851# define LT_DLLAZY_OR_NOW 0 10852# endif 10853# endif 10854# endif 10855# endif 10856#endif 10857 10858/* When -fvisbility=hidden is used, assume the code has been annotated 10859 correspondingly for the symbols needed. */ 10860#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10861void fnord () __attribute__((visibility("default"))); 10862#endif 10863 10864void fnord () { int i=42; } 10865int main () 10866{ 10867 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10868 int status = $lt_dlunknown; 10869 10870 if (self) 10871 { 10872 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10873 else 10874 { 10875 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10876 else puts (dlerror ()); 10877 } 10878 /* dlclose (self); */ 10879 } 10880 else 10881 puts (dlerror ()); 10882 10883 return status; 10884} 10885_LT_EOF 10886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10887 (eval $ac_link) 2>&5 10888 ac_status=$? 10889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10890 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10891 (./conftest; exit; ) >&5 2>/dev/null 10892 lt_status=$? 10893 case x$lt_status in 10894 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10895 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10896 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10897 esac 10898 else : 10899 # compilation failed 10900 lt_cv_dlopen_self=no 10901 fi 10902fi 10903rm -fr conftest* 10904 10905 10906fi 10907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10908$as_echo "$lt_cv_dlopen_self" >&6; } 10909 10910 if test "x$lt_cv_dlopen_self" = xyes; then 10911 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10913$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10914if ${lt_cv_dlopen_self_static+:} false; then : 10915 $as_echo_n "(cached) " >&6 10916else 10917 if test "$cross_compiling" = yes; then : 10918 lt_cv_dlopen_self_static=cross 10919else 10920 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10921 lt_status=$lt_dlunknown 10922 cat > conftest.$ac_ext <<_LT_EOF 10923#line $LINENO "configure" 10924#include "confdefs.h" 10925 10926#if HAVE_DLFCN_H 10927#include <dlfcn.h> 10928#endif 10929 10930#include <stdio.h> 10931 10932#ifdef RTLD_GLOBAL 10933# define LT_DLGLOBAL RTLD_GLOBAL 10934#else 10935# ifdef DL_GLOBAL 10936# define LT_DLGLOBAL DL_GLOBAL 10937# else 10938# define LT_DLGLOBAL 0 10939# endif 10940#endif 10941 10942/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10943 find out it does not work in some platform. */ 10944#ifndef LT_DLLAZY_OR_NOW 10945# ifdef RTLD_LAZY 10946# define LT_DLLAZY_OR_NOW RTLD_LAZY 10947# else 10948# ifdef DL_LAZY 10949# define LT_DLLAZY_OR_NOW DL_LAZY 10950# else 10951# ifdef RTLD_NOW 10952# define LT_DLLAZY_OR_NOW RTLD_NOW 10953# else 10954# ifdef DL_NOW 10955# define LT_DLLAZY_OR_NOW DL_NOW 10956# else 10957# define LT_DLLAZY_OR_NOW 0 10958# endif 10959# endif 10960# endif 10961# endif 10962#endif 10963 10964/* When -fvisbility=hidden is used, assume the code has been annotated 10965 correspondingly for the symbols needed. */ 10966#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10967void fnord () __attribute__((visibility("default"))); 10968#endif 10969 10970void fnord () { int i=42; } 10971int main () 10972{ 10973 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10974 int status = $lt_dlunknown; 10975 10976 if (self) 10977 { 10978 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10979 else 10980 { 10981 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10982 else puts (dlerror ()); 10983 } 10984 /* dlclose (self); */ 10985 } 10986 else 10987 puts (dlerror ()); 10988 10989 return status; 10990} 10991_LT_EOF 10992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10993 (eval $ac_link) 2>&5 10994 ac_status=$? 10995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10996 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10997 (./conftest; exit; ) >&5 2>/dev/null 10998 lt_status=$? 10999 case x$lt_status in 11000 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11001 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11002 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11003 esac 11004 else : 11005 # compilation failed 11006 lt_cv_dlopen_self_static=no 11007 fi 11008fi 11009rm -fr conftest* 11010 11011 11012fi 11013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11014$as_echo "$lt_cv_dlopen_self_static" >&6; } 11015 fi 11016 11017 CPPFLAGS="$save_CPPFLAGS" 11018 LDFLAGS="$save_LDFLAGS" 11019 LIBS="$save_LIBS" 11020 ;; 11021 esac 11022 11023 case $lt_cv_dlopen_self in 11024 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11025 *) enable_dlopen_self=unknown ;; 11026 esac 11027 11028 case $lt_cv_dlopen_self_static in 11029 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11030 *) enable_dlopen_self_static=unknown ;; 11031 esac 11032fi 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050striplib= 11051old_striplib= 11052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11053$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11054if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11055 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11056 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11058$as_echo "yes" >&6; } 11059else 11060# FIXME - insert some real tests, host_os isn't really good enough 11061 case $host_os in 11062 darwin*) 11063 if test -n "$STRIP" ; then 11064 striplib="$STRIP -x" 11065 old_striplib="$STRIP -S" 11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11067$as_echo "yes" >&6; } 11068 else 11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11070$as_echo "no" >&6; } 11071 fi 11072 ;; 11073 *) 11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11075$as_echo "no" >&6; } 11076 ;; 11077 esac 11078fi 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 # Report which library types will actually be built 11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11093$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11095$as_echo "$can_build_shared" >&6; } 11096 11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11098$as_echo_n "checking whether to build shared libraries... " >&6; } 11099 test "$can_build_shared" = "no" && enable_shared=no 11100 11101 # On AIX, shared libraries and static libraries use the same namespace, and 11102 # are all built from PIC. 11103 case $host_os in 11104 aix3*) 11105 test "$enable_shared" = yes && enable_static=no 11106 if test -n "$RANLIB"; then 11107 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11108 postinstall_cmds='$RANLIB $lib' 11109 fi 11110 ;; 11111 11112 aix[4-9]*) 11113 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11114 test "$enable_shared" = yes && enable_static=no 11115 fi 11116 ;; 11117 esac 11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11119$as_echo "$enable_shared" >&6; } 11120 11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11122$as_echo_n "checking whether to build static libraries... " >&6; } 11123 # Make sure either enable_shared or enable_static is yes. 11124 test "$enable_shared" = yes || enable_static=yes 11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11126$as_echo "$enable_static" >&6; } 11127 11128 11129 11130 11131fi 11132ac_ext=c 11133ac_cpp='$CPP $CPPFLAGS' 11134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11136ac_compiler_gnu=$ac_cv_c_compiler_gnu 11137 11138CC="$lt_save_CC" 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 ac_config_commands="$ac_config_commands libtool" 11153 11154 11155 11156 11157# Only expand once: 11158 11159 11160 11161# Checks for pkg-config packages 11162 11163pkg_failed=no 11164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEVIE" >&5 11165$as_echo_n "checking for XEVIE... " >&6; } 11166 11167if test -n "$XEVIE_CFLAGS"; then 11168 pkg_cv_XEVIE_CFLAGS="$XEVIE_CFLAGS" 11169 elif test -n "$PKG_CONFIG"; then 11170 if test -n "$PKG_CONFIG" && \ 11171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext evieproto\""; } >&5 11172 ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext evieproto") 2>&5 11173 ac_status=$? 11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11175 test $ac_status = 0; }; then 11176 pkg_cv_XEVIE_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xext evieproto" 2>/dev/null` 11177else 11178 pkg_failed=yes 11179fi 11180 else 11181 pkg_failed=untried 11182fi 11183if test -n "$XEVIE_LIBS"; then 11184 pkg_cv_XEVIE_LIBS="$XEVIE_LIBS" 11185 elif test -n "$PKG_CONFIG"; then 11186 if test -n "$PKG_CONFIG" && \ 11187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext evieproto\""; } >&5 11188 ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext evieproto") 2>&5 11189 ac_status=$? 11190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11191 test $ac_status = 0; }; then 11192 pkg_cv_XEVIE_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xext evieproto" 2>/dev/null` 11193else 11194 pkg_failed=yes 11195fi 11196 else 11197 pkg_failed=untried 11198fi 11199 11200 11201 11202if test $pkg_failed = yes; then 11203 11204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11205 _pkg_short_errors_supported=yes 11206else 11207 _pkg_short_errors_supported=no 11208fi 11209 if test $_pkg_short_errors_supported = yes; then 11210 XEVIE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xextproto xext evieproto" 2>&1` 11211 else 11212 XEVIE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xextproto xext evieproto" 2>&1` 11213 fi 11214 # Put the nasty error message in config.log where it belongs 11215 echo "$XEVIE_PKG_ERRORS" >&5 11216 11217 as_fn_error $? "Package requirements (xproto x11 xextproto xext evieproto) were not met: 11218 11219$XEVIE_PKG_ERRORS 11220 11221Consider adjusting the PKG_CONFIG_PATH environment variable if you 11222installed software in a non-standard prefix. 11223 11224Alternatively, you may set the environment variables XEVIE_CFLAGS 11225and XEVIE_LIBS to avoid the need to call pkg-config. 11226See the pkg-config man page for more details. 11227" "$LINENO" 5 11228elif test $pkg_failed = untried; then 11229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11231as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 11232is in your PATH or set the PKG_CONFIG environment variable to the full 11233path to pkg-config. 11234 11235Alternatively, you may set the environment variables XEVIE_CFLAGS 11236and XEVIE_LIBS to avoid the need to call pkg-config. 11237See the pkg-config man page for more details. 11238 11239To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11240See \`config.log' for more details" "$LINENO" 5; } 11241else 11242 XEVIE_CFLAGS=$pkg_cv_XEVIE_CFLAGS 11243 XEVIE_LIBS=$pkg_cv_XEVIE_LIBS 11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11245$as_echo "yes" >&6; } 11246 : 11247fi 11248 11249 11250 11251 11252 11253 11254# Check whether --with-lint was given. 11255if test "${with_lint+set}" = set; then : 11256 withval=$with_lint; use_lint=$withval 11257else 11258 use_lint=no 11259fi 11260 11261 11262# Obtain platform specific info like program name and options 11263# The lint program on FreeBSD and NetBSD is different from the one on Solaris 11264case $host_os in 11265 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*) 11266 lint_name=splint 11267 lint_options="-badflag" 11268 ;; 11269 *freebsd* | *netbsd*) 11270 lint_name=lint 11271 lint_options="-u -b" 11272 ;; 11273 *solaris*) 11274 lint_name=lint 11275 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 11276 ;; 11277esac 11278 11279# Test for the presence of the program (either guessed by the code or spelled out by the user) 11280if test "x$use_lint" = x"yes" ; then 11281 # Extract the first word of "$lint_name", so it can be a program name with args. 11282set dummy $lint_name; ac_word=$2 11283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11284$as_echo_n "checking for $ac_word... " >&6; } 11285if ${ac_cv_path_LINT+:} false; then : 11286 $as_echo_n "(cached) " >&6 11287else 11288 case $LINT in 11289 [\\/]* | ?:[\\/]*) 11290 ac_cv_path_LINT="$LINT" # Let the user override the test with a path. 11291 ;; 11292 *) 11293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11294for as_dir in $PATH 11295do 11296 IFS=$as_save_IFS 11297 test -z "$as_dir" && as_dir=. 11298 for ac_exec_ext in '' $ac_executable_extensions; do 11299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11300 ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext" 11301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11302 break 2 11303 fi 11304done 11305 done 11306IFS=$as_save_IFS 11307 11308 ;; 11309esac 11310fi 11311LINT=$ac_cv_path_LINT 11312if test -n "$LINT"; then 11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 11314$as_echo "$LINT" >&6; } 11315else 11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11317$as_echo "no" >&6; } 11318fi 11319 11320 11321 if test "x$LINT" = "x"; then 11322 as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5 11323 fi 11324elif test "x$use_lint" = x"no" ; then 11325 if test "x$LINT" != "x"; then 11326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5 11327$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;} 11328 fi 11329else 11330 as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5 11331fi 11332 11333# User supplied flags override default flags 11334if test "x$LINT_FLAGS" != "x"; then 11335 lint_options=$LINT_FLAGS 11336fi 11337 11338LINT_FLAGS=$lint_options 11339 11340 if test "x$LINT" != x; then 11341 LINT_TRUE= 11342 LINT_FALSE='#' 11343else 11344 LINT_TRUE='#' 11345 LINT_FALSE= 11346fi 11347 11348 11349 11350 11351 11352# Check whether --enable-lint-library was given. 11353if test "${enable_lint_library+set}" = set; then : 11354 enableval=$enable_lint_library; make_lint_lib=$enableval 11355else 11356 make_lint_lib=no 11357fi 11358 11359 11360if test "x$make_lint_lib" = x"yes" ; then 11361 LINTLIB=llib-lXevie.ln 11362 if test "x$LINT" = "x"; then 11363 as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5 11364 fi 11365elif test "x$make_lint_lib" != x"no" ; then 11366 as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5 11367fi 11368 11369 11370 if test x$make_lint_lib != xno; then 11371 MAKE_LINT_LIB_TRUE= 11372 MAKE_LINT_LIB_FALSE='#' 11373else 11374 MAKE_LINT_LIB_TRUE='#' 11375 MAKE_LINT_LIB_FALSE= 11376fi 11377 11378 11379 11380 11381ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xevie.pc" 11382 11383cat >confcache <<\_ACEOF 11384# This file is a shell script that caches the results of configure 11385# tests run on this system so they can be shared between configure 11386# scripts and configure runs, see configure's option --config-cache. 11387# It is not useful on other systems. If it contains results you don't 11388# want to keep, you may remove or edit it. 11389# 11390# config.status only pays attention to the cache file if you give it 11391# the --recheck option to rerun configure. 11392# 11393# `ac_cv_env_foo' variables (set or unset) will be overridden when 11394# loading this file, other *unset* `ac_cv_foo' will be assigned the 11395# following values. 11396 11397_ACEOF 11398 11399# The following way of writing the cache mishandles newlines in values, 11400# but we know of no workaround that is simple, portable, and efficient. 11401# So, we kill variables containing newlines. 11402# Ultrix sh set writes to stderr and can't be redirected directly, 11403# and sets the high bit in the cache file unless we assign to the vars. 11404( 11405 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11406 eval ac_val=\$$ac_var 11407 case $ac_val in #( 11408 *${as_nl}*) 11409 case $ac_var in #( 11410 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11411$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11412 esac 11413 case $ac_var in #( 11414 _ | IFS | as_nl) ;; #( 11415 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11416 *) { eval $ac_var=; unset $ac_var;} ;; 11417 esac ;; 11418 esac 11419 done 11420 11421 (set) 2>&1 | 11422 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11423 *${as_nl}ac_space=\ *) 11424 # `set' does not quote correctly, so add quotes: double-quote 11425 # substitution turns \\\\ into \\, and sed turns \\ into \. 11426 sed -n \ 11427 "s/'/'\\\\''/g; 11428 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11429 ;; #( 11430 *) 11431 # `set' quotes correctly as required by POSIX, so do not add quotes. 11432 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11433 ;; 11434 esac | 11435 sort 11436) | 11437 sed ' 11438 /^ac_cv_env_/b end 11439 t clear 11440 :clear 11441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11442 t end 11443 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11444 :end' >>confcache 11445if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11446 if test -w "$cache_file"; then 11447 if test "x$cache_file" != "x/dev/null"; then 11448 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11449$as_echo "$as_me: updating cache $cache_file" >&6;} 11450 if test ! -f "$cache_file" || test -h "$cache_file"; then 11451 cat confcache >"$cache_file" 11452 else 11453 case $cache_file in #( 11454 */* | ?:*) 11455 mv -f confcache "$cache_file"$$ && 11456 mv -f "$cache_file"$$ "$cache_file" ;; #( 11457 *) 11458 mv -f confcache "$cache_file" ;; 11459 esac 11460 fi 11461 fi 11462 else 11463 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11464$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11465 fi 11466fi 11467rm -f confcache 11468 11469test "x$prefix" = xNONE && prefix=$ac_default_prefix 11470# Let make expand exec_prefix. 11471test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11472 11473DEFS=-DHAVE_CONFIG_H 11474 11475ac_libobjs= 11476ac_ltlibobjs= 11477U= 11478for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11479 # 1. Remove the extension, and $U if already installed. 11480 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11481 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11483 # will be set to the directory where LIBOBJS objects are built. 11484 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11485 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11486done 11487LIBOBJS=$ac_libobjs 11488 11489LTLIBOBJS=$ac_ltlibobjs 11490 11491 11492 if test -n "$EXEEXT"; then 11493 am__EXEEXT_TRUE= 11494 am__EXEEXT_FALSE='#' 11495else 11496 am__EXEEXT_TRUE='#' 11497 am__EXEEXT_FALSE= 11498fi 11499 11500if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11501 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 11502Usually this means the macro was only invoked conditionally." "$LINENO" 5 11503fi 11504if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11505 as_fn_error $? "conditional \"AMDEP\" was never defined. 11506Usually this means the macro was only invoked conditionally." "$LINENO" 5 11507fi 11508if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11509 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11510Usually this means the macro was only invoked conditionally." "$LINENO" 5 11511fi 11512if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 11513 as_fn_error $? "conditional \"LINT\" was never defined. 11514Usually this means the macro was only invoked conditionally." "$LINENO" 5 11515fi 11516if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then 11517 as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined. 11518Usually this means the macro was only invoked conditionally." "$LINENO" 5 11519fi 11520 11521: "${CONFIG_STATUS=./config.status}" 11522ac_write_fail=0 11523ac_clean_files_save=$ac_clean_files 11524ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11525{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11526$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11527as_write_fail=0 11528cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11529#! $SHELL 11530# Generated by $as_me. 11531# Run this file to recreate the current configuration. 11532# Compiler output produced by configure, useful for debugging 11533# configure, is in config.log if it exists. 11534 11535debug=false 11536ac_cs_recheck=false 11537ac_cs_silent=false 11538 11539SHELL=\${CONFIG_SHELL-$SHELL} 11540export SHELL 11541_ASEOF 11542cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11543## -------------------- ## 11544## M4sh Initialization. ## 11545## -------------------- ## 11546 11547# Be more Bourne compatible 11548DUALCASE=1; export DUALCASE # for MKS sh 11549if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11550 emulate sh 11551 NULLCMD=: 11552 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11553 # is contrary to our usage. Disable this feature. 11554 alias -g '${1+"$@"}'='"$@"' 11555 setopt NO_GLOB_SUBST 11556else 11557 case `(set -o) 2>/dev/null` in #( 11558 *posix*) : 11559 set -o posix ;; #( 11560 *) : 11561 ;; 11562esac 11563fi 11564 11565 11566as_nl=' 11567' 11568export as_nl 11569# Printing a long string crashes Solaris 7 /usr/bin/printf. 11570as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11571as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11572as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11573# Prefer a ksh shell builtin over an external printf program on Solaris, 11574# but without wasting forks for bash or zsh. 11575if test -z "$BASH_VERSION$ZSH_VERSION" \ 11576 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11577 as_echo='print -r --' 11578 as_echo_n='print -rn --' 11579elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11580 as_echo='printf %s\n' 11581 as_echo_n='printf %s' 11582else 11583 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11584 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11585 as_echo_n='/usr/ucb/echo -n' 11586 else 11587 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11588 as_echo_n_body='eval 11589 arg=$1; 11590 case $arg in #( 11591 *"$as_nl"*) 11592 expr "X$arg" : "X\\(.*\\)$as_nl"; 11593 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11594 esac; 11595 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11596 ' 11597 export as_echo_n_body 11598 as_echo_n='sh -c $as_echo_n_body as_echo' 11599 fi 11600 export as_echo_body 11601 as_echo='sh -c $as_echo_body as_echo' 11602fi 11603 11604# The user is always right. 11605if test "${PATH_SEPARATOR+set}" != set; then 11606 PATH_SEPARATOR=: 11607 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11608 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11609 PATH_SEPARATOR=';' 11610 } 11611fi 11612 11613 11614# IFS 11615# We need space, tab and new line, in precisely that order. Quoting is 11616# there to prevent editors from complaining about space-tab. 11617# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11618# splitting by setting IFS to empty value.) 11619IFS=" "" $as_nl" 11620 11621# Find who we are. Look in the path if we contain no directory separator. 11622as_myself= 11623case $0 in #(( 11624 *[\\/]* ) as_myself=$0 ;; 11625 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11626for as_dir in $PATH 11627do 11628 IFS=$as_save_IFS 11629 test -z "$as_dir" && as_dir=. 11630 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11631 done 11632IFS=$as_save_IFS 11633 11634 ;; 11635esac 11636# We did not find ourselves, most probably we were run as `sh COMMAND' 11637# in which case we are not to be found in the path. 11638if test "x$as_myself" = x; then 11639 as_myself=$0 11640fi 11641if test ! -f "$as_myself"; then 11642 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11643 exit 1 11644fi 11645 11646# Unset variables that we do not need and which cause bugs (e.g. in 11647# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11648# suppresses any "Segmentation fault" message there. '((' could 11649# trigger a bug in pdksh 5.2.14. 11650for as_var in BASH_ENV ENV MAIL MAILPATH 11651do eval test x\${$as_var+set} = xset \ 11652 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11653done 11654PS1='$ ' 11655PS2='> ' 11656PS4='+ ' 11657 11658# NLS nuisances. 11659LC_ALL=C 11660export LC_ALL 11661LANGUAGE=C 11662export LANGUAGE 11663 11664# CDPATH. 11665(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11666 11667 11668# as_fn_error STATUS ERROR [LINENO LOG_FD] 11669# ---------------------------------------- 11670# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11671# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11672# script with STATUS, using 1 if that was 0. 11673as_fn_error () 11674{ 11675 as_status=$1; test $as_status -eq 0 && as_status=1 11676 if test "$4"; then 11677 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11678 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11679 fi 11680 $as_echo "$as_me: error: $2" >&2 11681 as_fn_exit $as_status 11682} # as_fn_error 11683 11684 11685# as_fn_set_status STATUS 11686# ----------------------- 11687# Set $? to STATUS, without forking. 11688as_fn_set_status () 11689{ 11690 return $1 11691} # as_fn_set_status 11692 11693# as_fn_exit STATUS 11694# ----------------- 11695# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11696as_fn_exit () 11697{ 11698 set +e 11699 as_fn_set_status $1 11700 exit $1 11701} # as_fn_exit 11702 11703# as_fn_unset VAR 11704# --------------- 11705# Portably unset VAR. 11706as_fn_unset () 11707{ 11708 { eval $1=; unset $1;} 11709} 11710as_unset=as_fn_unset 11711# as_fn_append VAR VALUE 11712# ---------------------- 11713# Append the text in VALUE to the end of the definition contained in VAR. Take 11714# advantage of any shell optimizations that allow amortized linear growth over 11715# repeated appends, instead of the typical quadratic growth present in naive 11716# implementations. 11717if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11718 eval 'as_fn_append () 11719 { 11720 eval $1+=\$2 11721 }' 11722else 11723 as_fn_append () 11724 { 11725 eval $1=\$$1\$2 11726 } 11727fi # as_fn_append 11728 11729# as_fn_arith ARG... 11730# ------------------ 11731# Perform arithmetic evaluation on the ARGs, and store the result in the 11732# global $as_val. Take advantage of shells that can avoid forks. The arguments 11733# must be portable across $(()) and expr. 11734if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11735 eval 'as_fn_arith () 11736 { 11737 as_val=$(( $* )) 11738 }' 11739else 11740 as_fn_arith () 11741 { 11742 as_val=`expr "$@" || test $? -eq 1` 11743 } 11744fi # as_fn_arith 11745 11746 11747if expr a : '\(a\)' >/dev/null 2>&1 && 11748 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11749 as_expr=expr 11750else 11751 as_expr=false 11752fi 11753 11754if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11755 as_basename=basename 11756else 11757 as_basename=false 11758fi 11759 11760if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11761 as_dirname=dirname 11762else 11763 as_dirname=false 11764fi 11765 11766as_me=`$as_basename -- "$0" || 11767$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11768 X"$0" : 'X\(//\)$' \| \ 11769 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11770$as_echo X/"$0" | 11771 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11772 s//\1/ 11773 q 11774 } 11775 /^X\/\(\/\/\)$/{ 11776 s//\1/ 11777 q 11778 } 11779 /^X\/\(\/\).*/{ 11780 s//\1/ 11781 q 11782 } 11783 s/.*/./; q'` 11784 11785# Avoid depending upon Character Ranges. 11786as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11787as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11788as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11789as_cr_digits='0123456789' 11790as_cr_alnum=$as_cr_Letters$as_cr_digits 11791 11792ECHO_C= ECHO_N= ECHO_T= 11793case `echo -n x` in #((((( 11794-n*) 11795 case `echo 'xy\c'` in 11796 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11797 xy) ECHO_C='\c';; 11798 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11799 ECHO_T=' ';; 11800 esac;; 11801*) 11802 ECHO_N='-n';; 11803esac 11804 11805rm -f conf$$ conf$$.exe conf$$.file 11806if test -d conf$$.dir; then 11807 rm -f conf$$.dir/conf$$.file 11808else 11809 rm -f conf$$.dir 11810 mkdir conf$$.dir 2>/dev/null 11811fi 11812if (echo >conf$$.file) 2>/dev/null; then 11813 if ln -s conf$$.file conf$$ 2>/dev/null; then 11814 as_ln_s='ln -s' 11815 # ... but there are two gotchas: 11816 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11817 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11818 # In both cases, we have to default to `cp -p'. 11819 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11820 as_ln_s='cp -p' 11821 elif ln conf$$.file conf$$ 2>/dev/null; then 11822 as_ln_s=ln 11823 else 11824 as_ln_s='cp -p' 11825 fi 11826else 11827 as_ln_s='cp -p' 11828fi 11829rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11830rmdir conf$$.dir 2>/dev/null 11831 11832 11833# as_fn_mkdir_p 11834# ------------- 11835# Create "$as_dir" as a directory, including parents if necessary. 11836as_fn_mkdir_p () 11837{ 11838 11839 case $as_dir in #( 11840 -*) as_dir=./$as_dir;; 11841 esac 11842 test -d "$as_dir" || eval $as_mkdir_p || { 11843 as_dirs= 11844 while :; do 11845 case $as_dir in #( 11846 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11847 *) as_qdir=$as_dir;; 11848 esac 11849 as_dirs="'$as_qdir' $as_dirs" 11850 as_dir=`$as_dirname -- "$as_dir" || 11851$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11852 X"$as_dir" : 'X\(//\)[^/]' \| \ 11853 X"$as_dir" : 'X\(//\)$' \| \ 11854 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11855$as_echo X"$as_dir" | 11856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11857 s//\1/ 11858 q 11859 } 11860 /^X\(\/\/\)[^/].*/{ 11861 s//\1/ 11862 q 11863 } 11864 /^X\(\/\/\)$/{ 11865 s//\1/ 11866 q 11867 } 11868 /^X\(\/\).*/{ 11869 s//\1/ 11870 q 11871 } 11872 s/.*/./; q'` 11873 test -d "$as_dir" && break 11874 done 11875 test -z "$as_dirs" || eval "mkdir $as_dirs" 11876 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 11877 11878 11879} # as_fn_mkdir_p 11880if mkdir -p . 2>/dev/null; then 11881 as_mkdir_p='mkdir -p "$as_dir"' 11882else 11883 test -d ./-p && rmdir ./-p 11884 as_mkdir_p=false 11885fi 11886 11887if test -x / >/dev/null 2>&1; then 11888 as_test_x='test -x' 11889else 11890 if ls -dL / >/dev/null 2>&1; then 11891 as_ls_L_option=L 11892 else 11893 as_ls_L_option= 11894 fi 11895 as_test_x=' 11896 eval sh -c '\'' 11897 if test -d "$1"; then 11898 test -d "$1/."; 11899 else 11900 case $1 in #( 11901 -*)set "./$1";; 11902 esac; 11903 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 11904 ???[sx]*):;;*)false;;esac;fi 11905 '\'' sh 11906 ' 11907fi 11908as_executable_p=$as_test_x 11909 11910# Sed expression to map a string onto a valid CPP name. 11911as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11912 11913# Sed expression to map a string onto a valid variable name. 11914as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11915 11916 11917exec 6>&1 11918## ----------------------------------- ## 11919## Main body of $CONFIG_STATUS script. ## 11920## ----------------------------------- ## 11921_ASEOF 11922test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 11923 11924cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11925# Save the log message, to keep $0 and so on meaningful, and to 11926# report actual input values of CONFIG_FILES etc. instead of their 11927# values after options handling. 11928ac_log=" 11929This file was extended by libXevie $as_me 1.0.3, which was 11930generated by GNU Autoconf 2.68. Invocation command line was 11931 11932 CONFIG_FILES = $CONFIG_FILES 11933 CONFIG_HEADERS = $CONFIG_HEADERS 11934 CONFIG_LINKS = $CONFIG_LINKS 11935 CONFIG_COMMANDS = $CONFIG_COMMANDS 11936 $ $0 $@ 11937 11938on `(hostname || uname -n) 2>/dev/null | sed 1q` 11939" 11940 11941_ACEOF 11942 11943case $ac_config_files in *" 11944"*) set x $ac_config_files; shift; ac_config_files=$*;; 11945esac 11946 11947case $ac_config_headers in *" 11948"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 11949esac 11950 11951 11952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11953# Files that config.status was made for. 11954config_files="$ac_config_files" 11955config_headers="$ac_config_headers" 11956config_commands="$ac_config_commands" 11957 11958_ACEOF 11959 11960cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11961ac_cs_usage="\ 11962\`$as_me' instantiates files and other configuration actions 11963from templates according to the current configuration. Unless the files 11964and actions are specified as TAGs, all are instantiated by default. 11965 11966Usage: $0 [OPTION]... [TAG]... 11967 11968 -h, --help print this help, then exit 11969 -V, --version print version number and configuration settings, then exit 11970 --config print configuration, then exit 11971 -q, --quiet, --silent 11972 do not print progress messages 11973 -d, --debug don't remove temporary files 11974 --recheck update $as_me by reconfiguring in the same conditions 11975 --file=FILE[:TEMPLATE] 11976 instantiate the configuration file FILE 11977 --header=FILE[:TEMPLATE] 11978 instantiate the configuration header FILE 11979 11980Configuration files: 11981$config_files 11982 11983Configuration headers: 11984$config_headers 11985 11986Configuration commands: 11987$config_commands 11988 11989Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 11990 11991_ACEOF 11992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11993ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11994ac_cs_version="\\ 11995libXevie config.status 1.0.3 11996configured by $0, generated by GNU Autoconf 2.68, 11997 with options \\"\$ac_cs_config\\" 11998 11999Copyright (C) 2010 Free Software Foundation, Inc. 12000This config.status script is free software; the Free Software Foundation 12001gives unlimited permission to copy, distribute and modify it." 12002 12003ac_pwd='$ac_pwd' 12004srcdir='$srcdir' 12005INSTALL='$INSTALL' 12006MKDIR_P='$MKDIR_P' 12007AWK='$AWK' 12008test -n "\$AWK" || AWK=awk 12009_ACEOF 12010 12011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12012# The default lists apply if the user does not specify any file. 12013ac_need_defaults=: 12014while test $# != 0 12015do 12016 case $1 in 12017 --*=?*) 12018 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12019 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12020 ac_shift=: 12021 ;; 12022 --*=) 12023 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12024 ac_optarg= 12025 ac_shift=: 12026 ;; 12027 *) 12028 ac_option=$1 12029 ac_optarg=$2 12030 ac_shift=shift 12031 ;; 12032 esac 12033 12034 case $ac_option in 12035 # Handling of the options. 12036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12037 ac_cs_recheck=: ;; 12038 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12039 $as_echo "$ac_cs_version"; exit ;; 12040 --config | --confi | --conf | --con | --co | --c ) 12041 $as_echo "$ac_cs_config"; exit ;; 12042 --debug | --debu | --deb | --de | --d | -d ) 12043 debug=: ;; 12044 --file | --fil | --fi | --f ) 12045 $ac_shift 12046 case $ac_optarg in 12047 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12048 '') as_fn_error $? "missing file argument" ;; 12049 esac 12050 as_fn_append CONFIG_FILES " '$ac_optarg'" 12051 ac_need_defaults=false;; 12052 --header | --heade | --head | --hea ) 12053 $ac_shift 12054 case $ac_optarg in 12055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12056 esac 12057 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12058 ac_need_defaults=false;; 12059 --he | --h) 12060 # Conflict between --help and --header 12061 as_fn_error $? "ambiguous option: \`$1' 12062Try \`$0 --help' for more information.";; 12063 --help | --hel | -h ) 12064 $as_echo "$ac_cs_usage"; exit ;; 12065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12066 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12067 ac_cs_silent=: ;; 12068 12069 # This is an error. 12070 -*) as_fn_error $? "unrecognized option: \`$1' 12071Try \`$0 --help' for more information." ;; 12072 12073 *) as_fn_append ac_config_targets " $1" 12074 ac_need_defaults=false ;; 12075 12076 esac 12077 shift 12078done 12079 12080ac_configure_extra_args= 12081 12082if $ac_cs_silent; then 12083 exec 6>/dev/null 12084 ac_configure_extra_args="$ac_configure_extra_args --silent" 12085fi 12086 12087_ACEOF 12088cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12089if \$ac_cs_recheck; then 12090 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12091 shift 12092 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12093 CONFIG_SHELL='$SHELL' 12094 export CONFIG_SHELL 12095 exec "\$@" 12096fi 12097 12098_ACEOF 12099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12100exec 5>>config.log 12101{ 12102 echo 12103 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12104## Running $as_me. ## 12105_ASBOX 12106 $as_echo "$ac_log" 12107} >&5 12108 12109_ACEOF 12110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12111# 12112# INIT-COMMANDS 12113# 12114AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12115 12116 12117# The HP-UX ksh and POSIX shell print the target directory to stdout 12118# if CDPATH is set. 12119(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12120 12121sed_quote_subst='$sed_quote_subst' 12122double_quote_subst='$double_quote_subst' 12123delay_variable_subst='$delay_variable_subst' 12124macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12125macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12126enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12127enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12128pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12129enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12130SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12131ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12132host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12133host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12134host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12135build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12136build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12137build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12138SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12139Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12140GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12141EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12142FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12143LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12144NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12145LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12146max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12147ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12148exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12149lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12150lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12151lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12152reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12153reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12154OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12155deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12156file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12157AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12158AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12159STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12160RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12161old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12162old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12163old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12164lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12165CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12166CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12167compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12168GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12169lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12170lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12171lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12172lt_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"`' 12173objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12174MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12175lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12176lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12177lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12178lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12179lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12180need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12181DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12182NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12183LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12184OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12185OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12186libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12187shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12188extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12189archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12190enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12191export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12192whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12193compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12194old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12195old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12196archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12197archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12198module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12199module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12200with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12201allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12202no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12203hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12204hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' 12205hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12206hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12207hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12208hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12209hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12210hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12211inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12212link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12213fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' 12214always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12215export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12216exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12217include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12218prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12219file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12220variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12221need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12222need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12223version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12224runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12225shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12226shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12227libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12228library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12229soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12230install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12231postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12232postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12233finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12234finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12235hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12236sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12237sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12238hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12239enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12240enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12241enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12242old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12243striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12244 12245LTCC='$LTCC' 12246LTCFLAGS='$LTCFLAGS' 12247compiler='$compiler_DEFAULT' 12248 12249# A function that is used when there is no print builtin or printf. 12250func_fallback_echo () 12251{ 12252 eval 'cat <<_LTECHO_EOF 12253\$1 12254_LTECHO_EOF' 12255} 12256 12257# Quote evaled strings. 12258for var in SHELL \ 12259ECHO \ 12260SED \ 12261GREP \ 12262EGREP \ 12263FGREP \ 12264LD \ 12265NM \ 12266LN_S \ 12267lt_SP2NL \ 12268lt_NL2SP \ 12269reload_flag \ 12270OBJDUMP \ 12271deplibs_check_method \ 12272file_magic_cmd \ 12273AR \ 12274AR_FLAGS \ 12275STRIP \ 12276RANLIB \ 12277CC \ 12278CFLAGS \ 12279compiler \ 12280lt_cv_sys_global_symbol_pipe \ 12281lt_cv_sys_global_symbol_to_cdecl \ 12282lt_cv_sys_global_symbol_to_c_name_address \ 12283lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12284lt_prog_compiler_no_builtin_flag \ 12285lt_prog_compiler_wl \ 12286lt_prog_compiler_pic \ 12287lt_prog_compiler_static \ 12288lt_cv_prog_compiler_c_o \ 12289need_locks \ 12290DSYMUTIL \ 12291NMEDIT \ 12292LIPO \ 12293OTOOL \ 12294OTOOL64 \ 12295shrext_cmds \ 12296export_dynamic_flag_spec \ 12297whole_archive_flag_spec \ 12298compiler_needs_object \ 12299with_gnu_ld \ 12300allow_undefined_flag \ 12301no_undefined_flag \ 12302hardcode_libdir_flag_spec \ 12303hardcode_libdir_flag_spec_ld \ 12304hardcode_libdir_separator \ 12305fix_srcfile_path \ 12306exclude_expsyms \ 12307include_expsyms \ 12308file_list_spec \ 12309variables_saved_for_relink \ 12310libname_spec \ 12311library_names_spec \ 12312soname_spec \ 12313install_override_mode \ 12314finish_eval \ 12315old_striplib \ 12316striplib; do 12317 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12318 *[\\\\\\\`\\"\\\$]*) 12319 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12320 ;; 12321 *) 12322 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12323 ;; 12324 esac 12325done 12326 12327# Double-quote double-evaled strings. 12328for var in reload_cmds \ 12329old_postinstall_cmds \ 12330old_postuninstall_cmds \ 12331old_archive_cmds \ 12332extract_expsyms_cmds \ 12333old_archive_from_new_cmds \ 12334old_archive_from_expsyms_cmds \ 12335archive_cmds \ 12336archive_expsym_cmds \ 12337module_cmds \ 12338module_expsym_cmds \ 12339export_symbols_cmds \ 12340prelink_cmds \ 12341postinstall_cmds \ 12342postuninstall_cmds \ 12343finish_cmds \ 12344sys_lib_search_path_spec \ 12345sys_lib_dlsearch_path_spec; do 12346 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12347 *[\\\\\\\`\\"\\\$]*) 12348 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12349 ;; 12350 *) 12351 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12352 ;; 12353 esac 12354done 12355 12356ac_aux_dir='$ac_aux_dir' 12357xsi_shell='$xsi_shell' 12358lt_shell_append='$lt_shell_append' 12359 12360# See if we are running on zsh, and set the options which allow our 12361# commands through without removal of \ escapes INIT. 12362if test -n "\${ZSH_VERSION+set}" ; then 12363 setopt NO_GLOB_SUBST 12364fi 12365 12366 12367 PACKAGE='$PACKAGE' 12368 VERSION='$VERSION' 12369 TIMESTAMP='$TIMESTAMP' 12370 RM='$RM' 12371 ofile='$ofile' 12372 12373 12374 12375 12376_ACEOF 12377 12378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12379 12380# Handling of arguments. 12381for ac_config_target in $ac_config_targets 12382do 12383 case $ac_config_target in 12384 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12385 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12386 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12387 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12388 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12389 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 12390 "xevie.pc") CONFIG_FILES="$CONFIG_FILES xevie.pc" ;; 12391 12392 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12393 esac 12394done 12395 12396 12397# If the user did not use the arguments to specify the items to instantiate, 12398# then the envvar interface is used. Set only those that are not. 12399# We use the long form for the default assignment because of an extremely 12400# bizarre bug on SunOS 4.1.3. 12401if $ac_need_defaults; then 12402 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12403 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12404 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12405fi 12406 12407# Have a temporary directory for convenience. Make it in the build tree 12408# simply because there is no reason against having it here, and in addition, 12409# creating and moving files from /tmp can sometimes cause problems. 12410# Hook for its removal unless debugging. 12411# Note that there is a small window in which the directory will not be cleaned: 12412# after its creation but before its name has been assigned to `$tmp'. 12413$debug || 12414{ 12415 tmp= ac_tmp= 12416 trap 'exit_status=$? 12417 : "${ac_tmp:=$tmp}" 12418 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12419' 0 12420 trap 'as_fn_exit 1' 1 2 13 15 12421} 12422# Create a (secure) tmp directory for tmp files. 12423 12424{ 12425 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12426 test -d "$tmp" 12427} || 12428{ 12429 tmp=./conf$$-$RANDOM 12430 (umask 077 && mkdir "$tmp") 12431} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12432ac_tmp=$tmp 12433 12434# Set up the scripts for CONFIG_FILES section. 12435# No need to generate them if there are no CONFIG_FILES. 12436# This happens for instance with `./config.status config.h'. 12437if test -n "$CONFIG_FILES"; then 12438 12439 12440ac_cr=`echo X | tr X '\015'` 12441# On cygwin, bash can eat \r inside `` if the user requested igncr. 12442# But we know of no other shell where ac_cr would be empty at this 12443# point, so we can use a bashism as a fallback. 12444if test "x$ac_cr" = x; then 12445 eval ac_cr=\$\'\\r\' 12446fi 12447ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12448if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12449 ac_cs_awk_cr='\\r' 12450else 12451 ac_cs_awk_cr=$ac_cr 12452fi 12453 12454echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12455_ACEOF 12456 12457 12458{ 12459 echo "cat >conf$$subs.awk <<_ACEOF" && 12460 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12461 echo "_ACEOF" 12462} >conf$$subs.sh || 12463 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12464ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12465ac_delim='%!_!# ' 12466for ac_last_try in false false false false false :; do 12467 . ./conf$$subs.sh || 12468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12469 12470 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12471 if test $ac_delim_n = $ac_delim_num; then 12472 break 12473 elif $ac_last_try; then 12474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12475 else 12476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12477 fi 12478done 12479rm -f conf$$subs.sh 12480 12481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12482cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12483_ACEOF 12484sed -n ' 12485h 12486s/^/S["/; s/!.*/"]=/ 12487p 12488g 12489s/^[^!]*!// 12490:repl 12491t repl 12492s/'"$ac_delim"'$// 12493t delim 12494:nl 12495h 12496s/\(.\{148\}\)..*/\1/ 12497t more1 12498s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12499p 12500n 12501b repl 12502:more1 12503s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12504p 12505g 12506s/.\{148\}// 12507t nl 12508:delim 12509h 12510s/\(.\{148\}\)..*/\1/ 12511t more2 12512s/["\\]/\\&/g; s/^/"/; s/$/"/ 12513p 12514b 12515:more2 12516s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12517p 12518g 12519s/.\{148\}// 12520t delim 12521' <conf$$subs.awk | sed ' 12522/^[^""]/{ 12523 N 12524 s/\n// 12525} 12526' >>$CONFIG_STATUS || ac_write_fail=1 12527rm -f conf$$subs.awk 12528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12529_ACAWK 12530cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12531 for (key in S) S_is_set[key] = 1 12532 FS = "" 12533 12534} 12535{ 12536 line = $ 0 12537 nfields = split(line, field, "@") 12538 substed = 0 12539 len = length(field[1]) 12540 for (i = 2; i < nfields; i++) { 12541 key = field[i] 12542 keylen = length(key) 12543 if (S_is_set[key]) { 12544 value = S[key] 12545 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12546 len += length(value) + length(field[++i]) 12547 substed = 1 12548 } else 12549 len += 1 + keylen 12550 } 12551 12552 print line 12553} 12554 12555_ACAWK 12556_ACEOF 12557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12558if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12559 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12560else 12561 cat 12562fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 12563 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 12564_ACEOF 12565 12566# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 12567# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 12568# trailing colons and then remove the whole line if VPATH becomes empty 12569# (actually we leave an empty line to preserve line numbers). 12570if test "x$srcdir" = x.; then 12571 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 12572h 12573s/// 12574s/^/:/ 12575s/[ ]*$/:/ 12576s/:\$(srcdir):/:/g 12577s/:\${srcdir}:/:/g 12578s/:@srcdir@:/:/g 12579s/^:*// 12580s/:*$// 12581x 12582s/\(=[ ]*\).*/\1/ 12583G 12584s/\n// 12585s/^[^=]*=[ ]*$// 12586}' 12587fi 12588 12589cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12590fi # test -n "$CONFIG_FILES" 12591 12592# Set up the scripts for CONFIG_HEADERS section. 12593# No need to generate them if there are no CONFIG_HEADERS. 12594# This happens for instance with `./config.status Makefile'. 12595if test -n "$CONFIG_HEADERS"; then 12596cat >"$ac_tmp/defines.awk" <<\_ACAWK || 12597BEGIN { 12598_ACEOF 12599 12600# Transform confdefs.h into an awk script `defines.awk', embedded as 12601# here-document in config.status, that substitutes the proper values into 12602# config.h.in to produce config.h. 12603 12604# Create a delimiter string that does not exist in confdefs.h, to ease 12605# handling of long lines. 12606ac_delim='%!_!# ' 12607for ac_last_try in false false :; do 12608 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 12609 if test -z "$ac_tt"; then 12610 break 12611 elif $ac_last_try; then 12612 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 12613 else 12614 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12615 fi 12616done 12617 12618# For the awk script, D is an array of macro values keyed by name, 12619# likewise P contains macro parameters if any. Preserve backslash 12620# newline sequences. 12621 12622ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12623sed -n ' 12624s/.\{148\}/&'"$ac_delim"'/g 12625t rset 12626:rset 12627s/^[ ]*#[ ]*define[ ][ ]*/ / 12628t def 12629d 12630:def 12631s/\\$// 12632t bsnl 12633s/["\\]/\\&/g 12634s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12635D["\1"]=" \3"/p 12636s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12637d 12638:bsnl 12639s/["\\]/\\&/g 12640s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12641D["\1"]=" \3\\\\\\n"\\/p 12642t cont 12643s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12644t cont 12645d 12646:cont 12647n 12648s/.\{148\}/&'"$ac_delim"'/g 12649t clear 12650:clear 12651s/\\$// 12652t bsnlc 12653s/["\\]/\\&/g; s/^/"/; s/$/"/p 12654d 12655:bsnlc 12656s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12657b cont 12658' <confdefs.h | sed ' 12659s/'"$ac_delim"'/"\\\ 12660"/g' >>$CONFIG_STATUS || ac_write_fail=1 12661 12662cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12663 for (key in D) D_is_set[key] = 1 12664 FS = "" 12665} 12666/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12667 line = \$ 0 12668 split(line, arg, " ") 12669 if (arg[1] == "#") { 12670 defundef = arg[2] 12671 mac1 = arg[3] 12672 } else { 12673 defundef = substr(arg[1], 2) 12674 mac1 = arg[2] 12675 } 12676 split(mac1, mac2, "(") #) 12677 macro = mac2[1] 12678 prefix = substr(line, 1, index(line, defundef) - 1) 12679 if (D_is_set[macro]) { 12680 # Preserve the white space surrounding the "#". 12681 print prefix "define", macro P[macro] D[macro] 12682 next 12683 } else { 12684 # Replace #undef with comments. This is necessary, for example, 12685 # in the case of _POSIX_SOURCE, which is predefined and required 12686 # on some systems where configure will not decide to define it. 12687 if (defundef == "undef") { 12688 print "/*", prefix defundef, macro, "*/" 12689 next 12690 } 12691 } 12692} 12693{ print } 12694_ACAWK 12695_ACEOF 12696cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12697 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 12698fi # test -n "$CONFIG_HEADERS" 12699 12700 12701eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 12702shift 12703for ac_tag 12704do 12705 case $ac_tag in 12706 :[FHLC]) ac_mode=$ac_tag; continue;; 12707 esac 12708 case $ac_mode$ac_tag in 12709 :[FHL]*:*);; 12710 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 12711 :[FH]-) ac_tag=-:-;; 12712 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12713 esac 12714 ac_save_IFS=$IFS 12715 IFS=: 12716 set x $ac_tag 12717 IFS=$ac_save_IFS 12718 shift 12719 ac_file=$1 12720 shift 12721 12722 case $ac_mode in 12723 :L) ac_source=$1;; 12724 :[FH]) 12725 ac_file_inputs= 12726 for ac_f 12727 do 12728 case $ac_f in 12729 -) ac_f="$ac_tmp/stdin";; 12730 *) # Look for the file first in the build tree, then in the source tree 12731 # (if the path is not absolute). The absolute path cannot be DOS-style, 12732 # because $ac_f cannot contain `:'. 12733 test -f "$ac_f" || 12734 case $ac_f in 12735 [\\/$]*) false;; 12736 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12737 esac || 12738 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12739 esac 12740 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12741 as_fn_append ac_file_inputs " '$ac_f'" 12742 done 12743 12744 # Let's still pretend it is `configure' which instantiates (i.e., don't 12745 # use $as_me), people would be surprised to read: 12746 # /* config.h. Generated by config.status. */ 12747 configure_input='Generated from '` 12748 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12749 `' by configure.' 12750 if test x"$ac_file" != x-; then 12751 configure_input="$ac_file. $configure_input" 12752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12753$as_echo "$as_me: creating $ac_file" >&6;} 12754 fi 12755 # Neutralize special characters interpreted by sed in replacement strings. 12756 case $configure_input in #( 12757 *\&* | *\|* | *\\* ) 12758 ac_sed_conf_input=`$as_echo "$configure_input" | 12759 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12760 *) ac_sed_conf_input=$configure_input;; 12761 esac 12762 12763 case $ac_tag in 12764 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 12765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 12766 esac 12767 ;; 12768 esac 12769 12770 ac_dir=`$as_dirname -- "$ac_file" || 12771$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12772 X"$ac_file" : 'X\(//\)[^/]' \| \ 12773 X"$ac_file" : 'X\(//\)$' \| \ 12774 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12775$as_echo X"$ac_file" | 12776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12777 s//\1/ 12778 q 12779 } 12780 /^X\(\/\/\)[^/].*/{ 12781 s//\1/ 12782 q 12783 } 12784 /^X\(\/\/\)$/{ 12785 s//\1/ 12786 q 12787 } 12788 /^X\(\/\).*/{ 12789 s//\1/ 12790 q 12791 } 12792 s/.*/./; q'` 12793 as_dir="$ac_dir"; as_fn_mkdir_p 12794 ac_builddir=. 12795 12796case "$ac_dir" in 12797.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12798*) 12799 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12800 # A ".." for each directory in $ac_dir_suffix. 12801 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12802 case $ac_top_builddir_sub in 12803 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12804 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12805 esac ;; 12806esac 12807ac_abs_top_builddir=$ac_pwd 12808ac_abs_builddir=$ac_pwd$ac_dir_suffix 12809# for backward compatibility: 12810ac_top_builddir=$ac_top_build_prefix 12811 12812case $srcdir in 12813 .) # We are building in place. 12814 ac_srcdir=. 12815 ac_top_srcdir=$ac_top_builddir_sub 12816 ac_abs_top_srcdir=$ac_pwd ;; 12817 [\\/]* | ?:[\\/]* ) # Absolute name. 12818 ac_srcdir=$srcdir$ac_dir_suffix; 12819 ac_top_srcdir=$srcdir 12820 ac_abs_top_srcdir=$srcdir ;; 12821 *) # Relative name. 12822 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12823 ac_top_srcdir=$ac_top_build_prefix$srcdir 12824 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12825esac 12826ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12827 12828 12829 case $ac_mode in 12830 :F) 12831 # 12832 # CONFIG_FILE 12833 # 12834 12835 case $INSTALL in 12836 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12837 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 12838 esac 12839 ac_MKDIR_P=$MKDIR_P 12840 case $MKDIR_P in 12841 [\\/$]* | ?:[\\/]* ) ;; 12842 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 12843 esac 12844_ACEOF 12845 12846cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12847# If the template does not know about datarootdir, expand it. 12848# FIXME: This hack should be removed a few years after 2.60. 12849ac_datarootdir_hack=; ac_datarootdir_seen= 12850ac_sed_dataroot=' 12851/datarootdir/ { 12852 p 12853 q 12854} 12855/@datadir@/p 12856/@docdir@/p 12857/@infodir@/p 12858/@localedir@/p 12859/@mandir@/p' 12860case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 12861*datarootdir*) ac_datarootdir_seen=yes;; 12862*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 12863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12864$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12865_ACEOF 12866cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12867 ac_datarootdir_hack=' 12868 s&@datadir@&$datadir&g 12869 s&@docdir@&$docdir&g 12870 s&@infodir@&$infodir&g 12871 s&@localedir@&$localedir&g 12872 s&@mandir@&$mandir&g 12873 s&\\\${datarootdir}&$datarootdir&g' ;; 12874esac 12875_ACEOF 12876 12877# Neutralize VPATH when `$srcdir' = `.'. 12878# Shell code in configure.ac might set extrasub. 12879# FIXME: do we really want to maintain this feature? 12880cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12881ac_sed_extra="$ac_vpsub 12882$extrasub 12883_ACEOF 12884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12885:t 12886/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 12887s|@configure_input@|$ac_sed_conf_input|;t t 12888s&@top_builddir@&$ac_top_builddir_sub&;t t 12889s&@top_build_prefix@&$ac_top_build_prefix&;t t 12890s&@srcdir@&$ac_srcdir&;t t 12891s&@abs_srcdir@&$ac_abs_srcdir&;t t 12892s&@top_srcdir@&$ac_top_srcdir&;t t 12893s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 12894s&@builddir@&$ac_builddir&;t t 12895s&@abs_builddir@&$ac_abs_builddir&;t t 12896s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12897s&@INSTALL@&$ac_INSTALL&;t t 12898s&@MKDIR_P@&$ac_MKDIR_P&;t t 12899$ac_datarootdir_hack 12900" 12901eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 12902 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12903 12904test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12905 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 12906 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 12907 "$ac_tmp/out"`; test -z "$ac_out"; } && 12908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12909which seems to be undefined. Please make sure it is defined" >&5 12910$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12911which seems to be undefined. Please make sure it is defined" >&2;} 12912 12913 rm -f "$ac_tmp/stdin" 12914 case $ac_file in 12915 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 12916 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 12917 esac \ 12918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12919 ;; 12920 :H) 12921 # 12922 # CONFIG_HEADER 12923 # 12924 if test x"$ac_file" != x-; then 12925 { 12926 $as_echo "/* $configure_input */" \ 12927 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 12928 } >"$ac_tmp/config.h" \ 12929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12930 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 12931 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12932$as_echo "$as_me: $ac_file is unchanged" >&6;} 12933 else 12934 rm -f "$ac_file" 12935 mv "$ac_tmp/config.h" "$ac_file" \ 12936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12937 fi 12938 else 12939 $as_echo "/* $configure_input */" \ 12940 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 12941 || as_fn_error $? "could not create -" "$LINENO" 5 12942 fi 12943# Compute "$ac_file"'s index in $config_headers. 12944_am_arg="$ac_file" 12945_am_stamp_count=1 12946for _am_header in $config_headers :; do 12947 case $_am_header in 12948 $_am_arg | $_am_arg:* ) 12949 break ;; 12950 * ) 12951 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12952 esac 12953done 12954echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 12955$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12956 X"$_am_arg" : 'X\(//\)[^/]' \| \ 12957 X"$_am_arg" : 'X\(//\)$' \| \ 12958 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 12959$as_echo X"$_am_arg" | 12960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12961 s//\1/ 12962 q 12963 } 12964 /^X\(\/\/\)[^/].*/{ 12965 s//\1/ 12966 q 12967 } 12968 /^X\(\/\/\)$/{ 12969 s//\1/ 12970 q 12971 } 12972 /^X\(\/\).*/{ 12973 s//\1/ 12974 q 12975 } 12976 s/.*/./; q'`/stamp-h$_am_stamp_count 12977 ;; 12978 12979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12980$as_echo "$as_me: executing $ac_file commands" >&6;} 12981 ;; 12982 esac 12983 12984 12985 case $ac_file$ac_mode in 12986 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12987 # Autoconf 2.62 quotes --file arguments for eval, but not when files 12988 # are listed without --file. Let's play safe and only enable the eval 12989 # if we detect the quoting. 12990 case $CONFIG_FILES in 12991 *\'*) eval set x "$CONFIG_FILES" ;; 12992 *) set x $CONFIG_FILES ;; 12993 esac 12994 shift 12995 for mf 12996 do 12997 # Strip MF so we end up with the name of the file. 12998 mf=`echo "$mf" | sed -e 's/:.*$//'` 12999 # Check whether this is an Automake generated Makefile or not. 13000 # We used to match only the files named `Makefile.in', but 13001 # some people rename them; so instead we look at the file content. 13002 # Grep'ing the first line is not enough: some people post-process 13003 # each Makefile.in and add a new line on top of each file to say so. 13004 # Grep'ing the whole file is not good either: AIX grep has a line 13005 # limit of 2048, but all sed's we know have understand at least 4000. 13006 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13007 dirpart=`$as_dirname -- "$mf" || 13008$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13009 X"$mf" : 'X\(//\)[^/]' \| \ 13010 X"$mf" : 'X\(//\)$' \| \ 13011 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13012$as_echo X"$mf" | 13013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13014 s//\1/ 13015 q 13016 } 13017 /^X\(\/\/\)[^/].*/{ 13018 s//\1/ 13019 q 13020 } 13021 /^X\(\/\/\)$/{ 13022 s//\1/ 13023 q 13024 } 13025 /^X\(\/\).*/{ 13026 s//\1/ 13027 q 13028 } 13029 s/.*/./; q'` 13030 else 13031 continue 13032 fi 13033 # Extract the definition of DEPDIR, am__include, and am__quote 13034 # from the Makefile without running `make'. 13035 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13036 test -z "$DEPDIR" && continue 13037 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13038 test -z "am__include" && continue 13039 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13040 # When using ansi2knr, U may be empty or an underscore; expand it 13041 U=`sed -n 's/^U = //p' < "$mf"` 13042 # Find all dependency output files, they are included files with 13043 # $(DEPDIR) in their names. We invoke sed twice because it is the 13044 # simplest approach to changing $(DEPDIR) to its actual value in the 13045 # expansion. 13046 for file in `sed -n " 13047 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13048 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13049 # Make sure the directory exists. 13050 test -f "$dirpart/$file" && continue 13051 fdir=`$as_dirname -- "$file" || 13052$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13053 X"$file" : 'X\(//\)[^/]' \| \ 13054 X"$file" : 'X\(//\)$' \| \ 13055 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13056$as_echo X"$file" | 13057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13058 s//\1/ 13059 q 13060 } 13061 /^X\(\/\/\)[^/].*/{ 13062 s//\1/ 13063 q 13064 } 13065 /^X\(\/\/\)$/{ 13066 s//\1/ 13067 q 13068 } 13069 /^X\(\/\).*/{ 13070 s//\1/ 13071 q 13072 } 13073 s/.*/./; q'` 13074 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13075 # echo "creating $dirpart/$file" 13076 echo '# dummy' > "$dirpart/$file" 13077 done 13078 done 13079} 13080 ;; 13081 "libtool":C) 13082 13083 # See if we are running on zsh, and set the options which allow our 13084 # commands through without removal of \ escapes. 13085 if test -n "${ZSH_VERSION+set}" ; then 13086 setopt NO_GLOB_SUBST 13087 fi 13088 13089 cfgfile="${ofile}T" 13090 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13091 $RM "$cfgfile" 13092 13093 cat <<_LT_EOF >> "$cfgfile" 13094#! $SHELL 13095 13096# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13097# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13098# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13099# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13100# 13101# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13102# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, 13103# Inc. 13104# Written by Gordon Matzigkeit, 1996 13105# 13106# This file is part of GNU Libtool. 13107# 13108# GNU Libtool is free software; you can redistribute it and/or 13109# modify it under the terms of the GNU General Public License as 13110# published by the Free Software Foundation; either version 2 of 13111# the License, or (at your option) any later version. 13112# 13113# As a special exception to the GNU General Public License, 13114# if you distribute this file as part of a program or library that 13115# is built using GNU Libtool, you may include this file under the 13116# same distribution terms that you use for the rest of that program. 13117# 13118# GNU Libtool is distributed in the hope that it will be useful, 13119# but WITHOUT ANY WARRANTY; without even the implied warranty of 13120# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13121# GNU General Public License for more details. 13122# 13123# You should have received a copy of the GNU General Public License 13124# along with GNU Libtool; see the file COPYING. If not, a copy 13125# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13126# obtained by writing to the Free Software Foundation, Inc., 13127# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13128 13129 13130# The names of the tagged configurations supported by this script. 13131available_tags="" 13132 13133# ### BEGIN LIBTOOL CONFIG 13134 13135# Which release of libtool.m4 was used? 13136macro_version=$macro_version 13137macro_revision=$macro_revision 13138 13139# Whether or not to build shared libraries. 13140build_libtool_libs=$enable_shared 13141 13142# Whether or not to build static libraries. 13143build_old_libs=$enable_static 13144 13145# What type of objects to build. 13146pic_mode=$pic_mode 13147 13148# Whether or not to optimize for fast installation. 13149fast_install=$enable_fast_install 13150 13151# Shell to use when invoking shell scripts. 13152SHELL=$lt_SHELL 13153 13154# An echo program that protects backslashes. 13155ECHO=$lt_ECHO 13156 13157# The host system. 13158host_alias=$host_alias 13159host=$host 13160host_os=$host_os 13161 13162# The build system. 13163build_alias=$build_alias 13164build=$build 13165build_os=$build_os 13166 13167# A sed program that does not truncate output. 13168SED=$lt_SED 13169 13170# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13171Xsed="\$SED -e 1s/^X//" 13172 13173# A grep program that handles long lines. 13174GREP=$lt_GREP 13175 13176# An ERE matcher. 13177EGREP=$lt_EGREP 13178 13179# A literal string matcher. 13180FGREP=$lt_FGREP 13181 13182# A BSD- or MS-compatible name lister. 13183NM=$lt_NM 13184 13185# Whether we need soft or hard links. 13186LN_S=$lt_LN_S 13187 13188# What is the maximum length of a command? 13189max_cmd_len=$max_cmd_len 13190 13191# Object file suffix (normally "o"). 13192objext=$ac_objext 13193 13194# Executable file suffix (normally ""). 13195exeext=$exeext 13196 13197# whether the shell understands "unset". 13198lt_unset=$lt_unset 13199 13200# turn spaces into newlines. 13201SP2NL=$lt_lt_SP2NL 13202 13203# turn newlines into spaces. 13204NL2SP=$lt_lt_NL2SP 13205 13206# An object symbol dumper. 13207OBJDUMP=$lt_OBJDUMP 13208 13209# Method to check whether dependent libraries are shared objects. 13210deplibs_check_method=$lt_deplibs_check_method 13211 13212# Command to use when deplibs_check_method == "file_magic". 13213file_magic_cmd=$lt_file_magic_cmd 13214 13215# The archiver. 13216AR=$lt_AR 13217AR_FLAGS=$lt_AR_FLAGS 13218 13219# A symbol stripping program. 13220STRIP=$lt_STRIP 13221 13222# Commands used to install an old-style archive. 13223RANLIB=$lt_RANLIB 13224old_postinstall_cmds=$lt_old_postinstall_cmds 13225old_postuninstall_cmds=$lt_old_postuninstall_cmds 13226 13227# Whether to use a lock for old archive extraction. 13228lock_old_archive_extraction=$lock_old_archive_extraction 13229 13230# A C compiler. 13231LTCC=$lt_CC 13232 13233# LTCC compiler flags. 13234LTCFLAGS=$lt_CFLAGS 13235 13236# Take the output of nm and produce a listing of raw symbols and C names. 13237global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13238 13239# Transform the output of nm in a proper C declaration. 13240global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13241 13242# Transform the output of nm in a C name address pair. 13243global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13244 13245# Transform the output of nm in a C name address pair when lib prefix is needed. 13246global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13247 13248# The name of the directory that contains temporary libtool files. 13249objdir=$objdir 13250 13251# Used to examine libraries when file_magic_cmd begins with "file". 13252MAGIC_CMD=$MAGIC_CMD 13253 13254# Must we lock files when doing compilation? 13255need_locks=$lt_need_locks 13256 13257# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13258DSYMUTIL=$lt_DSYMUTIL 13259 13260# Tool to change global to local symbols on Mac OS X. 13261NMEDIT=$lt_NMEDIT 13262 13263# Tool to manipulate fat objects and archives on Mac OS X. 13264LIPO=$lt_LIPO 13265 13266# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13267OTOOL=$lt_OTOOL 13268 13269# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13270OTOOL64=$lt_OTOOL64 13271 13272# Old archive suffix (normally "a"). 13273libext=$libext 13274 13275# Shared library suffix (normally ".so"). 13276shrext_cmds=$lt_shrext_cmds 13277 13278# The commands to extract the exported symbol list from a shared archive. 13279extract_expsyms_cmds=$lt_extract_expsyms_cmds 13280 13281# Variables whose values should be saved in libtool wrapper scripts and 13282# restored at link time. 13283variables_saved_for_relink=$lt_variables_saved_for_relink 13284 13285# Do we need the "lib" prefix for modules? 13286need_lib_prefix=$need_lib_prefix 13287 13288# Do we need a version for libraries? 13289need_version=$need_version 13290 13291# Library versioning type. 13292version_type=$version_type 13293 13294# Shared library runtime path variable. 13295runpath_var=$runpath_var 13296 13297# Shared library path variable. 13298shlibpath_var=$shlibpath_var 13299 13300# Is shlibpath searched before the hard-coded library search path? 13301shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13302 13303# Format of library name prefix. 13304libname_spec=$lt_libname_spec 13305 13306# List of archive names. First name is the real one, the rest are links. 13307# The last name is the one that the linker finds with -lNAME 13308library_names_spec=$lt_library_names_spec 13309 13310# The coded name of the library, if different from the real name. 13311soname_spec=$lt_soname_spec 13312 13313# Permission mode override for installation of shared libraries. 13314install_override_mode=$lt_install_override_mode 13315 13316# Command to use after installation of a shared archive. 13317postinstall_cmds=$lt_postinstall_cmds 13318 13319# Command to use after uninstallation of a shared archive. 13320postuninstall_cmds=$lt_postuninstall_cmds 13321 13322# Commands used to finish a libtool library installation in a directory. 13323finish_cmds=$lt_finish_cmds 13324 13325# As "finish_cmds", except a single script fragment to be evaled but 13326# not shown. 13327finish_eval=$lt_finish_eval 13328 13329# Whether we should hardcode library paths into libraries. 13330hardcode_into_libs=$hardcode_into_libs 13331 13332# Compile-time system search path for libraries. 13333sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13334 13335# Run-time system search path for libraries. 13336sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13337 13338# Whether dlopen is supported. 13339dlopen_support=$enable_dlopen 13340 13341# Whether dlopen of programs is supported. 13342dlopen_self=$enable_dlopen_self 13343 13344# Whether dlopen of statically linked programs is supported. 13345dlopen_self_static=$enable_dlopen_self_static 13346 13347# Commands to strip libraries. 13348old_striplib=$lt_old_striplib 13349striplib=$lt_striplib 13350 13351 13352# The linker used to build libraries. 13353LD=$lt_LD 13354 13355# How to create reloadable object files. 13356reload_flag=$lt_reload_flag 13357reload_cmds=$lt_reload_cmds 13358 13359# Commands used to build an old-style archive. 13360old_archive_cmds=$lt_old_archive_cmds 13361 13362# A language specific compiler. 13363CC=$lt_compiler 13364 13365# Is the compiler the GNU compiler? 13366with_gcc=$GCC 13367 13368# Compiler flag to turn off builtin functions. 13369no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13370 13371# How to pass a linker flag through the compiler. 13372wl=$lt_lt_prog_compiler_wl 13373 13374# Additional compiler flags for building library objects. 13375pic_flag=$lt_lt_prog_compiler_pic 13376 13377# Compiler flag to prevent dynamic linking. 13378link_static_flag=$lt_lt_prog_compiler_static 13379 13380# Does compiler simultaneously support -c and -o options? 13381compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13382 13383# Whether or not to add -lc for building shared libraries. 13384build_libtool_need_lc=$archive_cmds_need_lc 13385 13386# Whether or not to disallow shared libs when runtime libs are static. 13387allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13388 13389# Compiler flag to allow reflexive dlopens. 13390export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13391 13392# Compiler flag to generate shared objects directly from archives. 13393whole_archive_flag_spec=$lt_whole_archive_flag_spec 13394 13395# Whether the compiler copes with passing no objects directly. 13396compiler_needs_object=$lt_compiler_needs_object 13397 13398# Create an old-style archive from a shared archive. 13399old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13400 13401# Create a temporary old-style archive to link instead of a shared archive. 13402old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13403 13404# Commands used to build a shared archive. 13405archive_cmds=$lt_archive_cmds 13406archive_expsym_cmds=$lt_archive_expsym_cmds 13407 13408# Commands used to build a loadable module if different from building 13409# a shared archive. 13410module_cmds=$lt_module_cmds 13411module_expsym_cmds=$lt_module_expsym_cmds 13412 13413# Whether we are building with GNU ld or not. 13414with_gnu_ld=$lt_with_gnu_ld 13415 13416# Flag that allows shared libraries with undefined symbols to be built. 13417allow_undefined_flag=$lt_allow_undefined_flag 13418 13419# Flag that enforces no undefined symbols. 13420no_undefined_flag=$lt_no_undefined_flag 13421 13422# Flag to hardcode \$libdir into a binary during linking. 13423# This must work even if \$libdir does not exist 13424hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13425 13426# If ld is used when linking, flag to hardcode \$libdir into a binary 13427# during linking. This must work even if \$libdir does not exist. 13428hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 13429 13430# Whether we need a single "-rpath" flag with a separated argument. 13431hardcode_libdir_separator=$lt_hardcode_libdir_separator 13432 13433# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13434# DIR into the resulting binary. 13435hardcode_direct=$hardcode_direct 13436 13437# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13438# DIR into the resulting binary and the resulting library dependency is 13439# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13440# library is relocated. 13441hardcode_direct_absolute=$hardcode_direct_absolute 13442 13443# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13444# into the resulting binary. 13445hardcode_minus_L=$hardcode_minus_L 13446 13447# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13448# into the resulting binary. 13449hardcode_shlibpath_var=$hardcode_shlibpath_var 13450 13451# Set to "yes" if building a shared library automatically hardcodes DIR 13452# into the library and all subsequent libraries and executables linked 13453# against it. 13454hardcode_automatic=$hardcode_automatic 13455 13456# Set to yes if linker adds runtime paths of dependent libraries 13457# to runtime path list. 13458inherit_rpath=$inherit_rpath 13459 13460# Whether libtool must link a program against all its dependency libraries. 13461link_all_deplibs=$link_all_deplibs 13462 13463# Fix the shell variable \$srcfile for the compiler. 13464fix_srcfile_path=$lt_fix_srcfile_path 13465 13466# Set to "yes" if exported symbols are required. 13467always_export_symbols=$always_export_symbols 13468 13469# The commands to list exported symbols. 13470export_symbols_cmds=$lt_export_symbols_cmds 13471 13472# Symbols that should not be listed in the preloaded symbols. 13473exclude_expsyms=$lt_exclude_expsyms 13474 13475# Symbols that must always be exported. 13476include_expsyms=$lt_include_expsyms 13477 13478# Commands necessary for linking programs (against libraries) with templates. 13479prelink_cmds=$lt_prelink_cmds 13480 13481# Specify filename containing input files. 13482file_list_spec=$lt_file_list_spec 13483 13484# How to hardcode a shared library path into an executable. 13485hardcode_action=$hardcode_action 13486 13487# ### END LIBTOOL CONFIG 13488 13489_LT_EOF 13490 13491 case $host_os in 13492 aix3*) 13493 cat <<\_LT_EOF >> "$cfgfile" 13494# AIX sometimes has problems with the GCC collect2 program. For some 13495# reason, if we set the COLLECT_NAMES environment variable, the problems 13496# vanish in a puff of smoke. 13497if test "X${COLLECT_NAMES+set}" != Xset; then 13498 COLLECT_NAMES= 13499 export COLLECT_NAMES 13500fi 13501_LT_EOF 13502 ;; 13503 esac 13504 13505 13506ltmain="$ac_aux_dir/ltmain.sh" 13507 13508 13509 # We use sed instead of cat because bash on DJGPP gets confused if 13510 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13511 # text mode, it properly converts lines to CR/LF. This bash problem 13512 # is reportedly fixed, but why not run on old versions too? 13513 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 13514 || (rm -f "$cfgfile"; exit 1) 13515 13516 case $xsi_shell in 13517 yes) 13518 cat << \_LT_EOF >> "$cfgfile" 13519 13520# func_dirname file append nondir_replacement 13521# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13522# otherwise set result to NONDIR_REPLACEMENT. 13523func_dirname () 13524{ 13525 case ${1} in 13526 */*) func_dirname_result="${1%/*}${2}" ;; 13527 * ) func_dirname_result="${3}" ;; 13528 esac 13529} 13530 13531# func_basename file 13532func_basename () 13533{ 13534 func_basename_result="${1##*/}" 13535} 13536 13537# func_dirname_and_basename file append nondir_replacement 13538# perform func_basename and func_dirname in a single function 13539# call: 13540# dirname: Compute the dirname of FILE. If nonempty, 13541# add APPEND to the result, otherwise set result 13542# to NONDIR_REPLACEMENT. 13543# value returned in "$func_dirname_result" 13544# basename: Compute filename of FILE. 13545# value retuned in "$func_basename_result" 13546# Implementation must be kept synchronized with func_dirname 13547# and func_basename. For efficiency, we do not delegate to 13548# those functions but instead duplicate the functionality here. 13549func_dirname_and_basename () 13550{ 13551 case ${1} in 13552 */*) func_dirname_result="${1%/*}${2}" ;; 13553 * ) func_dirname_result="${3}" ;; 13554 esac 13555 func_basename_result="${1##*/}" 13556} 13557 13558# func_stripname prefix suffix name 13559# strip PREFIX and SUFFIX off of NAME. 13560# PREFIX and SUFFIX must not contain globbing or regex special 13561# characters, hashes, percent signs, but SUFFIX may contain a leading 13562# dot (in which case that matches only a dot). 13563func_stripname () 13564{ 13565 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 13566 # positional parameters, so assign one to ordinary parameter first. 13567 func_stripname_result=${3} 13568 func_stripname_result=${func_stripname_result#"${1}"} 13569 func_stripname_result=${func_stripname_result%"${2}"} 13570} 13571 13572# func_opt_split 13573func_opt_split () 13574{ 13575 func_opt_split_opt=${1%%=*} 13576 func_opt_split_arg=${1#*=} 13577} 13578 13579# func_lo2o object 13580func_lo2o () 13581{ 13582 case ${1} in 13583 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 13584 *) func_lo2o_result=${1} ;; 13585 esac 13586} 13587 13588# func_xform libobj-or-source 13589func_xform () 13590{ 13591 func_xform_result=${1%.*}.lo 13592} 13593 13594# func_arith arithmetic-term... 13595func_arith () 13596{ 13597 func_arith_result=$(( $* )) 13598} 13599 13600# func_len string 13601# STRING may not start with a hyphen. 13602func_len () 13603{ 13604 func_len_result=${#1} 13605} 13606 13607_LT_EOF 13608 ;; 13609 *) # Bourne compatible functions. 13610 cat << \_LT_EOF >> "$cfgfile" 13611 13612# func_dirname file append nondir_replacement 13613# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13614# otherwise set result to NONDIR_REPLACEMENT. 13615func_dirname () 13616{ 13617 # Extract subdirectory from the argument. 13618 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` 13619 if test "X$func_dirname_result" = "X${1}"; then 13620 func_dirname_result="${3}" 13621 else 13622 func_dirname_result="$func_dirname_result${2}" 13623 fi 13624} 13625 13626# func_basename file 13627func_basename () 13628{ 13629 func_basename_result=`$ECHO "${1}" | $SED "$basename"` 13630} 13631 13632 13633# func_stripname prefix suffix name 13634# strip PREFIX and SUFFIX off of NAME. 13635# PREFIX and SUFFIX must not contain globbing or regex special 13636# characters, hashes, percent signs, but SUFFIX may contain a leading 13637# dot (in which case that matches only a dot). 13638# func_strip_suffix prefix name 13639func_stripname () 13640{ 13641 case ${2} in 13642 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 13643 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 13644 esac 13645} 13646 13647# sed scripts: 13648my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 13649my_sed_long_arg='1s/^-[^=]*=//' 13650 13651# func_opt_split 13652func_opt_split () 13653{ 13654 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` 13655 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` 13656} 13657 13658# func_lo2o object 13659func_lo2o () 13660{ 13661 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` 13662} 13663 13664# func_xform libobj-or-source 13665func_xform () 13666{ 13667 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` 13668} 13669 13670# func_arith arithmetic-term... 13671func_arith () 13672{ 13673 func_arith_result=`expr "$@"` 13674} 13675 13676# func_len string 13677# STRING may not start with a hyphen. 13678func_len () 13679{ 13680 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 13681} 13682 13683_LT_EOF 13684esac 13685 13686case $lt_shell_append in 13687 yes) 13688 cat << \_LT_EOF >> "$cfgfile" 13689 13690# func_append var value 13691# Append VALUE to the end of shell variable VAR. 13692func_append () 13693{ 13694 eval "$1+=\$2" 13695} 13696_LT_EOF 13697 ;; 13698 *) 13699 cat << \_LT_EOF >> "$cfgfile" 13700 13701# func_append var value 13702# Append VALUE to the end of shell variable VAR. 13703func_append () 13704{ 13705 eval "$1=\$$1\$2" 13706} 13707 13708_LT_EOF 13709 ;; 13710 esac 13711 13712 13713 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 13714 || (rm -f "$cfgfile"; exit 1) 13715 13716 mv -f "$cfgfile" "$ofile" || 13717 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 13718 chmod +x "$ofile" 13719 13720 ;; 13721 13722 esac 13723done # for ac_tag 13724 13725 13726as_fn_exit 0 13727_ACEOF 13728ac_clean_files=$ac_clean_files_save 13729 13730test $ac_write_fail = 0 || 13731 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13732 13733 13734# configure is writing to config.log, and then calls config.status. 13735# config.status does its own redirection, appending to config.log. 13736# Unfortunately, on DOS this fails, as config.log is still kept open 13737# by configure, so config.status won't be able to write to it; its 13738# output is simply discarded. So we exec the FD to /dev/null, 13739# effectively closing config.log, so it can be properly (re)opened and 13740# appended to by config.status. When coming back to configure, we 13741# need to make the FD available again. 13742if test "$no_create" != yes; then 13743 ac_cs_success=: 13744 ac_config_status_args= 13745 test "$silent" = yes && 13746 ac_config_status_args="$ac_config_status_args --quiet" 13747 exec 5>/dev/null 13748 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13749 exec 5>>config.log 13750 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13751 # would make configure fail if this is the last instruction. 13752 $ac_cs_success || as_fn_exit 1 13753fi 13754if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13756$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13757fi 13758 13759 13760