1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.65 for conntrack-tools 1.4.0. 4@%:@ 5@%:@ Report bugs to <pablo@netfilter.org>. 6@%:@ 7@%:@ 8@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10@%:@ 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. 94case $0 in @%:@(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in @%:@( 148 *posix*) : 149 set -o posix ;; @%:@( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 PATH=/empty FPATH=/empty; export PATH FPATH 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 184test \$(( 1 + 1 )) = 2 || exit 1" 185 if (eval "$as_required") 2>/dev/null; then : 186 as_have_required=yes 187else 188 as_have_required=no 189fi 190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 192else 193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194as_found=false 195for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 196do 197 IFS=$as_save_IFS 198 test -z "$as_dir" && as_dir=. 199 as_found=: 200 case $as_dir in @%:@( 201 /*) 202 for as_base in sh bash ksh sh5; do 203 # Try only shells that exist, to save several forks. 204 as_shell=$as_dir/$as_base 205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 207 CONFIG_SHELL=$as_shell as_have_required=yes 208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 209 break 2 210fi 211fi 212 done;; 213 esac 214 as_found=false 215done 216$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 218 CONFIG_SHELL=$SHELL as_have_required=yes 219fi; } 220IFS=$as_save_IFS 221 222 223 if test "x$CONFIG_SHELL" != x; then : 224 # We cannot yet assume a decent shell, so we have to provide a 225 # neutralization value for shells without unset; and this also 226 # works around shells that cannot unset nonexistent variables. 227 BASH_ENV=/dev/null 228 ENV=/dev/null 229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL 231 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242$0: pablo@netfilter.org about your system, including any 243$0: error possibly output before this message. Then install 244$0: a modern shell, or manually run the script under such a 245$0: shell if you do have one." 246 fi 247 exit 1 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260@%:@ as_fn_unset VAR 261@%:@ --------------- 262@%:@ Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269@%:@ as_fn_set_status STATUS 270@%:@ ----------------------- 271@%:@ Set @S|@? to STATUS, without forking. 272as_fn_set_status () 273{ 274 return $1 275} @%:@ as_fn_set_status 276 277@%:@ as_fn_exit STATUS 278@%:@ ----------------- 279@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280as_fn_exit () 281{ 282 set +e 283 as_fn_set_status $1 284 exit $1 285} @%:@ as_fn_exit 286 287@%:@ as_fn_mkdir_p 288@%:@ ------------- 289@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 290as_fn_mkdir_p () 291{ 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309$as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 331 332 333} @%:@ as_fn_mkdir_p 334@%:@ as_fn_append VAR VALUE 335@%:@ ---------------------- 336@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 337@%:@ advantage of any shell optimizations that allow amortized linear growth over 338@%:@ repeated appends, instead of the typical quadratic growth present in naive 339@%:@ implementations. 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # as_fn_append 351 352@%:@ as_fn_arith ARG... 353@%:@ ------------------ 354@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 355@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 356@%:@ must be portable across @S|@(()) and expr. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # as_fn_arith 368 369 370@%:@ as_fn_error ERROR [LINENO LOG_FD] 371@%:@ --------------------------------- 372@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374@%:@ script with status @S|@?, using 1 if that was 0. 375as_fn_error () 376{ 377 as_status=$?; test $as_status -eq 0 && as_status=1 378 if test "$3"; then 379 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 381 fi 382 $as_echo "$as_me: error: $1" >&2 383 as_fn_exit $as_status 384} @%:@ as_fn_error 385 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_me=`$as_basename -- "$0" || 406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409$as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 423 424# Avoid depending upon Character Ranges. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461} 462 463ECHO_C= ECHO_N= ECHO_T= 464case `echo -n x` in @%:@((((( 465-n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472*) 473 ECHO_N='-n';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in @%:@( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 536# Sed expression to map a string onto a valid variable name. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539SHELL=${CONFIG_SHELL-/bin/sh} 540 541 542test -n "$DJDIR" || exec 7<&0 </dev/null 543exec 6>&1 544 545# Name of the host. 546# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 547# so uname gets run too. 548ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 549 550# 551# Initializations. 552# 553ac_default_prefix=/usr/local 554ac_clean_files= 555ac_config_libobj_dir=. 556LIB@&t@OBJS= 557cross_compiling=no 558subdirs= 559MFLAGS= 560MAKEFLAGS= 561 562# Identity of this package. 563PACKAGE_NAME='conntrack-tools' 564PACKAGE_TARNAME='conntrack-tools' 565PACKAGE_VERSION='1.4.0' 566PACKAGE_STRING='conntrack-tools 1.4.0' 567PACKAGE_BUGREPORT='pablo@netfilter.org' 568PACKAGE_URL='' 569 570# Factoring default headers for most tests. 571ac_includes_default="\ 572#include <stdio.h> 573#ifdef HAVE_SYS_TYPES_H 574# include <sys/types.h> 575#endif 576#ifdef HAVE_SYS_STAT_H 577# include <sys/stat.h> 578#endif 579#ifdef STDC_HEADERS 580# include <stdlib.h> 581# include <stddef.h> 582#else 583# ifdef HAVE_STDLIB_H 584# include <stdlib.h> 585# endif 586#endif 587#ifdef HAVE_STRING_H 588# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 589# include <memory.h> 590# endif 591# include <string.h> 592#endif 593#ifdef HAVE_STRINGS_H 594# include <strings.h> 595#endif 596#ifdef HAVE_INTTYPES_H 597# include <inttypes.h> 598#endif 599#ifdef HAVE_STDINT_H 600# include <stdint.h> 601#endif 602#ifdef HAVE_UNISTD_H 603# include <unistd.h> 604#endif" 605 606ac_subst_vars='am__EXEEXT_FALSE 607am__EXEEXT_TRUE 608LTLIBOBJS 609LIB@&t@OBJS 610LIBNETFILTER_QUEUE_LIBS 611LIBNETFILTER_QUEUE_CFLAGS 612LIBNETFILTER_CTHELPER_LIBS 613LIBNETFILTER_CTHELPER_CFLAGS 614LIBNETFILTER_CTTIMEOUT_LIBS 615LIBNETFILTER_CTTIMEOUT_CFLAGS 616LIBNETFILTER_CONNTRACK_LIBS 617LIBNETFILTER_CONNTRACK_CFLAGS 618LIBMNL_LIBS 619LIBMNL_CFLAGS 620LIBNFNETLINK_LIBS 621LIBNFNETLINK_CFLAGS 622PKG_CONFIG_LIBDIR 623PKG_CONFIG_PATH 624PKG_CONFIG 625YFLAGS 626YACC 627LEXLIB 628LEX_OUTPUT_ROOT 629LEX 630CPP 631OTOOL64 632OTOOL 633LIPO 634NMEDIT 635DSYMUTIL 636MANIFEST_TOOL 637RANLIB 638ac_ct_AR 639AR 640DLLTOOL 641OBJDUMP 642LN_S 643NM 644ac_ct_DUMPBIN 645DUMPBIN 646LD 647FGREP 648EGREP 649GREP 650SED 651LIBTOOL 652libdl_LIBS 653am__fastdepCC_FALSE 654am__fastdepCC_TRUE 655CCDEPMODE 656am__nodep 657AMDEPBACKSLASH 658AMDEP_FALSE 659AMDEP_TRUE 660am__quote 661am__include 662DEPDIR 663OBJEXT 664EXEEXT 665ac_ct_CC 666CPPFLAGS 667LDFLAGS 668CFLAGS 669CC 670AM_BACKSLASH 671AM_DEFAULT_VERBOSITY 672AM_DEFAULT_V 673AM_V 674am__untar 675am__tar 676AMTAR 677am__leading_dot 678SET_MAKE 679AWK 680mkdir_p 681MKDIR_P 682INSTALL_STRIP_PROGRAM 683STRIP 684install_sh 685MAKEINFO 686AUTOHEADER 687AUTOMAKE 688AUTOCONF 689ACLOCAL 690VERSION 691PACKAGE 692CYGPATH_W 693am__isrc 694INSTALL_DATA 695INSTALL_SCRIPT 696INSTALL_PROGRAM 697host_os 698host_vendor 699host_cpu 700host 701build_os 702build_vendor 703build_cpu 704build 705target_alias 706host_alias 707build_alias 708LIBS 709ECHO_T 710ECHO_N 711ECHO_C 712DEFS 713mandir 714localedir 715libdir 716psdir 717pdfdir 718dvidir 719htmldir 720infodir 721docdir 722oldincludedir 723includedir 724localstatedir 725sharedstatedir 726sysconfdir 727datadir 728datarootdir 729libexecdir 730sbindir 731bindir 732program_transform_name 733prefix 734exec_prefix 735PACKAGE_URL 736PACKAGE_BUGREPORT 737PACKAGE_STRING 738PACKAGE_VERSION 739PACKAGE_TARNAME 740PACKAGE_NAME 741PATH_SEPARATOR 742SHELL' 743ac_subst_files='' 744ac_user_opts=' 745enable_option_checking 746enable_silent_rules 747enable_dependency_tracking 748enable_static 749enable_shared 750with_pic 751enable_fast_install 752with_gnu_ld 753with_sysroot 754enable_libtool_lock 755' 756 ac_precious_vars='build_alias 757host_alias 758target_alias 759CC 760CFLAGS 761LDFLAGS 762LIBS 763CPPFLAGS 764CPP 765YACC 766YFLAGS 767PKG_CONFIG 768PKG_CONFIG_PATH 769PKG_CONFIG_LIBDIR 770LIBNFNETLINK_CFLAGS 771LIBNFNETLINK_LIBS 772LIBMNL_CFLAGS 773LIBMNL_LIBS 774LIBNETFILTER_CONNTRACK_CFLAGS 775LIBNETFILTER_CONNTRACK_LIBS 776LIBNETFILTER_CTTIMEOUT_CFLAGS 777LIBNETFILTER_CTTIMEOUT_LIBS 778LIBNETFILTER_CTHELPER_CFLAGS 779LIBNETFILTER_CTHELPER_LIBS 780LIBNETFILTER_QUEUE_CFLAGS 781LIBNETFILTER_QUEUE_LIBS' 782 783 784# Initialize some variables set by options. 785ac_init_help= 786ac_init_version=false 787ac_unrecognized_opts= 788ac_unrecognized_sep= 789# The variables have the same names as the options, with 790# dashes changed to underlines. 791cache_file=/dev/null 792exec_prefix=NONE 793no_create= 794no_recursion= 795prefix=NONE 796program_prefix=NONE 797program_suffix=NONE 798program_transform_name=s,x,x, 799silent= 800site= 801srcdir= 802verbose= 803x_includes=NONE 804x_libraries=NONE 805 806# Installation directory options. 807# These are left unexpanded so users can "make install exec_prefix=/foo" 808# and all the variables that are supposed to be based on exec_prefix 809# by default will actually change. 810# Use braces instead of parens because sh, perl, etc. also accept them. 811# (The list follows the same order as the GNU Coding Standards.) 812bindir='${exec_prefix}/bin' 813sbindir='${exec_prefix}/sbin' 814libexecdir='${exec_prefix}/libexec' 815datarootdir='${prefix}/share' 816datadir='${datarootdir}' 817sysconfdir='${prefix}/etc' 818sharedstatedir='${prefix}/com' 819localstatedir='${prefix}/var' 820includedir='${prefix}/include' 821oldincludedir='/usr/include' 822docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 823infodir='${datarootdir}/info' 824htmldir='${docdir}' 825dvidir='${docdir}' 826pdfdir='${docdir}' 827psdir='${docdir}' 828libdir='${exec_prefix}/lib' 829localedir='${datarootdir}/locale' 830mandir='${datarootdir}/man' 831 832ac_prev= 833ac_dashdash= 834for ac_option 835do 836 # If the previous option needs an argument, assign it. 837 if test -n "$ac_prev"; then 838 eval $ac_prev=\$ac_option 839 ac_prev= 840 continue 841 fi 842 843 case $ac_option in 844 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 845 *) ac_optarg=yes ;; 846 esac 847 848 # Accept the important Cygnus configure options, so we can diagnose typos. 849 850 case $ac_dashdash$ac_option in 851 --) 852 ac_dashdash=yes ;; 853 854 -bindir | --bindir | --bindi | --bind | --bin | --bi) 855 ac_prev=bindir ;; 856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 857 bindir=$ac_optarg ;; 858 859 -build | --build | --buil | --bui | --bu) 860 ac_prev=build_alias ;; 861 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 862 build_alias=$ac_optarg ;; 863 864 -cache-file | --cache-file | --cache-fil | --cache-fi \ 865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 866 ac_prev=cache_file ;; 867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 869 cache_file=$ac_optarg ;; 870 871 --config-cache | -C) 872 cache_file=config.cache ;; 873 874 -datadir | --datadir | --datadi | --datad) 875 ac_prev=datadir ;; 876 -datadir=* | --datadir=* | --datadi=* | --datad=*) 877 datadir=$ac_optarg ;; 878 879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 880 | --dataroo | --dataro | --datar) 881 ac_prev=datarootdir ;; 882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 884 datarootdir=$ac_optarg ;; 885 886 -disable-* | --disable-*) 887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 888 # Reject names that are not valid shell variable names. 889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 890 as_fn_error "invalid feature name: $ac_useropt" 891 ac_useropt_orig=$ac_useropt 892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 893 case $ac_user_opts in 894 *" 895"enable_$ac_useropt" 896"*) ;; 897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 898 ac_unrecognized_sep=', ';; 899 esac 900 eval enable_$ac_useropt=no ;; 901 902 -docdir | --docdir | --docdi | --doc | --do) 903 ac_prev=docdir ;; 904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 905 docdir=$ac_optarg ;; 906 907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 908 ac_prev=dvidir ;; 909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 910 dvidir=$ac_optarg ;; 911 912 -enable-* | --enable-*) 913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 914 # Reject names that are not valid shell variable names. 915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 916 as_fn_error "invalid feature name: $ac_useropt" 917 ac_useropt_orig=$ac_useropt 918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 919 case $ac_user_opts in 920 *" 921"enable_$ac_useropt" 922"*) ;; 923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 924 ac_unrecognized_sep=', ';; 925 esac 926 eval enable_$ac_useropt=\$ac_optarg ;; 927 928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 930 | --exec | --exe | --ex) 931 ac_prev=exec_prefix ;; 932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 934 | --exec=* | --exe=* | --ex=*) 935 exec_prefix=$ac_optarg ;; 936 937 -gas | --gas | --ga | --g) 938 # Obsolete; use --with-gas. 939 with_gas=yes ;; 940 941 -help | --help | --hel | --he | -h) 942 ac_init_help=long ;; 943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 944 ac_init_help=recursive ;; 945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 946 ac_init_help=short ;; 947 948 -host | --host | --hos | --ho) 949 ac_prev=host_alias ;; 950 -host=* | --host=* | --hos=* | --ho=*) 951 host_alias=$ac_optarg ;; 952 953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 954 ac_prev=htmldir ;; 955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 956 | --ht=*) 957 htmldir=$ac_optarg ;; 958 959 -includedir | --includedir | --includedi | --included | --include \ 960 | --includ | --inclu | --incl | --inc) 961 ac_prev=includedir ;; 962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 963 | --includ=* | --inclu=* | --incl=* | --inc=*) 964 includedir=$ac_optarg ;; 965 966 -infodir | --infodir | --infodi | --infod | --info | --inf) 967 ac_prev=infodir ;; 968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 969 infodir=$ac_optarg ;; 970 971 -libdir | --libdir | --libdi | --libd) 972 ac_prev=libdir ;; 973 -libdir=* | --libdir=* | --libdi=* | --libd=*) 974 libdir=$ac_optarg ;; 975 976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 977 | --libexe | --libex | --libe) 978 ac_prev=libexecdir ;; 979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 980 | --libexe=* | --libex=* | --libe=*) 981 libexecdir=$ac_optarg ;; 982 983 -localedir | --localedir | --localedi | --localed | --locale) 984 ac_prev=localedir ;; 985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 986 localedir=$ac_optarg ;; 987 988 -localstatedir | --localstatedir | --localstatedi | --localstated \ 989 | --localstate | --localstat | --localsta | --localst | --locals) 990 ac_prev=localstatedir ;; 991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 993 localstatedir=$ac_optarg ;; 994 995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 996 ac_prev=mandir ;; 997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 998 mandir=$ac_optarg ;; 999 1000 -nfp | --nfp | --nf) 1001 # Obsolete; use --without-fp. 1002 with_fp=no ;; 1003 1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1005 | --no-cr | --no-c | -n) 1006 no_create=yes ;; 1007 1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1010 no_recursion=yes ;; 1011 1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1014 | --oldin | --oldi | --old | --ol | --o) 1015 ac_prev=oldincludedir ;; 1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1019 oldincludedir=$ac_optarg ;; 1020 1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1022 ac_prev=prefix ;; 1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1024 prefix=$ac_optarg ;; 1025 1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1027 | --program-pre | --program-pr | --program-p) 1028 ac_prev=program_prefix ;; 1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1031 program_prefix=$ac_optarg ;; 1032 1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1034 | --program-suf | --program-su | --program-s) 1035 ac_prev=program_suffix ;; 1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1038 program_suffix=$ac_optarg ;; 1039 1040 -program-transform-name | --program-transform-name \ 1041 | --program-transform-nam | --program-transform-na \ 1042 | --program-transform-n | --program-transform- \ 1043 | --program-transform | --program-transfor \ 1044 | --program-transfo | --program-transf \ 1045 | --program-trans | --program-tran \ 1046 | --progr-tra | --program-tr | --program-t) 1047 ac_prev=program_transform_name ;; 1048 -program-transform-name=* | --program-transform-name=* \ 1049 | --program-transform-nam=* | --program-transform-na=* \ 1050 | --program-transform-n=* | --program-transform-=* \ 1051 | --program-transform=* | --program-transfor=* \ 1052 | --program-transfo=* | --program-transf=* \ 1053 | --program-trans=* | --program-tran=* \ 1054 | --progr-tra=* | --program-tr=* | --program-t=*) 1055 program_transform_name=$ac_optarg ;; 1056 1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1058 ac_prev=pdfdir ;; 1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1060 pdfdir=$ac_optarg ;; 1061 1062 -psdir | --psdir | --psdi | --psd | --ps) 1063 ac_prev=psdir ;; 1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1065 psdir=$ac_optarg ;; 1066 1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1068 | -silent | --silent | --silen | --sile | --sil) 1069 silent=yes ;; 1070 1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1072 ac_prev=sbindir ;; 1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1074 | --sbi=* | --sb=*) 1075 sbindir=$ac_optarg ;; 1076 1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1079 | --sharedst | --shareds | --shared | --share | --shar \ 1080 | --sha | --sh) 1081 ac_prev=sharedstatedir ;; 1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1085 | --sha=* | --sh=*) 1086 sharedstatedir=$ac_optarg ;; 1087 1088 -site | --site | --sit) 1089 ac_prev=site ;; 1090 -site=* | --site=* | --sit=*) 1091 site=$ac_optarg ;; 1092 1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1094 ac_prev=srcdir ;; 1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1096 srcdir=$ac_optarg ;; 1097 1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1099 | --syscon | --sysco | --sysc | --sys | --sy) 1100 ac_prev=sysconfdir ;; 1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1103 sysconfdir=$ac_optarg ;; 1104 1105 -target | --target | --targe | --targ | --tar | --ta | --t) 1106 ac_prev=target_alias ;; 1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1108 target_alias=$ac_optarg ;; 1109 1110 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1111 verbose=yes ;; 1112 1113 -version | --version | --versio | --versi | --vers | -V) 1114 ac_init_version=: ;; 1115 1116 -with-* | --with-*) 1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1118 # Reject names that are not valid shell variable names. 1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1120 as_fn_error "invalid package name: $ac_useropt" 1121 ac_useropt_orig=$ac_useropt 1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1123 case $ac_user_opts in 1124 *" 1125"with_$ac_useropt" 1126"*) ;; 1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1128 ac_unrecognized_sep=', ';; 1129 esac 1130 eval with_$ac_useropt=\$ac_optarg ;; 1131 1132 -without-* | --without-*) 1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1134 # Reject names that are not valid shell variable names. 1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1136 as_fn_error "invalid package name: $ac_useropt" 1137 ac_useropt_orig=$ac_useropt 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1139 case $ac_user_opts in 1140 *" 1141"with_$ac_useropt" 1142"*) ;; 1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1144 ac_unrecognized_sep=', ';; 1145 esac 1146 eval with_$ac_useropt=no ;; 1147 1148 --x) 1149 # Obsolete; use --with-x. 1150 with_x=yes ;; 1151 1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1153 | --x-incl | --x-inc | --x-in | --x-i) 1154 ac_prev=x_includes ;; 1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1157 x_includes=$ac_optarg ;; 1158 1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1161 ac_prev=x_libraries ;; 1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1164 x_libraries=$ac_optarg ;; 1165 1166 -*) as_fn_error "unrecognized option: \`$ac_option' 1167Try \`$0 --help' for more information." 1168 ;; 1169 1170 *=*) 1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1172 # Reject names that are not valid shell variable names. 1173 case $ac_envvar in #( 1174 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1175 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1176 esac 1177 eval $ac_envvar=\$ac_optarg 1178 export $ac_envvar ;; 1179 1180 *) 1181 # FIXME: should be removed in autoconf 3.0. 1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1186 ;; 1187 1188 esac 1189done 1190 1191if test -n "$ac_prev"; then 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1193 as_fn_error "missing argument to $ac_option" 1194fi 1195 1196if test -n "$ac_unrecognized_opts"; then 1197 case $enable_option_checking in 1198 no) ;; 1199 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1201 esac 1202fi 1203 1204# Check all directory arguments for consistency. 1205for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1206 datadir sysconfdir sharedstatedir localstatedir includedir \ 1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1208 libdir localedir mandir 1209do 1210 eval ac_val=\$$ac_var 1211 # Remove trailing slashes. 1212 case $ac_val in 1213 */ ) 1214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1215 eval $ac_var=\$ac_val;; 1216 esac 1217 # Be sure to have absolute directory names. 1218 case $ac_val in 1219 [\\/$]* | ?:[\\/]* ) continue;; 1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1221 esac 1222 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1223done 1224 1225# There might be people who depend on the old broken behavior: `$host' 1226# used to hold the argument of --host etc. 1227# FIXME: To remove some day. 1228build=$build_alias 1229host=$host_alias 1230target=$target_alias 1231 1232# FIXME: To remove some day. 1233if test "x$host_alias" != x; then 1234 if test "x$build_alias" = x; then 1235 cross_compiling=maybe 1236 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1237 If a cross compiler is detected then cross compile mode will be used." >&2 1238 elif test "x$build_alias" != "x$host_alias"; then 1239 cross_compiling=yes 1240 fi 1241fi 1242 1243ac_tool_prefix= 1244test -n "$host_alias" && ac_tool_prefix=$host_alias- 1245 1246test "$silent" = yes && exec 6>/dev/null 1247 1248 1249ac_pwd=`pwd` && test -n "$ac_pwd" && 1250ac_ls_di=`ls -di .` && 1251ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1252 as_fn_error "working directory cannot be determined" 1253test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 as_fn_error "pwd does not report name of working directory" 1255 1256 1257# Find the source files, if location was not specified. 1258if test -z "$srcdir"; then 1259 ac_srcdir_defaulted=yes 1260 # Try the directory containing this script, then the parent directory. 1261 ac_confdir=`$as_dirname -- "$as_myself" || 1262$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1263 X"$as_myself" : 'X\(//\)[^/]' \| \ 1264 X"$as_myself" : 'X\(//\)$' \| \ 1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1266$as_echo X"$as_myself" | 1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1268 s//\1/ 1269 q 1270 } 1271 /^X\(\/\/\)[^/].*/{ 1272 s//\1/ 1273 q 1274 } 1275 /^X\(\/\/\)$/{ 1276 s//\1/ 1277 q 1278 } 1279 /^X\(\/\).*/{ 1280 s//\1/ 1281 q 1282 } 1283 s/.*/./; q'` 1284 srcdir=$ac_confdir 1285 if test ! -r "$srcdir/$ac_unique_file"; then 1286 srcdir=.. 1287 fi 1288else 1289 ac_srcdir_defaulted=no 1290fi 1291if test ! -r "$srcdir/$ac_unique_file"; then 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1293 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1294fi 1295ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1296ac_abs_confdir=`( 1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1298 pwd)` 1299# When building in place, set srcdir=. 1300if test "$ac_abs_confdir" = "$ac_pwd"; then 1301 srcdir=. 1302fi 1303# Remove unnecessary trailing slashes from srcdir. 1304# Double slashes in file names in object file debugging info 1305# mess up M-x gdb in Emacs. 1306case $srcdir in 1307*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1308esac 1309for ac_var in $ac_precious_vars; do 1310 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1311 eval ac_env_${ac_var}_value=\$${ac_var} 1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1313 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1314done 1315 1316# 1317# Report the --help message. 1318# 1319if test "$ac_init_help" = "long"; then 1320 # Omit some internal or obsolete options to make the list less imposing. 1321 # This message is too long to be a string in the A/UX 3.1 sh. 1322 cat <<_ACEOF 1323\`configure' configures conntrack-tools 1.4.0 to adapt to many kinds of systems. 1324 1325Usage: $0 [OPTION]... [VAR=VALUE]... 1326 1327To assign environment variables (e.g., CC, CFLAGS...), specify them as 1328VAR=VALUE. See below for descriptions of some of the useful variables. 1329 1330Defaults for the options are specified in brackets. 1331 1332Configuration: 1333 -h, --help display this help and exit 1334 --help=short display options specific to this package 1335 --help=recursive display the short help of all the included packages 1336 -V, --version display version information and exit 1337 -q, --quiet, --silent do not print \`checking...' messages 1338 --cache-file=FILE cache test results in FILE [disabled] 1339 -C, --config-cache alias for \`--cache-file=config.cache' 1340 -n, --no-create do not create output files 1341 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1342 1343Installation directories: 1344 --prefix=PREFIX install architecture-independent files in PREFIX 1345 @<:@@S|@ac_default_prefix@:>@ 1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1347 @<:@PREFIX@:>@ 1348 1349By default, \`make install' will install all the files in 1350\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1351an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1352for instance \`--prefix=\$HOME'. 1353 1354For better control, use the options below. 1355 1356Fine tuning of the installation directories: 1357 --bindir=DIR user executables [EPREFIX/bin] 1358 --sbindir=DIR system admin executables [EPREFIX/sbin] 1359 --libexecdir=DIR program executables [EPREFIX/libexec] 1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1363 --libdir=DIR object code libraries [EPREFIX/lib] 1364 --includedir=DIR C header files [PREFIX/include] 1365 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1368 --infodir=DIR info documentation [DATAROOTDIR/info] 1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1370 --mandir=DIR man documentation [DATAROOTDIR/man] 1371 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/conntrack-tools@:>@ 1372 --htmldir=DIR html documentation [DOCDIR] 1373 --dvidir=DIR dvi documentation [DOCDIR] 1374 --pdfdir=DIR pdf documentation [DOCDIR] 1375 --psdir=DIR ps documentation [DOCDIR] 1376_ACEOF 1377 1378 cat <<\_ACEOF 1379 1380Program names: 1381 --program-prefix=PREFIX prepend PREFIX to installed program names 1382 --program-suffix=SUFFIX append SUFFIX to installed program names 1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1384 1385System types: 1386 --build=BUILD configure for building on BUILD [guessed] 1387 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1388_ACEOF 1389fi 1390 1391if test -n "$ac_init_help"; then 1392 case $ac_init_help in 1393 short | recursive ) echo "Configuration of conntrack-tools 1.4.0:";; 1394 esac 1395 cat <<\_ACEOF 1396 1397Optional Features: 1398 --disable-option-checking ignore unrecognized --enable/--with options 1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1401 --enable-silent-rules less verbose build output (undo: `make V=1') 1402 --disable-silent-rules verbose build output (undo: `make V=0') 1403 --disable-dependency-tracking speeds up one-time build 1404 --enable-dependency-tracking do not reject slow dependency extractors 1405 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@ 1406 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1407 --enable-fast-install@<:@=PKGS@:>@ 1408 optimize for fast installation @<:@default=yes@:>@ 1409 --disable-libtool-lock avoid locking (might break parallel builds) 1410 1411Optional Packages: 1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1414 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1415 both@:>@ 1416 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1417 --with-sysroot=DIR Search for dependent libraries within DIR 1418 (or the compiler's sysroot if not specified). 1419 1420Some influential environment variables: 1421 CC C compiler command 1422 CFLAGS C compiler flags 1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1424 nonstandard directory <lib dir> 1425 LIBS libraries to pass to the linker, e.g. -l<library> 1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 you have headers in a nonstandard directory <include dir> 1428 CPP C preprocessor 1429 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1430 the first program found out of: `bison -y', `byacc', `yacc'. 1431 YFLAGS The list of arguments that will be passed by default to @S|@YACC. 1432 This script will default YFLAGS to the empty string to avoid a 1433 default value of `-d' given by some make applications. 1434 PKG_CONFIG path to pkg-config utility 1435 PKG_CONFIG_PATH 1436 directories to add to pkg-config's search path 1437 PKG_CONFIG_LIBDIR 1438 path overriding pkg-config's built-in search path 1439 LIBNFNETLINK_CFLAGS 1440 C compiler flags for LIBNFNETLINK, overriding pkg-config 1441 LIBNFNETLINK_LIBS 1442 linker flags for LIBNFNETLINK, overriding pkg-config 1443 LIBMNL_CFLAGS 1444 C compiler flags for LIBMNL, overriding pkg-config 1445 LIBMNL_LIBS linker flags for LIBMNL, overriding pkg-config 1446 LIBNETFILTER_CONNTRACK_CFLAGS 1447 C compiler flags for LIBNETFILTER_CONNTRACK, overriding 1448 pkg-config 1449 LIBNETFILTER_CONNTRACK_LIBS 1450 linker flags for LIBNETFILTER_CONNTRACK, overriding pkg-config 1451 LIBNETFILTER_CTTIMEOUT_CFLAGS 1452 C compiler flags for LIBNETFILTER_CTTIMEOUT, overriding 1453 pkg-config 1454 LIBNETFILTER_CTTIMEOUT_LIBS 1455 linker flags for LIBNETFILTER_CTTIMEOUT, overriding pkg-config 1456 LIBNETFILTER_CTHELPER_CFLAGS 1457 C compiler flags for LIBNETFILTER_CTHELPER, overriding 1458 pkg-config 1459 LIBNETFILTER_CTHELPER_LIBS 1460 linker flags for LIBNETFILTER_CTHELPER, overriding pkg-config 1461 LIBNETFILTER_QUEUE_CFLAGS 1462 C compiler flags for LIBNETFILTER_QUEUE, overriding pkg-config 1463 LIBNETFILTER_QUEUE_LIBS 1464 linker flags for LIBNETFILTER_QUEUE, overriding pkg-config 1465 1466Use these variables to override the choices made by `configure' or to help 1467it to find libraries and programs with nonstandard names/locations. 1468 1469Report bugs to <pablo@netfilter.org>. 1470_ACEOF 1471ac_status=$? 1472fi 1473 1474if test "$ac_init_help" = "recursive"; then 1475 # If there are subdirs, report their specific --help. 1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1477 test -d "$ac_dir" || 1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1479 continue 1480 ac_builddir=. 1481 1482case "$ac_dir" in 1483.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1484*) 1485 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1486 # A ".." for each directory in $ac_dir_suffix. 1487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1488 case $ac_top_builddir_sub in 1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1491 esac ;; 1492esac 1493ac_abs_top_builddir=$ac_pwd 1494ac_abs_builddir=$ac_pwd$ac_dir_suffix 1495# for backward compatibility: 1496ac_top_builddir=$ac_top_build_prefix 1497 1498case $srcdir in 1499 .) # We are building in place. 1500 ac_srcdir=. 1501 ac_top_srcdir=$ac_top_builddir_sub 1502 ac_abs_top_srcdir=$ac_pwd ;; 1503 [\\/]* | ?:[\\/]* ) # Absolute name. 1504 ac_srcdir=$srcdir$ac_dir_suffix; 1505 ac_top_srcdir=$srcdir 1506 ac_abs_top_srcdir=$srcdir ;; 1507 *) # Relative name. 1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1509 ac_top_srcdir=$ac_top_build_prefix$srcdir 1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1511esac 1512ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1513 1514 cd "$ac_dir" || { ac_status=$?; continue; } 1515 # Check for guested configure. 1516 if test -f "$ac_srcdir/configure.gnu"; then 1517 echo && 1518 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1519 elif test -f "$ac_srcdir/configure"; then 1520 echo && 1521 $SHELL "$ac_srcdir/configure" --help=recursive 1522 else 1523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1524 fi || ac_status=$? 1525 cd "$ac_pwd" || { ac_status=$?; break; } 1526 done 1527fi 1528 1529test -n "$ac_init_help" && exit $ac_status 1530if $ac_init_version; then 1531 cat <<\_ACEOF 1532conntrack-tools configure 1.4.0 1533generated by GNU Autoconf 2.65 1534 1535Copyright (C) 2009 Free Software Foundation, Inc. 1536This configure script is free software; the Free Software Foundation 1537gives unlimited permission to copy, distribute and modify it. 1538_ACEOF 1539 exit 1540fi 1541 1542## ------------------------ ## 1543## Autoconf initialization. ## 1544## ------------------------ ## 1545 1546@%:@ ac_fn_c_try_compile LINENO 1547@%:@ -------------------------- 1548@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1549ac_fn_c_try_compile () 1550{ 1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1552 rm -f conftest.$ac_objext 1553 if { { ac_try="$ac_compile" 1554case "(($ac_try" in 1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1556 *) ac_try_echo=$ac_try;; 1557esac 1558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1559$as_echo "$ac_try_echo"; } >&5 1560 (eval "$ac_compile") 2>conftest.err 1561 ac_status=$? 1562 if test -s conftest.err; then 1563 grep -v '^ *+' conftest.err >conftest.er1 1564 cat conftest.er1 >&5 1565 mv -f conftest.er1 conftest.err 1566 fi 1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; } && { 1569 test -z "$ac_c_werror_flag" || 1570 test ! -s conftest.err 1571 } && test -s conftest.$ac_objext; then : 1572 ac_retval=0 1573else 1574 $as_echo "$as_me: failed program was:" >&5 1575sed 's/^/| /' conftest.$ac_ext >&5 1576 1577 ac_retval=1 1578fi 1579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1580 as_fn_set_status $ac_retval 1581 1582} @%:@ ac_fn_c_try_compile 1583 1584@%:@ ac_fn_c_try_link LINENO 1585@%:@ ----------------------- 1586@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1587ac_fn_c_try_link () 1588{ 1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1590 rm -f conftest.$ac_objext conftest$ac_exeext 1591 if { { ac_try="$ac_link" 1592case "(($ac_try" in 1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1594 *) ac_try_echo=$ac_try;; 1595esac 1596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1597$as_echo "$ac_try_echo"; } >&5 1598 (eval "$ac_link") 2>conftest.err 1599 ac_status=$? 1600 if test -s conftest.err; then 1601 grep -v '^ *+' conftest.err >conftest.er1 1602 cat conftest.er1 >&5 1603 mv -f conftest.er1 conftest.err 1604 fi 1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1606 test $ac_status = 0; } && { 1607 test -z "$ac_c_werror_flag" || 1608 test ! -s conftest.err 1609 } && test -s conftest$ac_exeext && { 1610 test "$cross_compiling" = yes || 1611 $as_test_x conftest$ac_exeext 1612 }; then : 1613 ac_retval=0 1614else 1615 $as_echo "$as_me: failed program was:" >&5 1616sed 's/^/| /' conftest.$ac_ext >&5 1617 1618 ac_retval=1 1619fi 1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1622 # interfere with the next link command; also delete a directory that is 1623 # left behind by Apple's compiler. We do this before executing the actions. 1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1626 as_fn_set_status $ac_retval 1627 1628} @%:@ ac_fn_c_try_link 1629 1630@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1631@%:@ ------------------------------------------------------- 1632@%:@ Tests whether HEADER exists and can be compiled using the include files in 1633@%:@ INCLUDES, setting the cache variable VAR accordingly. 1634ac_fn_c_check_header_compile () 1635{ 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1638$as_echo_n "checking for $2... " >&6; } 1639if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1640 $as_echo_n "(cached) " >&6 1641else 1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1643/* end confdefs.h. */ 1644$4 1645@%:@include <$2> 1646_ACEOF 1647if ac_fn_c_try_compile "$LINENO"; then : 1648 eval "$3=yes" 1649else 1650 eval "$3=no" 1651fi 1652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1653fi 1654eval ac_res=\$$3 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1656$as_echo "$ac_res" >&6; } 1657 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1658 1659} @%:@ ac_fn_c_check_header_compile 1660 1661@%:@ ac_fn_c_try_cpp LINENO 1662@%:@ ---------------------- 1663@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1664ac_fn_c_try_cpp () 1665{ 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 if { { ac_try="$ac_cpp conftest.$ac_ext" 1668case "(($ac_try" in 1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1670 *) ac_try_echo=$ac_try;; 1671esac 1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1673$as_echo "$ac_try_echo"; } >&5 1674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1675 ac_status=$? 1676 if test -s conftest.err; then 1677 grep -v '^ *+' conftest.err >conftest.er1 1678 cat conftest.er1 >&5 1679 mv -f conftest.er1 conftest.err 1680 fi 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; } >/dev/null && { 1683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1684 test ! -s conftest.err 1685 }; then : 1686 ac_retval=0 1687else 1688 $as_echo "$as_me: failed program was:" >&5 1689sed 's/^/| /' conftest.$ac_ext >&5 1690 1691 ac_retval=1 1692fi 1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1694 as_fn_set_status $ac_retval 1695 1696} @%:@ ac_fn_c_try_cpp 1697 1698@%:@ ac_fn_c_try_run LINENO 1699@%:@ ---------------------- 1700@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1701@%:@ that executables *can* be run. 1702ac_fn_c_try_run () 1703{ 1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1705 if { { ac_try="$ac_link" 1706case "(($ac_try" in 1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1708 *) ac_try_echo=$ac_try;; 1709esac 1710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1711$as_echo "$ac_try_echo"; } >&5 1712 (eval "$ac_link") 2>&5 1713 ac_status=$? 1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1716 { { case "(($ac_try" in 1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1718 *) ac_try_echo=$ac_try;; 1719esac 1720eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1721$as_echo "$ac_try_echo"; } >&5 1722 (eval "$ac_try") 2>&5 1723 ac_status=$? 1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1725 test $ac_status = 0; }; }; then : 1726 ac_retval=0 1727else 1728 $as_echo "$as_me: program exited with status $ac_status" >&5 1729 $as_echo "$as_me: failed program was:" >&5 1730sed 's/^/| /' conftest.$ac_ext >&5 1731 1732 ac_retval=$ac_status 1733fi 1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1736 as_fn_set_status $ac_retval 1737 1738} @%:@ ac_fn_c_try_run 1739 1740@%:@ ac_fn_c_check_func LINENO FUNC VAR 1741@%:@ ---------------------------------- 1742@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1743ac_fn_c_check_func () 1744{ 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1747$as_echo_n "checking for $2... " >&6; } 1748if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1749 $as_echo_n "(cached) " >&6 1750else 1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1752/* end confdefs.h. */ 1753/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1755#define $2 innocuous_$2 1756 1757/* System header to define __stub macros and hopefully few prototypes, 1758 which can conflict with char $2 (); below. 1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1760 <limits.h> exists even on freestanding compilers. */ 1761 1762#ifdef __STDC__ 1763# include <limits.h> 1764#else 1765# include <assert.h> 1766#endif 1767 1768#undef $2 1769 1770/* Override any GCC internal prototype to avoid an error. 1771 Use char because int might match the return type of a GCC 1772 builtin and then its argument prototype would still apply. */ 1773#ifdef __cplusplus 1774extern "C" 1775#endif 1776char $2 (); 1777/* The GNU C library defines this for functions which it implements 1778 to always fail with ENOSYS. Some functions are actually named 1779 something starting with __ and the normal name is an alias. */ 1780#if defined __stub_$2 || defined __stub___$2 1781choke me 1782#endif 1783 1784int 1785main () 1786{ 1787return $2 (); 1788 ; 1789 return 0; 1790} 1791_ACEOF 1792if ac_fn_c_try_link "$LINENO"; then : 1793 eval "$3=yes" 1794else 1795 eval "$3=no" 1796fi 1797rm -f core conftest.err conftest.$ac_objext \ 1798 conftest$ac_exeext conftest.$ac_ext 1799fi 1800eval ac_res=\$$3 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1802$as_echo "$ac_res" >&6; } 1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1804 1805} @%:@ ac_fn_c_check_func 1806 1807@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1808@%:@ ------------------------------------------------------- 1809@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using 1810@%:@ the include files in INCLUDES and setting the cache variable VAR 1811@%:@ accordingly. 1812ac_fn_c_check_header_mongrel () 1813{ 1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1817$as_echo_n "checking for $2... " >&6; } 1818if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1819 $as_echo_n "(cached) " >&6 1820fi 1821eval ac_res=\$$3 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1823$as_echo "$ac_res" >&6; } 1824else 1825 # Is the header compilable? 1826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1827$as_echo_n "checking $2 usability... " >&6; } 1828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1829/* end confdefs.h. */ 1830$4 1831@%:@include <$2> 1832_ACEOF 1833if ac_fn_c_try_compile "$LINENO"; then : 1834 ac_header_compiler=yes 1835else 1836 ac_header_compiler=no 1837fi 1838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1840$as_echo "$ac_header_compiler" >&6; } 1841 1842# Is the header present? 1843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1844$as_echo_n "checking $2 presence... " >&6; } 1845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1846/* end confdefs.h. */ 1847@%:@include <$2> 1848_ACEOF 1849if ac_fn_c_try_cpp "$LINENO"; then : 1850 ac_header_preproc=yes 1851else 1852 ac_header_preproc=no 1853fi 1854rm -f conftest.err conftest.$ac_ext 1855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1856$as_echo "$ac_header_preproc" >&6; } 1857 1858# So? What about this header? 1859case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1860 yes:no: ) 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1862$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1864$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1865 ;; 1866 no:yes:* ) 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1868$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1870$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1872$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1874$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1876$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1877( cat <<\_ASBOX 1878## ---------------------------------- ## 1879## Report this to pablo@netfilter.org ## 1880## ---------------------------------- ## 1881_ASBOX 1882 ) | sed "s/^/$as_me: WARNING: /" >&2 1883 ;; 1884esac 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1886$as_echo_n "checking for $2... " >&6; } 1887if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1888 $as_echo_n "(cached) " >&6 1889else 1890 eval "$3=\$ac_header_compiler" 1891fi 1892eval ac_res=\$$3 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1894$as_echo "$ac_res" >&6; } 1895fi 1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1897 1898} @%:@ ac_fn_c_check_header_mongrel 1899cat >config.log <<_ACEOF 1900This file contains any messages produced by compilers while 1901running configure, to aid debugging if configure makes a mistake. 1902 1903It was created by conntrack-tools $as_me 1.4.0, which was 1904generated by GNU Autoconf 2.65. Invocation command line was 1905 1906 $ $0 $@ 1907 1908_ACEOF 1909exec 5>>config.log 1910{ 1911cat <<_ASUNAME 1912## --------- ## 1913## Platform. ## 1914## --------- ## 1915 1916hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1917uname -m = `(uname -m) 2>/dev/null || echo unknown` 1918uname -r = `(uname -r) 2>/dev/null || echo unknown` 1919uname -s = `(uname -s) 2>/dev/null || echo unknown` 1920uname -v = `(uname -v) 2>/dev/null || echo unknown` 1921 1922/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1923/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1924 1925/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1926/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1927/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1928/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1929/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1930/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1931/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1932 1933_ASUNAME 1934 1935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1936for as_dir in $PATH 1937do 1938 IFS=$as_save_IFS 1939 test -z "$as_dir" && as_dir=. 1940 $as_echo "PATH: $as_dir" 1941 done 1942IFS=$as_save_IFS 1943 1944} >&5 1945 1946cat >&5 <<_ACEOF 1947 1948 1949## ----------- ## 1950## Core tests. ## 1951## ----------- ## 1952 1953_ACEOF 1954 1955 1956# Keep a trace of the command line. 1957# Strip out --no-create and --no-recursion so they do not pile up. 1958# Strip out --silent because we don't want to record it for future runs. 1959# Also quote any args containing shell meta-characters. 1960# Make two passes to allow for proper duplicate-argument suppression. 1961ac_configure_args= 1962ac_configure_args0= 1963ac_configure_args1= 1964ac_must_keep_next=false 1965for ac_pass in 1 2 1966do 1967 for ac_arg 1968 do 1969 case $ac_arg in 1970 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1972 | -silent | --silent | --silen | --sile | --sil) 1973 continue ;; 1974 *\'*) 1975 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1976 esac 1977 case $ac_pass in 1978 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1979 2) 1980 as_fn_append ac_configure_args1 " '$ac_arg'" 1981 if test $ac_must_keep_next = true; then 1982 ac_must_keep_next=false # Got value, back to normal. 1983 else 1984 case $ac_arg in 1985 *=* | --config-cache | -C | -disable-* | --disable-* \ 1986 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1987 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1988 | -with-* | --with-* | -without-* | --without-* | --x) 1989 case "$ac_configure_args0 " in 1990 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1991 esac 1992 ;; 1993 -* ) ac_must_keep_next=true ;; 1994 esac 1995 fi 1996 as_fn_append ac_configure_args " '$ac_arg'" 1997 ;; 1998 esac 1999 done 2000done 2001{ ac_configure_args0=; unset ac_configure_args0;} 2002{ ac_configure_args1=; unset ac_configure_args1;} 2003 2004# When interrupted or exit'd, cleanup temporary files, and complete 2005# config.log. We remove comments because anyway the quotes in there 2006# would cause problems or look ugly. 2007# WARNING: Use '\'' to represent an apostrophe within the trap. 2008# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2009trap 'exit_status=$? 2010 # Save into config.log some information that might help in debugging. 2011 { 2012 echo 2013 2014 cat <<\_ASBOX 2015## ---------------- ## 2016## Cache variables. ## 2017## ---------------- ## 2018_ASBOX 2019 echo 2020 # The following way of writing the cache mishandles newlines in values, 2021( 2022 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2023 eval ac_val=\$$ac_var 2024 case $ac_val in #( 2025 *${as_nl}*) 2026 case $ac_var in #( 2027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2028$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2029 esac 2030 case $ac_var in #( 2031 _ | IFS | as_nl) ;; #( 2032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2033 *) { eval $ac_var=; unset $ac_var;} ;; 2034 esac ;; 2035 esac 2036 done 2037 (set) 2>&1 | 2038 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2039 *${as_nl}ac_space=\ *) 2040 sed -n \ 2041 "s/'\''/'\''\\\\'\'''\''/g; 2042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2043 ;; #( 2044 *) 2045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2046 ;; 2047 esac | 2048 sort 2049) 2050 echo 2051 2052 cat <<\_ASBOX 2053## ----------------- ## 2054## Output variables. ## 2055## ----------------- ## 2056_ASBOX 2057 echo 2058 for ac_var in $ac_subst_vars 2059 do 2060 eval ac_val=\$$ac_var 2061 case $ac_val in 2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2063 esac 2064 $as_echo "$ac_var='\''$ac_val'\''" 2065 done | sort 2066 echo 2067 2068 if test -n "$ac_subst_files"; then 2069 cat <<\_ASBOX 2070## ------------------- ## 2071## File substitutions. ## 2072## ------------------- ## 2073_ASBOX 2074 echo 2075 for ac_var in $ac_subst_files 2076 do 2077 eval ac_val=\$$ac_var 2078 case $ac_val in 2079 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2080 esac 2081 $as_echo "$ac_var='\''$ac_val'\''" 2082 done | sort 2083 echo 2084 fi 2085 2086 if test -s confdefs.h; then 2087 cat <<\_ASBOX 2088## ----------- ## 2089## confdefs.h. ## 2090## ----------- ## 2091_ASBOX 2092 echo 2093 cat confdefs.h 2094 echo 2095 fi 2096 test "$ac_signal" != 0 && 2097 $as_echo "$as_me: caught signal $ac_signal" 2098 $as_echo "$as_me: exit $exit_status" 2099 } >&5 2100 rm -f core *.core core.conftest.* && 2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2102 exit $exit_status 2103' 0 2104for ac_signal in 1 2 13 15; do 2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2106done 2107ac_signal=0 2108 2109# confdefs.h avoids OS command line length limits that DEFS can exceed. 2110rm -f -r conftest* confdefs.h 2111 2112$as_echo "/* confdefs.h */" > confdefs.h 2113 2114# Predefined preprocessor variables. 2115 2116cat >>confdefs.h <<_ACEOF 2117@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2118_ACEOF 2119 2120cat >>confdefs.h <<_ACEOF 2121@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2122_ACEOF 2123 2124cat >>confdefs.h <<_ACEOF 2125@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2126_ACEOF 2127 2128cat >>confdefs.h <<_ACEOF 2129@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2130_ACEOF 2131 2132cat >>confdefs.h <<_ACEOF 2133@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2134_ACEOF 2135 2136cat >>confdefs.h <<_ACEOF 2137@%:@define PACKAGE_URL "$PACKAGE_URL" 2138_ACEOF 2139 2140 2141# Let the site file select an alternate cache file if it wants to. 2142# Prefer an explicitly selected file to automatically selected ones. 2143ac_site_file1=NONE 2144ac_site_file2=NONE 2145if test -n "$CONFIG_SITE"; then 2146 ac_site_file1=$CONFIG_SITE 2147elif test "x$prefix" != xNONE; then 2148 ac_site_file1=$prefix/share/config.site 2149 ac_site_file2=$prefix/etc/config.site 2150else 2151 ac_site_file1=$ac_default_prefix/share/config.site 2152 ac_site_file2=$ac_default_prefix/etc/config.site 2153fi 2154for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2155do 2156 test "x$ac_site_file" = xNONE && continue 2157 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2159$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2160 sed 's/^/| /' "$ac_site_file" >&5 2161 . "$ac_site_file" 2162 fi 2163done 2164 2165if test -r "$cache_file"; then 2166 # Some versions of bash will fail to source /dev/null (special files 2167 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2168 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2170$as_echo "$as_me: loading cache $cache_file" >&6;} 2171 case $cache_file in 2172 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2173 *) . "./$cache_file";; 2174 esac 2175 fi 2176else 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2178$as_echo "$as_me: creating cache $cache_file" >&6;} 2179 >$cache_file 2180fi 2181 2182# Check that the precious variables saved in the cache have kept the same 2183# value. 2184ac_cache_corrupted=false 2185for ac_var in $ac_precious_vars; do 2186 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2187 eval ac_new_set=\$ac_env_${ac_var}_set 2188 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2189 eval ac_new_val=\$ac_env_${ac_var}_value 2190 case $ac_old_set,$ac_new_set in 2191 set,) 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2193$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2194 ac_cache_corrupted=: ;; 2195 ,set) 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2197$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2198 ac_cache_corrupted=: ;; 2199 ,);; 2200 *) 2201 if test "x$ac_old_val" != "x$ac_new_val"; then 2202 # differences in whitespace do not lead to failure. 2203 ac_old_val_w=`echo x $ac_old_val` 2204 ac_new_val_w=`echo x $ac_new_val` 2205 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2207$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2208 ac_cache_corrupted=: 2209 else 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2211$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2212 eval $ac_var=\$ac_old_val 2213 fi 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2215$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2217$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2218 fi;; 2219 esac 2220 # Pass precious variables to config.status. 2221 if test "$ac_new_set" = set; then 2222 case $ac_new_val in 2223 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2224 *) ac_arg=$ac_var=$ac_new_val ;; 2225 esac 2226 case " $ac_configure_args " in 2227 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2228 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2229 esac 2230 fi 2231done 2232if $ac_cache_corrupted; then 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2236$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2237 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2238fi 2239## -------------------- ## 2240## Main body of script. ## 2241## -------------------- ## 2242 2243ac_ext=c 2244ac_cpp='$CPP $CPPFLAGS' 2245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2247ac_compiler_gnu=$ac_cv_c_compiler_gnu 2248 2249 2250ac_aux_dir= 2251for ac_dir in build-aux "$srcdir"/build-aux; do 2252 for ac_t in install-sh install.sh shtool; do 2253 if test -f "$ac_dir/$ac_t"; then 2254 ac_aux_dir=$ac_dir 2255 ac_install_sh="$ac_aux_dir/$ac_t -c" 2256 break 2 2257 fi 2258 done 2259done 2260if test -z "$ac_aux_dir"; then 2261 as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2262fi 2263 2264# These three variables are undocumented and unsupported, 2265# and are intended to be withdrawn in a future Autoconf release. 2266# They can cause serious problems if a builder's source tree is in a directory 2267# whose full name contains unusual characters. 2268ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2269ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2270ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2271 2272 2273 2274# Make sure we can run config.sub. 2275$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2276 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2277 2278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2279$as_echo_n "checking build system type... " >&6; } 2280if test "${ac_cv_build+set}" = set; then : 2281 $as_echo_n "(cached) " >&6 2282else 2283 ac_build_alias=$build_alias 2284test "x$ac_build_alias" = x && 2285 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2286test "x$ac_build_alias" = x && 2287 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2288ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2289 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2290 2291fi 2292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2293$as_echo "$ac_cv_build" >&6; } 2294case $ac_cv_build in 2295*-*-*) ;; 2296*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2297esac 2298build=$ac_cv_build 2299ac_save_IFS=$IFS; IFS='-' 2300set x $ac_cv_build 2301shift 2302build_cpu=$1 2303build_vendor=$2 2304shift; shift 2305# Remember, the first character of IFS is used to create $*, 2306# except with old shells: 2307build_os=$* 2308IFS=$ac_save_IFS 2309case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2310 2311 2312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2313$as_echo_n "checking host system type... " >&6; } 2314if test "${ac_cv_host+set}" = set; then : 2315 $as_echo_n "(cached) " >&6 2316else 2317 if test "x$host_alias" = x; then 2318 ac_cv_host=$ac_cv_build 2319else 2320 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2321 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2322fi 2323 2324fi 2325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2326$as_echo "$ac_cv_host" >&6; } 2327case $ac_cv_host in 2328*-*-*) ;; 2329*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2330esac 2331host=$ac_cv_host 2332ac_save_IFS=$IFS; IFS='-' 2333set x $ac_cv_host 2334shift 2335host_cpu=$1 2336host_vendor=$2 2337shift; shift 2338# Remember, the first character of IFS is used to create $*, 2339# except with old shells: 2340host_os=$* 2341IFS=$ac_save_IFS 2342case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2343 2344 2345 2346am__api_version='1.11' 2347 2348# Find a good install program. We prefer a C program (faster), 2349# so one script is as good as another. But avoid the broken or 2350# incompatible versions: 2351# SysV /etc/install, /usr/sbin/install 2352# SunOS /usr/etc/install 2353# IRIX /sbin/install 2354# AIX /bin/install 2355# AmigaOS /C/install, which installs bootblocks on floppy discs 2356# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2357# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2358# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2359# OS/2's system install, which has a completely different semantic 2360# ./install, which can be erroneously created by make from ./install.sh. 2361# Reject install programs that cannot install multiple files. 2362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2363$as_echo_n "checking for a BSD-compatible install... " >&6; } 2364if test -z "$INSTALL"; then 2365if test "${ac_cv_path_install+set}" = set; then : 2366 $as_echo_n "(cached) " >&6 2367else 2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2369for as_dir in $PATH 2370do 2371 IFS=$as_save_IFS 2372 test -z "$as_dir" && as_dir=. 2373 # Account for people who put trailing slashes in PATH elements. 2374case $as_dir/ in @%:@(( 2375 ./ | .// | /[cC]/* | \ 2376 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2377 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2378 /usr/ucb/* ) ;; 2379 *) 2380 # OSF1 and SCO ODT 3.0 have their own names for install. 2381 # Don't use installbsd from OSF since it installs stuff as root 2382 # by default. 2383 for ac_prog in ginstall scoinst install; do 2384 for ac_exec_ext in '' $ac_executable_extensions; do 2385 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2386 if test $ac_prog = install && 2387 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2388 # AIX install. It has an incompatible calling convention. 2389 : 2390 elif test $ac_prog = install && 2391 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2392 # program-specific install script used by HP pwplus--don't use. 2393 : 2394 else 2395 rm -rf conftest.one conftest.two conftest.dir 2396 echo one > conftest.one 2397 echo two > conftest.two 2398 mkdir conftest.dir 2399 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2400 test -s conftest.one && test -s conftest.two && 2401 test -s conftest.dir/conftest.one && 2402 test -s conftest.dir/conftest.two 2403 then 2404 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2405 break 3 2406 fi 2407 fi 2408 fi 2409 done 2410 done 2411 ;; 2412esac 2413 2414 done 2415IFS=$as_save_IFS 2416 2417rm -rf conftest.one conftest.two conftest.dir 2418 2419fi 2420 if test "${ac_cv_path_install+set}" = set; then 2421 INSTALL=$ac_cv_path_install 2422 else 2423 # As a last resort, use the slow shell script. Don't cache a 2424 # value for INSTALL within a source directory, because that will 2425 # break other packages using the cache if that directory is 2426 # removed, or if the value is a relative name. 2427 INSTALL=$ac_install_sh 2428 fi 2429fi 2430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2431$as_echo "$INSTALL" >&6; } 2432 2433# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2434# It thinks the first close brace ends the variable substitution. 2435test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2436 2437test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2438 2439test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2440 2441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2442$as_echo_n "checking whether build environment is sane... " >&6; } 2443# Just in case 2444sleep 1 2445echo timestamp > conftest.file 2446# Reject unsafe characters in $srcdir or the absolute working directory 2447# name. Accept space and tab only in the latter. 2448am_lf=' 2449' 2450case `pwd` in 2451 *[\\\"\#\$\&\'\`$am_lf]*) 2452 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2453esac 2454case $srcdir in 2455 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2456 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2457esac 2458 2459# Do `set' in a subshell so we don't clobber the current shell's 2460# arguments. Must try -L first in case configure is actually a 2461# symlink; some systems play weird games with the mod time of symlinks 2462# (eg FreeBSD returns the mod time of the symlink's containing 2463# directory). 2464if ( 2465 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2466 if test "$*" = "X"; then 2467 # -L didn't work. 2468 set X `ls -t "$srcdir/configure" conftest.file` 2469 fi 2470 rm -f conftest.file 2471 if test "$*" != "X $srcdir/configure conftest.file" \ 2472 && test "$*" != "X conftest.file $srcdir/configure"; then 2473 2474 # If neither matched, then we have a broken ls. This can happen 2475 # if, for instance, CONFIG_SHELL is bash and it inherits a 2476 # broken ls alias from the environment. This has actually 2477 # happened. Such a system could not be considered "sane". 2478 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2479alias in your environment" "$LINENO" 5 2480 fi 2481 2482 test "$2" = conftest.file 2483 ) 2484then 2485 # Ok. 2486 : 2487else 2488 as_fn_error "newly created file is older than distributed files! 2489Check your system clock" "$LINENO" 5 2490fi 2491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2492$as_echo "yes" >&6; } 2493test "$program_prefix" != NONE && 2494 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2495# Use a double $ so make ignores it. 2496test "$program_suffix" != NONE && 2497 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2498# Double any \ or $. 2499# By default was `s,x,x', remove it if useless. 2500ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2501program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2502 2503# expand $ac_aux_dir to an absolute path 2504am_aux_dir=`cd $ac_aux_dir && pwd` 2505 2506if test x"${MISSING+set}" != xset; then 2507 case $am_aux_dir in 2508 *\ * | *\ *) 2509 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2510 *) 2511 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2512 esac 2513fi 2514# Use eval to expand $SHELL 2515if eval "$MISSING --run true"; then 2516 am_missing_run="$MISSING --run " 2517else 2518 am_missing_run= 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2520$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2521fi 2522 2523if test x"${install_sh}" != xset; then 2524 case $am_aux_dir in 2525 *\ * | *\ *) 2526 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2527 *) 2528 install_sh="\${SHELL} $am_aux_dir/install-sh" 2529 esac 2530fi 2531 2532# Installed binaries are usually stripped using `strip' when the user 2533# run `make install-strip'. However `strip' might not be the right 2534# tool to use in cross-compilation environments, therefore Automake 2535# will honor the `STRIP' environment variable to overrule this program. 2536if test "$cross_compiling" != no; then 2537 if test -n "$ac_tool_prefix"; then 2538 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2539set dummy ${ac_tool_prefix}strip; ac_word=$2 2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2541$as_echo_n "checking for $ac_word... " >&6; } 2542if test "${ac_cv_prog_STRIP+set}" = set; then : 2543 $as_echo_n "(cached) " >&6 2544else 2545 if test -n "$STRIP"; then 2546 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2547else 2548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2549for as_dir in $PATH 2550do 2551 IFS=$as_save_IFS 2552 test -z "$as_dir" && as_dir=. 2553 for ac_exec_ext in '' $ac_executable_extensions; do 2554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2555 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2557 break 2 2558 fi 2559done 2560 done 2561IFS=$as_save_IFS 2562 2563fi 2564fi 2565STRIP=$ac_cv_prog_STRIP 2566if test -n "$STRIP"; then 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2568$as_echo "$STRIP" >&6; } 2569else 2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2571$as_echo "no" >&6; } 2572fi 2573 2574 2575fi 2576if test -z "$ac_cv_prog_STRIP"; then 2577 ac_ct_STRIP=$STRIP 2578 # Extract the first word of "strip", so it can be a program name with args. 2579set dummy strip; ac_word=$2 2580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2581$as_echo_n "checking for $ac_word... " >&6; } 2582if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2583 $as_echo_n "(cached) " >&6 2584else 2585 if test -n "$ac_ct_STRIP"; then 2586 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2587else 2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2589for as_dir in $PATH 2590do 2591 IFS=$as_save_IFS 2592 test -z "$as_dir" && as_dir=. 2593 for ac_exec_ext in '' $ac_executable_extensions; do 2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2595 ac_cv_prog_ac_ct_STRIP="strip" 2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2597 break 2 2598 fi 2599done 2600 done 2601IFS=$as_save_IFS 2602 2603fi 2604fi 2605ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2606if test -n "$ac_ct_STRIP"; then 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2608$as_echo "$ac_ct_STRIP" >&6; } 2609else 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2611$as_echo "no" >&6; } 2612fi 2613 2614 if test "x$ac_ct_STRIP" = x; then 2615 STRIP=":" 2616 else 2617 case $cross_compiling:$ac_tool_warned in 2618yes:) 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2620$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2621ac_tool_warned=yes ;; 2622esac 2623 STRIP=$ac_ct_STRIP 2624 fi 2625else 2626 STRIP="$ac_cv_prog_STRIP" 2627fi 2628 2629fi 2630INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2631 2632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2633$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2634if test -z "$MKDIR_P"; then 2635 if test "${ac_cv_path_mkdir+set}" = set; then : 2636 $as_echo_n "(cached) " >&6 2637else 2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2639for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2640do 2641 IFS=$as_save_IFS 2642 test -z "$as_dir" && as_dir=. 2643 for ac_prog in mkdir gmkdir; do 2644 for ac_exec_ext in '' $ac_executable_extensions; do 2645 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2646 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2647 'mkdir (GNU coreutils) '* | \ 2648 'mkdir (coreutils) '* | \ 2649 'mkdir (fileutils) '4.1*) 2650 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2651 break 3;; 2652 esac 2653 done 2654 done 2655 done 2656IFS=$as_save_IFS 2657 2658fi 2659 2660 test -d ./--version && rmdir ./--version 2661 if test "${ac_cv_path_mkdir+set}" = set; then 2662 MKDIR_P="$ac_cv_path_mkdir -p" 2663 else 2664 # As a last resort, use the slow shell script. Don't cache a 2665 # value for MKDIR_P within a source directory, because that will 2666 # break other packages using the cache if that directory is 2667 # removed, or if the value is a relative name. 2668 MKDIR_P="$ac_install_sh -d" 2669 fi 2670fi 2671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2672$as_echo "$MKDIR_P" >&6; } 2673 2674mkdir_p="$MKDIR_P" 2675case $mkdir_p in 2676 [\\/$]* | ?:[\\/]*) ;; 2677 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2678esac 2679 2680for ac_prog in gawk mawk nawk awk 2681do 2682 # Extract the first word of "$ac_prog", so it can be a program name with args. 2683set dummy $ac_prog; ac_word=$2 2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2685$as_echo_n "checking for $ac_word... " >&6; } 2686if test "${ac_cv_prog_AWK+set}" = set; then : 2687 $as_echo_n "(cached) " >&6 2688else 2689 if test -n "$AWK"; then 2690 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2691else 2692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2693for as_dir in $PATH 2694do 2695 IFS=$as_save_IFS 2696 test -z "$as_dir" && as_dir=. 2697 for ac_exec_ext in '' $ac_executable_extensions; do 2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2699 ac_cv_prog_AWK="$ac_prog" 2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2701 break 2 2702 fi 2703done 2704 done 2705IFS=$as_save_IFS 2706 2707fi 2708fi 2709AWK=$ac_cv_prog_AWK 2710if test -n "$AWK"; then 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2712$as_echo "$AWK" >&6; } 2713else 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2715$as_echo "no" >&6; } 2716fi 2717 2718 2719 test -n "$AWK" && break 2720done 2721 2722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2723$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2724set x ${MAKE-make} 2725ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2726if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2727 $as_echo_n "(cached) " >&6 2728else 2729 cat >conftest.make <<\_ACEOF 2730SHELL = /bin/sh 2731all: 2732 @echo '@@@%%%=$(MAKE)=@@@%%%' 2733_ACEOF 2734# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2735case `${MAKE-make} -f conftest.make 2>/dev/null` in 2736 *@@@%%%=?*=@@@%%%*) 2737 eval ac_cv_prog_make_${ac_make}_set=yes;; 2738 *) 2739 eval ac_cv_prog_make_${ac_make}_set=no;; 2740esac 2741rm -f conftest.make 2742fi 2743if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2745$as_echo "yes" >&6; } 2746 SET_MAKE= 2747else 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2749$as_echo "no" >&6; } 2750 SET_MAKE="MAKE=${MAKE-make}" 2751fi 2752 2753rm -rf .tst 2>/dev/null 2754mkdir .tst 2>/dev/null 2755if test -d .tst; then 2756 am__leading_dot=. 2757else 2758 am__leading_dot=_ 2759fi 2760rmdir .tst 2>/dev/null 2761 2762if test "`cd $srcdir && pwd`" != "`pwd`"; then 2763 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2764 # is not polluted with repeated "-I." 2765 am__isrc=' -I$(srcdir)' 2766 # test to see if srcdir already configured 2767 if test -f $srcdir/config.status; then 2768 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2769 fi 2770fi 2771 2772# test whether we have cygpath 2773if test -z "$CYGPATH_W"; then 2774 if (cygpath --version) >/dev/null 2>/dev/null; then 2775 CYGPATH_W='cygpath -w' 2776 else 2777 CYGPATH_W=echo 2778 fi 2779fi 2780 2781 2782# Define the identity of the package. 2783 PACKAGE='conntrack-tools' 2784 VERSION='1.4.0' 2785 2786 2787cat >>confdefs.h <<_ACEOF 2788@%:@define PACKAGE "$PACKAGE" 2789_ACEOF 2790 2791 2792cat >>confdefs.h <<_ACEOF 2793@%:@define VERSION "$VERSION" 2794_ACEOF 2795 2796# Some tools Automake needs. 2797 2798ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2799 2800 2801AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2802 2803 2804AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2805 2806 2807AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2808 2809 2810MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2811 2812# We need awk for the "check" target. The system "awk" is bad on 2813# some platforms. 2814# Always define AMTAR for backward compatibility. Yes, it's still used 2815# in the wild :-( We should find a proper way to deprecate it ... 2816AMTAR='$${TAR-tar}' 2817 2818 2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 2820$as_echo_n "checking how to create a pax tar archive... " >&6; } 2821# Loop over all known methods to create a tar archive until one works. 2822_am_tools='gnutar pax cpio none' 2823_am_tools=${am_cv_prog_tar_pax-$_am_tools} 2824# Do not fold the above two line into one, because Tru64 sh and 2825# Solaris sh will not grok spaces in the rhs of `-'. 2826for _am_tool in $_am_tools 2827do 2828 case $_am_tool in 2829 gnutar) 2830 for _am_tar in tar gnutar gtar; 2831 do 2832 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2833 ($_am_tar --version) >&5 2>&5 2834 ac_status=$? 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2836 (exit $ac_status); } && break 2837 done 2838 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 2839 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 2840 am__untar="$_am_tar -xf -" 2841 ;; 2842 plaintar) 2843 # Must skip GNU tar: if it does not support --format= it doesn't create 2844 # ustar tarball either. 2845 (tar --version) >/dev/null 2>&1 && continue 2846 am__tar='tar chf - "$$tardir"' 2847 am__tar_='tar chf - "$tardir"' 2848 am__untar='tar xf -' 2849 ;; 2850 pax) 2851 am__tar='pax -L -x pax -w "$$tardir"' 2852 am__tar_='pax -L -x pax -w "$tardir"' 2853 am__untar='pax -r' 2854 ;; 2855 cpio) 2856 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 2857 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 2858 am__untar='cpio -i -H pax -d' 2859 ;; 2860 none) 2861 am__tar=false 2862 am__tar_=false 2863 am__untar=false 2864 ;; 2865 esac 2866 2867 # If the value was cached, stop now. We just wanted to have am__tar 2868 # and am__untar set. 2869 test -n "${am_cv_prog_tar_pax}" && break 2870 2871 # tar/untar a dummy directory, and stop if the command works 2872 rm -rf conftest.dir 2873 mkdir conftest.dir 2874 echo GrepMe > conftest.dir/file 2875 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2876 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2877 ac_status=$? 2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 (exit $ac_status); } 2880 rm -rf conftest.dir 2881 if test -s conftest.tar; then 2882 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2883 ($am__untar <conftest.tar) >&5 2>&5 2884 ac_status=$? 2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2886 (exit $ac_status); } 2887 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2888 fi 2889done 2890rm -rf conftest.dir 2891 2892if test "${am_cv_prog_tar_pax+set}" = set; then : 2893 $as_echo_n "(cached) " >&6 2894else 2895 am_cv_prog_tar_pax=$_am_tool 2896fi 2897 2898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 2899$as_echo "$am_cv_prog_tar_pax" >&6; } 2900 2901 2902 2903 2904 2905 2906@%:@ Check whether --enable-silent-rules was given. 2907if test "${enable_silent_rules+set}" = set; then : 2908 enableval=$enable_silent_rules; 2909fi 2910 2911case $enable_silent_rules in 2912yes) AM_DEFAULT_VERBOSITY=0;; 2913no) AM_DEFAULT_VERBOSITY=1;; 2914*) AM_DEFAULT_VERBOSITY=0;; 2915esac 2916am_make=${MAKE-make} 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2918$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2919if test "${am_cv_make_support_nested_variables+set}" = set; then : 2920 $as_echo_n "(cached) " >&6 2921else 2922 if $as_echo 'TRUE=$(BAR$(V)) 2923BAR0=false 2924BAR1=true 2925V=1 2926am__doit: 2927 @$(TRUE) 2928.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2929 am_cv_make_support_nested_variables=yes 2930else 2931 am_cv_make_support_nested_variables=no 2932fi 2933fi 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2935$as_echo "$am_cv_make_support_nested_variables" >&6; } 2936if test $am_cv_make_support_nested_variables = yes; then 2937 AM_V='$(V)' 2938 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2939else 2940 AM_V=$AM_DEFAULT_VERBOSITY 2941 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2942fi 2943AM_BACKSLASH='\' 2944 2945 2946DEPDIR="${am__leading_dot}deps" 2947 2948ac_config_commands="$ac_config_commands depfiles" 2949 2950 2951am_make=${MAKE-make} 2952cat > confinc << 'END' 2953am__doit: 2954 @echo this is the am__doit target 2955.PHONY: am__doit 2956END 2957# If we don't find an include directive, just comment out the code. 2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2959$as_echo_n "checking for style of include used by $am_make... " >&6; } 2960am__include="#" 2961am__quote= 2962_am_result=none 2963# First try GNU make style include. 2964echo "include confinc" > confmf 2965# Ignore all kinds of additional output from `make'. 2966case `$am_make -s -f confmf 2> /dev/null` in #( 2967*the\ am__doit\ target*) 2968 am__include=include 2969 am__quote= 2970 _am_result=GNU 2971 ;; 2972esac 2973# Now try BSD make style include. 2974if test "$am__include" = "#"; then 2975 echo '.include "confinc"' > confmf 2976 case `$am_make -s -f confmf 2> /dev/null` in #( 2977 *the\ am__doit\ target*) 2978 am__include=.include 2979 am__quote="\"" 2980 _am_result=BSD 2981 ;; 2982 esac 2983fi 2984 2985 2986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2987$as_echo "$_am_result" >&6; } 2988rm -f confinc confmf 2989 2990@%:@ Check whether --enable-dependency-tracking was given. 2991if test "${enable_dependency_tracking+set}" = set; then : 2992 enableval=$enable_dependency_tracking; 2993fi 2994 2995if test "x$enable_dependency_tracking" != xno; then 2996 am_depcomp="$ac_aux_dir/depcomp" 2997 AMDEPBACKSLASH='\' 2998 am__nodep='_no' 2999fi 3000 if test "x$enable_dependency_tracking" != xno; then 3001 AMDEP_TRUE= 3002 AMDEP_FALSE='#' 3003else 3004 AMDEP_TRUE='#' 3005 AMDEP_FALSE= 3006fi 3007 3008 3009ac_ext=c 3010ac_cpp='$CPP $CPPFLAGS' 3011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3013ac_compiler_gnu=$ac_cv_c_compiler_gnu 3014if test -n "$ac_tool_prefix"; then 3015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3016set dummy ${ac_tool_prefix}gcc; ac_word=$2 3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3018$as_echo_n "checking for $ac_word... " >&6; } 3019if test "${ac_cv_prog_CC+set}" = set; then : 3020 $as_echo_n "(cached) " >&6 3021else 3022 if test -n "$CC"; then 3023 ac_cv_prog_CC="$CC" # Let the user override the test. 3024else 3025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3026for as_dir in $PATH 3027do 3028 IFS=$as_save_IFS 3029 test -z "$as_dir" && as_dir=. 3030 for ac_exec_ext in '' $ac_executable_extensions; do 3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3032 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3034 break 2 3035 fi 3036done 3037 done 3038IFS=$as_save_IFS 3039 3040fi 3041fi 3042CC=$ac_cv_prog_CC 3043if test -n "$CC"; then 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3045$as_echo "$CC" >&6; } 3046else 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3048$as_echo "no" >&6; } 3049fi 3050 3051 3052fi 3053if test -z "$ac_cv_prog_CC"; then 3054 ac_ct_CC=$CC 3055 # Extract the first word of "gcc", so it can be a program name with args. 3056set dummy gcc; ac_word=$2 3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3058$as_echo_n "checking for $ac_word... " >&6; } 3059if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3060 $as_echo_n "(cached) " >&6 3061else 3062 if test -n "$ac_ct_CC"; then 3063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3064else 3065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3066for as_dir in $PATH 3067do 3068 IFS=$as_save_IFS 3069 test -z "$as_dir" && as_dir=. 3070 for ac_exec_ext in '' $ac_executable_extensions; do 3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3072 ac_cv_prog_ac_ct_CC="gcc" 3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3074 break 2 3075 fi 3076done 3077 done 3078IFS=$as_save_IFS 3079 3080fi 3081fi 3082ac_ct_CC=$ac_cv_prog_ac_ct_CC 3083if test -n "$ac_ct_CC"; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3085$as_echo "$ac_ct_CC" >&6; } 3086else 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3088$as_echo "no" >&6; } 3089fi 3090 3091 if test "x$ac_ct_CC" = x; then 3092 CC="" 3093 else 3094 case $cross_compiling:$ac_tool_warned in 3095yes:) 3096{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3097$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3098ac_tool_warned=yes ;; 3099esac 3100 CC=$ac_ct_CC 3101 fi 3102else 3103 CC="$ac_cv_prog_CC" 3104fi 3105 3106if test -z "$CC"; then 3107 if test -n "$ac_tool_prefix"; then 3108 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3109set dummy ${ac_tool_prefix}cc; ac_word=$2 3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3111$as_echo_n "checking for $ac_word... " >&6; } 3112if test "${ac_cv_prog_CC+set}" = set; then : 3113 $as_echo_n "(cached) " >&6 3114else 3115 if test -n "$CC"; then 3116 ac_cv_prog_CC="$CC" # Let the user override the test. 3117else 3118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3119for as_dir in $PATH 3120do 3121 IFS=$as_save_IFS 3122 test -z "$as_dir" && as_dir=. 3123 for ac_exec_ext in '' $ac_executable_extensions; do 3124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3125 ac_cv_prog_CC="${ac_tool_prefix}cc" 3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3127 break 2 3128 fi 3129done 3130 done 3131IFS=$as_save_IFS 3132 3133fi 3134fi 3135CC=$ac_cv_prog_CC 3136if test -n "$CC"; then 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3138$as_echo "$CC" >&6; } 3139else 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3141$as_echo "no" >&6; } 3142fi 3143 3144 3145 fi 3146fi 3147if test -z "$CC"; then 3148 # Extract the first word of "cc", so it can be a program name with args. 3149set dummy cc; ac_word=$2 3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3151$as_echo_n "checking for $ac_word... " >&6; } 3152if test "${ac_cv_prog_CC+set}" = set; then : 3153 $as_echo_n "(cached) " >&6 3154else 3155 if test -n "$CC"; then 3156 ac_cv_prog_CC="$CC" # Let the user override the test. 3157else 3158 ac_prog_rejected=no 3159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3160for as_dir in $PATH 3161do 3162 IFS=$as_save_IFS 3163 test -z "$as_dir" && as_dir=. 3164 for ac_exec_ext in '' $ac_executable_extensions; do 3165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3167 ac_prog_rejected=yes 3168 continue 3169 fi 3170 ac_cv_prog_CC="cc" 3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3172 break 2 3173 fi 3174done 3175 done 3176IFS=$as_save_IFS 3177 3178if test $ac_prog_rejected = yes; then 3179 # We found a bogon in the path, so make sure we never use it. 3180 set dummy $ac_cv_prog_CC 3181 shift 3182 if test $@%:@ != 0; then 3183 # We chose a different compiler from the bogus one. 3184 # However, it has the same basename, so the bogon will be chosen 3185 # first if we set CC to just the basename; use the full file name. 3186 shift 3187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3188 fi 3189fi 3190fi 3191fi 3192CC=$ac_cv_prog_CC 3193if test -n "$CC"; then 3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3195$as_echo "$CC" >&6; } 3196else 3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3198$as_echo "no" >&6; } 3199fi 3200 3201 3202fi 3203if test -z "$CC"; then 3204 if test -n "$ac_tool_prefix"; then 3205 for ac_prog in cl.exe 3206 do 3207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3208set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3210$as_echo_n "checking for $ac_word... " >&6; } 3211if test "${ac_cv_prog_CC+set}" = set; then : 3212 $as_echo_n "(cached) " >&6 3213else 3214 if test -n "$CC"; then 3215 ac_cv_prog_CC="$CC" # Let the user override the test. 3216else 3217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3218for as_dir in $PATH 3219do 3220 IFS=$as_save_IFS 3221 test -z "$as_dir" && as_dir=. 3222 for ac_exec_ext in '' $ac_executable_extensions; do 3223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3224 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3226 break 2 3227 fi 3228done 3229 done 3230IFS=$as_save_IFS 3231 3232fi 3233fi 3234CC=$ac_cv_prog_CC 3235if test -n "$CC"; then 3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3237$as_echo "$CC" >&6; } 3238else 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3240$as_echo "no" >&6; } 3241fi 3242 3243 3244 test -n "$CC" && break 3245 done 3246fi 3247if test -z "$CC"; then 3248 ac_ct_CC=$CC 3249 for ac_prog in cl.exe 3250do 3251 # Extract the first word of "$ac_prog", so it can be a program name with args. 3252set dummy $ac_prog; ac_word=$2 3253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3254$as_echo_n "checking for $ac_word... " >&6; } 3255if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3256 $as_echo_n "(cached) " >&6 3257else 3258 if test -n "$ac_ct_CC"; then 3259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3260else 3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3262for as_dir in $PATH 3263do 3264 IFS=$as_save_IFS 3265 test -z "$as_dir" && as_dir=. 3266 for ac_exec_ext in '' $ac_executable_extensions; do 3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3268 ac_cv_prog_ac_ct_CC="$ac_prog" 3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3270 break 2 3271 fi 3272done 3273 done 3274IFS=$as_save_IFS 3275 3276fi 3277fi 3278ac_ct_CC=$ac_cv_prog_ac_ct_CC 3279if test -n "$ac_ct_CC"; then 3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3281$as_echo "$ac_ct_CC" >&6; } 3282else 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3284$as_echo "no" >&6; } 3285fi 3286 3287 3288 test -n "$ac_ct_CC" && break 3289done 3290 3291 if test "x$ac_ct_CC" = x; then 3292 CC="" 3293 else 3294 case $cross_compiling:$ac_tool_warned in 3295yes:) 3296{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3297$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3298ac_tool_warned=yes ;; 3299esac 3300 CC=$ac_ct_CC 3301 fi 3302fi 3303 3304fi 3305 3306 3307test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3309as_fn_error "no acceptable C compiler found in \$PATH 3310See \`config.log' for more details." "$LINENO" 5; } 3311 3312# Provide some information about the compiler. 3313$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3314set X $ac_compile 3315ac_compiler=$2 3316for ac_option in --version -v -V -qversion; do 3317 { { ac_try="$ac_compiler $ac_option >&5" 3318case "(($ac_try" in 3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3320 *) ac_try_echo=$ac_try;; 3321esac 3322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3323$as_echo "$ac_try_echo"; } >&5 3324 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3325 ac_status=$? 3326 if test -s conftest.err; then 3327 sed '10a\ 3328... rest of stderr output deleted ... 3329 10q' conftest.err >conftest.er1 3330 cat conftest.er1 >&5 3331 fi 3332 rm -f conftest.er1 conftest.err 3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3334 test $ac_status = 0; } 3335done 3336 3337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3338/* end confdefs.h. */ 3339 3340int 3341main () 3342{ 3343 3344 ; 3345 return 0; 3346} 3347_ACEOF 3348ac_clean_files_save=$ac_clean_files 3349ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3350# Try to create an executable without -o first, disregard a.out. 3351# It will help us diagnose broken compilers, and finding out an intuition 3352# of exeext. 3353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3354$as_echo_n "checking whether the C compiler works... " >&6; } 3355ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3356 3357# The possible output files: 3358ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3359 3360ac_rmfiles= 3361for ac_file in $ac_files 3362do 3363 case $ac_file in 3364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3365 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3366 esac 3367done 3368rm -f $ac_rmfiles 3369 3370if { { ac_try="$ac_link_default" 3371case "(($ac_try" in 3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3373 *) ac_try_echo=$ac_try;; 3374esac 3375eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3376$as_echo "$ac_try_echo"; } >&5 3377 (eval "$ac_link_default") 2>&5 3378 ac_status=$? 3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3380 test $ac_status = 0; }; then : 3381 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3382# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3383# in a Makefile. We should not override ac_cv_exeext if it was cached, 3384# so that the user can short-circuit this test for compilers unknown to 3385# Autoconf. 3386for ac_file in $ac_files '' 3387do 3388 test -f "$ac_file" || continue 3389 case $ac_file in 3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3391 ;; 3392 [ab].out ) 3393 # We found the default executable, but exeext='' is most 3394 # certainly right. 3395 break;; 3396 *.* ) 3397 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3398 then :; else 3399 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3400 fi 3401 # We set ac_cv_exeext here because the later test for it is not 3402 # safe: cross compilers may not add the suffix if given an `-o' 3403 # argument, so we may need to know it at that point already. 3404 # Even if this section looks crufty: it has the advantage of 3405 # actually working. 3406 break;; 3407 * ) 3408 break;; 3409 esac 3410done 3411test "$ac_cv_exeext" = no && ac_cv_exeext= 3412 3413else 3414 ac_file='' 3415fi 3416if test -z "$ac_file"; then : 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3418$as_echo "no" >&6; } 3419$as_echo "$as_me: failed program was:" >&5 3420sed 's/^/| /' conftest.$ac_ext >&5 3421 3422{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3424{ as_fn_set_status 77 3425as_fn_error "C compiler cannot create executables 3426See \`config.log' for more details." "$LINENO" 5; }; } 3427else 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3429$as_echo "yes" >&6; } 3430fi 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3432$as_echo_n "checking for C compiler default output file name... " >&6; } 3433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3434$as_echo "$ac_file" >&6; } 3435ac_exeext=$ac_cv_exeext 3436 3437rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3438ac_clean_files=$ac_clean_files_save 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3440$as_echo_n "checking for suffix of executables... " >&6; } 3441if { { ac_try="$ac_link" 3442case "(($ac_try" in 3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3444 *) ac_try_echo=$ac_try;; 3445esac 3446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3447$as_echo "$ac_try_echo"; } >&5 3448 (eval "$ac_link") 2>&5 3449 ac_status=$? 3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3451 test $ac_status = 0; }; then : 3452 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3453# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3454# work properly (i.e., refer to `conftest.exe'), while it won't with 3455# `rm'. 3456for ac_file in conftest.exe conftest conftest.*; do 3457 test -f "$ac_file" || continue 3458 case $ac_file in 3459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3460 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3461 break;; 3462 * ) break;; 3463 esac 3464done 3465else 3466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3467$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3468as_fn_error "cannot compute suffix of executables: cannot compile and link 3469See \`config.log' for more details." "$LINENO" 5; } 3470fi 3471rm -f conftest conftest$ac_cv_exeext 3472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3473$as_echo "$ac_cv_exeext" >&6; } 3474 3475rm -f conftest.$ac_ext 3476EXEEXT=$ac_cv_exeext 3477ac_exeext=$EXEEXT 3478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479/* end confdefs.h. */ 3480@%:@include <stdio.h> 3481int 3482main () 3483{ 3484FILE *f = fopen ("conftest.out", "w"); 3485 return ferror (f) || fclose (f) != 0; 3486 3487 ; 3488 return 0; 3489} 3490_ACEOF 3491ac_clean_files="$ac_clean_files conftest.out" 3492# Check that the compiler produces executables we can run. If not, either 3493# the compiler is broken, or we cross compile. 3494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3495$as_echo_n "checking whether we are cross compiling... " >&6; } 3496if test "$cross_compiling" != yes; then 3497 { { ac_try="$ac_link" 3498case "(($ac_try" in 3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3500 *) ac_try_echo=$ac_try;; 3501esac 3502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3503$as_echo "$ac_try_echo"; } >&5 3504 (eval "$ac_link") 2>&5 3505 ac_status=$? 3506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3507 test $ac_status = 0; } 3508 if { ac_try='./conftest$ac_cv_exeext' 3509 { { case "(($ac_try" in 3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3511 *) ac_try_echo=$ac_try;; 3512esac 3513eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3514$as_echo "$ac_try_echo"; } >&5 3515 (eval "$ac_try") 2>&5 3516 ac_status=$? 3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3518 test $ac_status = 0; }; }; then 3519 cross_compiling=no 3520 else 3521 if test "$cross_compiling" = maybe; then 3522 cross_compiling=yes 3523 else 3524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3526as_fn_error "cannot run C compiled programs. 3527If you meant to cross compile, use \`--host'. 3528See \`config.log' for more details." "$LINENO" 5; } 3529 fi 3530 fi 3531fi 3532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3533$as_echo "$cross_compiling" >&6; } 3534 3535rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3536ac_clean_files=$ac_clean_files_save 3537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3538$as_echo_n "checking for suffix of object files... " >&6; } 3539if test "${ac_cv_objext+set}" = set; then : 3540 $as_echo_n "(cached) " >&6 3541else 3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3543/* end confdefs.h. */ 3544 3545int 3546main () 3547{ 3548 3549 ; 3550 return 0; 3551} 3552_ACEOF 3553rm -f conftest.o conftest.obj 3554if { { ac_try="$ac_compile" 3555case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558esac 3559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3560$as_echo "$ac_try_echo"; } >&5 3561 (eval "$ac_compile") 2>&5 3562 ac_status=$? 3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3564 test $ac_status = 0; }; then : 3565 for ac_file in conftest.o conftest.obj conftest.*; do 3566 test -f "$ac_file" || continue; 3567 case $ac_file in 3568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3569 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3570 break;; 3571 esac 3572done 3573else 3574 $as_echo "$as_me: failed program was:" >&5 3575sed 's/^/| /' conftest.$ac_ext >&5 3576 3577{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3578$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3579as_fn_error "cannot compute suffix of object files: cannot compile 3580See \`config.log' for more details." "$LINENO" 5; } 3581fi 3582rm -f conftest.$ac_cv_objext conftest.$ac_ext 3583fi 3584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3585$as_echo "$ac_cv_objext" >&6; } 3586OBJEXT=$ac_cv_objext 3587ac_objext=$OBJEXT 3588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3589$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3590if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3591 $as_echo_n "(cached) " >&6 3592else 3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3594/* end confdefs.h. */ 3595 3596int 3597main () 3598{ 3599#ifndef __GNUC__ 3600 choke me 3601#endif 3602 3603 ; 3604 return 0; 3605} 3606_ACEOF 3607if ac_fn_c_try_compile "$LINENO"; then : 3608 ac_compiler_gnu=yes 3609else 3610 ac_compiler_gnu=no 3611fi 3612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3613ac_cv_c_compiler_gnu=$ac_compiler_gnu 3614 3615fi 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3617$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3618if test $ac_compiler_gnu = yes; then 3619 GCC=yes 3620else 3621 GCC= 3622fi 3623ac_test_CFLAGS=${CFLAGS+set} 3624ac_save_CFLAGS=$CFLAGS 3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3626$as_echo_n "checking whether $CC accepts -g... " >&6; } 3627if test "${ac_cv_prog_cc_g+set}" = set; then : 3628 $as_echo_n "(cached) " >&6 3629else 3630 ac_save_c_werror_flag=$ac_c_werror_flag 3631 ac_c_werror_flag=yes 3632 ac_cv_prog_cc_g=no 3633 CFLAGS="-g" 3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3635/* end confdefs.h. */ 3636 3637int 3638main () 3639{ 3640 3641 ; 3642 return 0; 3643} 3644_ACEOF 3645if ac_fn_c_try_compile "$LINENO"; then : 3646 ac_cv_prog_cc_g=yes 3647else 3648 CFLAGS="" 3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3650/* end confdefs.h. */ 3651 3652int 3653main () 3654{ 3655 3656 ; 3657 return 0; 3658} 3659_ACEOF 3660if ac_fn_c_try_compile "$LINENO"; then : 3661 3662else 3663 ac_c_werror_flag=$ac_save_c_werror_flag 3664 CFLAGS="-g" 3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3666/* end confdefs.h. */ 3667 3668int 3669main () 3670{ 3671 3672 ; 3673 return 0; 3674} 3675_ACEOF 3676if ac_fn_c_try_compile "$LINENO"; then : 3677 ac_cv_prog_cc_g=yes 3678fi 3679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3680fi 3681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3682fi 3683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3684 ac_c_werror_flag=$ac_save_c_werror_flag 3685fi 3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3687$as_echo "$ac_cv_prog_cc_g" >&6; } 3688if test "$ac_test_CFLAGS" = set; then 3689 CFLAGS=$ac_save_CFLAGS 3690elif test $ac_cv_prog_cc_g = yes; then 3691 if test "$GCC" = yes; then 3692 CFLAGS="-g -O2" 3693 else 3694 CFLAGS="-g" 3695 fi 3696else 3697 if test "$GCC" = yes; then 3698 CFLAGS="-O2" 3699 else 3700 CFLAGS= 3701 fi 3702fi 3703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3704$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3705if test "${ac_cv_prog_cc_c89+set}" = set; then : 3706 $as_echo_n "(cached) " >&6 3707else 3708 ac_cv_prog_cc_c89=no 3709ac_save_CC=$CC 3710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3711/* end confdefs.h. */ 3712#include <stdarg.h> 3713#include <stdio.h> 3714#include <sys/types.h> 3715#include <sys/stat.h> 3716/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3717struct buf { int x; }; 3718FILE * (*rcsopen) (struct buf *, struct stat *, int); 3719static char *e (p, i) 3720 char **p; 3721 int i; 3722{ 3723 return p[i]; 3724} 3725static char *f (char * (*g) (char **, int), char **p, ...) 3726{ 3727 char *s; 3728 va_list v; 3729 va_start (v,p); 3730 s = g (p, va_arg (v,int)); 3731 va_end (v); 3732 return s; 3733} 3734 3735/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3736 function prototypes and stuff, but not '\xHH' hex character constants. 3737 These don't provoke an error unfortunately, instead are silently treated 3738 as 'x'. The following induces an error, until -std is added to get 3739 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3740 array size at least. It's necessary to write '\x00'==0 to get something 3741 that's true only with -std. */ 3742int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3743 3744/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3745 inside strings and character constants. */ 3746#define FOO(x) 'x' 3747int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3748 3749int test (int i, double x); 3750struct s1 {int (*f) (int a);}; 3751struct s2 {int (*f) (double a);}; 3752int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3753int argc; 3754char **argv; 3755int 3756main () 3757{ 3758return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3759 ; 3760 return 0; 3761} 3762_ACEOF 3763for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3764 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3765do 3766 CC="$ac_save_CC $ac_arg" 3767 if ac_fn_c_try_compile "$LINENO"; then : 3768 ac_cv_prog_cc_c89=$ac_arg 3769fi 3770rm -f core conftest.err conftest.$ac_objext 3771 test "x$ac_cv_prog_cc_c89" != "xno" && break 3772done 3773rm -f conftest.$ac_ext 3774CC=$ac_save_CC 3775 3776fi 3777# AC_CACHE_VAL 3778case "x$ac_cv_prog_cc_c89" in 3779 x) 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3781$as_echo "none needed" >&6; } ;; 3782 xno) 3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3784$as_echo "unsupported" >&6; } ;; 3785 *) 3786 CC="$CC $ac_cv_prog_cc_c89" 3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3788$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3789esac 3790if test "x$ac_cv_prog_cc_c89" != xno; then : 3791 3792fi 3793 3794ac_ext=c 3795ac_cpp='$CPP $CPPFLAGS' 3796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3798ac_compiler_gnu=$ac_cv_c_compiler_gnu 3799 3800depcc="$CC" am_compiler_list= 3801 3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3803$as_echo_n "checking dependency style of $depcc... " >&6; } 3804if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3805 $as_echo_n "(cached) " >&6 3806else 3807 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3808 # We make a subdir and do the tests there. Otherwise we can end up 3809 # making bogus files that we don't know about and never remove. For 3810 # instance it was reported that on HP-UX the gcc test will end up 3811 # making a dummy file named `D' -- because `-MD' means `put the output 3812 # in D'. 3813 rm -rf conftest.dir 3814 mkdir conftest.dir 3815 # Copy depcomp to subdir because otherwise we won't find it if we're 3816 # using a relative directory. 3817 cp "$am_depcomp" conftest.dir 3818 cd conftest.dir 3819 # We will build objects and dependencies in a subdirectory because 3820 # it helps to detect inapplicable dependency modes. For instance 3821 # both Tru64's cc and ICC support -MD to output dependencies as a 3822 # side effect of compilation, but ICC will put the dependencies in 3823 # the current directory while Tru64 will put them in the object 3824 # directory. 3825 mkdir sub 3826 3827 am_cv_CC_dependencies_compiler_type=none 3828 if test "$am_compiler_list" = ""; then 3829 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3830 fi 3831 am__universal=false 3832 case " $depcc " in #( 3833 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3834 esac 3835 3836 for depmode in $am_compiler_list; do 3837 # Setup a source with many dependencies, because some compilers 3838 # like to wrap large dependency lists on column 80 (with \), and 3839 # we should not choose a depcomp mode which is confused by this. 3840 # 3841 # We need to recreate these files for each test, as the compiler may 3842 # overwrite some of them when testing with obscure command lines. 3843 # This happens at least with the AIX C compiler. 3844 : > sub/conftest.c 3845 for i in 1 2 3 4 5 6; do 3846 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3847 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3848 # Solaris 8's {/usr,}/bin/sh. 3849 touch sub/conftst$i.h 3850 done 3851 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3852 3853 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3854 # mode. It turns out that the SunPro C++ compiler does not properly 3855 # handle `-M -o', and we need to detect this. Also, some Intel 3856 # versions had trouble with output in subdirs 3857 am__obj=sub/conftest.${OBJEXT-o} 3858 am__minus_obj="-o $am__obj" 3859 case $depmode in 3860 gcc) 3861 # This depmode causes a compiler race in universal mode. 3862 test "$am__universal" = false || continue 3863 ;; 3864 nosideeffect) 3865 # after this tag, mechanisms are not by side-effect, so they'll 3866 # only be used when explicitly requested 3867 if test "x$enable_dependency_tracking" = xyes; then 3868 continue 3869 else 3870 break 3871 fi 3872 ;; 3873 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3874 # This compiler won't grok `-c -o', but also, the minuso test has 3875 # not run yet. These depmodes are late enough in the game, and 3876 # so weak that their functioning should not be impacted. 3877 am__obj=conftest.${OBJEXT-o} 3878 am__minus_obj= 3879 ;; 3880 none) break ;; 3881 esac 3882 if depmode=$depmode \ 3883 source=sub/conftest.c object=$am__obj \ 3884 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3885 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3886 >/dev/null 2>conftest.err && 3887 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3888 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3889 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3890 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3891 # icc doesn't choke on unknown options, it will just issue warnings 3892 # or remarks (even with -Werror). So we grep stderr for any message 3893 # that says an option was ignored or not supported. 3894 # When given -MP, icc 7.0 and 7.1 complain thusly: 3895 # icc: Command line warning: ignoring option '-M'; no argument required 3896 # The diagnosis changed in icc 8.0: 3897 # icc: Command line remark: option '-MP' not supported 3898 if (grep 'ignoring option' conftest.err || 3899 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3900 am_cv_CC_dependencies_compiler_type=$depmode 3901 break 3902 fi 3903 fi 3904 done 3905 3906 cd .. 3907 rm -rf conftest.dir 3908else 3909 am_cv_CC_dependencies_compiler_type=none 3910fi 3911 3912fi 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3914$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3915CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3916 3917 if 3918 test "x$enable_dependency_tracking" != xno \ 3919 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3920 am__fastdepCC_TRUE= 3921 am__fastdepCC_FALSE='#' 3922else 3923 am__fastdepCC_TRUE='#' 3924 am__fastdepCC_FALSE= 3925fi 3926 3927 3928 3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 3930$as_echo_n "checking for library containing dlopen... " >&6; } 3931if test "${ac_cv_search_dlopen+set}" = set; then : 3932 $as_echo_n "(cached) " >&6 3933else 3934 ac_func_search_save_LIBS=$LIBS 3935cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3936/* end confdefs.h. */ 3937 3938/* Override any GCC internal prototype to avoid an error. 3939 Use char because int might match the return type of a GCC 3940 builtin and then its argument prototype would still apply. */ 3941#ifdef __cplusplus 3942extern "C" 3943#endif 3944char dlopen (); 3945int 3946main () 3947{ 3948return dlopen (); 3949 ; 3950 return 0; 3951} 3952_ACEOF 3953for ac_lib in '' dl; do 3954 if test -z "$ac_lib"; then 3955 ac_res="none required" 3956 else 3957 ac_res=-l$ac_lib 3958 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3959 fi 3960 if ac_fn_c_try_link "$LINENO"; then : 3961 ac_cv_search_dlopen=$ac_res 3962fi 3963rm -f core conftest.err conftest.$ac_objext \ 3964 conftest$ac_exeext 3965 if test "${ac_cv_search_dlopen+set}" = set; then : 3966 break 3967fi 3968done 3969if test "${ac_cv_search_dlopen+set}" = set; then : 3970 3971else 3972 ac_cv_search_dlopen=no 3973fi 3974rm conftest.$ac_ext 3975LIBS=$ac_func_search_save_LIBS 3976fi 3977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 3978$as_echo "$ac_cv_search_dlopen" >&6; } 3979ac_res=$ac_cv_search_dlopen 3980if test "$ac_res" != no; then : 3981 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3982 libdl_LIBS="$LIBS"; LIBS="" 3983fi 3984 3985 3986 3987ac_ext=c 3988ac_cpp='$CPP $CPPFLAGS' 3989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3991ac_compiler_gnu=$ac_cv_c_compiler_gnu 3992if test -n "$ac_tool_prefix"; then 3993 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3994set dummy ${ac_tool_prefix}gcc; ac_word=$2 3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3996$as_echo_n "checking for $ac_word... " >&6; } 3997if test "${ac_cv_prog_CC+set}" = set; then : 3998 $as_echo_n "(cached) " >&6 3999else 4000 if test -n "$CC"; then 4001 ac_cv_prog_CC="$CC" # Let the user override the test. 4002else 4003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4004for as_dir in $PATH 4005do 4006 IFS=$as_save_IFS 4007 test -z "$as_dir" && as_dir=. 4008 for ac_exec_ext in '' $ac_executable_extensions; do 4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4010 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4012 break 2 4013 fi 4014done 4015 done 4016IFS=$as_save_IFS 4017 4018fi 4019fi 4020CC=$ac_cv_prog_CC 4021if test -n "$CC"; then 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4023$as_echo "$CC" >&6; } 4024else 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4026$as_echo "no" >&6; } 4027fi 4028 4029 4030fi 4031if test -z "$ac_cv_prog_CC"; then 4032 ac_ct_CC=$CC 4033 # Extract the first word of "gcc", so it can be a program name with args. 4034set dummy gcc; ac_word=$2 4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4036$as_echo_n "checking for $ac_word... " >&6; } 4037if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4038 $as_echo_n "(cached) " >&6 4039else 4040 if test -n "$ac_ct_CC"; then 4041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4042else 4043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4044for as_dir in $PATH 4045do 4046 IFS=$as_save_IFS 4047 test -z "$as_dir" && as_dir=. 4048 for ac_exec_ext in '' $ac_executable_extensions; do 4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4050 ac_cv_prog_ac_ct_CC="gcc" 4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4052 break 2 4053 fi 4054done 4055 done 4056IFS=$as_save_IFS 4057 4058fi 4059fi 4060ac_ct_CC=$ac_cv_prog_ac_ct_CC 4061if test -n "$ac_ct_CC"; then 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4063$as_echo "$ac_ct_CC" >&6; } 4064else 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4066$as_echo "no" >&6; } 4067fi 4068 4069 if test "x$ac_ct_CC" = x; then 4070 CC="" 4071 else 4072 case $cross_compiling:$ac_tool_warned in 4073yes:) 4074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4076ac_tool_warned=yes ;; 4077esac 4078 CC=$ac_ct_CC 4079 fi 4080else 4081 CC="$ac_cv_prog_CC" 4082fi 4083 4084if test -z "$CC"; then 4085 if test -n "$ac_tool_prefix"; then 4086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4087set dummy ${ac_tool_prefix}cc; ac_word=$2 4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4089$as_echo_n "checking for $ac_word... " >&6; } 4090if test "${ac_cv_prog_CC+set}" = set; then : 4091 $as_echo_n "(cached) " >&6 4092else 4093 if test -n "$CC"; then 4094 ac_cv_prog_CC="$CC" # Let the user override the test. 4095else 4096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4097for as_dir in $PATH 4098do 4099 IFS=$as_save_IFS 4100 test -z "$as_dir" && as_dir=. 4101 for ac_exec_ext in '' $ac_executable_extensions; do 4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4103 ac_cv_prog_CC="${ac_tool_prefix}cc" 4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4105 break 2 4106 fi 4107done 4108 done 4109IFS=$as_save_IFS 4110 4111fi 4112fi 4113CC=$ac_cv_prog_CC 4114if test -n "$CC"; then 4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4116$as_echo "$CC" >&6; } 4117else 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4119$as_echo "no" >&6; } 4120fi 4121 4122 4123 fi 4124fi 4125if test -z "$CC"; then 4126 # Extract the first word of "cc", so it can be a program name with args. 4127set dummy cc; ac_word=$2 4128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4129$as_echo_n "checking for $ac_word... " >&6; } 4130if test "${ac_cv_prog_CC+set}" = set; then : 4131 $as_echo_n "(cached) " >&6 4132else 4133 if test -n "$CC"; then 4134 ac_cv_prog_CC="$CC" # Let the user override the test. 4135else 4136 ac_prog_rejected=no 4137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4138for as_dir in $PATH 4139do 4140 IFS=$as_save_IFS 4141 test -z "$as_dir" && as_dir=. 4142 for ac_exec_ext in '' $ac_executable_extensions; do 4143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4145 ac_prog_rejected=yes 4146 continue 4147 fi 4148 ac_cv_prog_CC="cc" 4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4150 break 2 4151 fi 4152done 4153 done 4154IFS=$as_save_IFS 4155 4156if test $ac_prog_rejected = yes; then 4157 # We found a bogon in the path, so make sure we never use it. 4158 set dummy $ac_cv_prog_CC 4159 shift 4160 if test $@%:@ != 0; then 4161 # We chose a different compiler from the bogus one. 4162 # However, it has the same basename, so the bogon will be chosen 4163 # first if we set CC to just the basename; use the full file name. 4164 shift 4165 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4166 fi 4167fi 4168fi 4169fi 4170CC=$ac_cv_prog_CC 4171if test -n "$CC"; then 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4173$as_echo "$CC" >&6; } 4174else 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4176$as_echo "no" >&6; } 4177fi 4178 4179 4180fi 4181if test -z "$CC"; then 4182 if test -n "$ac_tool_prefix"; then 4183 for ac_prog in cl.exe 4184 do 4185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4186set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4188$as_echo_n "checking for $ac_word... " >&6; } 4189if test "${ac_cv_prog_CC+set}" = set; then : 4190 $as_echo_n "(cached) " >&6 4191else 4192 if test -n "$CC"; then 4193 ac_cv_prog_CC="$CC" # Let the user override the test. 4194else 4195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4196for as_dir in $PATH 4197do 4198 IFS=$as_save_IFS 4199 test -z "$as_dir" && as_dir=. 4200 for ac_exec_ext in '' $ac_executable_extensions; do 4201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4202 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4204 break 2 4205 fi 4206done 4207 done 4208IFS=$as_save_IFS 4209 4210fi 4211fi 4212CC=$ac_cv_prog_CC 4213if test -n "$CC"; then 4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4215$as_echo "$CC" >&6; } 4216else 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4218$as_echo "no" >&6; } 4219fi 4220 4221 4222 test -n "$CC" && break 4223 done 4224fi 4225if test -z "$CC"; then 4226 ac_ct_CC=$CC 4227 for ac_prog in cl.exe 4228do 4229 # Extract the first word of "$ac_prog", so it can be a program name with args. 4230set dummy $ac_prog; ac_word=$2 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4232$as_echo_n "checking for $ac_word... " >&6; } 4233if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4234 $as_echo_n "(cached) " >&6 4235else 4236 if test -n "$ac_ct_CC"; then 4237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4238else 4239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4240for as_dir in $PATH 4241do 4242 IFS=$as_save_IFS 4243 test -z "$as_dir" && as_dir=. 4244 for ac_exec_ext in '' $ac_executable_extensions; do 4245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4246 ac_cv_prog_ac_ct_CC="$ac_prog" 4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4248 break 2 4249 fi 4250done 4251 done 4252IFS=$as_save_IFS 4253 4254fi 4255fi 4256ac_ct_CC=$ac_cv_prog_ac_ct_CC 4257if test -n "$ac_ct_CC"; then 4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4259$as_echo "$ac_ct_CC" >&6; } 4260else 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4262$as_echo "no" >&6; } 4263fi 4264 4265 4266 test -n "$ac_ct_CC" && break 4267done 4268 4269 if test "x$ac_ct_CC" = x; then 4270 CC="" 4271 else 4272 case $cross_compiling:$ac_tool_warned in 4273yes:) 4274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4276ac_tool_warned=yes ;; 4277esac 4278 CC=$ac_ct_CC 4279 fi 4280fi 4281 4282fi 4283 4284 4285test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4287as_fn_error "no acceptable C compiler found in \$PATH 4288See \`config.log' for more details." "$LINENO" 5; } 4289 4290# Provide some information about the compiler. 4291$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4292set X $ac_compile 4293ac_compiler=$2 4294for ac_option in --version -v -V -qversion; do 4295 { { ac_try="$ac_compiler $ac_option >&5" 4296case "(($ac_try" in 4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4298 *) ac_try_echo=$ac_try;; 4299esac 4300eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4301$as_echo "$ac_try_echo"; } >&5 4302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4303 ac_status=$? 4304 if test -s conftest.err; then 4305 sed '10a\ 4306... rest of stderr output deleted ... 4307 10q' conftest.err >conftest.er1 4308 cat conftest.er1 >&5 4309 fi 4310 rm -f conftest.er1 conftest.err 4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4312 test $ac_status = 0; } 4313done 4314 4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4316$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4317if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4318 $as_echo_n "(cached) " >&6 4319else 4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4321/* end confdefs.h. */ 4322 4323int 4324main () 4325{ 4326#ifndef __GNUC__ 4327 choke me 4328#endif 4329 4330 ; 4331 return 0; 4332} 4333_ACEOF 4334if ac_fn_c_try_compile "$LINENO"; then : 4335 ac_compiler_gnu=yes 4336else 4337 ac_compiler_gnu=no 4338fi 4339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4340ac_cv_c_compiler_gnu=$ac_compiler_gnu 4341 4342fi 4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4344$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4345if test $ac_compiler_gnu = yes; then 4346 GCC=yes 4347else 4348 GCC= 4349fi 4350ac_test_CFLAGS=${CFLAGS+set} 4351ac_save_CFLAGS=$CFLAGS 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4353$as_echo_n "checking whether $CC accepts -g... " >&6; } 4354if test "${ac_cv_prog_cc_g+set}" = set; then : 4355 $as_echo_n "(cached) " >&6 4356else 4357 ac_save_c_werror_flag=$ac_c_werror_flag 4358 ac_c_werror_flag=yes 4359 ac_cv_prog_cc_g=no 4360 CFLAGS="-g" 4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4362/* end confdefs.h. */ 4363 4364int 4365main () 4366{ 4367 4368 ; 4369 return 0; 4370} 4371_ACEOF 4372if ac_fn_c_try_compile "$LINENO"; then : 4373 ac_cv_prog_cc_g=yes 4374else 4375 CFLAGS="" 4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4377/* end confdefs.h. */ 4378 4379int 4380main () 4381{ 4382 4383 ; 4384 return 0; 4385} 4386_ACEOF 4387if ac_fn_c_try_compile "$LINENO"; then : 4388 4389else 4390 ac_c_werror_flag=$ac_save_c_werror_flag 4391 CFLAGS="-g" 4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4393/* end confdefs.h. */ 4394 4395int 4396main () 4397{ 4398 4399 ; 4400 return 0; 4401} 4402_ACEOF 4403if ac_fn_c_try_compile "$LINENO"; then : 4404 ac_cv_prog_cc_g=yes 4405fi 4406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4407fi 4408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4409fi 4410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4411 ac_c_werror_flag=$ac_save_c_werror_flag 4412fi 4413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4414$as_echo "$ac_cv_prog_cc_g" >&6; } 4415if test "$ac_test_CFLAGS" = set; then 4416 CFLAGS=$ac_save_CFLAGS 4417elif test $ac_cv_prog_cc_g = yes; then 4418 if test "$GCC" = yes; then 4419 CFLAGS="-g -O2" 4420 else 4421 CFLAGS="-g" 4422 fi 4423else 4424 if test "$GCC" = yes; then 4425 CFLAGS="-O2" 4426 else 4427 CFLAGS= 4428 fi 4429fi 4430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4431$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4432if test "${ac_cv_prog_cc_c89+set}" = set; then : 4433 $as_echo_n "(cached) " >&6 4434else 4435 ac_cv_prog_cc_c89=no 4436ac_save_CC=$CC 4437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4438/* end confdefs.h. */ 4439#include <stdarg.h> 4440#include <stdio.h> 4441#include <sys/types.h> 4442#include <sys/stat.h> 4443/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4444struct buf { int x; }; 4445FILE * (*rcsopen) (struct buf *, struct stat *, int); 4446static char *e (p, i) 4447 char **p; 4448 int i; 4449{ 4450 return p[i]; 4451} 4452static char *f (char * (*g) (char **, int), char **p, ...) 4453{ 4454 char *s; 4455 va_list v; 4456 va_start (v,p); 4457 s = g (p, va_arg (v,int)); 4458 va_end (v); 4459 return s; 4460} 4461 4462/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4463 function prototypes and stuff, but not '\xHH' hex character constants. 4464 These don't provoke an error unfortunately, instead are silently treated 4465 as 'x'. The following induces an error, until -std is added to get 4466 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4467 array size at least. It's necessary to write '\x00'==0 to get something 4468 that's true only with -std. */ 4469int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4470 4471/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4472 inside strings and character constants. */ 4473#define FOO(x) 'x' 4474int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4475 4476int test (int i, double x); 4477struct s1 {int (*f) (int a);}; 4478struct s2 {int (*f) (double a);}; 4479int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4480int argc; 4481char **argv; 4482int 4483main () 4484{ 4485return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4486 ; 4487 return 0; 4488} 4489_ACEOF 4490for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4491 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4492do 4493 CC="$ac_save_CC $ac_arg" 4494 if ac_fn_c_try_compile "$LINENO"; then : 4495 ac_cv_prog_cc_c89=$ac_arg 4496fi 4497rm -f core conftest.err conftest.$ac_objext 4498 test "x$ac_cv_prog_cc_c89" != "xno" && break 4499done 4500rm -f conftest.$ac_ext 4501CC=$ac_save_CC 4502 4503fi 4504# AC_CACHE_VAL 4505case "x$ac_cv_prog_cc_c89" in 4506 x) 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4508$as_echo "none needed" >&6; } ;; 4509 xno) 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4511$as_echo "unsupported" >&6; } ;; 4512 *) 4513 CC="$CC $ac_cv_prog_cc_c89" 4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4515$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4516esac 4517if test "x$ac_cv_prog_cc_c89" != xno; then : 4518 4519fi 4520 4521ac_ext=c 4522ac_cpp='$CPP $CPPFLAGS' 4523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4525ac_compiler_gnu=$ac_cv_c_compiler_gnu 4526 4527depcc="$CC" am_compiler_list= 4528 4529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4530$as_echo_n "checking dependency style of $depcc... " >&6; } 4531if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4532 $as_echo_n "(cached) " >&6 4533else 4534 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4535 # We make a subdir and do the tests there. Otherwise we can end up 4536 # making bogus files that we don't know about and never remove. For 4537 # instance it was reported that on HP-UX the gcc test will end up 4538 # making a dummy file named `D' -- because `-MD' means `put the output 4539 # in D'. 4540 rm -rf conftest.dir 4541 mkdir conftest.dir 4542 # Copy depcomp to subdir because otherwise we won't find it if we're 4543 # using a relative directory. 4544 cp "$am_depcomp" conftest.dir 4545 cd conftest.dir 4546 # We will build objects and dependencies in a subdirectory because 4547 # it helps to detect inapplicable dependency modes. For instance 4548 # both Tru64's cc and ICC support -MD to output dependencies as a 4549 # side effect of compilation, but ICC will put the dependencies in 4550 # the current directory while Tru64 will put them in the object 4551 # directory. 4552 mkdir sub 4553 4554 am_cv_CC_dependencies_compiler_type=none 4555 if test "$am_compiler_list" = ""; then 4556 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4557 fi 4558 am__universal=false 4559 case " $depcc " in #( 4560 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4561 esac 4562 4563 for depmode in $am_compiler_list; do 4564 # Setup a source with many dependencies, because some compilers 4565 # like to wrap large dependency lists on column 80 (with \), and 4566 # we should not choose a depcomp mode which is confused by this. 4567 # 4568 # We need to recreate these files for each test, as the compiler may 4569 # overwrite some of them when testing with obscure command lines. 4570 # This happens at least with the AIX C compiler. 4571 : > sub/conftest.c 4572 for i in 1 2 3 4 5 6; do 4573 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4574 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4575 # Solaris 8's {/usr,}/bin/sh. 4576 touch sub/conftst$i.h 4577 done 4578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4579 4580 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4581 # mode. It turns out that the SunPro C++ compiler does not properly 4582 # handle `-M -o', and we need to detect this. Also, some Intel 4583 # versions had trouble with output in subdirs 4584 am__obj=sub/conftest.${OBJEXT-o} 4585 am__minus_obj="-o $am__obj" 4586 case $depmode in 4587 gcc) 4588 # This depmode causes a compiler race in universal mode. 4589 test "$am__universal" = false || continue 4590 ;; 4591 nosideeffect) 4592 # after this tag, mechanisms are not by side-effect, so they'll 4593 # only be used when explicitly requested 4594 if test "x$enable_dependency_tracking" = xyes; then 4595 continue 4596 else 4597 break 4598 fi 4599 ;; 4600 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4601 # This compiler won't grok `-c -o', but also, the minuso test has 4602 # not run yet. These depmodes are late enough in the game, and 4603 # so weak that their functioning should not be impacted. 4604 am__obj=conftest.${OBJEXT-o} 4605 am__minus_obj= 4606 ;; 4607 none) break ;; 4608 esac 4609 if depmode=$depmode \ 4610 source=sub/conftest.c object=$am__obj \ 4611 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4612 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4613 >/dev/null 2>conftest.err && 4614 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4615 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4616 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4617 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4618 # icc doesn't choke on unknown options, it will just issue warnings 4619 # or remarks (even with -Werror). So we grep stderr for any message 4620 # that says an option was ignored or not supported. 4621 # When given -MP, icc 7.0 and 7.1 complain thusly: 4622 # icc: Command line warning: ignoring option '-M'; no argument required 4623 # The diagnosis changed in icc 8.0: 4624 # icc: Command line remark: option '-MP' not supported 4625 if (grep 'ignoring option' conftest.err || 4626 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4627 am_cv_CC_dependencies_compiler_type=$depmode 4628 break 4629 fi 4630 fi 4631 done 4632 4633 cd .. 4634 rm -rf conftest.dir 4635else 4636 am_cv_CC_dependencies_compiler_type=none 4637fi 4638 4639fi 4640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4641$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4642CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4643 4644 if 4645 test "x$enable_dependency_tracking" != xno \ 4646 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4647 am__fastdepCC_TRUE= 4648 am__fastdepCC_FALSE='#' 4649else 4650 am__fastdepCC_TRUE='#' 4651 am__fastdepCC_FALSE= 4652fi 4653 4654 4655@%:@ Check whether --enable-static was given. 4656if test "${enable_static+set}" = set; then : 4657 enableval=$enable_static; p=${PACKAGE-default} 4658 case $enableval in 4659 yes) enable_static=yes ;; 4660 no) enable_static=no ;; 4661 *) 4662 enable_static=no 4663 # Look at the argument we got. We use all the common list separators. 4664 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4665 for pkg in $enableval; do 4666 IFS="$lt_save_ifs" 4667 if test "X$pkg" = "X$p"; then 4668 enable_static=yes 4669 fi 4670 done 4671 IFS="$lt_save_ifs" 4672 ;; 4673 esac 4674else 4675 enable_static=no 4676fi 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686case `pwd` in 4687 *\ * | *\ *) 4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4689$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4690esac 4691 4692 4693 4694macro_version='2.4.2' 4695macro_revision='1.3337' 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709ltmain="$ac_aux_dir/ltmain.sh" 4710 4711# Backslashify metacharacters that are still active within 4712# double-quoted strings. 4713sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4714 4715# Same as above, but do not quote variable references. 4716double_quote_subst='s/\(["`\\]\)/\\\1/g' 4717 4718# Sed substitution to delay expansion of an escaped shell variable in a 4719# double_quote_subst'ed string. 4720delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4721 4722# Sed substitution to delay expansion of an escaped single quote. 4723delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4724 4725# Sed substitution to avoid accidental globbing in evaled expressions 4726no_glob_subst='s/\*/\\\*/g' 4727 4728ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4729ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4730ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4731 4732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4733$as_echo_n "checking how to print strings... " >&6; } 4734# Test print first, because it will be a builtin if present. 4735if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4736 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4737 ECHO='print -r --' 4738elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4739 ECHO='printf %s\n' 4740else 4741 # Use this function as a fallback that always works. 4742 func_fallback_echo () 4743 { 4744 eval 'cat <<_LTECHO_EOF 4745$1 4746_LTECHO_EOF' 4747 } 4748 ECHO='func_fallback_echo' 4749fi 4750 4751# func_echo_all arg... 4752# Invoke $ECHO with all args, space-separated. 4753func_echo_all () 4754{ 4755 $ECHO "" 4756} 4757 4758case "$ECHO" in 4759 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4760$as_echo "printf" >&6; } ;; 4761 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4762$as_echo "print -r" >&6; } ;; 4763 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4764$as_echo "cat" >&6; } ;; 4765esac 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4781$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4782if test "${ac_cv_path_SED+set}" = set; then : 4783 $as_echo_n "(cached) " >&6 4784else 4785 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4786 for ac_i in 1 2 3 4 5 6 7; do 4787 ac_script="$ac_script$as_nl$ac_script" 4788 done 4789 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4790 { ac_script=; unset ac_script;} 4791 if test -z "$SED"; then 4792 ac_path_SED_found=false 4793 # Loop through the user's path and test for each of PROGNAME-LIST 4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4795for as_dir in $PATH 4796do 4797 IFS=$as_save_IFS 4798 test -z "$as_dir" && as_dir=. 4799 for ac_prog in sed gsed; do 4800 for ac_exec_ext in '' $ac_executable_extensions; do 4801 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4802 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4803# Check for GNU ac_path_SED and select it if it is found. 4804 # Check for GNU $ac_path_SED 4805case `"$ac_path_SED" --version 2>&1` in 4806*GNU*) 4807 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4808*) 4809 ac_count=0 4810 $as_echo_n 0123456789 >"conftest.in" 4811 while : 4812 do 4813 cat "conftest.in" "conftest.in" >"conftest.tmp" 4814 mv "conftest.tmp" "conftest.in" 4815 cp "conftest.in" "conftest.nl" 4816 $as_echo '' >> "conftest.nl" 4817 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4818 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4819 as_fn_arith $ac_count + 1 && ac_count=$as_val 4820 if test $ac_count -gt ${ac_path_SED_max-0}; then 4821 # Best one so far, save it but keep looking for a better one 4822 ac_cv_path_SED="$ac_path_SED" 4823 ac_path_SED_max=$ac_count 4824 fi 4825 # 10*(2^10) chars as input seems more than enough 4826 test $ac_count -gt 10 && break 4827 done 4828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4829esac 4830 4831 $ac_path_SED_found && break 3 4832 done 4833 done 4834 done 4835IFS=$as_save_IFS 4836 if test -z "$ac_cv_path_SED"; then 4837 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4838 fi 4839else 4840 ac_cv_path_SED=$SED 4841fi 4842 4843fi 4844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4845$as_echo "$ac_cv_path_SED" >&6; } 4846 SED="$ac_cv_path_SED" 4847 rm -f conftest.sed 4848 4849test -z "$SED" && SED=sed 4850Xsed="$SED -e 1s/^X//" 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4863$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4864if test "${ac_cv_path_GREP+set}" = set; then : 4865 $as_echo_n "(cached) " >&6 4866else 4867 if test -z "$GREP"; then 4868 ac_path_GREP_found=false 4869 # Loop through the user's path and test for each of PROGNAME-LIST 4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4871for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4872do 4873 IFS=$as_save_IFS 4874 test -z "$as_dir" && as_dir=. 4875 for ac_prog in grep ggrep; do 4876 for ac_exec_ext in '' $ac_executable_extensions; do 4877 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4878 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4879# Check for GNU ac_path_GREP and select it if it is found. 4880 # Check for GNU $ac_path_GREP 4881case `"$ac_path_GREP" --version 2>&1` in 4882*GNU*) 4883 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4884*) 4885 ac_count=0 4886 $as_echo_n 0123456789 >"conftest.in" 4887 while : 4888 do 4889 cat "conftest.in" "conftest.in" >"conftest.tmp" 4890 mv "conftest.tmp" "conftest.in" 4891 cp "conftest.in" "conftest.nl" 4892 $as_echo 'GREP' >> "conftest.nl" 4893 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4895 as_fn_arith $ac_count + 1 && ac_count=$as_val 4896 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4897 # Best one so far, save it but keep looking for a better one 4898 ac_cv_path_GREP="$ac_path_GREP" 4899 ac_path_GREP_max=$ac_count 4900 fi 4901 # 10*(2^10) chars as input seems more than enough 4902 test $ac_count -gt 10 && break 4903 done 4904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4905esac 4906 4907 $ac_path_GREP_found && break 3 4908 done 4909 done 4910 done 4911IFS=$as_save_IFS 4912 if test -z "$ac_cv_path_GREP"; then 4913 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4914 fi 4915else 4916 ac_cv_path_GREP=$GREP 4917fi 4918 4919fi 4920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4921$as_echo "$ac_cv_path_GREP" >&6; } 4922 GREP="$ac_cv_path_GREP" 4923 4924 4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4926$as_echo_n "checking for egrep... " >&6; } 4927if test "${ac_cv_path_EGREP+set}" = set; then : 4928 $as_echo_n "(cached) " >&6 4929else 4930 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4931 then ac_cv_path_EGREP="$GREP -E" 4932 else 4933 if test -z "$EGREP"; then 4934 ac_path_EGREP_found=false 4935 # Loop through the user's path and test for each of PROGNAME-LIST 4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4937for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4938do 4939 IFS=$as_save_IFS 4940 test -z "$as_dir" && as_dir=. 4941 for ac_prog in egrep; do 4942 for ac_exec_ext in '' $ac_executable_extensions; do 4943 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4944 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4945# Check for GNU ac_path_EGREP and select it if it is found. 4946 # Check for GNU $ac_path_EGREP 4947case `"$ac_path_EGREP" --version 2>&1` in 4948*GNU*) 4949 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4950*) 4951 ac_count=0 4952 $as_echo_n 0123456789 >"conftest.in" 4953 while : 4954 do 4955 cat "conftest.in" "conftest.in" >"conftest.tmp" 4956 mv "conftest.tmp" "conftest.in" 4957 cp "conftest.in" "conftest.nl" 4958 $as_echo 'EGREP' >> "conftest.nl" 4959 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4961 as_fn_arith $ac_count + 1 && ac_count=$as_val 4962 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4963 # Best one so far, save it but keep looking for a better one 4964 ac_cv_path_EGREP="$ac_path_EGREP" 4965 ac_path_EGREP_max=$ac_count 4966 fi 4967 # 10*(2^10) chars as input seems more than enough 4968 test $ac_count -gt 10 && break 4969 done 4970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4971esac 4972 4973 $ac_path_EGREP_found && break 3 4974 done 4975 done 4976 done 4977IFS=$as_save_IFS 4978 if test -z "$ac_cv_path_EGREP"; then 4979 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4980 fi 4981else 4982 ac_cv_path_EGREP=$EGREP 4983fi 4984 4985 fi 4986fi 4987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4988$as_echo "$ac_cv_path_EGREP" >&6; } 4989 EGREP="$ac_cv_path_EGREP" 4990 4991 4992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4993$as_echo_n "checking for fgrep... " >&6; } 4994if test "${ac_cv_path_FGREP+set}" = set; then : 4995 $as_echo_n "(cached) " >&6 4996else 4997 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4998 then ac_cv_path_FGREP="$GREP -F" 4999 else 5000 if test -z "$FGREP"; then 5001 ac_path_FGREP_found=false 5002 # Loop through the user's path and test for each of PROGNAME-LIST 5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5004for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5005do 5006 IFS=$as_save_IFS 5007 test -z "$as_dir" && as_dir=. 5008 for ac_prog in fgrep; do 5009 for ac_exec_ext in '' $ac_executable_extensions; do 5010 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5011 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5012# Check for GNU ac_path_FGREP and select it if it is found. 5013 # Check for GNU $ac_path_FGREP 5014case `"$ac_path_FGREP" --version 2>&1` in 5015*GNU*) 5016 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5017*) 5018 ac_count=0 5019 $as_echo_n 0123456789 >"conftest.in" 5020 while : 5021 do 5022 cat "conftest.in" "conftest.in" >"conftest.tmp" 5023 mv "conftest.tmp" "conftest.in" 5024 cp "conftest.in" "conftest.nl" 5025 $as_echo 'FGREP' >> "conftest.nl" 5026 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5027 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5028 as_fn_arith $ac_count + 1 && ac_count=$as_val 5029 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5030 # Best one so far, save it but keep looking for a better one 5031 ac_cv_path_FGREP="$ac_path_FGREP" 5032 ac_path_FGREP_max=$ac_count 5033 fi 5034 # 10*(2^10) chars as input seems more than enough 5035 test $ac_count -gt 10 && break 5036 done 5037 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5038esac 5039 5040 $ac_path_FGREP_found && break 3 5041 done 5042 done 5043 done 5044IFS=$as_save_IFS 5045 if test -z "$ac_cv_path_FGREP"; then 5046 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5047 fi 5048else 5049 ac_cv_path_FGREP=$FGREP 5050fi 5051 5052 fi 5053fi 5054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5055$as_echo "$ac_cv_path_FGREP" >&6; } 5056 FGREP="$ac_cv_path_FGREP" 5057 5058 5059test -z "$GREP" && GREP=grep 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079@%:@ Check whether --with-gnu-ld was given. 5080if test "${with_gnu_ld+set}" = set; then : 5081 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5082else 5083 with_gnu_ld=no 5084fi 5085 5086ac_prog=ld 5087if test "$GCC" = yes; then 5088 # Check if gcc -print-prog-name=ld gives a path. 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5090$as_echo_n "checking for ld used by $CC... " >&6; } 5091 case $host in 5092 *-*-mingw*) 5093 # gcc leaves a trailing carriage return which upsets mingw 5094 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5095 *) 5096 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5097 esac 5098 case $ac_prog in 5099 # Accept absolute paths. 5100 [\\/]* | ?:[\\/]*) 5101 re_direlt='/[^/][^/]*/\.\./' 5102 # Canonicalize the pathname of ld 5103 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5104 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5105 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5106 done 5107 test -z "$LD" && LD="$ac_prog" 5108 ;; 5109 "") 5110 # If it fails, then pretend we aren't using GCC. 5111 ac_prog=ld 5112 ;; 5113 *) 5114 # If it is relative, then search for the first ld in PATH. 5115 with_gnu_ld=unknown 5116 ;; 5117 esac 5118elif test "$with_gnu_ld" = yes; then 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5120$as_echo_n "checking for GNU ld... " >&6; } 5121else 5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5123$as_echo_n "checking for non-GNU ld... " >&6; } 5124fi 5125if test "${lt_cv_path_LD+set}" = set; then : 5126 $as_echo_n "(cached) " >&6 5127else 5128 if test -z "$LD"; then 5129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5130 for ac_dir in $PATH; do 5131 IFS="$lt_save_ifs" 5132 test -z "$ac_dir" && ac_dir=. 5133 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5134 lt_cv_path_LD="$ac_dir/$ac_prog" 5135 # Check to see if the program is GNU ld. I'd rather use --version, 5136 # but apparently some variants of GNU ld only accept -v. 5137 # Break only if it was the GNU/non-GNU ld that we prefer. 5138 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5139 *GNU* | *'with BFD'*) 5140 test "$with_gnu_ld" != no && break 5141 ;; 5142 *) 5143 test "$with_gnu_ld" != yes && break 5144 ;; 5145 esac 5146 fi 5147 done 5148 IFS="$lt_save_ifs" 5149else 5150 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5151fi 5152fi 5153 5154LD="$lt_cv_path_LD" 5155if test -n "$LD"; then 5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5157$as_echo "$LD" >&6; } 5158else 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5160$as_echo "no" >&6; } 5161fi 5162test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 5163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5164$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5165if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5166 $as_echo_n "(cached) " >&6 5167else 5168 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5169case `$LD -v 2>&1 </dev/null` in 5170*GNU* | *'with BFD'*) 5171 lt_cv_prog_gnu_ld=yes 5172 ;; 5173*) 5174 lt_cv_prog_gnu_ld=no 5175 ;; 5176esac 5177fi 5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5179$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5180with_gnu_ld=$lt_cv_prog_gnu_ld 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5191$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5192if test "${lt_cv_path_NM+set}" = set; then : 5193 $as_echo_n "(cached) " >&6 5194else 5195 if test -n "$NM"; then 5196 # Let the user override the test. 5197 lt_cv_path_NM="$NM" 5198else 5199 lt_nm_to_check="${ac_tool_prefix}nm" 5200 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5201 lt_nm_to_check="$lt_nm_to_check nm" 5202 fi 5203 for lt_tmp_nm in $lt_nm_to_check; do 5204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5205 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5206 IFS="$lt_save_ifs" 5207 test -z "$ac_dir" && ac_dir=. 5208 tmp_nm="$ac_dir/$lt_tmp_nm" 5209 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5210 # Check to see if the nm accepts a BSD-compat flag. 5211 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5212 # nm: unknown option "B" ignored 5213 # Tru64's nm complains that /dev/null is an invalid object file 5214 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5215 */dev/null* | *'Invalid file or object type'*) 5216 lt_cv_path_NM="$tmp_nm -B" 5217 break 5218 ;; 5219 *) 5220 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5221 */dev/null*) 5222 lt_cv_path_NM="$tmp_nm -p" 5223 break 5224 ;; 5225 *) 5226 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5227 continue # so that we can try to find one that supports BSD flags 5228 ;; 5229 esac 5230 ;; 5231 esac 5232 fi 5233 done 5234 IFS="$lt_save_ifs" 5235 done 5236 : ${lt_cv_path_NM=no} 5237fi 5238fi 5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5240$as_echo "$lt_cv_path_NM" >&6; } 5241if test "$lt_cv_path_NM" != "no"; then 5242 NM="$lt_cv_path_NM" 5243else 5244 # Didn't find any BSD compatible name lister, look for dumpbin. 5245 if test -n "$DUMPBIN"; then : 5246 # Let the user override the test. 5247 else 5248 if test -n "$ac_tool_prefix"; then 5249 for ac_prog in dumpbin "link -dump" 5250 do 5251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5252set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5254$as_echo_n "checking for $ac_word... " >&6; } 5255if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 5256 $as_echo_n "(cached) " >&6 5257else 5258 if test -n "$DUMPBIN"; then 5259 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5260else 5261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5262for as_dir in $PATH 5263do 5264 IFS=$as_save_IFS 5265 test -z "$as_dir" && as_dir=. 5266 for ac_exec_ext in '' $ac_executable_extensions; do 5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5268 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5270 break 2 5271 fi 5272done 5273 done 5274IFS=$as_save_IFS 5275 5276fi 5277fi 5278DUMPBIN=$ac_cv_prog_DUMPBIN 5279if test -n "$DUMPBIN"; then 5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5281$as_echo "$DUMPBIN" >&6; } 5282else 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5284$as_echo "no" >&6; } 5285fi 5286 5287 5288 test -n "$DUMPBIN" && break 5289 done 5290fi 5291if test -z "$DUMPBIN"; then 5292 ac_ct_DUMPBIN=$DUMPBIN 5293 for ac_prog in dumpbin "link -dump" 5294do 5295 # Extract the first word of "$ac_prog", so it can be a program name with args. 5296set dummy $ac_prog; ac_word=$2 5297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5298$as_echo_n "checking for $ac_word... " >&6; } 5299if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 5300 $as_echo_n "(cached) " >&6 5301else 5302 if test -n "$ac_ct_DUMPBIN"; then 5303 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5304else 5305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5306for as_dir in $PATH 5307do 5308 IFS=$as_save_IFS 5309 test -z "$as_dir" && as_dir=. 5310 for ac_exec_ext in '' $ac_executable_extensions; do 5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5312 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5314 break 2 5315 fi 5316done 5317 done 5318IFS=$as_save_IFS 5319 5320fi 5321fi 5322ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5323if test -n "$ac_ct_DUMPBIN"; then 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5325$as_echo "$ac_ct_DUMPBIN" >&6; } 5326else 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5328$as_echo "no" >&6; } 5329fi 5330 5331 5332 test -n "$ac_ct_DUMPBIN" && break 5333done 5334 5335 if test "x$ac_ct_DUMPBIN" = x; then 5336 DUMPBIN=":" 5337 else 5338 case $cross_compiling:$ac_tool_warned in 5339yes:) 5340{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5341$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5342ac_tool_warned=yes ;; 5343esac 5344 DUMPBIN=$ac_ct_DUMPBIN 5345 fi 5346fi 5347 5348 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5349 *COFF*) 5350 DUMPBIN="$DUMPBIN -symbols" 5351 ;; 5352 *) 5353 DUMPBIN=: 5354 ;; 5355 esac 5356 fi 5357 5358 if test "$DUMPBIN" != ":"; then 5359 NM="$DUMPBIN" 5360 fi 5361fi 5362test -z "$NM" && NM=nm 5363 5364 5365 5366 5367 5368 5369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5370$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5371if test "${lt_cv_nm_interface+set}" = set; then : 5372 $as_echo_n "(cached) " >&6 5373else 5374 lt_cv_nm_interface="BSD nm" 5375 echo "int some_variable = 0;" > conftest.$ac_ext 5376 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5377 (eval "$ac_compile" 2>conftest.err) 5378 cat conftest.err >&5 5379 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5380 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5381 cat conftest.err >&5 5382 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5383 cat conftest.out >&5 5384 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5385 lt_cv_nm_interface="MS dumpbin" 5386 fi 5387 rm -f conftest* 5388fi 5389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5390$as_echo "$lt_cv_nm_interface" >&6; } 5391 5392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5393$as_echo_n "checking whether ln -s works... " >&6; } 5394LN_S=$as_ln_s 5395if test "$LN_S" = "ln -s"; then 5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5397$as_echo "yes" >&6; } 5398else 5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5400$as_echo "no, using $LN_S" >&6; } 5401fi 5402 5403# find the maximum length of command line arguments 5404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5405$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5406if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 5407 $as_echo_n "(cached) " >&6 5408else 5409 i=0 5410 teststring="ABCD" 5411 5412 case $build_os in 5413 msdosdjgpp*) 5414 # On DJGPP, this test can blow up pretty badly due to problems in libc 5415 # (any single argument exceeding 2000 bytes causes a buffer overrun 5416 # during glob expansion). Even if it were fixed, the result of this 5417 # check would be larger than it should be. 5418 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5419 ;; 5420 5421 gnu*) 5422 # Under GNU Hurd, this test is not required because there is 5423 # no limit to the length of command line arguments. 5424 # Libtool will interpret -1 as no limit whatsoever 5425 lt_cv_sys_max_cmd_len=-1; 5426 ;; 5427 5428 cygwin* | mingw* | cegcc*) 5429 # On Win9x/ME, this test blows up -- it succeeds, but takes 5430 # about 5 minutes as the teststring grows exponentially. 5431 # Worse, since 9x/ME are not pre-emptively multitasking, 5432 # you end up with a "frozen" computer, even though with patience 5433 # the test eventually succeeds (with a max line length of 256k). 5434 # Instead, let's just punt: use the minimum linelength reported by 5435 # all of the supported platforms: 8192 (on NT/2K/XP). 5436 lt_cv_sys_max_cmd_len=8192; 5437 ;; 5438 5439 mint*) 5440 # On MiNT this can take a long time and run out of memory. 5441 lt_cv_sys_max_cmd_len=8192; 5442 ;; 5443 5444 amigaos*) 5445 # On AmigaOS with pdksh, this test takes hours, literally. 5446 # So we just punt and use a minimum line length of 8192. 5447 lt_cv_sys_max_cmd_len=8192; 5448 ;; 5449 5450 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5451 # This has been around since 386BSD, at least. Likely further. 5452 if test -x /sbin/sysctl; then 5453 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5454 elif test -x /usr/sbin/sysctl; then 5455 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5456 else 5457 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5458 fi 5459 # And add a safety zone 5460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5462 ;; 5463 5464 interix*) 5465 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5466 lt_cv_sys_max_cmd_len=196608 5467 ;; 5468 5469 os2*) 5470 # The test takes a long time on OS/2. 5471 lt_cv_sys_max_cmd_len=8192 5472 ;; 5473 5474 osf*) 5475 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5476 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5477 # nice to cause kernel panics so lets avoid the loop below. 5478 # First set a reasonable default. 5479 lt_cv_sys_max_cmd_len=16384 5480 # 5481 if test -x /sbin/sysconfig; then 5482 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5483 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5484 esac 5485 fi 5486 ;; 5487 sco3.2v5*) 5488 lt_cv_sys_max_cmd_len=102400 5489 ;; 5490 sysv5* | sco5v6* | sysv4.2uw2*) 5491 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5492 if test -n "$kargmax"; then 5493 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5494 else 5495 lt_cv_sys_max_cmd_len=32768 5496 fi 5497 ;; 5498 *) 5499 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5500 if test -n "$lt_cv_sys_max_cmd_len"; then 5501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5503 else 5504 # Make teststring a little bigger before we do anything with it. 5505 # a 1K string should be a reasonable start. 5506 for i in 1 2 3 4 5 6 7 8 ; do 5507 teststring=$teststring$teststring 5508 done 5509 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5510 # If test is not a shell built-in, we'll probably end up computing a 5511 # maximum length that is only half of the actual maximum length, but 5512 # we can't tell. 5513 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5514 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5515 test $i != 17 # 1/2 MB should be enough 5516 do 5517 i=`expr $i + 1` 5518 teststring=$teststring$teststring 5519 done 5520 # Only check the string length outside the loop. 5521 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5522 teststring= 5523 # Add a significant safety factor because C++ compilers can tack on 5524 # massive amounts of additional arguments before passing them to the 5525 # linker. It appears as though 1/2 is a usable value. 5526 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5527 fi 5528 ;; 5529 esac 5530 5531fi 5532 5533if test -n $lt_cv_sys_max_cmd_len ; then 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5535$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5536else 5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5538$as_echo "none" >&6; } 5539fi 5540max_cmd_len=$lt_cv_sys_max_cmd_len 5541 5542 5543 5544 5545 5546 5547: ${CP="cp -f"} 5548: ${MV="mv -f"} 5549: ${RM="rm -f"} 5550 5551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5552$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5553# Try some XSI features 5554xsi_shell=no 5555( _lt_dummy="a/b/c" 5556 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5557 = c,a/b,b/c, \ 5558 && eval 'test $(( 1 + 1 )) -eq 2 \ 5559 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5560 && xsi_shell=yes 5561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5562$as_echo "$xsi_shell" >&6; } 5563 5564 5565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5566$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5567lt_shell_append=no 5568( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5569 >/dev/null 2>&1 \ 5570 && lt_shell_append=yes 5571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5572$as_echo "$lt_shell_append" >&6; } 5573 5574 5575if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5576 lt_unset=unset 5577else 5578 lt_unset=false 5579fi 5580 5581 5582 5583 5584 5585# test EBCDIC or ASCII 5586case `echo X|tr X '\101'` in 5587 A) # ASCII based system 5588 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5589 lt_SP2NL='tr \040 \012' 5590 lt_NL2SP='tr \015\012 \040\040' 5591 ;; 5592 *) # EBCDIC based system 5593 lt_SP2NL='tr \100 \n' 5594 lt_NL2SP='tr \r\n \100\100' 5595 ;; 5596esac 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5607$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5608if test "${lt_cv_to_host_file_cmd+set}" = set; then : 5609 $as_echo_n "(cached) " >&6 5610else 5611 case $host in 5612 *-*-mingw* ) 5613 case $build in 5614 *-*-mingw* ) # actually msys 5615 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5616 ;; 5617 *-*-cygwin* ) 5618 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5619 ;; 5620 * ) # otherwise, assume *nix 5621 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5622 ;; 5623 esac 5624 ;; 5625 *-*-cygwin* ) 5626 case $build in 5627 *-*-mingw* ) # actually msys 5628 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5629 ;; 5630 *-*-cygwin* ) 5631 lt_cv_to_host_file_cmd=func_convert_file_noop 5632 ;; 5633 * ) # otherwise, assume *nix 5634 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5635 ;; 5636 esac 5637 ;; 5638 * ) # unhandled hosts (and "normal" native builds) 5639 lt_cv_to_host_file_cmd=func_convert_file_noop 5640 ;; 5641esac 5642 5643fi 5644 5645to_host_file_cmd=$lt_cv_to_host_file_cmd 5646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5647$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5648 5649 5650 5651 5652 5653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5654$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5655if test "${lt_cv_to_tool_file_cmd+set}" = set; then : 5656 $as_echo_n "(cached) " >&6 5657else 5658 #assume ordinary cross tools, or native build. 5659lt_cv_to_tool_file_cmd=func_convert_file_noop 5660case $host in 5661 *-*-mingw* ) 5662 case $build in 5663 *-*-mingw* ) # actually msys 5664 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5665 ;; 5666 esac 5667 ;; 5668esac 5669 5670fi 5671 5672to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5674$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5675 5676 5677 5678 5679 5680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5681$as_echo_n "checking for $LD option to reload object files... " >&6; } 5682if test "${lt_cv_ld_reload_flag+set}" = set; then : 5683 $as_echo_n "(cached) " >&6 5684else 5685 lt_cv_ld_reload_flag='-r' 5686fi 5687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5688$as_echo "$lt_cv_ld_reload_flag" >&6; } 5689reload_flag=$lt_cv_ld_reload_flag 5690case $reload_flag in 5691"" | " "*) ;; 5692*) reload_flag=" $reload_flag" ;; 5693esac 5694reload_cmds='$LD$reload_flag -o $output$reload_objs' 5695case $host_os in 5696 cygwin* | mingw* | pw32* | cegcc*) 5697 if test "$GCC" != yes; then 5698 reload_cmds=false 5699 fi 5700 ;; 5701 darwin*) 5702 if test "$GCC" = yes; then 5703 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5704 else 5705 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5706 fi 5707 ;; 5708esac 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718if test -n "$ac_tool_prefix"; then 5719 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5720set dummy ${ac_tool_prefix}objdump; ac_word=$2 5721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5722$as_echo_n "checking for $ac_word... " >&6; } 5723if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 5724 $as_echo_n "(cached) " >&6 5725else 5726 if test -n "$OBJDUMP"; then 5727 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5728else 5729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5730for as_dir in $PATH 5731do 5732 IFS=$as_save_IFS 5733 test -z "$as_dir" && as_dir=. 5734 for ac_exec_ext in '' $ac_executable_extensions; do 5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5736 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5738 break 2 5739 fi 5740done 5741 done 5742IFS=$as_save_IFS 5743 5744fi 5745fi 5746OBJDUMP=$ac_cv_prog_OBJDUMP 5747if test -n "$OBJDUMP"; then 5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5749$as_echo "$OBJDUMP" >&6; } 5750else 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5752$as_echo "no" >&6; } 5753fi 5754 5755 5756fi 5757if test -z "$ac_cv_prog_OBJDUMP"; then 5758 ac_ct_OBJDUMP=$OBJDUMP 5759 # Extract the first word of "objdump", so it can be a program name with args. 5760set dummy objdump; ac_word=$2 5761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5762$as_echo_n "checking for $ac_word... " >&6; } 5763if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 5764 $as_echo_n "(cached) " >&6 5765else 5766 if test -n "$ac_ct_OBJDUMP"; then 5767 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5768else 5769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5770for as_dir in $PATH 5771do 5772 IFS=$as_save_IFS 5773 test -z "$as_dir" && as_dir=. 5774 for ac_exec_ext in '' $ac_executable_extensions; do 5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5776 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5778 break 2 5779 fi 5780done 5781 done 5782IFS=$as_save_IFS 5783 5784fi 5785fi 5786ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5787if test -n "$ac_ct_OBJDUMP"; then 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5789$as_echo "$ac_ct_OBJDUMP" >&6; } 5790else 5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5792$as_echo "no" >&6; } 5793fi 5794 5795 if test "x$ac_ct_OBJDUMP" = x; then 5796 OBJDUMP="false" 5797 else 5798 case $cross_compiling:$ac_tool_warned in 5799yes:) 5800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5802ac_tool_warned=yes ;; 5803esac 5804 OBJDUMP=$ac_ct_OBJDUMP 5805 fi 5806else 5807 OBJDUMP="$ac_cv_prog_OBJDUMP" 5808fi 5809 5810test -z "$OBJDUMP" && OBJDUMP=objdump 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5821$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5822if test "${lt_cv_deplibs_check_method+set}" = set; then : 5823 $as_echo_n "(cached) " >&6 5824else 5825 lt_cv_file_magic_cmd='$MAGIC_CMD' 5826lt_cv_file_magic_test_file= 5827lt_cv_deplibs_check_method='unknown' 5828# Need to set the preceding variable on all platforms that support 5829# interlibrary dependencies. 5830# 'none' -- dependencies not supported. 5831# `unknown' -- same as none, but documents that we really don't know. 5832# 'pass_all' -- all dependencies passed with no checks. 5833# 'test_compile' -- check by making test program. 5834# 'file_magic [[regex]]' -- check by looking for files in library path 5835# which responds to the $file_magic_cmd with a given extended regex. 5836# If you have `file' or equivalent on your system and you're not sure 5837# whether `pass_all' will *always* work, you probably want this one. 5838 5839case $host_os in 5840aix[4-9]*) 5841 lt_cv_deplibs_check_method=pass_all 5842 ;; 5843 5844beos*) 5845 lt_cv_deplibs_check_method=pass_all 5846 ;; 5847 5848bsdi[45]*) 5849 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5850 lt_cv_file_magic_cmd='/usr/bin/file -L' 5851 lt_cv_file_magic_test_file=/shlib/libc.so 5852 ;; 5853 5854cygwin*) 5855 # func_win32_libid is a shell function defined in ltmain.sh 5856 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5857 lt_cv_file_magic_cmd='func_win32_libid' 5858 ;; 5859 5860mingw* | pw32*) 5861 # Base MSYS/MinGW do not provide the 'file' command needed by 5862 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5863 # unless we find 'file', for example because we are cross-compiling. 5864 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5865 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5866 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5867 lt_cv_file_magic_cmd='func_win32_libid' 5868 else 5869 # Keep this pattern in sync with the one in func_win32_libid. 5870 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5871 lt_cv_file_magic_cmd='$OBJDUMP -f' 5872 fi 5873 ;; 5874 5875cegcc*) 5876 # use the weaker test based on 'objdump'. See mingw*. 5877 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5878 lt_cv_file_magic_cmd='$OBJDUMP -f' 5879 ;; 5880 5881darwin* | rhapsody*) 5882 lt_cv_deplibs_check_method=pass_all 5883 ;; 5884 5885freebsd* | dragonfly*) 5886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5887 case $host_cpu in 5888 i*86 ) 5889 # Not sure whether the presence of OpenBSD here was a mistake. 5890 # Let's accept both of them until this is cleared up. 5891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5892 lt_cv_file_magic_cmd=/usr/bin/file 5893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5894 ;; 5895 esac 5896 else 5897 lt_cv_deplibs_check_method=pass_all 5898 fi 5899 ;; 5900 5901haiku*) 5902 lt_cv_deplibs_check_method=pass_all 5903 ;; 5904 5905hpux10.20* | hpux11*) 5906 lt_cv_file_magic_cmd=/usr/bin/file 5907 case $host_cpu in 5908 ia64*) 5909 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5910 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5911 ;; 5912 hppa*64*) 5913 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]' 5914 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5915 ;; 5916 *) 5917 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5918 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5919 ;; 5920 esac 5921 ;; 5922 5923interix[3-9]*) 5924 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5925 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5926 ;; 5927 5928irix5* | irix6* | nonstopux*) 5929 case $LD in 5930 *-32|*"-32 ") libmagic=32-bit;; 5931 *-n32|*"-n32 ") libmagic=N32;; 5932 *-64|*"-64 ") libmagic=64-bit;; 5933 *) libmagic=never-match;; 5934 esac 5935 lt_cv_deplibs_check_method=pass_all 5936 ;; 5937 5938# This must be glibc/ELF. 5939linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5940 lt_cv_deplibs_check_method=pass_all 5941 ;; 5942 5943netbsd* | netbsdelf*-gnu) 5944 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5945 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5946 else 5947 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5948 fi 5949 ;; 5950 5951newos6*) 5952 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5953 lt_cv_file_magic_cmd=/usr/bin/file 5954 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5955 ;; 5956 5957*nto* | *qnx*) 5958 lt_cv_deplibs_check_method=pass_all 5959 ;; 5960 5961openbsd*) 5962 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5963 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5964 else 5965 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5966 fi 5967 ;; 5968 5969osf3* | osf4* | osf5*) 5970 lt_cv_deplibs_check_method=pass_all 5971 ;; 5972 5973rdos*) 5974 lt_cv_deplibs_check_method=pass_all 5975 ;; 5976 5977solaris*) 5978 lt_cv_deplibs_check_method=pass_all 5979 ;; 5980 5981sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5982 lt_cv_deplibs_check_method=pass_all 5983 ;; 5984 5985sysv4 | sysv4.3*) 5986 case $host_vendor in 5987 motorola) 5988 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]' 5989 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5990 ;; 5991 ncr) 5992 lt_cv_deplibs_check_method=pass_all 5993 ;; 5994 sequent) 5995 lt_cv_file_magic_cmd='/bin/file' 5996 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5997 ;; 5998 sni) 5999 lt_cv_file_magic_cmd='/bin/file' 6000 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6001 lt_cv_file_magic_test_file=/lib/libc.so 6002 ;; 6003 siemens) 6004 lt_cv_deplibs_check_method=pass_all 6005 ;; 6006 pc) 6007 lt_cv_deplibs_check_method=pass_all 6008 ;; 6009 esac 6010 ;; 6011 6012tpf*) 6013 lt_cv_deplibs_check_method=pass_all 6014 ;; 6015esac 6016 6017fi 6018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6019$as_echo "$lt_cv_deplibs_check_method" >&6; } 6020 6021file_magic_glob= 6022want_nocaseglob=no 6023if test "$build" = "$host"; then 6024 case $host_os in 6025 mingw* | pw32*) 6026 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6027 want_nocaseglob=yes 6028 else 6029 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6030 fi 6031 ;; 6032 esac 6033fi 6034 6035file_magic_cmd=$lt_cv_file_magic_cmd 6036deplibs_check_method=$lt_cv_deplibs_check_method 6037test -z "$deplibs_check_method" && deplibs_check_method=unknown 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060if test -n "$ac_tool_prefix"; then 6061 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6062set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6064$as_echo_n "checking for $ac_word... " >&6; } 6065if test "${ac_cv_prog_DLLTOOL+set}" = set; then : 6066 $as_echo_n "(cached) " >&6 6067else 6068 if test -n "$DLLTOOL"; then 6069 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6070else 6071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6072for as_dir in $PATH 6073do 6074 IFS=$as_save_IFS 6075 test -z "$as_dir" && as_dir=. 6076 for ac_exec_ext in '' $ac_executable_extensions; do 6077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6078 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6080 break 2 6081 fi 6082done 6083 done 6084IFS=$as_save_IFS 6085 6086fi 6087fi 6088DLLTOOL=$ac_cv_prog_DLLTOOL 6089if test -n "$DLLTOOL"; then 6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6091$as_echo "$DLLTOOL" >&6; } 6092else 6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6094$as_echo "no" >&6; } 6095fi 6096 6097 6098fi 6099if test -z "$ac_cv_prog_DLLTOOL"; then 6100 ac_ct_DLLTOOL=$DLLTOOL 6101 # Extract the first word of "dlltool", so it can be a program name with args. 6102set dummy dlltool; ac_word=$2 6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6104$as_echo_n "checking for $ac_word... " >&6; } 6105if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : 6106 $as_echo_n "(cached) " >&6 6107else 6108 if test -n "$ac_ct_DLLTOOL"; then 6109 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6110else 6111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6112for as_dir in $PATH 6113do 6114 IFS=$as_save_IFS 6115 test -z "$as_dir" && as_dir=. 6116 for ac_exec_ext in '' $ac_executable_extensions; do 6117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6118 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6120 break 2 6121 fi 6122done 6123 done 6124IFS=$as_save_IFS 6125 6126fi 6127fi 6128ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6129if test -n "$ac_ct_DLLTOOL"; then 6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6131$as_echo "$ac_ct_DLLTOOL" >&6; } 6132else 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6134$as_echo "no" >&6; } 6135fi 6136 6137 if test "x$ac_ct_DLLTOOL" = x; then 6138 DLLTOOL="false" 6139 else 6140 case $cross_compiling:$ac_tool_warned in 6141yes:) 6142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6144ac_tool_warned=yes ;; 6145esac 6146 DLLTOOL=$ac_ct_DLLTOOL 6147 fi 6148else 6149 DLLTOOL="$ac_cv_prog_DLLTOOL" 6150fi 6151 6152test -z "$DLLTOOL" && DLLTOOL=dlltool 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6164$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6165if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then : 6166 $as_echo_n "(cached) " >&6 6167else 6168 lt_cv_sharedlib_from_linklib_cmd='unknown' 6169 6170case $host_os in 6171cygwin* | mingw* | pw32* | cegcc*) 6172 # two different shell functions defined in ltmain.sh 6173 # decide which to use based on capabilities of $DLLTOOL 6174 case `$DLLTOOL --help 2>&1` in 6175 *--identify-strict*) 6176 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6177 ;; 6178 *) 6179 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6180 ;; 6181 esac 6182 ;; 6183*) 6184 # fallback: assume linklib IS sharedlib 6185 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6186 ;; 6187esac 6188 6189fi 6190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6191$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6192sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6193test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6194 6195 6196 6197 6198 6199 6200 6201if test -n "$ac_tool_prefix"; then 6202 for ac_prog in ar 6203 do 6204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6205set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6207$as_echo_n "checking for $ac_word... " >&6; } 6208if test "${ac_cv_prog_AR+set}" = set; then : 6209 $as_echo_n "(cached) " >&6 6210else 6211 if test -n "$AR"; then 6212 ac_cv_prog_AR="$AR" # Let the user override the test. 6213else 6214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6215for as_dir in $PATH 6216do 6217 IFS=$as_save_IFS 6218 test -z "$as_dir" && as_dir=. 6219 for ac_exec_ext in '' $ac_executable_extensions; do 6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6221 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6223 break 2 6224 fi 6225done 6226 done 6227IFS=$as_save_IFS 6228 6229fi 6230fi 6231AR=$ac_cv_prog_AR 6232if test -n "$AR"; then 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6234$as_echo "$AR" >&6; } 6235else 6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6237$as_echo "no" >&6; } 6238fi 6239 6240 6241 test -n "$AR" && break 6242 done 6243fi 6244if test -z "$AR"; then 6245 ac_ct_AR=$AR 6246 for ac_prog in ar 6247do 6248 # Extract the first word of "$ac_prog", so it can be a program name with args. 6249set dummy $ac_prog; ac_word=$2 6250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6251$as_echo_n "checking for $ac_word... " >&6; } 6252if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 6253 $as_echo_n "(cached) " >&6 6254else 6255 if test -n "$ac_ct_AR"; then 6256 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6257else 6258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6259for as_dir in $PATH 6260do 6261 IFS=$as_save_IFS 6262 test -z "$as_dir" && as_dir=. 6263 for ac_exec_ext in '' $ac_executable_extensions; do 6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6265 ac_cv_prog_ac_ct_AR="$ac_prog" 6266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6267 break 2 6268 fi 6269done 6270 done 6271IFS=$as_save_IFS 6272 6273fi 6274fi 6275ac_ct_AR=$ac_cv_prog_ac_ct_AR 6276if test -n "$ac_ct_AR"; then 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6278$as_echo "$ac_ct_AR" >&6; } 6279else 6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6281$as_echo "no" >&6; } 6282fi 6283 6284 6285 test -n "$ac_ct_AR" && break 6286done 6287 6288 if test "x$ac_ct_AR" = x; then 6289 AR="false" 6290 else 6291 case $cross_compiling:$ac_tool_warned in 6292yes:) 6293{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6294$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6295ac_tool_warned=yes ;; 6296esac 6297 AR=$ac_ct_AR 6298 fi 6299fi 6300 6301: ${AR=ar} 6302: ${AR_FLAGS=cru} 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6315$as_echo_n "checking for archiver @FILE support... " >&6; } 6316if test "${lt_cv_ar_at_file+set}" = set; then : 6317 $as_echo_n "(cached) " >&6 6318else 6319 lt_cv_ar_at_file=no 6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6321/* end confdefs.h. */ 6322 6323int 6324main () 6325{ 6326 6327 ; 6328 return 0; 6329} 6330_ACEOF 6331if ac_fn_c_try_compile "$LINENO"; then : 6332 echo conftest.$ac_objext > conftest.lst 6333 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6334 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6335 (eval $lt_ar_try) 2>&5 6336 ac_status=$? 6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6338 test $ac_status = 0; } 6339 if test "$ac_status" -eq 0; then 6340 # Ensure the archiver fails upon bogus file names. 6341 rm -f conftest.$ac_objext libconftest.a 6342 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6343 (eval $lt_ar_try) 2>&5 6344 ac_status=$? 6345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6346 test $ac_status = 0; } 6347 if test "$ac_status" -ne 0; then 6348 lt_cv_ar_at_file=@ 6349 fi 6350 fi 6351 rm -f conftest.* libconftest.a 6352 6353fi 6354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6355 6356fi 6357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6358$as_echo "$lt_cv_ar_at_file" >&6; } 6359 6360if test "x$lt_cv_ar_at_file" = xno; then 6361 archiver_list_spec= 6362else 6363 archiver_list_spec=$lt_cv_ar_at_file 6364fi 6365 6366 6367 6368 6369 6370 6371 6372if test -n "$ac_tool_prefix"; then 6373 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6374set dummy ${ac_tool_prefix}strip; ac_word=$2 6375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6376$as_echo_n "checking for $ac_word... " >&6; } 6377if test "${ac_cv_prog_STRIP+set}" = set; then : 6378 $as_echo_n "(cached) " >&6 6379else 6380 if test -n "$STRIP"; then 6381 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6382else 6383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6384for as_dir in $PATH 6385do 6386 IFS=$as_save_IFS 6387 test -z "$as_dir" && as_dir=. 6388 for ac_exec_ext in '' $ac_executable_extensions; do 6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6390 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6392 break 2 6393 fi 6394done 6395 done 6396IFS=$as_save_IFS 6397 6398fi 6399fi 6400STRIP=$ac_cv_prog_STRIP 6401if test -n "$STRIP"; then 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6403$as_echo "$STRIP" >&6; } 6404else 6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6406$as_echo "no" >&6; } 6407fi 6408 6409 6410fi 6411if test -z "$ac_cv_prog_STRIP"; then 6412 ac_ct_STRIP=$STRIP 6413 # Extract the first word of "strip", so it can be a program name with args. 6414set dummy strip; ac_word=$2 6415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6416$as_echo_n "checking for $ac_word... " >&6; } 6417if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 6418 $as_echo_n "(cached) " >&6 6419else 6420 if test -n "$ac_ct_STRIP"; then 6421 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6422else 6423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6424for as_dir in $PATH 6425do 6426 IFS=$as_save_IFS 6427 test -z "$as_dir" && as_dir=. 6428 for ac_exec_ext in '' $ac_executable_extensions; do 6429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6430 ac_cv_prog_ac_ct_STRIP="strip" 6431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6432 break 2 6433 fi 6434done 6435 done 6436IFS=$as_save_IFS 6437 6438fi 6439fi 6440ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6441if test -n "$ac_ct_STRIP"; then 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6443$as_echo "$ac_ct_STRIP" >&6; } 6444else 6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6446$as_echo "no" >&6; } 6447fi 6448 6449 if test "x$ac_ct_STRIP" = x; then 6450 STRIP=":" 6451 else 6452 case $cross_compiling:$ac_tool_warned in 6453yes:) 6454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6456ac_tool_warned=yes ;; 6457esac 6458 STRIP=$ac_ct_STRIP 6459 fi 6460else 6461 STRIP="$ac_cv_prog_STRIP" 6462fi 6463 6464test -z "$STRIP" && STRIP=: 6465 6466 6467 6468 6469 6470 6471if test -n "$ac_tool_prefix"; then 6472 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6473set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6475$as_echo_n "checking for $ac_word... " >&6; } 6476if test "${ac_cv_prog_RANLIB+set}" = set; then : 6477 $as_echo_n "(cached) " >&6 6478else 6479 if test -n "$RANLIB"; then 6480 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6481else 6482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6483for as_dir in $PATH 6484do 6485 IFS=$as_save_IFS 6486 test -z "$as_dir" && as_dir=. 6487 for ac_exec_ext in '' $ac_executable_extensions; do 6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6489 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6491 break 2 6492 fi 6493done 6494 done 6495IFS=$as_save_IFS 6496 6497fi 6498fi 6499RANLIB=$ac_cv_prog_RANLIB 6500if test -n "$RANLIB"; then 6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6502$as_echo "$RANLIB" >&6; } 6503else 6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6505$as_echo "no" >&6; } 6506fi 6507 6508 6509fi 6510if test -z "$ac_cv_prog_RANLIB"; then 6511 ac_ct_RANLIB=$RANLIB 6512 # Extract the first word of "ranlib", so it can be a program name with args. 6513set dummy ranlib; ac_word=$2 6514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6515$as_echo_n "checking for $ac_word... " >&6; } 6516if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6517 $as_echo_n "(cached) " >&6 6518else 6519 if test -n "$ac_ct_RANLIB"; then 6520 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6521else 6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6523for as_dir in $PATH 6524do 6525 IFS=$as_save_IFS 6526 test -z "$as_dir" && as_dir=. 6527 for ac_exec_ext in '' $ac_executable_extensions; do 6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6529 ac_cv_prog_ac_ct_RANLIB="ranlib" 6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6531 break 2 6532 fi 6533done 6534 done 6535IFS=$as_save_IFS 6536 6537fi 6538fi 6539ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6540if test -n "$ac_ct_RANLIB"; then 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6542$as_echo "$ac_ct_RANLIB" >&6; } 6543else 6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6545$as_echo "no" >&6; } 6546fi 6547 6548 if test "x$ac_ct_RANLIB" = x; then 6549 RANLIB=":" 6550 else 6551 case $cross_compiling:$ac_tool_warned in 6552yes:) 6553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6555ac_tool_warned=yes ;; 6556esac 6557 RANLIB=$ac_ct_RANLIB 6558 fi 6559else 6560 RANLIB="$ac_cv_prog_RANLIB" 6561fi 6562 6563test -z "$RANLIB" && RANLIB=: 6564 6565 6566 6567 6568 6569 6570# Determine commands to create old-style static archives. 6571old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6572old_postinstall_cmds='chmod 644 $oldlib' 6573old_postuninstall_cmds= 6574 6575if test -n "$RANLIB"; then 6576 case $host_os in 6577 openbsd*) 6578 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6579 ;; 6580 *) 6581 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6582 ;; 6583 esac 6584 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6585fi 6586 6587case $host_os in 6588 darwin*) 6589 lock_old_archive_extraction=yes ;; 6590 *) 6591 lock_old_archive_extraction=no ;; 6592esac 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632# If no C compiler was specified, use CC. 6633LTCC=${LTCC-"$CC"} 6634 6635# If no C compiler flags were specified, use CFLAGS. 6636LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6637 6638# Allow CC to be a program name with arguments. 6639compiler=$CC 6640 6641 6642# Check for command to grab the raw symbol name followed by C symbol from nm. 6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6644$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6645if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 6646 $as_echo_n "(cached) " >&6 6647else 6648 6649# These are sane defaults that work on at least a few old systems. 6650# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6651 6652# Character class describing NM global symbol codes. 6653symcode='[BCDEGRST]' 6654 6655# Regexp to match symbols that can be accessed directly from C. 6656sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6657 6658# Define system-specific variables. 6659case $host_os in 6660aix*) 6661 symcode='[BCDT]' 6662 ;; 6663cygwin* | mingw* | pw32* | cegcc*) 6664 symcode='[ABCDGISTW]' 6665 ;; 6666hpux*) 6667 if test "$host_cpu" = ia64; then 6668 symcode='[ABCDEGRST]' 6669 fi 6670 ;; 6671irix* | nonstopux*) 6672 symcode='[BCDEGRST]' 6673 ;; 6674osf*) 6675 symcode='[BCDEGQRST]' 6676 ;; 6677solaris*) 6678 symcode='[BDRT]' 6679 ;; 6680sco3.2v5*) 6681 symcode='[DT]' 6682 ;; 6683sysv4.2uw2*) 6684 symcode='[DT]' 6685 ;; 6686sysv5* | sco5v6* | unixware* | OpenUNIX*) 6687 symcode='[ABDT]' 6688 ;; 6689sysv4) 6690 symcode='[DFNSTU]' 6691 ;; 6692esac 6693 6694# If we're using GNU nm, then use its standard symbol codes. 6695case `$NM -V 2>&1` in 6696*GNU* | *'with BFD'*) 6697 symcode='[ABCDGIRSTW]' ;; 6698esac 6699 6700# Transform an extracted symbol line into a proper C declaration. 6701# Some systems (esp. on ia64) link data and code symbols differently, 6702# so use this general approach. 6703lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6704 6705# Transform an extracted symbol line into symbol name and symbol address 6706lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6707lt_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'" 6708 6709# Handle CRLF in mingw tool chain 6710opt_cr= 6711case $build_os in 6712mingw*) 6713 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6714 ;; 6715esac 6716 6717# Try without a prefix underscore, then with it. 6718for ac_symprfx in "" "_"; do 6719 6720 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6721 symxfrm="\\1 $ac_symprfx\\2 \\2" 6722 6723 # Write the raw and C identifiers. 6724 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6725 # Fake it for dumpbin and say T for any non-static function 6726 # and D for any global variable. 6727 # Also find C++ and __fastcall symbols from MSVC++, 6728 # which start with @ or ?. 6729 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6730" {last_section=section; section=\$ 3};"\ 6731" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6732" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6733" \$ 0!~/External *\|/{next};"\ 6734" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6735" {if(hide[section]) next};"\ 6736" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6737" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6738" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6739" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6740" ' prfx=^$ac_symprfx" 6741 else 6742 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6743 fi 6744 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6745 6746 # Check to see that the pipe works correctly. 6747 pipe_works=no 6748 6749 rm -f conftest* 6750 cat > conftest.$ac_ext <<_LT_EOF 6751#ifdef __cplusplus 6752extern "C" { 6753#endif 6754char nm_test_var; 6755void nm_test_func(void); 6756void nm_test_func(void){} 6757#ifdef __cplusplus 6758} 6759#endif 6760int main(){nm_test_var='a';nm_test_func();return(0);} 6761_LT_EOF 6762 6763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6764 (eval $ac_compile) 2>&5 6765 ac_status=$? 6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6767 test $ac_status = 0; }; then 6768 # Now try to grab the symbols. 6769 nlist=conftest.nm 6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6771 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6772 ac_status=$? 6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6774 test $ac_status = 0; } && test -s "$nlist"; then 6775 # Try sorting and uniquifying the output. 6776 if sort "$nlist" | uniq > "$nlist"T; then 6777 mv -f "$nlist"T "$nlist" 6778 else 6779 rm -f "$nlist"T 6780 fi 6781 6782 # Make sure that we snagged all the symbols we need. 6783 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6784 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6785 cat <<_LT_EOF > conftest.$ac_ext 6786/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6787#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6788/* DATA imports from DLLs on WIN32 con't be const, because runtime 6789 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6790# define LT@&t@_DLSYM_CONST 6791#elif defined(__osf__) 6792/* This system does not cope well with relocations in const data. */ 6793# define LT@&t@_DLSYM_CONST 6794#else 6795# define LT@&t@_DLSYM_CONST const 6796#endif 6797 6798#ifdef __cplusplus 6799extern "C" { 6800#endif 6801 6802_LT_EOF 6803 # Now generate the symbol file. 6804 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6805 6806 cat <<_LT_EOF >> conftest.$ac_ext 6807 6808/* The mapping between symbol names and symbols. */ 6809LT@&t@_DLSYM_CONST struct { 6810 const char *name; 6811 void *address; 6812} 6813lt__PROGRAM__LTX_preloaded_symbols[] = 6814{ 6815 { "@PROGRAM@", (void *) 0 }, 6816_LT_EOF 6817 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6818 cat <<\_LT_EOF >> conftest.$ac_ext 6819 {0, (void *) 0} 6820}; 6821 6822/* This works around a problem in FreeBSD linker */ 6823#ifdef FREEBSD_WORKAROUND 6824static const void *lt_preloaded_setup() { 6825 return lt__PROGRAM__LTX_preloaded_symbols; 6826} 6827#endif 6828 6829#ifdef __cplusplus 6830} 6831#endif 6832_LT_EOF 6833 # Now try linking the two files. 6834 mv conftest.$ac_objext conftstm.$ac_objext 6835 lt_globsym_save_LIBS=$LIBS 6836 lt_globsym_save_CFLAGS=$CFLAGS 6837 LIBS="conftstm.$ac_objext" 6838 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6840 (eval $ac_link) 2>&5 6841 ac_status=$? 6842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6843 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6844 pipe_works=yes 6845 fi 6846 LIBS=$lt_globsym_save_LIBS 6847 CFLAGS=$lt_globsym_save_CFLAGS 6848 else 6849 echo "cannot find nm_test_func in $nlist" >&5 6850 fi 6851 else 6852 echo "cannot find nm_test_var in $nlist" >&5 6853 fi 6854 else 6855 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6856 fi 6857 else 6858 echo "$progname: failed program was:" >&5 6859 cat conftest.$ac_ext >&5 6860 fi 6861 rm -rf conftest* conftst* 6862 6863 # Do not use the global_symbol_pipe unless it works. 6864 if test "$pipe_works" = yes; then 6865 break 6866 else 6867 lt_cv_sys_global_symbol_pipe= 6868 fi 6869done 6870 6871fi 6872 6873if test -z "$lt_cv_sys_global_symbol_pipe"; then 6874 lt_cv_sys_global_symbol_to_cdecl= 6875fi 6876if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6878$as_echo "failed" >&6; } 6879else 6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6881$as_echo "ok" >&6; } 6882fi 6883 6884# Response file support. 6885if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6886 nm_file_list_spec='@' 6887elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6888 nm_file_list_spec='@' 6889fi 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6918$as_echo_n "checking for sysroot... " >&6; } 6919 6920@%:@ Check whether --with-sysroot was given. 6921if test "${with_sysroot+set}" = set; then : 6922 withval=$with_sysroot; 6923else 6924 with_sysroot=no 6925fi 6926 6927 6928lt_sysroot= 6929case ${with_sysroot} in #( 6930 yes) 6931 if test "$GCC" = yes; then 6932 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6933 fi 6934 ;; #( 6935 /*) 6936 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6937 ;; #( 6938 no|'') 6939 ;; #( 6940 *) 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6942$as_echo "${with_sysroot}" >&6; } 6943 as_fn_error "The sysroot must be an absolute path." "$LINENO" 5 6944 ;; 6945esac 6946 6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6948$as_echo "${lt_sysroot:-no}" >&6; } 6949 6950 6951 6952 6953 6954@%:@ Check whether --enable-libtool-lock was given. 6955if test "${enable_libtool_lock+set}" = set; then : 6956 enableval=$enable_libtool_lock; 6957fi 6958 6959test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6960 6961# Some flags need to be propagated to the compiler or linker for good 6962# libtool support. 6963case $host in 6964ia64-*-hpux*) 6965 # Find out which ABI we are using. 6966 echo 'int i;' > conftest.$ac_ext 6967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6968 (eval $ac_compile) 2>&5 6969 ac_status=$? 6970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6971 test $ac_status = 0; }; then 6972 case `/usr/bin/file conftest.$ac_objext` in 6973 *ELF-32*) 6974 HPUX_IA64_MODE="32" 6975 ;; 6976 *ELF-64*) 6977 HPUX_IA64_MODE="64" 6978 ;; 6979 esac 6980 fi 6981 rm -rf conftest* 6982 ;; 6983*-*-irix6*) 6984 # Find out which ABI we are using. 6985 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6987 (eval $ac_compile) 2>&5 6988 ac_status=$? 6989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6990 test $ac_status = 0; }; then 6991 if test "$lt_cv_prog_gnu_ld" = yes; then 6992 case `/usr/bin/file conftest.$ac_objext` in 6993 *32-bit*) 6994 LD="${LD-ld} -melf32bsmip" 6995 ;; 6996 *N32*) 6997 LD="${LD-ld} -melf32bmipn32" 6998 ;; 6999 *64-bit*) 7000 LD="${LD-ld} -melf64bmip" 7001 ;; 7002 esac 7003 else 7004 case `/usr/bin/file conftest.$ac_objext` in 7005 *32-bit*) 7006 LD="${LD-ld} -32" 7007 ;; 7008 *N32*) 7009 LD="${LD-ld} -n32" 7010 ;; 7011 *64-bit*) 7012 LD="${LD-ld} -64" 7013 ;; 7014 esac 7015 fi 7016 fi 7017 rm -rf conftest* 7018 ;; 7019 7020x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7021s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7022 # Find out which ABI we are using. 7023 echo 'int i;' > conftest.$ac_ext 7024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7025 (eval $ac_compile) 2>&5 7026 ac_status=$? 7027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7028 test $ac_status = 0; }; then 7029 case `/usr/bin/file conftest.o` in 7030 *32-bit*) 7031 case $host in 7032 x86_64-*kfreebsd*-gnu) 7033 LD="${LD-ld} -m elf_i386_fbsd" 7034 ;; 7035 x86_64-*linux*) 7036 LD="${LD-ld} -m elf_i386" 7037 ;; 7038 ppc64-*linux*|powerpc64-*linux*) 7039 LD="${LD-ld} -m elf32ppclinux" 7040 ;; 7041 s390x-*linux*) 7042 LD="${LD-ld} -m elf_s390" 7043 ;; 7044 sparc64-*linux*) 7045 LD="${LD-ld} -m elf32_sparc" 7046 ;; 7047 esac 7048 ;; 7049 *64-bit*) 7050 case $host in 7051 x86_64-*kfreebsd*-gnu) 7052 LD="${LD-ld} -m elf_x86_64_fbsd" 7053 ;; 7054 x86_64-*linux*) 7055 LD="${LD-ld} -m elf_x86_64" 7056 ;; 7057 ppc*-*linux*|powerpc*-*linux*) 7058 LD="${LD-ld} -m elf64ppc" 7059 ;; 7060 s390*-*linux*|s390*-*tpf*) 7061 LD="${LD-ld} -m elf64_s390" 7062 ;; 7063 sparc*-*linux*) 7064 LD="${LD-ld} -m elf64_sparc" 7065 ;; 7066 esac 7067 ;; 7068 esac 7069 fi 7070 rm -rf conftest* 7071 ;; 7072 7073*-*-sco3.2v5*) 7074 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7075 SAVE_CFLAGS="$CFLAGS" 7076 CFLAGS="$CFLAGS -belf" 7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7078$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7079if test "${lt_cv_cc_needs_belf+set}" = set; then : 7080 $as_echo_n "(cached) " >&6 7081else 7082 ac_ext=c 7083ac_cpp='$CPP $CPPFLAGS' 7084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7086ac_compiler_gnu=$ac_cv_c_compiler_gnu 7087 7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7089/* end confdefs.h. */ 7090 7091int 7092main () 7093{ 7094 7095 ; 7096 return 0; 7097} 7098_ACEOF 7099if ac_fn_c_try_link "$LINENO"; then : 7100 lt_cv_cc_needs_belf=yes 7101else 7102 lt_cv_cc_needs_belf=no 7103fi 7104rm -f core conftest.err conftest.$ac_objext \ 7105 conftest$ac_exeext conftest.$ac_ext 7106 ac_ext=c 7107ac_cpp='$CPP $CPPFLAGS' 7108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7110ac_compiler_gnu=$ac_cv_c_compiler_gnu 7111 7112fi 7113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7114$as_echo "$lt_cv_cc_needs_belf" >&6; } 7115 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7116 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7117 CFLAGS="$SAVE_CFLAGS" 7118 fi 7119 ;; 7120*-*solaris*) 7121 # Find out which ABI we are using. 7122 echo 'int i;' > conftest.$ac_ext 7123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7124 (eval $ac_compile) 2>&5 7125 ac_status=$? 7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7127 test $ac_status = 0; }; then 7128 case `/usr/bin/file conftest.o` in 7129 *64-bit*) 7130 case $lt_cv_prog_gnu_ld in 7131 yes*) 7132 case $host in 7133 i?86-*-solaris*) 7134 LD="${LD-ld} -m elf_x86_64" 7135 ;; 7136 sparc*-*-solaris*) 7137 LD="${LD-ld} -m elf64_sparc" 7138 ;; 7139 esac 7140 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7141 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7142 LD="${LD-ld}_sol2" 7143 fi 7144 ;; 7145 *) 7146 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7147 LD="${LD-ld} -64" 7148 fi 7149 ;; 7150 esac 7151 ;; 7152 esac 7153 fi 7154 rm -rf conftest* 7155 ;; 7156esac 7157 7158need_locks="$enable_libtool_lock" 7159 7160if test -n "$ac_tool_prefix"; then 7161 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7162set dummy ${ac_tool_prefix}mt; ac_word=$2 7163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7164$as_echo_n "checking for $ac_word... " >&6; } 7165if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then : 7166 $as_echo_n "(cached) " >&6 7167else 7168 if test -n "$MANIFEST_TOOL"; then 7169 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7170else 7171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7172for as_dir in $PATH 7173do 7174 IFS=$as_save_IFS 7175 test -z "$as_dir" && as_dir=. 7176 for ac_exec_ext in '' $ac_executable_extensions; do 7177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7178 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7180 break 2 7181 fi 7182done 7183 done 7184IFS=$as_save_IFS 7185 7186fi 7187fi 7188MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7189if test -n "$MANIFEST_TOOL"; then 7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7191$as_echo "$MANIFEST_TOOL" >&6; } 7192else 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7194$as_echo "no" >&6; } 7195fi 7196 7197 7198fi 7199if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7200 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7201 # Extract the first word of "mt", so it can be a program name with args. 7202set dummy mt; ac_word=$2 7203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7204$as_echo_n "checking for $ac_word... " >&6; } 7205if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then : 7206 $as_echo_n "(cached) " >&6 7207else 7208 if test -n "$ac_ct_MANIFEST_TOOL"; then 7209 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7210else 7211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7212for as_dir in $PATH 7213do 7214 IFS=$as_save_IFS 7215 test -z "$as_dir" && as_dir=. 7216 for ac_exec_ext in '' $ac_executable_extensions; do 7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7218 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7220 break 2 7221 fi 7222done 7223 done 7224IFS=$as_save_IFS 7225 7226fi 7227fi 7228ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7229if test -n "$ac_ct_MANIFEST_TOOL"; then 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7231$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7232else 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7234$as_echo "no" >&6; } 7235fi 7236 7237 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7238 MANIFEST_TOOL=":" 7239 else 7240 case $cross_compiling:$ac_tool_warned in 7241yes:) 7242{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7243$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7244ac_tool_warned=yes ;; 7245esac 7246 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7247 fi 7248else 7249 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7250fi 7251 7252test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7254$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7255if test "${lt_cv_path_mainfest_tool+set}" = set; then : 7256 $as_echo_n "(cached) " >&6 7257else 7258 lt_cv_path_mainfest_tool=no 7259 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7260 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7261 cat conftest.err >&5 7262 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7263 lt_cv_path_mainfest_tool=yes 7264 fi 7265 rm -f conftest* 7266fi 7267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7268$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7269if test "x$lt_cv_path_mainfest_tool" != xyes; then 7270 MANIFEST_TOOL=: 7271fi 7272 7273 7274 7275 7276 7277 7278 case $host_os in 7279 rhapsody* | darwin*) 7280 if test -n "$ac_tool_prefix"; then 7281 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7282set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7284$as_echo_n "checking for $ac_word... " >&6; } 7285if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 7286 $as_echo_n "(cached) " >&6 7287else 7288 if test -n "$DSYMUTIL"; then 7289 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7290else 7291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7292for as_dir in $PATH 7293do 7294 IFS=$as_save_IFS 7295 test -z "$as_dir" && as_dir=. 7296 for ac_exec_ext in '' $ac_executable_extensions; do 7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7298 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7300 break 2 7301 fi 7302done 7303 done 7304IFS=$as_save_IFS 7305 7306fi 7307fi 7308DSYMUTIL=$ac_cv_prog_DSYMUTIL 7309if test -n "$DSYMUTIL"; then 7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7311$as_echo "$DSYMUTIL" >&6; } 7312else 7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7314$as_echo "no" >&6; } 7315fi 7316 7317 7318fi 7319if test -z "$ac_cv_prog_DSYMUTIL"; then 7320 ac_ct_DSYMUTIL=$DSYMUTIL 7321 # Extract the first word of "dsymutil", so it can be a program name with args. 7322set dummy dsymutil; ac_word=$2 7323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7324$as_echo_n "checking for $ac_word... " >&6; } 7325if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 7326 $as_echo_n "(cached) " >&6 7327else 7328 if test -n "$ac_ct_DSYMUTIL"; then 7329 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7330else 7331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7332for as_dir in $PATH 7333do 7334 IFS=$as_save_IFS 7335 test -z "$as_dir" && as_dir=. 7336 for ac_exec_ext in '' $ac_executable_extensions; do 7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7338 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7340 break 2 7341 fi 7342done 7343 done 7344IFS=$as_save_IFS 7345 7346fi 7347fi 7348ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7349if test -n "$ac_ct_DSYMUTIL"; then 7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7351$as_echo "$ac_ct_DSYMUTIL" >&6; } 7352else 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7354$as_echo "no" >&6; } 7355fi 7356 7357 if test "x$ac_ct_DSYMUTIL" = x; then 7358 DSYMUTIL=":" 7359 else 7360 case $cross_compiling:$ac_tool_warned in 7361yes:) 7362{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7364ac_tool_warned=yes ;; 7365esac 7366 DSYMUTIL=$ac_ct_DSYMUTIL 7367 fi 7368else 7369 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7370fi 7371 7372 if test -n "$ac_tool_prefix"; then 7373 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7374set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7376$as_echo_n "checking for $ac_word... " >&6; } 7377if test "${ac_cv_prog_NMEDIT+set}" = set; then : 7378 $as_echo_n "(cached) " >&6 7379else 7380 if test -n "$NMEDIT"; then 7381 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7382else 7383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7384for as_dir in $PATH 7385do 7386 IFS=$as_save_IFS 7387 test -z "$as_dir" && as_dir=. 7388 for ac_exec_ext in '' $ac_executable_extensions; do 7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7390 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7392 break 2 7393 fi 7394done 7395 done 7396IFS=$as_save_IFS 7397 7398fi 7399fi 7400NMEDIT=$ac_cv_prog_NMEDIT 7401if test -n "$NMEDIT"; then 7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7403$as_echo "$NMEDIT" >&6; } 7404else 7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7406$as_echo "no" >&6; } 7407fi 7408 7409 7410fi 7411if test -z "$ac_cv_prog_NMEDIT"; then 7412 ac_ct_NMEDIT=$NMEDIT 7413 # Extract the first word of "nmedit", so it can be a program name with args. 7414set dummy nmedit; ac_word=$2 7415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7416$as_echo_n "checking for $ac_word... " >&6; } 7417if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 7418 $as_echo_n "(cached) " >&6 7419else 7420 if test -n "$ac_ct_NMEDIT"; then 7421 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7422else 7423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7424for as_dir in $PATH 7425do 7426 IFS=$as_save_IFS 7427 test -z "$as_dir" && as_dir=. 7428 for ac_exec_ext in '' $ac_executable_extensions; do 7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7430 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7432 break 2 7433 fi 7434done 7435 done 7436IFS=$as_save_IFS 7437 7438fi 7439fi 7440ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7441if test -n "$ac_ct_NMEDIT"; then 7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7443$as_echo "$ac_ct_NMEDIT" >&6; } 7444else 7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7446$as_echo "no" >&6; } 7447fi 7448 7449 if test "x$ac_ct_NMEDIT" = x; then 7450 NMEDIT=":" 7451 else 7452 case $cross_compiling:$ac_tool_warned in 7453yes:) 7454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7456ac_tool_warned=yes ;; 7457esac 7458 NMEDIT=$ac_ct_NMEDIT 7459 fi 7460else 7461 NMEDIT="$ac_cv_prog_NMEDIT" 7462fi 7463 7464 if test -n "$ac_tool_prefix"; then 7465 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7466set dummy ${ac_tool_prefix}lipo; ac_word=$2 7467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7468$as_echo_n "checking for $ac_word... " >&6; } 7469if test "${ac_cv_prog_LIPO+set}" = set; then : 7470 $as_echo_n "(cached) " >&6 7471else 7472 if test -n "$LIPO"; then 7473 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7474else 7475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7476for as_dir in $PATH 7477do 7478 IFS=$as_save_IFS 7479 test -z "$as_dir" && as_dir=. 7480 for ac_exec_ext in '' $ac_executable_extensions; do 7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7482 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7484 break 2 7485 fi 7486done 7487 done 7488IFS=$as_save_IFS 7489 7490fi 7491fi 7492LIPO=$ac_cv_prog_LIPO 7493if test -n "$LIPO"; then 7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7495$as_echo "$LIPO" >&6; } 7496else 7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7498$as_echo "no" >&6; } 7499fi 7500 7501 7502fi 7503if test -z "$ac_cv_prog_LIPO"; then 7504 ac_ct_LIPO=$LIPO 7505 # Extract the first word of "lipo", so it can be a program name with args. 7506set dummy lipo; ac_word=$2 7507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7508$as_echo_n "checking for $ac_word... " >&6; } 7509if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 7510 $as_echo_n "(cached) " >&6 7511else 7512 if test -n "$ac_ct_LIPO"; then 7513 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7514else 7515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7516for as_dir in $PATH 7517do 7518 IFS=$as_save_IFS 7519 test -z "$as_dir" && as_dir=. 7520 for ac_exec_ext in '' $ac_executable_extensions; do 7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7522 ac_cv_prog_ac_ct_LIPO="lipo" 7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7524 break 2 7525 fi 7526done 7527 done 7528IFS=$as_save_IFS 7529 7530fi 7531fi 7532ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7533if test -n "$ac_ct_LIPO"; then 7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7535$as_echo "$ac_ct_LIPO" >&6; } 7536else 7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7538$as_echo "no" >&6; } 7539fi 7540 7541 if test "x$ac_ct_LIPO" = x; then 7542 LIPO=":" 7543 else 7544 case $cross_compiling:$ac_tool_warned in 7545yes:) 7546{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7547$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7548ac_tool_warned=yes ;; 7549esac 7550 LIPO=$ac_ct_LIPO 7551 fi 7552else 7553 LIPO="$ac_cv_prog_LIPO" 7554fi 7555 7556 if test -n "$ac_tool_prefix"; then 7557 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7558set dummy ${ac_tool_prefix}otool; ac_word=$2 7559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7560$as_echo_n "checking for $ac_word... " >&6; } 7561if test "${ac_cv_prog_OTOOL+set}" = set; then : 7562 $as_echo_n "(cached) " >&6 7563else 7564 if test -n "$OTOOL"; then 7565 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7566else 7567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7568for as_dir in $PATH 7569do 7570 IFS=$as_save_IFS 7571 test -z "$as_dir" && as_dir=. 7572 for ac_exec_ext in '' $ac_executable_extensions; do 7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7574 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7576 break 2 7577 fi 7578done 7579 done 7580IFS=$as_save_IFS 7581 7582fi 7583fi 7584OTOOL=$ac_cv_prog_OTOOL 7585if test -n "$OTOOL"; then 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7587$as_echo "$OTOOL" >&6; } 7588else 7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7590$as_echo "no" >&6; } 7591fi 7592 7593 7594fi 7595if test -z "$ac_cv_prog_OTOOL"; then 7596 ac_ct_OTOOL=$OTOOL 7597 # Extract the first word of "otool", so it can be a program name with args. 7598set dummy otool; ac_word=$2 7599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7600$as_echo_n "checking for $ac_word... " >&6; } 7601if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 7602 $as_echo_n "(cached) " >&6 7603else 7604 if test -n "$ac_ct_OTOOL"; then 7605 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7606else 7607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7608for as_dir in $PATH 7609do 7610 IFS=$as_save_IFS 7611 test -z "$as_dir" && as_dir=. 7612 for ac_exec_ext in '' $ac_executable_extensions; do 7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7614 ac_cv_prog_ac_ct_OTOOL="otool" 7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7616 break 2 7617 fi 7618done 7619 done 7620IFS=$as_save_IFS 7621 7622fi 7623fi 7624ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7625if test -n "$ac_ct_OTOOL"; then 7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7627$as_echo "$ac_ct_OTOOL" >&6; } 7628else 7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7630$as_echo "no" >&6; } 7631fi 7632 7633 if test "x$ac_ct_OTOOL" = x; then 7634 OTOOL=":" 7635 else 7636 case $cross_compiling:$ac_tool_warned in 7637yes:) 7638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7640ac_tool_warned=yes ;; 7641esac 7642 OTOOL=$ac_ct_OTOOL 7643 fi 7644else 7645 OTOOL="$ac_cv_prog_OTOOL" 7646fi 7647 7648 if test -n "$ac_tool_prefix"; then 7649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7650set dummy ${ac_tool_prefix}otool64; ac_word=$2 7651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7652$as_echo_n "checking for $ac_word... " >&6; } 7653if test "${ac_cv_prog_OTOOL64+set}" = set; then : 7654 $as_echo_n "(cached) " >&6 7655else 7656 if test -n "$OTOOL64"; then 7657 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7658else 7659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7660for as_dir in $PATH 7661do 7662 IFS=$as_save_IFS 7663 test -z "$as_dir" && as_dir=. 7664 for ac_exec_ext in '' $ac_executable_extensions; do 7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7666 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7668 break 2 7669 fi 7670done 7671 done 7672IFS=$as_save_IFS 7673 7674fi 7675fi 7676OTOOL64=$ac_cv_prog_OTOOL64 7677if test -n "$OTOOL64"; then 7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7679$as_echo "$OTOOL64" >&6; } 7680else 7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7682$as_echo "no" >&6; } 7683fi 7684 7685 7686fi 7687if test -z "$ac_cv_prog_OTOOL64"; then 7688 ac_ct_OTOOL64=$OTOOL64 7689 # Extract the first word of "otool64", so it can be a program name with args. 7690set dummy otool64; ac_word=$2 7691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7692$as_echo_n "checking for $ac_word... " >&6; } 7693if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 7694 $as_echo_n "(cached) " >&6 7695else 7696 if test -n "$ac_ct_OTOOL64"; then 7697 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7698else 7699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7700for as_dir in $PATH 7701do 7702 IFS=$as_save_IFS 7703 test -z "$as_dir" && as_dir=. 7704 for ac_exec_ext in '' $ac_executable_extensions; do 7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7706 ac_cv_prog_ac_ct_OTOOL64="otool64" 7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7708 break 2 7709 fi 7710done 7711 done 7712IFS=$as_save_IFS 7713 7714fi 7715fi 7716ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7717if test -n "$ac_ct_OTOOL64"; then 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7719$as_echo "$ac_ct_OTOOL64" >&6; } 7720else 7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7722$as_echo "no" >&6; } 7723fi 7724 7725 if test "x$ac_ct_OTOOL64" = x; then 7726 OTOOL64=":" 7727 else 7728 case $cross_compiling:$ac_tool_warned in 7729yes:) 7730{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7731$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7732ac_tool_warned=yes ;; 7733esac 7734 OTOOL64=$ac_ct_OTOOL64 7735 fi 7736else 7737 OTOOL64="$ac_cv_prog_OTOOL64" 7738fi 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7767$as_echo_n "checking for -single_module linker flag... " >&6; } 7768if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 7769 $as_echo_n "(cached) " >&6 7770else 7771 lt_cv_apple_cc_single_mod=no 7772 if test -z "${LT_MULTI_MODULE}"; then 7773 # By default we will add the -single_module flag. You can override 7774 # by either setting the environment variable LT_MULTI_MODULE 7775 # non-empty at configure time, or by adding -multi_module to the 7776 # link flags. 7777 rm -rf libconftest.dylib* 7778 echo "int foo(void){return 1;}" > conftest.c 7779 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7780-dynamiclib -Wl,-single_module conftest.c" >&5 7781 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7782 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7783 _lt_result=$? 7784 # If there is a non-empty error log, and "single_module" 7785 # appears in it, assume the flag caused a linker warning 7786 if test -s conftest.err && $GREP single_module conftest.err; then 7787 cat conftest.err >&5 7788 # Otherwise, if the output was created with a 0 exit code from 7789 # the compiler, it worked. 7790 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7791 lt_cv_apple_cc_single_mod=yes 7792 else 7793 cat conftest.err >&5 7794 fi 7795 rm -rf libconftest.dylib* 7796 rm -f conftest.* 7797 fi 7798fi 7799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7800$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7801 7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7803$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7804if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 7805 $as_echo_n "(cached) " >&6 7806else 7807 lt_cv_ld_exported_symbols_list=no 7808 save_LDFLAGS=$LDFLAGS 7809 echo "_main" > conftest.sym 7810 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7812/* end confdefs.h. */ 7813 7814int 7815main () 7816{ 7817 7818 ; 7819 return 0; 7820} 7821_ACEOF 7822if ac_fn_c_try_link "$LINENO"; then : 7823 lt_cv_ld_exported_symbols_list=yes 7824else 7825 lt_cv_ld_exported_symbols_list=no 7826fi 7827rm -f core conftest.err conftest.$ac_objext \ 7828 conftest$ac_exeext conftest.$ac_ext 7829 LDFLAGS="$save_LDFLAGS" 7830 7831fi 7832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7833$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7834 7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7836$as_echo_n "checking for -force_load linker flag... " >&6; } 7837if test "${lt_cv_ld_force_load+set}" = set; then : 7838 $as_echo_n "(cached) " >&6 7839else 7840 lt_cv_ld_force_load=no 7841 cat > conftest.c << _LT_EOF 7842int forced_loaded() { return 2;} 7843_LT_EOF 7844 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7845 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7846 echo "$AR cru libconftest.a conftest.o" >&5 7847 $AR cru libconftest.a conftest.o 2>&5 7848 echo "$RANLIB libconftest.a" >&5 7849 $RANLIB libconftest.a 2>&5 7850 cat > conftest.c << _LT_EOF 7851int main() { return 0;} 7852_LT_EOF 7853 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7854 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7855 _lt_result=$? 7856 if test -s conftest.err && $GREP force_load conftest.err; then 7857 cat conftest.err >&5 7858 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7859 lt_cv_ld_force_load=yes 7860 else 7861 cat conftest.err >&5 7862 fi 7863 rm -f conftest.err libconftest.a conftest conftest.c 7864 rm -rf conftest.dSYM 7865 7866fi 7867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7868$as_echo "$lt_cv_ld_force_load" >&6; } 7869 case $host_os in 7870 rhapsody* | darwin1.[012]) 7871 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7872 darwin1.*) 7873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7874 darwin*) # darwin 5.x on 7875 # if running on 10.5 or later, the deployment target defaults 7876 # to the OS version, if on x86, and 10.4, the deployment 7877 # target defaults to 10.4. Don't you love it? 7878 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7879 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7880 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7881 10.[012]*) 7882 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7883 10.*) 7884 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7885 esac 7886 ;; 7887 esac 7888 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7889 _lt_dar_single_mod='$single_module' 7890 fi 7891 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7892 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7893 else 7894 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7895 fi 7896 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7897 _lt_dsymutil='~$DSYMUTIL $lib || :' 7898 else 7899 _lt_dsymutil= 7900 fi 7901 ;; 7902 esac 7903 7904ac_ext=c 7905ac_cpp='$CPP $CPPFLAGS' 7906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7908ac_compiler_gnu=$ac_cv_c_compiler_gnu 7909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7910$as_echo_n "checking how to run the C preprocessor... " >&6; } 7911# On Suns, sometimes $CPP names a directory. 7912if test -n "$CPP" && test -d "$CPP"; then 7913 CPP= 7914fi 7915if test -z "$CPP"; then 7916 if test "${ac_cv_prog_CPP+set}" = set; then : 7917 $as_echo_n "(cached) " >&6 7918else 7919 # Double quotes because CPP needs to be expanded 7920 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7921 do 7922 ac_preproc_ok=false 7923for ac_c_preproc_warn_flag in '' yes 7924do 7925 # Use a header file that comes with gcc, so configuring glibc 7926 # with a fresh cross-compiler works. 7927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7928 # <limits.h> exists even on freestanding compilers. 7929 # On the NeXT, cc -E runs the code through the compiler's parser, 7930 # not just through cpp. "Syntax error" is here to catch this case. 7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7932/* end confdefs.h. */ 7933@%:@ifdef __STDC__ 7934@%:@ include <limits.h> 7935@%:@else 7936@%:@ include <assert.h> 7937@%:@endif 7938 Syntax error 7939_ACEOF 7940if ac_fn_c_try_cpp "$LINENO"; then : 7941 7942else 7943 # Broken: fails on valid input. 7944continue 7945fi 7946rm -f conftest.err conftest.$ac_ext 7947 7948 # OK, works on sane cases. Now check whether nonexistent headers 7949 # can be detected and how. 7950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7951/* end confdefs.h. */ 7952@%:@include <ac_nonexistent.h> 7953_ACEOF 7954if ac_fn_c_try_cpp "$LINENO"; then : 7955 # Broken: success on invalid input. 7956continue 7957else 7958 # Passes both tests. 7959ac_preproc_ok=: 7960break 7961fi 7962rm -f conftest.err conftest.$ac_ext 7963 7964done 7965# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7966rm -f conftest.err conftest.$ac_ext 7967if $ac_preproc_ok; then : 7968 break 7969fi 7970 7971 done 7972 ac_cv_prog_CPP=$CPP 7973 7974fi 7975 CPP=$ac_cv_prog_CPP 7976else 7977 ac_cv_prog_CPP=$CPP 7978fi 7979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7980$as_echo "$CPP" >&6; } 7981ac_preproc_ok=false 7982for ac_c_preproc_warn_flag in '' yes 7983do 7984 # Use a header file that comes with gcc, so configuring glibc 7985 # with a fresh cross-compiler works. 7986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7987 # <limits.h> exists even on freestanding compilers. 7988 # On the NeXT, cc -E runs the code through the compiler's parser, 7989 # not just through cpp. "Syntax error" is here to catch this case. 7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7991/* end confdefs.h. */ 7992@%:@ifdef __STDC__ 7993@%:@ include <limits.h> 7994@%:@else 7995@%:@ include <assert.h> 7996@%:@endif 7997 Syntax error 7998_ACEOF 7999if ac_fn_c_try_cpp "$LINENO"; then : 8000 8001else 8002 # Broken: fails on valid input. 8003continue 8004fi 8005rm -f conftest.err conftest.$ac_ext 8006 8007 # OK, works on sane cases. Now check whether nonexistent headers 8008 # can be detected and how. 8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8010/* end confdefs.h. */ 8011@%:@include <ac_nonexistent.h> 8012_ACEOF 8013if ac_fn_c_try_cpp "$LINENO"; then : 8014 # Broken: success on invalid input. 8015continue 8016else 8017 # Passes both tests. 8018ac_preproc_ok=: 8019break 8020fi 8021rm -f conftest.err conftest.$ac_ext 8022 8023done 8024# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8025rm -f conftest.err conftest.$ac_ext 8026if $ac_preproc_ok; then : 8027 8028else 8029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8031as_fn_error "C preprocessor \"$CPP\" fails sanity check 8032See \`config.log' for more details." "$LINENO" 5; } 8033fi 8034 8035ac_ext=c 8036ac_cpp='$CPP $CPPFLAGS' 8037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8039ac_compiler_gnu=$ac_cv_c_compiler_gnu 8040 8041 8042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8043$as_echo_n "checking for ANSI C header files... " >&6; } 8044if test "${ac_cv_header_stdc+set}" = set; then : 8045 $as_echo_n "(cached) " >&6 8046else 8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8048/* end confdefs.h. */ 8049#include <stdlib.h> 8050#include <stdarg.h> 8051#include <string.h> 8052#include <float.h> 8053 8054int 8055main () 8056{ 8057 8058 ; 8059 return 0; 8060} 8061_ACEOF 8062if ac_fn_c_try_compile "$LINENO"; then : 8063 ac_cv_header_stdc=yes 8064else 8065 ac_cv_header_stdc=no 8066fi 8067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8068 8069if test $ac_cv_header_stdc = yes; then 8070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8072/* end confdefs.h. */ 8073#include <string.h> 8074 8075_ACEOF 8076if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8077 $EGREP "memchr" >/dev/null 2>&1; then : 8078 8079else 8080 ac_cv_header_stdc=no 8081fi 8082rm -f conftest* 8083 8084fi 8085 8086if test $ac_cv_header_stdc = yes; then 8087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8089/* end confdefs.h. */ 8090#include <stdlib.h> 8091 8092_ACEOF 8093if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8094 $EGREP "free" >/dev/null 2>&1; then : 8095 8096else 8097 ac_cv_header_stdc=no 8098fi 8099rm -f conftest* 8100 8101fi 8102 8103if test $ac_cv_header_stdc = yes; then 8104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8105 if test "$cross_compiling" = yes; then : 8106 : 8107else 8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8109/* end confdefs.h. */ 8110#include <ctype.h> 8111#include <stdlib.h> 8112#if ((' ' & 0x0FF) == 0x020) 8113# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8114# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8115#else 8116# define ISLOWER(c) \ 8117 (('a' <= (c) && (c) <= 'i') \ 8118 || ('j' <= (c) && (c) <= 'r') \ 8119 || ('s' <= (c) && (c) <= 'z')) 8120# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8121#endif 8122 8123#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8124int 8125main () 8126{ 8127 int i; 8128 for (i = 0; i < 256; i++) 8129 if (XOR (islower (i), ISLOWER (i)) 8130 || toupper (i) != TOUPPER (i)) 8131 return 2; 8132 return 0; 8133} 8134_ACEOF 8135if ac_fn_c_try_run "$LINENO"; then : 8136 8137else 8138 ac_cv_header_stdc=no 8139fi 8140rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8141 conftest.$ac_objext conftest.beam conftest.$ac_ext 8142fi 8143 8144fi 8145fi 8146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8147$as_echo "$ac_cv_header_stdc" >&6; } 8148if test $ac_cv_header_stdc = yes; then 8149 8150$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 8151 8152fi 8153 8154# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8155for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8156 inttypes.h stdint.h unistd.h 8157do : 8158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8159ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8160" 8161eval as_val=\$$as_ac_Header 8162 if test "x$as_val" = x""yes; then : 8163 cat >>confdefs.h <<_ACEOF 8164@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8165_ACEOF 8166 8167fi 8168 8169done 8170 8171 8172for ac_header in dlfcn.h 8173do : 8174 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8175" 8176if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 8177 cat >>confdefs.h <<_ACEOF 8178@%:@define HAVE_DLFCN_H 1 8179_ACEOF 8180 8181fi 8182 8183done 8184 8185 8186 8187 8188 8189# Set options 8190 8191 8192 8193 enable_dlopen=no 8194 8195 8196 enable_win32_dll=no 8197 8198 8199 @%:@ Check whether --enable-shared was given. 8200if test "${enable_shared+set}" = set; then : 8201 enableval=$enable_shared; p=${PACKAGE-default} 8202 case $enableval in 8203 yes) enable_shared=yes ;; 8204 no) enable_shared=no ;; 8205 *) 8206 enable_shared=no 8207 # Look at the argument we got. We use all the common list separators. 8208 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8209 for pkg in $enableval; do 8210 IFS="$lt_save_ifs" 8211 if test "X$pkg" = "X$p"; then 8212 enable_shared=yes 8213 fi 8214 done 8215 IFS="$lt_save_ifs" 8216 ;; 8217 esac 8218else 8219 enable_shared=yes 8220fi 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232@%:@ Check whether --with-pic was given. 8233if test "${with_pic+set}" = set; then : 8234 withval=$with_pic; lt_p=${PACKAGE-default} 8235 case $withval in 8236 yes|no) pic_mode=$withval ;; 8237 *) 8238 pic_mode=default 8239 # Look at the argument we got. We use all the common list separators. 8240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8241 for lt_pkg in $withval; do 8242 IFS="$lt_save_ifs" 8243 if test "X$lt_pkg" = "X$lt_p"; then 8244 pic_mode=yes 8245 fi 8246 done 8247 IFS="$lt_save_ifs" 8248 ;; 8249 esac 8250else 8251 pic_mode=default 8252fi 8253 8254 8255test -z "$pic_mode" && pic_mode=default 8256 8257 8258 8259 8260 8261 8262 8263 @%:@ Check whether --enable-fast-install was given. 8264if test "${enable_fast_install+set}" = set; then : 8265 enableval=$enable_fast_install; p=${PACKAGE-default} 8266 case $enableval in 8267 yes) enable_fast_install=yes ;; 8268 no) enable_fast_install=no ;; 8269 *) 8270 enable_fast_install=no 8271 # Look at the argument we got. We use all the common list separators. 8272 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8273 for pkg in $enableval; do 8274 IFS="$lt_save_ifs" 8275 if test "X$pkg" = "X$p"; then 8276 enable_fast_install=yes 8277 fi 8278 done 8279 IFS="$lt_save_ifs" 8280 ;; 8281 esac 8282else 8283 enable_fast_install=yes 8284fi 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296# This can be used to rebuild libtool when needed 8297LIBTOOL_DEPS="$ltmain" 8298 8299# Always use our own libtool. 8300LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331test -z "$LN_S" && LN_S="ln -s" 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346if test -n "${ZSH_VERSION+set}" ; then 8347 setopt NO_GLOB_SUBST 8348fi 8349 8350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8351$as_echo_n "checking for objdir... " >&6; } 8352if test "${lt_cv_objdir+set}" = set; then : 8353 $as_echo_n "(cached) " >&6 8354else 8355 rm -f .libs 2>/dev/null 8356mkdir .libs 2>/dev/null 8357if test -d .libs; then 8358 lt_cv_objdir=.libs 8359else 8360 # MS-DOS does not allow filenames that begin with a dot. 8361 lt_cv_objdir=_libs 8362fi 8363rmdir .libs 2>/dev/null 8364fi 8365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8366$as_echo "$lt_cv_objdir" >&6; } 8367objdir=$lt_cv_objdir 8368 8369 8370 8371 8372 8373cat >>confdefs.h <<_ACEOF 8374@%:@define LT_OBJDIR "$lt_cv_objdir/" 8375_ACEOF 8376 8377 8378 8379 8380case $host_os in 8381aix3*) 8382 # AIX sometimes has problems with the GCC collect2 program. For some 8383 # reason, if we set the COLLECT_NAMES environment variable, the problems 8384 # vanish in a puff of smoke. 8385 if test "X${COLLECT_NAMES+set}" != Xset; then 8386 COLLECT_NAMES= 8387 export COLLECT_NAMES 8388 fi 8389 ;; 8390esac 8391 8392# Global variables: 8393ofile=libtool 8394can_build_shared=yes 8395 8396# All known linkers require a `.a' archive for static linking (except MSVC, 8397# which needs '.lib'). 8398libext=a 8399 8400with_gnu_ld="$lt_cv_prog_gnu_ld" 8401 8402old_CC="$CC" 8403old_CFLAGS="$CFLAGS" 8404 8405# Set sane defaults for various variables 8406test -z "$CC" && CC=cc 8407test -z "$LTCC" && LTCC=$CC 8408test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8409test -z "$LD" && LD=ld 8410test -z "$ac_objext" && ac_objext=o 8411 8412for cc_temp in $compiler""; do 8413 case $cc_temp in 8414 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8415 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8416 \-*) ;; 8417 *) break;; 8418 esac 8419done 8420cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8421 8422 8423# Only perform the check for file, if the check method requires it 8424test -z "$MAGIC_CMD" && MAGIC_CMD=file 8425case $deplibs_check_method in 8426file_magic*) 8427 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8429$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8430if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8431 $as_echo_n "(cached) " >&6 8432else 8433 case $MAGIC_CMD in 8434[\\/*] | ?:[\\/]*) 8435 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8436 ;; 8437*) 8438 lt_save_MAGIC_CMD="$MAGIC_CMD" 8439 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8440 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8441 for ac_dir in $ac_dummy; do 8442 IFS="$lt_save_ifs" 8443 test -z "$ac_dir" && ac_dir=. 8444 if test -f $ac_dir/${ac_tool_prefix}file; then 8445 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8446 if test -n "$file_magic_test_file"; then 8447 case $deplibs_check_method in 8448 "file_magic "*) 8449 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8450 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8451 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8452 $EGREP "$file_magic_regex" > /dev/null; then 8453 : 8454 else 8455 cat <<_LT_EOF 1>&2 8456 8457*** Warning: the command libtool uses to detect shared libraries, 8458*** $file_magic_cmd, produces output that libtool cannot recognize. 8459*** The result is that libtool may fail to recognize shared libraries 8460*** as such. This will affect the creation of libtool libraries that 8461*** depend on shared libraries, but programs linked with such libtool 8462*** libraries will work regardless of this problem. Nevertheless, you 8463*** may want to report the problem to your system manager and/or to 8464*** bug-libtool@gnu.org 8465 8466_LT_EOF 8467 fi ;; 8468 esac 8469 fi 8470 break 8471 fi 8472 done 8473 IFS="$lt_save_ifs" 8474 MAGIC_CMD="$lt_save_MAGIC_CMD" 8475 ;; 8476esac 8477fi 8478 8479MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8480if test -n "$MAGIC_CMD"; then 8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8482$as_echo "$MAGIC_CMD" >&6; } 8483else 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8485$as_echo "no" >&6; } 8486fi 8487 8488 8489 8490 8491 8492if test -z "$lt_cv_path_MAGIC_CMD"; then 8493 if test -n "$ac_tool_prefix"; then 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8495$as_echo_n "checking for file... " >&6; } 8496if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 8497 $as_echo_n "(cached) " >&6 8498else 8499 case $MAGIC_CMD in 8500[\\/*] | ?:[\\/]*) 8501 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8502 ;; 8503*) 8504 lt_save_MAGIC_CMD="$MAGIC_CMD" 8505 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8506 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8507 for ac_dir in $ac_dummy; do 8508 IFS="$lt_save_ifs" 8509 test -z "$ac_dir" && ac_dir=. 8510 if test -f $ac_dir/file; then 8511 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8512 if test -n "$file_magic_test_file"; then 8513 case $deplibs_check_method in 8514 "file_magic "*) 8515 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8516 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8517 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8518 $EGREP "$file_magic_regex" > /dev/null; then 8519 : 8520 else 8521 cat <<_LT_EOF 1>&2 8522 8523*** Warning: the command libtool uses to detect shared libraries, 8524*** $file_magic_cmd, produces output that libtool cannot recognize. 8525*** The result is that libtool may fail to recognize shared libraries 8526*** as such. This will affect the creation of libtool libraries that 8527*** depend on shared libraries, but programs linked with such libtool 8528*** libraries will work regardless of this problem. Nevertheless, you 8529*** may want to report the problem to your system manager and/or to 8530*** bug-libtool@gnu.org 8531 8532_LT_EOF 8533 fi ;; 8534 esac 8535 fi 8536 break 8537 fi 8538 done 8539 IFS="$lt_save_ifs" 8540 MAGIC_CMD="$lt_save_MAGIC_CMD" 8541 ;; 8542esac 8543fi 8544 8545MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8546if test -n "$MAGIC_CMD"; then 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8548$as_echo "$MAGIC_CMD" >&6; } 8549else 8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8551$as_echo "no" >&6; } 8552fi 8553 8554 8555 else 8556 MAGIC_CMD=: 8557 fi 8558fi 8559 8560 fi 8561 ;; 8562esac 8563 8564# Use C for the default configuration in the libtool script 8565 8566lt_save_CC="$CC" 8567ac_ext=c 8568ac_cpp='$CPP $CPPFLAGS' 8569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8571ac_compiler_gnu=$ac_cv_c_compiler_gnu 8572 8573 8574# Source file extension for C test sources. 8575ac_ext=c 8576 8577# Object file extension for compiled C test sources. 8578objext=o 8579objext=$objext 8580 8581# Code to be used in simple compile tests 8582lt_simple_compile_test_code="int some_variable = 0;" 8583 8584# Code to be used in simple link tests 8585lt_simple_link_test_code='int main(){return(0);}' 8586 8587 8588 8589 8590 8591 8592 8593# If no C compiler was specified, use CC. 8594LTCC=${LTCC-"$CC"} 8595 8596# If no C compiler flags were specified, use CFLAGS. 8597LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8598 8599# Allow CC to be a program name with arguments. 8600compiler=$CC 8601 8602# Save the default compiler, since it gets overwritten when the other 8603# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8604compiler_DEFAULT=$CC 8605 8606# save warnings/boilerplate of simple test code 8607ac_outfile=conftest.$ac_objext 8608echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8609eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8610_lt_compiler_boilerplate=`cat conftest.err` 8611$RM conftest* 8612 8613ac_outfile=conftest.$ac_objext 8614echo "$lt_simple_link_test_code" >conftest.$ac_ext 8615eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8616_lt_linker_boilerplate=`cat conftest.err` 8617$RM -r conftest* 8618 8619 8620## CAVEAT EMPTOR: 8621## There is no encapsulation within the following macros, do not change 8622## the running order or otherwise move them around unless you know exactly 8623## what you are doing... 8624if test -n "$compiler"; then 8625 8626lt_prog_compiler_no_builtin_flag= 8627 8628if test "$GCC" = yes; then 8629 case $cc_basename in 8630 nvcc*) 8631 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8632 *) 8633 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8634 esac 8635 8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8637$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8638if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 8639 $as_echo_n "(cached) " >&6 8640else 8641 lt_cv_prog_compiler_rtti_exceptions=no 8642 ac_outfile=conftest.$ac_objext 8643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8644 lt_compiler_flag="-fno-rtti -fno-exceptions" 8645 # Insert the option either (1) after the last *FLAGS variable, or 8646 # (2) before a word containing "conftest.", or (3) at the end. 8647 # Note that $ac_compile itself does not contain backslashes and begins 8648 # with a dollar sign (not a hyphen), so the echo should work correctly. 8649 # The option is referenced via a variable to avoid confusing sed. 8650 lt_compile=`echo "$ac_compile" | $SED \ 8651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8653 -e 's:$: $lt_compiler_flag:'` 8654 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8655 (eval "$lt_compile" 2>conftest.err) 8656 ac_status=$? 8657 cat conftest.err >&5 8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8659 if (exit $ac_status) && test -s "$ac_outfile"; then 8660 # The compiler can only warn and ignore the option if not recognized 8661 # So say no if there are warnings other than the usual output. 8662 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8663 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8664 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8665 lt_cv_prog_compiler_rtti_exceptions=yes 8666 fi 8667 fi 8668 $RM conftest* 8669 8670fi 8671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8672$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8673 8674if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8675 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8676else 8677 : 8678fi 8679 8680fi 8681 8682 8683 8684 8685 8686 8687 lt_prog_compiler_wl= 8688lt_prog_compiler_pic= 8689lt_prog_compiler_static= 8690 8691 8692 if test "$GCC" = yes; then 8693 lt_prog_compiler_wl='-Wl,' 8694 lt_prog_compiler_static='-static' 8695 8696 case $host_os in 8697 aix*) 8698 # All AIX code is PIC. 8699 if test "$host_cpu" = ia64; then 8700 # AIX 5 now supports IA64 processor 8701 lt_prog_compiler_static='-Bstatic' 8702 fi 8703 ;; 8704 8705 amigaos*) 8706 case $host_cpu in 8707 powerpc) 8708 # see comment about AmigaOS4 .so support 8709 lt_prog_compiler_pic='-fPIC' 8710 ;; 8711 m68k) 8712 # FIXME: we need at least 68020 code to build shared libraries, but 8713 # adding the `-m68020' flag to GCC prevents building anything better, 8714 # like `-m68040'. 8715 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8716 ;; 8717 esac 8718 ;; 8719 8720 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8721 # PIC is the default for these OSes. 8722 ;; 8723 8724 mingw* | cygwin* | pw32* | os2* | cegcc*) 8725 # This hack is so that the source file can tell whether it is being 8726 # built for inclusion in a dll (and should export symbols for example). 8727 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8728 # (--disable-auto-import) libraries 8729 lt_prog_compiler_pic='-DDLL_EXPORT' 8730 ;; 8731 8732 darwin* | rhapsody*) 8733 # PIC is the default on this platform 8734 # Common symbols not allowed in MH_DYLIB files 8735 lt_prog_compiler_pic='-fno-common' 8736 ;; 8737 8738 haiku*) 8739 # PIC is the default for Haiku. 8740 # The "-static" flag exists, but is broken. 8741 lt_prog_compiler_static= 8742 ;; 8743 8744 hpux*) 8745 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8746 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8747 # sets the default TLS model and affects inlining. 8748 case $host_cpu in 8749 hppa*64*) 8750 # +Z the default 8751 ;; 8752 *) 8753 lt_prog_compiler_pic='-fPIC' 8754 ;; 8755 esac 8756 ;; 8757 8758 interix[3-9]*) 8759 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8760 # Instead, we relocate shared libraries at runtime. 8761 ;; 8762 8763 msdosdjgpp*) 8764 # Just because we use GCC doesn't mean we suddenly get shared libraries 8765 # on systems that don't support them. 8766 lt_prog_compiler_can_build_shared=no 8767 enable_shared=no 8768 ;; 8769 8770 *nto* | *qnx*) 8771 # QNX uses GNU C++, but need to define -shared option too, otherwise 8772 # it will coredump. 8773 lt_prog_compiler_pic='-fPIC -shared' 8774 ;; 8775 8776 sysv4*MP*) 8777 if test -d /usr/nec; then 8778 lt_prog_compiler_pic=-Kconform_pic 8779 fi 8780 ;; 8781 8782 *) 8783 lt_prog_compiler_pic='-fPIC' 8784 ;; 8785 esac 8786 8787 case $cc_basename in 8788 nvcc*) # Cuda Compiler Driver 2.2 8789 lt_prog_compiler_wl='-Xlinker ' 8790 if test -n "$lt_prog_compiler_pic"; then 8791 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8792 fi 8793 ;; 8794 esac 8795 else 8796 # PORTME Check for flag to pass linker flags through the system compiler. 8797 case $host_os in 8798 aix*) 8799 lt_prog_compiler_wl='-Wl,' 8800 if test "$host_cpu" = ia64; then 8801 # AIX 5 now supports IA64 processor 8802 lt_prog_compiler_static='-Bstatic' 8803 else 8804 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8805 fi 8806 ;; 8807 8808 mingw* | cygwin* | pw32* | os2* | cegcc*) 8809 # This hack is so that the source file can tell whether it is being 8810 # built for inclusion in a dll (and should export symbols for example). 8811 lt_prog_compiler_pic='-DDLL_EXPORT' 8812 ;; 8813 8814 hpux9* | hpux10* | hpux11*) 8815 lt_prog_compiler_wl='-Wl,' 8816 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8817 # not for PA HP-UX. 8818 case $host_cpu in 8819 hppa*64*|ia64*) 8820 # +Z the default 8821 ;; 8822 *) 8823 lt_prog_compiler_pic='+Z' 8824 ;; 8825 esac 8826 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8827 lt_prog_compiler_static='${wl}-a ${wl}archive' 8828 ;; 8829 8830 irix5* | irix6* | nonstopux*) 8831 lt_prog_compiler_wl='-Wl,' 8832 # PIC (with -KPIC) is the default. 8833 lt_prog_compiler_static='-non_shared' 8834 ;; 8835 8836 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8837 case $cc_basename in 8838 # old Intel for x86_64 which still supported -KPIC. 8839 ecc*) 8840 lt_prog_compiler_wl='-Wl,' 8841 lt_prog_compiler_pic='-KPIC' 8842 lt_prog_compiler_static='-static' 8843 ;; 8844 # icc used to be incompatible with GCC. 8845 # ICC 10 doesn't accept -KPIC any more. 8846 icc* | ifort*) 8847 lt_prog_compiler_wl='-Wl,' 8848 lt_prog_compiler_pic='-fPIC' 8849 lt_prog_compiler_static='-static' 8850 ;; 8851 # Lahey Fortran 8.1. 8852 lf95*) 8853 lt_prog_compiler_wl='-Wl,' 8854 lt_prog_compiler_pic='--shared' 8855 lt_prog_compiler_static='--static' 8856 ;; 8857 nagfor*) 8858 # NAG Fortran compiler 8859 lt_prog_compiler_wl='-Wl,-Wl,,' 8860 lt_prog_compiler_pic='-PIC' 8861 lt_prog_compiler_static='-Bstatic' 8862 ;; 8863 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8864 # Portland Group compilers (*not* the Pentium gcc compiler, 8865 # which looks to be a dead project) 8866 lt_prog_compiler_wl='-Wl,' 8867 lt_prog_compiler_pic='-fpic' 8868 lt_prog_compiler_static='-Bstatic' 8869 ;; 8870 ccc*) 8871 lt_prog_compiler_wl='-Wl,' 8872 # All Alpha code is PIC. 8873 lt_prog_compiler_static='-non_shared' 8874 ;; 8875 xl* | bgxl* | bgf* | mpixl*) 8876 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8877 lt_prog_compiler_wl='-Wl,' 8878 lt_prog_compiler_pic='-qpic' 8879 lt_prog_compiler_static='-qstaticlink' 8880 ;; 8881 *) 8882 case `$CC -V 2>&1 | sed 5q` in 8883 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8884 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8885 lt_prog_compiler_pic='-KPIC' 8886 lt_prog_compiler_static='-Bstatic' 8887 lt_prog_compiler_wl='' 8888 ;; 8889 *Sun\ F* | *Sun*Fortran*) 8890 lt_prog_compiler_pic='-KPIC' 8891 lt_prog_compiler_static='-Bstatic' 8892 lt_prog_compiler_wl='-Qoption ld ' 8893 ;; 8894 *Sun\ C*) 8895 # Sun C 5.9 8896 lt_prog_compiler_pic='-KPIC' 8897 lt_prog_compiler_static='-Bstatic' 8898 lt_prog_compiler_wl='-Wl,' 8899 ;; 8900 *Intel*\ [CF]*Compiler*) 8901 lt_prog_compiler_wl='-Wl,' 8902 lt_prog_compiler_pic='-fPIC' 8903 lt_prog_compiler_static='-static' 8904 ;; 8905 *Portland\ Group*) 8906 lt_prog_compiler_wl='-Wl,' 8907 lt_prog_compiler_pic='-fpic' 8908 lt_prog_compiler_static='-Bstatic' 8909 ;; 8910 esac 8911 ;; 8912 esac 8913 ;; 8914 8915 newsos6) 8916 lt_prog_compiler_pic='-KPIC' 8917 lt_prog_compiler_static='-Bstatic' 8918 ;; 8919 8920 *nto* | *qnx*) 8921 # QNX uses GNU C++, but need to define -shared option too, otherwise 8922 # it will coredump. 8923 lt_prog_compiler_pic='-fPIC -shared' 8924 ;; 8925 8926 osf3* | osf4* | osf5*) 8927 lt_prog_compiler_wl='-Wl,' 8928 # All OSF/1 code is PIC. 8929 lt_prog_compiler_static='-non_shared' 8930 ;; 8931 8932 rdos*) 8933 lt_prog_compiler_static='-non_shared' 8934 ;; 8935 8936 solaris*) 8937 lt_prog_compiler_pic='-KPIC' 8938 lt_prog_compiler_static='-Bstatic' 8939 case $cc_basename in 8940 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8941 lt_prog_compiler_wl='-Qoption ld ';; 8942 *) 8943 lt_prog_compiler_wl='-Wl,';; 8944 esac 8945 ;; 8946 8947 sunos4*) 8948 lt_prog_compiler_wl='-Qoption ld ' 8949 lt_prog_compiler_pic='-PIC' 8950 lt_prog_compiler_static='-Bstatic' 8951 ;; 8952 8953 sysv4 | sysv4.2uw2* | sysv4.3*) 8954 lt_prog_compiler_wl='-Wl,' 8955 lt_prog_compiler_pic='-KPIC' 8956 lt_prog_compiler_static='-Bstatic' 8957 ;; 8958 8959 sysv4*MP*) 8960 if test -d /usr/nec ;then 8961 lt_prog_compiler_pic='-Kconform_pic' 8962 lt_prog_compiler_static='-Bstatic' 8963 fi 8964 ;; 8965 8966 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8967 lt_prog_compiler_wl='-Wl,' 8968 lt_prog_compiler_pic='-KPIC' 8969 lt_prog_compiler_static='-Bstatic' 8970 ;; 8971 8972 unicos*) 8973 lt_prog_compiler_wl='-Wl,' 8974 lt_prog_compiler_can_build_shared=no 8975 ;; 8976 8977 uts4*) 8978 lt_prog_compiler_pic='-pic' 8979 lt_prog_compiler_static='-Bstatic' 8980 ;; 8981 8982 *) 8983 lt_prog_compiler_can_build_shared=no 8984 ;; 8985 esac 8986 fi 8987 8988case $host_os in 8989 # For platforms which do not support PIC, -DPIC is meaningless: 8990 *djgpp*) 8991 lt_prog_compiler_pic= 8992 ;; 8993 *) 8994 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 8995 ;; 8996esac 8997 8998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8999$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9000if test "${lt_cv_prog_compiler_pic+set}" = set; then : 9001 $as_echo_n "(cached) " >&6 9002else 9003 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9004fi 9005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9006$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9007lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9008 9009# 9010# Check to make sure the PIC flag actually works. 9011# 9012if test -n "$lt_prog_compiler_pic"; then 9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9014$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9015if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 9016 $as_echo_n "(cached) " >&6 9017else 9018 lt_cv_prog_compiler_pic_works=no 9019 ac_outfile=conftest.$ac_objext 9020 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9021 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" 9022 # Insert the option either (1) after the last *FLAGS variable, or 9023 # (2) before a word containing "conftest.", or (3) at the end. 9024 # Note that $ac_compile itself does not contain backslashes and begins 9025 # with a dollar sign (not a hyphen), so the echo should work correctly. 9026 # The option is referenced via a variable to avoid confusing sed. 9027 lt_compile=`echo "$ac_compile" | $SED \ 9028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9030 -e 's:$: $lt_compiler_flag:'` 9031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9032 (eval "$lt_compile" 2>conftest.err) 9033 ac_status=$? 9034 cat conftest.err >&5 9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9036 if (exit $ac_status) && test -s "$ac_outfile"; then 9037 # The compiler can only warn and ignore the option if not recognized 9038 # So say no if there are warnings other than the usual output. 9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9040 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9041 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9042 lt_cv_prog_compiler_pic_works=yes 9043 fi 9044 fi 9045 $RM conftest* 9046 9047fi 9048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9049$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9050 9051if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9052 case $lt_prog_compiler_pic in 9053 "" | " "*) ;; 9054 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9055 esac 9056else 9057 lt_prog_compiler_pic= 9058 lt_prog_compiler_can_build_shared=no 9059fi 9060 9061fi 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073# 9074# Check to make sure the static flag actually works. 9075# 9076wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9078$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9079if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 9080 $as_echo_n "(cached) " >&6 9081else 9082 lt_cv_prog_compiler_static_works=no 9083 save_LDFLAGS="$LDFLAGS" 9084 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9085 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9086 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9087 # The linker can only warn and ignore the option if not recognized 9088 # So say no if there are warnings 9089 if test -s conftest.err; then 9090 # Append any errors to the config.log. 9091 cat conftest.err 1>&5 9092 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9093 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9094 if diff conftest.exp conftest.er2 >/dev/null; then 9095 lt_cv_prog_compiler_static_works=yes 9096 fi 9097 else 9098 lt_cv_prog_compiler_static_works=yes 9099 fi 9100 fi 9101 $RM -r conftest* 9102 LDFLAGS="$save_LDFLAGS" 9103 9104fi 9105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9106$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9107 9108if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9109 : 9110else 9111 lt_prog_compiler_static= 9112fi 9113 9114 9115 9116 9117 9118 9119 9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9121$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9122if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9123 $as_echo_n "(cached) " >&6 9124else 9125 lt_cv_prog_compiler_c_o=no 9126 $RM -r conftest 2>/dev/null 9127 mkdir conftest 9128 cd conftest 9129 mkdir out 9130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9131 9132 lt_compiler_flag="-o out/conftest2.$ac_objext" 9133 # Insert the option either (1) after the last *FLAGS variable, or 9134 # (2) before a word containing "conftest.", or (3) at the end. 9135 # Note that $ac_compile itself does not contain backslashes and begins 9136 # with a dollar sign (not a hyphen), so the echo should work correctly. 9137 lt_compile=`echo "$ac_compile" | $SED \ 9138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9140 -e 's:$: $lt_compiler_flag:'` 9141 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9142 (eval "$lt_compile" 2>out/conftest.err) 9143 ac_status=$? 9144 cat out/conftest.err >&5 9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9146 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9147 then 9148 # The compiler can only warn and ignore the option if not recognized 9149 # So say no if there are warnings 9150 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9151 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9152 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9153 lt_cv_prog_compiler_c_o=yes 9154 fi 9155 fi 9156 chmod u+w . 2>&5 9157 $RM conftest* 9158 # SGI C++ compiler will create directory out/ii_files/ for 9159 # template instantiation 9160 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9161 $RM out/* && rmdir out 9162 cd .. 9163 $RM -r conftest 9164 $RM conftest* 9165 9166fi 9167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9168$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9169 9170 9171 9172 9173 9174 9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9176$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9177if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 9178 $as_echo_n "(cached) " >&6 9179else 9180 lt_cv_prog_compiler_c_o=no 9181 $RM -r conftest 2>/dev/null 9182 mkdir conftest 9183 cd conftest 9184 mkdir out 9185 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9186 9187 lt_compiler_flag="-o out/conftest2.$ac_objext" 9188 # Insert the option either (1) after the last *FLAGS variable, or 9189 # (2) before a word containing "conftest.", or (3) at the end. 9190 # Note that $ac_compile itself does not contain backslashes and begins 9191 # with a dollar sign (not a hyphen), so the echo should work correctly. 9192 lt_compile=`echo "$ac_compile" | $SED \ 9193 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9194 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9195 -e 's:$: $lt_compiler_flag:'` 9196 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9197 (eval "$lt_compile" 2>out/conftest.err) 9198 ac_status=$? 9199 cat out/conftest.err >&5 9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9201 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9202 then 9203 # The compiler can only warn and ignore the option if not recognized 9204 # So say no if there are warnings 9205 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9206 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9207 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9208 lt_cv_prog_compiler_c_o=yes 9209 fi 9210 fi 9211 chmod u+w . 2>&5 9212 $RM conftest* 9213 # SGI C++ compiler will create directory out/ii_files/ for 9214 # template instantiation 9215 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9216 $RM out/* && rmdir out 9217 cd .. 9218 $RM -r conftest 9219 $RM conftest* 9220 9221fi 9222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9223$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9224 9225 9226 9227 9228hard_links="nottested" 9229if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9230 # do not overwrite the value of need_locks provided by the user 9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9232$as_echo_n "checking if we can lock with hard links... " >&6; } 9233 hard_links=yes 9234 $RM conftest* 9235 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9236 touch conftest.a 9237 ln conftest.a conftest.b 2>&5 || hard_links=no 9238 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9240$as_echo "$hard_links" >&6; } 9241 if test "$hard_links" = no; then 9242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9243$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9244 need_locks=warn 9245 fi 9246else 9247 need_locks=no 9248fi 9249 9250 9251 9252 9253 9254 9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9256$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9257 9258 runpath_var= 9259 allow_undefined_flag= 9260 always_export_symbols=no 9261 archive_cmds= 9262 archive_expsym_cmds= 9263 compiler_needs_object=no 9264 enable_shared_with_static_runtimes=no 9265 export_dynamic_flag_spec= 9266 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9267 hardcode_automatic=no 9268 hardcode_direct=no 9269 hardcode_direct_absolute=no 9270 hardcode_libdir_flag_spec= 9271 hardcode_libdir_separator= 9272 hardcode_minus_L=no 9273 hardcode_shlibpath_var=unsupported 9274 inherit_rpath=no 9275 link_all_deplibs=unknown 9276 module_cmds= 9277 module_expsym_cmds= 9278 old_archive_from_new_cmds= 9279 old_archive_from_expsyms_cmds= 9280 thread_safe_flag_spec= 9281 whole_archive_flag_spec= 9282 # include_expsyms should be a list of space-separated symbols to be *always* 9283 # included in the symbol list 9284 include_expsyms= 9285 # exclude_expsyms can be an extended regexp of symbols to exclude 9286 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9287 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9288 # as well as any symbol that contains `d'. 9289 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9290 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9291 # platforms (ab)use it in PIC code, but their linkers get confused if 9292 # the symbol is explicitly referenced. Since portable code cannot 9293 # rely on this symbol name, it's probably fine to never include it in 9294 # preloaded symbol tables. 9295 # Exclude shared library initialization/finalization symbols. 9296 extract_expsyms_cmds= 9297 9298 case $host_os in 9299 cygwin* | mingw* | pw32* | cegcc*) 9300 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9301 # When not using gcc, we currently assume that we are using 9302 # Microsoft Visual C++. 9303 if test "$GCC" != yes; then 9304 with_gnu_ld=no 9305 fi 9306 ;; 9307 interix*) 9308 # we just hope/assume this is gcc and not c89 (= MSVC++) 9309 with_gnu_ld=yes 9310 ;; 9311 openbsd*) 9312 with_gnu_ld=no 9313 ;; 9314 linux* | k*bsd*-gnu | gnu*) 9315 link_all_deplibs=no 9316 ;; 9317 esac 9318 9319 ld_shlibs=yes 9320 9321 # On some targets, GNU ld is compatible enough with the native linker 9322 # that we're better off using the native interface for both. 9323 lt_use_gnu_ld_interface=no 9324 if test "$with_gnu_ld" = yes; then 9325 case $host_os in 9326 aix*) 9327 # The AIX port of GNU ld has always aspired to compatibility 9328 # with the native linker. However, as the warning in the GNU ld 9329 # block says, versions before 2.19.5* couldn't really create working 9330 # shared libraries, regardless of the interface used. 9331 case `$LD -v 2>&1` in 9332 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9333 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9334 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9335 *) 9336 lt_use_gnu_ld_interface=yes 9337 ;; 9338 esac 9339 ;; 9340 *) 9341 lt_use_gnu_ld_interface=yes 9342 ;; 9343 esac 9344 fi 9345 9346 if test "$lt_use_gnu_ld_interface" = yes; then 9347 # If archive_cmds runs LD, not CC, wlarc should be empty 9348 wlarc='${wl}' 9349 9350 # Set some defaults for GNU ld with shared library support. These 9351 # are reset later if shared libraries are not supported. Putting them 9352 # here allows them to be overridden if necessary. 9353 runpath_var=LD_RUN_PATH 9354 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9355 export_dynamic_flag_spec='${wl}--export-dynamic' 9356 # ancient GNU ld didn't support --whole-archive et. al. 9357 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9358 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9359 else 9360 whole_archive_flag_spec= 9361 fi 9362 supports_anon_versioning=no 9363 case `$LD -v 2>&1` in 9364 *GNU\ gold*) supports_anon_versioning=yes ;; 9365 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9366 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9367 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9368 *\ 2.11.*) ;; # other 2.11 versions 9369 *) supports_anon_versioning=yes ;; 9370 esac 9371 9372 # See if GNU ld supports shared libraries. 9373 case $host_os in 9374 aix[3-9]*) 9375 # On AIX/PPC, the GNU linker is very broken 9376 if test "$host_cpu" != ia64; then 9377 ld_shlibs=no 9378 cat <<_LT_EOF 1>&2 9379 9380*** Warning: the GNU linker, at least up to release 2.19, is reported 9381*** to be unable to reliably create shared libraries on AIX. 9382*** Therefore, libtool is disabling shared libraries support. If you 9383*** really care for shared libraries, you may want to install binutils 9384*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9385*** You will then need to restart the configuration process. 9386 9387_LT_EOF 9388 fi 9389 ;; 9390 9391 amigaos*) 9392 case $host_cpu in 9393 powerpc) 9394 # see comment about AmigaOS4 .so support 9395 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9396 archive_expsym_cmds='' 9397 ;; 9398 m68k) 9399 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)' 9400 hardcode_libdir_flag_spec='-L$libdir' 9401 hardcode_minus_L=yes 9402 ;; 9403 esac 9404 ;; 9405 9406 beos*) 9407 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9408 allow_undefined_flag=unsupported 9409 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9410 # support --undefined. This deserves some investigation. FIXME 9411 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9412 else 9413 ld_shlibs=no 9414 fi 9415 ;; 9416 9417 cygwin* | mingw* | pw32* | cegcc*) 9418 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9419 # as there is no search path for DLLs. 9420 hardcode_libdir_flag_spec='-L$libdir' 9421 export_dynamic_flag_spec='${wl}--export-all-symbols' 9422 allow_undefined_flag=unsupported 9423 always_export_symbols=no 9424 enable_shared_with_static_runtimes=yes 9425 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 9426 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9427 9428 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9429 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9430 # If the export-symbols file already is a .def file (1st line 9431 # is EXPORTS), use it as is; otherwise, prepend... 9432 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9433 cp $export_symbols $output_objdir/$soname.def; 9434 else 9435 echo EXPORTS > $output_objdir/$soname.def; 9436 cat $export_symbols >> $output_objdir/$soname.def; 9437 fi~ 9438 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9439 else 9440 ld_shlibs=no 9441 fi 9442 ;; 9443 9444 haiku*) 9445 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9446 link_all_deplibs=yes 9447 ;; 9448 9449 interix[3-9]*) 9450 hardcode_direct=no 9451 hardcode_shlibpath_var=no 9452 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9453 export_dynamic_flag_spec='${wl}-E' 9454 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9455 # Instead, shared libraries are loaded at an image base (0x10000000 by 9456 # default) and relocated if they conflict, which is a slow very memory 9457 # consuming and fragmenting process. To avoid this, we pick a random, 9458 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9459 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9460 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9461 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' 9462 ;; 9463 9464 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9465 tmp_diet=no 9466 if test "$host_os" = linux-dietlibc; then 9467 case $cc_basename in 9468 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9469 esac 9470 fi 9471 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9472 && test "$tmp_diet" = no 9473 then 9474 tmp_addflag=' $pic_flag' 9475 tmp_sharedflag='-shared' 9476 case $cc_basename,$host_cpu in 9477 pgcc*) # Portland Group C compiler 9478 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' 9479 tmp_addflag=' $pic_flag' 9480 ;; 9481 pgf77* | pgf90* | pgf95* | pgfortran*) 9482 # Portland Group f77 and f90 compilers 9483 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' 9484 tmp_addflag=' $pic_flag -Mnomain' ;; 9485 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9486 tmp_addflag=' -i_dynamic' ;; 9487 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9488 tmp_addflag=' -i_dynamic -nofor_main' ;; 9489 ifc* | ifort*) # Intel Fortran compiler 9490 tmp_addflag=' -nofor_main' ;; 9491 lf95*) # Lahey Fortran 8.1 9492 whole_archive_flag_spec= 9493 tmp_sharedflag='--shared' ;; 9494 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9495 tmp_sharedflag='-qmkshrobj' 9496 tmp_addflag= ;; 9497 nvcc*) # Cuda Compiler Driver 2.2 9498 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' 9499 compiler_needs_object=yes 9500 ;; 9501 esac 9502 case `$CC -V 2>&1 | sed 5q` in 9503 *Sun\ C*) # Sun C 5.9 9504 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' 9505 compiler_needs_object=yes 9506 tmp_sharedflag='-G' ;; 9507 *Sun\ F*) # Sun Fortran 8.3 9508 tmp_sharedflag='-G' ;; 9509 esac 9510 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9511 9512 if test "x$supports_anon_versioning" = xyes; then 9513 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9514 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9515 echo "local: *; };" >> $output_objdir/$libname.ver~ 9516 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9517 fi 9518 9519 case $cc_basename in 9520 xlf* | bgf* | bgxlf* | mpixlf*) 9521 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9522 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9523 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9524 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9525 if test "x$supports_anon_versioning" = xyes; then 9526 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9527 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9528 echo "local: *; };" >> $output_objdir/$libname.ver~ 9529 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9530 fi 9531 ;; 9532 esac 9533 else 9534 ld_shlibs=no 9535 fi 9536 ;; 9537 9538 netbsd* | netbsdelf*-gnu) 9539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9540 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9541 wlarc= 9542 else 9543 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9544 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9545 fi 9546 ;; 9547 9548 solaris*) 9549 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9550 ld_shlibs=no 9551 cat <<_LT_EOF 1>&2 9552 9553*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9554*** create shared libraries on Solaris systems. Therefore, libtool 9555*** is disabling shared libraries support. We urge you to upgrade GNU 9556*** binutils to release 2.9.1 or newer. Another option is to modify 9557*** your PATH or compiler configuration so that the native linker is 9558*** used, and then restart. 9559 9560_LT_EOF 9561 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9562 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9563 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9564 else 9565 ld_shlibs=no 9566 fi 9567 ;; 9568 9569 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9570 case `$LD -v 2>&1` in 9571 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9572 ld_shlibs=no 9573 cat <<_LT_EOF 1>&2 9574 9575*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9576*** reliably create shared libraries on SCO systems. Therefore, libtool 9577*** is disabling shared libraries support. We urge you to upgrade GNU 9578*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9579*** your PATH or compiler configuration so that the native linker is 9580*** used, and then restart. 9581 9582_LT_EOF 9583 ;; 9584 *) 9585 # For security reasons, it is highly recommended that you always 9586 # use absolute paths for naming shared libraries, and exclude the 9587 # DT_RUNPATH tag from executables and libraries. But doing so 9588 # requires that you compile everything twice, which is a pain. 9589 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9590 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9592 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9593 else 9594 ld_shlibs=no 9595 fi 9596 ;; 9597 esac 9598 ;; 9599 9600 sunos4*) 9601 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9602 wlarc= 9603 hardcode_direct=yes 9604 hardcode_shlibpath_var=no 9605 ;; 9606 9607 *) 9608 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9609 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9610 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9611 else 9612 ld_shlibs=no 9613 fi 9614 ;; 9615 esac 9616 9617 if test "$ld_shlibs" = no; then 9618 runpath_var= 9619 hardcode_libdir_flag_spec= 9620 export_dynamic_flag_spec= 9621 whole_archive_flag_spec= 9622 fi 9623 else 9624 # PORTME fill in a description of your system's linker (not GNU ld) 9625 case $host_os in 9626 aix3*) 9627 allow_undefined_flag=unsupported 9628 always_export_symbols=yes 9629 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' 9630 # Note: this linker hardcodes the directories in LIBPATH if there 9631 # are no directories specified by -L. 9632 hardcode_minus_L=yes 9633 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9634 # Neither direct hardcoding nor static linking is supported with a 9635 # broken collect2. 9636 hardcode_direct=unsupported 9637 fi 9638 ;; 9639 9640 aix[4-9]*) 9641 if test "$host_cpu" = ia64; then 9642 # On IA64, the linker does run time linking by default, so we don't 9643 # have to do anything special. 9644 aix_use_runtimelinking=no 9645 exp_sym_flag='-Bexport' 9646 no_entry_flag="" 9647 else 9648 # If we're using GNU nm, then we don't want the "-C" option. 9649 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9650 # Also, AIX nm treats weak defined symbols like other global 9651 # defined symbols, whereas GNU nm marks them as "W". 9652 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9653 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' 9654 else 9655 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' 9656 fi 9657 aix_use_runtimelinking=no 9658 9659 # Test if we are trying to use run time linking or normal 9660 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9661 # need to do runtime linking. 9662 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9663 for ld_flag in $LDFLAGS; do 9664 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9665 aix_use_runtimelinking=yes 9666 break 9667 fi 9668 done 9669 ;; 9670 esac 9671 9672 exp_sym_flag='-bexport' 9673 no_entry_flag='-bnoentry' 9674 fi 9675 9676 # When large executables or shared objects are built, AIX ld can 9677 # have problems creating the table of contents. If linking a library 9678 # or program results in "error TOC overflow" add -mminimal-toc to 9679 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9680 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9681 9682 archive_cmds='' 9683 hardcode_direct=yes 9684 hardcode_direct_absolute=yes 9685 hardcode_libdir_separator=':' 9686 link_all_deplibs=yes 9687 file_list_spec='${wl}-f,' 9688 9689 if test "$GCC" = yes; then 9690 case $host_os in aix4.[012]|aix4.[012].*) 9691 # We only want to do this on AIX 4.2 and lower, the check 9692 # below for broken collect2 doesn't work under 4.3+ 9693 collect2name=`${CC} -print-prog-name=collect2` 9694 if test -f "$collect2name" && 9695 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9696 then 9697 # We have reworked collect2 9698 : 9699 else 9700 # We have old collect2 9701 hardcode_direct=unsupported 9702 # It fails to find uninstalled libraries when the uninstalled 9703 # path is not listed in the libpath. Setting hardcode_minus_L 9704 # to unsupported forces relinking 9705 hardcode_minus_L=yes 9706 hardcode_libdir_flag_spec='-L$libdir' 9707 hardcode_libdir_separator= 9708 fi 9709 ;; 9710 esac 9711 shared_flag='-shared' 9712 if test "$aix_use_runtimelinking" = yes; then 9713 shared_flag="$shared_flag "'${wl}-G' 9714 fi 9715 link_all_deplibs=no 9716 else 9717 # not using gcc 9718 if test "$host_cpu" = ia64; then 9719 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9720 # chokes on -Wl,-G. The following line is correct: 9721 shared_flag='-G' 9722 else 9723 if test "$aix_use_runtimelinking" = yes; then 9724 shared_flag='${wl}-G' 9725 else 9726 shared_flag='${wl}-bM:SRE' 9727 fi 9728 fi 9729 fi 9730 9731 export_dynamic_flag_spec='${wl}-bexpall' 9732 # It seems that -bexpall does not export symbols beginning with 9733 # underscore (_), so it is better to generate a list of symbols to export. 9734 always_export_symbols=yes 9735 if test "$aix_use_runtimelinking" = yes; then 9736 # Warning - without using the other runtime loading flags (-brtl), 9737 # -berok will link without error, but may produce a broken library. 9738 allow_undefined_flag='-berok' 9739 # Determine the default libpath from the value encoded in an 9740 # empty executable. 9741 if test "${lt_cv_aix_libpath+set}" = set; then 9742 aix_libpath=$lt_cv_aix_libpath 9743else 9744 if test "${lt_cv_aix_libpath_+set}" = set; then : 9745 $as_echo_n "(cached) " >&6 9746else 9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9748/* end confdefs.h. */ 9749 9750int 9751main () 9752{ 9753 9754 ; 9755 return 0; 9756} 9757_ACEOF 9758if ac_fn_c_try_link "$LINENO"; then : 9759 9760 lt_aix_libpath_sed=' 9761 /Import File Strings/,/^$/ { 9762 /^0/ { 9763 s/^0 *\([^ ]*\) *$/\1/ 9764 p 9765 } 9766 }' 9767 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9768 # Check for a 64-bit object if we didn't find anything. 9769 if test -z "$lt_cv_aix_libpath_"; then 9770 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9771 fi 9772fi 9773rm -f core conftest.err conftest.$ac_objext \ 9774 conftest$ac_exeext conftest.$ac_ext 9775 if test -z "$lt_cv_aix_libpath_"; then 9776 lt_cv_aix_libpath_="/usr/lib:/lib" 9777 fi 9778 9779fi 9780 9781 aix_libpath=$lt_cv_aix_libpath_ 9782fi 9783 9784 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9785 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" 9786 else 9787 if test "$host_cpu" = ia64; then 9788 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9789 allow_undefined_flag="-z nodefs" 9790 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" 9791 else 9792 # Determine the default libpath from the value encoded in an 9793 # empty executable. 9794 if test "${lt_cv_aix_libpath+set}" = set; then 9795 aix_libpath=$lt_cv_aix_libpath 9796else 9797 if test "${lt_cv_aix_libpath_+set}" = set; then : 9798 $as_echo_n "(cached) " >&6 9799else 9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9801/* end confdefs.h. */ 9802 9803int 9804main () 9805{ 9806 9807 ; 9808 return 0; 9809} 9810_ACEOF 9811if ac_fn_c_try_link "$LINENO"; then : 9812 9813 lt_aix_libpath_sed=' 9814 /Import File Strings/,/^$/ { 9815 /^0/ { 9816 s/^0 *\([^ ]*\) *$/\1/ 9817 p 9818 } 9819 }' 9820 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9821 # Check for a 64-bit object if we didn't find anything. 9822 if test -z "$lt_cv_aix_libpath_"; then 9823 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9824 fi 9825fi 9826rm -f core conftest.err conftest.$ac_objext \ 9827 conftest$ac_exeext conftest.$ac_ext 9828 if test -z "$lt_cv_aix_libpath_"; then 9829 lt_cv_aix_libpath_="/usr/lib:/lib" 9830 fi 9831 9832fi 9833 9834 aix_libpath=$lt_cv_aix_libpath_ 9835fi 9836 9837 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9838 # Warning - without using the other run time loading flags, 9839 # -berok will link without error, but may produce a broken library. 9840 no_undefined_flag=' ${wl}-bernotok' 9841 allow_undefined_flag=' ${wl}-berok' 9842 if test "$with_gnu_ld" = yes; then 9843 # We only use this code for GNU lds that support --whole-archive. 9844 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9845 else 9846 # Exported symbols can be pulled into shared objects from archives 9847 whole_archive_flag_spec='$convenience' 9848 fi 9849 archive_cmds_need_lc=yes 9850 # This is similar to how AIX traditionally builds its shared libraries. 9851 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' 9852 fi 9853 fi 9854 ;; 9855 9856 amigaos*) 9857 case $host_cpu in 9858 powerpc) 9859 # see comment about AmigaOS4 .so support 9860 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9861 archive_expsym_cmds='' 9862 ;; 9863 m68k) 9864 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)' 9865 hardcode_libdir_flag_spec='-L$libdir' 9866 hardcode_minus_L=yes 9867 ;; 9868 esac 9869 ;; 9870 9871 bsdi[45]*) 9872 export_dynamic_flag_spec=-rdynamic 9873 ;; 9874 9875 cygwin* | mingw* | pw32* | cegcc*) 9876 # When not using gcc, we currently assume that we are using 9877 # Microsoft Visual C++. 9878 # hardcode_libdir_flag_spec is actually meaningless, as there is 9879 # no search path for DLLs. 9880 case $cc_basename in 9881 cl*) 9882 # Native MSVC 9883 hardcode_libdir_flag_spec=' ' 9884 allow_undefined_flag=unsupported 9885 always_export_symbols=yes 9886 file_list_spec='@' 9887 # Tell ltmain to make .lib files, not .a files. 9888 libext=lib 9889 # Tell ltmain to make .dll files, not .so files. 9890 shrext_cmds=".dll" 9891 # FIXME: Setting linknames here is a bad hack. 9892 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9893 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9894 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9895 else 9896 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9897 fi~ 9898 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9899 linknames=' 9900 # The linker will not automatically build a static lib if we build a DLL. 9901 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9902 enable_shared_with_static_runtimes=yes 9903 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9904 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9905 # Don't use ranlib 9906 old_postinstall_cmds='chmod 644 $oldlib' 9907 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9908 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9909 case $lt_outputfile in 9910 *.exe|*.EXE) ;; 9911 *) 9912 lt_outputfile="$lt_outputfile.exe" 9913 lt_tool_outputfile="$lt_tool_outputfile.exe" 9914 ;; 9915 esac~ 9916 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9917 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9918 $RM "$lt_outputfile.manifest"; 9919 fi' 9920 ;; 9921 *) 9922 # Assume MSVC wrapper 9923 hardcode_libdir_flag_spec=' ' 9924 allow_undefined_flag=unsupported 9925 # Tell ltmain to make .lib files, not .a files. 9926 libext=lib 9927 # Tell ltmain to make .dll files, not .so files. 9928 shrext_cmds=".dll" 9929 # FIXME: Setting linknames here is a bad hack. 9930 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9931 # The linker will automatically build a .lib file if we build a DLL. 9932 old_archive_from_new_cmds='true' 9933 # FIXME: Should let the user specify the lib program. 9934 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9935 enable_shared_with_static_runtimes=yes 9936 ;; 9937 esac 9938 ;; 9939 9940 darwin* | rhapsody*) 9941 9942 9943 archive_cmds_need_lc=no 9944 hardcode_direct=no 9945 hardcode_automatic=yes 9946 hardcode_shlibpath_var=unsupported 9947 if test "$lt_cv_ld_force_load" = "yes"; then 9948 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\"`' 9949 9950 else 9951 whole_archive_flag_spec='' 9952 fi 9953 link_all_deplibs=yes 9954 allow_undefined_flag="$_lt_dar_allow_undefined" 9955 case $cc_basename in 9956 ifort*) _lt_dar_can_shared=yes ;; 9957 *) _lt_dar_can_shared=$GCC ;; 9958 esac 9959 if test "$_lt_dar_can_shared" = "yes"; then 9960 output_verbose_link_cmd=func_echo_all 9961 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9962 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9963 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}" 9964 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}" 9965 9966 else 9967 ld_shlibs=no 9968 fi 9969 9970 ;; 9971 9972 dgux*) 9973 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9974 hardcode_libdir_flag_spec='-L$libdir' 9975 hardcode_shlibpath_var=no 9976 ;; 9977 9978 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9979 # support. Future versions do this automatically, but an explicit c++rt0.o 9980 # does not break anything, and helps significantly (at the cost of a little 9981 # extra space). 9982 freebsd2.2*) 9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9984 hardcode_libdir_flag_spec='-R$libdir' 9985 hardcode_direct=yes 9986 hardcode_shlibpath_var=no 9987 ;; 9988 9989 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9990 freebsd2.*) 9991 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9992 hardcode_direct=yes 9993 hardcode_minus_L=yes 9994 hardcode_shlibpath_var=no 9995 ;; 9996 9997 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9998 freebsd* | dragonfly*) 9999 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10000 hardcode_libdir_flag_spec='-R$libdir' 10001 hardcode_direct=yes 10002 hardcode_shlibpath_var=no 10003 ;; 10004 10005 hpux9*) 10006 if test "$GCC" = yes; then 10007 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 10008 else 10009 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' 10010 fi 10011 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10012 hardcode_libdir_separator=: 10013 hardcode_direct=yes 10014 10015 # hardcode_minus_L: Not really in the search PATH, 10016 # but as the default location of the library. 10017 hardcode_minus_L=yes 10018 export_dynamic_flag_spec='${wl}-E' 10019 ;; 10020 10021 hpux10*) 10022 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10023 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10024 else 10025 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10026 fi 10027 if test "$with_gnu_ld" = no; then 10028 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10029 hardcode_libdir_separator=: 10030 hardcode_direct=yes 10031 hardcode_direct_absolute=yes 10032 export_dynamic_flag_spec='${wl}-E' 10033 # hardcode_minus_L: Not really in the search PATH, 10034 # but as the default location of the library. 10035 hardcode_minus_L=yes 10036 fi 10037 ;; 10038 10039 hpux11*) 10040 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10041 case $host_cpu in 10042 hppa*64*) 10043 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10044 ;; 10045 ia64*) 10046 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10047 ;; 10048 *) 10049 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10050 ;; 10051 esac 10052 else 10053 case $host_cpu in 10054 hppa*64*) 10055 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10056 ;; 10057 ia64*) 10058 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10059 ;; 10060 *) 10061 10062 # Older versions of the 11.00 compiler do not understand -b yet 10063 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10065$as_echo_n "checking if $CC understands -b... " >&6; } 10066if test "${lt_cv_prog_compiler__b+set}" = set; then : 10067 $as_echo_n "(cached) " >&6 10068else 10069 lt_cv_prog_compiler__b=no 10070 save_LDFLAGS="$LDFLAGS" 10071 LDFLAGS="$LDFLAGS -b" 10072 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10073 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10074 # The linker can only warn and ignore the option if not recognized 10075 # So say no if there are warnings 10076 if test -s conftest.err; then 10077 # Append any errors to the config.log. 10078 cat conftest.err 1>&5 10079 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10080 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10081 if diff conftest.exp conftest.er2 >/dev/null; then 10082 lt_cv_prog_compiler__b=yes 10083 fi 10084 else 10085 lt_cv_prog_compiler__b=yes 10086 fi 10087 fi 10088 $RM -r conftest* 10089 LDFLAGS="$save_LDFLAGS" 10090 10091fi 10092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10093$as_echo "$lt_cv_prog_compiler__b" >&6; } 10094 10095if test x"$lt_cv_prog_compiler__b" = xyes; then 10096 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10097else 10098 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10099fi 10100 10101 ;; 10102 esac 10103 fi 10104 if test "$with_gnu_ld" = no; then 10105 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10106 hardcode_libdir_separator=: 10107 10108 case $host_cpu in 10109 hppa*64*|ia64*) 10110 hardcode_direct=no 10111 hardcode_shlibpath_var=no 10112 ;; 10113 *) 10114 hardcode_direct=yes 10115 hardcode_direct_absolute=yes 10116 export_dynamic_flag_spec='${wl}-E' 10117 10118 # hardcode_minus_L: Not really in the search PATH, 10119 # but as the default location of the library. 10120 hardcode_minus_L=yes 10121 ;; 10122 esac 10123 fi 10124 ;; 10125 10126 irix5* | irix6* | nonstopux*) 10127 if test "$GCC" = yes; then 10128 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10129 # Try to use the -exported_symbol ld option, if it does not 10130 # work, assume that -exports_file does not work either and 10131 # implicitly export all symbols. 10132 # This should be the same for all languages, so no per-tag cache variable. 10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10134$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10135if test "${lt_cv_irix_exported_symbol+set}" = set; then : 10136 $as_echo_n "(cached) " >&6 10137else 10138 save_LDFLAGS="$LDFLAGS" 10139 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10141/* end confdefs.h. */ 10142int foo (void) { return 0; } 10143_ACEOF 10144if ac_fn_c_try_link "$LINENO"; then : 10145 lt_cv_irix_exported_symbol=yes 10146else 10147 lt_cv_irix_exported_symbol=no 10148fi 10149rm -f core conftest.err conftest.$ac_objext \ 10150 conftest$ac_exeext conftest.$ac_ext 10151 LDFLAGS="$save_LDFLAGS" 10152fi 10153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10154$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10155 if test "$lt_cv_irix_exported_symbol" = yes; then 10156 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 10157 fi 10158 else 10159 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' 10160 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' 10161 fi 10162 archive_cmds_need_lc='no' 10163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10164 hardcode_libdir_separator=: 10165 inherit_rpath=yes 10166 link_all_deplibs=yes 10167 ;; 10168 10169 netbsd* | netbsdelf*-gnu) 10170 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10171 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10172 else 10173 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10174 fi 10175 hardcode_libdir_flag_spec='-R$libdir' 10176 hardcode_direct=yes 10177 hardcode_shlibpath_var=no 10178 ;; 10179 10180 newsos6) 10181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10182 hardcode_direct=yes 10183 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10184 hardcode_libdir_separator=: 10185 hardcode_shlibpath_var=no 10186 ;; 10187 10188 *nto* | *qnx*) 10189 ;; 10190 10191 openbsd*) 10192 if test -f /usr/libexec/ld.so; then 10193 hardcode_direct=yes 10194 hardcode_shlibpath_var=no 10195 hardcode_direct_absolute=yes 10196 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10198 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10200 export_dynamic_flag_spec='${wl}-E' 10201 else 10202 case $host_os in 10203 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10205 hardcode_libdir_flag_spec='-R$libdir' 10206 ;; 10207 *) 10208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10209 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10210 ;; 10211 esac 10212 fi 10213 else 10214 ld_shlibs=no 10215 fi 10216 ;; 10217 10218 os2*) 10219 hardcode_libdir_flag_spec='-L$libdir' 10220 hardcode_minus_L=yes 10221 allow_undefined_flag=unsupported 10222 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' 10223 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10224 ;; 10225 10226 osf3*) 10227 if test "$GCC" = yes; then 10228 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10229 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' 10230 else 10231 allow_undefined_flag=' -expect_unresolved \*' 10232 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' 10233 fi 10234 archive_cmds_need_lc='no' 10235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10236 hardcode_libdir_separator=: 10237 ;; 10238 10239 osf4* | osf5*) # as osf3* with the addition of -msym flag 10240 if test "$GCC" = yes; then 10241 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10242 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10244 else 10245 allow_undefined_flag=' -expect_unresolved \*' 10246 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' 10247 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~ 10248 $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' 10249 10250 # Both c and cxx compiler support -rpath directly 10251 hardcode_libdir_flag_spec='-rpath $libdir' 10252 fi 10253 archive_cmds_need_lc='no' 10254 hardcode_libdir_separator=: 10255 ;; 10256 10257 solaris*) 10258 no_undefined_flag=' -z defs' 10259 if test "$GCC" = yes; then 10260 wlarc='${wl}' 10261 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10263 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10264 else 10265 case `$CC -V 2>&1` in 10266 *"Compilers 5.0"*) 10267 wlarc='' 10268 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10269 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10270 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10271 ;; 10272 *) 10273 wlarc='${wl}' 10274 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10275 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10276 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10277 ;; 10278 esac 10279 fi 10280 hardcode_libdir_flag_spec='-R$libdir' 10281 hardcode_shlibpath_var=no 10282 case $host_os in 10283 solaris2.[0-5] | solaris2.[0-5].*) ;; 10284 *) 10285 # The compiler driver will combine and reorder linker options, 10286 # but understands `-z linker_flag'. GCC discards it without `$wl', 10287 # but is careful enough not to reorder. 10288 # Supported since Solaris 2.6 (maybe 2.5.1?) 10289 if test "$GCC" = yes; then 10290 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10291 else 10292 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10293 fi 10294 ;; 10295 esac 10296 link_all_deplibs=yes 10297 ;; 10298 10299 sunos4*) 10300 if test "x$host_vendor" = xsequent; then 10301 # Use $CC to link under sequent, because it throws in some extra .o 10302 # files that make .init and .fini sections work. 10303 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10304 else 10305 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10306 fi 10307 hardcode_libdir_flag_spec='-L$libdir' 10308 hardcode_direct=yes 10309 hardcode_minus_L=yes 10310 hardcode_shlibpath_var=no 10311 ;; 10312 10313 sysv4) 10314 case $host_vendor in 10315 sni) 10316 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10317 hardcode_direct=yes # is this really true??? 10318 ;; 10319 siemens) 10320 ## LD is ld it makes a PLAMLIB 10321 ## CC just makes a GrossModule. 10322 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10323 reload_cmds='$CC -r -o $output$reload_objs' 10324 hardcode_direct=no 10325 ;; 10326 motorola) 10327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10328 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10329 ;; 10330 esac 10331 runpath_var='LD_RUN_PATH' 10332 hardcode_shlibpath_var=no 10333 ;; 10334 10335 sysv4.3*) 10336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10337 hardcode_shlibpath_var=no 10338 export_dynamic_flag_spec='-Bexport' 10339 ;; 10340 10341 sysv4*MP*) 10342 if test -d /usr/nec; then 10343 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10344 hardcode_shlibpath_var=no 10345 runpath_var=LD_RUN_PATH 10346 hardcode_runpath_var=yes 10347 ld_shlibs=yes 10348 fi 10349 ;; 10350 10351 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10352 no_undefined_flag='${wl}-z,text' 10353 archive_cmds_need_lc=no 10354 hardcode_shlibpath_var=no 10355 runpath_var='LD_RUN_PATH' 10356 10357 if test "$GCC" = yes; then 10358 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10359 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10360 else 10361 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10362 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10363 fi 10364 ;; 10365 10366 sysv5* | sco3.2v5* | sco5v6*) 10367 # Note: We can NOT use -z defs as we might desire, because we do not 10368 # link with -lc, and that would cause any symbols used from libc to 10369 # always be unresolved, which means just about no library would 10370 # ever link correctly. If we're not using GNU ld we use -z text 10371 # though, which does catch some bad symbols but isn't as heavy-handed 10372 # as -z defs. 10373 no_undefined_flag='${wl}-z,text' 10374 allow_undefined_flag='${wl}-z,nodefs' 10375 archive_cmds_need_lc=no 10376 hardcode_shlibpath_var=no 10377 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10378 hardcode_libdir_separator=':' 10379 link_all_deplibs=yes 10380 export_dynamic_flag_spec='${wl}-Bexport' 10381 runpath_var='LD_RUN_PATH' 10382 10383 if test "$GCC" = yes; then 10384 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10385 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10386 else 10387 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10388 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10389 fi 10390 ;; 10391 10392 uts4*) 10393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10394 hardcode_libdir_flag_spec='-L$libdir' 10395 hardcode_shlibpath_var=no 10396 ;; 10397 10398 *) 10399 ld_shlibs=no 10400 ;; 10401 esac 10402 10403 if test x$host_vendor = xsni; then 10404 case $host in 10405 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10406 export_dynamic_flag_spec='${wl}-Blargedynsym' 10407 ;; 10408 esac 10409 fi 10410 fi 10411 10412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10413$as_echo "$ld_shlibs" >&6; } 10414test "$ld_shlibs" = no && can_build_shared=no 10415 10416with_gnu_ld=$with_gnu_ld 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432# 10433# Do we need to explicitly link libc? 10434# 10435case "x$archive_cmds_need_lc" in 10436x|xyes) 10437 # Assume -lc should be added 10438 archive_cmds_need_lc=yes 10439 10440 if test "$enable_shared" = yes && test "$GCC" = yes; then 10441 case $archive_cmds in 10442 *'~'*) 10443 # FIXME: we may have to deal with multi-command sequences. 10444 ;; 10445 '$CC '*) 10446 # Test whether the compiler implicitly links with -lc since on some 10447 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10448 # to ld, don't add -lc before -lgcc. 10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10450$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10451if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 10452 $as_echo_n "(cached) " >&6 10453else 10454 $RM conftest* 10455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10456 10457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10458 (eval $ac_compile) 2>&5 10459 ac_status=$? 10460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10461 test $ac_status = 0; } 2>conftest.err; then 10462 soname=conftest 10463 lib=conftest 10464 libobjs=conftest.$ac_objext 10465 deplibs= 10466 wl=$lt_prog_compiler_wl 10467 pic_flag=$lt_prog_compiler_pic 10468 compiler_flags=-v 10469 linker_flags=-v 10470 verstring= 10471 output_objdir=. 10472 libname=conftest 10473 lt_save_allow_undefined_flag=$allow_undefined_flag 10474 allow_undefined_flag= 10475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10476 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10477 ac_status=$? 10478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10479 test $ac_status = 0; } 10480 then 10481 lt_cv_archive_cmds_need_lc=no 10482 else 10483 lt_cv_archive_cmds_need_lc=yes 10484 fi 10485 allow_undefined_flag=$lt_save_allow_undefined_flag 10486 else 10487 cat conftest.err 1>&5 10488 fi 10489 $RM conftest* 10490 10491fi 10492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10493$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10494 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10495 ;; 10496 esac 10497 fi 10498 ;; 10499esac 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10653$as_echo_n "checking dynamic linker characteristics... " >&6; } 10654 10655if test "$GCC" = yes; then 10656 case $host_os in 10657 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10658 *) lt_awk_arg="/^libraries:/" ;; 10659 esac 10660 case $host_os in 10661 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10662 *) lt_sed_strip_eq="s,=/,/,g" ;; 10663 esac 10664 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10665 case $lt_search_path_spec in 10666 *\;*) 10667 # if the path contains ";" then we assume it to be the separator 10668 # otherwise default to the standard path separator (i.e. ":") - it is 10669 # assumed that no part of a normal pathname contains ";" but that should 10670 # okay in the real world where ";" in dirpaths is itself problematic. 10671 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10672 ;; 10673 *) 10674 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10675 ;; 10676 esac 10677 # Ok, now we have the path, separated by spaces, we can step through it 10678 # and add multilib dir if necessary. 10679 lt_tmp_lt_search_path_spec= 10680 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10681 for lt_sys_path in $lt_search_path_spec; do 10682 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10683 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10684 else 10685 test -d "$lt_sys_path" && \ 10686 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10687 fi 10688 done 10689 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10690BEGIN {RS=" "; FS="/|\n";} { 10691 lt_foo=""; 10692 lt_count=0; 10693 for (lt_i = NF; lt_i > 0; lt_i--) { 10694 if ($lt_i != "" && $lt_i != ".") { 10695 if ($lt_i == "..") { 10696 lt_count++; 10697 } else { 10698 if (lt_count == 0) { 10699 lt_foo="/" $lt_i lt_foo; 10700 } else { 10701 lt_count--; 10702 } 10703 } 10704 } 10705 } 10706 if (lt_foo != "") { lt_freq[lt_foo]++; } 10707 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10708}'` 10709 # AWK program above erroneously prepends '/' to C:/dos/paths 10710 # for these hosts. 10711 case $host_os in 10712 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10713 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10714 esac 10715 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10716else 10717 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10718fi 10719library_names_spec= 10720libname_spec='lib$name' 10721soname_spec= 10722shrext_cmds=".so" 10723postinstall_cmds= 10724postuninstall_cmds= 10725finish_cmds= 10726finish_eval= 10727shlibpath_var= 10728shlibpath_overrides_runpath=unknown 10729version_type=none 10730dynamic_linker="$host_os ld.so" 10731sys_lib_dlsearch_path_spec="/lib /usr/lib" 10732need_lib_prefix=unknown 10733hardcode_into_libs=no 10734 10735# when you set need_version to no, make sure it does not cause -set_version 10736# flags to be left without arguments 10737need_version=unknown 10738 10739case $host_os in 10740aix3*) 10741 version_type=linux # correct to gnu/linux during the next big refactor 10742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10743 shlibpath_var=LIBPATH 10744 10745 # AIX 3 has no versioning support, so we append a major version to the name. 10746 soname_spec='${libname}${release}${shared_ext}$major' 10747 ;; 10748 10749aix[4-9]*) 10750 version_type=linux # correct to gnu/linux during the next big refactor 10751 need_lib_prefix=no 10752 need_version=no 10753 hardcode_into_libs=yes 10754 if test "$host_cpu" = ia64; then 10755 # AIX 5 supports IA64 10756 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10757 shlibpath_var=LD_LIBRARY_PATH 10758 else 10759 # With GCC up to 2.95.x, collect2 would create an import file 10760 # for dependence libraries. The import file would start with 10761 # the line `#! .'. This would cause the generated library to 10762 # depend on `.', always an invalid library. This was fixed in 10763 # development snapshots of GCC prior to 3.0. 10764 case $host_os in 10765 aix4 | aix4.[01] | aix4.[01].*) 10766 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10767 echo ' yes ' 10768 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10769 : 10770 else 10771 can_build_shared=no 10772 fi 10773 ;; 10774 esac 10775 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10776 # soname into executable. Probably we can add versioning support to 10777 # collect2, so additional links can be useful in future. 10778 if test "$aix_use_runtimelinking" = yes; then 10779 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10780 # instead of lib<name>.a to let people know that these are not 10781 # typical AIX shared libraries. 10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10783 else 10784 # We preserve .a as extension for shared libraries through AIX4.2 10785 # and later when we are not doing run time linking. 10786 library_names_spec='${libname}${release}.a $libname.a' 10787 soname_spec='${libname}${release}${shared_ext}$major' 10788 fi 10789 shlibpath_var=LIBPATH 10790 fi 10791 ;; 10792 10793amigaos*) 10794 case $host_cpu in 10795 powerpc) 10796 # Since July 2007 AmigaOS4 officially supports .so libraries. 10797 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10799 ;; 10800 m68k) 10801 library_names_spec='$libname.ixlibrary $libname.a' 10802 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10803 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' 10804 ;; 10805 esac 10806 ;; 10807 10808beos*) 10809 library_names_spec='${libname}${shared_ext}' 10810 dynamic_linker="$host_os ld.so" 10811 shlibpath_var=LIBRARY_PATH 10812 ;; 10813 10814bsdi[45]*) 10815 version_type=linux # correct to gnu/linux during the next big refactor 10816 need_version=no 10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10818 soname_spec='${libname}${release}${shared_ext}$major' 10819 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10820 shlibpath_var=LD_LIBRARY_PATH 10821 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10822 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10823 # the default ld.so.conf also contains /usr/contrib/lib and 10824 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10825 # libtool to hard-code these into programs 10826 ;; 10827 10828cygwin* | mingw* | pw32* | cegcc*) 10829 version_type=windows 10830 shrext_cmds=".dll" 10831 need_version=no 10832 need_lib_prefix=no 10833 10834 case $GCC,$cc_basename in 10835 yes,*) 10836 # gcc 10837 library_names_spec='$libname.dll.a' 10838 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10839 postinstall_cmds='base_file=`basename \${file}`~ 10840 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10841 dldir=$destdir/`dirname \$dlpath`~ 10842 test -d \$dldir || mkdir -p \$dldir~ 10843 $install_prog $dir/$dlname \$dldir/$dlname~ 10844 chmod a+x \$dldir/$dlname~ 10845 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10846 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10847 fi' 10848 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10849 dlpath=$dir/\$dldll~ 10850 $RM \$dlpath' 10851 shlibpath_overrides_runpath=yes 10852 10853 case $host_os in 10854 cygwin*) 10855 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10856 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10857 10858 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10859 ;; 10860 mingw* | cegcc*) 10861 # MinGW DLLs use traditional 'lib' prefix 10862 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10863 ;; 10864 pw32*) 10865 # pw32 DLLs use 'pw' prefix rather than 'lib' 10866 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10867 ;; 10868 esac 10869 dynamic_linker='Win32 ld.exe' 10870 ;; 10871 10872 *,cl*) 10873 # Native MSVC 10874 libname_spec='$name' 10875 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10876 library_names_spec='${libname}.dll.lib' 10877 10878 case $build_os in 10879 mingw*) 10880 sys_lib_search_path_spec= 10881 lt_save_ifs=$IFS 10882 IFS=';' 10883 for lt_path in $LIB 10884 do 10885 IFS=$lt_save_ifs 10886 # Let DOS variable expansion print the short 8.3 style file name. 10887 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10888 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10889 done 10890 IFS=$lt_save_ifs 10891 # Convert to MSYS style. 10892 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10893 ;; 10894 cygwin*) 10895 # Convert to unix form, then to dos form, then back to unix form 10896 # but this time dos style (no spaces!) so that the unix form looks 10897 # like /cygdrive/c/PROGRA~1:/cygdr... 10898 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10899 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10900 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10901 ;; 10902 *) 10903 sys_lib_search_path_spec="$LIB" 10904 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10905 # It is most probably a Windows format PATH. 10906 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10907 else 10908 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10909 fi 10910 # FIXME: find the short name or the path components, as spaces are 10911 # common. (e.g. "Program Files" -> "PROGRA~1") 10912 ;; 10913 esac 10914 10915 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10916 postinstall_cmds='base_file=`basename \${file}`~ 10917 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10918 dldir=$destdir/`dirname \$dlpath`~ 10919 test -d \$dldir || mkdir -p \$dldir~ 10920 $install_prog $dir/$dlname \$dldir/$dlname' 10921 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10922 dlpath=$dir/\$dldll~ 10923 $RM \$dlpath' 10924 shlibpath_overrides_runpath=yes 10925 dynamic_linker='Win32 link.exe' 10926 ;; 10927 10928 *) 10929 # Assume MSVC wrapper 10930 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10931 dynamic_linker='Win32 ld.exe' 10932 ;; 10933 esac 10934 # FIXME: first we should search . and the directory the executable is in 10935 shlibpath_var=PATH 10936 ;; 10937 10938darwin* | rhapsody*) 10939 dynamic_linker="$host_os dyld" 10940 version_type=darwin 10941 need_lib_prefix=no 10942 need_version=no 10943 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10944 soname_spec='${libname}${release}${major}$shared_ext' 10945 shlibpath_overrides_runpath=yes 10946 shlibpath_var=DYLD_LIBRARY_PATH 10947 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10948 10949 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10950 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10951 ;; 10952 10953dgux*) 10954 version_type=linux # correct to gnu/linux during the next big refactor 10955 need_lib_prefix=no 10956 need_version=no 10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10958 soname_spec='${libname}${release}${shared_ext}$major' 10959 shlibpath_var=LD_LIBRARY_PATH 10960 ;; 10961 10962freebsd* | dragonfly*) 10963 # DragonFly does not have aout. When/if they implement a new 10964 # versioning mechanism, adjust this. 10965 if test -x /usr/bin/objformat; then 10966 objformat=`/usr/bin/objformat` 10967 else 10968 case $host_os in 10969 freebsd[23].*) objformat=aout ;; 10970 *) objformat=elf ;; 10971 esac 10972 fi 10973 version_type=freebsd-$objformat 10974 case $version_type in 10975 freebsd-elf*) 10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10977 need_version=no 10978 need_lib_prefix=no 10979 ;; 10980 freebsd-*) 10981 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10982 need_version=yes 10983 ;; 10984 esac 10985 shlibpath_var=LD_LIBRARY_PATH 10986 case $host_os in 10987 freebsd2.*) 10988 shlibpath_overrides_runpath=yes 10989 ;; 10990 freebsd3.[01]* | freebsdelf3.[01]*) 10991 shlibpath_overrides_runpath=yes 10992 hardcode_into_libs=yes 10993 ;; 10994 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10995 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10996 shlibpath_overrides_runpath=no 10997 hardcode_into_libs=yes 10998 ;; 10999 *) # from 4.6 on, and DragonFly 11000 shlibpath_overrides_runpath=yes 11001 hardcode_into_libs=yes 11002 ;; 11003 esac 11004 ;; 11005 11006haiku*) 11007 version_type=linux # correct to gnu/linux during the next big refactor 11008 need_lib_prefix=no 11009 need_version=no 11010 dynamic_linker="$host_os runtime_loader" 11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11012 soname_spec='${libname}${release}${shared_ext}$major' 11013 shlibpath_var=LIBRARY_PATH 11014 shlibpath_overrides_runpath=yes 11015 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11016 hardcode_into_libs=yes 11017 ;; 11018 11019hpux9* | hpux10* | hpux11*) 11020 # Give a soname corresponding to the major version so that dld.sl refuses to 11021 # link against other versions. 11022 version_type=sunos 11023 need_lib_prefix=no 11024 need_version=no 11025 case $host_cpu in 11026 ia64*) 11027 shrext_cmds='.so' 11028 hardcode_into_libs=yes 11029 dynamic_linker="$host_os dld.so" 11030 shlibpath_var=LD_LIBRARY_PATH 11031 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11033 soname_spec='${libname}${release}${shared_ext}$major' 11034 if test "X$HPUX_IA64_MODE" = X32; then 11035 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11036 else 11037 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11038 fi 11039 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11040 ;; 11041 hppa*64*) 11042 shrext_cmds='.sl' 11043 hardcode_into_libs=yes 11044 dynamic_linker="$host_os dld.sl" 11045 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11046 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11048 soname_spec='${libname}${release}${shared_ext}$major' 11049 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11050 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11051 ;; 11052 *) 11053 shrext_cmds='.sl' 11054 dynamic_linker="$host_os dld.sl" 11055 shlibpath_var=SHLIB_PATH 11056 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11058 soname_spec='${libname}${release}${shared_ext}$major' 11059 ;; 11060 esac 11061 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11062 postinstall_cmds='chmod 555 $lib' 11063 # or fails outright, so override atomically: 11064 install_override_mode=555 11065 ;; 11066 11067interix[3-9]*) 11068 version_type=linux # correct to gnu/linux during the next big refactor 11069 need_lib_prefix=no 11070 need_version=no 11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11072 soname_spec='${libname}${release}${shared_ext}$major' 11073 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11074 shlibpath_var=LD_LIBRARY_PATH 11075 shlibpath_overrides_runpath=no 11076 hardcode_into_libs=yes 11077 ;; 11078 11079irix5* | irix6* | nonstopux*) 11080 case $host_os in 11081 nonstopux*) version_type=nonstopux ;; 11082 *) 11083 if test "$lt_cv_prog_gnu_ld" = yes; then 11084 version_type=linux # correct to gnu/linux during the next big refactor 11085 else 11086 version_type=irix 11087 fi ;; 11088 esac 11089 need_lib_prefix=no 11090 need_version=no 11091 soname_spec='${libname}${release}${shared_ext}$major' 11092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11093 case $host_os in 11094 irix5* | nonstopux*) 11095 libsuff= shlibsuff= 11096 ;; 11097 *) 11098 case $LD in # libtool.m4 will add one of these switches to LD 11099 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11100 libsuff= shlibsuff= libmagic=32-bit;; 11101 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11102 libsuff=32 shlibsuff=N32 libmagic=N32;; 11103 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11104 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11105 *) libsuff= shlibsuff= libmagic=never-match;; 11106 esac 11107 ;; 11108 esac 11109 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11110 shlibpath_overrides_runpath=no 11111 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11112 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11113 hardcode_into_libs=yes 11114 ;; 11115 11116# No shared lib support for Linux oldld, aout, or coff. 11117linux*oldld* | linux*aout* | linux*coff*) 11118 dynamic_linker=no 11119 ;; 11120 11121# This must be glibc/ELF. 11122linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11123 version_type=linux # correct to gnu/linux during the next big refactor 11124 need_lib_prefix=no 11125 need_version=no 11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11127 soname_spec='${libname}${release}${shared_ext}$major' 11128 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11129 shlibpath_var=LD_LIBRARY_PATH 11130 shlibpath_overrides_runpath=no 11131 11132 # Some binutils ld are patched to set DT_RUNPATH 11133 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : 11134 $as_echo_n "(cached) " >&6 11135else 11136 lt_cv_shlibpath_overrides_runpath=no 11137 save_LDFLAGS=$LDFLAGS 11138 save_libdir=$libdir 11139 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11140 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11142/* end confdefs.h. */ 11143 11144int 11145main () 11146{ 11147 11148 ; 11149 return 0; 11150} 11151_ACEOF 11152if ac_fn_c_try_link "$LINENO"; then : 11153 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11154 lt_cv_shlibpath_overrides_runpath=yes 11155fi 11156fi 11157rm -f core conftest.err conftest.$ac_objext \ 11158 conftest$ac_exeext conftest.$ac_ext 11159 LDFLAGS=$save_LDFLAGS 11160 libdir=$save_libdir 11161 11162fi 11163 11164 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11165 11166 # This implies no fast_install, which is unacceptable. 11167 # Some rework will be needed to allow for fast_install 11168 # before this can be enabled. 11169 hardcode_into_libs=yes 11170 11171 # Append ld.so.conf contents to the search path 11172 if test -f /etc/ld.so.conf; then 11173 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' ' '` 11174 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11175 fi 11176 11177 # We used to test for /lib/ld.so.1 and disable shared libraries on 11178 # powerpc, because MkLinux only supported shared libraries with the 11179 # GNU dynamic linker. Since this was broken with cross compilers, 11180 # most powerpc-linux boxes support dynamic linking these days and 11181 # people can always --disable-shared, the test was removed, and we 11182 # assume the GNU/Linux dynamic linker is in use. 11183 dynamic_linker='GNU/Linux ld.so' 11184 ;; 11185 11186netbsdelf*-gnu) 11187 version_type=linux 11188 need_lib_prefix=no 11189 need_version=no 11190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11191 soname_spec='${libname}${release}${shared_ext}$major' 11192 shlibpath_var=LD_LIBRARY_PATH 11193 shlibpath_overrides_runpath=no 11194 hardcode_into_libs=yes 11195 dynamic_linker='NetBSD ld.elf_so' 11196 ;; 11197 11198netbsd*) 11199 version_type=sunos 11200 need_lib_prefix=no 11201 need_version=no 11202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11205 dynamic_linker='NetBSD (a.out) ld.so' 11206 else 11207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11208 soname_spec='${libname}${release}${shared_ext}$major' 11209 dynamic_linker='NetBSD ld.elf_so' 11210 fi 11211 shlibpath_var=LD_LIBRARY_PATH 11212 shlibpath_overrides_runpath=yes 11213 hardcode_into_libs=yes 11214 ;; 11215 11216newsos6) 11217 version_type=linux # correct to gnu/linux during the next big refactor 11218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11219 shlibpath_var=LD_LIBRARY_PATH 11220 shlibpath_overrides_runpath=yes 11221 ;; 11222 11223*nto* | *qnx*) 11224 version_type=qnx 11225 need_lib_prefix=no 11226 need_version=no 11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11228 soname_spec='${libname}${release}${shared_ext}$major' 11229 shlibpath_var=LD_LIBRARY_PATH 11230 shlibpath_overrides_runpath=no 11231 hardcode_into_libs=yes 11232 dynamic_linker='ldqnx.so' 11233 ;; 11234 11235openbsd*) 11236 version_type=sunos 11237 sys_lib_dlsearch_path_spec="/usr/lib" 11238 need_lib_prefix=no 11239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11240 case $host_os in 11241 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11242 *) need_version=no ;; 11243 esac 11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11246 shlibpath_var=LD_LIBRARY_PATH 11247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11248 case $host_os in 11249 openbsd2.[89] | openbsd2.[89].*) 11250 shlibpath_overrides_runpath=no 11251 ;; 11252 *) 11253 shlibpath_overrides_runpath=yes 11254 ;; 11255 esac 11256 else 11257 shlibpath_overrides_runpath=yes 11258 fi 11259 ;; 11260 11261os2*) 11262 libname_spec='$name' 11263 shrext_cmds=".dll" 11264 need_lib_prefix=no 11265 library_names_spec='$libname${shared_ext} $libname.a' 11266 dynamic_linker='OS/2 ld.exe' 11267 shlibpath_var=LIBPATH 11268 ;; 11269 11270osf3* | osf4* | osf5*) 11271 version_type=osf 11272 need_lib_prefix=no 11273 need_version=no 11274 soname_spec='${libname}${release}${shared_ext}$major' 11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11276 shlibpath_var=LD_LIBRARY_PATH 11277 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11278 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11279 ;; 11280 11281rdos*) 11282 dynamic_linker=no 11283 ;; 11284 11285solaris*) 11286 version_type=linux # correct to gnu/linux during the next big refactor 11287 need_lib_prefix=no 11288 need_version=no 11289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11290 soname_spec='${libname}${release}${shared_ext}$major' 11291 shlibpath_var=LD_LIBRARY_PATH 11292 shlibpath_overrides_runpath=yes 11293 hardcode_into_libs=yes 11294 # ldd complains unless libraries are executable 11295 postinstall_cmds='chmod +x $lib' 11296 ;; 11297 11298sunos4*) 11299 version_type=sunos 11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11301 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11302 shlibpath_var=LD_LIBRARY_PATH 11303 shlibpath_overrides_runpath=yes 11304 if test "$with_gnu_ld" = yes; then 11305 need_lib_prefix=no 11306 fi 11307 need_version=yes 11308 ;; 11309 11310sysv4 | sysv4.3*) 11311 version_type=linux # correct to gnu/linux during the next big refactor 11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11313 soname_spec='${libname}${release}${shared_ext}$major' 11314 shlibpath_var=LD_LIBRARY_PATH 11315 case $host_vendor in 11316 sni) 11317 shlibpath_overrides_runpath=no 11318 need_lib_prefix=no 11319 runpath_var=LD_RUN_PATH 11320 ;; 11321 siemens) 11322 need_lib_prefix=no 11323 ;; 11324 motorola) 11325 need_lib_prefix=no 11326 need_version=no 11327 shlibpath_overrides_runpath=no 11328 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11329 ;; 11330 esac 11331 ;; 11332 11333sysv4*MP*) 11334 if test -d /usr/nec ;then 11335 version_type=linux # correct to gnu/linux during the next big refactor 11336 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11337 soname_spec='$libname${shared_ext}.$major' 11338 shlibpath_var=LD_LIBRARY_PATH 11339 fi 11340 ;; 11341 11342sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11343 version_type=freebsd-elf 11344 need_lib_prefix=no 11345 need_version=no 11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11347 soname_spec='${libname}${release}${shared_ext}$major' 11348 shlibpath_var=LD_LIBRARY_PATH 11349 shlibpath_overrides_runpath=yes 11350 hardcode_into_libs=yes 11351 if test "$with_gnu_ld" = yes; then 11352 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11353 else 11354 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11355 case $host_os in 11356 sco3.2v5*) 11357 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11358 ;; 11359 esac 11360 fi 11361 sys_lib_dlsearch_path_spec='/usr/lib' 11362 ;; 11363 11364tpf*) 11365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11366 version_type=linux # correct to gnu/linux during the next big refactor 11367 need_lib_prefix=no 11368 need_version=no 11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11370 shlibpath_var=LD_LIBRARY_PATH 11371 shlibpath_overrides_runpath=no 11372 hardcode_into_libs=yes 11373 ;; 11374 11375uts4*) 11376 version_type=linux # correct to gnu/linux during the next big refactor 11377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11378 soname_spec='${libname}${release}${shared_ext}$major' 11379 shlibpath_var=LD_LIBRARY_PATH 11380 ;; 11381 11382*) 11383 dynamic_linker=no 11384 ;; 11385esac 11386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11387$as_echo "$dynamic_linker" >&6; } 11388test "$dynamic_linker" = no && can_build_shared=no 11389 11390variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11391if test "$GCC" = yes; then 11392 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11393fi 11394 11395if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11396 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11397fi 11398if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11399 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11400fi 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11494$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11495hardcode_action= 11496if test -n "$hardcode_libdir_flag_spec" || 11497 test -n "$runpath_var" || 11498 test "X$hardcode_automatic" = "Xyes" ; then 11499 11500 # We can hardcode non-existent directories. 11501 if test "$hardcode_direct" != no && 11502 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11503 # have to relink, otherwise we might link with an installed library 11504 # when we should be linking with a yet-to-be-installed one 11505 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11506 test "$hardcode_minus_L" != no; then 11507 # Linking always hardcodes the temporary library directory. 11508 hardcode_action=relink 11509 else 11510 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11511 hardcode_action=immediate 11512 fi 11513else 11514 # We cannot hardcode anything, or else we can only hardcode existing 11515 # directories. 11516 hardcode_action=unsupported 11517fi 11518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11519$as_echo "$hardcode_action" >&6; } 11520 11521if test "$hardcode_action" = relink || 11522 test "$inherit_rpath" = yes; then 11523 # Fast installation is not supported 11524 enable_fast_install=no 11525elif test "$shlibpath_overrides_runpath" = yes || 11526 test "$enable_shared" = no; then 11527 # Fast installation is not necessary 11528 enable_fast_install=needless 11529fi 11530 11531 11532 11533 11534 11535 11536 if test "x$enable_dlopen" != xyes; then 11537 enable_dlopen=unknown 11538 enable_dlopen_self=unknown 11539 enable_dlopen_self_static=unknown 11540else 11541 lt_cv_dlopen=no 11542 lt_cv_dlopen_libs= 11543 11544 case $host_os in 11545 beos*) 11546 lt_cv_dlopen="load_add_on" 11547 lt_cv_dlopen_libs= 11548 lt_cv_dlopen_self=yes 11549 ;; 11550 11551 mingw* | pw32* | cegcc*) 11552 lt_cv_dlopen="LoadLibrary" 11553 lt_cv_dlopen_libs= 11554 ;; 11555 11556 cygwin*) 11557 lt_cv_dlopen="dlopen" 11558 lt_cv_dlopen_libs= 11559 ;; 11560 11561 darwin*) 11562 # if libdl is installed we need to link against it 11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11564$as_echo_n "checking for dlopen in -ldl... " >&6; } 11565if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11566 $as_echo_n "(cached) " >&6 11567else 11568 ac_check_lib_save_LIBS=$LIBS 11569LIBS="-ldl $LIBS" 11570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11571/* end confdefs.h. */ 11572 11573/* Override any GCC internal prototype to avoid an error. 11574 Use char because int might match the return type of a GCC 11575 builtin and then its argument prototype would still apply. */ 11576#ifdef __cplusplus 11577extern "C" 11578#endif 11579char dlopen (); 11580int 11581main () 11582{ 11583return dlopen (); 11584 ; 11585 return 0; 11586} 11587_ACEOF 11588if ac_fn_c_try_link "$LINENO"; then : 11589 ac_cv_lib_dl_dlopen=yes 11590else 11591 ac_cv_lib_dl_dlopen=no 11592fi 11593rm -f core conftest.err conftest.$ac_objext \ 11594 conftest$ac_exeext conftest.$ac_ext 11595LIBS=$ac_check_lib_save_LIBS 11596fi 11597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11598$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11599if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11600 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11601else 11602 11603 lt_cv_dlopen="dyld" 11604 lt_cv_dlopen_libs= 11605 lt_cv_dlopen_self=yes 11606 11607fi 11608 11609 ;; 11610 11611 *) 11612 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11613if test "x$ac_cv_func_shl_load" = x""yes; then : 11614 lt_cv_dlopen="shl_load" 11615else 11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11617$as_echo_n "checking for shl_load in -ldld... " >&6; } 11618if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 11619 $as_echo_n "(cached) " >&6 11620else 11621 ac_check_lib_save_LIBS=$LIBS 11622LIBS="-ldld $LIBS" 11623cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11624/* end confdefs.h. */ 11625 11626/* Override any GCC internal prototype to avoid an error. 11627 Use char because int might match the return type of a GCC 11628 builtin and then its argument prototype would still apply. */ 11629#ifdef __cplusplus 11630extern "C" 11631#endif 11632char shl_load (); 11633int 11634main () 11635{ 11636return shl_load (); 11637 ; 11638 return 0; 11639} 11640_ACEOF 11641if ac_fn_c_try_link "$LINENO"; then : 11642 ac_cv_lib_dld_shl_load=yes 11643else 11644 ac_cv_lib_dld_shl_load=no 11645fi 11646rm -f core conftest.err conftest.$ac_objext \ 11647 conftest$ac_exeext conftest.$ac_ext 11648LIBS=$ac_check_lib_save_LIBS 11649fi 11650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11651$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11652if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 11653 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11654else 11655 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11656if test "x$ac_cv_func_dlopen" = x""yes; then : 11657 lt_cv_dlopen="dlopen" 11658else 11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11660$as_echo_n "checking for dlopen in -ldl... " >&6; } 11661if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 11662 $as_echo_n "(cached) " >&6 11663else 11664 ac_check_lib_save_LIBS=$LIBS 11665LIBS="-ldl $LIBS" 11666cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11667/* end confdefs.h. */ 11668 11669/* Override any GCC internal prototype to avoid an error. 11670 Use char because int might match the return type of a GCC 11671 builtin and then its argument prototype would still apply. */ 11672#ifdef __cplusplus 11673extern "C" 11674#endif 11675char dlopen (); 11676int 11677main () 11678{ 11679return dlopen (); 11680 ; 11681 return 0; 11682} 11683_ACEOF 11684if ac_fn_c_try_link "$LINENO"; then : 11685 ac_cv_lib_dl_dlopen=yes 11686else 11687 ac_cv_lib_dl_dlopen=no 11688fi 11689rm -f core conftest.err conftest.$ac_objext \ 11690 conftest$ac_exeext conftest.$ac_ext 11691LIBS=$ac_check_lib_save_LIBS 11692fi 11693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11694$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11695if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 11696 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11697else 11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11699$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11700if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 11701 $as_echo_n "(cached) " >&6 11702else 11703 ac_check_lib_save_LIBS=$LIBS 11704LIBS="-lsvld $LIBS" 11705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11706/* end confdefs.h. */ 11707 11708/* Override any GCC internal prototype to avoid an error. 11709 Use char because int might match the return type of a GCC 11710 builtin and then its argument prototype would still apply. */ 11711#ifdef __cplusplus 11712extern "C" 11713#endif 11714char dlopen (); 11715int 11716main () 11717{ 11718return dlopen (); 11719 ; 11720 return 0; 11721} 11722_ACEOF 11723if ac_fn_c_try_link "$LINENO"; then : 11724 ac_cv_lib_svld_dlopen=yes 11725else 11726 ac_cv_lib_svld_dlopen=no 11727fi 11728rm -f core conftest.err conftest.$ac_objext \ 11729 conftest$ac_exeext conftest.$ac_ext 11730LIBS=$ac_check_lib_save_LIBS 11731fi 11732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11733$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11734if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 11735 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11736else 11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11738$as_echo_n "checking for dld_link in -ldld... " >&6; } 11739if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 11740 $as_echo_n "(cached) " >&6 11741else 11742 ac_check_lib_save_LIBS=$LIBS 11743LIBS="-ldld $LIBS" 11744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11745/* end confdefs.h. */ 11746 11747/* Override any GCC internal prototype to avoid an error. 11748 Use char because int might match the return type of a GCC 11749 builtin and then its argument prototype would still apply. */ 11750#ifdef __cplusplus 11751extern "C" 11752#endif 11753char dld_link (); 11754int 11755main () 11756{ 11757return dld_link (); 11758 ; 11759 return 0; 11760} 11761_ACEOF 11762if ac_fn_c_try_link "$LINENO"; then : 11763 ac_cv_lib_dld_dld_link=yes 11764else 11765 ac_cv_lib_dld_dld_link=no 11766fi 11767rm -f core conftest.err conftest.$ac_objext \ 11768 conftest$ac_exeext conftest.$ac_ext 11769LIBS=$ac_check_lib_save_LIBS 11770fi 11771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11772$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11773if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 11774 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11775fi 11776 11777 11778fi 11779 11780 11781fi 11782 11783 11784fi 11785 11786 11787fi 11788 11789 11790fi 11791 11792 ;; 11793 esac 11794 11795 if test "x$lt_cv_dlopen" != xno; then 11796 enable_dlopen=yes 11797 else 11798 enable_dlopen=no 11799 fi 11800 11801 case $lt_cv_dlopen in 11802 dlopen) 11803 save_CPPFLAGS="$CPPFLAGS" 11804 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11805 11806 save_LDFLAGS="$LDFLAGS" 11807 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11808 11809 save_LIBS="$LIBS" 11810 LIBS="$lt_cv_dlopen_libs $LIBS" 11811 11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11813$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11814if test "${lt_cv_dlopen_self+set}" = set; then : 11815 $as_echo_n "(cached) " >&6 11816else 11817 if test "$cross_compiling" = yes; then : 11818 lt_cv_dlopen_self=cross 11819else 11820 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11821 lt_status=$lt_dlunknown 11822 cat > conftest.$ac_ext <<_LT_EOF 11823#line $LINENO "configure" 11824#include "confdefs.h" 11825 11826#if HAVE_DLFCN_H 11827#include <dlfcn.h> 11828#endif 11829 11830#include <stdio.h> 11831 11832#ifdef RTLD_GLOBAL 11833# define LT_DLGLOBAL RTLD_GLOBAL 11834#else 11835# ifdef DL_GLOBAL 11836# define LT_DLGLOBAL DL_GLOBAL 11837# else 11838# define LT_DLGLOBAL 0 11839# endif 11840#endif 11841 11842/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11843 find out it does not work in some platform. */ 11844#ifndef LT_DLLAZY_OR_NOW 11845# ifdef RTLD_LAZY 11846# define LT_DLLAZY_OR_NOW RTLD_LAZY 11847# else 11848# ifdef DL_LAZY 11849# define LT_DLLAZY_OR_NOW DL_LAZY 11850# else 11851# ifdef RTLD_NOW 11852# define LT_DLLAZY_OR_NOW RTLD_NOW 11853# else 11854# ifdef DL_NOW 11855# define LT_DLLAZY_OR_NOW DL_NOW 11856# else 11857# define LT_DLLAZY_OR_NOW 0 11858# endif 11859# endif 11860# endif 11861# endif 11862#endif 11863 11864/* When -fvisbility=hidden is used, assume the code has been annotated 11865 correspondingly for the symbols needed. */ 11866#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11867int fnord () __attribute__((visibility("default"))); 11868#endif 11869 11870int fnord () { return 42; } 11871int main () 11872{ 11873 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11874 int status = $lt_dlunknown; 11875 11876 if (self) 11877 { 11878 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11879 else 11880 { 11881 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11882 else puts (dlerror ()); 11883 } 11884 /* dlclose (self); */ 11885 } 11886 else 11887 puts (dlerror ()); 11888 11889 return status; 11890} 11891_LT_EOF 11892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11893 (eval $ac_link) 2>&5 11894 ac_status=$? 11895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11896 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11897 (./conftest; exit; ) >&5 2>/dev/null 11898 lt_status=$? 11899 case x$lt_status in 11900 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11901 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11902 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11903 esac 11904 else : 11905 # compilation failed 11906 lt_cv_dlopen_self=no 11907 fi 11908fi 11909rm -fr conftest* 11910 11911 11912fi 11913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11914$as_echo "$lt_cv_dlopen_self" >&6; } 11915 11916 if test "x$lt_cv_dlopen_self" = xyes; then 11917 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11919$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11920if test "${lt_cv_dlopen_self_static+set}" = set; then : 11921 $as_echo_n "(cached) " >&6 11922else 11923 if test "$cross_compiling" = yes; then : 11924 lt_cv_dlopen_self_static=cross 11925else 11926 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11927 lt_status=$lt_dlunknown 11928 cat > conftest.$ac_ext <<_LT_EOF 11929#line $LINENO "configure" 11930#include "confdefs.h" 11931 11932#if HAVE_DLFCN_H 11933#include <dlfcn.h> 11934#endif 11935 11936#include <stdio.h> 11937 11938#ifdef RTLD_GLOBAL 11939# define LT_DLGLOBAL RTLD_GLOBAL 11940#else 11941# ifdef DL_GLOBAL 11942# define LT_DLGLOBAL DL_GLOBAL 11943# else 11944# define LT_DLGLOBAL 0 11945# endif 11946#endif 11947 11948/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11949 find out it does not work in some platform. */ 11950#ifndef LT_DLLAZY_OR_NOW 11951# ifdef RTLD_LAZY 11952# define LT_DLLAZY_OR_NOW RTLD_LAZY 11953# else 11954# ifdef DL_LAZY 11955# define LT_DLLAZY_OR_NOW DL_LAZY 11956# else 11957# ifdef RTLD_NOW 11958# define LT_DLLAZY_OR_NOW RTLD_NOW 11959# else 11960# ifdef DL_NOW 11961# define LT_DLLAZY_OR_NOW DL_NOW 11962# else 11963# define LT_DLLAZY_OR_NOW 0 11964# endif 11965# endif 11966# endif 11967# endif 11968#endif 11969 11970/* When -fvisbility=hidden is used, assume the code has been annotated 11971 correspondingly for the symbols needed. */ 11972#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11973int fnord () __attribute__((visibility("default"))); 11974#endif 11975 11976int fnord () { return 42; } 11977int main () 11978{ 11979 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11980 int status = $lt_dlunknown; 11981 11982 if (self) 11983 { 11984 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11985 else 11986 { 11987 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11988 else puts (dlerror ()); 11989 } 11990 /* dlclose (self); */ 11991 } 11992 else 11993 puts (dlerror ()); 11994 11995 return status; 11996} 11997_LT_EOF 11998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11999 (eval $ac_link) 2>&5 12000 ac_status=$? 12001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12002 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 12003 (./conftest; exit; ) >&5 2>/dev/null 12004 lt_status=$? 12005 case x$lt_status in 12006 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12007 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12008 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12009 esac 12010 else : 12011 # compilation failed 12012 lt_cv_dlopen_self_static=no 12013 fi 12014fi 12015rm -fr conftest* 12016 12017 12018fi 12019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12020$as_echo "$lt_cv_dlopen_self_static" >&6; } 12021 fi 12022 12023 CPPFLAGS="$save_CPPFLAGS" 12024 LDFLAGS="$save_LDFLAGS" 12025 LIBS="$save_LIBS" 12026 ;; 12027 esac 12028 12029 case $lt_cv_dlopen_self in 12030 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12031 *) enable_dlopen_self=unknown ;; 12032 esac 12033 12034 case $lt_cv_dlopen_self_static in 12035 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12036 *) enable_dlopen_self_static=unknown ;; 12037 esac 12038fi 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056striplib= 12057old_striplib= 12058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12059$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12060if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12061 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12062 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12064$as_echo "yes" >&6; } 12065else 12066# FIXME - insert some real tests, host_os isn't really good enough 12067 case $host_os in 12068 darwin*) 12069 if test -n "$STRIP" ; then 12070 striplib="$STRIP -x" 12071 old_striplib="$STRIP -S" 12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12073$as_echo "yes" >&6; } 12074 else 12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12076$as_echo "no" >&6; } 12077 fi 12078 ;; 12079 *) 12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12081$as_echo "no" >&6; } 12082 ;; 12083 esac 12084fi 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 # Report which library types will actually be built 12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12099$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12101$as_echo "$can_build_shared" >&6; } 12102 12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12104$as_echo_n "checking whether to build shared libraries... " >&6; } 12105 test "$can_build_shared" = "no" && enable_shared=no 12106 12107 # On AIX, shared libraries and static libraries use the same namespace, and 12108 # are all built from PIC. 12109 case $host_os in 12110 aix3*) 12111 test "$enable_shared" = yes && enable_static=no 12112 if test -n "$RANLIB"; then 12113 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12114 postinstall_cmds='$RANLIB $lib' 12115 fi 12116 ;; 12117 12118 aix[4-9]*) 12119 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12120 test "$enable_shared" = yes && enable_static=no 12121 fi 12122 ;; 12123 esac 12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12125$as_echo "$enable_shared" >&6; } 12126 12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12128$as_echo_n "checking whether to build static libraries... " >&6; } 12129 # Make sure either enable_shared or enable_static is yes. 12130 test "$enable_shared" = yes || enable_static=yes 12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12132$as_echo "$enable_static" >&6; } 12133 12134 12135 12136 12137fi 12138ac_ext=c 12139ac_cpp='$CPP $CPPFLAGS' 12140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12142ac_compiler_gnu=$ac_cv_c_compiler_gnu 12143 12144CC="$lt_save_CC" 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 ac_config_commands="$ac_config_commands libtool" 12161 12162 12163 12164 12165# Only expand once: 12166 12167 12168 12169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 12170$as_echo_n "checking whether ln -s works... " >&6; } 12171LN_S=$as_ln_s 12172if test "$LN_S" = "ln -s"; then 12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12174$as_echo "yes" >&6; } 12175else 12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 12177$as_echo "no, using $LN_S" >&6; } 12178fi 12179 12180for ac_prog in flex lex 12181do 12182 # Extract the first word of "$ac_prog", so it can be a program name with args. 12183set dummy $ac_prog; ac_word=$2 12184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12185$as_echo_n "checking for $ac_word... " >&6; } 12186if test "${ac_cv_prog_LEX+set}" = set; then : 12187 $as_echo_n "(cached) " >&6 12188else 12189 if test -n "$LEX"; then 12190 ac_cv_prog_LEX="$LEX" # Let the user override the test. 12191else 12192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12193for as_dir in $PATH 12194do 12195 IFS=$as_save_IFS 12196 test -z "$as_dir" && as_dir=. 12197 for ac_exec_ext in '' $ac_executable_extensions; do 12198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12199 ac_cv_prog_LEX="$ac_prog" 12200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12201 break 2 12202 fi 12203done 12204 done 12205IFS=$as_save_IFS 12206 12207fi 12208fi 12209LEX=$ac_cv_prog_LEX 12210if test -n "$LEX"; then 12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 12212$as_echo "$LEX" >&6; } 12213else 12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12215$as_echo "no" >&6; } 12216fi 12217 12218 12219 test -n "$LEX" && break 12220done 12221test -n "$LEX" || LEX=":" 12222 12223if test "x$LEX" != "x:"; then 12224 cat >conftest.l <<_ACEOF 12225%% 12226a { ECHO; } 12227b { REJECT; } 12228c { yymore (); } 12229d { yyless (1); } 12230e { yyless (input () != 0); } 12231f { unput (yytext[0]); } 12232. { BEGIN INITIAL; } 12233%% 12234#ifdef YYTEXT_POINTER 12235extern char *yytext; 12236#endif 12237int 12238main (void) 12239{ 12240 return ! yylex () + ! yywrap (); 12241} 12242_ACEOF 12243{ { ac_try="$LEX conftest.l" 12244case "(($ac_try" in 12245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12246 *) ac_try_echo=$ac_try;; 12247esac 12248eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12249$as_echo "$ac_try_echo"; } >&5 12250 (eval "$LEX conftest.l") 2>&5 12251 ac_status=$? 12252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12253 test $ac_status = 0; } 12254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 12255$as_echo_n "checking lex output file root... " >&6; } 12256if test "${ac_cv_prog_lex_root+set}" = set; then : 12257 $as_echo_n "(cached) " >&6 12258else 12259 12260if test -f lex.yy.c; then 12261 ac_cv_prog_lex_root=lex.yy 12262elif test -f lexyy.c; then 12263 ac_cv_prog_lex_root=lexyy 12264else 12265 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 12266fi 12267fi 12268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 12269$as_echo "$ac_cv_prog_lex_root" >&6; } 12270LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 12271 12272if test -z "${LEXLIB+set}"; then 12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 12274$as_echo_n "checking lex library... " >&6; } 12275if test "${ac_cv_lib_lex+set}" = set; then : 12276 $as_echo_n "(cached) " >&6 12277else 12278 12279 ac_save_LIBS=$LIBS 12280 ac_cv_lib_lex='none needed' 12281 for ac_lib in '' -lfl -ll; do 12282 LIBS="$ac_lib $ac_save_LIBS" 12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12284/* end confdefs.h. */ 12285`cat $LEX_OUTPUT_ROOT.c` 12286_ACEOF 12287if ac_fn_c_try_link "$LINENO"; then : 12288 ac_cv_lib_lex=$ac_lib 12289fi 12290rm -f core conftest.err conftest.$ac_objext \ 12291 conftest$ac_exeext conftest.$ac_ext 12292 test "$ac_cv_lib_lex" != 'none needed' && break 12293 done 12294 LIBS=$ac_save_LIBS 12295 12296fi 12297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 12298$as_echo "$ac_cv_lib_lex" >&6; } 12299 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 12300fi 12301 12302 12303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 12304$as_echo_n "checking whether yytext is a pointer... " >&6; } 12305if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : 12306 $as_echo_n "(cached) " >&6 12307else 12308 # POSIX says lex can declare yytext either as a pointer or an array; the 12309# default is implementation-dependent. Figure out which it is, since 12310# not all implementations provide the %pointer and %array declarations. 12311ac_cv_prog_lex_yytext_pointer=no 12312ac_save_LIBS=$LIBS 12313LIBS="$LEXLIB $ac_save_LIBS" 12314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12315/* end confdefs.h. */ 12316#define YYTEXT_POINTER 1 12317`cat $LEX_OUTPUT_ROOT.c` 12318_ACEOF 12319if ac_fn_c_try_link "$LINENO"; then : 12320 ac_cv_prog_lex_yytext_pointer=yes 12321fi 12322rm -f core conftest.err conftest.$ac_objext \ 12323 conftest$ac_exeext conftest.$ac_ext 12324LIBS=$ac_save_LIBS 12325 12326fi 12327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 12328$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 12329if test $ac_cv_prog_lex_yytext_pointer = yes; then 12330 12331$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h 12332 12333fi 12334rm -f conftest.l $LEX_OUTPUT_ROOT.c 12335 12336fi 12337if test "$LEX" = :; then 12338 LEX=${am_missing_run}flex 12339fi 12340for ac_prog in 'bison -y' byacc 12341do 12342 # Extract the first word of "$ac_prog", so it can be a program name with args. 12343set dummy $ac_prog; ac_word=$2 12344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12345$as_echo_n "checking for $ac_word... " >&6; } 12346if test "${ac_cv_prog_YACC+set}" = set; then : 12347 $as_echo_n "(cached) " >&6 12348else 12349 if test -n "$YACC"; then 12350 ac_cv_prog_YACC="$YACC" # Let the user override the test. 12351else 12352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12353for as_dir in $PATH 12354do 12355 IFS=$as_save_IFS 12356 test -z "$as_dir" && as_dir=. 12357 for ac_exec_ext in '' $ac_executable_extensions; do 12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12359 ac_cv_prog_YACC="$ac_prog" 12360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12361 break 2 12362 fi 12363done 12364 done 12365IFS=$as_save_IFS 12366 12367fi 12368fi 12369YACC=$ac_cv_prog_YACC 12370if test -n "$YACC"; then 12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 12372$as_echo "$YACC" >&6; } 12373else 12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12375$as_echo "no" >&6; } 12376fi 12377 12378 12379 test -n "$YACC" && break 12380done 12381test -n "$YACC" || YACC="yacc" 12382 12383 12384case "$host" in 12385*-*-linux*) ;; 12386*) as_fn_error "Linux only, dude!" "$LINENO" 5;; 12387esac 12388 12389if test -z "$ac_cv_prog_YACC" 12390then 12391 echo "*** Error: No suitable bison/yacc found. ***" 12392 echo " Please install the 'bison' package." 12393 exit 1 12394fi 12395if test -z "$ac_cv_prog_LEX" 12396then 12397 echo "*** Error: No suitable flex/lex found. ***" 12398 echo " Please install the 'flex' package." 12399 exit 1 12400fi 12401 12402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version" >&5 12403$as_echo_n "checking flex version... " >&6; } 12404flex_version=`$ac_cv_prog_LEX --version | sed 's/version//g' | awk '/flex/ {print $2}'` 12405flex_major=`echo $flex_version| cut -d . -f 1` 12406flex_minor=`echo $flex_version| cut -d . -f 2` 12407flex_rev=`echo $flex_version| cut -d . -f 3` 12408 12409if test "$flex_major" -eq "2" && test "$flex_minor" -eq "5" && test "$flex_rev" -ge "33"; then 12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flex_version. OK" >&5 12411$as_echo "$flex_version. OK" >&6; } 12412else 12413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: flex version $flex_version found. 12414 Version 2.5.33 or greater is required. You may experience problems 12415 while compilating the conntrack-tools. Please, consider to upgrade 12416 flex." >&5 12417$as_echo "$as_me: WARNING: flex version $flex_version found. 12418 Version 2.5.33 or greater is required. You may experience problems 12419 while compilating the conntrack-tools. Please, consider to upgrade 12420 flex." >&2;} 12421fi 12422 12423 12424 12425 12426 12427 12428 12429 12430if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12431 if test -n "$ac_tool_prefix"; then 12432 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12433set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12435$as_echo_n "checking for $ac_word... " >&6; } 12436if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12437 $as_echo_n "(cached) " >&6 12438else 12439 case $PKG_CONFIG in 12440 [\\/]* | ?:[\\/]*) 12441 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12442 ;; 12443 *) 12444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12445for as_dir in $PATH 12446do 12447 IFS=$as_save_IFS 12448 test -z "$as_dir" && as_dir=. 12449 for ac_exec_ext in '' $ac_executable_extensions; do 12450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12451 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12453 break 2 12454 fi 12455done 12456 done 12457IFS=$as_save_IFS 12458 12459 ;; 12460esac 12461fi 12462PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12463if test -n "$PKG_CONFIG"; then 12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12465$as_echo "$PKG_CONFIG" >&6; } 12466else 12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12468$as_echo "no" >&6; } 12469fi 12470 12471 12472fi 12473if test -z "$ac_cv_path_PKG_CONFIG"; then 12474 ac_pt_PKG_CONFIG=$PKG_CONFIG 12475 # Extract the first word of "pkg-config", so it can be a program name with args. 12476set dummy pkg-config; ac_word=$2 12477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12478$as_echo_n "checking for $ac_word... " >&6; } 12479if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 12480 $as_echo_n "(cached) " >&6 12481else 12482 case $ac_pt_PKG_CONFIG in 12483 [\\/]* | ?:[\\/]*) 12484 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12485 ;; 12486 *) 12487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12488for as_dir in $PATH 12489do 12490 IFS=$as_save_IFS 12491 test -z "$as_dir" && as_dir=. 12492 for ac_exec_ext in '' $ac_executable_extensions; do 12493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12494 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12496 break 2 12497 fi 12498done 12499 done 12500IFS=$as_save_IFS 12501 12502 ;; 12503esac 12504fi 12505ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12506if test -n "$ac_pt_PKG_CONFIG"; then 12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12508$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12509else 12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12511$as_echo "no" >&6; } 12512fi 12513 12514 if test "x$ac_pt_PKG_CONFIG" = x; then 12515 PKG_CONFIG="" 12516 else 12517 case $cross_compiling:$ac_tool_warned in 12518yes:) 12519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12521ac_tool_warned=yes ;; 12522esac 12523 PKG_CONFIG=$ac_pt_PKG_CONFIG 12524 fi 12525else 12526 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12527fi 12528 12529fi 12530if test -n "$PKG_CONFIG"; then 12531 _pkg_min_version=0.9.0 12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12533$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12534 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12536$as_echo "yes" >&6; } 12537 else 12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12539$as_echo "no" >&6; } 12540 PKG_CONFIG="" 12541 fi 12542fi 12543 12544pkg_failed=no 12545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNFNETLINK" >&5 12546$as_echo_n "checking for LIBNFNETLINK... " >&6; } 12547 12548if test -n "$LIBNFNETLINK_CFLAGS"; then 12549 pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS" 12550 elif test -n "$PKG_CONFIG"; then 12551 if test -n "$PKG_CONFIG" && \ 12552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5 12553 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5 12554 ac_status=$? 12555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12556 test $ac_status = 0; }; then 12557 pkg_cv_LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0.1" 2>/dev/null` 12558 test "x$?" != "x0" && pkg_failed=yes 12559else 12560 pkg_failed=yes 12561fi 12562 else 12563 pkg_failed=untried 12564fi 12565if test -n "$LIBNFNETLINK_LIBS"; then 12566 pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS" 12567 elif test -n "$PKG_CONFIG"; then 12568 if test -n "$PKG_CONFIG" && \ 12569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5 12570 ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5 12571 ac_status=$? 12572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12573 test $ac_status = 0; }; then 12574 pkg_cv_LIBNFNETLINK_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0.1" 2>/dev/null` 12575 test "x$?" != "x0" && pkg_failed=yes 12576else 12577 pkg_failed=yes 12578fi 12579 else 12580 pkg_failed=untried 12581fi 12582 12583 12584 12585if test $pkg_failed = yes; then 12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12587$as_echo "no" >&6; } 12588 12589if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12590 _pkg_short_errors_supported=yes 12591else 12592 _pkg_short_errors_supported=no 12593fi 12594 if test $_pkg_short_errors_supported = yes; then 12595 LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1` 12596 else 12597 LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1` 12598 fi 12599 # Put the nasty error message in config.log where it belongs 12600 echo "$LIBNFNETLINK_PKG_ERRORS" >&5 12601 12602 as_fn_error "Package requirements (libnfnetlink >= 1.0.1) were not met: 12603 12604$LIBNFNETLINK_PKG_ERRORS 12605 12606Consider adjusting the PKG_CONFIG_PATH environment variable if you 12607installed software in a non-standard prefix. 12608 12609Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS 12610and LIBNFNETLINK_LIBS to avoid the need to call pkg-config. 12611See the pkg-config man page for more details." "$LINENO" 5 12612elif test $pkg_failed = untried; then 12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12614$as_echo "no" >&6; } 12615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12617as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12618is in your PATH or set the PKG_CONFIG environment variable to the full 12619path to pkg-config. 12620 12621Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS 12622and LIBNFNETLINK_LIBS to avoid the need to call pkg-config. 12623See the pkg-config man page for more details. 12624 12625To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12626See \`config.log' for more details." "$LINENO" 5; } 12627else 12628 LIBNFNETLINK_CFLAGS=$pkg_cv_LIBNFNETLINK_CFLAGS 12629 LIBNFNETLINK_LIBS=$pkg_cv_LIBNFNETLINK_LIBS 12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12631$as_echo "yes" >&6; } 12632 12633fi 12634 12635pkg_failed=no 12636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMNL" >&5 12637$as_echo_n "checking for LIBMNL... " >&6; } 12638 12639if test -n "$LIBMNL_CFLAGS"; then 12640 pkg_cv_LIBMNL_CFLAGS="$LIBMNL_CFLAGS" 12641 elif test -n "$PKG_CONFIG"; then 12642 if test -n "$PKG_CONFIG" && \ 12643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5 12644 ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5 12645 ac_status=$? 12646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12647 test $ac_status = 0; }; then 12648 pkg_cv_LIBMNL_CFLAGS=`$PKG_CONFIG --cflags "libmnl >= 1.0.3" 2>/dev/null` 12649 test "x$?" != "x0" && pkg_failed=yes 12650else 12651 pkg_failed=yes 12652fi 12653 else 12654 pkg_failed=untried 12655fi 12656if test -n "$LIBMNL_LIBS"; then 12657 pkg_cv_LIBMNL_LIBS="$LIBMNL_LIBS" 12658 elif test -n "$PKG_CONFIG"; then 12659 if test -n "$PKG_CONFIG" && \ 12660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5 12661 ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5 12662 ac_status=$? 12663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12664 test $ac_status = 0; }; then 12665 pkg_cv_LIBMNL_LIBS=`$PKG_CONFIG --libs "libmnl >= 1.0.3" 2>/dev/null` 12666 test "x$?" != "x0" && pkg_failed=yes 12667else 12668 pkg_failed=yes 12669fi 12670 else 12671 pkg_failed=untried 12672fi 12673 12674 12675 12676if test $pkg_failed = yes; then 12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12678$as_echo "no" >&6; } 12679 12680if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12681 _pkg_short_errors_supported=yes 12682else 12683 _pkg_short_errors_supported=no 12684fi 12685 if test $_pkg_short_errors_supported = yes; then 12686 LIBMNL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1` 12687 else 12688 LIBMNL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1` 12689 fi 12690 # Put the nasty error message in config.log where it belongs 12691 echo "$LIBMNL_PKG_ERRORS" >&5 12692 12693 as_fn_error "Package requirements (libmnl >= 1.0.3) were not met: 12694 12695$LIBMNL_PKG_ERRORS 12696 12697Consider adjusting the PKG_CONFIG_PATH environment variable if you 12698installed software in a non-standard prefix. 12699 12700Alternatively, you may set the environment variables LIBMNL_CFLAGS 12701and LIBMNL_LIBS to avoid the need to call pkg-config. 12702See the pkg-config man page for more details." "$LINENO" 5 12703elif test $pkg_failed = untried; then 12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12705$as_echo "no" >&6; } 12706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12708as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12709is in your PATH or set the PKG_CONFIG environment variable to the full 12710path to pkg-config. 12711 12712Alternatively, you may set the environment variables LIBMNL_CFLAGS 12713and LIBMNL_LIBS to avoid the need to call pkg-config. 12714See the pkg-config man page for more details. 12715 12716To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12717See \`config.log' for more details." "$LINENO" 5; } 12718else 12719 LIBMNL_CFLAGS=$pkg_cv_LIBMNL_CFLAGS 12720 LIBMNL_LIBS=$pkg_cv_LIBMNL_LIBS 12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12722$as_echo "yes" >&6; } 12723 12724fi 12725 12726pkg_failed=no 12727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_CONNTRACK" >&5 12728$as_echo_n "checking for LIBNETFILTER_CONNTRACK... " >&6; } 12729 12730if test -n "$LIBNETFILTER_CONNTRACK_CFLAGS"; then 12731 pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS="$LIBNETFILTER_CONNTRACK_CFLAGS" 12732 elif test -n "$PKG_CONFIG"; then 12733 if test -n "$PKG_CONFIG" && \ 12734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5 12735 ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5 12736 ac_status=$? 12737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12738 test $ac_status = 0; }; then 12739 pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_conntrack >= 1.0.2" 2>/dev/null` 12740 test "x$?" != "x0" && pkg_failed=yes 12741else 12742 pkg_failed=yes 12743fi 12744 else 12745 pkg_failed=untried 12746fi 12747if test -n "$LIBNETFILTER_CONNTRACK_LIBS"; then 12748 pkg_cv_LIBNETFILTER_CONNTRACK_LIBS="$LIBNETFILTER_CONNTRACK_LIBS" 12749 elif test -n "$PKG_CONFIG"; then 12750 if test -n "$PKG_CONFIG" && \ 12751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5 12752 ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5 12753 ac_status=$? 12754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12755 test $ac_status = 0; }; then 12756 pkg_cv_LIBNETFILTER_CONNTRACK_LIBS=`$PKG_CONFIG --libs "libnetfilter_conntrack >= 1.0.2" 2>/dev/null` 12757 test "x$?" != "x0" && pkg_failed=yes 12758else 12759 pkg_failed=yes 12760fi 12761 else 12762 pkg_failed=untried 12763fi 12764 12765 12766 12767if test $pkg_failed = yes; then 12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12769$as_echo "no" >&6; } 12770 12771if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12772 _pkg_short_errors_supported=yes 12773else 12774 _pkg_short_errors_supported=no 12775fi 12776 if test $_pkg_short_errors_supported = yes; then 12777 LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1` 12778 else 12779 LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1` 12780 fi 12781 # Put the nasty error message in config.log where it belongs 12782 echo "$LIBNETFILTER_CONNTRACK_PKG_ERRORS" >&5 12783 12784 as_fn_error "Package requirements (libnetfilter_conntrack >= 1.0.2) were not met: 12785 12786$LIBNETFILTER_CONNTRACK_PKG_ERRORS 12787 12788Consider adjusting the PKG_CONFIG_PATH environment variable if you 12789installed software in a non-standard prefix. 12790 12791Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS 12792and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config. 12793See the pkg-config man page for more details." "$LINENO" 5 12794elif test $pkg_failed = untried; then 12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12796$as_echo "no" >&6; } 12797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12799as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12800is in your PATH or set the PKG_CONFIG environment variable to the full 12801path to pkg-config. 12802 12803Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS 12804and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config. 12805See the pkg-config man page for more details. 12806 12807To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12808See \`config.log' for more details." "$LINENO" 5; } 12809else 12810 LIBNETFILTER_CONNTRACK_CFLAGS=$pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS 12811 LIBNETFILTER_CONNTRACK_LIBS=$pkg_cv_LIBNETFILTER_CONNTRACK_LIBS 12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12813$as_echo "yes" >&6; } 12814 12815fi 12816 12817pkg_failed=no 12818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_CTTIMEOUT" >&5 12819$as_echo_n "checking for LIBNETFILTER_CTTIMEOUT... " >&6; } 12820 12821if test -n "$LIBNETFILTER_CTTIMEOUT_CFLAGS"; then 12822 pkg_cv_LIBNETFILTER_CTTIMEOUT_CFLAGS="$LIBNETFILTER_CTTIMEOUT_CFLAGS" 12823 elif test -n "$PKG_CONFIG"; then 12824 if test -n "$PKG_CONFIG" && \ 12825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_cttimeout >= 1.0.0\""; } >&5 12826 ($PKG_CONFIG --exists --print-errors "libnetfilter_cttimeout >= 1.0.0") 2>&5 12827 ac_status=$? 12828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12829 test $ac_status = 0; }; then 12830 pkg_cv_LIBNETFILTER_CTTIMEOUT_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_cttimeout >= 1.0.0" 2>/dev/null` 12831 test "x$?" != "x0" && pkg_failed=yes 12832else 12833 pkg_failed=yes 12834fi 12835 else 12836 pkg_failed=untried 12837fi 12838if test -n "$LIBNETFILTER_CTTIMEOUT_LIBS"; then 12839 pkg_cv_LIBNETFILTER_CTTIMEOUT_LIBS="$LIBNETFILTER_CTTIMEOUT_LIBS" 12840 elif test -n "$PKG_CONFIG"; then 12841 if test -n "$PKG_CONFIG" && \ 12842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_cttimeout >= 1.0.0\""; } >&5 12843 ($PKG_CONFIG --exists --print-errors "libnetfilter_cttimeout >= 1.0.0") 2>&5 12844 ac_status=$? 12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12846 test $ac_status = 0; }; then 12847 pkg_cv_LIBNETFILTER_CTTIMEOUT_LIBS=`$PKG_CONFIG --libs "libnetfilter_cttimeout >= 1.0.0" 2>/dev/null` 12848 test "x$?" != "x0" && pkg_failed=yes 12849else 12850 pkg_failed=yes 12851fi 12852 else 12853 pkg_failed=untried 12854fi 12855 12856 12857 12858if test $pkg_failed = yes; then 12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12860$as_echo "no" >&6; } 12861 12862if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12863 _pkg_short_errors_supported=yes 12864else 12865 _pkg_short_errors_supported=no 12866fi 12867 if test $_pkg_short_errors_supported = yes; then 12868 LIBNETFILTER_CTTIMEOUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_cttimeout >= 1.0.0" 2>&1` 12869 else 12870 LIBNETFILTER_CTTIMEOUT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_cttimeout >= 1.0.0" 2>&1` 12871 fi 12872 # Put the nasty error message in config.log where it belongs 12873 echo "$LIBNETFILTER_CTTIMEOUT_PKG_ERRORS" >&5 12874 12875 as_fn_error "Package requirements (libnetfilter_cttimeout >= 1.0.0) were not met: 12876 12877$LIBNETFILTER_CTTIMEOUT_PKG_ERRORS 12878 12879Consider adjusting the PKG_CONFIG_PATH environment variable if you 12880installed software in a non-standard prefix. 12881 12882Alternatively, you may set the environment variables LIBNETFILTER_CTTIMEOUT_CFLAGS 12883and LIBNETFILTER_CTTIMEOUT_LIBS to avoid the need to call pkg-config. 12884See the pkg-config man page for more details." "$LINENO" 5 12885elif test $pkg_failed = untried; then 12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12887$as_echo "no" >&6; } 12888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12890as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12891is in your PATH or set the PKG_CONFIG environment variable to the full 12892path to pkg-config. 12893 12894Alternatively, you may set the environment variables LIBNETFILTER_CTTIMEOUT_CFLAGS 12895and LIBNETFILTER_CTTIMEOUT_LIBS to avoid the need to call pkg-config. 12896See the pkg-config man page for more details. 12897 12898To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12899See \`config.log' for more details." "$LINENO" 5; } 12900else 12901 LIBNETFILTER_CTTIMEOUT_CFLAGS=$pkg_cv_LIBNETFILTER_CTTIMEOUT_CFLAGS 12902 LIBNETFILTER_CTTIMEOUT_LIBS=$pkg_cv_LIBNETFILTER_CTTIMEOUT_LIBS 12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12904$as_echo "yes" >&6; } 12905 12906fi 12907 12908pkg_failed=no 12909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_CTHELPER" >&5 12910$as_echo_n "checking for LIBNETFILTER_CTHELPER... " >&6; } 12911 12912if test -n "$LIBNETFILTER_CTHELPER_CFLAGS"; then 12913 pkg_cv_LIBNETFILTER_CTHELPER_CFLAGS="$LIBNETFILTER_CTHELPER_CFLAGS" 12914 elif test -n "$PKG_CONFIG"; then 12915 if test -n "$PKG_CONFIG" && \ 12916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_cthelper >= 1.0.0\""; } >&5 12917 ($PKG_CONFIG --exists --print-errors "libnetfilter_cthelper >= 1.0.0") 2>&5 12918 ac_status=$? 12919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12920 test $ac_status = 0; }; then 12921 pkg_cv_LIBNETFILTER_CTHELPER_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_cthelper >= 1.0.0" 2>/dev/null` 12922 test "x$?" != "x0" && pkg_failed=yes 12923else 12924 pkg_failed=yes 12925fi 12926 else 12927 pkg_failed=untried 12928fi 12929if test -n "$LIBNETFILTER_CTHELPER_LIBS"; then 12930 pkg_cv_LIBNETFILTER_CTHELPER_LIBS="$LIBNETFILTER_CTHELPER_LIBS" 12931 elif test -n "$PKG_CONFIG"; then 12932 if test -n "$PKG_CONFIG" && \ 12933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_cthelper >= 1.0.0\""; } >&5 12934 ($PKG_CONFIG --exists --print-errors "libnetfilter_cthelper >= 1.0.0") 2>&5 12935 ac_status=$? 12936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12937 test $ac_status = 0; }; then 12938 pkg_cv_LIBNETFILTER_CTHELPER_LIBS=`$PKG_CONFIG --libs "libnetfilter_cthelper >= 1.0.0" 2>/dev/null` 12939 test "x$?" != "x0" && pkg_failed=yes 12940else 12941 pkg_failed=yes 12942fi 12943 else 12944 pkg_failed=untried 12945fi 12946 12947 12948 12949if test $pkg_failed = yes; then 12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12951$as_echo "no" >&6; } 12952 12953if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12954 _pkg_short_errors_supported=yes 12955else 12956 _pkg_short_errors_supported=no 12957fi 12958 if test $_pkg_short_errors_supported = yes; then 12959 LIBNETFILTER_CTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_cthelper >= 1.0.0" 2>&1` 12960 else 12961 LIBNETFILTER_CTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_cthelper >= 1.0.0" 2>&1` 12962 fi 12963 # Put the nasty error message in config.log where it belongs 12964 echo "$LIBNETFILTER_CTHELPER_PKG_ERRORS" >&5 12965 12966 as_fn_error "Package requirements (libnetfilter_cthelper >= 1.0.0) were not met: 12967 12968$LIBNETFILTER_CTHELPER_PKG_ERRORS 12969 12970Consider adjusting the PKG_CONFIG_PATH environment variable if you 12971installed software in a non-standard prefix. 12972 12973Alternatively, you may set the environment variables LIBNETFILTER_CTHELPER_CFLAGS 12974and LIBNETFILTER_CTHELPER_LIBS to avoid the need to call pkg-config. 12975See the pkg-config man page for more details." "$LINENO" 5 12976elif test $pkg_failed = untried; then 12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12978$as_echo "no" >&6; } 12979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12981as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12982is in your PATH or set the PKG_CONFIG environment variable to the full 12983path to pkg-config. 12984 12985Alternatively, you may set the environment variables LIBNETFILTER_CTHELPER_CFLAGS 12986and LIBNETFILTER_CTHELPER_LIBS to avoid the need to call pkg-config. 12987See the pkg-config man page for more details. 12988 12989To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12990See \`config.log' for more details." "$LINENO" 5; } 12991else 12992 LIBNETFILTER_CTHELPER_CFLAGS=$pkg_cv_LIBNETFILTER_CTHELPER_CFLAGS 12993 LIBNETFILTER_CTHELPER_LIBS=$pkg_cv_LIBNETFILTER_CTHELPER_LIBS 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12995$as_echo "yes" >&6; } 12996 12997fi 12998 12999pkg_failed=no 13000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_QUEUE" >&5 13001$as_echo_n "checking for LIBNETFILTER_QUEUE... " >&6; } 13002 13003if test -n "$LIBNETFILTER_QUEUE_CFLAGS"; then 13004 pkg_cv_LIBNETFILTER_QUEUE_CFLAGS="$LIBNETFILTER_QUEUE_CFLAGS" 13005 elif test -n "$PKG_CONFIG"; then 13006 if test -n "$PKG_CONFIG" && \ 13007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_queue >= 1.0.2\""; } >&5 13008 ($PKG_CONFIG --exists --print-errors "libnetfilter_queue >= 1.0.2") 2>&5 13009 ac_status=$? 13010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13011 test $ac_status = 0; }; then 13012 pkg_cv_LIBNETFILTER_QUEUE_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_queue >= 1.0.2" 2>/dev/null` 13013 test "x$?" != "x0" && pkg_failed=yes 13014else 13015 pkg_failed=yes 13016fi 13017 else 13018 pkg_failed=untried 13019fi 13020if test -n "$LIBNETFILTER_QUEUE_LIBS"; then 13021 pkg_cv_LIBNETFILTER_QUEUE_LIBS="$LIBNETFILTER_QUEUE_LIBS" 13022 elif test -n "$PKG_CONFIG"; then 13023 if test -n "$PKG_CONFIG" && \ 13024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_queue >= 1.0.2\""; } >&5 13025 ($PKG_CONFIG --exists --print-errors "libnetfilter_queue >= 1.0.2") 2>&5 13026 ac_status=$? 13027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13028 test $ac_status = 0; }; then 13029 pkg_cv_LIBNETFILTER_QUEUE_LIBS=`$PKG_CONFIG --libs "libnetfilter_queue >= 1.0.2" 2>/dev/null` 13030 test "x$?" != "x0" && pkg_failed=yes 13031else 13032 pkg_failed=yes 13033fi 13034 else 13035 pkg_failed=untried 13036fi 13037 13038 13039 13040if test $pkg_failed = yes; then 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13042$as_echo "no" >&6; } 13043 13044if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13045 _pkg_short_errors_supported=yes 13046else 13047 _pkg_short_errors_supported=no 13048fi 13049 if test $_pkg_short_errors_supported = yes; then 13050 LIBNETFILTER_QUEUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_queue >= 1.0.2" 2>&1` 13051 else 13052 LIBNETFILTER_QUEUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_queue >= 1.0.2" 2>&1` 13053 fi 13054 # Put the nasty error message in config.log where it belongs 13055 echo "$LIBNETFILTER_QUEUE_PKG_ERRORS" >&5 13056 13057 as_fn_error "Package requirements (libnetfilter_queue >= 1.0.2) were not met: 13058 13059$LIBNETFILTER_QUEUE_PKG_ERRORS 13060 13061Consider adjusting the PKG_CONFIG_PATH environment variable if you 13062installed software in a non-standard prefix. 13063 13064Alternatively, you may set the environment variables LIBNETFILTER_QUEUE_CFLAGS 13065and LIBNETFILTER_QUEUE_LIBS to avoid the need to call pkg-config. 13066See the pkg-config man page for more details." "$LINENO" 5 13067elif test $pkg_failed = untried; then 13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13069$as_echo "no" >&6; } 13070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13072as_fn_error "The pkg-config script could not be found or is too old. Make sure it 13073is in your PATH or set the PKG_CONFIG environment variable to the full 13074path to pkg-config. 13075 13076Alternatively, you may set the environment variables LIBNETFILTER_QUEUE_CFLAGS 13077and LIBNETFILTER_QUEUE_LIBS to avoid the need to call pkg-config. 13078See the pkg-config man page for more details. 13079 13080To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13081See \`config.log' for more details." "$LINENO" 5; } 13082else 13083 LIBNETFILTER_QUEUE_CFLAGS=$pkg_cv_LIBNETFILTER_QUEUE_CFLAGS 13084 LIBNETFILTER_QUEUE_LIBS=$pkg_cv_LIBNETFILTER_QUEUE_LIBS 13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13086$as_echo "yes" >&6; } 13087 13088fi 13089 13090for ac_header in linux/capability.h 13091do : 13092 ac_fn_c_check_header_mongrel "$LINENO" "linux/capability.h" "ac_cv_header_linux_capability_h" "$ac_includes_default" 13093if test "x$ac_cv_header_linux_capability_h" = x""yes; then : 13094 cat >>confdefs.h <<_ACEOF 13095@%:@define HAVE_LINUX_CAPABILITY_H 1 13096_ACEOF 13097 13098else 13099 as_fn_error "Cannot find linux/capabibility.h" "$LINENO" 5 13100fi 13101 13102done 13103 13104 13105# Checks for libraries. 13106# FIXME: Replace `main' with a function in `-lc': 13107# FIXME: Replace `main' with a function in `-ldl': 13108 13109for ac_header in arpa/inet.h 13110do : 13111 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 13112if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 13113 cat >>confdefs.h <<_ACEOF 13114@%:@define HAVE_ARPA_INET_H 1 13115_ACEOF 13116 13117fi 13118 13119done 13120 13121for ac_func in inet_pton 13122do : 13123 ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" 13124if test "x$ac_cv_func_inet_pton" = x""yes; then : 13125 cat >>confdefs.h <<_ACEOF 13126@%:@define HAVE_INET_PTON 1 13127_ACEOF 13128 13129fi 13130done 13131 13132if test "$ac_cv_func_inet_pton" = "yes" ; then 13133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton supports IPv6" >&5 13134$as_echo_n "checking if inet_pton supports IPv6... " >&6; } 13135if test "$cross_compiling" = yes; then : 13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13137$as_echo "no" >&6; } 13138else 13139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13140/* end confdefs.h. */ 13141 13142#ifdef HAVE_SYS_TYPES_H 13143#include <sys/types.h> 13144#endif 13145#ifdef HAVE_SYS_SOCKET_H 13146#include <sys/socket.h> 13147#endif 13148#ifdef HAVE_NETINET_IN_H 13149#include <netinet/in.h> 13150#endif 13151#ifdef HAVE_ARPA_INET_H 13152#include <arpa/inet.h> 13153#endif 13154int main() 13155 { 13156 struct in6_addr addr6; 13157 if (inet_pton(AF_INET6, "::1", &addr6) < 1) 13158 exit(1); 13159 else 13160 exit(0); 13161 } 13162 13163_ACEOF 13164if ac_fn_c_try_run "$LINENO"; then : 13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13166$as_echo "yes" >&6; } 13167 13168cat >>confdefs.h <<_ACEOF 13169@%:@define HAVE_INET_PTON_IPV6 1 13170_ACEOF 13171 13172 13173else 13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13175$as_echo "no" >&6; } 13176fi 13177rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13178 conftest.$ac_objext conftest.beam conftest.$ac_ext 13179fi 13180 13181fi 13182 13183# Checks for header files. 13184 13185# Checks for typedefs, structures, and compiler characteristics. 13186 13187# Checks for library functions. 13188 13189 13190if test ! -z "$libdir"; then 13191 MODULE_DIR="\\\"$libdir/conntrack-tools/\\\"" 13192 CFLAGS="$CFLAGS -DCONNTRACKD_LIB_DIR=$MODULE_DIR" 13193fi 13194 13195ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile include/linux/Makefile include/linux/netfilter/Makefile extensions/Makefile src/helpers/Makefile" 13196 13197cat >confcache <<\_ACEOF 13198# This file is a shell script that caches the results of configure 13199# tests run on this system so they can be shared between configure 13200# scripts and configure runs, see configure's option --config-cache. 13201# It is not useful on other systems. If it contains results you don't 13202# want to keep, you may remove or edit it. 13203# 13204# config.status only pays attention to the cache file if you give it 13205# the --recheck option to rerun configure. 13206# 13207# `ac_cv_env_foo' variables (set or unset) will be overridden when 13208# loading this file, other *unset* `ac_cv_foo' will be assigned the 13209# following values. 13210 13211_ACEOF 13212 13213# The following way of writing the cache mishandles newlines in values, 13214# but we know of no workaround that is simple, portable, and efficient. 13215# So, we kill variables containing newlines. 13216# Ultrix sh set writes to stderr and can't be redirected directly, 13217# and sets the high bit in the cache file unless we assign to the vars. 13218( 13219 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13220 eval ac_val=\$$ac_var 13221 case $ac_val in #( 13222 *${as_nl}*) 13223 case $ac_var in #( 13224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13225$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13226 esac 13227 case $ac_var in #( 13228 _ | IFS | as_nl) ;; #( 13229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13230 *) { eval $ac_var=; unset $ac_var;} ;; 13231 esac ;; 13232 esac 13233 done 13234 13235 (set) 2>&1 | 13236 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13237 *${as_nl}ac_space=\ *) 13238 # `set' does not quote correctly, so add quotes: double-quote 13239 # substitution turns \\\\ into \\, and sed turns \\ into \. 13240 sed -n \ 13241 "s/'/'\\\\''/g; 13242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13243 ;; #( 13244 *) 13245 # `set' quotes correctly as required by POSIX, so do not add quotes. 13246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13247 ;; 13248 esac | 13249 sort 13250) | 13251 sed ' 13252 /^ac_cv_env_/b end 13253 t clear 13254 :clear 13255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13256 t end 13257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13258 :end' >>confcache 13259if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13260 if test -w "$cache_file"; then 13261 test "x$cache_file" != "x/dev/null" && 13262 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13263$as_echo "$as_me: updating cache $cache_file" >&6;} 13264 cat confcache >$cache_file 13265 else 13266 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13267$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13268 fi 13269fi 13270rm -f confcache 13271 13272test "x$prefix" = xNONE && prefix=$ac_default_prefix 13273# Let make expand exec_prefix. 13274test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13275 13276# Transform confdefs.h into DEFS. 13277# Protect against shell expansion while executing Makefile rules. 13278# Protect against Makefile macro expansion. 13279# 13280# If the first sed substitution is executed (which looks for macros that 13281# take arguments), then branch to the quote section. Otherwise, 13282# look for a macro that doesn't take arguments. 13283ac_script=' 13284:mline 13285/\\$/{ 13286 N 13287 s,\\\n,, 13288 b mline 13289} 13290t clear 13291:clear 13292s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 13293t quote 13294s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 13295t quote 13296b any 13297:quote 13298s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 13299s/\[/\\&/g 13300s/\]/\\&/g 13301s/\$/$$/g 13302H 13303:any 13304${ 13305 g 13306 s/^\n// 13307 s/\n/ /g 13308 p 13309} 13310' 13311DEFS=`sed -n "$ac_script" confdefs.h` 13312 13313 13314ac_libobjs= 13315ac_ltlibobjs= 13316for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 13317 # 1. Remove the extension, and $U if already installed. 13318 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13319 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13320 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13321 # will be set to the directory where LIBOBJS objects are built. 13322 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13323 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13324done 13325LIB@&t@OBJS=$ac_libobjs 13326 13327LTLIBOBJS=$ac_ltlibobjs 13328 13329 13330 if test -n "$EXEEXT"; then 13331 am__EXEEXT_TRUE= 13332 am__EXEEXT_FALSE='#' 13333else 13334 am__EXEEXT_TRUE='#' 13335 am__EXEEXT_FALSE= 13336fi 13337 13338if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13339 as_fn_error "conditional \"AMDEP\" was never defined. 13340Usually this means the macro was only invoked conditionally." "$LINENO" 5 13341fi 13342if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13343 as_fn_error "conditional \"am__fastdepCC\" was never defined. 13344Usually this means the macro was only invoked conditionally." "$LINENO" 5 13345fi 13346if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13347 as_fn_error "conditional \"am__fastdepCC\" was never defined. 13348Usually this means the macro was only invoked conditionally." "$LINENO" 5 13349fi 13350 13351: ${CONFIG_STATUS=./config.status} 13352ac_write_fail=0 13353ac_clean_files_save=$ac_clean_files 13354ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13355{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13356$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13357as_write_fail=0 13358cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13359#! $SHELL 13360# Generated by $as_me. 13361# Run this file to recreate the current configuration. 13362# Compiler output produced by configure, useful for debugging 13363# configure, is in config.log if it exists. 13364 13365debug=false 13366ac_cs_recheck=false 13367ac_cs_silent=false 13368 13369SHELL=\${CONFIG_SHELL-$SHELL} 13370export SHELL 13371_ASEOF 13372cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13373## -------------------- ## 13374## M4sh Initialization. ## 13375## -------------------- ## 13376 13377# Be more Bourne compatible 13378DUALCASE=1; export DUALCASE # for MKS sh 13379if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13380 emulate sh 13381 NULLCMD=: 13382 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13383 # is contrary to our usage. Disable this feature. 13384 alias -g '${1+"$@"}'='"$@"' 13385 setopt NO_GLOB_SUBST 13386else 13387 case `(set -o) 2>/dev/null` in @%:@( 13388 *posix*) : 13389 set -o posix ;; @%:@( 13390 *) : 13391 ;; 13392esac 13393fi 13394 13395 13396as_nl=' 13397' 13398export as_nl 13399# Printing a long string crashes Solaris 7 /usr/bin/printf. 13400as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13401as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13402as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13403# Prefer a ksh shell builtin over an external printf program on Solaris, 13404# but without wasting forks for bash or zsh. 13405if test -z "$BASH_VERSION$ZSH_VERSION" \ 13406 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13407 as_echo='print -r --' 13408 as_echo_n='print -rn --' 13409elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13410 as_echo='printf %s\n' 13411 as_echo_n='printf %s' 13412else 13413 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13414 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13415 as_echo_n='/usr/ucb/echo -n' 13416 else 13417 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13418 as_echo_n_body='eval 13419 arg=$1; 13420 case $arg in @%:@( 13421 *"$as_nl"*) 13422 expr "X$arg" : "X\\(.*\\)$as_nl"; 13423 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13424 esac; 13425 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13426 ' 13427 export as_echo_n_body 13428 as_echo_n='sh -c $as_echo_n_body as_echo' 13429 fi 13430 export as_echo_body 13431 as_echo='sh -c $as_echo_body as_echo' 13432fi 13433 13434# The user is always right. 13435if test "${PATH_SEPARATOR+set}" != set; then 13436 PATH_SEPARATOR=: 13437 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13438 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13439 PATH_SEPARATOR=';' 13440 } 13441fi 13442 13443 13444# IFS 13445# We need space, tab and new line, in precisely that order. Quoting is 13446# there to prevent editors from complaining about space-tab. 13447# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13448# splitting by setting IFS to empty value.) 13449IFS=" "" $as_nl" 13450 13451# Find who we are. Look in the path if we contain no directory separator. 13452case $0 in @%:@(( 13453 *[\\/]* ) as_myself=$0 ;; 13454 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13455for as_dir in $PATH 13456do 13457 IFS=$as_save_IFS 13458 test -z "$as_dir" && as_dir=. 13459 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13460 done 13461IFS=$as_save_IFS 13462 13463 ;; 13464esac 13465# We did not find ourselves, most probably we were run as `sh COMMAND' 13466# in which case we are not to be found in the path. 13467if test "x$as_myself" = x; then 13468 as_myself=$0 13469fi 13470if test ! -f "$as_myself"; then 13471 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13472 exit 1 13473fi 13474 13475# Unset variables that we do not need and which cause bugs (e.g. in 13476# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13477# suppresses any "Segmentation fault" message there. '((' could 13478# trigger a bug in pdksh 5.2.14. 13479for as_var in BASH_ENV ENV MAIL MAILPATH 13480do eval test x\${$as_var+set} = xset \ 13481 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13482done 13483PS1='$ ' 13484PS2='> ' 13485PS4='+ ' 13486 13487# NLS nuisances. 13488LC_ALL=C 13489export LC_ALL 13490LANGUAGE=C 13491export LANGUAGE 13492 13493# CDPATH. 13494(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13495 13496 13497@%:@ as_fn_error ERROR [LINENO LOG_FD] 13498@%:@ --------------------------------- 13499@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13500@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13501@%:@ script with status @S|@?, using 1 if that was 0. 13502as_fn_error () 13503{ 13504 as_status=$?; test $as_status -eq 0 && as_status=1 13505 if test "$3"; then 13506 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13507 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13508 fi 13509 $as_echo "$as_me: error: $1" >&2 13510 as_fn_exit $as_status 13511} @%:@ as_fn_error 13512 13513 13514@%:@ as_fn_set_status STATUS 13515@%:@ ----------------------- 13516@%:@ Set @S|@? to STATUS, without forking. 13517as_fn_set_status () 13518{ 13519 return $1 13520} @%:@ as_fn_set_status 13521 13522@%:@ as_fn_exit STATUS 13523@%:@ ----------------- 13524@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13525as_fn_exit () 13526{ 13527 set +e 13528 as_fn_set_status $1 13529 exit $1 13530} @%:@ as_fn_exit 13531 13532@%:@ as_fn_unset VAR 13533@%:@ --------------- 13534@%:@ Portably unset VAR. 13535as_fn_unset () 13536{ 13537 { eval $1=; unset $1;} 13538} 13539as_unset=as_fn_unset 13540@%:@ as_fn_append VAR VALUE 13541@%:@ ---------------------- 13542@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 13543@%:@ advantage of any shell optimizations that allow amortized linear growth over 13544@%:@ repeated appends, instead of the typical quadratic growth present in naive 13545@%:@ implementations. 13546if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13547 eval 'as_fn_append () 13548 { 13549 eval $1+=\$2 13550 }' 13551else 13552 as_fn_append () 13553 { 13554 eval $1=\$$1\$2 13555 } 13556fi # as_fn_append 13557 13558@%:@ as_fn_arith ARG... 13559@%:@ ------------------ 13560@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 13561@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 13562@%:@ must be portable across @S|@(()) and expr. 13563if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13564 eval 'as_fn_arith () 13565 { 13566 as_val=$(( $* )) 13567 }' 13568else 13569 as_fn_arith () 13570 { 13571 as_val=`expr "$@" || test $? -eq 1` 13572 } 13573fi # as_fn_arith 13574 13575 13576if expr a : '\(a\)' >/dev/null 2>&1 && 13577 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13578 as_expr=expr 13579else 13580 as_expr=false 13581fi 13582 13583if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13584 as_basename=basename 13585else 13586 as_basename=false 13587fi 13588 13589if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13590 as_dirname=dirname 13591else 13592 as_dirname=false 13593fi 13594 13595as_me=`$as_basename -- "$0" || 13596$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13597 X"$0" : 'X\(//\)$' \| \ 13598 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13599$as_echo X/"$0" | 13600 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13601 s//\1/ 13602 q 13603 } 13604 /^X\/\(\/\/\)$/{ 13605 s//\1/ 13606 q 13607 } 13608 /^X\/\(\/\).*/{ 13609 s//\1/ 13610 q 13611 } 13612 s/.*/./; q'` 13613 13614# Avoid depending upon Character Ranges. 13615as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13616as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13617as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13618as_cr_digits='0123456789' 13619as_cr_alnum=$as_cr_Letters$as_cr_digits 13620 13621ECHO_C= ECHO_N= ECHO_T= 13622case `echo -n x` in @%:@((((( 13623-n*) 13624 case `echo 'xy\c'` in 13625 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13626 xy) ECHO_C='\c';; 13627 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13628 ECHO_T=' ';; 13629 esac;; 13630*) 13631 ECHO_N='-n';; 13632esac 13633 13634rm -f conf$$ conf$$.exe conf$$.file 13635if test -d conf$$.dir; then 13636 rm -f conf$$.dir/conf$$.file 13637else 13638 rm -f conf$$.dir 13639 mkdir conf$$.dir 2>/dev/null 13640fi 13641if (echo >conf$$.file) 2>/dev/null; then 13642 if ln -s conf$$.file conf$$ 2>/dev/null; then 13643 as_ln_s='ln -s' 13644 # ... but there are two gotchas: 13645 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13646 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13647 # In both cases, we have to default to `cp -p'. 13648 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13649 as_ln_s='cp -p' 13650 elif ln conf$$.file conf$$ 2>/dev/null; then 13651 as_ln_s=ln 13652 else 13653 as_ln_s='cp -p' 13654 fi 13655else 13656 as_ln_s='cp -p' 13657fi 13658rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13659rmdir conf$$.dir 2>/dev/null 13660 13661 13662@%:@ as_fn_mkdir_p 13663@%:@ ------------- 13664@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 13665as_fn_mkdir_p () 13666{ 13667 13668 case $as_dir in #( 13669 -*) as_dir=./$as_dir;; 13670 esac 13671 test -d "$as_dir" || eval $as_mkdir_p || { 13672 as_dirs= 13673 while :; do 13674 case $as_dir in #( 13675 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13676 *) as_qdir=$as_dir;; 13677 esac 13678 as_dirs="'$as_qdir' $as_dirs" 13679 as_dir=`$as_dirname -- "$as_dir" || 13680$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13681 X"$as_dir" : 'X\(//\)[^/]' \| \ 13682 X"$as_dir" : 'X\(//\)$' \| \ 13683 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13684$as_echo X"$as_dir" | 13685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13686 s//\1/ 13687 q 13688 } 13689 /^X\(\/\/\)[^/].*/{ 13690 s//\1/ 13691 q 13692 } 13693 /^X\(\/\/\)$/{ 13694 s//\1/ 13695 q 13696 } 13697 /^X\(\/\).*/{ 13698 s//\1/ 13699 q 13700 } 13701 s/.*/./; q'` 13702 test -d "$as_dir" && break 13703 done 13704 test -z "$as_dirs" || eval "mkdir $as_dirs" 13705 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 13706 13707 13708} @%:@ as_fn_mkdir_p 13709if mkdir -p . 2>/dev/null; then 13710 as_mkdir_p='mkdir -p "$as_dir"' 13711else 13712 test -d ./-p && rmdir ./-p 13713 as_mkdir_p=false 13714fi 13715 13716if test -x / >/dev/null 2>&1; then 13717 as_test_x='test -x' 13718else 13719 if ls -dL / >/dev/null 2>&1; then 13720 as_ls_L_option=L 13721 else 13722 as_ls_L_option= 13723 fi 13724 as_test_x=' 13725 eval sh -c '\'' 13726 if test -d "$1"; then 13727 test -d "$1/."; 13728 else 13729 case $1 in @%:@( 13730 -*)set "./$1";; 13731 esac; 13732 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( 13733 ???[sx]*):;;*)false;;esac;fi 13734 '\'' sh 13735 ' 13736fi 13737as_executable_p=$as_test_x 13738 13739# Sed expression to map a string onto a valid CPP name. 13740as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13741 13742# Sed expression to map a string onto a valid variable name. 13743as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13744 13745 13746exec 6>&1 13747## ----------------------------------- ## 13748## Main body of $CONFIG_STATUS script. ## 13749## ----------------------------------- ## 13750_ASEOF 13751test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13752 13753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13754# Save the log message, to keep $0 and so on meaningful, and to 13755# report actual input values of CONFIG_FILES etc. instead of their 13756# values after options handling. 13757ac_log=" 13758This file was extended by conntrack-tools $as_me 1.4.0, which was 13759generated by GNU Autoconf 2.65. Invocation command line was 13760 13761 CONFIG_FILES = $CONFIG_FILES 13762 CONFIG_HEADERS = $CONFIG_HEADERS 13763 CONFIG_LINKS = $CONFIG_LINKS 13764 CONFIG_COMMANDS = $CONFIG_COMMANDS 13765 $ $0 $@ 13766 13767on `(hostname || uname -n) 2>/dev/null | sed 1q` 13768" 13769 13770_ACEOF 13771 13772case $ac_config_files in *" 13773"*) set x $ac_config_files; shift; ac_config_files=$*;; 13774esac 13775 13776 13777 13778cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13779# Files that config.status was made for. 13780config_files="$ac_config_files" 13781config_commands="$ac_config_commands" 13782 13783_ACEOF 13784 13785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13786ac_cs_usage="\ 13787\`$as_me' instantiates files and other configuration actions 13788from templates according to the current configuration. Unless the files 13789and actions are specified as TAGs, all are instantiated by default. 13790 13791Usage: $0 [OPTION]... [TAG]... 13792 13793 -h, --help print this help, then exit 13794 -V, --version print version number and configuration settings, then exit 13795 --config print configuration, then exit 13796 -q, --quiet, --silent 13797 do not print progress messages 13798 -d, --debug don't remove temporary files 13799 --recheck update $as_me by reconfiguring in the same conditions 13800 --file=FILE[:TEMPLATE] 13801 instantiate the configuration file FILE 13802 13803Configuration files: 13804$config_files 13805 13806Configuration commands: 13807$config_commands 13808 13809Report bugs to <pablo@netfilter.org>." 13810 13811_ACEOF 13812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13813ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13814ac_cs_version="\\ 13815conntrack-tools config.status 1.4.0 13816configured by $0, generated by GNU Autoconf 2.65, 13817 with options \\"\$ac_cs_config\\" 13818 13819Copyright (C) 2009 Free Software Foundation, Inc. 13820This config.status script is free software; the Free Software Foundation 13821gives unlimited permission to copy, distribute and modify it." 13822 13823ac_pwd='$ac_pwd' 13824srcdir='$srcdir' 13825INSTALL='$INSTALL' 13826MKDIR_P='$MKDIR_P' 13827AWK='$AWK' 13828test -n "\$AWK" || AWK=awk 13829_ACEOF 13830 13831cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13832# The default lists apply if the user does not specify any file. 13833ac_need_defaults=: 13834while test $# != 0 13835do 13836 case $1 in 13837 --*=*) 13838 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13840 ac_shift=: 13841 ;; 13842 *) 13843 ac_option=$1 13844 ac_optarg=$2 13845 ac_shift=shift 13846 ;; 13847 esac 13848 13849 case $ac_option in 13850 # Handling of the options. 13851 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13852 ac_cs_recheck=: ;; 13853 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13854 $as_echo "$ac_cs_version"; exit ;; 13855 --config | --confi | --conf | --con | --co | --c ) 13856 $as_echo "$ac_cs_config"; exit ;; 13857 --debug | --debu | --deb | --de | --d | -d ) 13858 debug=: ;; 13859 --file | --fil | --fi | --f ) 13860 $ac_shift 13861 case $ac_optarg in 13862 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13863 esac 13864 as_fn_append CONFIG_FILES " '$ac_optarg'" 13865 ac_need_defaults=false;; 13866 --he | --h | --help | --hel | -h ) 13867 $as_echo "$ac_cs_usage"; exit ;; 13868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13869 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13870 ac_cs_silent=: ;; 13871 13872 # This is an error. 13873 -*) as_fn_error "unrecognized option: \`$1' 13874Try \`$0 --help' for more information." ;; 13875 13876 *) as_fn_append ac_config_targets " $1" 13877 ac_need_defaults=false ;; 13878 13879 esac 13880 shift 13881done 13882 13883ac_configure_extra_args= 13884 13885if $ac_cs_silent; then 13886 exec 6>/dev/null 13887 ac_configure_extra_args="$ac_configure_extra_args --silent" 13888fi 13889 13890_ACEOF 13891cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13892if \$ac_cs_recheck; then 13893 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13894 shift 13895 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13896 CONFIG_SHELL='$SHELL' 13897 export CONFIG_SHELL 13898 exec "\$@" 13899fi 13900 13901_ACEOF 13902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13903exec 5>>config.log 13904{ 13905 echo 13906 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 13907@%:@@%:@ Running $as_me. @%:@@%:@ 13908_ASBOX 13909 $as_echo "$ac_log" 13910} >&5 13911 13912_ACEOF 13913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13914# 13915# INIT-COMMANDS 13916# 13917AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13918 13919 13920# The HP-UX ksh and POSIX shell print the target directory to stdout 13921# if CDPATH is set. 13922(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13923 13924sed_quote_subst='$sed_quote_subst' 13925double_quote_subst='$double_quote_subst' 13926delay_variable_subst='$delay_variable_subst' 13927enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13928macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13929macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13930enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13931pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13932enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13933SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13934ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13935PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13936host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13937host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13938host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13939build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13940build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13941build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13942SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13943Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13944GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13945EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13946FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13947LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13948NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13949LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13950max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13951ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13952exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13953lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13954lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13955lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13956lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13957lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13958reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13959reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13960OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13961deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13962file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13963file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13964want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13965DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13966sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13967AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13968AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13969archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13970STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13971RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13972old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13973old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13974old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13975lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13976CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13977CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13978compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13979GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13980lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13981lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13982lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13983lt_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"`' 13984nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13985lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13986objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13987MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13988lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13989lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13990lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13991lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13992lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13993need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13994MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13995DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13996NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13997LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13998OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13999OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14000libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14001shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14002extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14003archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14004enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14005export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14006whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14007compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14008old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14009old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14010archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14011archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14012module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14013module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14014with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14015allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14016no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14017hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14018hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14019hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14020hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14021hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14022hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14023hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14024inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14025link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14026always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14027export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14028exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14029include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14030prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14031postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14032file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14033variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14034need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14035need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14036version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14037runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14038shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14039shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14040libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14041library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14042soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14043install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14044postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14045postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14046finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14047finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14048hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14049sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14050sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14051hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14052enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14053enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14054enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14055old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14056striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14057 14058LTCC='$LTCC' 14059LTCFLAGS='$LTCFLAGS' 14060compiler='$compiler_DEFAULT' 14061 14062# A function that is used when there is no print builtin or printf. 14063func_fallback_echo () 14064{ 14065 eval 'cat <<_LTECHO_EOF 14066\$1 14067_LTECHO_EOF' 14068} 14069 14070# Quote evaled strings. 14071for var in SHELL \ 14072ECHO \ 14073PATH_SEPARATOR \ 14074SED \ 14075GREP \ 14076EGREP \ 14077FGREP \ 14078LD \ 14079NM \ 14080LN_S \ 14081lt_SP2NL \ 14082lt_NL2SP \ 14083reload_flag \ 14084OBJDUMP \ 14085deplibs_check_method \ 14086file_magic_cmd \ 14087file_magic_glob \ 14088want_nocaseglob \ 14089DLLTOOL \ 14090sharedlib_from_linklib_cmd \ 14091AR \ 14092AR_FLAGS \ 14093archiver_list_spec \ 14094STRIP \ 14095RANLIB \ 14096CC \ 14097CFLAGS \ 14098compiler \ 14099lt_cv_sys_global_symbol_pipe \ 14100lt_cv_sys_global_symbol_to_cdecl \ 14101lt_cv_sys_global_symbol_to_c_name_address \ 14102lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14103nm_file_list_spec \ 14104lt_prog_compiler_no_builtin_flag \ 14105lt_prog_compiler_pic \ 14106lt_prog_compiler_wl \ 14107lt_prog_compiler_static \ 14108lt_cv_prog_compiler_c_o \ 14109need_locks \ 14110MANIFEST_TOOL \ 14111DSYMUTIL \ 14112NMEDIT \ 14113LIPO \ 14114OTOOL \ 14115OTOOL64 \ 14116shrext_cmds \ 14117export_dynamic_flag_spec \ 14118whole_archive_flag_spec \ 14119compiler_needs_object \ 14120with_gnu_ld \ 14121allow_undefined_flag \ 14122no_undefined_flag \ 14123hardcode_libdir_flag_spec \ 14124hardcode_libdir_separator \ 14125exclude_expsyms \ 14126include_expsyms \ 14127file_list_spec \ 14128variables_saved_for_relink \ 14129libname_spec \ 14130library_names_spec \ 14131soname_spec \ 14132install_override_mode \ 14133finish_eval \ 14134old_striplib \ 14135striplib; do 14136 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14137 *[\\\\\\\`\\"\\\$]*) 14138 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14139 ;; 14140 *) 14141 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14142 ;; 14143 esac 14144done 14145 14146# Double-quote double-evaled strings. 14147for var in reload_cmds \ 14148old_postinstall_cmds \ 14149old_postuninstall_cmds \ 14150old_archive_cmds \ 14151extract_expsyms_cmds \ 14152old_archive_from_new_cmds \ 14153old_archive_from_expsyms_cmds \ 14154archive_cmds \ 14155archive_expsym_cmds \ 14156module_cmds \ 14157module_expsym_cmds \ 14158export_symbols_cmds \ 14159prelink_cmds \ 14160postlink_cmds \ 14161postinstall_cmds \ 14162postuninstall_cmds \ 14163finish_cmds \ 14164sys_lib_search_path_spec \ 14165sys_lib_dlsearch_path_spec; do 14166 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14167 *[\\\\\\\`\\"\\\$]*) 14168 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14169 ;; 14170 *) 14171 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14172 ;; 14173 esac 14174done 14175 14176ac_aux_dir='$ac_aux_dir' 14177xsi_shell='$xsi_shell' 14178lt_shell_append='$lt_shell_append' 14179 14180# See if we are running on zsh, and set the options which allow our 14181# commands through without removal of \ escapes INIT. 14182if test -n "\${ZSH_VERSION+set}" ; then 14183 setopt NO_GLOB_SUBST 14184fi 14185 14186 14187 PACKAGE='$PACKAGE' 14188 VERSION='$VERSION' 14189 TIMESTAMP='$TIMESTAMP' 14190 RM='$RM' 14191 ofile='$ofile' 14192 14193 14194 14195 14196_ACEOF 14197 14198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14199 14200# Handling of arguments. 14201for ac_config_target in $ac_config_targets 14202do 14203 case $ac_config_target in 14204 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14205 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14206 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14207 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 14208 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 14209 "include/linux/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/Makefile" ;; 14210 "include/linux/netfilter/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/netfilter/Makefile" ;; 14211 "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;; 14212 "src/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/helpers/Makefile" ;; 14213 14214 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14215 esac 14216done 14217 14218 14219# If the user did not use the arguments to specify the items to instantiate, 14220# then the envvar interface is used. Set only those that are not. 14221# We use the long form for the default assignment because of an extremely 14222# bizarre bug on SunOS 4.1.3. 14223if $ac_need_defaults; then 14224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14225 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14226fi 14227 14228# Have a temporary directory for convenience. Make it in the build tree 14229# simply because there is no reason against having it here, and in addition, 14230# creating and moving files from /tmp can sometimes cause problems. 14231# Hook for its removal unless debugging. 14232# Note that there is a small window in which the directory will not be cleaned: 14233# after its creation but before its name has been assigned to `$tmp'. 14234$debug || 14235{ 14236 tmp= 14237 trap 'exit_status=$? 14238 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14239' 0 14240 trap 'as_fn_exit 1' 1 2 13 15 14241} 14242# Create a (secure) tmp directory for tmp files. 14243 14244{ 14245 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14246 test -n "$tmp" && test -d "$tmp" 14247} || 14248{ 14249 tmp=./conf$$-$RANDOM 14250 (umask 077 && mkdir "$tmp") 14251} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 14252 14253# Set up the scripts for CONFIG_FILES section. 14254# No need to generate them if there are no CONFIG_FILES. 14255# This happens for instance with `./config.status config.h'. 14256if test -n "$CONFIG_FILES"; then 14257 14258 14259ac_cr=`echo X | tr X '\015'` 14260# On cygwin, bash can eat \r inside `` if the user requested igncr. 14261# But we know of no other shell where ac_cr would be empty at this 14262# point, so we can use a bashism as a fallback. 14263if test "x$ac_cr" = x; then 14264 eval ac_cr=\$\'\\r\' 14265fi 14266ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14267if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14268 ac_cs_awk_cr='\r' 14269else 14270 ac_cs_awk_cr=$ac_cr 14271fi 14272 14273echo 'BEGIN {' >"$tmp/subs1.awk" && 14274_ACEOF 14275 14276 14277{ 14278 echo "cat >conf$$subs.awk <<_ACEOF" && 14279 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14280 echo "_ACEOF" 14281} >conf$$subs.sh || 14282 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14283ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14284ac_delim='%!_!# ' 14285for ac_last_try in false false false false false :; do 14286 . ./conf$$subs.sh || 14287 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14288 14289 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14290 if test $ac_delim_n = $ac_delim_num; then 14291 break 14292 elif $ac_last_try; then 14293 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14294 else 14295 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14296 fi 14297done 14298rm -f conf$$subs.sh 14299 14300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14301cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14302_ACEOF 14303sed -n ' 14304h 14305s/^/S["/; s/!.*/"]=/ 14306p 14307g 14308s/^[^!]*!// 14309:repl 14310t repl 14311s/'"$ac_delim"'$// 14312t delim 14313:nl 14314h 14315s/\(.\{148\}\)..*/\1/ 14316t more1 14317s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14318p 14319n 14320b repl 14321:more1 14322s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14323p 14324g 14325s/.\{148\}// 14326t nl 14327:delim 14328h 14329s/\(.\{148\}\)..*/\1/ 14330t more2 14331s/["\\]/\\&/g; s/^/"/; s/$/"/ 14332p 14333b 14334:more2 14335s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14336p 14337g 14338s/.\{148\}// 14339t delim 14340' <conf$$subs.awk | sed ' 14341/^[^""]/{ 14342 N 14343 s/\n// 14344} 14345' >>$CONFIG_STATUS || ac_write_fail=1 14346rm -f conf$$subs.awk 14347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14348_ACAWK 14349cat >>"\$tmp/subs1.awk" <<_ACAWK && 14350 for (key in S) S_is_set[key] = 1 14351 FS = "" 14352 14353} 14354{ 14355 line = $ 0 14356 nfields = split(line, field, "@") 14357 substed = 0 14358 len = length(field[1]) 14359 for (i = 2; i < nfields; i++) { 14360 key = field[i] 14361 keylen = length(key) 14362 if (S_is_set[key]) { 14363 value = S[key] 14364 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14365 len += length(value) + length(field[++i]) 14366 substed = 1 14367 } else 14368 len += 1 + keylen 14369 } 14370 14371 print line 14372} 14373 14374_ACAWK 14375_ACEOF 14376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14377if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14378 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14379else 14380 cat 14381fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14382 || as_fn_error "could not setup config files machinery" "$LINENO" 5 14383_ACEOF 14384 14385# VPATH may cause trouble with some makes, so we remove $(srcdir), 14386# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14387# trailing colons and then remove the whole line if VPATH becomes empty 14388# (actually we leave an empty line to preserve line numbers). 14389if test "x$srcdir" = x.; then 14390 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14391s/:*\$(srcdir):*/:/ 14392s/:*\${srcdir}:*/:/ 14393s/:*@srcdir@:*/:/ 14394s/^\([^=]*=[ ]*\):*/\1/ 14395s/:*$// 14396s/^[^=]*=[ ]*$// 14397}' 14398fi 14399 14400cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14401fi # test -n "$CONFIG_FILES" 14402 14403 14404eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 14405shift 14406for ac_tag 14407do 14408 case $ac_tag in 14409 :[FHLC]) ac_mode=$ac_tag; continue;; 14410 esac 14411 case $ac_mode$ac_tag in 14412 :[FHL]*:*);; 14413 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14414 :[FH]-) ac_tag=-:-;; 14415 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14416 esac 14417 ac_save_IFS=$IFS 14418 IFS=: 14419 set x $ac_tag 14420 IFS=$ac_save_IFS 14421 shift 14422 ac_file=$1 14423 shift 14424 14425 case $ac_mode in 14426 :L) ac_source=$1;; 14427 :[FH]) 14428 ac_file_inputs= 14429 for ac_f 14430 do 14431 case $ac_f in 14432 -) ac_f="$tmp/stdin";; 14433 *) # Look for the file first in the build tree, then in the source tree 14434 # (if the path is not absolute). The absolute path cannot be DOS-style, 14435 # because $ac_f cannot contain `:'. 14436 test -f "$ac_f" || 14437 case $ac_f in 14438 [\\/$]*) false;; 14439 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14440 esac || 14441 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14442 esac 14443 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14444 as_fn_append ac_file_inputs " '$ac_f'" 14445 done 14446 14447 # Let's still pretend it is `configure' which instantiates (i.e., don't 14448 # use $as_me), people would be surprised to read: 14449 # /* config.h. Generated by config.status. */ 14450 configure_input='Generated from '` 14451 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14452 `' by configure.' 14453 if test x"$ac_file" != x-; then 14454 configure_input="$ac_file. $configure_input" 14455 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14456$as_echo "$as_me: creating $ac_file" >&6;} 14457 fi 14458 # Neutralize special characters interpreted by sed in replacement strings. 14459 case $configure_input in #( 14460 *\&* | *\|* | *\\* ) 14461 ac_sed_conf_input=`$as_echo "$configure_input" | 14462 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14463 *) ac_sed_conf_input=$configure_input;; 14464 esac 14465 14466 case $ac_tag in 14467 *:-:* | *:-) cat >"$tmp/stdin" \ 14468 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14469 esac 14470 ;; 14471 esac 14472 14473 ac_dir=`$as_dirname -- "$ac_file" || 14474$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14475 X"$ac_file" : 'X\(//\)[^/]' \| \ 14476 X"$ac_file" : 'X\(//\)$' \| \ 14477 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14478$as_echo X"$ac_file" | 14479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14480 s//\1/ 14481 q 14482 } 14483 /^X\(\/\/\)[^/].*/{ 14484 s//\1/ 14485 q 14486 } 14487 /^X\(\/\/\)$/{ 14488 s//\1/ 14489 q 14490 } 14491 /^X\(\/\).*/{ 14492 s//\1/ 14493 q 14494 } 14495 s/.*/./; q'` 14496 as_dir="$ac_dir"; as_fn_mkdir_p 14497 ac_builddir=. 14498 14499case "$ac_dir" in 14500.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14501*) 14502 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14503 # A ".." for each directory in $ac_dir_suffix. 14504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14505 case $ac_top_builddir_sub in 14506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14508 esac ;; 14509esac 14510ac_abs_top_builddir=$ac_pwd 14511ac_abs_builddir=$ac_pwd$ac_dir_suffix 14512# for backward compatibility: 14513ac_top_builddir=$ac_top_build_prefix 14514 14515case $srcdir in 14516 .) # We are building in place. 14517 ac_srcdir=. 14518 ac_top_srcdir=$ac_top_builddir_sub 14519 ac_abs_top_srcdir=$ac_pwd ;; 14520 [\\/]* | ?:[\\/]* ) # Absolute name. 14521 ac_srcdir=$srcdir$ac_dir_suffix; 14522 ac_top_srcdir=$srcdir 14523 ac_abs_top_srcdir=$srcdir ;; 14524 *) # Relative name. 14525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14526 ac_top_srcdir=$ac_top_build_prefix$srcdir 14527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14528esac 14529ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14530 14531 14532 case $ac_mode in 14533 :F) 14534 # 14535 # CONFIG_FILE 14536 # 14537 14538 case $INSTALL in 14539 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14540 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14541 esac 14542 ac_MKDIR_P=$MKDIR_P 14543 case $MKDIR_P in 14544 [\\/$]* | ?:[\\/]* ) ;; 14545 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14546 esac 14547_ACEOF 14548 14549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14550# If the template does not know about datarootdir, expand it. 14551# FIXME: This hack should be removed a few years after 2.60. 14552ac_datarootdir_hack=; ac_datarootdir_seen= 14553ac_sed_dataroot=' 14554/datarootdir/ { 14555 p 14556 q 14557} 14558/@datadir@/p 14559/@docdir@/p 14560/@infodir@/p 14561/@localedir@/p 14562/@mandir@/p' 14563case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14564*datarootdir*) ac_datarootdir_seen=yes;; 14565*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14567$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14568_ACEOF 14569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14570 ac_datarootdir_hack=' 14571 s&@datadir@&$datadir&g 14572 s&@docdir@&$docdir&g 14573 s&@infodir@&$infodir&g 14574 s&@localedir@&$localedir&g 14575 s&@mandir@&$mandir&g 14576 s&\\\${datarootdir}&$datarootdir&g' ;; 14577esac 14578_ACEOF 14579 14580# Neutralize VPATH when `$srcdir' = `.'. 14581# Shell code in configure.ac might set extrasub. 14582# FIXME: do we really want to maintain this feature? 14583cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14584ac_sed_extra="$ac_vpsub 14585$extrasub 14586_ACEOF 14587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14588:t 14589/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14590s|@configure_input@|$ac_sed_conf_input|;t t 14591s&@top_builddir@&$ac_top_builddir_sub&;t t 14592s&@top_build_prefix@&$ac_top_build_prefix&;t t 14593s&@srcdir@&$ac_srcdir&;t t 14594s&@abs_srcdir@&$ac_abs_srcdir&;t t 14595s&@top_srcdir@&$ac_top_srcdir&;t t 14596s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14597s&@builddir@&$ac_builddir&;t t 14598s&@abs_builddir@&$ac_abs_builddir&;t t 14599s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14600s&@INSTALL@&$ac_INSTALL&;t t 14601s&@MKDIR_P@&$ac_MKDIR_P&;t t 14602$ac_datarootdir_hack 14603" 14604eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14605 || as_fn_error "could not create $ac_file" "$LINENO" 5 14606 14607test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14608 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14609 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14611which seems to be undefined. Please make sure it is defined." >&5 14612$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14613which seems to be undefined. Please make sure it is defined." >&2;} 14614 14615 rm -f "$tmp/stdin" 14616 case $ac_file in 14617 -) cat "$tmp/out" && rm -f "$tmp/out";; 14618 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14619 esac \ 14620 || as_fn_error "could not create $ac_file" "$LINENO" 5 14621 ;; 14622 14623 14624 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14625$as_echo "$as_me: executing $ac_file commands" >&6;} 14626 ;; 14627 esac 14628 14629 14630 case $ac_file$ac_mode in 14631 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14632 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14633 # are listed without --file. Let's play safe and only enable the eval 14634 # if we detect the quoting. 14635 case $CONFIG_FILES in 14636 *\'*) eval set x "$CONFIG_FILES" ;; 14637 *) set x $CONFIG_FILES ;; 14638 esac 14639 shift 14640 for mf 14641 do 14642 # Strip MF so we end up with the name of the file. 14643 mf=`echo "$mf" | sed -e 's/:.*$//'` 14644 # Check whether this is an Automake generated Makefile or not. 14645 # We used to match only the files named `Makefile.in', but 14646 # some people rename them; so instead we look at the file content. 14647 # Grep'ing the first line is not enough: some people post-process 14648 # each Makefile.in and add a new line on top of each file to say so. 14649 # Grep'ing the whole file is not good either: AIX grep has a line 14650 # limit of 2048, but all sed's we know have understand at least 4000. 14651 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14652 dirpart=`$as_dirname -- "$mf" || 14653$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14654 X"$mf" : 'X\(//\)[^/]' \| \ 14655 X"$mf" : 'X\(//\)$' \| \ 14656 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14657$as_echo X"$mf" | 14658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14659 s//\1/ 14660 q 14661 } 14662 /^X\(\/\/\)[^/].*/{ 14663 s//\1/ 14664 q 14665 } 14666 /^X\(\/\/\)$/{ 14667 s//\1/ 14668 q 14669 } 14670 /^X\(\/\).*/{ 14671 s//\1/ 14672 q 14673 } 14674 s/.*/./; q'` 14675 else 14676 continue 14677 fi 14678 # Extract the definition of DEPDIR, am__include, and am__quote 14679 # from the Makefile without running `make'. 14680 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14681 test -z "$DEPDIR" && continue 14682 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14683 test -z "am__include" && continue 14684 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14685 # When using ansi2knr, U may be empty or an underscore; expand it 14686 U=`sed -n 's/^U = //p' < "$mf"` 14687 # Find all dependency output files, they are included files with 14688 # $(DEPDIR) in their names. We invoke sed twice because it is the 14689 # simplest approach to changing $(DEPDIR) to its actual value in the 14690 # expansion. 14691 for file in `sed -n " 14692 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14693 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14694 # Make sure the directory exists. 14695 test -f "$dirpart/$file" && continue 14696 fdir=`$as_dirname -- "$file" || 14697$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14698 X"$file" : 'X\(//\)[^/]' \| \ 14699 X"$file" : 'X\(//\)$' \| \ 14700 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14701$as_echo X"$file" | 14702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14703 s//\1/ 14704 q 14705 } 14706 /^X\(\/\/\)[^/].*/{ 14707 s//\1/ 14708 q 14709 } 14710 /^X\(\/\/\)$/{ 14711 s//\1/ 14712 q 14713 } 14714 /^X\(\/\).*/{ 14715 s//\1/ 14716 q 14717 } 14718 s/.*/./; q'` 14719 as_dir=$dirpart/$fdir; as_fn_mkdir_p 14720 # echo "creating $dirpart/$file" 14721 echo '# dummy' > "$dirpart/$file" 14722 done 14723 done 14724} 14725 ;; 14726 "libtool":C) 14727 14728 # See if we are running on zsh, and set the options which allow our 14729 # commands through without removal of \ escapes. 14730 if test -n "${ZSH_VERSION+set}" ; then 14731 setopt NO_GLOB_SUBST 14732 fi 14733 14734 cfgfile="${ofile}T" 14735 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14736 $RM "$cfgfile" 14737 14738 cat <<_LT_EOF >> "$cfgfile" 14739#! $SHELL 14740 14741# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14742# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14743# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14744# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14745# 14746# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14747# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 14748# Foundation, Inc. 14749# Written by Gordon Matzigkeit, 1996 14750# 14751# This file is part of GNU Libtool. 14752# 14753# GNU Libtool is free software; you can redistribute it and/or 14754# modify it under the terms of the GNU General Public License as 14755# published by the Free Software Foundation; either version 2 of 14756# the License, or (at your option) any later version. 14757# 14758# As a special exception to the GNU General Public License, 14759# if you distribute this file as part of a program or library that 14760# is built using GNU Libtool, you may include this file under the 14761# same distribution terms that you use for the rest of that program. 14762# 14763# GNU Libtool is distributed in the hope that it will be useful, 14764# but WITHOUT ANY WARRANTY; without even the implied warranty of 14765# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14766# GNU General Public License for more details. 14767# 14768# You should have received a copy of the GNU General Public License 14769# along with GNU Libtool; see the file COPYING. If not, a copy 14770# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14771# obtained by writing to the Free Software Foundation, Inc., 14772# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14773 14774 14775# The names of the tagged configurations supported by this script. 14776available_tags="" 14777 14778# ### BEGIN LIBTOOL CONFIG 14779 14780# Whether or not to build static libraries. 14781build_old_libs=$enable_static 14782 14783# Which release of libtool.m4 was used? 14784macro_version=$macro_version 14785macro_revision=$macro_revision 14786 14787# Whether or not to build shared libraries. 14788build_libtool_libs=$enable_shared 14789 14790# What type of objects to build. 14791pic_mode=$pic_mode 14792 14793# Whether or not to optimize for fast installation. 14794fast_install=$enable_fast_install 14795 14796# Shell to use when invoking shell scripts. 14797SHELL=$lt_SHELL 14798 14799# An echo program that protects backslashes. 14800ECHO=$lt_ECHO 14801 14802# The PATH separator for the build system. 14803PATH_SEPARATOR=$lt_PATH_SEPARATOR 14804 14805# The host system. 14806host_alias=$host_alias 14807host=$host 14808host_os=$host_os 14809 14810# The build system. 14811build_alias=$build_alias 14812build=$build 14813build_os=$build_os 14814 14815# A sed program that does not truncate output. 14816SED=$lt_SED 14817 14818# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14819Xsed="\$SED -e 1s/^X//" 14820 14821# A grep program that handles long lines. 14822GREP=$lt_GREP 14823 14824# An ERE matcher. 14825EGREP=$lt_EGREP 14826 14827# A literal string matcher. 14828FGREP=$lt_FGREP 14829 14830# A BSD- or MS-compatible name lister. 14831NM=$lt_NM 14832 14833# Whether we need soft or hard links. 14834LN_S=$lt_LN_S 14835 14836# What is the maximum length of a command? 14837max_cmd_len=$max_cmd_len 14838 14839# Object file suffix (normally "o"). 14840objext=$ac_objext 14841 14842# Executable file suffix (normally ""). 14843exeext=$exeext 14844 14845# whether the shell understands "unset". 14846lt_unset=$lt_unset 14847 14848# turn spaces into newlines. 14849SP2NL=$lt_lt_SP2NL 14850 14851# turn newlines into spaces. 14852NL2SP=$lt_lt_NL2SP 14853 14854# convert \$build file names to \$host format. 14855to_host_file_cmd=$lt_cv_to_host_file_cmd 14856 14857# convert \$build files to toolchain format. 14858to_tool_file_cmd=$lt_cv_to_tool_file_cmd 14859 14860# An object symbol dumper. 14861OBJDUMP=$lt_OBJDUMP 14862 14863# Method to check whether dependent libraries are shared objects. 14864deplibs_check_method=$lt_deplibs_check_method 14865 14866# Command to use when deplibs_check_method = "file_magic". 14867file_magic_cmd=$lt_file_magic_cmd 14868 14869# How to find potential files when deplibs_check_method = "file_magic". 14870file_magic_glob=$lt_file_magic_glob 14871 14872# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 14873want_nocaseglob=$lt_want_nocaseglob 14874 14875# DLL creation program. 14876DLLTOOL=$lt_DLLTOOL 14877 14878# Command to associate shared and link libraries. 14879sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 14880 14881# The archiver. 14882AR=$lt_AR 14883 14884# Flags to create an archive. 14885AR_FLAGS=$lt_AR_FLAGS 14886 14887# How to feed a file listing to the archiver. 14888archiver_list_spec=$lt_archiver_list_spec 14889 14890# A symbol stripping program. 14891STRIP=$lt_STRIP 14892 14893# Commands used to install an old-style archive. 14894RANLIB=$lt_RANLIB 14895old_postinstall_cmds=$lt_old_postinstall_cmds 14896old_postuninstall_cmds=$lt_old_postuninstall_cmds 14897 14898# Whether to use a lock for old archive extraction. 14899lock_old_archive_extraction=$lock_old_archive_extraction 14900 14901# A C compiler. 14902LTCC=$lt_CC 14903 14904# LTCC compiler flags. 14905LTCFLAGS=$lt_CFLAGS 14906 14907# Take the output of nm and produce a listing of raw symbols and C names. 14908global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14909 14910# Transform the output of nm in a proper C declaration. 14911global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14912 14913# Transform the output of nm in a C name address pair. 14914global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14915 14916# Transform the output of nm in a C name address pair when lib prefix is needed. 14917global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14918 14919# Specify filename containing input files for \$NM. 14920nm_file_list_spec=$lt_nm_file_list_spec 14921 14922# The root where to search for dependent libraries,and in which our libraries should be installed. 14923lt_sysroot=$lt_sysroot 14924 14925# The name of the directory that contains temporary libtool files. 14926objdir=$objdir 14927 14928# Used to examine libraries when file_magic_cmd begins with "file". 14929MAGIC_CMD=$MAGIC_CMD 14930 14931# Must we lock files when doing compilation? 14932need_locks=$lt_need_locks 14933 14934# Manifest tool. 14935MANIFEST_TOOL=$lt_MANIFEST_TOOL 14936 14937# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14938DSYMUTIL=$lt_DSYMUTIL 14939 14940# Tool to change global to local symbols on Mac OS X. 14941NMEDIT=$lt_NMEDIT 14942 14943# Tool to manipulate fat objects and archives on Mac OS X. 14944LIPO=$lt_LIPO 14945 14946# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14947OTOOL=$lt_OTOOL 14948 14949# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14950OTOOL64=$lt_OTOOL64 14951 14952# Old archive suffix (normally "a"). 14953libext=$libext 14954 14955# Shared library suffix (normally ".so"). 14956shrext_cmds=$lt_shrext_cmds 14957 14958# The commands to extract the exported symbol list from a shared archive. 14959extract_expsyms_cmds=$lt_extract_expsyms_cmds 14960 14961# Variables whose values should be saved in libtool wrapper scripts and 14962# restored at link time. 14963variables_saved_for_relink=$lt_variables_saved_for_relink 14964 14965# Do we need the "lib" prefix for modules? 14966need_lib_prefix=$need_lib_prefix 14967 14968# Do we need a version for libraries? 14969need_version=$need_version 14970 14971# Library versioning type. 14972version_type=$version_type 14973 14974# Shared library runtime path variable. 14975runpath_var=$runpath_var 14976 14977# Shared library path variable. 14978shlibpath_var=$shlibpath_var 14979 14980# Is shlibpath searched before the hard-coded library search path? 14981shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14982 14983# Format of library name prefix. 14984libname_spec=$lt_libname_spec 14985 14986# List of archive names. First name is the real one, the rest are links. 14987# The last name is the one that the linker finds with -lNAME 14988library_names_spec=$lt_library_names_spec 14989 14990# The coded name of the library, if different from the real name. 14991soname_spec=$lt_soname_spec 14992 14993# Permission mode override for installation of shared libraries. 14994install_override_mode=$lt_install_override_mode 14995 14996# Command to use after installation of a shared archive. 14997postinstall_cmds=$lt_postinstall_cmds 14998 14999# Command to use after uninstallation of a shared archive. 15000postuninstall_cmds=$lt_postuninstall_cmds 15001 15002# Commands used to finish a libtool library installation in a directory. 15003finish_cmds=$lt_finish_cmds 15004 15005# As "finish_cmds", except a single script fragment to be evaled but 15006# not shown. 15007finish_eval=$lt_finish_eval 15008 15009# Whether we should hardcode library paths into libraries. 15010hardcode_into_libs=$hardcode_into_libs 15011 15012# Compile-time system search path for libraries. 15013sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15014 15015# Run-time system search path for libraries. 15016sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15017 15018# Whether dlopen is supported. 15019dlopen_support=$enable_dlopen 15020 15021# Whether dlopen of programs is supported. 15022dlopen_self=$enable_dlopen_self 15023 15024# Whether dlopen of statically linked programs is supported. 15025dlopen_self_static=$enable_dlopen_self_static 15026 15027# Commands to strip libraries. 15028old_striplib=$lt_old_striplib 15029striplib=$lt_striplib 15030 15031 15032# The linker used to build libraries. 15033LD=$lt_LD 15034 15035# How to create reloadable object files. 15036reload_flag=$lt_reload_flag 15037reload_cmds=$lt_reload_cmds 15038 15039# Commands used to build an old-style archive. 15040old_archive_cmds=$lt_old_archive_cmds 15041 15042# A language specific compiler. 15043CC=$lt_compiler 15044 15045# Is the compiler the GNU compiler? 15046with_gcc=$GCC 15047 15048# Compiler flag to turn off builtin functions. 15049no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15050 15051# Additional compiler flags for building library objects. 15052pic_flag=$lt_lt_prog_compiler_pic 15053 15054# How to pass a linker flag through the compiler. 15055wl=$lt_lt_prog_compiler_wl 15056 15057# Compiler flag to prevent dynamic linking. 15058link_static_flag=$lt_lt_prog_compiler_static 15059 15060# Does compiler simultaneously support -c and -o options? 15061compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15062 15063# Whether or not to add -lc for building shared libraries. 15064build_libtool_need_lc=$archive_cmds_need_lc 15065 15066# Whether or not to disallow shared libs when runtime libs are static. 15067allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15068 15069# Compiler flag to allow reflexive dlopens. 15070export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15071 15072# Compiler flag to generate shared objects directly from archives. 15073whole_archive_flag_spec=$lt_whole_archive_flag_spec 15074 15075# Whether the compiler copes with passing no objects directly. 15076compiler_needs_object=$lt_compiler_needs_object 15077 15078# Create an old-style archive from a shared archive. 15079old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15080 15081# Create a temporary old-style archive to link instead of a shared archive. 15082old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15083 15084# Commands used to build a shared archive. 15085archive_cmds=$lt_archive_cmds 15086archive_expsym_cmds=$lt_archive_expsym_cmds 15087 15088# Commands used to build a loadable module if different from building 15089# a shared archive. 15090module_cmds=$lt_module_cmds 15091module_expsym_cmds=$lt_module_expsym_cmds 15092 15093# Whether we are building with GNU ld or not. 15094with_gnu_ld=$lt_with_gnu_ld 15095 15096# Flag that allows shared libraries with undefined symbols to be built. 15097allow_undefined_flag=$lt_allow_undefined_flag 15098 15099# Flag that enforces no undefined symbols. 15100no_undefined_flag=$lt_no_undefined_flag 15101 15102# Flag to hardcode \$libdir into a binary during linking. 15103# This must work even if \$libdir does not exist 15104hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15105 15106# Whether we need a single "-rpath" flag with a separated argument. 15107hardcode_libdir_separator=$lt_hardcode_libdir_separator 15108 15109# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15110# DIR into the resulting binary. 15111hardcode_direct=$hardcode_direct 15112 15113# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15114# DIR into the resulting binary and the resulting library dependency is 15115# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15116# library is relocated. 15117hardcode_direct_absolute=$hardcode_direct_absolute 15118 15119# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15120# into the resulting binary. 15121hardcode_minus_L=$hardcode_minus_L 15122 15123# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15124# into the resulting binary. 15125hardcode_shlibpath_var=$hardcode_shlibpath_var 15126 15127# Set to "yes" if building a shared library automatically hardcodes DIR 15128# into the library and all subsequent libraries and executables linked 15129# against it. 15130hardcode_automatic=$hardcode_automatic 15131 15132# Set to yes if linker adds runtime paths of dependent libraries 15133# to runtime path list. 15134inherit_rpath=$inherit_rpath 15135 15136# Whether libtool must link a program against all its dependency libraries. 15137link_all_deplibs=$link_all_deplibs 15138 15139# Set to "yes" if exported symbols are required. 15140always_export_symbols=$always_export_symbols 15141 15142# The commands to list exported symbols. 15143export_symbols_cmds=$lt_export_symbols_cmds 15144 15145# Symbols that should not be listed in the preloaded symbols. 15146exclude_expsyms=$lt_exclude_expsyms 15147 15148# Symbols that must always be exported. 15149include_expsyms=$lt_include_expsyms 15150 15151# Commands necessary for linking programs (against libraries) with templates. 15152prelink_cmds=$lt_prelink_cmds 15153 15154# Commands necessary for finishing linking programs. 15155postlink_cmds=$lt_postlink_cmds 15156 15157# Specify filename containing input files. 15158file_list_spec=$lt_file_list_spec 15159 15160# How to hardcode a shared library path into an executable. 15161hardcode_action=$hardcode_action 15162 15163# ### END LIBTOOL CONFIG 15164 15165_LT_EOF 15166 15167 case $host_os in 15168 aix3*) 15169 cat <<\_LT_EOF >> "$cfgfile" 15170# AIX sometimes has problems with the GCC collect2 program. For some 15171# reason, if we set the COLLECT_NAMES environment variable, the problems 15172# vanish in a puff of smoke. 15173if test "X${COLLECT_NAMES+set}" != Xset; then 15174 COLLECT_NAMES= 15175 export COLLECT_NAMES 15176fi 15177_LT_EOF 15178 ;; 15179 esac 15180 15181 15182ltmain="$ac_aux_dir/ltmain.sh" 15183 15184 15185 # We use sed instead of cat because bash on DJGPP gets confused if 15186 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15187 # text mode, it properly converts lines to CR/LF. This bash problem 15188 # is reportedly fixed, but why not run on old versions too? 15189 sed '$q' "$ltmain" >> "$cfgfile" \ 15190 || (rm -f "$cfgfile"; exit 1) 15191 15192 if test x"$xsi_shell" = xyes; then 15193 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15194func_dirname ()\ 15195{\ 15196\ case ${1} in\ 15197\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15198\ * ) func_dirname_result="${3}" ;;\ 15199\ esac\ 15200} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15201 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15202 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15203test 0 -eq $? || _lt_function_replace_fail=: 15204 15205 15206 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15207func_basename ()\ 15208{\ 15209\ func_basename_result="${1##*/}"\ 15210} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15211 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15212 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15213test 0 -eq $? || _lt_function_replace_fail=: 15214 15215 15216 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15217func_dirname_and_basename ()\ 15218{\ 15219\ case ${1} in\ 15220\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15221\ * ) func_dirname_result="${3}" ;;\ 15222\ esac\ 15223\ func_basename_result="${1##*/}"\ 15224} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15225 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15227test 0 -eq $? || _lt_function_replace_fail=: 15228 15229 15230 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15231func_stripname ()\ 15232{\ 15233\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15234\ # positional parameters, so assign one to ordinary parameter first.\ 15235\ func_stripname_result=${3}\ 15236\ func_stripname_result=${func_stripname_result#"${1}"}\ 15237\ func_stripname_result=${func_stripname_result%"${2}"}\ 15238} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15239 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15241test 0 -eq $? || _lt_function_replace_fail=: 15242 15243 15244 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15245func_split_long_opt ()\ 15246{\ 15247\ func_split_long_opt_name=${1%%=*}\ 15248\ func_split_long_opt_arg=${1#*=}\ 15249} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15250 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15251 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15252test 0 -eq $? || _lt_function_replace_fail=: 15253 15254 15255 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15256func_split_short_opt ()\ 15257{\ 15258\ func_split_short_opt_arg=${1#??}\ 15259\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15260} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15261 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15262 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15263test 0 -eq $? || _lt_function_replace_fail=: 15264 15265 15266 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15267func_lo2o ()\ 15268{\ 15269\ case ${1} in\ 15270\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15271\ *) func_lo2o_result=${1} ;;\ 15272\ esac\ 15273} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15274 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15275 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15276test 0 -eq $? || _lt_function_replace_fail=: 15277 15278 15279 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15280func_xform ()\ 15281{\ 15282 func_xform_result=${1%.*}.lo\ 15283} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15284 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15285 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15286test 0 -eq $? || _lt_function_replace_fail=: 15287 15288 15289 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15290func_arith ()\ 15291{\ 15292 func_arith_result=$(( $* ))\ 15293} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15294 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15295 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15296test 0 -eq $? || _lt_function_replace_fail=: 15297 15298 15299 sed -e '/^func_len ()$/,/^} # func_len /c\ 15300func_len ()\ 15301{\ 15302 func_len_result=${#1}\ 15303} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15304 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15306test 0 -eq $? || _lt_function_replace_fail=: 15307 15308fi 15309 15310if test x"$lt_shell_append" = xyes; then 15311 sed -e '/^func_append ()$/,/^} # func_append /c\ 15312func_append ()\ 15313{\ 15314 eval "${1}+=\\${2}"\ 15315} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15316 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15317 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15318test 0 -eq $? || _lt_function_replace_fail=: 15319 15320 15321 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15322func_append_quoted ()\ 15323{\ 15324\ func_quote_for_eval "${2}"\ 15325\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15326} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15327 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15328 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15329test 0 -eq $? || _lt_function_replace_fail=: 15330 15331 15332 # Save a `func_append' function call where possible by direct use of '+=' 15333 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15334 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15336 test 0 -eq $? || _lt_function_replace_fail=: 15337else 15338 # Save a `func_append' function call even when '+=' is not available 15339 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15340 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15341 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15342 test 0 -eq $? || _lt_function_replace_fail=: 15343fi 15344 15345if test x"$_lt_function_replace_fail" = x":"; then 15346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 15347$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 15348fi 15349 15350 15351 mv -f "$cfgfile" "$ofile" || 15352 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15353 chmod +x "$ofile" 15354 15355 ;; 15356 15357 esac 15358done # for ac_tag 15359 15360 15361as_fn_exit 0 15362_ACEOF 15363ac_clean_files=$ac_clean_files_save 15364 15365test $ac_write_fail = 0 || 15366 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 15367 15368 15369# configure is writing to config.log, and then calls config.status. 15370# config.status does its own redirection, appending to config.log. 15371# Unfortunately, on DOS this fails, as config.log is still kept open 15372# by configure, so config.status won't be able to write to it; its 15373# output is simply discarded. So we exec the FD to /dev/null, 15374# effectively closing config.log, so it can be properly (re)opened and 15375# appended to by config.status. When coming back to configure, we 15376# need to make the FD available again. 15377if test "$no_create" != yes; then 15378 ac_cs_success=: 15379 ac_config_status_args= 15380 test "$silent" = yes && 15381 ac_config_status_args="$ac_config_status_args --quiet" 15382 exec 5>/dev/null 15383 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15384 exec 5>>config.log 15385 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15386 # would make configure fail if this is the last instruction. 15387 $ac_cs_success || as_fn_exit $? 15388fi 15389if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15391$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15392fi 15393 15394