Mercurial > hg > sv-dependency-builds
comparison src/portaudio/configure @ 89:8a15ff55d9af
Add bzip2, zlib, liblo, portaudio sources
| author | Chris Cannam <cannam@all-day-breakfast.com> |
|---|---|
| date | Wed, 20 Mar 2013 13:59:52 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 88:fe7c3a0b0259 | 89:8a15ff55d9af |
|---|---|
| 1 #! /bin/sh | |
| 2 # Guess values for system-dependent variables and create Makefiles. | |
| 3 # Generated by GNU Autoconf 2.68. | |
| 4 # | |
| 5 # | |
| 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
| 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
| 8 # Foundation, Inc. | |
| 9 # | |
| 10 # | |
| 11 # This configure script is free software; the Free Software Foundation | |
| 12 # gives unlimited permission to copy, distribute and modify it. | |
| 13 ## -------------------- ## | |
| 14 ## M4sh Initialization. ## | |
| 15 ## -------------------- ## | |
| 16 | |
| 17 # Be more Bourne compatible | |
| 18 DUALCASE=1; export DUALCASE # for MKS sh | |
| 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 20 emulate sh | |
| 21 NULLCMD=: | |
| 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 23 # is contrary to our usage. Disable this feature. | |
| 24 alias -g '${1+"$@"}'='"$@"' | |
| 25 setopt NO_GLOB_SUBST | |
| 26 else | |
| 27 case `(set -o) 2>/dev/null` in #( | |
| 28 *posix*) : | |
| 29 set -o posix ;; #( | |
| 30 *) : | |
| 31 ;; | |
| 32 esac | |
| 33 fi | |
| 34 | |
| 35 | |
| 36 as_nl=' | |
| 37 ' | |
| 38 export as_nl | |
| 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 43 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 44 # but without wasting forks for bash or zsh. | |
| 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 47 as_echo='print -r --' | |
| 48 as_echo_n='print -rn --' | |
| 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 50 as_echo='printf %s\n' | |
| 51 as_echo_n='printf %s' | |
| 52 else | |
| 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 55 as_echo_n='/usr/ucb/echo -n' | |
| 56 else | |
| 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 58 as_echo_n_body='eval | |
| 59 arg=$1; | |
| 60 case $arg in #( | |
| 61 *"$as_nl"*) | |
| 62 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 64 esac; | |
| 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 66 ' | |
| 67 export as_echo_n_body | |
| 68 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 69 fi | |
| 70 export as_echo_body | |
| 71 as_echo='sh -c $as_echo_body as_echo' | |
| 72 fi | |
| 73 | |
| 74 # The user is always right. | |
| 75 if test "${PATH_SEPARATOR+set}" != set; then | |
| 76 PATH_SEPARATOR=: | |
| 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 79 PATH_SEPARATOR=';' | |
| 80 } | |
| 81 fi | |
| 82 | |
| 83 | |
| 84 # IFS | |
| 85 # We need space, tab and new line, in precisely that order. Quoting is | |
| 86 # there to prevent editors from complaining about space-tab. | |
| 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 88 # splitting by setting IFS to empty value.) | |
| 89 IFS=" "" $as_nl" | |
| 90 | |
| 91 # Find who we are. Look in the path if we contain no directory separator. | |
| 92 as_myself= | |
| 93 case $0 in #(( | |
| 94 *[\\/]* ) as_myself=$0 ;; | |
| 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 96 for as_dir in $PATH | |
| 97 do | |
| 98 IFS=$as_save_IFS | |
| 99 test -z "$as_dir" && as_dir=. | |
| 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 101 done | |
| 102 IFS=$as_save_IFS | |
| 103 | |
| 104 ;; | |
| 105 esac | |
| 106 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 107 # in which case we are not to be found in the path. | |
| 108 if test "x$as_myself" = x; then | |
| 109 as_myself=$0 | |
| 110 fi | |
| 111 if test ! -f "$as_myself"; then | |
| 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 113 exit 1 | |
| 114 fi | |
| 115 | |
| 116 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 118 # suppresses any "Segmentation fault" message there. '((' could | |
| 119 # trigger a bug in pdksh 5.2.14. | |
| 120 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 121 do eval test x\${$as_var+set} = xset \ | |
| 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 123 done | |
| 124 PS1='$ ' | |
| 125 PS2='> ' | |
| 126 PS4='+ ' | |
| 127 | |
| 128 # NLS nuisances. | |
| 129 LC_ALL=C | |
| 130 export LC_ALL | |
| 131 LANGUAGE=C | |
| 132 export LANGUAGE | |
| 133 | |
| 134 # CDPATH. | |
| 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 136 | |
| 137 if test "x$CONFIG_SHELL" = x; then | |
| 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
| 139 emulate sh | |
| 140 NULLCMD=: | |
| 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 142 # is contrary to our usage. Disable this feature. | |
| 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 144 setopt NO_GLOB_SUBST | |
| 145 else | |
| 146 case \`(set -o) 2>/dev/null\` in #( | |
| 147 *posix*) : | |
| 148 set -o posix ;; #( | |
| 149 *) : | |
| 150 ;; | |
| 151 esac | |
| 152 fi | |
| 153 " | |
| 154 as_required="as_fn_return () { (exit \$1); } | |
| 155 as_fn_success () { as_fn_return 0; } | |
| 156 as_fn_failure () { as_fn_return 1; } | |
| 157 as_fn_ret_success () { return 0; } | |
| 158 as_fn_ret_failure () { return 1; } | |
| 159 | |
| 160 exitcode=0 | |
| 161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 166 | |
| 167 else | |
| 168 exitcode=1; echo positional parameters were not saved. | |
| 169 fi | |
| 170 test x\$exitcode = x0 || exit 1" | |
| 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
| 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
| 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
| 175 | |
| 176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | |
| 177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | |
| 180 PATH=/empty FPATH=/empty; export PATH FPATH | |
| 181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | |
| 182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 | |
| 183 test \$(( 1 + 1 )) = 2 || exit 1" | |
| 184 if (eval "$as_required") 2>/dev/null; then : | |
| 185 as_have_required=yes | |
| 186 else | |
| 187 as_have_required=no | |
| 188 fi | |
| 189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
| 190 | |
| 191 else | |
| 192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 193 as_found=false | |
| 194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 195 do | |
| 196 IFS=$as_save_IFS | |
| 197 test -z "$as_dir" && as_dir=. | |
| 198 as_found=: | |
| 199 case $as_dir in #( | |
| 200 /*) | |
| 201 for as_base in sh bash ksh sh5; do | |
| 202 # Try only shells that exist, to save several forks. | |
| 203 as_shell=$as_dir/$as_base | |
| 204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 206 CONFIG_SHELL=$as_shell as_have_required=yes | |
| 207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 208 break 2 | |
| 209 fi | |
| 210 fi | |
| 211 done;; | |
| 212 esac | |
| 213 as_found=false | |
| 214 done | |
| 215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
| 217 CONFIG_SHELL=$SHELL as_have_required=yes | |
| 218 fi; } | |
| 219 IFS=$as_save_IFS | |
| 220 | |
| 221 | |
| 222 if test "x$CONFIG_SHELL" != x; then : | |
| 223 # We cannot yet assume a decent shell, so we have to provide a | |
| 224 # neutralization value for shells without unset; and this also | |
| 225 # works around shells that cannot unset nonexistent variables. | |
| 226 # Preserve -v and -x to the replacement shell. | |
| 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 case $- in # (((( | |
| 232 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 233 *v* ) as_opts=-v ;; | |
| 234 *x* ) as_opts=-x ;; | |
| 235 * ) as_opts= ;; | |
| 236 esac | |
| 237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
| 238 fi | |
| 239 | |
| 240 if test x$as_have_required = xno; then : | |
| 241 $as_echo "$0: This script requires a shell more modern than all" | |
| 242 $as_echo "$0: the shells that I found on your system." | |
| 243 if test x${ZSH_VERSION+set} = xset ; then | |
| 244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 245 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 246 else | |
| 247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
| 248 $0: including any error possibly output before this | |
| 249 $0: message. Then install a modern shell, or manually run | |
| 250 $0: the script under such a shell if you do have one." | |
| 251 fi | |
| 252 exit 1 | |
| 253 fi | |
| 254 fi | |
| 255 fi | |
| 256 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 257 export SHELL | |
| 258 # Unset more variables known to interfere with behavior of common tools. | |
| 259 CLICOLOR_FORCE= GREP_OPTIONS= | |
| 260 unset CLICOLOR_FORCE GREP_OPTIONS | |
| 261 | |
| 262 ## --------------------- ## | |
| 263 ## M4sh Shell Functions. ## | |
| 264 ## --------------------- ## | |
| 265 # as_fn_unset VAR | |
| 266 # --------------- | |
| 267 # Portably unset VAR. | |
| 268 as_fn_unset () | |
| 269 { | |
| 270 { eval $1=; unset $1;} | |
| 271 } | |
| 272 as_unset=as_fn_unset | |
| 273 | |
| 274 # as_fn_set_status STATUS | |
| 275 # ----------------------- | |
| 276 # Set $? to STATUS, without forking. | |
| 277 as_fn_set_status () | |
| 278 { | |
| 279 return $1 | |
| 280 } # as_fn_set_status | |
| 281 | |
| 282 # as_fn_exit STATUS | |
| 283 # ----------------- | |
| 284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 285 as_fn_exit () | |
| 286 { | |
| 287 set +e | |
| 288 as_fn_set_status $1 | |
| 289 exit $1 | |
| 290 } # as_fn_exit | |
| 291 | |
| 292 # as_fn_mkdir_p | |
| 293 # ------------- | |
| 294 # Create "$as_dir" as a directory, including parents if necessary. | |
| 295 as_fn_mkdir_p () | |
| 296 { | |
| 297 | |
| 298 case $as_dir in #( | |
| 299 -*) as_dir=./$as_dir;; | |
| 300 esac | |
| 301 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 302 as_dirs= | |
| 303 while :; do | |
| 304 case $as_dir in #( | |
| 305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 306 *) as_qdir=$as_dir;; | |
| 307 esac | |
| 308 as_dirs="'$as_qdir' $as_dirs" | |
| 309 as_dir=`$as_dirname -- "$as_dir" || | |
| 310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 311 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 312 X"$as_dir" : 'X\(//\)$' \| \ | |
| 313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 314 $as_echo X"$as_dir" | | |
| 315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 316 s//\1/ | |
| 317 q | |
| 318 } | |
| 319 /^X\(\/\/\)[^/].*/{ | |
| 320 s//\1/ | |
| 321 q | |
| 322 } | |
| 323 /^X\(\/\/\)$/{ | |
| 324 s//\1/ | |
| 325 q | |
| 326 } | |
| 327 /^X\(\/\).*/{ | |
| 328 s//\1/ | |
| 329 q | |
| 330 } | |
| 331 s/.*/./; q'` | |
| 332 test -d "$as_dir" && break | |
| 333 done | |
| 334 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 336 | |
| 337 | |
| 338 } # as_fn_mkdir_p | |
| 339 # as_fn_append VAR VALUE | |
| 340 # ---------------------- | |
| 341 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 342 # advantage of any shell optimizations that allow amortized linear growth over | |
| 343 # repeated appends, instead of the typical quadratic growth present in naive | |
| 344 # implementations. | |
| 345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 346 eval 'as_fn_append () | |
| 347 { | |
| 348 eval $1+=\$2 | |
| 349 }' | |
| 350 else | |
| 351 as_fn_append () | |
| 352 { | |
| 353 eval $1=\$$1\$2 | |
| 354 } | |
| 355 fi # as_fn_append | |
| 356 | |
| 357 # as_fn_arith ARG... | |
| 358 # ------------------ | |
| 359 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 360 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 361 # must be portable across $(()) and expr. | |
| 362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 363 eval 'as_fn_arith () | |
| 364 { | |
| 365 as_val=$(( $* )) | |
| 366 }' | |
| 367 else | |
| 368 as_fn_arith () | |
| 369 { | |
| 370 as_val=`expr "$@" || test $? -eq 1` | |
| 371 } | |
| 372 fi # as_fn_arith | |
| 373 | |
| 374 | |
| 375 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 376 # ---------------------------------------- | |
| 377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 379 # script with STATUS, using 1 if that was 0. | |
| 380 as_fn_error () | |
| 381 { | |
| 382 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 383 if test "$4"; then | |
| 384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 386 fi | |
| 387 $as_echo "$as_me: error: $2" >&2 | |
| 388 as_fn_exit $as_status | |
| 389 } # as_fn_error | |
| 390 | |
| 391 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 392 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 393 as_expr=expr | |
| 394 else | |
| 395 as_expr=false | |
| 396 fi | |
| 397 | |
| 398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 399 as_basename=basename | |
| 400 else | |
| 401 as_basename=false | |
| 402 fi | |
| 403 | |
| 404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 405 as_dirname=dirname | |
| 406 else | |
| 407 as_dirname=false | |
| 408 fi | |
| 409 | |
| 410 as_me=`$as_basename -- "$0" || | |
| 411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 412 X"$0" : 'X\(//\)$' \| \ | |
| 413 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 414 $as_echo X/"$0" | | |
| 415 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 416 s//\1/ | |
| 417 q | |
| 418 } | |
| 419 /^X\/\(\/\/\)$/{ | |
| 420 s//\1/ | |
| 421 q | |
| 422 } | |
| 423 /^X\/\(\/\).*/{ | |
| 424 s//\1/ | |
| 425 q | |
| 426 } | |
| 427 s/.*/./; q'` | |
| 428 | |
| 429 # Avoid depending upon Character Ranges. | |
| 430 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 433 as_cr_digits='0123456789' | |
| 434 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 435 | |
| 436 | |
| 437 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 438 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 442 sed -n ' | |
| 443 p | |
| 444 /[$]LINENO/= | |
| 445 ' <$as_myself | | |
| 446 sed ' | |
| 447 s/[$]LINENO.*/&-/ | |
| 448 t lineno | |
| 449 b | |
| 450 :lineno | |
| 451 N | |
| 452 :loop | |
| 453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 454 t loop | |
| 455 s/-\n.*// | |
| 456 ' >$as_me.lineno && | |
| 457 chmod +x "$as_me.lineno" || | |
| 458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
| 459 | |
| 460 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 461 # (the dirname of $[0] is not the place where we might find the | |
| 462 # original and so on. Autoconf is especially sensitive to this). | |
| 463 . "./$as_me.lineno" | |
| 464 # Exit status is that of the last command. | |
| 465 exit | |
| 466 } | |
| 467 | |
| 468 ECHO_C= ECHO_N= ECHO_T= | |
| 469 case `echo -n x` in #((((( | |
| 470 -n*) | |
| 471 case `echo 'xy\c'` in | |
| 472 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 473 xy) ECHO_C='\c';; | |
| 474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 475 ECHO_T=' ';; | |
| 476 esac;; | |
| 477 *) | |
| 478 ECHO_N='-n';; | |
| 479 esac | |
| 480 | |
| 481 rm -f conf$$ conf$$.exe conf$$.file | |
| 482 if test -d conf$$.dir; then | |
| 483 rm -f conf$$.dir/conf$$.file | |
| 484 else | |
| 485 rm -f conf$$.dir | |
| 486 mkdir conf$$.dir 2>/dev/null | |
| 487 fi | |
| 488 if (echo >conf$$.file) 2>/dev/null; then | |
| 489 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 490 as_ln_s='ln -s' | |
| 491 # ... but there are two gotchas: | |
| 492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 494 # In both cases, we have to default to `cp -p'. | |
| 495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 496 as_ln_s='cp -p' | |
| 497 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 498 as_ln_s=ln | |
| 499 else | |
| 500 as_ln_s='cp -p' | |
| 501 fi | |
| 502 else | |
| 503 as_ln_s='cp -p' | |
| 504 fi | |
| 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 506 rmdir conf$$.dir 2>/dev/null | |
| 507 | |
| 508 if mkdir -p . 2>/dev/null; then | |
| 509 as_mkdir_p='mkdir -p "$as_dir"' | |
| 510 else | |
| 511 test -d ./-p && rmdir ./-p | |
| 512 as_mkdir_p=false | |
| 513 fi | |
| 514 | |
| 515 if test -x / >/dev/null 2>&1; then | |
| 516 as_test_x='test -x' | |
| 517 else | |
| 518 if ls -dL / >/dev/null 2>&1; then | |
| 519 as_ls_L_option=L | |
| 520 else | |
| 521 as_ls_L_option= | |
| 522 fi | |
| 523 as_test_x=' | |
| 524 eval sh -c '\'' | |
| 525 if test -d "$1"; then | |
| 526 test -d "$1/."; | |
| 527 else | |
| 528 case $1 in #( | |
| 529 -*)set "./$1";; | |
| 530 esac; | |
| 531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 532 ???[sx]*):;;*)false;;esac;fi | |
| 533 '\'' sh | |
| 534 ' | |
| 535 fi | |
| 536 as_executable_p=$as_test_x | |
| 537 | |
| 538 # Sed expression to map a string onto a valid CPP name. | |
| 539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 540 | |
| 541 # Sed expression to map a string onto a valid variable name. | |
| 542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 543 | |
| 544 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 545 | |
| 546 | |
| 547 test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 548 exec 6>&1 | |
| 549 | |
| 550 # Name of the host. | |
| 551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 552 # so uname gets run too. | |
| 553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 554 | |
| 555 # | |
| 556 # Initializations. | |
| 557 # | |
| 558 ac_default_prefix=/usr/local | |
| 559 ac_clean_files= | |
| 560 ac_config_libobj_dir=. | |
| 561 LIBOBJS= | |
| 562 cross_compiling=no | |
| 563 subdirs= | |
| 564 MFLAGS= | |
| 565 MAKEFLAGS= | |
| 566 | |
| 567 # Identity of this package. | |
| 568 PACKAGE_NAME= | |
| 569 PACKAGE_TARNAME= | |
| 570 PACKAGE_VERSION= | |
| 571 PACKAGE_STRING= | |
| 572 PACKAGE_BUGREPORT= | |
| 573 PACKAGE_URL= | |
| 574 | |
| 575 ac_unique_file="include/portaudio.h" | |
| 576 # Factoring default headers for most tests. | |
| 577 ac_includes_default="\ | |
| 578 #include <stdio.h> | |
| 579 #ifdef HAVE_SYS_TYPES_H | |
| 580 # include <sys/types.h> | |
| 581 #endif | |
| 582 #ifdef HAVE_SYS_STAT_H | |
| 583 # include <sys/stat.h> | |
| 584 #endif | |
| 585 #ifdef STDC_HEADERS | |
| 586 # include <stdlib.h> | |
| 587 # include <stddef.h> | |
| 588 #else | |
| 589 # ifdef HAVE_STDLIB_H | |
| 590 # include <stdlib.h> | |
| 591 # endif | |
| 592 #endif | |
| 593 #ifdef HAVE_STRING_H | |
| 594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 595 # include <memory.h> | |
| 596 # endif | |
| 597 # include <string.h> | |
| 598 #endif | |
| 599 #ifdef HAVE_STRINGS_H | |
| 600 # include <strings.h> | |
| 601 #endif | |
| 602 #ifdef HAVE_INTTYPES_H | |
| 603 # include <inttypes.h> | |
| 604 #endif | |
| 605 #ifdef HAVE_STDINT_H | |
| 606 # include <stdint.h> | |
| 607 #endif | |
| 608 #ifdef HAVE_UNISTD_H | |
| 609 # include <unistd.h> | |
| 610 #endif" | |
| 611 | |
| 612 enable_option_checking=no | |
| 613 ac_subst_vars='LTLIBOBJS | |
| 614 LIBOBJS | |
| 615 WITH_ASIO_FALSE | |
| 616 WITH_ASIO_TRUE | |
| 617 ENABLE_CXX_FALSE | |
| 618 ENABLE_CXX_TRUE | |
| 619 subdirs | |
| 620 INCLUDES | |
| 621 NASMOPT | |
| 622 NASM | |
| 623 DLL_LIBS | |
| 624 THREAD_CFLAGS | |
| 625 SHARED_FLAGS | |
| 626 PADLL | |
| 627 OTHER_OBJS | |
| 628 LT_AGE | |
| 629 LT_REVISION | |
| 630 LT_CURRENT | |
| 631 JACK_LIBS | |
| 632 JACK_CFLAGS | |
| 633 PKG_CONFIG_LIBDIR | |
| 634 PKG_CONFIG_PATH | |
| 635 PKG_CONFIG | |
| 636 INSTALL_DATA | |
| 637 INSTALL_SCRIPT | |
| 638 INSTALL_PROGRAM | |
| 639 CXXCPP | |
| 640 CPP | |
| 641 OTOOL64 | |
| 642 OTOOL | |
| 643 LIPO | |
| 644 NMEDIT | |
| 645 DSYMUTIL | |
| 646 MANIFEST_TOOL | |
| 647 AWK | |
| 648 RANLIB | |
| 649 STRIP | |
| 650 ac_ct_AR | |
| 651 AR | |
| 652 LN_S | |
| 653 NM | |
| 654 ac_ct_DUMPBIN | |
| 655 DUMPBIN | |
| 656 LD | |
| 657 FGREP | |
| 658 EGREP | |
| 659 GREP | |
| 660 SED | |
| 661 LIBTOOL | |
| 662 OBJDUMP | |
| 663 DLLTOOL | |
| 664 AS | |
| 665 ac_ct_CXX | |
| 666 CXXFLAGS | |
| 667 CXX | |
| 668 OBJEXT | |
| 669 EXEEXT | |
| 670 ac_ct_CC | |
| 671 CPPFLAGS | |
| 672 LDFLAGS | |
| 673 CFLAGS | |
| 674 CC | |
| 675 target_os | |
| 676 target_vendor | |
| 677 target_cpu | |
| 678 target | |
| 679 host_os | |
| 680 host_vendor | |
| 681 host_cpu | |
| 682 host | |
| 683 build_os | |
| 684 build_vendor | |
| 685 build_cpu | |
| 686 build | |
| 687 target_alias | |
| 688 host_alias | |
| 689 build_alias | |
| 690 LIBS | |
| 691 ECHO_T | |
| 692 ECHO_N | |
| 693 ECHO_C | |
| 694 DEFS | |
| 695 mandir | |
| 696 localedir | |
| 697 libdir | |
| 698 psdir | |
| 699 pdfdir | |
| 700 dvidir | |
| 701 htmldir | |
| 702 infodir | |
| 703 docdir | |
| 704 oldincludedir | |
| 705 includedir | |
| 706 localstatedir | |
| 707 sharedstatedir | |
| 708 sysconfdir | |
| 709 datadir | |
| 710 datarootdir | |
| 711 libexecdir | |
| 712 sbindir | |
| 713 bindir | |
| 714 program_transform_name | |
| 715 prefix | |
| 716 exec_prefix | |
| 717 PACKAGE_URL | |
| 718 PACKAGE_BUGREPORT | |
| 719 PACKAGE_STRING | |
| 720 PACKAGE_VERSION | |
| 721 PACKAGE_TARNAME | |
| 722 PACKAGE_NAME | |
| 723 PATH_SEPARATOR | |
| 724 SHELL' | |
| 725 ac_subst_files='' | |
| 726 ac_user_opts=' | |
| 727 enable_option_checking | |
| 728 with_alsa | |
| 729 with_jack | |
| 730 with_oss | |
| 731 with_asihpi | |
| 732 with_winapi | |
| 733 with_asiodir | |
| 734 with_dxdir | |
| 735 enable_debug_output | |
| 736 enable_cxx | |
| 737 enable_mac_debug | |
| 738 enable_mac_universal | |
| 739 with_host_os | |
| 740 enable_shared | |
| 741 enable_static | |
| 742 with_pic | |
| 743 enable_fast_install | |
| 744 with_gnu_ld | |
| 745 with_sysroot | |
| 746 enable_libtool_lock | |
| 747 ' | |
| 748 ac_precious_vars='build_alias | |
| 749 host_alias | |
| 750 target_alias | |
| 751 CC | |
| 752 CFLAGS | |
| 753 LDFLAGS | |
| 754 LIBS | |
| 755 CPPFLAGS | |
| 756 CXX | |
| 757 CXXFLAGS | |
| 758 CCC | |
| 759 CPP | |
| 760 CXXCPP | |
| 761 PKG_CONFIG | |
| 762 PKG_CONFIG_PATH | |
| 763 PKG_CONFIG_LIBDIR | |
| 764 JACK_CFLAGS | |
| 765 JACK_LIBS' | |
| 766 ac_subdirs_all='bindings/cpp' | |
| 767 | |
| 768 # Initialize some variables set by options. | |
| 769 ac_init_help= | |
| 770 ac_init_version=false | |
| 771 ac_unrecognized_opts= | |
| 772 ac_unrecognized_sep= | |
| 773 # The variables have the same names as the options, with | |
| 774 # dashes changed to underlines. | |
| 775 cache_file=/dev/null | |
| 776 exec_prefix=NONE | |
| 777 no_create= | |
| 778 no_recursion= | |
| 779 prefix=NONE | |
| 780 program_prefix=NONE | |
| 781 program_suffix=NONE | |
| 782 program_transform_name=s,x,x, | |
| 783 silent= | |
| 784 site= | |
| 785 srcdir= | |
| 786 verbose= | |
| 787 x_includes=NONE | |
| 788 x_libraries=NONE | |
| 789 | |
| 790 # Installation directory options. | |
| 791 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 792 # and all the variables that are supposed to be based on exec_prefix | |
| 793 # by default will actually change. | |
| 794 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 795 # (The list follows the same order as the GNU Coding Standards.) | |
| 796 bindir='${exec_prefix}/bin' | |
| 797 sbindir='${exec_prefix}/sbin' | |
| 798 libexecdir='${exec_prefix}/libexec' | |
| 799 datarootdir='${prefix}/share' | |
| 800 datadir='${datarootdir}' | |
| 801 sysconfdir='${prefix}/etc' | |
| 802 sharedstatedir='${prefix}/com' | |
| 803 localstatedir='${prefix}/var' | |
| 804 includedir='${prefix}/include' | |
| 805 oldincludedir='/usr/include' | |
| 806 docdir='${datarootdir}/doc/${PACKAGE}' | |
| 807 infodir='${datarootdir}/info' | |
| 808 htmldir='${docdir}' | |
| 809 dvidir='${docdir}' | |
| 810 pdfdir='${docdir}' | |
| 811 psdir='${docdir}' | |
| 812 libdir='${exec_prefix}/lib' | |
| 813 localedir='${datarootdir}/locale' | |
| 814 mandir='${datarootdir}/man' | |
| 815 | |
| 816 ac_prev= | |
| 817 ac_dashdash= | |
| 818 for ac_option | |
| 819 do | |
| 820 # If the previous option needs an argument, assign it. | |
| 821 if test -n "$ac_prev"; then | |
| 822 eval $ac_prev=\$ac_option | |
| 823 ac_prev= | |
| 824 continue | |
| 825 fi | |
| 826 | |
| 827 case $ac_option in | |
| 828 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 829 *=) ac_optarg= ;; | |
| 830 *) ac_optarg=yes ;; | |
| 831 esac | |
| 832 | |
| 833 # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 834 | |
| 835 case $ac_dashdash$ac_option in | |
| 836 --) | |
| 837 ac_dashdash=yes ;; | |
| 838 | |
| 839 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 840 ac_prev=bindir ;; | |
| 841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 842 bindir=$ac_optarg ;; | |
| 843 | |
| 844 -build | --build | --buil | --bui | --bu) | |
| 845 ac_prev=build_alias ;; | |
| 846 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 847 build_alias=$ac_optarg ;; | |
| 848 | |
| 849 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 851 ac_prev=cache_file ;; | |
| 852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 854 cache_file=$ac_optarg ;; | |
| 855 | |
| 856 --config-cache | -C) | |
| 857 cache_file=config.cache ;; | |
| 858 | |
| 859 -datadir | --datadir | --datadi | --datad) | |
| 860 ac_prev=datadir ;; | |
| 861 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 862 datadir=$ac_optarg ;; | |
| 863 | |
| 864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 865 | --dataroo | --dataro | --datar) | |
| 866 ac_prev=datarootdir ;; | |
| 867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 869 datarootdir=$ac_optarg ;; | |
| 870 | |
| 871 -disable-* | --disable-*) | |
| 872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 873 # Reject names that are not valid shell variable names. | |
| 874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 875 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 876 ac_useropt_orig=$ac_useropt | |
| 877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 878 case $ac_user_opts in | |
| 879 *" | |
| 880 "enable_$ac_useropt" | |
| 881 "*) ;; | |
| 882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
| 883 ac_unrecognized_sep=', ';; | |
| 884 esac | |
| 885 eval enable_$ac_useropt=no ;; | |
| 886 | |
| 887 -docdir | --docdir | --docdi | --doc | --do) | |
| 888 ac_prev=docdir ;; | |
| 889 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 890 docdir=$ac_optarg ;; | |
| 891 | |
| 892 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 893 ac_prev=dvidir ;; | |
| 894 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 895 dvidir=$ac_optarg ;; | |
| 896 | |
| 897 -enable-* | --enable-*) | |
| 898 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 899 # Reject names that are not valid shell variable names. | |
| 900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 901 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 902 ac_useropt_orig=$ac_useropt | |
| 903 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 904 case $ac_user_opts in | |
| 905 *" | |
| 906 "enable_$ac_useropt" | |
| 907 "*) ;; | |
| 908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
| 909 ac_unrecognized_sep=', ';; | |
| 910 esac | |
| 911 eval enable_$ac_useropt=\$ac_optarg ;; | |
| 912 | |
| 913 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 914 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 915 | --exec | --exe | --ex) | |
| 916 ac_prev=exec_prefix ;; | |
| 917 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 918 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 919 | --exec=* | --exe=* | --ex=*) | |
| 920 exec_prefix=$ac_optarg ;; | |
| 921 | |
| 922 -gas | --gas | --ga | --g) | |
| 923 # Obsolete; use --with-gas. | |
| 924 with_gas=yes ;; | |
| 925 | |
| 926 -help | --help | --hel | --he | -h) | |
| 927 ac_init_help=long ;; | |
| 928 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 929 ac_init_help=recursive ;; | |
| 930 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 931 ac_init_help=short ;; | |
| 932 | |
| 933 -host | --host | --hos | --ho) | |
| 934 ac_prev=host_alias ;; | |
| 935 -host=* | --host=* | --hos=* | --ho=*) | |
| 936 host_alias=$ac_optarg ;; | |
| 937 | |
| 938 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 939 ac_prev=htmldir ;; | |
| 940 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 941 | --ht=*) | |
| 942 htmldir=$ac_optarg ;; | |
| 943 | |
| 944 -includedir | --includedir | --includedi | --included | --include \ | |
| 945 | --includ | --inclu | --incl | --inc) | |
| 946 ac_prev=includedir ;; | |
| 947 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 948 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 949 includedir=$ac_optarg ;; | |
| 950 | |
| 951 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 952 ac_prev=infodir ;; | |
| 953 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 954 infodir=$ac_optarg ;; | |
| 955 | |
| 956 -libdir | --libdir | --libdi | --libd) | |
| 957 ac_prev=libdir ;; | |
| 958 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 959 libdir=$ac_optarg ;; | |
| 960 | |
| 961 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 962 | --libexe | --libex | --libe) | |
| 963 ac_prev=libexecdir ;; | |
| 964 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 965 | --libexe=* | --libex=* | --libe=*) | |
| 966 libexecdir=$ac_optarg ;; | |
| 967 | |
| 968 -localedir | --localedir | --localedi | --localed | --locale) | |
| 969 ac_prev=localedir ;; | |
| 970 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 971 localedir=$ac_optarg ;; | |
| 972 | |
| 973 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 974 | --localstate | --localstat | --localsta | --localst | --locals) | |
| 975 ac_prev=localstatedir ;; | |
| 976 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 977 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 978 localstatedir=$ac_optarg ;; | |
| 979 | |
| 980 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 981 ac_prev=mandir ;; | |
| 982 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 983 mandir=$ac_optarg ;; | |
| 984 | |
| 985 -nfp | --nfp | --nf) | |
| 986 # Obsolete; use --without-fp. | |
| 987 with_fp=no ;; | |
| 988 | |
| 989 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 990 | --no-cr | --no-c | -n) | |
| 991 no_create=yes ;; | |
| 992 | |
| 993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 995 no_recursion=yes ;; | |
| 996 | |
| 997 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 998 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 999 | --oldin | --oldi | --old | --ol | --o) | |
| 1000 ac_prev=oldincludedir ;; | |
| 1001 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 1002 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 1003 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 1004 oldincludedir=$ac_optarg ;; | |
| 1005 | |
| 1006 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 1007 ac_prev=prefix ;; | |
| 1008 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 1009 prefix=$ac_optarg ;; | |
| 1010 | |
| 1011 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 1012 | --program-pre | --program-pr | --program-p) | |
| 1013 ac_prev=program_prefix ;; | |
| 1014 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 1015 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 1016 program_prefix=$ac_optarg ;; | |
| 1017 | |
| 1018 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 1019 | --program-suf | --program-su | --program-s) | |
| 1020 ac_prev=program_suffix ;; | |
| 1021 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 1022 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 1023 program_suffix=$ac_optarg ;; | |
| 1024 | |
| 1025 -program-transform-name | --program-transform-name \ | |
| 1026 | --program-transform-nam | --program-transform-na \ | |
| 1027 | --program-transform-n | --program-transform- \ | |
| 1028 | --program-transform | --program-transfor \ | |
| 1029 | --program-transfo | --program-transf \ | |
| 1030 | --program-trans | --program-tran \ | |
| 1031 | --progr-tra | --program-tr | --program-t) | |
| 1032 ac_prev=program_transform_name ;; | |
| 1033 -program-transform-name=* | --program-transform-name=* \ | |
| 1034 | --program-transform-nam=* | --program-transform-na=* \ | |
| 1035 | --program-transform-n=* | --program-transform-=* \ | |
| 1036 | --program-transform=* | --program-transfor=* \ | |
| 1037 | --program-transfo=* | --program-transf=* \ | |
| 1038 | --program-trans=* | --program-tran=* \ | |
| 1039 | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 1040 program_transform_name=$ac_optarg ;; | |
| 1041 | |
| 1042 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 1043 ac_prev=pdfdir ;; | |
| 1044 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 1045 pdfdir=$ac_optarg ;; | |
| 1046 | |
| 1047 -psdir | --psdir | --psdi | --psd | --ps) | |
| 1048 ac_prev=psdir ;; | |
| 1049 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 1050 psdir=$ac_optarg ;; | |
| 1051 | |
| 1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1053 | -silent | --silent | --silen | --sile | --sil) | |
| 1054 silent=yes ;; | |
| 1055 | |
| 1056 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 1057 ac_prev=sbindir ;; | |
| 1058 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 1059 | --sbi=* | --sb=*) | |
| 1060 sbindir=$ac_optarg ;; | |
| 1061 | |
| 1062 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 1063 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 1064 | --sharedst | --shareds | --shared | --share | --shar \ | |
| 1065 | --sha | --sh) | |
| 1066 ac_prev=sharedstatedir ;; | |
| 1067 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 1068 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 1069 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 1070 | --sha=* | --sh=*) | |
| 1071 sharedstatedir=$ac_optarg ;; | |
| 1072 | |
| 1073 -site | --site | --sit) | |
| 1074 ac_prev=site ;; | |
| 1075 -site=* | --site=* | --sit=*) | |
| 1076 site=$ac_optarg ;; | |
| 1077 | |
| 1078 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 1079 ac_prev=srcdir ;; | |
| 1080 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 1081 srcdir=$ac_optarg ;; | |
| 1082 | |
| 1083 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 1084 | --syscon | --sysco | --sysc | --sys | --sy) | |
| 1085 ac_prev=sysconfdir ;; | |
| 1086 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 1087 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 1088 sysconfdir=$ac_optarg ;; | |
| 1089 | |
| 1090 -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 1091 ac_prev=target_alias ;; | |
| 1092 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 1093 target_alias=$ac_optarg ;; | |
| 1094 | |
| 1095 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1096 verbose=yes ;; | |
| 1097 | |
| 1098 -version | --version | --versio | --versi | --vers | -V) | |
| 1099 ac_init_version=: ;; | |
| 1100 | |
| 1101 -with-* | --with-*) | |
| 1102 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1103 # Reject names that are not valid shell variable names. | |
| 1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1105 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1106 ac_useropt_orig=$ac_useropt | |
| 1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1108 case $ac_user_opts in | |
| 1109 *" | |
| 1110 "with_$ac_useropt" | |
| 1111 "*) ;; | |
| 1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
| 1113 ac_unrecognized_sep=', ';; | |
| 1114 esac | |
| 1115 eval with_$ac_useropt=\$ac_optarg ;; | |
| 1116 | |
| 1117 -without-* | --without-*) | |
| 1118 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1119 # Reject names that are not valid shell variable names. | |
| 1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1121 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1122 ac_useropt_orig=$ac_useropt | |
| 1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1124 case $ac_user_opts in | |
| 1125 *" | |
| 1126 "with_$ac_useropt" | |
| 1127 "*) ;; | |
| 1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
| 1129 ac_unrecognized_sep=', ';; | |
| 1130 esac | |
| 1131 eval with_$ac_useropt=no ;; | |
| 1132 | |
| 1133 --x) | |
| 1134 # Obsolete; use --with-x. | |
| 1135 with_x=yes ;; | |
| 1136 | |
| 1137 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1138 | --x-incl | --x-inc | --x-in | --x-i) | |
| 1139 ac_prev=x_includes ;; | |
| 1140 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1141 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1142 x_includes=$ac_optarg ;; | |
| 1143 | |
| 1144 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1145 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1146 ac_prev=x_libraries ;; | |
| 1147 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1148 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1149 x_libraries=$ac_optarg ;; | |
| 1150 | |
| 1151 -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
| 1152 Try \`$0 --help' for more information" | |
| 1153 ;; | |
| 1154 | |
| 1155 *=*) | |
| 1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1157 # Reject names that are not valid shell variable names. | |
| 1158 case $ac_envvar in #( | |
| 1159 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1160 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1161 esac | |
| 1162 eval $ac_envvar=\$ac_optarg | |
| 1163 export $ac_envvar ;; | |
| 1164 | |
| 1165 *) | |
| 1166 # FIXME: should be removed in autoconf 3.0. | |
| 1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1170 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
| 1171 ;; | |
| 1172 | |
| 1173 esac | |
| 1174 done | |
| 1175 | |
| 1176 if test -n "$ac_prev"; then | |
| 1177 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1178 as_fn_error $? "missing argument to $ac_option" | |
| 1179 fi | |
| 1180 | |
| 1181 if test -n "$ac_unrecognized_opts"; then | |
| 1182 case $enable_option_checking in | |
| 1183 no) ;; | |
| 1184 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
| 1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
| 1186 esac | |
| 1187 fi | |
| 1188 | |
| 1189 # Check all directory arguments for consistency. | |
| 1190 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1191 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1193 libdir localedir mandir | |
| 1194 do | |
| 1195 eval ac_val=\$$ac_var | |
| 1196 # Remove trailing slashes. | |
| 1197 case $ac_val in | |
| 1198 */ ) | |
| 1199 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
| 1200 eval $ac_var=\$ac_val;; | |
| 1201 esac | |
| 1202 # Be sure to have absolute directory names. | |
| 1203 case $ac_val in | |
| 1204 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1205 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1206 esac | |
| 1207 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 1208 done | |
| 1209 | |
| 1210 # There might be people who depend on the old broken behavior: `$host' | |
| 1211 # used to hold the argument of --host etc. | |
| 1212 # FIXME: To remove some day. | |
| 1213 build=$build_alias | |
| 1214 host=$host_alias | |
| 1215 target=$target_alias | |
| 1216 | |
| 1217 # FIXME: To remove some day. | |
| 1218 if test "x$host_alias" != x; then | |
| 1219 if test "x$build_alias" = x; then | |
| 1220 cross_compiling=maybe | |
| 1221 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
| 1222 If a cross compiler is detected then cross compile mode will be used" >&2 | |
| 1223 elif test "x$build_alias" != "x$host_alias"; then | |
| 1224 cross_compiling=yes | |
| 1225 fi | |
| 1226 fi | |
| 1227 | |
| 1228 ac_tool_prefix= | |
| 1229 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1230 | |
| 1231 test "$silent" = yes && exec 6>/dev/null | |
| 1232 | |
| 1233 | |
| 1234 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1235 ac_ls_di=`ls -di .` && | |
| 1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1237 as_fn_error $? "working directory cannot be determined" | |
| 1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1239 as_fn_error $? "pwd does not report name of working directory" | |
| 1240 | |
| 1241 | |
| 1242 # Find the source files, if location was not specified. | |
| 1243 if test -z "$srcdir"; then | |
| 1244 ac_srcdir_defaulted=yes | |
| 1245 # Try the directory containing this script, then the parent directory. | |
| 1246 ac_confdir=`$as_dirname -- "$as_myself" || | |
| 1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1248 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
| 1249 X"$as_myself" : 'X\(//\)$' \| \ | |
| 1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1251 $as_echo X"$as_myself" | | |
| 1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1253 s//\1/ | |
| 1254 q | |
| 1255 } | |
| 1256 /^X\(\/\/\)[^/].*/{ | |
| 1257 s//\1/ | |
| 1258 q | |
| 1259 } | |
| 1260 /^X\(\/\/\)$/{ | |
| 1261 s//\1/ | |
| 1262 q | |
| 1263 } | |
| 1264 /^X\(\/\).*/{ | |
| 1265 s//\1/ | |
| 1266 q | |
| 1267 } | |
| 1268 s/.*/./; q'` | |
| 1269 srcdir=$ac_confdir | |
| 1270 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1271 srcdir=.. | |
| 1272 fi | |
| 1273 else | |
| 1274 ac_srcdir_defaulted=no | |
| 1275 fi | |
| 1276 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
| 1279 fi | |
| 1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1281 ac_abs_confdir=`( | |
| 1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1283 pwd)` | |
| 1284 # When building in place, set srcdir=. | |
| 1285 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1286 srcdir=. | |
| 1287 fi | |
| 1288 # Remove unnecessary trailing slashes from srcdir. | |
| 1289 # Double slashes in file names in object file debugging info | |
| 1290 # mess up M-x gdb in Emacs. | |
| 1291 case $srcdir in | |
| 1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1293 esac | |
| 1294 for ac_var in $ac_precious_vars; do | |
| 1295 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1296 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1298 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1299 done | |
| 1300 | |
| 1301 # | |
| 1302 # Report the --help message. | |
| 1303 # | |
| 1304 if test "$ac_init_help" = "long"; then | |
| 1305 # Omit some internal or obsolete options to make the list less imposing. | |
| 1306 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1307 cat <<_ACEOF | |
| 1308 \`configure' configures this package to adapt to many kinds of systems. | |
| 1309 | |
| 1310 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1311 | |
| 1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1313 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1314 | |
| 1315 Defaults for the options are specified in brackets. | |
| 1316 | |
| 1317 Configuration: | |
| 1318 -h, --help display this help and exit | |
| 1319 --help=short display options specific to this package | |
| 1320 --help=recursive display the short help of all the included packages | |
| 1321 -V, --version display version information and exit | |
| 1322 -q, --quiet, --silent do not print \`checking ...' messages | |
| 1323 --cache-file=FILE cache test results in FILE [disabled] | |
| 1324 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1325 -n, --no-create do not create output files | |
| 1326 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1327 | |
| 1328 Installation directories: | |
| 1329 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1330 [$ac_default_prefix] | |
| 1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1332 [PREFIX] | |
| 1333 | |
| 1334 By default, \`make install' will install all the files in | |
| 1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1337 for instance \`--prefix=\$HOME'. | |
| 1338 | |
| 1339 For better control, use the options below. | |
| 1340 | |
| 1341 Fine tuning of the installation directories: | |
| 1342 --bindir=DIR user executables [EPREFIX/bin] | |
| 1343 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1344 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1348 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1349 --includedir=DIR C header files [PREFIX/include] | |
| 1350 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1353 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1355 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1356 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
| 1357 --htmldir=DIR html documentation [DOCDIR] | |
| 1358 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1359 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1360 --psdir=DIR ps documentation [DOCDIR] | |
| 1361 _ACEOF | |
| 1362 | |
| 1363 cat <<\_ACEOF | |
| 1364 | |
| 1365 System types: | |
| 1366 --build=BUILD configure for building on BUILD [guessed] | |
| 1367 --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
| 1368 --target=TARGET configure for building compilers for TARGET [HOST] | |
| 1369 _ACEOF | |
| 1370 fi | |
| 1371 | |
| 1372 if test -n "$ac_init_help"; then | |
| 1373 | |
| 1374 cat <<\_ACEOF | |
| 1375 | |
| 1376 Optional Features: | |
| 1377 --disable-option-checking ignore unrecognized --enable/--with options | |
| 1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1380 --enable-debug-output Enable debug output [no] | |
| 1381 --enable-cxx Enable C++ bindings [no] | |
| 1382 --enable-mac-debug Enable Mac debug [no] | |
| 1383 --enable-mac-universal Build Mac universal binaries [yes] | |
| 1384 --enable-shared[=PKGS] build shared libraries [default=yes] | |
| 1385 --enable-static[=PKGS] build static libraries [default=yes] | |
| 1386 --enable-fast-install[=PKGS] | |
| 1387 optimize for fast installation [default=yes] | |
| 1388 --disable-libtool-lock avoid locking (might break parallel builds) | |
| 1389 | |
| 1390 Optional Packages: | |
| 1391 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 1392 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 1393 --with-alsa Enable support for ALSA [autodetect] | |
| 1394 --with-jack Enable support for JACK [autodetect] | |
| 1395 --with-oss Enable support for OSS [autodetect] | |
| 1396 --with-asihpi Enable support for ASIHPI [autodetect] | |
| 1397 --with-winapi Select Windows API support | |
| 1398 ([wmme|directx|asio|wasapi|wdmks][,...]) [wmme] | |
| 1399 --with-asiodir ASIO directory [/usr/local/asiosdk2] | |
| 1400 --with-dxdir DirectX directory [/usr/local/dx7sdk] | |
| 1401 | |
| 1402 --with-pic try to use only PIC/non-PIC objects [default=use | |
| 1403 both] | |
| 1404 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
| 1405 --with-sysroot=DIR Search for dependent libraries within DIR | |
| 1406 (or the compiler's sysroot if not specified). | |
| 1407 | |
| 1408 Some influential environment variables: | |
| 1409 CC C compiler command | |
| 1410 CFLAGS C compiler flags | |
| 1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1412 nonstandard directory <lib dir> | |
| 1413 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1415 you have headers in a nonstandard directory <include dir> | |
| 1416 CXX C++ compiler command | |
| 1417 CXXFLAGS C++ compiler flags | |
| 1418 CPP C preprocessor | |
| 1419 CXXCPP C++ preprocessor | |
| 1420 PKG_CONFIG path to pkg-config utility | |
| 1421 PKG_CONFIG_PATH | |
| 1422 directories to add to pkg-config's search path | |
| 1423 PKG_CONFIG_LIBDIR | |
| 1424 path overriding pkg-config's built-in search path | |
| 1425 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config | |
| 1426 JACK_LIBS linker flags for JACK, overriding pkg-config | |
| 1427 | |
| 1428 Use these variables to override the choices made by `configure' or to help | |
| 1429 it to find libraries and programs with nonstandard names/locations. | |
| 1430 | |
| 1431 Report bugs to the package provider. | |
| 1432 _ACEOF | |
| 1433 ac_status=$? | |
| 1434 fi | |
| 1435 | |
| 1436 if test "$ac_init_help" = "recursive"; then | |
| 1437 # If there are subdirs, report their specific --help. | |
| 1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1439 test -d "$ac_dir" || | |
| 1440 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1441 continue | |
| 1442 ac_builddir=. | |
| 1443 | |
| 1444 case "$ac_dir" in | |
| 1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1446 *) | |
| 1447 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1448 # A ".." for each directory in $ac_dir_suffix. | |
| 1449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1450 case $ac_top_builddir_sub in | |
| 1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1453 esac ;; | |
| 1454 esac | |
| 1455 ac_abs_top_builddir=$ac_pwd | |
| 1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1457 # for backward compatibility: | |
| 1458 ac_top_builddir=$ac_top_build_prefix | |
| 1459 | |
| 1460 case $srcdir in | |
| 1461 .) # We are building in place. | |
| 1462 ac_srcdir=. | |
| 1463 ac_top_srcdir=$ac_top_builddir_sub | |
| 1464 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1465 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1466 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1467 ac_top_srcdir=$srcdir | |
| 1468 ac_abs_top_srcdir=$srcdir ;; | |
| 1469 *) # Relative name. | |
| 1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1471 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1473 esac | |
| 1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1475 | |
| 1476 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1477 # Check for guested configure. | |
| 1478 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1479 echo && | |
| 1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1481 elif test -f "$ac_srcdir/configure"; then | |
| 1482 echo && | |
| 1483 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1484 else | |
| 1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1486 fi || ac_status=$? | |
| 1487 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1488 done | |
| 1489 fi | |
| 1490 | |
| 1491 test -n "$ac_init_help" && exit $ac_status | |
| 1492 if $ac_init_version; then | |
| 1493 cat <<\_ACEOF | |
| 1494 configure | |
| 1495 generated by GNU Autoconf 2.68 | |
| 1496 | |
| 1497 Copyright (C) 2010 Free Software Foundation, Inc. | |
| 1498 This configure script is free software; the Free Software Foundation | |
| 1499 gives unlimited permission to copy, distribute and modify it. | |
| 1500 _ACEOF | |
| 1501 exit | |
| 1502 fi | |
| 1503 | |
| 1504 ## ------------------------ ## | |
| 1505 ## Autoconf initialization. ## | |
| 1506 ## ------------------------ ## | |
| 1507 | |
| 1508 # ac_fn_c_try_compile LINENO | |
| 1509 # -------------------------- | |
| 1510 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1511 ac_fn_c_try_compile () | |
| 1512 { | |
| 1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1514 rm -f conftest.$ac_objext | |
| 1515 if { { ac_try="$ac_compile" | |
| 1516 case "(($ac_try" in | |
| 1517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1518 *) ac_try_echo=$ac_try;; | |
| 1519 esac | |
| 1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1521 $as_echo "$ac_try_echo"; } >&5 | |
| 1522 (eval "$ac_compile") 2>conftest.err | |
| 1523 ac_status=$? | |
| 1524 if test -s conftest.err; then | |
| 1525 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1526 cat conftest.er1 >&5 | |
| 1527 mv -f conftest.er1 conftest.err | |
| 1528 fi | |
| 1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1530 test $ac_status = 0; } && { | |
| 1531 test -z "$ac_c_werror_flag" || | |
| 1532 test ! -s conftest.err | |
| 1533 } && test -s conftest.$ac_objext; then : | |
| 1534 ac_retval=0 | |
| 1535 else | |
| 1536 $as_echo "$as_me: failed program was:" >&5 | |
| 1537 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1538 | |
| 1539 ac_retval=1 | |
| 1540 fi | |
| 1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1542 as_fn_set_status $ac_retval | |
| 1543 | |
| 1544 } # ac_fn_c_try_compile | |
| 1545 | |
| 1546 # ac_fn_cxx_try_compile LINENO | |
| 1547 # ---------------------------- | |
| 1548 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1549 ac_fn_cxx_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" | |
| 1554 case "(($ac_try" in | |
| 1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1556 *) ac_try_echo=$ac_try;; | |
| 1557 esac | |
| 1558 eval 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_cxx_werror_flag" || | |
| 1570 test ! -s conftest.err | |
| 1571 } && test -s conftest.$ac_objext; then : | |
| 1572 ac_retval=0 | |
| 1573 else | |
| 1574 $as_echo "$as_me: failed program was:" >&5 | |
| 1575 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1576 | |
| 1577 ac_retval=1 | |
| 1578 fi | |
| 1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1580 as_fn_set_status $ac_retval | |
| 1581 | |
| 1582 } # ac_fn_cxx_try_compile | |
| 1583 | |
| 1584 # ac_fn_c_try_link LINENO | |
| 1585 # ----------------------- | |
| 1586 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1587 ac_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" | |
| 1592 case "(($ac_try" in | |
| 1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1594 *) ac_try_echo=$ac_try;; | |
| 1595 esac | |
| 1596 eval 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 | |
| 1614 else | |
| 1615 $as_echo "$as_me: failed program was:" >&5 | |
| 1616 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1617 | |
| 1618 ac_retval=1 | |
| 1619 fi | |
| 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; ${as_lineno_stack:+:} 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. | |
| 1634 ac_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; } | |
| 1639 if eval \${$3+:} false; then : | |
| 1640 $as_echo_n "(cached) " >&6 | |
| 1641 else | |
| 1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1643 /* end confdefs.h. */ | |
| 1644 $4 | |
| 1645 #include <$2> | |
| 1646 _ACEOF | |
| 1647 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1648 eval "$3=yes" | |
| 1649 else | |
| 1650 eval "$3=no" | |
| 1651 fi | |
| 1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1653 fi | |
| 1654 eval 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; ${as_lineno_stack:+:} 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.$ac_ext, and return whether this succeeded. | |
| 1664 ac_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" | |
| 1668 case "(($ac_try" in | |
| 1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1670 *) ac_try_echo=$ac_try;; | |
| 1671 esac | |
| 1672 eval 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; } > conftest.i && { | |
| 1683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 1684 test ! -s conftest.err | |
| 1685 }; then : | |
| 1686 ac_retval=0 | |
| 1687 else | |
| 1688 $as_echo "$as_me: failed program was:" >&5 | |
| 1689 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1690 | |
| 1691 ac_retval=1 | |
| 1692 fi | |
| 1693 eval $as_lineno_stack; ${as_lineno_stack:+:} 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.$ac_ext, and return whether this succeeded. Assumes | |
| 1701 # that executables *can* be run. | |
| 1702 ac_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" | |
| 1706 case "(($ac_try" in | |
| 1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1708 *) ac_try_echo=$ac_try;; | |
| 1709 esac | |
| 1710 eval 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;; | |
| 1719 esac | |
| 1720 eval 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 | |
| 1727 else | |
| 1728 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1729 $as_echo "$as_me: failed program was:" >&5 | |
| 1730 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1731 | |
| 1732 ac_retval=$ac_status | |
| 1733 fi | |
| 1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} 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 | |
| 1743 ac_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; } | |
| 1748 if eval \${$3+:} false; then : | |
| 1749 $as_echo_n "(cached) " >&6 | |
| 1750 else | |
| 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 | |
| 1774 extern "C" | |
| 1775 #endif | |
| 1776 char $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 | |
| 1781 choke me | |
| 1782 #endif | |
| 1783 | |
| 1784 int | |
| 1785 main () | |
| 1786 { | |
| 1787 return $2 (); | |
| 1788 ; | |
| 1789 return 0; | |
| 1790 } | |
| 1791 _ACEOF | |
| 1792 if ac_fn_c_try_link "$LINENO"; then : | |
| 1793 eval "$3=yes" | |
| 1794 else | |
| 1795 eval "$3=no" | |
| 1796 fi | |
| 1797 rm -f core conftest.err conftest.$ac_objext \ | |
| 1798 conftest$ac_exeext conftest.$ac_ext | |
| 1799 fi | |
| 1800 eval 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; ${as_lineno_stack:+:} unset as_lineno | |
| 1804 | |
| 1805 } # ac_fn_c_check_func | |
| 1806 | |
| 1807 # ac_fn_cxx_try_cpp LINENO | |
| 1808 # ------------------------ | |
| 1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1810 ac_fn_cxx_try_cpp () | |
| 1811 { | |
| 1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1813 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1814 case "(($ac_try" in | |
| 1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1816 *) ac_try_echo=$ac_try;; | |
| 1817 esac | |
| 1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1819 $as_echo "$ac_try_echo"; } >&5 | |
| 1820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1821 ac_status=$? | |
| 1822 if test -s conftest.err; then | |
| 1823 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1824 cat conftest.er1 >&5 | |
| 1825 mv -f conftest.er1 conftest.err | |
| 1826 fi | |
| 1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1828 test $ac_status = 0; } > conftest.i && { | |
| 1829 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
| 1830 test ! -s conftest.err | |
| 1831 }; then : | |
| 1832 ac_retval=0 | |
| 1833 else | |
| 1834 $as_echo "$as_me: failed program was:" >&5 | |
| 1835 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1836 | |
| 1837 ac_retval=1 | |
| 1838 fi | |
| 1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1840 as_fn_set_status $ac_retval | |
| 1841 | |
| 1842 } # ac_fn_cxx_try_cpp | |
| 1843 | |
| 1844 # ac_fn_cxx_try_link LINENO | |
| 1845 # ------------------------- | |
| 1846 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1847 ac_fn_cxx_try_link () | |
| 1848 { | |
| 1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1850 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 1851 if { { ac_try="$ac_link" | |
| 1852 case "(($ac_try" in | |
| 1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1854 *) ac_try_echo=$ac_try;; | |
| 1855 esac | |
| 1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1857 $as_echo "$ac_try_echo"; } >&5 | |
| 1858 (eval "$ac_link") 2>conftest.err | |
| 1859 ac_status=$? | |
| 1860 if test -s conftest.err; then | |
| 1861 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1862 cat conftest.er1 >&5 | |
| 1863 mv -f conftest.er1 conftest.err | |
| 1864 fi | |
| 1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1866 test $ac_status = 0; } && { | |
| 1867 test -z "$ac_cxx_werror_flag" || | |
| 1868 test ! -s conftest.err | |
| 1869 } && test -s conftest$ac_exeext && { | |
| 1870 test "$cross_compiling" = yes || | |
| 1871 $as_test_x conftest$ac_exeext | |
| 1872 }; then : | |
| 1873 ac_retval=0 | |
| 1874 else | |
| 1875 $as_echo "$as_me: failed program was:" >&5 | |
| 1876 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1877 | |
| 1878 ac_retval=1 | |
| 1879 fi | |
| 1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
| 1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
| 1882 # interfere with the next link command; also delete a directory that is | |
| 1883 # left behind by Apple's compiler. We do this before executing the actions. | |
| 1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1886 as_fn_set_status $ac_retval | |
| 1887 | |
| 1888 } # ac_fn_cxx_try_link | |
| 1889 | |
| 1890 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
| 1891 # ------------------------------------------------------- | |
| 1892 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
| 1893 # the include files in INCLUDES and setting the cache variable VAR | |
| 1894 # accordingly. | |
| 1895 ac_fn_c_check_header_mongrel () | |
| 1896 { | |
| 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1898 if eval \${$3+:} false; then : | |
| 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1900 $as_echo_n "checking for $2... " >&6; } | |
| 1901 if eval \${$3+:} false; then : | |
| 1902 $as_echo_n "(cached) " >&6 | |
| 1903 fi | |
| 1904 eval ac_res=\$$3 | |
| 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1906 $as_echo "$ac_res" >&6; } | |
| 1907 else | |
| 1908 # Is the header compilable? | |
| 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
| 1910 $as_echo_n "checking $2 usability... " >&6; } | |
| 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1912 /* end confdefs.h. */ | |
| 1913 $4 | |
| 1914 #include <$2> | |
| 1915 _ACEOF | |
| 1916 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1917 ac_header_compiler=yes | |
| 1918 else | |
| 1919 ac_header_compiler=no | |
| 1920 fi | |
| 1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
| 1923 $as_echo "$ac_header_compiler" >&6; } | |
| 1924 | |
| 1925 # Is the header present? | |
| 1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
| 1927 $as_echo_n "checking $2 presence... " >&6; } | |
| 1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1929 /* end confdefs.h. */ | |
| 1930 #include <$2> | |
| 1931 _ACEOF | |
| 1932 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 1933 ac_header_preproc=yes | |
| 1934 else | |
| 1935 ac_header_preproc=no | |
| 1936 fi | |
| 1937 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
| 1939 $as_echo "$ac_header_preproc" >&6; } | |
| 1940 | |
| 1941 # So? What about this header? | |
| 1942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
| 1943 yes:no: ) | |
| 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
| 1945 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
| 1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1948 ;; | |
| 1949 no:yes:* ) | |
| 1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
| 1951 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
| 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
| 1953 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
| 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
| 1955 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
| 1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
| 1957 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
| 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1959 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1960 ;; | |
| 1961 esac | |
| 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1963 $as_echo_n "checking for $2... " >&6; } | |
| 1964 if eval \${$3+:} false; then : | |
| 1965 $as_echo_n "(cached) " >&6 | |
| 1966 else | |
| 1967 eval "$3=\$ac_header_compiler" | |
| 1968 fi | |
| 1969 eval ac_res=\$$3 | |
| 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1971 $as_echo "$ac_res" >&6; } | |
| 1972 fi | |
| 1973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1974 | |
| 1975 } # ac_fn_c_check_header_mongrel | |
| 1976 | |
| 1977 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | |
| 1978 # -------------------------------------------- | |
| 1979 # Tries to find the compile-time value of EXPR in a program that includes | |
| 1980 # INCLUDES, setting VAR accordingly. Returns whether the value could be | |
| 1981 # computed | |
| 1982 ac_fn_c_compute_int () | |
| 1983 { | |
| 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1985 if test "$cross_compiling" = yes; then | |
| 1986 # Depending upon the size, compute the lo and hi bounds. | |
| 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1988 /* end confdefs.h. */ | |
| 1989 $4 | |
| 1990 int | |
| 1991 main () | |
| 1992 { | |
| 1993 static int test_array [1 - 2 * !(($2) >= 0)]; | |
| 1994 test_array [0] = 0 | |
| 1995 | |
| 1996 ; | |
| 1997 return 0; | |
| 1998 } | |
| 1999 _ACEOF | |
| 2000 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2001 ac_lo=0 ac_mid=0 | |
| 2002 while :; do | |
| 2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2004 /* end confdefs.h. */ | |
| 2005 $4 | |
| 2006 int | |
| 2007 main () | |
| 2008 { | |
| 2009 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
| 2010 test_array [0] = 0 | |
| 2011 | |
| 2012 ; | |
| 2013 return 0; | |
| 2014 } | |
| 2015 _ACEOF | |
| 2016 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2017 ac_hi=$ac_mid; break | |
| 2018 else | |
| 2019 as_fn_arith $ac_mid + 1 && ac_lo=$as_val | |
| 2020 if test $ac_lo -le $ac_mid; then | |
| 2021 ac_lo= ac_hi= | |
| 2022 break | |
| 2023 fi | |
| 2024 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | |
| 2025 fi | |
| 2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2027 done | |
| 2028 else | |
| 2029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2030 /* end confdefs.h. */ | |
| 2031 $4 | |
| 2032 int | |
| 2033 main () | |
| 2034 { | |
| 2035 static int test_array [1 - 2 * !(($2) < 0)]; | |
| 2036 test_array [0] = 0 | |
| 2037 | |
| 2038 ; | |
| 2039 return 0; | |
| 2040 } | |
| 2041 _ACEOF | |
| 2042 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2043 ac_hi=-1 ac_mid=-1 | |
| 2044 while :; do | |
| 2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2046 /* end confdefs.h. */ | |
| 2047 $4 | |
| 2048 int | |
| 2049 main () | |
| 2050 { | |
| 2051 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | |
| 2052 test_array [0] = 0 | |
| 2053 | |
| 2054 ; | |
| 2055 return 0; | |
| 2056 } | |
| 2057 _ACEOF | |
| 2058 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2059 ac_lo=$ac_mid; break | |
| 2060 else | |
| 2061 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | |
| 2062 if test $ac_mid -le $ac_hi; then | |
| 2063 ac_lo= ac_hi= | |
| 2064 break | |
| 2065 fi | |
| 2066 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | |
| 2067 fi | |
| 2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2069 done | |
| 2070 else | |
| 2071 ac_lo= ac_hi= | |
| 2072 fi | |
| 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2074 fi | |
| 2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2076 # Binary search between lo and hi bounds. | |
| 2077 while test "x$ac_lo" != "x$ac_hi"; do | |
| 2078 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | |
| 2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2080 /* end confdefs.h. */ | |
| 2081 $4 | |
| 2082 int | |
| 2083 main () | |
| 2084 { | |
| 2085 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | |
| 2086 test_array [0] = 0 | |
| 2087 | |
| 2088 ; | |
| 2089 return 0; | |
| 2090 } | |
| 2091 _ACEOF | |
| 2092 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2093 ac_hi=$ac_mid | |
| 2094 else | |
| 2095 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | |
| 2096 fi | |
| 2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2098 done | |
| 2099 case $ac_lo in #(( | |
| 2100 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | |
| 2101 '') ac_retval=1 ;; | |
| 2102 esac | |
| 2103 else | |
| 2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2105 /* end confdefs.h. */ | |
| 2106 $4 | |
| 2107 static long int longval () { return $2; } | |
| 2108 static unsigned long int ulongval () { return $2; } | |
| 2109 #include <stdio.h> | |
| 2110 #include <stdlib.h> | |
| 2111 int | |
| 2112 main () | |
| 2113 { | |
| 2114 | |
| 2115 FILE *f = fopen ("conftest.val", "w"); | |
| 2116 if (! f) | |
| 2117 return 1; | |
| 2118 if (($2) < 0) | |
| 2119 { | |
| 2120 long int i = longval (); | |
| 2121 if (i != ($2)) | |
| 2122 return 1; | |
| 2123 fprintf (f, "%ld", i); | |
| 2124 } | |
| 2125 else | |
| 2126 { | |
| 2127 unsigned long int i = ulongval (); | |
| 2128 if (i != ($2)) | |
| 2129 return 1; | |
| 2130 fprintf (f, "%lu", i); | |
| 2131 } | |
| 2132 /* Do not output a trailing newline, as this causes \r\n confusion | |
| 2133 on some platforms. */ | |
| 2134 return ferror (f) || fclose (f) != 0; | |
| 2135 | |
| 2136 ; | |
| 2137 return 0; | |
| 2138 } | |
| 2139 _ACEOF | |
| 2140 if ac_fn_c_try_run "$LINENO"; then : | |
| 2141 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | |
| 2142 else | |
| 2143 ac_retval=1 | |
| 2144 fi | |
| 2145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 2146 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 2147 rm -f conftest.val | |
| 2148 | |
| 2149 fi | |
| 2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 2151 as_fn_set_status $ac_retval | |
| 2152 | |
| 2153 } # ac_fn_c_compute_int | |
| 2154 cat >config.log <<_ACEOF | |
| 2155 This file contains any messages produced by compilers while | |
| 2156 running configure, to aid debugging if configure makes a mistake. | |
| 2157 | |
| 2158 It was created by $as_me, which was | |
| 2159 generated by GNU Autoconf 2.68. Invocation command line was | |
| 2160 | |
| 2161 $ $0 $@ | |
| 2162 | |
| 2163 _ACEOF | |
| 2164 exec 5>>config.log | |
| 2165 { | |
| 2166 cat <<_ASUNAME | |
| 2167 ## --------- ## | |
| 2168 ## Platform. ## | |
| 2169 ## --------- ## | |
| 2170 | |
| 2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 2172 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 2173 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 2174 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 2175 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 2176 | |
| 2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 2178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 2179 | |
| 2180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 2181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 2183 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 2184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 2185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 2186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 2187 | |
| 2188 _ASUNAME | |
| 2189 | |
| 2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2191 for as_dir in $PATH | |
| 2192 do | |
| 2193 IFS=$as_save_IFS | |
| 2194 test -z "$as_dir" && as_dir=. | |
| 2195 $as_echo "PATH: $as_dir" | |
| 2196 done | |
| 2197 IFS=$as_save_IFS | |
| 2198 | |
| 2199 } >&5 | |
| 2200 | |
| 2201 cat >&5 <<_ACEOF | |
| 2202 | |
| 2203 | |
| 2204 ## ----------- ## | |
| 2205 ## Core tests. ## | |
| 2206 ## ----------- ## | |
| 2207 | |
| 2208 _ACEOF | |
| 2209 | |
| 2210 | |
| 2211 # Keep a trace of the command line. | |
| 2212 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 2213 # Strip out --silent because we don't want to record it for future runs. | |
| 2214 # Also quote any args containing shell meta-characters. | |
| 2215 # Make two passes to allow for proper duplicate-argument suppression. | |
| 2216 ac_configure_args= | |
| 2217 ac_configure_args0= | |
| 2218 ac_configure_args1= | |
| 2219 ac_must_keep_next=false | |
| 2220 for ac_pass in 1 2 | |
| 2221 do | |
| 2222 for ac_arg | |
| 2223 do | |
| 2224 case $ac_arg in | |
| 2225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 2226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 2227 | -silent | --silent | --silen | --sile | --sil) | |
| 2228 continue ;; | |
| 2229 *\'*) | |
| 2230 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2231 esac | |
| 2232 case $ac_pass in | |
| 2233 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 2234 2) | |
| 2235 as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 2236 if test $ac_must_keep_next = true; then | |
| 2237 ac_must_keep_next=false # Got value, back to normal. | |
| 2238 else | |
| 2239 case $ac_arg in | |
| 2240 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 2241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 2242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 2243 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 2244 case "$ac_configure_args0 " in | |
| 2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 2246 esac | |
| 2247 ;; | |
| 2248 -* ) ac_must_keep_next=true ;; | |
| 2249 esac | |
| 2250 fi | |
| 2251 as_fn_append ac_configure_args " '$ac_arg'" | |
| 2252 ;; | |
| 2253 esac | |
| 2254 done | |
| 2255 done | |
| 2256 { ac_configure_args0=; unset ac_configure_args0;} | |
| 2257 { ac_configure_args1=; unset ac_configure_args1;} | |
| 2258 | |
| 2259 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 2260 # config.log. We remove comments because anyway the quotes in there | |
| 2261 # would cause problems or look ugly. | |
| 2262 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 2264 trap 'exit_status=$? | |
| 2265 # Save into config.log some information that might help in debugging. | |
| 2266 { | |
| 2267 echo | |
| 2268 | |
| 2269 $as_echo "## ---------------- ## | |
| 2270 ## Cache variables. ## | |
| 2271 ## ---------------- ##" | |
| 2272 echo | |
| 2273 # The following way of writing the cache mishandles newlines in values, | |
| 2274 ( | |
| 2275 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 2276 eval ac_val=\$$ac_var | |
| 2277 case $ac_val in #( | |
| 2278 *${as_nl}*) | |
| 2279 case $ac_var in #( | |
| 2280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 2281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 2282 esac | |
| 2283 case $ac_var in #( | |
| 2284 _ | IFS | as_nl) ;; #( | |
| 2285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 2286 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 2287 esac ;; | |
| 2288 esac | |
| 2289 done | |
| 2290 (set) 2>&1 | | |
| 2291 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 2292 *${as_nl}ac_space=\ *) | |
| 2293 sed -n \ | |
| 2294 "s/'\''/'\''\\\\'\'''\''/g; | |
| 2295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
| 2296 ;; #( | |
| 2297 *) | |
| 2298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 2299 ;; | |
| 2300 esac | | |
| 2301 sort | |
| 2302 ) | |
| 2303 echo | |
| 2304 | |
| 2305 $as_echo "## ----------------- ## | |
| 2306 ## Output variables. ## | |
| 2307 ## ----------------- ##" | |
| 2308 echo | |
| 2309 for ac_var in $ac_subst_vars | |
| 2310 do | |
| 2311 eval ac_val=\$$ac_var | |
| 2312 case $ac_val in | |
| 2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 2314 esac | |
| 2315 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2316 done | sort | |
| 2317 echo | |
| 2318 | |
| 2319 if test -n "$ac_subst_files"; then | |
| 2320 $as_echo "## ------------------- ## | |
| 2321 ## File substitutions. ## | |
| 2322 ## ------------------- ##" | |
| 2323 echo | |
| 2324 for ac_var in $ac_subst_files | |
| 2325 do | |
| 2326 eval ac_val=\$$ac_var | |
| 2327 case $ac_val in | |
| 2328 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 2329 esac | |
| 2330 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2331 done | sort | |
| 2332 echo | |
| 2333 fi | |
| 2334 | |
| 2335 if test -s confdefs.h; then | |
| 2336 $as_echo "## ----------- ## | |
| 2337 ## confdefs.h. ## | |
| 2338 ## ----------- ##" | |
| 2339 echo | |
| 2340 cat confdefs.h | |
| 2341 echo | |
| 2342 fi | |
| 2343 test "$ac_signal" != 0 && | |
| 2344 $as_echo "$as_me: caught signal $ac_signal" | |
| 2345 $as_echo "$as_me: exit $exit_status" | |
| 2346 } >&5 | |
| 2347 rm -f core *.core core.conftest.* && | |
| 2348 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 2349 exit $exit_status | |
| 2350 ' 0 | |
| 2351 for ac_signal in 1 2 13 15; do | |
| 2352 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 2353 done | |
| 2354 ac_signal=0 | |
| 2355 | |
| 2356 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 2357 rm -f -r conftest* confdefs.h | |
| 2358 | |
| 2359 $as_echo "/* confdefs.h */" > confdefs.h | |
| 2360 | |
| 2361 # Predefined preprocessor variables. | |
| 2362 | |
| 2363 cat >>confdefs.h <<_ACEOF | |
| 2364 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 2365 _ACEOF | |
| 2366 | |
| 2367 cat >>confdefs.h <<_ACEOF | |
| 2368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 2369 _ACEOF | |
| 2370 | |
| 2371 cat >>confdefs.h <<_ACEOF | |
| 2372 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 2373 _ACEOF | |
| 2374 | |
| 2375 cat >>confdefs.h <<_ACEOF | |
| 2376 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 2377 _ACEOF | |
| 2378 | |
| 2379 cat >>confdefs.h <<_ACEOF | |
| 2380 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 2381 _ACEOF | |
| 2382 | |
| 2383 cat >>confdefs.h <<_ACEOF | |
| 2384 #define PACKAGE_URL "$PACKAGE_URL" | |
| 2385 _ACEOF | |
| 2386 | |
| 2387 | |
| 2388 # Let the site file select an alternate cache file if it wants to. | |
| 2389 # Prefer an explicitly selected file to automatically selected ones. | |
| 2390 ac_site_file1=NONE | |
| 2391 ac_site_file2=NONE | |
| 2392 if test -n "$CONFIG_SITE"; then | |
| 2393 # We do not want a PATH search for config.site. | |
| 2394 case $CONFIG_SITE in #(( | |
| 2395 -*) ac_site_file1=./$CONFIG_SITE;; | |
| 2396 */*) ac_site_file1=$CONFIG_SITE;; | |
| 2397 *) ac_site_file1=./$CONFIG_SITE;; | |
| 2398 esac | |
| 2399 elif test "x$prefix" != xNONE; then | |
| 2400 ac_site_file1=$prefix/share/config.site | |
| 2401 ac_site_file2=$prefix/etc/config.site | |
| 2402 else | |
| 2403 ac_site_file1=$ac_default_prefix/share/config.site | |
| 2404 ac_site_file2=$ac_default_prefix/etc/config.site | |
| 2405 fi | |
| 2406 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 2407 do | |
| 2408 test "x$ac_site_file" = xNONE && continue | |
| 2409 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
| 2411 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 2412 sed 's/^/| /' "$ac_site_file" >&5 | |
| 2413 . "$ac_site_file" \ | |
| 2414 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2416 as_fn_error $? "failed to load site script $ac_site_file | |
| 2417 See \`config.log' for more details" "$LINENO" 5; } | |
| 2418 fi | |
| 2419 done | |
| 2420 | |
| 2421 if test -r "$cache_file"; then | |
| 2422 # Some versions of bash will fail to source /dev/null (special files | |
| 2423 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
| 2424 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
| 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
| 2426 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
| 2427 case $cache_file in | |
| 2428 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 2429 *) . "./$cache_file";; | |
| 2430 esac | |
| 2431 fi | |
| 2432 else | |
| 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 2434 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 2435 >$cache_file | |
| 2436 fi | |
| 2437 | |
| 2438 # Check that the precious variables saved in the cache have kept the same | |
| 2439 # value. | |
| 2440 ac_cache_corrupted=false | |
| 2441 for ac_var in $ac_precious_vars; do | |
| 2442 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 2443 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 2444 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 2445 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 2446 case $ac_old_set,$ac_new_set in | |
| 2447 set,) | |
| 2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 2449 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 2450 ac_cache_corrupted=: ;; | |
| 2451 ,set) | |
| 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
| 2453 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 2454 ac_cache_corrupted=: ;; | |
| 2455 ,);; | |
| 2456 *) | |
| 2457 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 2458 # differences in whitespace do not lead to failure. | |
| 2459 ac_old_val_w=`echo x $ac_old_val` | |
| 2460 ac_new_val_w=`echo x $ac_new_val` | |
| 2461 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 2463 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 2464 ac_cache_corrupted=: | |
| 2465 else | |
| 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
| 2467 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
| 2468 eval $ac_var=\$ac_old_val | |
| 2469 fi | |
| 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
| 2471 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
| 2473 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 2474 fi;; | |
| 2475 esac | |
| 2476 # Pass precious variables to config.status. | |
| 2477 if test "$ac_new_set" = set; then | |
| 2478 case $ac_new_val in | |
| 2479 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2480 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 2481 esac | |
| 2482 case " $ac_configure_args " in | |
| 2483 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 2484 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 2485 esac | |
| 2486 fi | |
| 2487 done | |
| 2488 if $ac_cache_corrupted; then | |
| 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
| 2492 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 2493 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
| 2494 fi | |
| 2495 ## -------------------- ## | |
| 2496 ## Main body of script. ## | |
| 2497 ## -------------------- ## | |
| 2498 | |
| 2499 ac_ext=c | |
| 2500 ac_cpp='$CPP $CPPFLAGS' | |
| 2501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2503 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2504 | |
| 2505 | |
| 2506 | |
| 2507 ac_aux_dir= | |
| 2508 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
| 2509 if test -f "$ac_dir/install-sh"; then | |
| 2510 ac_aux_dir=$ac_dir | |
| 2511 ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 2512 break | |
| 2513 elif test -f "$ac_dir/install.sh"; then | |
| 2514 ac_aux_dir=$ac_dir | |
| 2515 ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 2516 break | |
| 2517 elif test -f "$ac_dir/shtool"; then | |
| 2518 ac_aux_dir=$ac_dir | |
| 2519 ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 2520 break | |
| 2521 fi | |
| 2522 done | |
| 2523 if test -z "$ac_aux_dir"; then | |
| 2524 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
| 2525 fi | |
| 2526 | |
| 2527 # These three variables are undocumented and unsupported, | |
| 2528 # and are intended to be withdrawn in a future Autoconf release. | |
| 2529 # They can cause serious problems if a builder's source tree is in a directory | |
| 2530 # whose full name contains unusual characters. | |
| 2531 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
| 2532 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
| 2533 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
| 2534 | |
| 2535 | |
| 2536 # Make sure we can run config.sub. | |
| 2537 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
| 2538 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
| 2539 | |
| 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
| 2541 $as_echo_n "checking build system type... " >&6; } | |
| 2542 if ${ac_cv_build+:} false; then : | |
| 2543 $as_echo_n "(cached) " >&6 | |
| 2544 else | |
| 2545 ac_build_alias=$build_alias | |
| 2546 test "x$ac_build_alias" = x && | |
| 2547 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
| 2548 test "x$ac_build_alias" = x && | |
| 2549 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
| 2550 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
| 2551 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
| 2552 | |
| 2553 fi | |
| 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
| 2555 $as_echo "$ac_cv_build" >&6; } | |
| 2556 case $ac_cv_build in | |
| 2557 *-*-*) ;; | |
| 2558 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
| 2559 esac | |
| 2560 build=$ac_cv_build | |
| 2561 ac_save_IFS=$IFS; IFS='-' | |
| 2562 set x $ac_cv_build | |
| 2563 shift | |
| 2564 build_cpu=$1 | |
| 2565 build_vendor=$2 | |
| 2566 shift; shift | |
| 2567 # Remember, the first character of IFS is used to create $*, | |
| 2568 # except with old shells: | |
| 2569 build_os=$* | |
| 2570 IFS=$ac_save_IFS | |
| 2571 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
| 2572 | |
| 2573 | |
| 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
| 2575 $as_echo_n "checking host system type... " >&6; } | |
| 2576 if ${ac_cv_host+:} false; then : | |
| 2577 $as_echo_n "(cached) " >&6 | |
| 2578 else | |
| 2579 if test "x$host_alias" = x; then | |
| 2580 ac_cv_host=$ac_cv_build | |
| 2581 else | |
| 2582 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
| 2583 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
| 2584 fi | |
| 2585 | |
| 2586 fi | |
| 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
| 2588 $as_echo "$ac_cv_host" >&6; } | |
| 2589 case $ac_cv_host in | |
| 2590 *-*-*) ;; | |
| 2591 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
| 2592 esac | |
| 2593 host=$ac_cv_host | |
| 2594 ac_save_IFS=$IFS; IFS='-' | |
| 2595 set x $ac_cv_host | |
| 2596 shift | |
| 2597 host_cpu=$1 | |
| 2598 host_vendor=$2 | |
| 2599 shift; shift | |
| 2600 # Remember, the first character of IFS is used to create $*, | |
| 2601 # except with old shells: | |
| 2602 host_os=$* | |
| 2603 IFS=$ac_save_IFS | |
| 2604 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
| 2605 | |
| 2606 | |
| 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | |
| 2608 $as_echo_n "checking target system type... " >&6; } | |
| 2609 if ${ac_cv_target+:} false; then : | |
| 2610 $as_echo_n "(cached) " >&6 | |
| 2611 else | |
| 2612 if test "x$target_alias" = x; then | |
| 2613 ac_cv_target=$ac_cv_host | |
| 2614 else | |
| 2615 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | |
| 2616 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | |
| 2617 fi | |
| 2618 | |
| 2619 fi | |
| 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | |
| 2621 $as_echo "$ac_cv_target" >&6; } | |
| 2622 case $ac_cv_target in | |
| 2623 *-*-*) ;; | |
| 2624 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | |
| 2625 esac | |
| 2626 target=$ac_cv_target | |
| 2627 ac_save_IFS=$IFS; IFS='-' | |
| 2628 set x $ac_cv_target | |
| 2629 shift | |
| 2630 target_cpu=$1 | |
| 2631 target_vendor=$2 | |
| 2632 shift; shift | |
| 2633 # Remember, the first character of IFS is used to create $*, | |
| 2634 # except with old shells: | |
| 2635 target_os=$* | |
| 2636 IFS=$ac_save_IFS | |
| 2637 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | |
| 2638 | |
| 2639 | |
| 2640 # The aliases save the names the user supplied, while $host etc. | |
| 2641 # will get canonicalized. | |
| 2642 test -n "$target_alias" && | |
| 2643 test "$program_prefix$program_suffix$program_transform_name" = \ | |
| 2644 NONENONEs,x,x, && | |
| 2645 program_prefix=${target_alias}- | |
| 2646 | |
| 2647 | |
| 2648 | |
| 2649 # Check whether --with-alsa was given. | |
| 2650 if test "${with_alsa+set}" = set; then : | |
| 2651 withval=$with_alsa; with_alsa=$withval | |
| 2652 fi | |
| 2653 | |
| 2654 | |
| 2655 | |
| 2656 # Check whether --with-jack was given. | |
| 2657 if test "${with_jack+set}" = set; then : | |
| 2658 withval=$with_jack; with_jack=$withval | |
| 2659 fi | |
| 2660 | |
| 2661 | |
| 2662 | |
| 2663 # Check whether --with-oss was given. | |
| 2664 if test "${with_oss+set}" = set; then : | |
| 2665 withval=$with_oss; with_oss=$withval | |
| 2666 fi | |
| 2667 | |
| 2668 | |
| 2669 | |
| 2670 # Check whether --with-asihpi was given. | |
| 2671 if test "${with_asihpi+set}" = set; then : | |
| 2672 withval=$with_asihpi; with_asihpi=$withval | |
| 2673 fi | |
| 2674 | |
| 2675 | |
| 2676 | |
| 2677 # Check whether --with-winapi was given. | |
| 2678 if test "${with_winapi+set}" = set; then : | |
| 2679 withval=$with_winapi; with_winapi=$withval | |
| 2680 else | |
| 2681 with_winapi="wmme" | |
| 2682 fi | |
| 2683 | |
| 2684 case "$target_os" in *mingw* | *cygwin*) | |
| 2685 with_wmme=no | |
| 2686 with_directx=no | |
| 2687 with_asio=no | |
| 2688 with_wasapi=no | |
| 2689 with_wdmks=no | |
| 2690 for api in $(echo $with_winapi | sed 's/,/ /g'); do | |
| 2691 case "$api" in | |
| 2692 wmme|directx|asio|wasapi|wdmks) | |
| 2693 eval with_$api=yes | |
| 2694 ;; | |
| 2695 *) | |
| 2696 as_fn_error $? "unknown Windows API \"$api\" (do you need --help?)" "$LINENO" 5 | |
| 2697 ;; | |
| 2698 esac | |
| 2699 done | |
| 2700 ;; | |
| 2701 esac | |
| 2702 | |
| 2703 | |
| 2704 # Check whether --with-asiodir was given. | |
| 2705 if test "${with_asiodir+set}" = set; then : | |
| 2706 withval=$with_asiodir; with_asiodir=$withval | |
| 2707 else | |
| 2708 with_asiodir="/usr/local/asiosdk2" | |
| 2709 fi | |
| 2710 | |
| 2711 | |
| 2712 | |
| 2713 # Check whether --with-dxdir was given. | |
| 2714 if test "${with_dxdir+set}" = set; then : | |
| 2715 withval=$with_dxdir; with_dxdir=$withval | |
| 2716 else | |
| 2717 with_dxdir="/usr/local/dx7sdk" | |
| 2718 fi | |
| 2719 | |
| 2720 | |
| 2721 debug_output=no | |
| 2722 # Check whether --enable-debug-output was given. | |
| 2723 if test "${enable_debug_output+set}" = set; then : | |
| 2724 enableval=$enable_debug_output; if test "x$enableval" != "xno" ; then | |
| 2725 | |
| 2726 $as_echo "#define PA_ENABLE_DEBUG_OUTPUT /**/" >>confdefs.h | |
| 2727 | |
| 2728 debug_output=yes | |
| 2729 fi | |
| 2730 | |
| 2731 fi | |
| 2732 | |
| 2733 | |
| 2734 # Check whether --enable-cxx was given. | |
| 2735 if test "${enable_cxx+set}" = set; then : | |
| 2736 enableval=$enable_cxx; enable_cxx=$enableval | |
| 2737 else | |
| 2738 enable_cxx="no" | |
| 2739 fi | |
| 2740 | |
| 2741 | |
| 2742 # Check whether --enable-mac-debug was given. | |
| 2743 if test "${enable_mac_debug+set}" = set; then : | |
| 2744 enableval=$enable_mac_debug; enable_mac_debug=$enableval | |
| 2745 else | |
| 2746 enable_mac_debug="no" | |
| 2747 fi | |
| 2748 | |
| 2749 | |
| 2750 # Check whether --enable-mac-universal was given. | |
| 2751 if test "${enable_mac_universal+set}" = set; then : | |
| 2752 enableval=$enable_mac_universal; enable_mac_universal=$enableval | |
| 2753 else | |
| 2754 enable_mac_universal="yes" | |
| 2755 fi | |
| 2756 | |
| 2757 | |
| 2758 | |
| 2759 # Check whether --with-host_os was given. | |
| 2760 if test "${with_host_os+set}" = set; then : | |
| 2761 withval=$with_host_os; host_os=$withval | |
| 2762 fi | |
| 2763 | |
| 2764 | |
| 2765 | |
| 2766 ac_ext=c | |
| 2767 ac_cpp='$CPP $CPPFLAGS' | |
| 2768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2770 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2771 if test -n "$ac_tool_prefix"; then | |
| 2772 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2773 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2775 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2776 if ${ac_cv_prog_CC+:} false; then : | |
| 2777 $as_echo_n "(cached) " >&6 | |
| 2778 else | |
| 2779 if test -n "$CC"; then | |
| 2780 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2781 else | |
| 2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2783 for as_dir in $PATH | |
| 2784 do | |
| 2785 IFS=$as_save_IFS | |
| 2786 test -z "$as_dir" && as_dir=. | |
| 2787 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2789 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2791 break 2 | |
| 2792 fi | |
| 2793 done | |
| 2794 done | |
| 2795 IFS=$as_save_IFS | |
| 2796 | |
| 2797 fi | |
| 2798 fi | |
| 2799 CC=$ac_cv_prog_CC | |
| 2800 if test -n "$CC"; then | |
| 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2802 $as_echo "$CC" >&6; } | |
| 2803 else | |
| 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2805 $as_echo "no" >&6; } | |
| 2806 fi | |
| 2807 | |
| 2808 | |
| 2809 fi | |
| 2810 if test -z "$ac_cv_prog_CC"; then | |
| 2811 ac_ct_CC=$CC | |
| 2812 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2813 set dummy gcc; ac_word=$2 | |
| 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2815 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2816 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2817 $as_echo_n "(cached) " >&6 | |
| 2818 else | |
| 2819 if test -n "$ac_ct_CC"; then | |
| 2820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2821 else | |
| 2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2823 for as_dir in $PATH | |
| 2824 do | |
| 2825 IFS=$as_save_IFS | |
| 2826 test -z "$as_dir" && as_dir=. | |
| 2827 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2829 ac_cv_prog_ac_ct_CC="gcc" | |
| 2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2831 break 2 | |
| 2832 fi | |
| 2833 done | |
| 2834 done | |
| 2835 IFS=$as_save_IFS | |
| 2836 | |
| 2837 fi | |
| 2838 fi | |
| 2839 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2840 if test -n "$ac_ct_CC"; then | |
| 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2842 $as_echo "$ac_ct_CC" >&6; } | |
| 2843 else | |
| 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2845 $as_echo "no" >&6; } | |
| 2846 fi | |
| 2847 | |
| 2848 if test "x$ac_ct_CC" = x; then | |
| 2849 CC="" | |
| 2850 else | |
| 2851 case $cross_compiling:$ac_tool_warned in | |
| 2852 yes:) | |
| 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2855 ac_tool_warned=yes ;; | |
| 2856 esac | |
| 2857 CC=$ac_ct_CC | |
| 2858 fi | |
| 2859 else | |
| 2860 CC="$ac_cv_prog_CC" | |
| 2861 fi | |
| 2862 | |
| 2863 if test -z "$CC"; then | |
| 2864 if test -n "$ac_tool_prefix"; then | |
| 2865 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2866 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2868 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2869 if ${ac_cv_prog_CC+:} false; then : | |
| 2870 $as_echo_n "(cached) " >&6 | |
| 2871 else | |
| 2872 if test -n "$CC"; then | |
| 2873 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2874 else | |
| 2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2876 for as_dir in $PATH | |
| 2877 do | |
| 2878 IFS=$as_save_IFS | |
| 2879 test -z "$as_dir" && as_dir=. | |
| 2880 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2882 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2884 break 2 | |
| 2885 fi | |
| 2886 done | |
| 2887 done | |
| 2888 IFS=$as_save_IFS | |
| 2889 | |
| 2890 fi | |
| 2891 fi | |
| 2892 CC=$ac_cv_prog_CC | |
| 2893 if test -n "$CC"; then | |
| 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2895 $as_echo "$CC" >&6; } | |
| 2896 else | |
| 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2898 $as_echo "no" >&6; } | |
| 2899 fi | |
| 2900 | |
| 2901 | |
| 2902 fi | |
| 2903 fi | |
| 2904 if test -z "$CC"; then | |
| 2905 # Extract the first word of "cc", so it can be a program name with args. | |
| 2906 set dummy cc; ac_word=$2 | |
| 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2908 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2909 if ${ac_cv_prog_CC+:} false; then : | |
| 2910 $as_echo_n "(cached) " >&6 | |
| 2911 else | |
| 2912 if test -n "$CC"; then | |
| 2913 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2914 else | |
| 2915 ac_prog_rejected=no | |
| 2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2917 for as_dir in $PATH | |
| 2918 do | |
| 2919 IFS=$as_save_IFS | |
| 2920 test -z "$as_dir" && as_dir=. | |
| 2921 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2923 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2924 ac_prog_rejected=yes | |
| 2925 continue | |
| 2926 fi | |
| 2927 ac_cv_prog_CC="cc" | |
| 2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2929 break 2 | |
| 2930 fi | |
| 2931 done | |
| 2932 done | |
| 2933 IFS=$as_save_IFS | |
| 2934 | |
| 2935 if test $ac_prog_rejected = yes; then | |
| 2936 # We found a bogon in the path, so make sure we never use it. | |
| 2937 set dummy $ac_cv_prog_CC | |
| 2938 shift | |
| 2939 if test $# != 0; then | |
| 2940 # We chose a different compiler from the bogus one. | |
| 2941 # However, it has the same basename, so the bogon will be chosen | |
| 2942 # first if we set CC to just the basename; use the full file name. | |
| 2943 shift | |
| 2944 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2945 fi | |
| 2946 fi | |
| 2947 fi | |
| 2948 fi | |
| 2949 CC=$ac_cv_prog_CC | |
| 2950 if test -n "$CC"; then | |
| 2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2952 $as_echo "$CC" >&6; } | |
| 2953 else | |
| 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2955 $as_echo "no" >&6; } | |
| 2956 fi | |
| 2957 | |
| 2958 | |
| 2959 fi | |
| 2960 if test -z "$CC"; then | |
| 2961 if test -n "$ac_tool_prefix"; then | |
| 2962 for ac_prog in cl.exe | |
| 2963 do | |
| 2964 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 2965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2967 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2968 if ${ac_cv_prog_CC+:} false; then : | |
| 2969 $as_echo_n "(cached) " >&6 | |
| 2970 else | |
| 2971 if test -n "$CC"; then | |
| 2972 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2973 else | |
| 2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2975 for as_dir in $PATH | |
| 2976 do | |
| 2977 IFS=$as_save_IFS | |
| 2978 test -z "$as_dir" && as_dir=. | |
| 2979 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2981 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2983 break 2 | |
| 2984 fi | |
| 2985 done | |
| 2986 done | |
| 2987 IFS=$as_save_IFS | |
| 2988 | |
| 2989 fi | |
| 2990 fi | |
| 2991 CC=$ac_cv_prog_CC | |
| 2992 if test -n "$CC"; then | |
| 2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2994 $as_echo "$CC" >&6; } | |
| 2995 else | |
| 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2997 $as_echo "no" >&6; } | |
| 2998 fi | |
| 2999 | |
| 3000 | |
| 3001 test -n "$CC" && break | |
| 3002 done | |
| 3003 fi | |
| 3004 if test -z "$CC"; then | |
| 3005 ac_ct_CC=$CC | |
| 3006 for ac_prog in cl.exe | |
| 3007 do | |
| 3008 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 3009 set dummy $ac_prog; ac_word=$2 | |
| 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3011 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3012 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 3013 $as_echo_n "(cached) " >&6 | |
| 3014 else | |
| 3015 if test -n "$ac_ct_CC"; then | |
| 3016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 3017 else | |
| 3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3019 for as_dir in $PATH | |
| 3020 do | |
| 3021 IFS=$as_save_IFS | |
| 3022 test -z "$as_dir" && as_dir=. | |
| 3023 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3025 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3027 break 2 | |
| 3028 fi | |
| 3029 done | |
| 3030 done | |
| 3031 IFS=$as_save_IFS | |
| 3032 | |
| 3033 fi | |
| 3034 fi | |
| 3035 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 3036 if test -n "$ac_ct_CC"; then | |
| 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 3038 $as_echo "$ac_ct_CC" >&6; } | |
| 3039 else | |
| 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3041 $as_echo "no" >&6; } | |
| 3042 fi | |
| 3043 | |
| 3044 | |
| 3045 test -n "$ac_ct_CC" && break | |
| 3046 done | |
| 3047 | |
| 3048 if test "x$ac_ct_CC" = x; then | |
| 3049 CC="" | |
| 3050 else | |
| 3051 case $cross_compiling:$ac_tool_warned in | |
| 3052 yes:) | |
| 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3055 ac_tool_warned=yes ;; | |
| 3056 esac | |
| 3057 CC=$ac_ct_CC | |
| 3058 fi | |
| 3059 fi | |
| 3060 | |
| 3061 fi | |
| 3062 | |
| 3063 | |
| 3064 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3066 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 3067 See \`config.log' for more details" "$LINENO" 5; } | |
| 3068 | |
| 3069 # Provide some information about the compiler. | |
| 3070 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 3071 set X $ac_compile | |
| 3072 ac_compiler=$2 | |
| 3073 for ac_option in --version -v -V -qversion; do | |
| 3074 { { ac_try="$ac_compiler $ac_option >&5" | |
| 3075 case "(($ac_try" in | |
| 3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3077 *) ac_try_echo=$ac_try;; | |
| 3078 esac | |
| 3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3080 $as_echo "$ac_try_echo"; } >&5 | |
| 3081 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 3082 ac_status=$? | |
| 3083 if test -s conftest.err; then | |
| 3084 sed '10a\ | |
| 3085 ... rest of stderr output deleted ... | |
| 3086 10q' conftest.err >conftest.er1 | |
| 3087 cat conftest.er1 >&5 | |
| 3088 fi | |
| 3089 rm -f conftest.er1 conftest.err | |
| 3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3091 test $ac_status = 0; } | |
| 3092 done | |
| 3093 | |
| 3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3095 /* end confdefs.h. */ | |
| 3096 | |
| 3097 int | |
| 3098 main () | |
| 3099 { | |
| 3100 | |
| 3101 ; | |
| 3102 return 0; | |
| 3103 } | |
| 3104 _ACEOF | |
| 3105 ac_clean_files_save=$ac_clean_files | |
| 3106 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 3107 # Try to create an executable without -o first, disregard a.out. | |
| 3108 # It will help us diagnose broken compilers, and finding out an intuition | |
| 3109 # of exeext. | |
| 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
| 3111 $as_echo_n "checking whether the C compiler works... " >&6; } | |
| 3112 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 3113 | |
| 3114 # The possible output files: | |
| 3115 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 3116 | |
| 3117 ac_rmfiles= | |
| 3118 for ac_file in $ac_files | |
| 3119 do | |
| 3120 case $ac_file in | |
| 3121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 3122 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 3123 esac | |
| 3124 done | |
| 3125 rm -f $ac_rmfiles | |
| 3126 | |
| 3127 if { { ac_try="$ac_link_default" | |
| 3128 case "(($ac_try" in | |
| 3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3130 *) ac_try_echo=$ac_try;; | |
| 3131 esac | |
| 3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3133 $as_echo "$ac_try_echo"; } >&5 | |
| 3134 (eval "$ac_link_default") 2>&5 | |
| 3135 ac_status=$? | |
| 3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3137 test $ac_status = 0; }; then : | |
| 3138 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 3139 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 3140 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 3141 # so that the user can short-circuit this test for compilers unknown to | |
| 3142 # Autoconf. | |
| 3143 for ac_file in $ac_files '' | |
| 3144 do | |
| 3145 test -f "$ac_file" || continue | |
| 3146 case $ac_file in | |
| 3147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
| 3148 ;; | |
| 3149 [ab].out ) | |
| 3150 # We found the default executable, but exeext='' is most | |
| 3151 # certainly right. | |
| 3152 break;; | |
| 3153 *.* ) | |
| 3154 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 3155 then :; else | |
| 3156 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 3157 fi | |
| 3158 # We set ac_cv_exeext here because the later test for it is not | |
| 3159 # safe: cross compilers may not add the suffix if given an `-o' | |
| 3160 # argument, so we may need to know it at that point already. | |
| 3161 # Even if this section looks crufty: it has the advantage of | |
| 3162 # actually working. | |
| 3163 break;; | |
| 3164 * ) | |
| 3165 break;; | |
| 3166 esac | |
| 3167 done | |
| 3168 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 3169 | |
| 3170 else | |
| 3171 ac_file='' | |
| 3172 fi | |
| 3173 if test -z "$ac_file"; then : | |
| 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3175 $as_echo "no" >&6; } | |
| 3176 $as_echo "$as_me: failed program was:" >&5 | |
| 3177 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3178 | |
| 3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3181 as_fn_error 77 "C compiler cannot create executables | |
| 3182 See \`config.log' for more details" "$LINENO" 5; } | |
| 3183 else | |
| 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 3185 $as_echo "yes" >&6; } | |
| 3186 fi | |
| 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
| 3188 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
| 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 3190 $as_echo "$ac_file" >&6; } | |
| 3191 ac_exeext=$ac_cv_exeext | |
| 3192 | |
| 3193 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 3194 ac_clean_files=$ac_clean_files_save | |
| 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 3196 $as_echo_n "checking for suffix of executables... " >&6; } | |
| 3197 if { { ac_try="$ac_link" | |
| 3198 case "(($ac_try" in | |
| 3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3200 *) ac_try_echo=$ac_try;; | |
| 3201 esac | |
| 3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3203 $as_echo "$ac_try_echo"; } >&5 | |
| 3204 (eval "$ac_link") 2>&5 | |
| 3205 ac_status=$? | |
| 3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3207 test $ac_status = 0; }; then : | |
| 3208 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 3209 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 3210 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 3211 # `rm'. | |
| 3212 for ac_file in conftest.exe conftest conftest.*; do | |
| 3213 test -f "$ac_file" || continue | |
| 3214 case $ac_file in | |
| 3215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 3216 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 3217 break;; | |
| 3218 * ) break;; | |
| 3219 esac | |
| 3220 done | |
| 3221 else | |
| 3222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3224 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 3225 See \`config.log' for more details" "$LINENO" 5; } | |
| 3226 fi | |
| 3227 rm -f conftest conftest$ac_cv_exeext | |
| 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 3229 $as_echo "$ac_cv_exeext" >&6; } | |
| 3230 | |
| 3231 rm -f conftest.$ac_ext | |
| 3232 EXEEXT=$ac_cv_exeext | |
| 3233 ac_exeext=$EXEEXT | |
| 3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3235 /* end confdefs.h. */ | |
| 3236 #include <stdio.h> | |
| 3237 int | |
| 3238 main () | |
| 3239 { | |
| 3240 FILE *f = fopen ("conftest.out", "w"); | |
| 3241 return ferror (f) || fclose (f) != 0; | |
| 3242 | |
| 3243 ; | |
| 3244 return 0; | |
| 3245 } | |
| 3246 _ACEOF | |
| 3247 ac_clean_files="$ac_clean_files conftest.out" | |
| 3248 # Check that the compiler produces executables we can run. If not, either | |
| 3249 # the compiler is broken, or we cross compile. | |
| 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
| 3251 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 3252 if test "$cross_compiling" != yes; then | |
| 3253 { { ac_try="$ac_link" | |
| 3254 case "(($ac_try" in | |
| 3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3256 *) ac_try_echo=$ac_try;; | |
| 3257 esac | |
| 3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3259 $as_echo "$ac_try_echo"; } >&5 | |
| 3260 (eval "$ac_link") 2>&5 | |
| 3261 ac_status=$? | |
| 3262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3263 test $ac_status = 0; } | |
| 3264 if { ac_try='./conftest$ac_cv_exeext' | |
| 3265 { { case "(($ac_try" in | |
| 3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3267 *) ac_try_echo=$ac_try;; | |
| 3268 esac | |
| 3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3270 $as_echo "$ac_try_echo"; } >&5 | |
| 3271 (eval "$ac_try") 2>&5 | |
| 3272 ac_status=$? | |
| 3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3274 test $ac_status = 0; }; }; then | |
| 3275 cross_compiling=no | |
| 3276 else | |
| 3277 if test "$cross_compiling" = maybe; then | |
| 3278 cross_compiling=yes | |
| 3279 else | |
| 3280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3282 as_fn_error $? "cannot run C compiled programs. | |
| 3283 If you meant to cross compile, use \`--host'. | |
| 3284 See \`config.log' for more details" "$LINENO" 5; } | |
| 3285 fi | |
| 3286 fi | |
| 3287 fi | |
| 3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
| 3289 $as_echo "$cross_compiling" >&6; } | |
| 3290 | |
| 3291 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
| 3292 ac_clean_files=$ac_clean_files_save | |
| 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
| 3294 $as_echo_n "checking for suffix of object files... " >&6; } | |
| 3295 if ${ac_cv_objext+:} false; then : | |
| 3296 $as_echo_n "(cached) " >&6 | |
| 3297 else | |
| 3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3299 /* end confdefs.h. */ | |
| 3300 | |
| 3301 int | |
| 3302 main () | |
| 3303 { | |
| 3304 | |
| 3305 ; | |
| 3306 return 0; | |
| 3307 } | |
| 3308 _ACEOF | |
| 3309 rm -f conftest.o conftest.obj | |
| 3310 if { { ac_try="$ac_compile" | |
| 3311 case "(($ac_try" in | |
| 3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3313 *) ac_try_echo=$ac_try;; | |
| 3314 esac | |
| 3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3316 $as_echo "$ac_try_echo"; } >&5 | |
| 3317 (eval "$ac_compile") 2>&5 | |
| 3318 ac_status=$? | |
| 3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3320 test $ac_status = 0; }; then : | |
| 3321 for ac_file in conftest.o conftest.obj conftest.*; do | |
| 3322 test -f "$ac_file" || continue; | |
| 3323 case $ac_file in | |
| 3324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
| 3325 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 3326 break;; | |
| 3327 esac | |
| 3328 done | |
| 3329 else | |
| 3330 $as_echo "$as_me: failed program was:" >&5 | |
| 3331 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3332 | |
| 3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3335 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
| 3336 See \`config.log' for more details" "$LINENO" 5; } | |
| 3337 fi | |
| 3338 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 3339 fi | |
| 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
| 3341 $as_echo "$ac_cv_objext" >&6; } | |
| 3342 OBJEXT=$ac_cv_objext | |
| 3343 ac_objext=$OBJEXT | |
| 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
| 3345 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 3346 if ${ac_cv_c_compiler_gnu+:} false; then : | |
| 3347 $as_echo_n "(cached) " >&6 | |
| 3348 else | |
| 3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3350 /* end confdefs.h. */ | |
| 3351 | |
| 3352 int | |
| 3353 main () | |
| 3354 { | |
| 3355 #ifndef __GNUC__ | |
| 3356 choke me | |
| 3357 #endif | |
| 3358 | |
| 3359 ; | |
| 3360 return 0; | |
| 3361 } | |
| 3362 _ACEOF | |
| 3363 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3364 ac_compiler_gnu=yes | |
| 3365 else | |
| 3366 ac_compiler_gnu=no | |
| 3367 fi | |
| 3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3369 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 3370 | |
| 3371 fi | |
| 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 3373 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 3374 if test $ac_compiler_gnu = yes; then | |
| 3375 GCC=yes | |
| 3376 else | |
| 3377 GCC= | |
| 3378 fi | |
| 3379 ac_test_CFLAGS=${CFLAGS+set} | |
| 3380 ac_save_CFLAGS=$CFLAGS | |
| 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 3382 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 3383 if ${ac_cv_prog_cc_g+:} false; then : | |
| 3384 $as_echo_n "(cached) " >&6 | |
| 3385 else | |
| 3386 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 3387 ac_c_werror_flag=yes | |
| 3388 ac_cv_prog_cc_g=no | |
| 3389 CFLAGS="-g" | |
| 3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3391 /* end confdefs.h. */ | |
| 3392 | |
| 3393 int | |
| 3394 main () | |
| 3395 { | |
| 3396 | |
| 3397 ; | |
| 3398 return 0; | |
| 3399 } | |
| 3400 _ACEOF | |
| 3401 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3402 ac_cv_prog_cc_g=yes | |
| 3403 else | |
| 3404 CFLAGS="" | |
| 3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3406 /* end confdefs.h. */ | |
| 3407 | |
| 3408 int | |
| 3409 main () | |
| 3410 { | |
| 3411 | |
| 3412 ; | |
| 3413 return 0; | |
| 3414 } | |
| 3415 _ACEOF | |
| 3416 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3417 | |
| 3418 else | |
| 3419 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3420 CFLAGS="-g" | |
| 3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3422 /* end confdefs.h. */ | |
| 3423 | |
| 3424 int | |
| 3425 main () | |
| 3426 { | |
| 3427 | |
| 3428 ; | |
| 3429 return 0; | |
| 3430 } | |
| 3431 _ACEOF | |
| 3432 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3433 ac_cv_prog_cc_g=yes | |
| 3434 fi | |
| 3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3436 fi | |
| 3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3438 fi | |
| 3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3440 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3441 fi | |
| 3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 3443 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 3444 if test "$ac_test_CFLAGS" = set; then | |
| 3445 CFLAGS=$ac_save_CFLAGS | |
| 3446 elif test $ac_cv_prog_cc_g = yes; then | |
| 3447 if test "$GCC" = yes; then | |
| 3448 CFLAGS="-g -O2" | |
| 3449 else | |
| 3450 CFLAGS="-g" | |
| 3451 fi | |
| 3452 else | |
| 3453 if test "$GCC" = yes; then | |
| 3454 CFLAGS="-O2" | |
| 3455 else | |
| 3456 CFLAGS= | |
| 3457 fi | |
| 3458 fi | |
| 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
| 3460 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 3461 if ${ac_cv_prog_cc_c89+:} false; then : | |
| 3462 $as_echo_n "(cached) " >&6 | |
| 3463 else | |
| 3464 ac_cv_prog_cc_c89=no | |
| 3465 ac_save_CC=$CC | |
| 3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3467 /* end confdefs.h. */ | |
| 3468 #include <stdarg.h> | |
| 3469 #include <stdio.h> | |
| 3470 #include <sys/types.h> | |
| 3471 #include <sys/stat.h> | |
| 3472 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 3473 struct buf { int x; }; | |
| 3474 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 3475 static char *e (p, i) | |
| 3476 char **p; | |
| 3477 int i; | |
| 3478 { | |
| 3479 return p[i]; | |
| 3480 } | |
| 3481 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 3482 { | |
| 3483 char *s; | |
| 3484 va_list v; | |
| 3485 va_start (v,p); | |
| 3486 s = g (p, va_arg (v,int)); | |
| 3487 va_end (v); | |
| 3488 return s; | |
| 3489 } | |
| 3490 | |
| 3491 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 3492 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 3493 These don't provoke an error unfortunately, instead are silently treated | |
| 3494 as 'x'. The following induces an error, until -std is added to get | |
| 3495 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 3496 array size at least. It's necessary to write '\x00'==0 to get something | |
| 3497 that's true only with -std. */ | |
| 3498 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 3499 | |
| 3500 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3501 inside strings and character constants. */ | |
| 3502 #define FOO(x) 'x' | |
| 3503 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3504 | |
| 3505 int test (int i, double x); | |
| 3506 struct s1 {int (*f) (int a);}; | |
| 3507 struct s2 {int (*f) (double a);}; | |
| 3508 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 3509 int argc; | |
| 3510 char **argv; | |
| 3511 int | |
| 3512 main () | |
| 3513 { | |
| 3514 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3515 ; | |
| 3516 return 0; | |
| 3517 } | |
| 3518 _ACEOF | |
| 3519 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3520 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3521 do | |
| 3522 CC="$ac_save_CC $ac_arg" | |
| 3523 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3524 ac_cv_prog_cc_c89=$ac_arg | |
| 3525 fi | |
| 3526 rm -f core conftest.err conftest.$ac_objext | |
| 3527 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3528 done | |
| 3529 rm -f conftest.$ac_ext | |
| 3530 CC=$ac_save_CC | |
| 3531 | |
| 3532 fi | |
| 3533 # AC_CACHE_VAL | |
| 3534 case "x$ac_cv_prog_cc_c89" in | |
| 3535 x) | |
| 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3537 $as_echo "none needed" >&6; } ;; | |
| 3538 xno) | |
| 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3540 $as_echo "unsupported" >&6; } ;; | |
| 3541 *) | |
| 3542 CC="$CC $ac_cv_prog_cc_c89" | |
| 3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3544 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3545 esac | |
| 3546 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3547 | |
| 3548 fi | |
| 3549 | |
| 3550 ac_ext=c | |
| 3551 ac_cpp='$CPP $CPPFLAGS' | |
| 3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3555 | |
| 3556 if [ "$with_asio" = "yes" ] || [ "$enable_cxx" = "yes" ] ; then | |
| 3557 ac_ext=cpp | |
| 3558 ac_cpp='$CXXCPP $CPPFLAGS' | |
| 3559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| 3562 if test -z "$CXX"; then | |
| 3563 if test -n "$CCC"; then | |
| 3564 CXX=$CCC | |
| 3565 else | |
| 3566 if test -n "$ac_tool_prefix"; then | |
| 3567 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 3568 do | |
| 3569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 3570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3572 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3573 if ${ac_cv_prog_CXX+:} false; then : | |
| 3574 $as_echo_n "(cached) " >&6 | |
| 3575 else | |
| 3576 if test -n "$CXX"; then | |
| 3577 ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
| 3578 else | |
| 3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3580 for as_dir in $PATH | |
| 3581 do | |
| 3582 IFS=$as_save_IFS | |
| 3583 test -z "$as_dir" && as_dir=. | |
| 3584 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3586 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
| 3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3588 break 2 | |
| 3589 fi | |
| 3590 done | |
| 3591 done | |
| 3592 IFS=$as_save_IFS | |
| 3593 | |
| 3594 fi | |
| 3595 fi | |
| 3596 CXX=$ac_cv_prog_CXX | |
| 3597 if test -n "$CXX"; then | |
| 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | |
| 3599 $as_echo "$CXX" >&6; } | |
| 3600 else | |
| 3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3602 $as_echo "no" >&6; } | |
| 3603 fi | |
| 3604 | |
| 3605 | |
| 3606 test -n "$CXX" && break | |
| 3607 done | |
| 3608 fi | |
| 3609 if test -z "$CXX"; then | |
| 3610 ac_ct_CXX=$CXX | |
| 3611 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 3612 do | |
| 3613 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 3614 set dummy $ac_prog; ac_word=$2 | |
| 3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3616 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3617 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | |
| 3618 $as_echo_n "(cached) " >&6 | |
| 3619 else | |
| 3620 if test -n "$ac_ct_CXX"; then | |
| 3621 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
| 3622 else | |
| 3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3624 for as_dir in $PATH | |
| 3625 do | |
| 3626 IFS=$as_save_IFS | |
| 3627 test -z "$as_dir" && as_dir=. | |
| 3628 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3630 ac_cv_prog_ac_ct_CXX="$ac_prog" | |
| 3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3632 break 2 | |
| 3633 fi | |
| 3634 done | |
| 3635 done | |
| 3636 IFS=$as_save_IFS | |
| 3637 | |
| 3638 fi | |
| 3639 fi | |
| 3640 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
| 3641 if test -n "$ac_ct_CXX"; then | |
| 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | |
| 3643 $as_echo "$ac_ct_CXX" >&6; } | |
| 3644 else | |
| 3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3646 $as_echo "no" >&6; } | |
| 3647 fi | |
| 3648 | |
| 3649 | |
| 3650 test -n "$ac_ct_CXX" && break | |
| 3651 done | |
| 3652 | |
| 3653 if test "x$ac_ct_CXX" = x; then | |
| 3654 CXX="g++" | |
| 3655 else | |
| 3656 case $cross_compiling:$ac_tool_warned in | |
| 3657 yes:) | |
| 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3660 ac_tool_warned=yes ;; | |
| 3661 esac | |
| 3662 CXX=$ac_ct_CXX | |
| 3663 fi | |
| 3664 fi | |
| 3665 | |
| 3666 fi | |
| 3667 fi | |
| 3668 # Provide some information about the compiler. | |
| 3669 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | |
| 3670 set X $ac_compile | |
| 3671 ac_compiler=$2 | |
| 3672 for ac_option in --version -v -V -qversion; do | |
| 3673 { { ac_try="$ac_compiler $ac_option >&5" | |
| 3674 case "(($ac_try" in | |
| 3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3676 *) ac_try_echo=$ac_try;; | |
| 3677 esac | |
| 3678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3679 $as_echo "$ac_try_echo"; } >&5 | |
| 3680 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 3681 ac_status=$? | |
| 3682 if test -s conftest.err; then | |
| 3683 sed '10a\ | |
| 3684 ... rest of stderr output deleted ... | |
| 3685 10q' conftest.err >conftest.er1 | |
| 3686 cat conftest.er1 >&5 | |
| 3687 fi | |
| 3688 rm -f conftest.er1 conftest.err | |
| 3689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3690 test $ac_status = 0; } | |
| 3691 done | |
| 3692 | |
| 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | |
| 3694 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | |
| 3695 if ${ac_cv_cxx_compiler_gnu+:} false; then : | |
| 3696 $as_echo_n "(cached) " >&6 | |
| 3697 else | |
| 3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3699 /* end confdefs.h. */ | |
| 3700 | |
| 3701 int | |
| 3702 main () | |
| 3703 { | |
| 3704 #ifndef __GNUC__ | |
| 3705 choke me | |
| 3706 #endif | |
| 3707 | |
| 3708 ; | |
| 3709 return 0; | |
| 3710 } | |
| 3711 _ACEOF | |
| 3712 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 3713 ac_compiler_gnu=yes | |
| 3714 else | |
| 3715 ac_compiler_gnu=no | |
| 3716 fi | |
| 3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3718 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
| 3719 | |
| 3720 fi | |
| 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | |
| 3722 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | |
| 3723 if test $ac_compiler_gnu = yes; then | |
| 3724 GXX=yes | |
| 3725 else | |
| 3726 GXX= | |
| 3727 fi | |
| 3728 ac_test_CXXFLAGS=${CXXFLAGS+set} | |
| 3729 ac_save_CXXFLAGS=$CXXFLAGS | |
| 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | |
| 3731 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | |
| 3732 if ${ac_cv_prog_cxx_g+:} false; then : | |
| 3733 $as_echo_n "(cached) " >&6 | |
| 3734 else | |
| 3735 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
| 3736 ac_cxx_werror_flag=yes | |
| 3737 ac_cv_prog_cxx_g=no | |
| 3738 CXXFLAGS="-g" | |
| 3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3740 /* end confdefs.h. */ | |
| 3741 | |
| 3742 int | |
| 3743 main () | |
| 3744 { | |
| 3745 | |
| 3746 ; | |
| 3747 return 0; | |
| 3748 } | |
| 3749 _ACEOF | |
| 3750 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 3751 ac_cv_prog_cxx_g=yes | |
| 3752 else | |
| 3753 CXXFLAGS="" | |
| 3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3755 /* end confdefs.h. */ | |
| 3756 | |
| 3757 int | |
| 3758 main () | |
| 3759 { | |
| 3760 | |
| 3761 ; | |
| 3762 return 0; | |
| 3763 } | |
| 3764 _ACEOF | |
| 3765 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 3766 | |
| 3767 else | |
| 3768 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 3769 CXXFLAGS="-g" | |
| 3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3771 /* end confdefs.h. */ | |
| 3772 | |
| 3773 int | |
| 3774 main () | |
| 3775 { | |
| 3776 | |
| 3777 ; | |
| 3778 return 0; | |
| 3779 } | |
| 3780 _ACEOF | |
| 3781 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 3782 ac_cv_prog_cxx_g=yes | |
| 3783 fi | |
| 3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3785 fi | |
| 3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3787 fi | |
| 3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3789 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 3790 fi | |
| 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | |
| 3792 $as_echo "$ac_cv_prog_cxx_g" >&6; } | |
| 3793 if test "$ac_test_CXXFLAGS" = set; then | |
| 3794 CXXFLAGS=$ac_save_CXXFLAGS | |
| 3795 elif test $ac_cv_prog_cxx_g = yes; then | |
| 3796 if test "$GXX" = yes; then | |
| 3797 CXXFLAGS="-g -O2" | |
| 3798 else | |
| 3799 CXXFLAGS="-g" | |
| 3800 fi | |
| 3801 else | |
| 3802 if test "$GXX" = yes; then | |
| 3803 CXXFLAGS="-O2" | |
| 3804 else | |
| 3805 CXXFLAGS= | |
| 3806 fi | |
| 3807 fi | |
| 3808 ac_ext=c | |
| 3809 ac_cpp='$CPP $CPPFLAGS' | |
| 3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3813 | |
| 3814 fi | |
| 3815 enable_win32_dll=yes | |
| 3816 | |
| 3817 case $host in | |
| 3818 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | |
| 3819 if test -n "$ac_tool_prefix"; then | |
| 3820 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | |
| 3821 set dummy ${ac_tool_prefix}as; ac_word=$2 | |
| 3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3823 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3824 if ${ac_cv_prog_AS+:} false; then : | |
| 3825 $as_echo_n "(cached) " >&6 | |
| 3826 else | |
| 3827 if test -n "$AS"; then | |
| 3828 ac_cv_prog_AS="$AS" # Let the user override the test. | |
| 3829 else | |
| 3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3831 for as_dir in $PATH | |
| 3832 do | |
| 3833 IFS=$as_save_IFS | |
| 3834 test -z "$as_dir" && as_dir=. | |
| 3835 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3837 ac_cv_prog_AS="${ac_tool_prefix}as" | |
| 3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3839 break 2 | |
| 3840 fi | |
| 3841 done | |
| 3842 done | |
| 3843 IFS=$as_save_IFS | |
| 3844 | |
| 3845 fi | |
| 3846 fi | |
| 3847 AS=$ac_cv_prog_AS | |
| 3848 if test -n "$AS"; then | |
| 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 | |
| 3850 $as_echo "$AS" >&6; } | |
| 3851 else | |
| 3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3853 $as_echo "no" >&6; } | |
| 3854 fi | |
| 3855 | |
| 3856 | |
| 3857 fi | |
| 3858 if test -z "$ac_cv_prog_AS"; then | |
| 3859 ac_ct_AS=$AS | |
| 3860 # Extract the first word of "as", so it can be a program name with args. | |
| 3861 set dummy as; ac_word=$2 | |
| 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3863 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3864 if ${ac_cv_prog_ac_ct_AS+:} false; then : | |
| 3865 $as_echo_n "(cached) " >&6 | |
| 3866 else | |
| 3867 if test -n "$ac_ct_AS"; then | |
| 3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | |
| 3869 else | |
| 3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3871 for as_dir in $PATH | |
| 3872 do | |
| 3873 IFS=$as_save_IFS | |
| 3874 test -z "$as_dir" && as_dir=. | |
| 3875 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3877 ac_cv_prog_ac_ct_AS="as" | |
| 3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3879 break 2 | |
| 3880 fi | |
| 3881 done | |
| 3882 done | |
| 3883 IFS=$as_save_IFS | |
| 3884 | |
| 3885 fi | |
| 3886 fi | |
| 3887 ac_ct_AS=$ac_cv_prog_ac_ct_AS | |
| 3888 if test -n "$ac_ct_AS"; then | |
| 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 | |
| 3890 $as_echo "$ac_ct_AS" >&6; } | |
| 3891 else | |
| 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3893 $as_echo "no" >&6; } | |
| 3894 fi | |
| 3895 | |
| 3896 if test "x$ac_ct_AS" = x; then | |
| 3897 AS="false" | |
| 3898 else | |
| 3899 case $cross_compiling:$ac_tool_warned in | |
| 3900 yes:) | |
| 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3903 ac_tool_warned=yes ;; | |
| 3904 esac | |
| 3905 AS=$ac_ct_AS | |
| 3906 fi | |
| 3907 else | |
| 3908 AS="$ac_cv_prog_AS" | |
| 3909 fi | |
| 3910 | |
| 3911 if test -n "$ac_tool_prefix"; then | |
| 3912 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
| 3913 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| 3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3915 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3916 if ${ac_cv_prog_DLLTOOL+:} false; then : | |
| 3917 $as_echo_n "(cached) " >&6 | |
| 3918 else | |
| 3919 if test -n "$DLLTOOL"; then | |
| 3920 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| 3921 else | |
| 3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3923 for as_dir in $PATH | |
| 3924 do | |
| 3925 IFS=$as_save_IFS | |
| 3926 test -z "$as_dir" && as_dir=. | |
| 3927 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3929 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| 3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3931 break 2 | |
| 3932 fi | |
| 3933 done | |
| 3934 done | |
| 3935 IFS=$as_save_IFS | |
| 3936 | |
| 3937 fi | |
| 3938 fi | |
| 3939 DLLTOOL=$ac_cv_prog_DLLTOOL | |
| 3940 if test -n "$DLLTOOL"; then | |
| 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | |
| 3942 $as_echo "$DLLTOOL" >&6; } | |
| 3943 else | |
| 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3945 $as_echo "no" >&6; } | |
| 3946 fi | |
| 3947 | |
| 3948 | |
| 3949 fi | |
| 3950 if test -z "$ac_cv_prog_DLLTOOL"; then | |
| 3951 ac_ct_DLLTOOL=$DLLTOOL | |
| 3952 # Extract the first word of "dlltool", so it can be a program name with args. | |
| 3953 set dummy dlltool; ac_word=$2 | |
| 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3955 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3956 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | |
| 3957 $as_echo_n "(cached) " >&6 | |
| 3958 else | |
| 3959 if test -n "$ac_ct_DLLTOOL"; then | |
| 3960 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
| 3961 else | |
| 3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3963 for as_dir in $PATH | |
| 3964 do | |
| 3965 IFS=$as_save_IFS | |
| 3966 test -z "$as_dir" && as_dir=. | |
| 3967 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3969 ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
| 3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3971 break 2 | |
| 3972 fi | |
| 3973 done | |
| 3974 done | |
| 3975 IFS=$as_save_IFS | |
| 3976 | |
| 3977 fi | |
| 3978 fi | |
| 3979 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
| 3980 if test -n "$ac_ct_DLLTOOL"; then | |
| 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | |
| 3982 $as_echo "$ac_ct_DLLTOOL" >&6; } | |
| 3983 else | |
| 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3985 $as_echo "no" >&6; } | |
| 3986 fi | |
| 3987 | |
| 3988 if test "x$ac_ct_DLLTOOL" = x; then | |
| 3989 DLLTOOL="false" | |
| 3990 else | |
| 3991 case $cross_compiling:$ac_tool_warned in | |
| 3992 yes:) | |
| 3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3995 ac_tool_warned=yes ;; | |
| 3996 esac | |
| 3997 DLLTOOL=$ac_ct_DLLTOOL | |
| 3998 fi | |
| 3999 else | |
| 4000 DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| 4001 fi | |
| 4002 | |
| 4003 if test -n "$ac_tool_prefix"; then | |
| 4004 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | |
| 4005 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4007 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4008 if ${ac_cv_prog_OBJDUMP+:} false; then : | |
| 4009 $as_echo_n "(cached) " >&6 | |
| 4010 else | |
| 4011 if test -n "$OBJDUMP"; then | |
| 4012 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| 4013 else | |
| 4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4015 for as_dir in $PATH | |
| 4016 do | |
| 4017 IFS=$as_save_IFS | |
| 4018 test -z "$as_dir" && as_dir=. | |
| 4019 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 4021 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| 4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4023 break 2 | |
| 4024 fi | |
| 4025 done | |
| 4026 done | |
| 4027 IFS=$as_save_IFS | |
| 4028 | |
| 4029 fi | |
| 4030 fi | |
| 4031 OBJDUMP=$ac_cv_prog_OBJDUMP | |
| 4032 if test -n "$OBJDUMP"; then | |
| 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
| 4034 $as_echo "$OBJDUMP" >&6; } | |
| 4035 else | |
| 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4037 $as_echo "no" >&6; } | |
| 4038 fi | |
| 4039 | |
| 4040 | |
| 4041 fi | |
| 4042 if test -z "$ac_cv_prog_OBJDUMP"; then | |
| 4043 ac_ct_OBJDUMP=$OBJDUMP | |
| 4044 # Extract the first word of "objdump", so it can be a program name with args. | |
| 4045 set dummy objdump; ac_word=$2 | |
| 4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4047 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4048 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | |
| 4049 $as_echo_n "(cached) " >&6 | |
| 4050 else | |
| 4051 if test -n "$ac_ct_OBJDUMP"; then | |
| 4052 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
| 4053 else | |
| 4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4055 for as_dir in $PATH | |
| 4056 do | |
| 4057 IFS=$as_save_IFS | |
| 4058 test -z "$as_dir" && as_dir=. | |
| 4059 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 4061 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
| 4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4063 break 2 | |
| 4064 fi | |
| 4065 done | |
| 4066 done | |
| 4067 IFS=$as_save_IFS | |
| 4068 | |
| 4069 fi | |
| 4070 fi | |
| 4071 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
| 4072 if test -n "$ac_ct_OBJDUMP"; then | |
| 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
| 4074 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
| 4075 else | |
| 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4077 $as_echo "no" >&6; } | |
| 4078 fi | |
| 4079 | |
| 4080 if test "x$ac_ct_OBJDUMP" = x; then | |
| 4081 OBJDUMP="false" | |
| 4082 else | |
| 4083 case $cross_compiling:$ac_tool_warned in | |
| 4084 yes:) | |
| 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 4086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 4087 ac_tool_warned=yes ;; | |
| 4088 esac | |
| 4089 OBJDUMP=$ac_ct_OBJDUMP | |
| 4090 fi | |
| 4091 else | |
| 4092 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| 4093 fi | |
| 4094 | |
| 4095 ;; | |
| 4096 esac | |
| 4097 | |
| 4098 test -z "$AS" && AS=as | |
| 4099 | |
| 4100 | |
| 4101 | |
| 4102 | |
| 4103 | |
| 4104 test -z "$DLLTOOL" && DLLTOOL=dlltool | |
| 4105 | |
| 4106 | |
| 4107 | |
| 4108 | |
| 4109 | |
| 4110 test -z "$OBJDUMP" && OBJDUMP=objdump | |
| 4111 | |
| 4112 | |
| 4113 | |
| 4114 | |
| 4115 | |
| 4116 | |
| 4117 | |
| 4118 case `pwd` in | |
| 4119 *\ * | *\ *) | |
| 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 | |
| 4121 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; | |
| 4122 esac | |
| 4123 | |
| 4124 | |
| 4125 | |
| 4126 macro_version='2.4' | |
| 4127 macro_revision='1.3293' | |
| 4128 | |
| 4129 | |
| 4130 | |
| 4131 | |
| 4132 | |
| 4133 | |
| 4134 | |
| 4135 | |
| 4136 | |
| 4137 | |
| 4138 | |
| 4139 | |
| 4140 | |
| 4141 ltmain="$ac_aux_dir/ltmain.sh" | |
| 4142 | |
| 4143 # Backslashify metacharacters that are still active within | |
| 4144 # double-quoted strings. | |
| 4145 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | |
| 4146 | |
| 4147 # Same as above, but do not quote variable references. | |
| 4148 double_quote_subst='s/\(["`\\]\)/\\\1/g' | |
| 4149 | |
| 4150 # Sed substitution to delay expansion of an escaped shell variable in a | |
| 4151 # double_quote_subst'ed string. | |
| 4152 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | |
| 4153 | |
| 4154 # Sed substitution to delay expansion of an escaped single quote. | |
| 4155 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | |
| 4156 | |
| 4157 # Sed substitution to avoid accidental globbing in evaled expressions | |
| 4158 no_glob_subst='s/\*/\\\*/g' | |
| 4159 | |
| 4160 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 4161 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 4162 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | |
| 4163 | |
| 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | |
| 4165 $as_echo_n "checking how to print strings... " >&6; } | |
| 4166 # Test print first, because it will be a builtin if present. | |
| 4167 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | |
| 4168 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 4169 ECHO='print -r --' | |
| 4170 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | |
| 4171 ECHO='printf %s\n' | |
| 4172 else | |
| 4173 # Use this function as a fallback that always works. | |
| 4174 func_fallback_echo () | |
| 4175 { | |
| 4176 eval 'cat <<_LTECHO_EOF | |
| 4177 $1 | |
| 4178 _LTECHO_EOF' | |
| 4179 } | |
| 4180 ECHO='func_fallback_echo' | |
| 4181 fi | |
| 4182 | |
| 4183 # func_echo_all arg... | |
| 4184 # Invoke $ECHO with all args, space-separated. | |
| 4185 func_echo_all () | |
| 4186 { | |
| 4187 $ECHO "" | |
| 4188 } | |
| 4189 | |
| 4190 case "$ECHO" in | |
| 4191 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | |
| 4192 $as_echo "printf" >&6; } ;; | |
| 4193 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | |
| 4194 $as_echo "print -r" >&6; } ;; | |
| 4195 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | |
| 4196 $as_echo "cat" >&6; } ;; | |
| 4197 esac | |
| 4198 | |
| 4199 | |
| 4200 | |
| 4201 | |
| 4202 | |
| 4203 | |
| 4204 | |
| 4205 | |
| 4206 | |
| 4207 | |
| 4208 | |
| 4209 | |
| 4210 | |
| 4211 | |
| 4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | |
| 4213 $as_echo_n "checking for a sed that does not truncate output... " >&6; } | |
| 4214 if ${ac_cv_path_SED+:} false; then : | |
| 4215 $as_echo_n "(cached) " >&6 | |
| 4216 else | |
| 4217 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | |
| 4218 for ac_i in 1 2 3 4 5 6 7; do | |
| 4219 ac_script="$ac_script$as_nl$ac_script" | |
| 4220 done | |
| 4221 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | |
| 4222 { ac_script=; unset ac_script;} | |
| 4223 if test -z "$SED"; then | |
| 4224 ac_path_SED_found=false | |
| 4225 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4227 for as_dir in $PATH | |
| 4228 do | |
| 4229 IFS=$as_save_IFS | |
| 4230 test -z "$as_dir" && as_dir=. | |
| 4231 for ac_prog in sed gsed; do | |
| 4232 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4233 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | |
| 4234 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | |
| 4235 # Check for GNU ac_path_SED and select it if it is found. | |
| 4236 # Check for GNU $ac_path_SED | |
| 4237 case `"$ac_path_SED" --version 2>&1` in | |
| 4238 *GNU*) | |
| 4239 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | |
| 4240 *) | |
| 4241 ac_count=0 | |
| 4242 $as_echo_n 0123456789 >"conftest.in" | |
| 4243 while : | |
| 4244 do | |
| 4245 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 4246 mv "conftest.tmp" "conftest.in" | |
| 4247 cp "conftest.in" "conftest.nl" | |
| 4248 $as_echo '' >> "conftest.nl" | |
| 4249 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 4250 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 4251 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 4252 if test $ac_count -gt ${ac_path_SED_max-0}; then | |
| 4253 # Best one so far, save it but keep looking for a better one | |
| 4254 ac_cv_path_SED="$ac_path_SED" | |
| 4255 ac_path_SED_max=$ac_count | |
| 4256 fi | |
| 4257 # 10*(2^10) chars as input seems more than enough | |
| 4258 test $ac_count -gt 10 && break | |
| 4259 done | |
| 4260 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 4261 esac | |
| 4262 | |
| 4263 $ac_path_SED_found && break 3 | |
| 4264 done | |
| 4265 done | |
| 4266 done | |
| 4267 IFS=$as_save_IFS | |
| 4268 if test -z "$ac_cv_path_SED"; then | |
| 4269 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
| 4270 fi | |
| 4271 else | |
| 4272 ac_cv_path_SED=$SED | |
| 4273 fi | |
| 4274 | |
| 4275 fi | |
| 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | |
| 4277 $as_echo "$ac_cv_path_SED" >&6; } | |
| 4278 SED="$ac_cv_path_SED" | |
| 4279 rm -f conftest.sed | |
| 4280 | |
| 4281 test -z "$SED" && SED=sed | |
| 4282 Xsed="$SED -e 1s/^X//" | |
| 4283 | |
| 4284 | |
| 4285 | |
| 4286 | |
| 4287 | |
| 4288 | |
| 4289 | |
| 4290 | |
| 4291 | |
| 4292 | |
| 4293 | |
| 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
| 4295 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 4296 if ${ac_cv_path_GREP+:} false; then : | |
| 4297 $as_echo_n "(cached) " >&6 | |
| 4298 else | |
| 4299 if test -z "$GREP"; then | |
| 4300 ac_path_GREP_found=false | |
| 4301 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 4304 do | |
| 4305 IFS=$as_save_IFS | |
| 4306 test -z "$as_dir" && as_dir=. | |
| 4307 for ac_prog in grep ggrep; do | |
| 4308 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4309 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 4310 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
| 4311 # Check for GNU ac_path_GREP and select it if it is found. | |
| 4312 # Check for GNU $ac_path_GREP | |
| 4313 case `"$ac_path_GREP" --version 2>&1` in | |
| 4314 *GNU*) | |
| 4315 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 4316 *) | |
| 4317 ac_count=0 | |
| 4318 $as_echo_n 0123456789 >"conftest.in" | |
| 4319 while : | |
| 4320 do | |
| 4321 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 4322 mv "conftest.tmp" "conftest.in" | |
| 4323 cp "conftest.in" "conftest.nl" | |
| 4324 $as_echo 'GREP' >> "conftest.nl" | |
| 4325 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 4326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 4327 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 4328 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 4329 # Best one so far, save it but keep looking for a better one | |
| 4330 ac_cv_path_GREP="$ac_path_GREP" | |
| 4331 ac_path_GREP_max=$ac_count | |
| 4332 fi | |
| 4333 # 10*(2^10) chars as input seems more than enough | |
| 4334 test $ac_count -gt 10 && break | |
| 4335 done | |
| 4336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 4337 esac | |
| 4338 | |
| 4339 $ac_path_GREP_found && break 3 | |
| 4340 done | |
| 4341 done | |
| 4342 done | |
| 4343 IFS=$as_save_IFS | |
| 4344 if test -z "$ac_cv_path_GREP"; then | |
| 4345 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 4346 fi | |
| 4347 else | |
| 4348 ac_cv_path_GREP=$GREP | |
| 4349 fi | |
| 4350 | |
| 4351 fi | |
| 4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 4353 $as_echo "$ac_cv_path_GREP" >&6; } | |
| 4354 GREP="$ac_cv_path_GREP" | |
| 4355 | |
| 4356 | |
| 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 4358 $as_echo_n "checking for egrep... " >&6; } | |
| 4359 if ${ac_cv_path_EGREP+:} false; then : | |
| 4360 $as_echo_n "(cached) " >&6 | |
| 4361 else | |
| 4362 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 4363 then ac_cv_path_EGREP="$GREP -E" | |
| 4364 else | |
| 4365 if test -z "$EGREP"; then | |
| 4366 ac_path_EGREP_found=false | |
| 4367 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 4370 do | |
| 4371 IFS=$as_save_IFS | |
| 4372 test -z "$as_dir" && as_dir=. | |
| 4373 for ac_prog in egrep; do | |
| 4374 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4375 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 4376 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
| 4377 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 4378 # Check for GNU $ac_path_EGREP | |
| 4379 case `"$ac_path_EGREP" --version 2>&1` in | |
| 4380 *GNU*) | |
| 4381 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 4382 *) | |
| 4383 ac_count=0 | |
| 4384 $as_echo_n 0123456789 >"conftest.in" | |
| 4385 while : | |
| 4386 do | |
| 4387 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 4388 mv "conftest.tmp" "conftest.in" | |
| 4389 cp "conftest.in" "conftest.nl" | |
| 4390 $as_echo 'EGREP' >> "conftest.nl" | |
| 4391 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 4392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 4393 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 4394 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 4395 # Best one so far, save it but keep looking for a better one | |
| 4396 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 4397 ac_path_EGREP_max=$ac_count | |
| 4398 fi | |
| 4399 # 10*(2^10) chars as input seems more than enough | |
| 4400 test $ac_count -gt 10 && break | |
| 4401 done | |
| 4402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 4403 esac | |
| 4404 | |
| 4405 $ac_path_EGREP_found && break 3 | |
| 4406 done | |
| 4407 done | |
| 4408 done | |
| 4409 IFS=$as_save_IFS | |
| 4410 if test -z "$ac_cv_path_EGREP"; then | |
| 4411 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 4412 fi | |
| 4413 else | |
| 4414 ac_cv_path_EGREP=$EGREP | |
| 4415 fi | |
| 4416 | |
| 4417 fi | |
| 4418 fi | |
| 4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 4420 $as_echo "$ac_cv_path_EGREP" >&6; } | |
| 4421 EGREP="$ac_cv_path_EGREP" | |
| 4422 | |
| 4423 | |
| 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | |
| 4425 $as_echo_n "checking for fgrep... " >&6; } | |
| 4426 if ${ac_cv_path_FGREP+:} false; then : | |
| 4427 $as_echo_n "(cached) " >&6 | |
| 4428 else | |
| 4429 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | |
| 4430 then ac_cv_path_FGREP="$GREP -F" | |
| 4431 else | |
| 4432 if test -z "$FGREP"; then | |
| 4433 ac_path_FGREP_found=false | |
| 4434 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 4437 do | |
| 4438 IFS=$as_save_IFS | |
| 4439 test -z "$as_dir" && as_dir=. | |
| 4440 for ac_prog in fgrep; do | |
| 4441 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4442 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 4443 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | |
| 4444 # Check for GNU ac_path_FGREP and select it if it is found. | |
| 4445 # Check for GNU $ac_path_FGREP | |
| 4446 case `"$ac_path_FGREP" --version 2>&1` in | |
| 4447 *GNU*) | |
| 4448 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | |
| 4449 *) | |
| 4450 ac_count=0 | |
| 4451 $as_echo_n 0123456789 >"conftest.in" | |
| 4452 while : | |
| 4453 do | |
| 4454 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 4455 mv "conftest.tmp" "conftest.in" | |
| 4456 cp "conftest.in" "conftest.nl" | |
| 4457 $as_echo 'FGREP' >> "conftest.nl" | |
| 4458 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 4459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 4460 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 4461 if test $ac_count -gt ${ac_path_FGREP_max-0}; then | |
| 4462 # Best one so far, save it but keep looking for a better one | |
| 4463 ac_cv_path_FGREP="$ac_path_FGREP" | |
| 4464 ac_path_FGREP_max=$ac_count | |
| 4465 fi | |
| 4466 # 10*(2^10) chars as input seems more than enough | |
| 4467 test $ac_count -gt 10 && break | |
| 4468 done | |
| 4469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 4470 esac | |
| 4471 | |
| 4472 $ac_path_FGREP_found && break 3 | |
| 4473 done | |
| 4474 done | |
| 4475 done | |
| 4476 IFS=$as_save_IFS | |
| 4477 if test -z "$ac_cv_path_FGREP"; then | |
| 4478 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 4479 fi | |
| 4480 else | |
| 4481 ac_cv_path_FGREP=$FGREP | |
| 4482 fi | |
| 4483 | |
| 4484 fi | |
| 4485 fi | |
| 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | |
| 4487 $as_echo "$ac_cv_path_FGREP" >&6; } | |
| 4488 FGREP="$ac_cv_path_FGREP" | |
| 4489 | |
| 4490 | |
| 4491 test -z "$GREP" && GREP=grep | |
| 4492 | |
| 4493 | |
| 4494 | |
| 4495 | |
| 4496 | |
| 4497 | |
| 4498 | |
| 4499 | |
| 4500 | |
| 4501 | |
| 4502 | |
| 4503 | |
| 4504 | |
| 4505 | |
| 4506 | |
| 4507 | |
| 4508 | |
| 4509 | |
| 4510 | |
| 4511 # Check whether --with-gnu-ld was given. | |
| 4512 if test "${with_gnu_ld+set}" = set; then : | |
| 4513 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |
| 4514 else | |
| 4515 with_gnu_ld=no | |
| 4516 fi | |
| 4517 | |
| 4518 ac_prog=ld | |
| 4519 if test "$GCC" = yes; then | |
| 4520 # Check if gcc -print-prog-name=ld gives a path. | |
| 4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | |
| 4522 $as_echo_n "checking for ld used by $CC... " >&6; } | |
| 4523 case $host in | |
| 4524 *-*-mingw*) | |
| 4525 # gcc leaves a trailing carriage return which upsets mingw | |
| 4526 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
| 4527 *) | |
| 4528 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
| 4529 esac | |
| 4530 case $ac_prog in | |
| 4531 # Accept absolute paths. | |
| 4532 [\\/]* | ?:[\\/]*) | |
| 4533 re_direlt='/[^/][^/]*/\.\./' | |
| 4534 # Canonicalize the pathname of ld | |
| 4535 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | |
| 4536 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | |
| 4537 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | |
| 4538 done | |
| 4539 test -z "$LD" && LD="$ac_prog" | |
| 4540 ;; | |
| 4541 "") | |
| 4542 # If it fails, then pretend we aren't using GCC. | |
| 4543 ac_prog=ld | |
| 4544 ;; | |
| 4545 *) | |
| 4546 # If it is relative, then search for the first ld in PATH. | |
| 4547 with_gnu_ld=unknown | |
| 4548 ;; | |
| 4549 esac | |
| 4550 elif test "$with_gnu_ld" = yes; then | |
| 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
| 4552 $as_echo_n "checking for GNU ld... " >&6; } | |
| 4553 else | |
| 4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
| 4555 $as_echo_n "checking for non-GNU ld... " >&6; } | |
| 4556 fi | |
| 4557 if ${lt_cv_path_LD+:} false; then : | |
| 4558 $as_echo_n "(cached) " >&6 | |
| 4559 else | |
| 4560 if test -z "$LD"; then | |
| 4561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 4562 for ac_dir in $PATH; do | |
| 4563 IFS="$lt_save_ifs" | |
| 4564 test -z "$ac_dir" && ac_dir=. | |
| 4565 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| 4566 lt_cv_path_LD="$ac_dir/$ac_prog" | |
| 4567 # Check to see if the program is GNU ld. I'd rather use --version, | |
| 4568 # but apparently some variants of GNU ld only accept -v. | |
| 4569 # Break only if it was the GNU/non-GNU ld that we prefer. | |
| 4570 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
| 4571 *GNU* | *'with BFD'*) | |
| 4572 test "$with_gnu_ld" != no && break | |
| 4573 ;; | |
| 4574 *) | |
| 4575 test "$with_gnu_ld" != yes && break | |
| 4576 ;; | |
| 4577 esac | |
| 4578 fi | |
| 4579 done | |
| 4580 IFS="$lt_save_ifs" | |
| 4581 else | |
| 4582 lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
| 4583 fi | |
| 4584 fi | |
| 4585 | |
| 4586 LD="$lt_cv_path_LD" | |
| 4587 if test -n "$LD"; then | |
| 4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
| 4589 $as_echo "$LD" >&6; } | |
| 4590 else | |
| 4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4592 $as_echo "no" >&6; } | |
| 4593 fi | |
| 4594 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
| 4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | |
| 4596 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
| 4597 if ${lt_cv_prog_gnu_ld+:} false; then : | |
| 4598 $as_echo_n "(cached) " >&6 | |
| 4599 else | |
| 4600 # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
| 4601 case `$LD -v 2>&1 </dev/null` in | |
| 4602 *GNU* | *'with BFD'*) | |
| 4603 lt_cv_prog_gnu_ld=yes | |
| 4604 ;; | |
| 4605 *) | |
| 4606 lt_cv_prog_gnu_ld=no | |
| 4607 ;; | |
| 4608 esac | |
| 4609 fi | |
| 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | |
| 4611 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | |
| 4612 with_gnu_ld=$lt_cv_prog_gnu_ld | |
| 4613 | |
| 4614 | |
| 4615 | |
| 4616 | |
| 4617 | |
| 4618 | |
| 4619 | |
| 4620 | |
| 4621 | |
| 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 | |
| 4623 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | |
| 4624 if ${lt_cv_path_NM+:} false; then : | |
| 4625 $as_echo_n "(cached) " >&6 | |
| 4626 else | |
| 4627 if test -n "$NM"; then | |
| 4628 # Let the user override the test. | |
| 4629 lt_cv_path_NM="$NM" | |
| 4630 else | |
| 4631 lt_nm_to_check="${ac_tool_prefix}nm" | |
| 4632 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | |
| 4633 lt_nm_to_check="$lt_nm_to_check nm" | |
| 4634 fi | |
| 4635 for lt_tmp_nm in $lt_nm_to_check; do | |
| 4636 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 4637 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | |
| 4638 IFS="$lt_save_ifs" | |
| 4639 test -z "$ac_dir" && ac_dir=. | |
| 4640 tmp_nm="$ac_dir/$lt_tmp_nm" | |
| 4641 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | |
| 4642 # Check to see if the nm accepts a BSD-compat flag. | |
| 4643 # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
| 4644 # nm: unknown option "B" ignored | |
| 4645 # Tru64's nm complains that /dev/null is an invalid object file | |
| 4646 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | |
| 4647 */dev/null* | *'Invalid file or object type'*) | |
| 4648 lt_cv_path_NM="$tmp_nm -B" | |
| 4649 break | |
| 4650 ;; | |
| 4651 *) | |
| 4652 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
| 4653 */dev/null*) | |
| 4654 lt_cv_path_NM="$tmp_nm -p" | |
| 4655 break | |
| 4656 ;; | |
| 4657 *) | |
| 4658 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
| 4659 continue # so that we can try to find one that supports BSD flags | |
| 4660 ;; | |
| 4661 esac | |
| 4662 ;; | |
| 4663 esac | |
| 4664 fi | |
| 4665 done | |
| 4666 IFS="$lt_save_ifs" | |
| 4667 done | |
| 4668 : ${lt_cv_path_NM=no} | |
| 4669 fi | |
| 4670 fi | |
| 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | |
| 4672 $as_echo "$lt_cv_path_NM" >&6; } | |
| 4673 if test "$lt_cv_path_NM" != "no"; then | |
| 4674 NM="$lt_cv_path_NM" | |
| 4675 else | |
| 4676 # Didn't find any BSD compatible name lister, look for dumpbin. | |
| 4677 if test -n "$DUMPBIN"; then : | |
| 4678 # Let the user override the test. | |
| 4679 else | |
| 4680 if test -n "$ac_tool_prefix"; then | |
| 4681 for ac_prog in dumpbin "link -dump" | |
| 4682 do | |
| 4683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 4684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4686 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4687 if ${ac_cv_prog_DUMPBIN+:} false; then : | |
| 4688 $as_echo_n "(cached) " >&6 | |
| 4689 else | |
| 4690 if test -n "$DUMPBIN"; then | |
| 4691 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | |
| 4692 else | |
| 4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4694 for as_dir in $PATH | |
| 4695 do | |
| 4696 IFS=$as_save_IFS | |
| 4697 test -z "$as_dir" && as_dir=. | |
| 4698 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 4700 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | |
| 4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4702 break 2 | |
| 4703 fi | |
| 4704 done | |
| 4705 done | |
| 4706 IFS=$as_save_IFS | |
| 4707 | |
| 4708 fi | |
| 4709 fi | |
| 4710 DUMPBIN=$ac_cv_prog_DUMPBIN | |
| 4711 if test -n "$DUMPBIN"; then | |
| 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | |
| 4713 $as_echo "$DUMPBIN" >&6; } | |
| 4714 else | |
| 4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4716 $as_echo "no" >&6; } | |
| 4717 fi | |
| 4718 | |
| 4719 | |
| 4720 test -n "$DUMPBIN" && break | |
| 4721 done | |
| 4722 fi | |
| 4723 if test -z "$DUMPBIN"; then | |
| 4724 ac_ct_DUMPBIN=$DUMPBIN | |
| 4725 for ac_prog in dumpbin "link -dump" | |
| 4726 do | |
| 4727 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 4728 set dummy $ac_prog; ac_word=$2 | |
| 4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 4730 $as_echo_n "checking for $ac_word... " >&6; } | |
| 4731 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : | |
| 4732 $as_echo_n "(cached) " >&6 | |
| 4733 else | |
| 4734 if test -n "$ac_ct_DUMPBIN"; then | |
| 4735 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | |
| 4736 else | |
| 4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4738 for as_dir in $PATH | |
| 4739 do | |
| 4740 IFS=$as_save_IFS | |
| 4741 test -z "$as_dir" && as_dir=. | |
| 4742 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 4744 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | |
| 4745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4746 break 2 | |
| 4747 fi | |
| 4748 done | |
| 4749 done | |
| 4750 IFS=$as_save_IFS | |
| 4751 | |
| 4752 fi | |
| 4753 fi | |
| 4754 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | |
| 4755 if test -n "$ac_ct_DUMPBIN"; then | |
| 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | |
| 4757 $as_echo "$ac_ct_DUMPBIN" >&6; } | |
| 4758 else | |
| 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 4760 $as_echo "no" >&6; } | |
| 4761 fi | |
| 4762 | |
| 4763 | |
| 4764 test -n "$ac_ct_DUMPBIN" && break | |
| 4765 done | |
| 4766 | |
| 4767 if test "x$ac_ct_DUMPBIN" = x; then | |
| 4768 DUMPBIN=":" | |
| 4769 else | |
| 4770 case $cross_compiling:$ac_tool_warned in | |
| 4771 yes:) | |
| 4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 4773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 4774 ac_tool_warned=yes ;; | |
| 4775 esac | |
| 4776 DUMPBIN=$ac_ct_DUMPBIN | |
| 4777 fi | |
| 4778 fi | |
| 4779 | |
| 4780 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | |
| 4781 *COFF*) | |
| 4782 DUMPBIN="$DUMPBIN -symbols" | |
| 4783 ;; | |
| 4784 *) | |
| 4785 DUMPBIN=: | |
| 4786 ;; | |
| 4787 esac | |
| 4788 fi | |
| 4789 | |
| 4790 if test "$DUMPBIN" != ":"; then | |
| 4791 NM="$DUMPBIN" | |
| 4792 fi | |
| 4793 fi | |
| 4794 test -z "$NM" && NM=nm | |
| 4795 | |
| 4796 | |
| 4797 | |
| 4798 | |
| 4799 | |
| 4800 | |
| 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 | |
| 4802 $as_echo_n "checking the name lister ($NM) interface... " >&6; } | |
| 4803 if ${lt_cv_nm_interface+:} false; then : | |
| 4804 $as_echo_n "(cached) " >&6 | |
| 4805 else | |
| 4806 lt_cv_nm_interface="BSD nm" | |
| 4807 echo "int some_variable = 0;" > conftest.$ac_ext | |
| 4808 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | |
| 4809 (eval "$ac_compile" 2>conftest.err) | |
| 4810 cat conftest.err >&5 | |
| 4811 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
| 4812 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | |
| 4813 cat conftest.err >&5 | |
| 4814 (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
| 4815 cat conftest.out >&5 | |
| 4816 if $GREP 'External.*some_variable' conftest.out > /dev/null; then | |
| 4817 lt_cv_nm_interface="MS dumpbin" | |
| 4818 fi | |
| 4819 rm -f conftest* | |
| 4820 fi | |
| 4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | |
| 4822 $as_echo "$lt_cv_nm_interface" >&6; } | |
| 4823 | |
| 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
| 4825 $as_echo_n "checking whether ln -s works... " >&6; } | |
| 4826 LN_S=$as_ln_s | |
| 4827 if test "$LN_S" = "ln -s"; then | |
| 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 4829 $as_echo "yes" >&6; } | |
| 4830 else | |
| 4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | |
| 4832 $as_echo "no, using $LN_S" >&6; } | |
| 4833 fi | |
| 4834 | |
| 4835 # find the maximum length of command line arguments | |
| 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 | |
| 4837 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | |
| 4838 if ${lt_cv_sys_max_cmd_len+:} false; then : | |
| 4839 $as_echo_n "(cached) " >&6 | |
| 4840 else | |
| 4841 i=0 | |
| 4842 teststring="ABCD" | |
| 4843 | |
| 4844 case $build_os in | |
| 4845 msdosdjgpp*) | |
| 4846 # On DJGPP, this test can blow up pretty badly due to problems in libc | |
| 4847 # (any single argument exceeding 2000 bytes causes a buffer overrun | |
| 4848 # during glob expansion). Even if it were fixed, the result of this | |
| 4849 # check would be larger than it should be. | |
| 4850 lt_cv_sys_max_cmd_len=12288; # 12K is about right | |
| 4851 ;; | |
| 4852 | |
| 4853 gnu*) | |
| 4854 # Under GNU Hurd, this test is not required because there is | |
| 4855 # no limit to the length of command line arguments. | |
| 4856 # Libtool will interpret -1 as no limit whatsoever | |
| 4857 lt_cv_sys_max_cmd_len=-1; | |
| 4858 ;; | |
| 4859 | |
| 4860 cygwin* | mingw* | cegcc*) | |
| 4861 # On Win9x/ME, this test blows up -- it succeeds, but takes | |
| 4862 # about 5 minutes as the teststring grows exponentially. | |
| 4863 # Worse, since 9x/ME are not pre-emptively multitasking, | |
| 4864 # you end up with a "frozen" computer, even though with patience | |
| 4865 # the test eventually succeeds (with a max line length of 256k). | |
| 4866 # Instead, let's just punt: use the minimum linelength reported by | |
| 4867 # all of the supported platforms: 8192 (on NT/2K/XP). | |
| 4868 lt_cv_sys_max_cmd_len=8192; | |
| 4869 ;; | |
| 4870 | |
| 4871 mint*) | |
| 4872 # On MiNT this can take a long time and run out of memory. | |
| 4873 lt_cv_sys_max_cmd_len=8192; | |
| 4874 ;; | |
| 4875 | |
| 4876 amigaos*) | |
| 4877 # On AmigaOS with pdksh, this test takes hours, literally. | |
| 4878 # So we just punt and use a minimum line length of 8192. | |
| 4879 lt_cv_sys_max_cmd_len=8192; | |
| 4880 ;; | |
| 4881 | |
| 4882 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | |
| 4883 # This has been around since 386BSD, at least. Likely further. | |
| 4884 if test -x /sbin/sysctl; then | |
| 4885 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |
| 4886 elif test -x /usr/sbin/sysctl; then | |
| 4887 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | |
| 4888 else | |
| 4889 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | |
| 4890 fi | |
| 4891 # And add a safety zone | |
| 4892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 4893 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 4894 ;; | |
| 4895 | |
| 4896 interix*) | |
| 4897 # We know the value 262144 and hardcode it with a safety zone (like BSD) | |
| 4898 lt_cv_sys_max_cmd_len=196608 | |
| 4899 ;; | |
| 4900 | |
| 4901 osf*) | |
| 4902 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | |
| 4903 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | |
| 4904 # nice to cause kernel panics so lets avoid the loop below. | |
| 4905 # First set a reasonable default. | |
| 4906 lt_cv_sys_max_cmd_len=16384 | |
| 4907 # | |
| 4908 if test -x /sbin/sysconfig; then | |
| 4909 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | |
| 4910 *1*) lt_cv_sys_max_cmd_len=-1 ;; | |
| 4911 esac | |
| 4912 fi | |
| 4913 ;; | |
| 4914 sco3.2v5*) | |
| 4915 lt_cv_sys_max_cmd_len=102400 | |
| 4916 ;; | |
| 4917 sysv5* | sco5v6* | sysv4.2uw2*) | |
| 4918 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | |
| 4919 if test -n "$kargmax"; then | |
| 4920 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | |
| 4921 else | |
| 4922 lt_cv_sys_max_cmd_len=32768 | |
| 4923 fi | |
| 4924 ;; | |
| 4925 *) | |
| 4926 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | |
| 4927 if test -n "$lt_cv_sys_max_cmd_len"; then | |
| 4928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
| 4929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
| 4930 else | |
| 4931 # Make teststring a little bigger before we do anything with it. | |
| 4932 # a 1K string should be a reasonable start. | |
| 4933 for i in 1 2 3 4 5 6 7 8 ; do | |
| 4934 teststring=$teststring$teststring | |
| 4935 done | |
| 4936 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | |
| 4937 # If test is not a shell built-in, we'll probably end up computing a | |
| 4938 # maximum length that is only half of the actual maximum length, but | |
| 4939 # we can't tell. | |
| 4940 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | |
| 4941 = "X$teststring$teststring"; } >/dev/null 2>&1 && | |
| 4942 test $i != 17 # 1/2 MB should be enough | |
| 4943 do | |
| 4944 i=`expr $i + 1` | |
| 4945 teststring=$teststring$teststring | |
| 4946 done | |
| 4947 # Only check the string length outside the loop. | |
| 4948 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | |
| 4949 teststring= | |
| 4950 # Add a significant safety factor because C++ compilers can tack on | |
| 4951 # massive amounts of additional arguments before passing them to the | |
| 4952 # linker. It appears as though 1/2 is a usable value. | |
| 4953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | |
| 4954 fi | |
| 4955 ;; | |
| 4956 esac | |
| 4957 | |
| 4958 fi | |
| 4959 | |
| 4960 if test -n $lt_cv_sys_max_cmd_len ; then | |
| 4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | |
| 4962 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | |
| 4963 else | |
| 4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | |
| 4965 $as_echo "none" >&6; } | |
| 4966 fi | |
| 4967 max_cmd_len=$lt_cv_sys_max_cmd_len | |
| 4968 | |
| 4969 | |
| 4970 | |
| 4971 | |
| 4972 | |
| 4973 | |
| 4974 : ${CP="cp -f"} | |
| 4975 : ${MV="mv -f"} | |
| 4976 : ${RM="rm -f"} | |
| 4977 | |
| 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 | |
| 4979 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } | |
| 4980 # Try some XSI features | |
| 4981 xsi_shell=no | |
| 4982 ( _lt_dummy="a/b/c" | |
| 4983 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ | |
| 4984 = c,a/b,b/c, \ | |
| 4985 && eval 'test $(( 1 + 1 )) -eq 2 \ | |
| 4986 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | |
| 4987 && xsi_shell=yes | |
| 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 | |
| 4989 $as_echo "$xsi_shell" >&6; } | |
| 4990 | |
| 4991 | |
| 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 | |
| 4993 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } | |
| 4994 lt_shell_append=no | |
| 4995 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ | |
| 4996 >/dev/null 2>&1 \ | |
| 4997 && lt_shell_append=yes | |
| 4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 | |
| 4999 $as_echo "$lt_shell_append" >&6; } | |
| 5000 | |
| 5001 | |
| 5002 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 5003 lt_unset=unset | |
| 5004 else | |
| 5005 lt_unset=false | |
| 5006 fi | |
| 5007 | |
| 5008 | |
| 5009 | |
| 5010 | |
| 5011 | |
| 5012 # test EBCDIC or ASCII | |
| 5013 case `echo X|tr X '\101'` in | |
| 5014 A) # ASCII based system | |
| 5015 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | |
| 5016 lt_SP2NL='tr \040 \012' | |
| 5017 lt_NL2SP='tr \015\012 \040\040' | |
| 5018 ;; | |
| 5019 *) # EBCDIC based system | |
| 5020 lt_SP2NL='tr \100 \n' | |
| 5021 lt_NL2SP='tr \r\n \100\100' | |
| 5022 ;; | |
| 5023 esac | |
| 5024 | |
| 5025 | |
| 5026 | |
| 5027 | |
| 5028 | |
| 5029 | |
| 5030 | |
| 5031 | |
| 5032 | |
| 5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 | |
| 5034 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } | |
| 5035 if ${lt_cv_to_host_file_cmd+:} false; then : | |
| 5036 $as_echo_n "(cached) " >&6 | |
| 5037 else | |
| 5038 case $host in | |
| 5039 *-*-mingw* ) | |
| 5040 case $build in | |
| 5041 *-*-mingw* ) # actually msys | |
| 5042 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 | |
| 5043 ;; | |
| 5044 *-*-cygwin* ) | |
| 5045 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 | |
| 5046 ;; | |
| 5047 * ) # otherwise, assume *nix | |
| 5048 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 | |
| 5049 ;; | |
| 5050 esac | |
| 5051 ;; | |
| 5052 *-*-cygwin* ) | |
| 5053 case $build in | |
| 5054 *-*-mingw* ) # actually msys | |
| 5055 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin | |
| 5056 ;; | |
| 5057 *-*-cygwin* ) | |
| 5058 lt_cv_to_host_file_cmd=func_convert_file_noop | |
| 5059 ;; | |
| 5060 * ) # otherwise, assume *nix | |
| 5061 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin | |
| 5062 ;; | |
| 5063 esac | |
| 5064 ;; | |
| 5065 * ) # unhandled hosts (and "normal" native builds) | |
| 5066 lt_cv_to_host_file_cmd=func_convert_file_noop | |
| 5067 ;; | |
| 5068 esac | |
| 5069 | |
| 5070 fi | |
| 5071 | |
| 5072 to_host_file_cmd=$lt_cv_to_host_file_cmd | |
| 5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 | |
| 5074 $as_echo "$lt_cv_to_host_file_cmd" >&6; } | |
| 5075 | |
| 5076 | |
| 5077 | |
| 5078 | |
| 5079 | |
| 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 | |
| 5081 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } | |
| 5082 if ${lt_cv_to_tool_file_cmd+:} false; then : | |
| 5083 $as_echo_n "(cached) " >&6 | |
| 5084 else | |
| 5085 #assume ordinary cross tools, or native build. | |
| 5086 lt_cv_to_tool_file_cmd=func_convert_file_noop | |
| 5087 case $host in | |
| 5088 *-*-mingw* ) | |
| 5089 case $build in | |
| 5090 *-*-mingw* ) # actually msys | |
| 5091 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 | |
| 5092 ;; | |
| 5093 esac | |
| 5094 ;; | |
| 5095 esac | |
| 5096 | |
| 5097 fi | |
| 5098 | |
| 5099 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | |
| 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 | |
| 5101 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } | |
| 5102 | |
| 5103 | |
| 5104 | |
| 5105 | |
| 5106 | |
| 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 | |
| 5108 $as_echo_n "checking for $LD option to reload object files... " >&6; } | |
| 5109 if ${lt_cv_ld_reload_flag+:} false; then : | |
| 5110 $as_echo_n "(cached) " >&6 | |
| 5111 else | |
| 5112 lt_cv_ld_reload_flag='-r' | |
| 5113 fi | |
| 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | |
| 5115 $as_echo "$lt_cv_ld_reload_flag" >&6; } | |
| 5116 reload_flag=$lt_cv_ld_reload_flag | |
| 5117 case $reload_flag in | |
| 5118 "" | " "*) ;; | |
| 5119 *) reload_flag=" $reload_flag" ;; | |
| 5120 esac | |
| 5121 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 5122 case $host_os in | |
| 5123 cygwin* | mingw* | pw32* | cegcc*) | |
| 5124 if test "$GCC" != yes; then | |
| 5125 reload_cmds=false | |
| 5126 fi | |
| 5127 ;; | |
| 5128 darwin*) | |
| 5129 if test "$GCC" = yes; then | |
| 5130 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | |
| 5131 else | |
| 5132 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
| 5133 fi | |
| 5134 ;; | |
| 5135 esac | |
| 5136 | |
| 5137 | |
| 5138 | |
| 5139 | |
| 5140 | |
| 5141 | |
| 5142 | |
| 5143 | |
| 5144 | |
| 5145 if test -n "$ac_tool_prefix"; then | |
| 5146 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | |
| 5147 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5149 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5150 if ${ac_cv_prog_OBJDUMP+:} false; then : | |
| 5151 $as_echo_n "(cached) " >&6 | |
| 5152 else | |
| 5153 if test -n "$OBJDUMP"; then | |
| 5154 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| 5155 else | |
| 5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5157 for as_dir in $PATH | |
| 5158 do | |
| 5159 IFS=$as_save_IFS | |
| 5160 test -z "$as_dir" && as_dir=. | |
| 5161 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5163 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| 5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5165 break 2 | |
| 5166 fi | |
| 5167 done | |
| 5168 done | |
| 5169 IFS=$as_save_IFS | |
| 5170 | |
| 5171 fi | |
| 5172 fi | |
| 5173 OBJDUMP=$ac_cv_prog_OBJDUMP | |
| 5174 if test -n "$OBJDUMP"; then | |
| 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
| 5176 $as_echo "$OBJDUMP" >&6; } | |
| 5177 else | |
| 5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5179 $as_echo "no" >&6; } | |
| 5180 fi | |
| 5181 | |
| 5182 | |
| 5183 fi | |
| 5184 if test -z "$ac_cv_prog_OBJDUMP"; then | |
| 5185 ac_ct_OBJDUMP=$OBJDUMP | |
| 5186 # Extract the first word of "objdump", so it can be a program name with args. | |
| 5187 set dummy objdump; ac_word=$2 | |
| 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5189 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5190 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | |
| 5191 $as_echo_n "(cached) " >&6 | |
| 5192 else | |
| 5193 if test -n "$ac_ct_OBJDUMP"; then | |
| 5194 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
| 5195 else | |
| 5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5197 for as_dir in $PATH | |
| 5198 do | |
| 5199 IFS=$as_save_IFS | |
| 5200 test -z "$as_dir" && as_dir=. | |
| 5201 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5203 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
| 5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5205 break 2 | |
| 5206 fi | |
| 5207 done | |
| 5208 done | |
| 5209 IFS=$as_save_IFS | |
| 5210 | |
| 5211 fi | |
| 5212 fi | |
| 5213 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
| 5214 if test -n "$ac_ct_OBJDUMP"; then | |
| 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
| 5216 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
| 5217 else | |
| 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5219 $as_echo "no" >&6; } | |
| 5220 fi | |
| 5221 | |
| 5222 if test "x$ac_ct_OBJDUMP" = x; then | |
| 5223 OBJDUMP="false" | |
| 5224 else | |
| 5225 case $cross_compiling:$ac_tool_warned in | |
| 5226 yes:) | |
| 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 5228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 5229 ac_tool_warned=yes ;; | |
| 5230 esac | |
| 5231 OBJDUMP=$ac_ct_OBJDUMP | |
| 5232 fi | |
| 5233 else | |
| 5234 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| 5235 fi | |
| 5236 | |
| 5237 test -z "$OBJDUMP" && OBJDUMP=objdump | |
| 5238 | |
| 5239 | |
| 5240 | |
| 5241 | |
| 5242 | |
| 5243 | |
| 5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 | |
| 5245 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | |
| 5246 if ${lt_cv_deplibs_check_method+:} false; then : | |
| 5247 $as_echo_n "(cached) " >&6 | |
| 5248 else | |
| 5249 lt_cv_file_magic_cmd='$MAGIC_CMD' | |
| 5250 lt_cv_file_magic_test_file= | |
| 5251 lt_cv_deplibs_check_method='unknown' | |
| 5252 # Need to set the preceding variable on all platforms that support | |
| 5253 # interlibrary dependencies. | |
| 5254 # 'none' -- dependencies not supported. | |
| 5255 # `unknown' -- same as none, but documents that we really don't know. | |
| 5256 # 'pass_all' -- all dependencies passed with no checks. | |
| 5257 # 'test_compile' -- check by making test program. | |
| 5258 # 'file_magic [[regex]]' -- check by looking for files in library path | |
| 5259 # which responds to the $file_magic_cmd with a given extended regex. | |
| 5260 # If you have `file' or equivalent on your system and you're not sure | |
| 5261 # whether `pass_all' will *always* work, you probably want this one. | |
| 5262 | |
| 5263 case $host_os in | |
| 5264 aix[4-9]*) | |
| 5265 lt_cv_deplibs_check_method=pass_all | |
| 5266 ;; | |
| 5267 | |
| 5268 beos*) | |
| 5269 lt_cv_deplibs_check_method=pass_all | |
| 5270 ;; | |
| 5271 | |
| 5272 bsdi[45]*) | |
| 5273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | |
| 5274 lt_cv_file_magic_cmd='/usr/bin/file -L' | |
| 5275 lt_cv_file_magic_test_file=/shlib/libc.so | |
| 5276 ;; | |
| 5277 | |
| 5278 cygwin*) | |
| 5279 # func_win32_libid is a shell function defined in ltmain.sh | |
| 5280 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 5281 lt_cv_file_magic_cmd='func_win32_libid' | |
| 5282 ;; | |
| 5283 | |
| 5284 mingw* | pw32*) | |
| 5285 # Base MSYS/MinGW do not provide the 'file' command needed by | |
| 5286 # func_win32_libid shell function, so use a weaker test based on 'objdump', | |
| 5287 # unless we find 'file', for example because we are cross-compiling. | |
| 5288 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | |
| 5289 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | |
| 5290 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
| 5291 lt_cv_file_magic_cmd='func_win32_libid' | |
| 5292 else | |
| 5293 # Keep this pattern in sync with the one in func_win32_libid. | |
| 5294 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' | |
| 5295 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 5296 fi | |
| 5297 ;; | |
| 5298 | |
| 5299 cegcc*) | |
| 5300 # use the weaker test based on 'objdump'. See mingw*. | |
| 5301 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' | |
| 5302 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
| 5303 ;; | |
| 5304 | |
| 5305 darwin* | rhapsody*) | |
| 5306 lt_cv_deplibs_check_method=pass_all | |
| 5307 ;; | |
| 5308 | |
| 5309 freebsd* | dragonfly*) | |
| 5310 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 5311 case $host_cpu in | |
| 5312 i*86 ) | |
| 5313 # Not sure whether the presence of OpenBSD here was a mistake. | |
| 5314 # Let's accept both of them until this is cleared up. | |
| 5315 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' | |
| 5316 lt_cv_file_magic_cmd=/usr/bin/file | |
| 5317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
| 5318 ;; | |
| 5319 esac | |
| 5320 else | |
| 5321 lt_cv_deplibs_check_method=pass_all | |
| 5322 fi | |
| 5323 ;; | |
| 5324 | |
| 5325 gnu*) | |
| 5326 lt_cv_deplibs_check_method=pass_all | |
| 5327 ;; | |
| 5328 | |
| 5329 haiku*) | |
| 5330 lt_cv_deplibs_check_method=pass_all | |
| 5331 ;; | |
| 5332 | |
| 5333 hpux10.20* | hpux11*) | |
| 5334 lt_cv_file_magic_cmd=/usr/bin/file | |
| 5335 case $host_cpu in | |
| 5336 ia64*) | |
| 5337 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | |
| 5338 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
| 5339 ;; | |
| 5340 hppa*64*) | |
| 5341 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]' | |
| 5342 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
| 5343 ;; | |
| 5344 *) | |
| 5345 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' | |
| 5346 lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
| 5347 ;; | |
| 5348 esac | |
| 5349 ;; | |
| 5350 | |
| 5351 interix[3-9]*) | |
| 5352 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | |
| 5353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | |
| 5354 ;; | |
| 5355 | |
| 5356 irix5* | irix6* | nonstopux*) | |
| 5357 case $LD in | |
| 5358 *-32|*"-32 ") libmagic=32-bit;; | |
| 5359 *-n32|*"-n32 ") libmagic=N32;; | |
| 5360 *-64|*"-64 ") libmagic=64-bit;; | |
| 5361 *) libmagic=never-match;; | |
| 5362 esac | |
| 5363 lt_cv_deplibs_check_method=pass_all | |
| 5364 ;; | |
| 5365 | |
| 5366 # This must be Linux ELF. | |
| 5367 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 5368 lt_cv_deplibs_check_method=pass_all | |
| 5369 ;; | |
| 5370 | |
| 5371 netbsd* | netbsdelf*-gnu) | |
| 5372 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
| 5373 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | |
| 5374 else | |
| 5375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
| 5376 fi | |
| 5377 ;; | |
| 5378 | |
| 5379 newos6*) | |
| 5380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | |
| 5381 lt_cv_file_magic_cmd=/usr/bin/file | |
| 5382 lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
| 5383 ;; | |
| 5384 | |
| 5385 *nto* | *qnx*) | |
| 5386 lt_cv_deplibs_check_method=pass_all | |
| 5387 ;; | |
| 5388 | |
| 5389 openbsd*) | |
| 5390 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 5391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' | |
| 5392 else | |
| 5393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | |
| 5394 fi | |
| 5395 ;; | |
| 5396 | |
| 5397 osf3* | osf4* | osf5*) | |
| 5398 lt_cv_deplibs_check_method=pass_all | |
| 5399 ;; | |
| 5400 | |
| 5401 rdos*) | |
| 5402 lt_cv_deplibs_check_method=pass_all | |
| 5403 ;; | |
| 5404 | |
| 5405 solaris*) | |
| 5406 lt_cv_deplibs_check_method=pass_all | |
| 5407 ;; | |
| 5408 | |
| 5409 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 5410 lt_cv_deplibs_check_method=pass_all | |
| 5411 ;; | |
| 5412 | |
| 5413 sysv4 | sysv4.3*) | |
| 5414 case $host_vendor in | |
| 5415 motorola) | |
| 5416 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]' | |
| 5417 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
| 5418 ;; | |
| 5419 ncr) | |
| 5420 lt_cv_deplibs_check_method=pass_all | |
| 5421 ;; | |
| 5422 sequent) | |
| 5423 lt_cv_file_magic_cmd='/bin/file' | |
| 5424 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | |
| 5425 ;; | |
| 5426 sni) | |
| 5427 lt_cv_file_magic_cmd='/bin/file' | |
| 5428 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | |
| 5429 lt_cv_file_magic_test_file=/lib/libc.so | |
| 5430 ;; | |
| 5431 siemens) | |
| 5432 lt_cv_deplibs_check_method=pass_all | |
| 5433 ;; | |
| 5434 pc) | |
| 5435 lt_cv_deplibs_check_method=pass_all | |
| 5436 ;; | |
| 5437 esac | |
| 5438 ;; | |
| 5439 | |
| 5440 tpf*) | |
| 5441 lt_cv_deplibs_check_method=pass_all | |
| 5442 ;; | |
| 5443 esac | |
| 5444 | |
| 5445 fi | |
| 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 | |
| 5447 $as_echo "$lt_cv_deplibs_check_method" >&6; } | |
| 5448 | |
| 5449 file_magic_glob= | |
| 5450 want_nocaseglob=no | |
| 5451 if test "$build" = "$host"; then | |
| 5452 case $host_os in | |
| 5453 mingw* | pw32*) | |
| 5454 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | |
| 5455 want_nocaseglob=yes | |
| 5456 else | |
| 5457 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` | |
| 5458 fi | |
| 5459 ;; | |
| 5460 esac | |
| 5461 fi | |
| 5462 | |
| 5463 file_magic_cmd=$lt_cv_file_magic_cmd | |
| 5464 deplibs_check_method=$lt_cv_deplibs_check_method | |
| 5465 test -z "$deplibs_check_method" && deplibs_check_method=unknown | |
| 5466 | |
| 5467 | |
| 5468 | |
| 5469 | |
| 5470 | |
| 5471 | |
| 5472 | |
| 5473 | |
| 5474 | |
| 5475 | |
| 5476 | |
| 5477 | |
| 5478 | |
| 5479 | |
| 5480 | |
| 5481 | |
| 5482 | |
| 5483 | |
| 5484 | |
| 5485 | |
| 5486 | |
| 5487 | |
| 5488 if test -n "$ac_tool_prefix"; then | |
| 5489 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
| 5490 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| 5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5492 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5493 if ${ac_cv_prog_DLLTOOL+:} false; then : | |
| 5494 $as_echo_n "(cached) " >&6 | |
| 5495 else | |
| 5496 if test -n "$DLLTOOL"; then | |
| 5497 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| 5498 else | |
| 5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5500 for as_dir in $PATH | |
| 5501 do | |
| 5502 IFS=$as_save_IFS | |
| 5503 test -z "$as_dir" && as_dir=. | |
| 5504 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5506 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| 5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5508 break 2 | |
| 5509 fi | |
| 5510 done | |
| 5511 done | |
| 5512 IFS=$as_save_IFS | |
| 5513 | |
| 5514 fi | |
| 5515 fi | |
| 5516 DLLTOOL=$ac_cv_prog_DLLTOOL | |
| 5517 if test -n "$DLLTOOL"; then | |
| 5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | |
| 5519 $as_echo "$DLLTOOL" >&6; } | |
| 5520 else | |
| 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5522 $as_echo "no" >&6; } | |
| 5523 fi | |
| 5524 | |
| 5525 | |
| 5526 fi | |
| 5527 if test -z "$ac_cv_prog_DLLTOOL"; then | |
| 5528 ac_ct_DLLTOOL=$DLLTOOL | |
| 5529 # Extract the first word of "dlltool", so it can be a program name with args. | |
| 5530 set dummy dlltool; ac_word=$2 | |
| 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5532 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5533 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | |
| 5534 $as_echo_n "(cached) " >&6 | |
| 5535 else | |
| 5536 if test -n "$ac_ct_DLLTOOL"; then | |
| 5537 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
| 5538 else | |
| 5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5540 for as_dir in $PATH | |
| 5541 do | |
| 5542 IFS=$as_save_IFS | |
| 5543 test -z "$as_dir" && as_dir=. | |
| 5544 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5546 ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
| 5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5548 break 2 | |
| 5549 fi | |
| 5550 done | |
| 5551 done | |
| 5552 IFS=$as_save_IFS | |
| 5553 | |
| 5554 fi | |
| 5555 fi | |
| 5556 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
| 5557 if test -n "$ac_ct_DLLTOOL"; then | |
| 5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | |
| 5559 $as_echo "$ac_ct_DLLTOOL" >&6; } | |
| 5560 else | |
| 5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5562 $as_echo "no" >&6; } | |
| 5563 fi | |
| 5564 | |
| 5565 if test "x$ac_ct_DLLTOOL" = x; then | |
| 5566 DLLTOOL="false" | |
| 5567 else | |
| 5568 case $cross_compiling:$ac_tool_warned in | |
| 5569 yes:) | |
| 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 5572 ac_tool_warned=yes ;; | |
| 5573 esac | |
| 5574 DLLTOOL=$ac_ct_DLLTOOL | |
| 5575 fi | |
| 5576 else | |
| 5577 DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| 5578 fi | |
| 5579 | |
| 5580 test -z "$DLLTOOL" && DLLTOOL=dlltool | |
| 5581 | |
| 5582 | |
| 5583 | |
| 5584 | |
| 5585 | |
| 5586 | |
| 5587 | |
| 5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 | |
| 5589 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } | |
| 5590 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | |
| 5591 $as_echo_n "(cached) " >&6 | |
| 5592 else | |
| 5593 lt_cv_sharedlib_from_linklib_cmd='unknown' | |
| 5594 | |
| 5595 case $host_os in | |
| 5596 cygwin* | mingw* | pw32* | cegcc*) | |
| 5597 # two different shell functions defined in ltmain.sh | |
| 5598 # decide which to use based on capabilities of $DLLTOOL | |
| 5599 case `$DLLTOOL --help 2>&1` in | |
| 5600 *--identify-strict*) | |
| 5601 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | |
| 5602 ;; | |
| 5603 *) | |
| 5604 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | |
| 5605 ;; | |
| 5606 esac | |
| 5607 ;; | |
| 5608 *) | |
| 5609 # fallback: assume linklib IS sharedlib | |
| 5610 lt_cv_sharedlib_from_linklib_cmd="$ECHO" | |
| 5611 ;; | |
| 5612 esac | |
| 5613 | |
| 5614 fi | |
| 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 | |
| 5616 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } | |
| 5617 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | |
| 5618 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | |
| 5619 | |
| 5620 | |
| 5621 | |
| 5622 | |
| 5623 | |
| 5624 | |
| 5625 | |
| 5626 | |
| 5627 if test -n "$ac_tool_prefix"; then | |
| 5628 for ac_prog in ar | |
| 5629 do | |
| 5630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5633 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5634 if ${ac_cv_prog_AR+:} false; then : | |
| 5635 $as_echo_n "(cached) " >&6 | |
| 5636 else | |
| 5637 if test -n "$AR"; then | |
| 5638 ac_cv_prog_AR="$AR" # Let the user override the test. | |
| 5639 else | |
| 5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5641 for as_dir in $PATH | |
| 5642 do | |
| 5643 IFS=$as_save_IFS | |
| 5644 test -z "$as_dir" && as_dir=. | |
| 5645 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | |
| 5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5649 break 2 | |
| 5650 fi | |
| 5651 done | |
| 5652 done | |
| 5653 IFS=$as_save_IFS | |
| 5654 | |
| 5655 fi | |
| 5656 fi | |
| 5657 AR=$ac_cv_prog_AR | |
| 5658 if test -n "$AR"; then | |
| 5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | |
| 5660 $as_echo "$AR" >&6; } | |
| 5661 else | |
| 5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5663 $as_echo "no" >&6; } | |
| 5664 fi | |
| 5665 | |
| 5666 | |
| 5667 test -n "$AR" && break | |
| 5668 done | |
| 5669 fi | |
| 5670 if test -z "$AR"; then | |
| 5671 ac_ct_AR=$AR | |
| 5672 for ac_prog in ar | |
| 5673 do | |
| 5674 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 5675 set dummy $ac_prog; ac_word=$2 | |
| 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5677 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5678 if ${ac_cv_prog_ac_ct_AR+:} false; then : | |
| 5679 $as_echo_n "(cached) " >&6 | |
| 5680 else | |
| 5681 if test -n "$ac_ct_AR"; then | |
| 5682 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
| 5683 else | |
| 5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5685 for as_dir in $PATH | |
| 5686 do | |
| 5687 IFS=$as_save_IFS | |
| 5688 test -z "$as_dir" && as_dir=. | |
| 5689 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5691 ac_cv_prog_ac_ct_AR="$ac_prog" | |
| 5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5693 break 2 | |
| 5694 fi | |
| 5695 done | |
| 5696 done | |
| 5697 IFS=$as_save_IFS | |
| 5698 | |
| 5699 fi | |
| 5700 fi | |
| 5701 ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
| 5702 if test -n "$ac_ct_AR"; then | |
| 5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | |
| 5704 $as_echo "$ac_ct_AR" >&6; } | |
| 5705 else | |
| 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5707 $as_echo "no" >&6; } | |
| 5708 fi | |
| 5709 | |
| 5710 | |
| 5711 test -n "$ac_ct_AR" && break | |
| 5712 done | |
| 5713 | |
| 5714 if test "x$ac_ct_AR" = x; then | |
| 5715 AR="false" | |
| 5716 else | |
| 5717 case $cross_compiling:$ac_tool_warned in | |
| 5718 yes:) | |
| 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 5720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 5721 ac_tool_warned=yes ;; | |
| 5722 esac | |
| 5723 AR=$ac_ct_AR | |
| 5724 fi | |
| 5725 fi | |
| 5726 | |
| 5727 : ${AR=ar} | |
| 5728 : ${AR_FLAGS=cru} | |
| 5729 | |
| 5730 | |
| 5731 | |
| 5732 | |
| 5733 | |
| 5734 | |
| 5735 | |
| 5736 | |
| 5737 | |
| 5738 | |
| 5739 | |
| 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 | |
| 5741 $as_echo_n "checking for archiver @FILE support... " >&6; } | |
| 5742 if ${lt_cv_ar_at_file+:} false; then : | |
| 5743 $as_echo_n "(cached) " >&6 | |
| 5744 else | |
| 5745 lt_cv_ar_at_file=no | |
| 5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5747 /* end confdefs.h. */ | |
| 5748 | |
| 5749 int | |
| 5750 main () | |
| 5751 { | |
| 5752 | |
| 5753 ; | |
| 5754 return 0; | |
| 5755 } | |
| 5756 _ACEOF | |
| 5757 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5758 echo conftest.$ac_objext > conftest.lst | |
| 5759 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | |
| 5760 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
| 5761 (eval $lt_ar_try) 2>&5 | |
| 5762 ac_status=$? | |
| 5763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5764 test $ac_status = 0; } | |
| 5765 if test "$ac_status" -eq 0; then | |
| 5766 # Ensure the archiver fails upon bogus file names. | |
| 5767 rm -f conftest.$ac_objext libconftest.a | |
| 5768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
| 5769 (eval $lt_ar_try) 2>&5 | |
| 5770 ac_status=$? | |
| 5771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 5772 test $ac_status = 0; } | |
| 5773 if test "$ac_status" -ne 0; then | |
| 5774 lt_cv_ar_at_file=@ | |
| 5775 fi | |
| 5776 fi | |
| 5777 rm -f conftest.* libconftest.a | |
| 5778 | |
| 5779 fi | |
| 5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5781 | |
| 5782 fi | |
| 5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | |
| 5784 $as_echo "$lt_cv_ar_at_file" >&6; } | |
| 5785 | |
| 5786 if test "x$lt_cv_ar_at_file" = xno; then | |
| 5787 archiver_list_spec= | |
| 5788 else | |
| 5789 archiver_list_spec=$lt_cv_ar_at_file | |
| 5790 fi | |
| 5791 | |
| 5792 | |
| 5793 | |
| 5794 | |
| 5795 | |
| 5796 | |
| 5797 | |
| 5798 if test -n "$ac_tool_prefix"; then | |
| 5799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
| 5800 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5802 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5803 if ${ac_cv_prog_STRIP+:} false; then : | |
| 5804 $as_echo_n "(cached) " >&6 | |
| 5805 else | |
| 5806 if test -n "$STRIP"; then | |
| 5807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 5808 else | |
| 5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5810 for as_dir in $PATH | |
| 5811 do | |
| 5812 IFS=$as_save_IFS | |
| 5813 test -z "$as_dir" && as_dir=. | |
| 5814 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5816 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5818 break 2 | |
| 5819 fi | |
| 5820 done | |
| 5821 done | |
| 5822 IFS=$as_save_IFS | |
| 5823 | |
| 5824 fi | |
| 5825 fi | |
| 5826 STRIP=$ac_cv_prog_STRIP | |
| 5827 if test -n "$STRIP"; then | |
| 5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 5829 $as_echo "$STRIP" >&6; } | |
| 5830 else | |
| 5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5832 $as_echo "no" >&6; } | |
| 5833 fi | |
| 5834 | |
| 5835 | |
| 5836 fi | |
| 5837 if test -z "$ac_cv_prog_STRIP"; then | |
| 5838 ac_ct_STRIP=$STRIP | |
| 5839 # Extract the first word of "strip", so it can be a program name with args. | |
| 5840 set dummy strip; ac_word=$2 | |
| 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5842 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5843 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
| 5844 $as_echo_n "(cached) " >&6 | |
| 5845 else | |
| 5846 if test -n "$ac_ct_STRIP"; then | |
| 5847 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 5848 else | |
| 5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5850 for as_dir in $PATH | |
| 5851 do | |
| 5852 IFS=$as_save_IFS | |
| 5853 test -z "$as_dir" && as_dir=. | |
| 5854 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5856 ac_cv_prog_ac_ct_STRIP="strip" | |
| 5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5858 break 2 | |
| 5859 fi | |
| 5860 done | |
| 5861 done | |
| 5862 IFS=$as_save_IFS | |
| 5863 | |
| 5864 fi | |
| 5865 fi | |
| 5866 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 5867 if test -n "$ac_ct_STRIP"; then | |
| 5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 5869 $as_echo "$ac_ct_STRIP" >&6; } | |
| 5870 else | |
| 5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5872 $as_echo "no" >&6; } | |
| 5873 fi | |
| 5874 | |
| 5875 if test "x$ac_ct_STRIP" = x; then | |
| 5876 STRIP=":" | |
| 5877 else | |
| 5878 case $cross_compiling:$ac_tool_warned in | |
| 5879 yes:) | |
| 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 5881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 5882 ac_tool_warned=yes ;; | |
| 5883 esac | |
| 5884 STRIP=$ac_ct_STRIP | |
| 5885 fi | |
| 5886 else | |
| 5887 STRIP="$ac_cv_prog_STRIP" | |
| 5888 fi | |
| 5889 | |
| 5890 test -z "$STRIP" && STRIP=: | |
| 5891 | |
| 5892 | |
| 5893 | |
| 5894 | |
| 5895 | |
| 5896 | |
| 5897 if test -n "$ac_tool_prefix"; then | |
| 5898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
| 5899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
| 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5901 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5902 if ${ac_cv_prog_RANLIB+:} false; then : | |
| 5903 $as_echo_n "(cached) " >&6 | |
| 5904 else | |
| 5905 if test -n "$RANLIB"; then | |
| 5906 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| 5907 else | |
| 5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5909 for as_dir in $PATH | |
| 5910 do | |
| 5911 IFS=$as_save_IFS | |
| 5912 test -z "$as_dir" && as_dir=. | |
| 5913 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5915 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
| 5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5917 break 2 | |
| 5918 fi | |
| 5919 done | |
| 5920 done | |
| 5921 IFS=$as_save_IFS | |
| 5922 | |
| 5923 fi | |
| 5924 fi | |
| 5925 RANLIB=$ac_cv_prog_RANLIB | |
| 5926 if test -n "$RANLIB"; then | |
| 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
| 5928 $as_echo "$RANLIB" >&6; } | |
| 5929 else | |
| 5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5931 $as_echo "no" >&6; } | |
| 5932 fi | |
| 5933 | |
| 5934 | |
| 5935 fi | |
| 5936 if test -z "$ac_cv_prog_RANLIB"; then | |
| 5937 ac_ct_RANLIB=$RANLIB | |
| 5938 # Extract the first word of "ranlib", so it can be a program name with args. | |
| 5939 set dummy ranlib; ac_word=$2 | |
| 5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 5941 $as_echo_n "checking for $ac_word... " >&6; } | |
| 5942 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | |
| 5943 $as_echo_n "(cached) " >&6 | |
| 5944 else | |
| 5945 if test -n "$ac_ct_RANLIB"; then | |
| 5946 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
| 5947 else | |
| 5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5949 for as_dir in $PATH | |
| 5950 do | |
| 5951 IFS=$as_save_IFS | |
| 5952 test -z "$as_dir" && as_dir=. | |
| 5953 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 5955 ac_cv_prog_ac_ct_RANLIB="ranlib" | |
| 5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 5957 break 2 | |
| 5958 fi | |
| 5959 done | |
| 5960 done | |
| 5961 IFS=$as_save_IFS | |
| 5962 | |
| 5963 fi | |
| 5964 fi | |
| 5965 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
| 5966 if test -n "$ac_ct_RANLIB"; then | |
| 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
| 5968 $as_echo "$ac_ct_RANLIB" >&6; } | |
| 5969 else | |
| 5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 5971 $as_echo "no" >&6; } | |
| 5972 fi | |
| 5973 | |
| 5974 if test "x$ac_ct_RANLIB" = x; then | |
| 5975 RANLIB=":" | |
| 5976 else | |
| 5977 case $cross_compiling:$ac_tool_warned in | |
| 5978 yes:) | |
| 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 5981 ac_tool_warned=yes ;; | |
| 5982 esac | |
| 5983 RANLIB=$ac_ct_RANLIB | |
| 5984 fi | |
| 5985 else | |
| 5986 RANLIB="$ac_cv_prog_RANLIB" | |
| 5987 fi | |
| 5988 | |
| 5989 test -z "$RANLIB" && RANLIB=: | |
| 5990 | |
| 5991 | |
| 5992 | |
| 5993 | |
| 5994 | |
| 5995 | |
| 5996 # Determine commands to create old-style static archives. | |
| 5997 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | |
| 5998 old_postinstall_cmds='chmod 644 $oldlib' | |
| 5999 old_postuninstall_cmds= | |
| 6000 | |
| 6001 if test -n "$RANLIB"; then | |
| 6002 case $host_os in | |
| 6003 openbsd*) | |
| 6004 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | |
| 6005 ;; | |
| 6006 *) | |
| 6007 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | |
| 6008 ;; | |
| 6009 esac | |
| 6010 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | |
| 6011 fi | |
| 6012 | |
| 6013 case $host_os in | |
| 6014 darwin*) | |
| 6015 lock_old_archive_extraction=yes ;; | |
| 6016 *) | |
| 6017 lock_old_archive_extraction=no ;; | |
| 6018 esac | |
| 6019 | |
| 6020 | |
| 6021 | |
| 6022 | |
| 6023 | |
| 6024 | |
| 6025 | |
| 6026 | |
| 6027 | |
| 6028 | |
| 6029 | |
| 6030 | |
| 6031 | |
| 6032 | |
| 6033 | |
| 6034 | |
| 6035 | |
| 6036 | |
| 6037 | |
| 6038 | |
| 6039 | |
| 6040 for ac_prog in gawk mawk nawk awk | |
| 6041 do | |
| 6042 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 6043 set dummy $ac_prog; ac_word=$2 | |
| 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6045 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6046 if ${ac_cv_prog_AWK+:} false; then : | |
| 6047 $as_echo_n "(cached) " >&6 | |
| 6048 else | |
| 6049 if test -n "$AWK"; then | |
| 6050 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| 6051 else | |
| 6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6053 for as_dir in $PATH | |
| 6054 do | |
| 6055 IFS=$as_save_IFS | |
| 6056 test -z "$as_dir" && as_dir=. | |
| 6057 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6059 ac_cv_prog_AWK="$ac_prog" | |
| 6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6061 break 2 | |
| 6062 fi | |
| 6063 done | |
| 6064 done | |
| 6065 IFS=$as_save_IFS | |
| 6066 | |
| 6067 fi | |
| 6068 fi | |
| 6069 AWK=$ac_cv_prog_AWK | |
| 6070 if test -n "$AWK"; then | |
| 6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
| 6072 $as_echo "$AWK" >&6; } | |
| 6073 else | |
| 6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6075 $as_echo "no" >&6; } | |
| 6076 fi | |
| 6077 | |
| 6078 | |
| 6079 test -n "$AWK" && break | |
| 6080 done | |
| 6081 | |
| 6082 | |
| 6083 | |
| 6084 | |
| 6085 | |
| 6086 | |
| 6087 | |
| 6088 | |
| 6089 | |
| 6090 | |
| 6091 | |
| 6092 | |
| 6093 | |
| 6094 | |
| 6095 | |
| 6096 | |
| 6097 | |
| 6098 | |
| 6099 | |
| 6100 # If no C compiler was specified, use CC. | |
| 6101 LTCC=${LTCC-"$CC"} | |
| 6102 | |
| 6103 # If no C compiler flags were specified, use CFLAGS. | |
| 6104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 6105 | |
| 6106 # Allow CC to be a program name with arguments. | |
| 6107 compiler=$CC | |
| 6108 | |
| 6109 | |
| 6110 # Check for command to grab the raw symbol name followed by C symbol from nm. | |
| 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 | |
| 6112 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } | |
| 6113 if ${lt_cv_sys_global_symbol_pipe+:} false; then : | |
| 6114 $as_echo_n "(cached) " >&6 | |
| 6115 else | |
| 6116 | |
| 6117 # These are sane defaults that work on at least a few old systems. | |
| 6118 # [They come from Ultrix. What could be older than Ultrix?!! ;)] | |
| 6119 | |
| 6120 # Character class describing NM global symbol codes. | |
| 6121 symcode='[BCDEGRST]' | |
| 6122 | |
| 6123 # Regexp to match symbols that can be accessed directly from C. | |
| 6124 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | |
| 6125 | |
| 6126 # Define system-specific variables. | |
| 6127 case $host_os in | |
| 6128 aix*) | |
| 6129 symcode='[BCDT]' | |
| 6130 ;; | |
| 6131 cygwin* | mingw* | pw32* | cegcc*) | |
| 6132 symcode='[ABCDGISTW]' | |
| 6133 ;; | |
| 6134 hpux*) | |
| 6135 if test "$host_cpu" = ia64; then | |
| 6136 symcode='[ABCDEGRST]' | |
| 6137 fi | |
| 6138 ;; | |
| 6139 irix* | nonstopux*) | |
| 6140 symcode='[BCDEGRST]' | |
| 6141 ;; | |
| 6142 osf*) | |
| 6143 symcode='[BCDEGQRST]' | |
| 6144 ;; | |
| 6145 solaris*) | |
| 6146 symcode='[BDRT]' | |
| 6147 ;; | |
| 6148 sco3.2v5*) | |
| 6149 symcode='[DT]' | |
| 6150 ;; | |
| 6151 sysv4.2uw2*) | |
| 6152 symcode='[DT]' | |
| 6153 ;; | |
| 6154 sysv5* | sco5v6* | unixware* | OpenUNIX*) | |
| 6155 symcode='[ABDT]' | |
| 6156 ;; | |
| 6157 sysv4) | |
| 6158 symcode='[DFNSTU]' | |
| 6159 ;; | |
| 6160 esac | |
| 6161 | |
| 6162 # If we're using GNU nm, then use its standard symbol codes. | |
| 6163 case `$NM -V 2>&1` in | |
| 6164 *GNU* | *'with BFD'*) | |
| 6165 symcode='[ABCDGIRSTW]' ;; | |
| 6166 esac | |
| 6167 | |
| 6168 # Transform an extracted symbol line into a proper C declaration. | |
| 6169 # Some systems (esp. on ia64) link data and code symbols differently, | |
| 6170 # so use this general approach. | |
| 6171 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
| 6172 | |
| 6173 # Transform an extracted symbol line into symbol name and symbol address | |
| 6174 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" | |
| 6175 lt_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'" | |
| 6176 | |
| 6177 # Handle CRLF in mingw tool chain | |
| 6178 opt_cr= | |
| 6179 case $build_os in | |
| 6180 mingw*) | |
| 6181 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | |
| 6182 ;; | |
| 6183 esac | |
| 6184 | |
| 6185 # Try without a prefix underscore, then with it. | |
| 6186 for ac_symprfx in "" "_"; do | |
| 6187 | |
| 6188 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | |
| 6189 symxfrm="\\1 $ac_symprfx\\2 \\2" | |
| 6190 | |
| 6191 # Write the raw and C identifiers. | |
| 6192 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 6193 # Fake it for dumpbin and say T for any non-static function | |
| 6194 # and D for any global variable. | |
| 6195 # Also find C++ and __fastcall symbols from MSVC++, | |
| 6196 # which start with @ or ?. | |
| 6197 lt_cv_sys_global_symbol_pipe="$AWK '"\ | |
| 6198 " {last_section=section; section=\$ 3};"\ | |
| 6199 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | |
| 6200 " \$ 0!~/External *\|/{next};"\ | |
| 6201 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | |
| 6202 " {if(hide[section]) next};"\ | |
| 6203 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | |
| 6204 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | |
| 6205 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ | |
| 6206 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | |
| 6207 " ' prfx=^$ac_symprfx" | |
| 6208 else | |
| 6209 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | |
| 6210 fi | |
| 6211 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" | |
| 6212 | |
| 6213 # Check to see that the pipe works correctly. | |
| 6214 pipe_works=no | |
| 6215 | |
| 6216 rm -f conftest* | |
| 6217 cat > conftest.$ac_ext <<_LT_EOF | |
| 6218 #ifdef __cplusplus | |
| 6219 extern "C" { | |
| 6220 #endif | |
| 6221 char nm_test_var; | |
| 6222 void nm_test_func(void); | |
| 6223 void nm_test_func(void){} | |
| 6224 #ifdef __cplusplus | |
| 6225 } | |
| 6226 #endif | |
| 6227 int main(){nm_test_var='a';nm_test_func();return(0);} | |
| 6228 _LT_EOF | |
| 6229 | |
| 6230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 6231 (eval $ac_compile) 2>&5 | |
| 6232 ac_status=$? | |
| 6233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6234 test $ac_status = 0; }; then | |
| 6235 # Now try to grab the symbols. | |
| 6236 nlist=conftest.nm | |
| 6237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | |
| 6238 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 | |
| 6239 ac_status=$? | |
| 6240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6241 test $ac_status = 0; } && test -s "$nlist"; then | |
| 6242 # Try sorting and uniquifying the output. | |
| 6243 if sort "$nlist" | uniq > "$nlist"T; then | |
| 6244 mv -f "$nlist"T "$nlist" | |
| 6245 else | |
| 6246 rm -f "$nlist"T | |
| 6247 fi | |
| 6248 | |
| 6249 # Make sure that we snagged all the symbols we need. | |
| 6250 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | |
| 6251 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | |
| 6252 cat <<_LT_EOF > conftest.$ac_ext | |
| 6253 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ | |
| 6254 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) | |
| 6255 /* DATA imports from DLLs on WIN32 con't be const, because runtime | |
| 6256 relocations are performed -- see ld's documentation on pseudo-relocs. */ | |
| 6257 # define LT_DLSYM_CONST | |
| 6258 #elif defined(__osf__) | |
| 6259 /* This system does not cope well with relocations in const data. */ | |
| 6260 # define LT_DLSYM_CONST | |
| 6261 #else | |
| 6262 # define LT_DLSYM_CONST const | |
| 6263 #endif | |
| 6264 | |
| 6265 #ifdef __cplusplus | |
| 6266 extern "C" { | |
| 6267 #endif | |
| 6268 | |
| 6269 _LT_EOF | |
| 6270 # Now generate the symbol file. | |
| 6271 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' | |
| 6272 | |
| 6273 cat <<_LT_EOF >> conftest.$ac_ext | |
| 6274 | |
| 6275 /* The mapping between symbol names and symbols. */ | |
| 6276 LT_DLSYM_CONST struct { | |
| 6277 const char *name; | |
| 6278 void *address; | |
| 6279 } | |
| 6280 lt__PROGRAM__LTX_preloaded_symbols[] = | |
| 6281 { | |
| 6282 { "@PROGRAM@", (void *) 0 }, | |
| 6283 _LT_EOF | |
| 6284 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext | |
| 6285 cat <<\_LT_EOF >> conftest.$ac_ext | |
| 6286 {0, (void *) 0} | |
| 6287 }; | |
| 6288 | |
| 6289 /* This works around a problem in FreeBSD linker */ | |
| 6290 #ifdef FREEBSD_WORKAROUND | |
| 6291 static const void *lt_preloaded_setup() { | |
| 6292 return lt__PROGRAM__LTX_preloaded_symbols; | |
| 6293 } | |
| 6294 #endif | |
| 6295 | |
| 6296 #ifdef __cplusplus | |
| 6297 } | |
| 6298 #endif | |
| 6299 _LT_EOF | |
| 6300 # Now try linking the two files. | |
| 6301 mv conftest.$ac_objext conftstm.$ac_objext | |
| 6302 lt_globsym_save_LIBS=$LIBS | |
| 6303 lt_globsym_save_CFLAGS=$CFLAGS | |
| 6304 LIBS="conftstm.$ac_objext" | |
| 6305 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | |
| 6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 6307 (eval $ac_link) 2>&5 | |
| 6308 ac_status=$? | |
| 6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6310 test $ac_status = 0; } && test -s conftest${ac_exeext}; then | |
| 6311 pipe_works=yes | |
| 6312 fi | |
| 6313 LIBS=$lt_globsym_save_LIBS | |
| 6314 CFLAGS=$lt_globsym_save_CFLAGS | |
| 6315 else | |
| 6316 echo "cannot find nm_test_func in $nlist" >&5 | |
| 6317 fi | |
| 6318 else | |
| 6319 echo "cannot find nm_test_var in $nlist" >&5 | |
| 6320 fi | |
| 6321 else | |
| 6322 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
| 6323 fi | |
| 6324 else | |
| 6325 echo "$progname: failed program was:" >&5 | |
| 6326 cat conftest.$ac_ext >&5 | |
| 6327 fi | |
| 6328 rm -rf conftest* conftst* | |
| 6329 | |
| 6330 # Do not use the global_symbol_pipe unless it works. | |
| 6331 if test "$pipe_works" = yes; then | |
| 6332 break | |
| 6333 else | |
| 6334 lt_cv_sys_global_symbol_pipe= | |
| 6335 fi | |
| 6336 done | |
| 6337 | |
| 6338 fi | |
| 6339 | |
| 6340 if test -z "$lt_cv_sys_global_symbol_pipe"; then | |
| 6341 lt_cv_sys_global_symbol_to_cdecl= | |
| 6342 fi | |
| 6343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | |
| 6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | |
| 6345 $as_echo "failed" >&6; } | |
| 6346 else | |
| 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |
| 6348 $as_echo "ok" >&6; } | |
| 6349 fi | |
| 6350 | |
| 6351 # Response file support. | |
| 6352 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 6353 nm_file_list_spec='@' | |
| 6354 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then | |
| 6355 nm_file_list_spec='@' | |
| 6356 fi | |
| 6357 | |
| 6358 | |
| 6359 | |
| 6360 | |
| 6361 | |
| 6362 | |
| 6363 | |
| 6364 | |
| 6365 | |
| 6366 | |
| 6367 | |
| 6368 | |
| 6369 | |
| 6370 | |
| 6371 | |
| 6372 | |
| 6373 | |
| 6374 | |
| 6375 | |
| 6376 | |
| 6377 | |
| 6378 | |
| 6379 | |
| 6380 | |
| 6381 | |
| 6382 | |
| 6383 | |
| 6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | |
| 6385 $as_echo_n "checking for sysroot... " >&6; } | |
| 6386 | |
| 6387 # Check whether --with-sysroot was given. | |
| 6388 if test "${with_sysroot+set}" = set; then : | |
| 6389 withval=$with_sysroot; | |
| 6390 else | |
| 6391 with_sysroot=no | |
| 6392 fi | |
| 6393 | |
| 6394 | |
| 6395 lt_sysroot= | |
| 6396 case ${with_sysroot} in #( | |
| 6397 yes) | |
| 6398 if test "$GCC" = yes; then | |
| 6399 lt_sysroot=`$CC --print-sysroot 2>/dev/null` | |
| 6400 fi | |
| 6401 ;; #( | |
| 6402 /*) | |
| 6403 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | |
| 6404 ;; #( | |
| 6405 no|'') | |
| 6406 ;; #( | |
| 6407 *) | |
| 6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 | |
| 6409 $as_echo "${with_sysroot}" >&6; } | |
| 6410 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | |
| 6411 ;; | |
| 6412 esac | |
| 6413 | |
| 6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | |
| 6415 $as_echo "${lt_sysroot:-no}" >&6; } | |
| 6416 | |
| 6417 | |
| 6418 | |
| 6419 | |
| 6420 | |
| 6421 # Check whether --enable-libtool-lock was given. | |
| 6422 if test "${enable_libtool_lock+set}" = set; then : | |
| 6423 enableval=$enable_libtool_lock; | |
| 6424 fi | |
| 6425 | |
| 6426 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | |
| 6427 | |
| 6428 # Some flags need to be propagated to the compiler or linker for good | |
| 6429 # libtool support. | |
| 6430 case $host in | |
| 6431 ia64-*-hpux*) | |
| 6432 # Find out which ABI we are using. | |
| 6433 echo 'int i;' > conftest.$ac_ext | |
| 6434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 6435 (eval $ac_compile) 2>&5 | |
| 6436 ac_status=$? | |
| 6437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6438 test $ac_status = 0; }; then | |
| 6439 case `/usr/bin/file conftest.$ac_objext` in | |
| 6440 *ELF-32*) | |
| 6441 HPUX_IA64_MODE="32" | |
| 6442 ;; | |
| 6443 *ELF-64*) | |
| 6444 HPUX_IA64_MODE="64" | |
| 6445 ;; | |
| 6446 esac | |
| 6447 fi | |
| 6448 rm -rf conftest* | |
| 6449 ;; | |
| 6450 *-*-irix6*) | |
| 6451 # Find out which ABI we are using. | |
| 6452 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
| 6453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 6454 (eval $ac_compile) 2>&5 | |
| 6455 ac_status=$? | |
| 6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6457 test $ac_status = 0; }; then | |
| 6458 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 6459 case `/usr/bin/file conftest.$ac_objext` in | |
| 6460 *32-bit*) | |
| 6461 LD="${LD-ld} -melf32bsmip" | |
| 6462 ;; | |
| 6463 *N32*) | |
| 6464 LD="${LD-ld} -melf32bmipn32" | |
| 6465 ;; | |
| 6466 *64-bit*) | |
| 6467 LD="${LD-ld} -melf64bmip" | |
| 6468 ;; | |
| 6469 esac | |
| 6470 else | |
| 6471 case `/usr/bin/file conftest.$ac_objext` in | |
| 6472 *32-bit*) | |
| 6473 LD="${LD-ld} -32" | |
| 6474 ;; | |
| 6475 *N32*) | |
| 6476 LD="${LD-ld} -n32" | |
| 6477 ;; | |
| 6478 *64-bit*) | |
| 6479 LD="${LD-ld} -64" | |
| 6480 ;; | |
| 6481 esac | |
| 6482 fi | |
| 6483 fi | |
| 6484 rm -rf conftest* | |
| 6485 ;; | |
| 6486 | |
| 6487 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | |
| 6488 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | |
| 6489 # Find out which ABI we are using. | |
| 6490 echo 'int i;' > conftest.$ac_ext | |
| 6491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 6492 (eval $ac_compile) 2>&5 | |
| 6493 ac_status=$? | |
| 6494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6495 test $ac_status = 0; }; then | |
| 6496 case `/usr/bin/file conftest.o` in | |
| 6497 *32-bit*) | |
| 6498 case $host in | |
| 6499 x86_64-*kfreebsd*-gnu) | |
| 6500 LD="${LD-ld} -m elf_i386_fbsd" | |
| 6501 ;; | |
| 6502 x86_64-*linux*) | |
| 6503 LD="${LD-ld} -m elf_i386" | |
| 6504 ;; | |
| 6505 ppc64-*linux*|powerpc64-*linux*) | |
| 6506 LD="${LD-ld} -m elf32ppclinux" | |
| 6507 ;; | |
| 6508 s390x-*linux*) | |
| 6509 LD="${LD-ld} -m elf_s390" | |
| 6510 ;; | |
| 6511 sparc64-*linux*) | |
| 6512 LD="${LD-ld} -m elf32_sparc" | |
| 6513 ;; | |
| 6514 esac | |
| 6515 ;; | |
| 6516 *64-bit*) | |
| 6517 case $host in | |
| 6518 x86_64-*kfreebsd*-gnu) | |
| 6519 LD="${LD-ld} -m elf_x86_64_fbsd" | |
| 6520 ;; | |
| 6521 x86_64-*linux*) | |
| 6522 LD="${LD-ld} -m elf_x86_64" | |
| 6523 ;; | |
| 6524 ppc*-*linux*|powerpc*-*linux*) | |
| 6525 LD="${LD-ld} -m elf64ppc" | |
| 6526 ;; | |
| 6527 s390*-*linux*|s390*-*tpf*) | |
| 6528 LD="${LD-ld} -m elf64_s390" | |
| 6529 ;; | |
| 6530 sparc*-*linux*) | |
| 6531 LD="${LD-ld} -m elf64_sparc" | |
| 6532 ;; | |
| 6533 esac | |
| 6534 ;; | |
| 6535 esac | |
| 6536 fi | |
| 6537 rm -rf conftest* | |
| 6538 ;; | |
| 6539 | |
| 6540 *-*-sco3.2v5*) | |
| 6541 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
| 6542 SAVE_CFLAGS="$CFLAGS" | |
| 6543 CFLAGS="$CFLAGS -belf" | |
| 6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 | |
| 6545 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | |
| 6546 if ${lt_cv_cc_needs_belf+:} false; then : | |
| 6547 $as_echo_n "(cached) " >&6 | |
| 6548 else | |
| 6549 ac_ext=c | |
| 6550 ac_cpp='$CPP $CPPFLAGS' | |
| 6551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 6552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 6553 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 6554 | |
| 6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 6556 /* end confdefs.h. */ | |
| 6557 | |
| 6558 int | |
| 6559 main () | |
| 6560 { | |
| 6561 | |
| 6562 ; | |
| 6563 return 0; | |
| 6564 } | |
| 6565 _ACEOF | |
| 6566 if ac_fn_c_try_link "$LINENO"; then : | |
| 6567 lt_cv_cc_needs_belf=yes | |
| 6568 else | |
| 6569 lt_cv_cc_needs_belf=no | |
| 6570 fi | |
| 6571 rm -f core conftest.err conftest.$ac_objext \ | |
| 6572 conftest$ac_exeext conftest.$ac_ext | |
| 6573 ac_ext=c | |
| 6574 ac_cpp='$CPP $CPPFLAGS' | |
| 6575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 6576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 6577 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 6578 | |
| 6579 fi | |
| 6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | |
| 6581 $as_echo "$lt_cv_cc_needs_belf" >&6; } | |
| 6582 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | |
| 6583 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
| 6584 CFLAGS="$SAVE_CFLAGS" | |
| 6585 fi | |
| 6586 ;; | |
| 6587 sparc*-*solaris*) | |
| 6588 # Find out which ABI we are using. | |
| 6589 echo 'int i;' > conftest.$ac_ext | |
| 6590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 6591 (eval $ac_compile) 2>&5 | |
| 6592 ac_status=$? | |
| 6593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 6594 test $ac_status = 0; }; then | |
| 6595 case `/usr/bin/file conftest.o` in | |
| 6596 *64-bit*) | |
| 6597 case $lt_cv_prog_gnu_ld in | |
| 6598 yes*) LD="${LD-ld} -m elf64_sparc" ;; | |
| 6599 *) | |
| 6600 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | |
| 6601 LD="${LD-ld} -64" | |
| 6602 fi | |
| 6603 ;; | |
| 6604 esac | |
| 6605 ;; | |
| 6606 esac | |
| 6607 fi | |
| 6608 rm -rf conftest* | |
| 6609 ;; | |
| 6610 esac | |
| 6611 | |
| 6612 need_locks="$enable_libtool_lock" | |
| 6613 | |
| 6614 if test -n "$ac_tool_prefix"; then | |
| 6615 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. | |
| 6616 set dummy ${ac_tool_prefix}mt; ac_word=$2 | |
| 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6618 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6619 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | |
| 6620 $as_echo_n "(cached) " >&6 | |
| 6621 else | |
| 6622 if test -n "$MANIFEST_TOOL"; then | |
| 6623 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. | |
| 6624 else | |
| 6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6626 for as_dir in $PATH | |
| 6627 do | |
| 6628 IFS=$as_save_IFS | |
| 6629 test -z "$as_dir" && as_dir=. | |
| 6630 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6632 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" | |
| 6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6634 break 2 | |
| 6635 fi | |
| 6636 done | |
| 6637 done | |
| 6638 IFS=$as_save_IFS | |
| 6639 | |
| 6640 fi | |
| 6641 fi | |
| 6642 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL | |
| 6643 if test -n "$MANIFEST_TOOL"; then | |
| 6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 | |
| 6645 $as_echo "$MANIFEST_TOOL" >&6; } | |
| 6646 else | |
| 6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6648 $as_echo "no" >&6; } | |
| 6649 fi | |
| 6650 | |
| 6651 | |
| 6652 fi | |
| 6653 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then | |
| 6654 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL | |
| 6655 # Extract the first word of "mt", so it can be a program name with args. | |
| 6656 set dummy mt; ac_word=$2 | |
| 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6658 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6659 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : | |
| 6660 $as_echo_n "(cached) " >&6 | |
| 6661 else | |
| 6662 if test -n "$ac_ct_MANIFEST_TOOL"; then | |
| 6663 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. | |
| 6664 else | |
| 6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6666 for as_dir in $PATH | |
| 6667 do | |
| 6668 IFS=$as_save_IFS | |
| 6669 test -z "$as_dir" && as_dir=. | |
| 6670 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6672 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" | |
| 6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6674 break 2 | |
| 6675 fi | |
| 6676 done | |
| 6677 done | |
| 6678 IFS=$as_save_IFS | |
| 6679 | |
| 6680 fi | |
| 6681 fi | |
| 6682 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL | |
| 6683 if test -n "$ac_ct_MANIFEST_TOOL"; then | |
| 6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 | |
| 6685 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } | |
| 6686 else | |
| 6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6688 $as_echo "no" >&6; } | |
| 6689 fi | |
| 6690 | |
| 6691 if test "x$ac_ct_MANIFEST_TOOL" = x; then | |
| 6692 MANIFEST_TOOL=":" | |
| 6693 else | |
| 6694 case $cross_compiling:$ac_tool_warned in | |
| 6695 yes:) | |
| 6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 6698 ac_tool_warned=yes ;; | |
| 6699 esac | |
| 6700 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL | |
| 6701 fi | |
| 6702 else | |
| 6703 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" | |
| 6704 fi | |
| 6705 | |
| 6706 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | |
| 6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 | |
| 6708 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } | |
| 6709 if ${lt_cv_path_mainfest_tool+:} false; then : | |
| 6710 $as_echo_n "(cached) " >&6 | |
| 6711 else | |
| 6712 lt_cv_path_mainfest_tool=no | |
| 6713 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | |
| 6714 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | |
| 6715 cat conftest.err >&5 | |
| 6716 if $GREP 'Manifest Tool' conftest.out > /dev/null; then | |
| 6717 lt_cv_path_mainfest_tool=yes | |
| 6718 fi | |
| 6719 rm -f conftest* | |
| 6720 fi | |
| 6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | |
| 6722 $as_echo "$lt_cv_path_mainfest_tool" >&6; } | |
| 6723 if test "x$lt_cv_path_mainfest_tool" != xyes; then | |
| 6724 MANIFEST_TOOL=: | |
| 6725 fi | |
| 6726 | |
| 6727 | |
| 6728 | |
| 6729 | |
| 6730 | |
| 6731 | |
| 6732 case $host_os in | |
| 6733 rhapsody* | darwin*) | |
| 6734 if test -n "$ac_tool_prefix"; then | |
| 6735 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. | |
| 6736 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | |
| 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6738 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6739 if ${ac_cv_prog_DSYMUTIL+:} false; then : | |
| 6740 $as_echo_n "(cached) " >&6 | |
| 6741 else | |
| 6742 if test -n "$DSYMUTIL"; then | |
| 6743 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | |
| 6744 else | |
| 6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6746 for as_dir in $PATH | |
| 6747 do | |
| 6748 IFS=$as_save_IFS | |
| 6749 test -z "$as_dir" && as_dir=. | |
| 6750 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6752 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | |
| 6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6754 break 2 | |
| 6755 fi | |
| 6756 done | |
| 6757 done | |
| 6758 IFS=$as_save_IFS | |
| 6759 | |
| 6760 fi | |
| 6761 fi | |
| 6762 DSYMUTIL=$ac_cv_prog_DSYMUTIL | |
| 6763 if test -n "$DSYMUTIL"; then | |
| 6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | |
| 6765 $as_echo "$DSYMUTIL" >&6; } | |
| 6766 else | |
| 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6768 $as_echo "no" >&6; } | |
| 6769 fi | |
| 6770 | |
| 6771 | |
| 6772 fi | |
| 6773 if test -z "$ac_cv_prog_DSYMUTIL"; then | |
| 6774 ac_ct_DSYMUTIL=$DSYMUTIL | |
| 6775 # Extract the first word of "dsymutil", so it can be a program name with args. | |
| 6776 set dummy dsymutil; ac_word=$2 | |
| 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6778 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6779 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : | |
| 6780 $as_echo_n "(cached) " >&6 | |
| 6781 else | |
| 6782 if test -n "$ac_ct_DSYMUTIL"; then | |
| 6783 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | |
| 6784 else | |
| 6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6786 for as_dir in $PATH | |
| 6787 do | |
| 6788 IFS=$as_save_IFS | |
| 6789 test -z "$as_dir" && as_dir=. | |
| 6790 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6792 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | |
| 6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6794 break 2 | |
| 6795 fi | |
| 6796 done | |
| 6797 done | |
| 6798 IFS=$as_save_IFS | |
| 6799 | |
| 6800 fi | |
| 6801 fi | |
| 6802 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | |
| 6803 if test -n "$ac_ct_DSYMUTIL"; then | |
| 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | |
| 6805 $as_echo "$ac_ct_DSYMUTIL" >&6; } | |
| 6806 else | |
| 6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6808 $as_echo "no" >&6; } | |
| 6809 fi | |
| 6810 | |
| 6811 if test "x$ac_ct_DSYMUTIL" = x; then | |
| 6812 DSYMUTIL=":" | |
| 6813 else | |
| 6814 case $cross_compiling:$ac_tool_warned in | |
| 6815 yes:) | |
| 6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 6818 ac_tool_warned=yes ;; | |
| 6819 esac | |
| 6820 DSYMUTIL=$ac_ct_DSYMUTIL | |
| 6821 fi | |
| 6822 else | |
| 6823 DSYMUTIL="$ac_cv_prog_DSYMUTIL" | |
| 6824 fi | |
| 6825 | |
| 6826 if test -n "$ac_tool_prefix"; then | |
| 6827 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. | |
| 6828 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | |
| 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6830 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6831 if ${ac_cv_prog_NMEDIT+:} false; then : | |
| 6832 $as_echo_n "(cached) " >&6 | |
| 6833 else | |
| 6834 if test -n "$NMEDIT"; then | |
| 6835 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | |
| 6836 else | |
| 6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6838 for as_dir in $PATH | |
| 6839 do | |
| 6840 IFS=$as_save_IFS | |
| 6841 test -z "$as_dir" && as_dir=. | |
| 6842 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6844 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | |
| 6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6846 break 2 | |
| 6847 fi | |
| 6848 done | |
| 6849 done | |
| 6850 IFS=$as_save_IFS | |
| 6851 | |
| 6852 fi | |
| 6853 fi | |
| 6854 NMEDIT=$ac_cv_prog_NMEDIT | |
| 6855 if test -n "$NMEDIT"; then | |
| 6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | |
| 6857 $as_echo "$NMEDIT" >&6; } | |
| 6858 else | |
| 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6860 $as_echo "no" >&6; } | |
| 6861 fi | |
| 6862 | |
| 6863 | |
| 6864 fi | |
| 6865 if test -z "$ac_cv_prog_NMEDIT"; then | |
| 6866 ac_ct_NMEDIT=$NMEDIT | |
| 6867 # Extract the first word of "nmedit", so it can be a program name with args. | |
| 6868 set dummy nmedit; ac_word=$2 | |
| 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6870 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6871 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : | |
| 6872 $as_echo_n "(cached) " >&6 | |
| 6873 else | |
| 6874 if test -n "$ac_ct_NMEDIT"; then | |
| 6875 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | |
| 6876 else | |
| 6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6878 for as_dir in $PATH | |
| 6879 do | |
| 6880 IFS=$as_save_IFS | |
| 6881 test -z "$as_dir" && as_dir=. | |
| 6882 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6884 ac_cv_prog_ac_ct_NMEDIT="nmedit" | |
| 6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6886 break 2 | |
| 6887 fi | |
| 6888 done | |
| 6889 done | |
| 6890 IFS=$as_save_IFS | |
| 6891 | |
| 6892 fi | |
| 6893 fi | |
| 6894 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | |
| 6895 if test -n "$ac_ct_NMEDIT"; then | |
| 6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | |
| 6897 $as_echo "$ac_ct_NMEDIT" >&6; } | |
| 6898 else | |
| 6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6900 $as_echo "no" >&6; } | |
| 6901 fi | |
| 6902 | |
| 6903 if test "x$ac_ct_NMEDIT" = x; then | |
| 6904 NMEDIT=":" | |
| 6905 else | |
| 6906 case $cross_compiling:$ac_tool_warned in | |
| 6907 yes:) | |
| 6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 6910 ac_tool_warned=yes ;; | |
| 6911 esac | |
| 6912 NMEDIT=$ac_ct_NMEDIT | |
| 6913 fi | |
| 6914 else | |
| 6915 NMEDIT="$ac_cv_prog_NMEDIT" | |
| 6916 fi | |
| 6917 | |
| 6918 if test -n "$ac_tool_prefix"; then | |
| 6919 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. | |
| 6920 set dummy ${ac_tool_prefix}lipo; ac_word=$2 | |
| 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6922 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6923 if ${ac_cv_prog_LIPO+:} false; then : | |
| 6924 $as_echo_n "(cached) " >&6 | |
| 6925 else | |
| 6926 if test -n "$LIPO"; then | |
| 6927 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | |
| 6928 else | |
| 6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6930 for as_dir in $PATH | |
| 6931 do | |
| 6932 IFS=$as_save_IFS | |
| 6933 test -z "$as_dir" && as_dir=. | |
| 6934 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6936 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | |
| 6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6938 break 2 | |
| 6939 fi | |
| 6940 done | |
| 6941 done | |
| 6942 IFS=$as_save_IFS | |
| 6943 | |
| 6944 fi | |
| 6945 fi | |
| 6946 LIPO=$ac_cv_prog_LIPO | |
| 6947 if test -n "$LIPO"; then | |
| 6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | |
| 6949 $as_echo "$LIPO" >&6; } | |
| 6950 else | |
| 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6952 $as_echo "no" >&6; } | |
| 6953 fi | |
| 6954 | |
| 6955 | |
| 6956 fi | |
| 6957 if test -z "$ac_cv_prog_LIPO"; then | |
| 6958 ac_ct_LIPO=$LIPO | |
| 6959 # Extract the first word of "lipo", so it can be a program name with args. | |
| 6960 set dummy lipo; ac_word=$2 | |
| 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 6962 $as_echo_n "checking for $ac_word... " >&6; } | |
| 6963 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : | |
| 6964 $as_echo_n "(cached) " >&6 | |
| 6965 else | |
| 6966 if test -n "$ac_ct_LIPO"; then | |
| 6967 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | |
| 6968 else | |
| 6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 6970 for as_dir in $PATH | |
| 6971 do | |
| 6972 IFS=$as_save_IFS | |
| 6973 test -z "$as_dir" && as_dir=. | |
| 6974 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 6975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 6976 ac_cv_prog_ac_ct_LIPO="lipo" | |
| 6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 6978 break 2 | |
| 6979 fi | |
| 6980 done | |
| 6981 done | |
| 6982 IFS=$as_save_IFS | |
| 6983 | |
| 6984 fi | |
| 6985 fi | |
| 6986 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | |
| 6987 if test -n "$ac_ct_LIPO"; then | |
| 6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | |
| 6989 $as_echo "$ac_ct_LIPO" >&6; } | |
| 6990 else | |
| 6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 6992 $as_echo "no" >&6; } | |
| 6993 fi | |
| 6994 | |
| 6995 if test "x$ac_ct_LIPO" = x; then | |
| 6996 LIPO=":" | |
| 6997 else | |
| 6998 case $cross_compiling:$ac_tool_warned in | |
| 6999 yes:) | |
| 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 7002 ac_tool_warned=yes ;; | |
| 7003 esac | |
| 7004 LIPO=$ac_ct_LIPO | |
| 7005 fi | |
| 7006 else | |
| 7007 LIPO="$ac_cv_prog_LIPO" | |
| 7008 fi | |
| 7009 | |
| 7010 if test -n "$ac_tool_prefix"; then | |
| 7011 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. | |
| 7012 set dummy ${ac_tool_prefix}otool; ac_word=$2 | |
| 7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7014 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7015 if ${ac_cv_prog_OTOOL+:} false; then : | |
| 7016 $as_echo_n "(cached) " >&6 | |
| 7017 else | |
| 7018 if test -n "$OTOOL"; then | |
| 7019 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | |
| 7020 else | |
| 7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7022 for as_dir in $PATH | |
| 7023 do | |
| 7024 IFS=$as_save_IFS | |
| 7025 test -z "$as_dir" && as_dir=. | |
| 7026 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 7028 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | |
| 7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 7030 break 2 | |
| 7031 fi | |
| 7032 done | |
| 7033 done | |
| 7034 IFS=$as_save_IFS | |
| 7035 | |
| 7036 fi | |
| 7037 fi | |
| 7038 OTOOL=$ac_cv_prog_OTOOL | |
| 7039 if test -n "$OTOOL"; then | |
| 7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | |
| 7041 $as_echo "$OTOOL" >&6; } | |
| 7042 else | |
| 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7044 $as_echo "no" >&6; } | |
| 7045 fi | |
| 7046 | |
| 7047 | |
| 7048 fi | |
| 7049 if test -z "$ac_cv_prog_OTOOL"; then | |
| 7050 ac_ct_OTOOL=$OTOOL | |
| 7051 # Extract the first word of "otool", so it can be a program name with args. | |
| 7052 set dummy otool; ac_word=$2 | |
| 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7054 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7055 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : | |
| 7056 $as_echo_n "(cached) " >&6 | |
| 7057 else | |
| 7058 if test -n "$ac_ct_OTOOL"; then | |
| 7059 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | |
| 7060 else | |
| 7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7062 for as_dir in $PATH | |
| 7063 do | |
| 7064 IFS=$as_save_IFS | |
| 7065 test -z "$as_dir" && as_dir=. | |
| 7066 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 7068 ac_cv_prog_ac_ct_OTOOL="otool" | |
| 7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 7070 break 2 | |
| 7071 fi | |
| 7072 done | |
| 7073 done | |
| 7074 IFS=$as_save_IFS | |
| 7075 | |
| 7076 fi | |
| 7077 fi | |
| 7078 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | |
| 7079 if test -n "$ac_ct_OTOOL"; then | |
| 7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | |
| 7081 $as_echo "$ac_ct_OTOOL" >&6; } | |
| 7082 else | |
| 7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7084 $as_echo "no" >&6; } | |
| 7085 fi | |
| 7086 | |
| 7087 if test "x$ac_ct_OTOOL" = x; then | |
| 7088 OTOOL=":" | |
| 7089 else | |
| 7090 case $cross_compiling:$ac_tool_warned in | |
| 7091 yes:) | |
| 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 7094 ac_tool_warned=yes ;; | |
| 7095 esac | |
| 7096 OTOOL=$ac_ct_OTOOL | |
| 7097 fi | |
| 7098 else | |
| 7099 OTOOL="$ac_cv_prog_OTOOL" | |
| 7100 fi | |
| 7101 | |
| 7102 if test -n "$ac_tool_prefix"; then | |
| 7103 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. | |
| 7104 set dummy ${ac_tool_prefix}otool64; ac_word=$2 | |
| 7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7106 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7107 if ${ac_cv_prog_OTOOL64+:} false; then : | |
| 7108 $as_echo_n "(cached) " >&6 | |
| 7109 else | |
| 7110 if test -n "$OTOOL64"; then | |
| 7111 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | |
| 7112 else | |
| 7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7114 for as_dir in $PATH | |
| 7115 do | |
| 7116 IFS=$as_save_IFS | |
| 7117 test -z "$as_dir" && as_dir=. | |
| 7118 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 7120 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | |
| 7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 7122 break 2 | |
| 7123 fi | |
| 7124 done | |
| 7125 done | |
| 7126 IFS=$as_save_IFS | |
| 7127 | |
| 7128 fi | |
| 7129 fi | |
| 7130 OTOOL64=$ac_cv_prog_OTOOL64 | |
| 7131 if test -n "$OTOOL64"; then | |
| 7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | |
| 7133 $as_echo "$OTOOL64" >&6; } | |
| 7134 else | |
| 7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7136 $as_echo "no" >&6; } | |
| 7137 fi | |
| 7138 | |
| 7139 | |
| 7140 fi | |
| 7141 if test -z "$ac_cv_prog_OTOOL64"; then | |
| 7142 ac_ct_OTOOL64=$OTOOL64 | |
| 7143 # Extract the first word of "otool64", so it can be a program name with args. | |
| 7144 set dummy otool64; ac_word=$2 | |
| 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 7146 $as_echo_n "checking for $ac_word... " >&6; } | |
| 7147 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : | |
| 7148 $as_echo_n "(cached) " >&6 | |
| 7149 else | |
| 7150 if test -n "$ac_ct_OTOOL64"; then | |
| 7151 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | |
| 7152 else | |
| 7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7154 for as_dir in $PATH | |
| 7155 do | |
| 7156 IFS=$as_save_IFS | |
| 7157 test -z "$as_dir" && as_dir=. | |
| 7158 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 7160 ac_cv_prog_ac_ct_OTOOL64="otool64" | |
| 7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 7162 break 2 | |
| 7163 fi | |
| 7164 done | |
| 7165 done | |
| 7166 IFS=$as_save_IFS | |
| 7167 | |
| 7168 fi | |
| 7169 fi | |
| 7170 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | |
| 7171 if test -n "$ac_ct_OTOOL64"; then | |
| 7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | |
| 7173 $as_echo "$ac_ct_OTOOL64" >&6; } | |
| 7174 else | |
| 7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7176 $as_echo "no" >&6; } | |
| 7177 fi | |
| 7178 | |
| 7179 if test "x$ac_ct_OTOOL64" = x; then | |
| 7180 OTOOL64=":" | |
| 7181 else | |
| 7182 case $cross_compiling:$ac_tool_warned in | |
| 7183 yes:) | |
| 7184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 7185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 7186 ac_tool_warned=yes ;; | |
| 7187 esac | |
| 7188 OTOOL64=$ac_ct_OTOOL64 | |
| 7189 fi | |
| 7190 else | |
| 7191 OTOOL64="$ac_cv_prog_OTOOL64" | |
| 7192 fi | |
| 7193 | |
| 7194 | |
| 7195 | |
| 7196 | |
| 7197 | |
| 7198 | |
| 7199 | |
| 7200 | |
| 7201 | |
| 7202 | |
| 7203 | |
| 7204 | |
| 7205 | |
| 7206 | |
| 7207 | |
| 7208 | |
| 7209 | |
| 7210 | |
| 7211 | |
| 7212 | |
| 7213 | |
| 7214 | |
| 7215 | |
| 7216 | |
| 7217 | |
| 7218 | |
| 7219 | |
| 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 | |
| 7221 $as_echo_n "checking for -single_module linker flag... " >&6; } | |
| 7222 if ${lt_cv_apple_cc_single_mod+:} false; then : | |
| 7223 $as_echo_n "(cached) " >&6 | |
| 7224 else | |
| 7225 lt_cv_apple_cc_single_mod=no | |
| 7226 if test -z "${LT_MULTI_MODULE}"; then | |
| 7227 # By default we will add the -single_module flag. You can override | |
| 7228 # by either setting the environment variable LT_MULTI_MODULE | |
| 7229 # non-empty at configure time, or by adding -multi_module to the | |
| 7230 # link flags. | |
| 7231 rm -rf libconftest.dylib* | |
| 7232 echo "int foo(void){return 1;}" > conftest.c | |
| 7233 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 7234 -dynamiclib -Wl,-single_module conftest.c" >&5 | |
| 7235 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
| 7236 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | |
| 7237 _lt_result=$? | |
| 7238 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | |
| 7239 lt_cv_apple_cc_single_mod=yes | |
| 7240 else | |
| 7241 cat conftest.err >&5 | |
| 7242 fi | |
| 7243 rm -rf libconftest.dylib* | |
| 7244 rm -f conftest.* | |
| 7245 fi | |
| 7246 fi | |
| 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | |
| 7248 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | |
| 7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 | |
| 7250 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | |
| 7251 if ${lt_cv_ld_exported_symbols_list+:} false; then : | |
| 7252 $as_echo_n "(cached) " >&6 | |
| 7253 else | |
| 7254 lt_cv_ld_exported_symbols_list=no | |
| 7255 save_LDFLAGS=$LDFLAGS | |
| 7256 echo "_main" > conftest.sym | |
| 7257 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | |
| 7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7259 /* end confdefs.h. */ | |
| 7260 | |
| 7261 int | |
| 7262 main () | |
| 7263 { | |
| 7264 | |
| 7265 ; | |
| 7266 return 0; | |
| 7267 } | |
| 7268 _ACEOF | |
| 7269 if ac_fn_c_try_link "$LINENO"; then : | |
| 7270 lt_cv_ld_exported_symbols_list=yes | |
| 7271 else | |
| 7272 lt_cv_ld_exported_symbols_list=no | |
| 7273 fi | |
| 7274 rm -f core conftest.err conftest.$ac_objext \ | |
| 7275 conftest$ac_exeext conftest.$ac_ext | |
| 7276 LDFLAGS="$save_LDFLAGS" | |
| 7277 | |
| 7278 fi | |
| 7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 | |
| 7280 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | |
| 7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 | |
| 7282 $as_echo_n "checking for -force_load linker flag... " >&6; } | |
| 7283 if ${lt_cv_ld_force_load+:} false; then : | |
| 7284 $as_echo_n "(cached) " >&6 | |
| 7285 else | |
| 7286 lt_cv_ld_force_load=no | |
| 7287 cat > conftest.c << _LT_EOF | |
| 7288 int forced_loaded() { return 2;} | |
| 7289 _LT_EOF | |
| 7290 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | |
| 7291 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | |
| 7292 echo "$AR cru libconftest.a conftest.o" >&5 | |
| 7293 $AR cru libconftest.a conftest.o 2>&5 | |
| 7294 echo "$RANLIB libconftest.a" >&5 | |
| 7295 $RANLIB libconftest.a 2>&5 | |
| 7296 cat > conftest.c << _LT_EOF | |
| 7297 int main() { return 0;} | |
| 7298 _LT_EOF | |
| 7299 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 | |
| 7300 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err | |
| 7301 _lt_result=$? | |
| 7302 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | |
| 7303 lt_cv_ld_force_load=yes | |
| 7304 else | |
| 7305 cat conftest.err >&5 | |
| 7306 fi | |
| 7307 rm -f conftest.err libconftest.a conftest conftest.c | |
| 7308 rm -rf conftest.dSYM | |
| 7309 | |
| 7310 fi | |
| 7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | |
| 7312 $as_echo "$lt_cv_ld_force_load" >&6; } | |
| 7313 case $host_os in | |
| 7314 rhapsody* | darwin1.[012]) | |
| 7315 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | |
| 7316 darwin1.*) | |
| 7317 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | |
| 7318 darwin*) # darwin 5.x on | |
| 7319 # if running on 10.5 or later, the deployment target defaults | |
| 7320 # to the OS version, if on x86, and 10.4, the deployment | |
| 7321 # target defaults to 10.4. Don't you love it? | |
| 7322 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | |
| 7323 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
| 7324 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 7325 10.[012]*) | |
| 7326 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | |
| 7327 10.*) | |
| 7328 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | |
| 7329 esac | |
| 7330 ;; | |
| 7331 esac | |
| 7332 if test "$lt_cv_apple_cc_single_mod" = "yes"; then | |
| 7333 _lt_dar_single_mod='$single_module' | |
| 7334 fi | |
| 7335 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | |
| 7336 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' | |
| 7337 else | |
| 7338 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
| 7339 fi | |
| 7340 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | |
| 7341 _lt_dsymutil='~$DSYMUTIL $lib || :' | |
| 7342 else | |
| 7343 _lt_dsymutil= | |
| 7344 fi | |
| 7345 ;; | |
| 7346 esac | |
| 7347 | |
| 7348 ac_ext=c | |
| 7349 ac_cpp='$CPP $CPPFLAGS' | |
| 7350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 7351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 7352 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
| 7354 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 7355 # On Suns, sometimes $CPP names a directory. | |
| 7356 if test -n "$CPP" && test -d "$CPP"; then | |
| 7357 CPP= | |
| 7358 fi | |
| 7359 if test -z "$CPP"; then | |
| 7360 if ${ac_cv_prog_CPP+:} false; then : | |
| 7361 $as_echo_n "(cached) " >&6 | |
| 7362 else | |
| 7363 # Double quotes because CPP needs to be expanded | |
| 7364 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 7365 do | |
| 7366 ac_preproc_ok=false | |
| 7367 for ac_c_preproc_warn_flag in '' yes | |
| 7368 do | |
| 7369 # Use a header file that comes with gcc, so configuring glibc | |
| 7370 # with a fresh cross-compiler works. | |
| 7371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 7372 # <limits.h> exists even on freestanding compilers. | |
| 7373 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 7374 # not just through cpp. "Syntax error" is here to catch this case. | |
| 7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7376 /* end confdefs.h. */ | |
| 7377 #ifdef __STDC__ | |
| 7378 # include <limits.h> | |
| 7379 #else | |
| 7380 # include <assert.h> | |
| 7381 #endif | |
| 7382 Syntax error | |
| 7383 _ACEOF | |
| 7384 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 7385 | |
| 7386 else | |
| 7387 # Broken: fails on valid input. | |
| 7388 continue | |
| 7389 fi | |
| 7390 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 7391 | |
| 7392 # OK, works on sane cases. Now check whether nonexistent headers | |
| 7393 # can be detected and how. | |
| 7394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7395 /* end confdefs.h. */ | |
| 7396 #include <ac_nonexistent.h> | |
| 7397 _ACEOF | |
| 7398 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 7399 # Broken: success on invalid input. | |
| 7400 continue | |
| 7401 else | |
| 7402 # Passes both tests. | |
| 7403 ac_preproc_ok=: | |
| 7404 break | |
| 7405 fi | |
| 7406 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 7407 | |
| 7408 done | |
| 7409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 7410 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 7411 if $ac_preproc_ok; then : | |
| 7412 break | |
| 7413 fi | |
| 7414 | |
| 7415 done | |
| 7416 ac_cv_prog_CPP=$CPP | |
| 7417 | |
| 7418 fi | |
| 7419 CPP=$ac_cv_prog_CPP | |
| 7420 else | |
| 7421 ac_cv_prog_CPP=$CPP | |
| 7422 fi | |
| 7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 7424 $as_echo "$CPP" >&6; } | |
| 7425 ac_preproc_ok=false | |
| 7426 for ac_c_preproc_warn_flag in '' yes | |
| 7427 do | |
| 7428 # Use a header file that comes with gcc, so configuring glibc | |
| 7429 # with a fresh cross-compiler works. | |
| 7430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 7431 # <limits.h> exists even on freestanding compilers. | |
| 7432 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 7433 # not just through cpp. "Syntax error" is here to catch this case. | |
| 7434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7435 /* end confdefs.h. */ | |
| 7436 #ifdef __STDC__ | |
| 7437 # include <limits.h> | |
| 7438 #else | |
| 7439 # include <assert.h> | |
| 7440 #endif | |
| 7441 Syntax error | |
| 7442 _ACEOF | |
| 7443 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 7444 | |
| 7445 else | |
| 7446 # Broken: fails on valid input. | |
| 7447 continue | |
| 7448 fi | |
| 7449 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 7450 | |
| 7451 # OK, works on sane cases. Now check whether nonexistent headers | |
| 7452 # can be detected and how. | |
| 7453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7454 /* end confdefs.h. */ | |
| 7455 #include <ac_nonexistent.h> | |
| 7456 _ACEOF | |
| 7457 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 7458 # Broken: success on invalid input. | |
| 7459 continue | |
| 7460 else | |
| 7461 # Passes both tests. | |
| 7462 ac_preproc_ok=: | |
| 7463 break | |
| 7464 fi | |
| 7465 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 7466 | |
| 7467 done | |
| 7468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 7469 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 7470 if $ac_preproc_ok; then : | |
| 7471 | |
| 7472 else | |
| 7473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 7474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 7475 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 7476 See \`config.log' for more details" "$LINENO" 5; } | |
| 7477 fi | |
| 7478 | |
| 7479 ac_ext=c | |
| 7480 ac_cpp='$CPP $CPPFLAGS' | |
| 7481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 7482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 7483 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 7484 | |
| 7485 | |
| 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 7487 $as_echo_n "checking for ANSI C header files... " >&6; } | |
| 7488 if ${ac_cv_header_stdc+:} false; then : | |
| 7489 $as_echo_n "(cached) " >&6 | |
| 7490 else | |
| 7491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7492 /* end confdefs.h. */ | |
| 7493 #include <stdlib.h> | |
| 7494 #include <stdarg.h> | |
| 7495 #include <string.h> | |
| 7496 #include <float.h> | |
| 7497 | |
| 7498 int | |
| 7499 main () | |
| 7500 { | |
| 7501 | |
| 7502 ; | |
| 7503 return 0; | |
| 7504 } | |
| 7505 _ACEOF | |
| 7506 if ac_fn_c_try_compile "$LINENO"; then : | |
| 7507 ac_cv_header_stdc=yes | |
| 7508 else | |
| 7509 ac_cv_header_stdc=no | |
| 7510 fi | |
| 7511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 7512 | |
| 7513 if test $ac_cv_header_stdc = yes; then | |
| 7514 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7516 /* end confdefs.h. */ | |
| 7517 #include <string.h> | |
| 7518 | |
| 7519 _ACEOF | |
| 7520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 7521 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 7522 | |
| 7523 else | |
| 7524 ac_cv_header_stdc=no | |
| 7525 fi | |
| 7526 rm -f conftest* | |
| 7527 | |
| 7528 fi | |
| 7529 | |
| 7530 if test $ac_cv_header_stdc = yes; then | |
| 7531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 7532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7533 /* end confdefs.h. */ | |
| 7534 #include <stdlib.h> | |
| 7535 | |
| 7536 _ACEOF | |
| 7537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 7538 $EGREP "free" >/dev/null 2>&1; then : | |
| 7539 | |
| 7540 else | |
| 7541 ac_cv_header_stdc=no | |
| 7542 fi | |
| 7543 rm -f conftest* | |
| 7544 | |
| 7545 fi | |
| 7546 | |
| 7547 if test $ac_cv_header_stdc = yes; then | |
| 7548 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 7549 if test "$cross_compiling" = yes; then : | |
| 7550 : | |
| 7551 else | |
| 7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 7553 /* end confdefs.h. */ | |
| 7554 #include <ctype.h> | |
| 7555 #include <stdlib.h> | |
| 7556 #if ((' ' & 0x0FF) == 0x020) | |
| 7557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 7558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 7559 #else | |
| 7560 # define ISLOWER(c) \ | |
| 7561 (('a' <= (c) && (c) <= 'i') \ | |
| 7562 || ('j' <= (c) && (c) <= 'r') \ | |
| 7563 || ('s' <= (c) && (c) <= 'z')) | |
| 7564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 7565 #endif | |
| 7566 | |
| 7567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 7568 int | |
| 7569 main () | |
| 7570 { | |
| 7571 int i; | |
| 7572 for (i = 0; i < 256; i++) | |
| 7573 if (XOR (islower (i), ISLOWER (i)) | |
| 7574 || toupper (i) != TOUPPER (i)) | |
| 7575 return 2; | |
| 7576 return 0; | |
| 7577 } | |
| 7578 _ACEOF | |
| 7579 if ac_fn_c_try_run "$LINENO"; then : | |
| 7580 | |
| 7581 else | |
| 7582 ac_cv_header_stdc=no | |
| 7583 fi | |
| 7584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 7585 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 7586 fi | |
| 7587 | |
| 7588 fi | |
| 7589 fi | |
| 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 7591 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 7592 if test $ac_cv_header_stdc = yes; then | |
| 7593 | |
| 7594 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 7595 | |
| 7596 fi | |
| 7597 | |
| 7598 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 7599 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 7600 inttypes.h stdint.h unistd.h | |
| 7601 do : | |
| 7602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 7603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
| 7604 " | |
| 7605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 7606 cat >>confdefs.h <<_ACEOF | |
| 7607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 7608 _ACEOF | |
| 7609 | |
| 7610 fi | |
| 7611 | |
| 7612 done | |
| 7613 | |
| 7614 | |
| 7615 for ac_header in dlfcn.h | |
| 7616 do : | |
| 7617 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default | |
| 7618 " | |
| 7619 if test "x$ac_cv_header_dlfcn_h" = xyes; then : | |
| 7620 cat >>confdefs.h <<_ACEOF | |
| 7621 #define HAVE_DLFCN_H 1 | |
| 7622 _ACEOF | |
| 7623 | |
| 7624 fi | |
| 7625 | |
| 7626 done | |
| 7627 | |
| 7628 | |
| 7629 | |
| 7630 | |
| 7631 func_stripname_cnf () | |
| 7632 { | |
| 7633 case ${2} in | |
| 7634 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; | |
| 7635 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; | |
| 7636 esac | |
| 7637 } # func_stripname_cnf | |
| 7638 | |
| 7639 | |
| 7640 | |
| 7641 | |
| 7642 | |
| 7643 # Set options | |
| 7644 | |
| 7645 | |
| 7646 | |
| 7647 enable_dlopen=no | |
| 7648 | |
| 7649 | |
| 7650 | |
| 7651 # Check whether --enable-shared was given. | |
| 7652 if test "${enable_shared+set}" = set; then : | |
| 7653 enableval=$enable_shared; p=${PACKAGE-default} | |
| 7654 case $enableval in | |
| 7655 yes) enable_shared=yes ;; | |
| 7656 no) enable_shared=no ;; | |
| 7657 *) | |
| 7658 enable_shared=no | |
| 7659 # Look at the argument we got. We use all the common list separators. | |
| 7660 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 7661 for pkg in $enableval; do | |
| 7662 IFS="$lt_save_ifs" | |
| 7663 if test "X$pkg" = "X$p"; then | |
| 7664 enable_shared=yes | |
| 7665 fi | |
| 7666 done | |
| 7667 IFS="$lt_save_ifs" | |
| 7668 ;; | |
| 7669 esac | |
| 7670 else | |
| 7671 enable_shared=yes | |
| 7672 fi | |
| 7673 | |
| 7674 | |
| 7675 | |
| 7676 | |
| 7677 | |
| 7678 | |
| 7679 | |
| 7680 | |
| 7681 | |
| 7682 # Check whether --enable-static was given. | |
| 7683 if test "${enable_static+set}" = set; then : | |
| 7684 enableval=$enable_static; p=${PACKAGE-default} | |
| 7685 case $enableval in | |
| 7686 yes) enable_static=yes ;; | |
| 7687 no) enable_static=no ;; | |
| 7688 *) | |
| 7689 enable_static=no | |
| 7690 # Look at the argument we got. We use all the common list separators. | |
| 7691 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 7692 for pkg in $enableval; do | |
| 7693 IFS="$lt_save_ifs" | |
| 7694 if test "X$pkg" = "X$p"; then | |
| 7695 enable_static=yes | |
| 7696 fi | |
| 7697 done | |
| 7698 IFS="$lt_save_ifs" | |
| 7699 ;; | |
| 7700 esac | |
| 7701 else | |
| 7702 enable_static=yes | |
| 7703 fi | |
| 7704 | |
| 7705 | |
| 7706 | |
| 7707 | |
| 7708 | |
| 7709 | |
| 7710 | |
| 7711 | |
| 7712 | |
| 7713 | |
| 7714 # Check whether --with-pic was given. | |
| 7715 if test "${with_pic+set}" = set; then : | |
| 7716 withval=$with_pic; pic_mode="$withval" | |
| 7717 else | |
| 7718 pic_mode=default | |
| 7719 fi | |
| 7720 | |
| 7721 | |
| 7722 test -z "$pic_mode" && pic_mode=default | |
| 7723 | |
| 7724 | |
| 7725 | |
| 7726 | |
| 7727 | |
| 7728 | |
| 7729 | |
| 7730 # Check whether --enable-fast-install was given. | |
| 7731 if test "${enable_fast_install+set}" = set; then : | |
| 7732 enableval=$enable_fast_install; p=${PACKAGE-default} | |
| 7733 case $enableval in | |
| 7734 yes) enable_fast_install=yes ;; | |
| 7735 no) enable_fast_install=no ;; | |
| 7736 *) | |
| 7737 enable_fast_install=no | |
| 7738 # Look at the argument we got. We use all the common list separators. | |
| 7739 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | |
| 7740 for pkg in $enableval; do | |
| 7741 IFS="$lt_save_ifs" | |
| 7742 if test "X$pkg" = "X$p"; then | |
| 7743 enable_fast_install=yes | |
| 7744 fi | |
| 7745 done | |
| 7746 IFS="$lt_save_ifs" | |
| 7747 ;; | |
| 7748 esac | |
| 7749 else | |
| 7750 enable_fast_install=yes | |
| 7751 fi | |
| 7752 | |
| 7753 | |
| 7754 | |
| 7755 | |
| 7756 | |
| 7757 | |
| 7758 | |
| 7759 | |
| 7760 | |
| 7761 | |
| 7762 | |
| 7763 # This can be used to rebuild libtool when needed | |
| 7764 LIBTOOL_DEPS="$ltmain" | |
| 7765 | |
| 7766 # Always use our own libtool. | |
| 7767 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | |
| 7768 | |
| 7769 | |
| 7770 | |
| 7771 | |
| 7772 | |
| 7773 | |
| 7774 | |
| 7775 | |
| 7776 | |
| 7777 | |
| 7778 | |
| 7779 | |
| 7780 | |
| 7781 | |
| 7782 | |
| 7783 | |
| 7784 | |
| 7785 | |
| 7786 | |
| 7787 | |
| 7788 | |
| 7789 | |
| 7790 | |
| 7791 | |
| 7792 | |
| 7793 | |
| 7794 test -z "$LN_S" && LN_S="ln -s" | |
| 7795 | |
| 7796 | |
| 7797 | |
| 7798 | |
| 7799 | |
| 7800 | |
| 7801 | |
| 7802 | |
| 7803 | |
| 7804 | |
| 7805 | |
| 7806 | |
| 7807 | |
| 7808 | |
| 7809 if test -n "${ZSH_VERSION+set}" ; then | |
| 7810 setopt NO_GLOB_SUBST | |
| 7811 fi | |
| 7812 | |
| 7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | |
| 7814 $as_echo_n "checking for objdir... " >&6; } | |
| 7815 if ${lt_cv_objdir+:} false; then : | |
| 7816 $as_echo_n "(cached) " >&6 | |
| 7817 else | |
| 7818 rm -f .libs 2>/dev/null | |
| 7819 mkdir .libs 2>/dev/null | |
| 7820 if test -d .libs; then | |
| 7821 lt_cv_objdir=.libs | |
| 7822 else | |
| 7823 # MS-DOS does not allow filenames that begin with a dot. | |
| 7824 lt_cv_objdir=_libs | |
| 7825 fi | |
| 7826 rmdir .libs 2>/dev/null | |
| 7827 fi | |
| 7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | |
| 7829 $as_echo "$lt_cv_objdir" >&6; } | |
| 7830 objdir=$lt_cv_objdir | |
| 7831 | |
| 7832 | |
| 7833 | |
| 7834 | |
| 7835 | |
| 7836 cat >>confdefs.h <<_ACEOF | |
| 7837 #define LT_OBJDIR "$lt_cv_objdir/" | |
| 7838 _ACEOF | |
| 7839 | |
| 7840 | |
| 7841 | |
| 7842 | |
| 7843 case $host_os in | |
| 7844 aix3*) | |
| 7845 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 7846 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 7847 # vanish in a puff of smoke. | |
| 7848 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 7849 COLLECT_NAMES= | |
| 7850 export COLLECT_NAMES | |
| 7851 fi | |
| 7852 ;; | |
| 7853 esac | |
| 7854 | |
| 7855 # Global variables: | |
| 7856 ofile=libtool | |
| 7857 can_build_shared=yes | |
| 7858 | |
| 7859 # All known linkers require a `.a' archive for static linking (except MSVC, | |
| 7860 # which needs '.lib'). | |
| 7861 libext=a | |
| 7862 | |
| 7863 with_gnu_ld="$lt_cv_prog_gnu_ld" | |
| 7864 | |
| 7865 old_CC="$CC" | |
| 7866 old_CFLAGS="$CFLAGS" | |
| 7867 | |
| 7868 # Set sane defaults for various variables | |
| 7869 test -z "$CC" && CC=cc | |
| 7870 test -z "$LTCC" && LTCC=$CC | |
| 7871 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | |
| 7872 test -z "$LD" && LD=ld | |
| 7873 test -z "$ac_objext" && ac_objext=o | |
| 7874 | |
| 7875 for cc_temp in $compiler""; do | |
| 7876 case $cc_temp in | |
| 7877 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 7878 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 7879 \-*) ;; | |
| 7880 *) break;; | |
| 7881 esac | |
| 7882 done | |
| 7883 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | |
| 7884 | |
| 7885 | |
| 7886 # Only perform the check for file, if the check method requires it | |
| 7887 test -z "$MAGIC_CMD" && MAGIC_CMD=file | |
| 7888 case $deplibs_check_method in | |
| 7889 file_magic*) | |
| 7890 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | |
| 7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 | |
| 7892 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | |
| 7893 if ${lt_cv_path_MAGIC_CMD+:} false; then : | |
| 7894 $as_echo_n "(cached) " >&6 | |
| 7895 else | |
| 7896 case $MAGIC_CMD in | |
| 7897 [\\/*] | ?:[\\/]*) | |
| 7898 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | |
| 7899 ;; | |
| 7900 *) | |
| 7901 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 7902 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 7903 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 7904 for ac_dir in $ac_dummy; do | |
| 7905 IFS="$lt_save_ifs" | |
| 7906 test -z "$ac_dir" && ac_dir=. | |
| 7907 if test -f $ac_dir/${ac_tool_prefix}file; then | |
| 7908 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | |
| 7909 if test -n "$file_magic_test_file"; then | |
| 7910 case $deplibs_check_method in | |
| 7911 "file_magic "*) | |
| 7912 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 7913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 7914 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 7915 $EGREP "$file_magic_regex" > /dev/null; then | |
| 7916 : | |
| 7917 else | |
| 7918 cat <<_LT_EOF 1>&2 | |
| 7919 | |
| 7920 *** Warning: the command libtool uses to detect shared libraries, | |
| 7921 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 7922 *** The result is that libtool may fail to recognize shared libraries | |
| 7923 *** as such. This will affect the creation of libtool libraries that | |
| 7924 *** depend on shared libraries, but programs linked with such libtool | |
| 7925 *** libraries will work regardless of this problem. Nevertheless, you | |
| 7926 *** may want to report the problem to your system manager and/or to | |
| 7927 *** bug-libtool@gnu.org | |
| 7928 | |
| 7929 _LT_EOF | |
| 7930 fi ;; | |
| 7931 esac | |
| 7932 fi | |
| 7933 break | |
| 7934 fi | |
| 7935 done | |
| 7936 IFS="$lt_save_ifs" | |
| 7937 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 7938 ;; | |
| 7939 esac | |
| 7940 fi | |
| 7941 | |
| 7942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 7943 if test -n "$MAGIC_CMD"; then | |
| 7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 7945 $as_echo "$MAGIC_CMD" >&6; } | |
| 7946 else | |
| 7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 7948 $as_echo "no" >&6; } | |
| 7949 fi | |
| 7950 | |
| 7951 | |
| 7952 | |
| 7953 | |
| 7954 | |
| 7955 if test -z "$lt_cv_path_MAGIC_CMD"; then | |
| 7956 if test -n "$ac_tool_prefix"; then | |
| 7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | |
| 7958 $as_echo_n "checking for file... " >&6; } | |
| 7959 if ${lt_cv_path_MAGIC_CMD+:} false; then : | |
| 7960 $as_echo_n "(cached) " >&6 | |
| 7961 else | |
| 7962 case $MAGIC_CMD in | |
| 7963 [\\/*] | ?:[\\/]*) | |
| 7964 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | |
| 7965 ;; | |
| 7966 *) | |
| 7967 lt_save_MAGIC_CMD="$MAGIC_CMD" | |
| 7968 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 7969 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
| 7970 for ac_dir in $ac_dummy; do | |
| 7971 IFS="$lt_save_ifs" | |
| 7972 test -z "$ac_dir" && ac_dir=. | |
| 7973 if test -f $ac_dir/file; then | |
| 7974 lt_cv_path_MAGIC_CMD="$ac_dir/file" | |
| 7975 if test -n "$file_magic_test_file"; then | |
| 7976 case $deplibs_check_method in | |
| 7977 "file_magic "*) | |
| 7978 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
| 7979 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 7980 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
| 7981 $EGREP "$file_magic_regex" > /dev/null; then | |
| 7982 : | |
| 7983 else | |
| 7984 cat <<_LT_EOF 1>&2 | |
| 7985 | |
| 7986 *** Warning: the command libtool uses to detect shared libraries, | |
| 7987 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
| 7988 *** The result is that libtool may fail to recognize shared libraries | |
| 7989 *** as such. This will affect the creation of libtool libraries that | |
| 7990 *** depend on shared libraries, but programs linked with such libtool | |
| 7991 *** libraries will work regardless of this problem. Nevertheless, you | |
| 7992 *** may want to report the problem to your system manager and/or to | |
| 7993 *** bug-libtool@gnu.org | |
| 7994 | |
| 7995 _LT_EOF | |
| 7996 fi ;; | |
| 7997 esac | |
| 7998 fi | |
| 7999 break | |
| 8000 fi | |
| 8001 done | |
| 8002 IFS="$lt_save_ifs" | |
| 8003 MAGIC_CMD="$lt_save_MAGIC_CMD" | |
| 8004 ;; | |
| 8005 esac | |
| 8006 fi | |
| 8007 | |
| 8008 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | |
| 8009 if test -n "$MAGIC_CMD"; then | |
| 8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | |
| 8011 $as_echo "$MAGIC_CMD" >&6; } | |
| 8012 else | |
| 8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 8014 $as_echo "no" >&6; } | |
| 8015 fi | |
| 8016 | |
| 8017 | |
| 8018 else | |
| 8019 MAGIC_CMD=: | |
| 8020 fi | |
| 8021 fi | |
| 8022 | |
| 8023 fi | |
| 8024 ;; | |
| 8025 esac | |
| 8026 | |
| 8027 # Use C for the default configuration in the libtool script | |
| 8028 | |
| 8029 lt_save_CC="$CC" | |
| 8030 ac_ext=c | |
| 8031 ac_cpp='$CPP $CPPFLAGS' | |
| 8032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 8033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 8034 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 8035 | |
| 8036 | |
| 8037 # Source file extension for C test sources. | |
| 8038 ac_ext=c | |
| 8039 | |
| 8040 # Object file extension for compiled C test sources. | |
| 8041 objext=o | |
| 8042 objext=$objext | |
| 8043 | |
| 8044 # Code to be used in simple compile tests | |
| 8045 lt_simple_compile_test_code="int some_variable = 0;" | |
| 8046 | |
| 8047 # Code to be used in simple link tests | |
| 8048 lt_simple_link_test_code='int main(){return(0);}' | |
| 8049 | |
| 8050 | |
| 8051 | |
| 8052 | |
| 8053 | |
| 8054 | |
| 8055 | |
| 8056 # If no C compiler was specified, use CC. | |
| 8057 LTCC=${LTCC-"$CC"} | |
| 8058 | |
| 8059 # If no C compiler flags were specified, use CFLAGS. | |
| 8060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 8061 | |
| 8062 # Allow CC to be a program name with arguments. | |
| 8063 compiler=$CC | |
| 8064 | |
| 8065 # Save the default compiler, since it gets overwritten when the other | |
| 8066 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | |
| 8067 compiler_DEFAULT=$CC | |
| 8068 | |
| 8069 # save warnings/boilerplate of simple test code | |
| 8070 ac_outfile=conftest.$ac_objext | |
| 8071 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | |
| 8072 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 8073 _lt_compiler_boilerplate=`cat conftest.err` | |
| 8074 $RM conftest* | |
| 8075 | |
| 8076 ac_outfile=conftest.$ac_objext | |
| 8077 echo "$lt_simple_link_test_code" >conftest.$ac_ext | |
| 8078 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 8079 _lt_linker_boilerplate=`cat conftest.err` | |
| 8080 $RM -r conftest* | |
| 8081 | |
| 8082 | |
| 8083 if test -n "$compiler"; then | |
| 8084 | |
| 8085 lt_prog_compiler_no_builtin_flag= | |
| 8086 | |
| 8087 if test "$GCC" = yes; then | |
| 8088 case $cc_basename in | |
| 8089 nvcc*) | |
| 8090 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | |
| 8091 *) | |
| 8092 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | |
| 8093 esac | |
| 8094 | |
| 8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | |
| 8096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | |
| 8097 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | |
| 8098 $as_echo_n "(cached) " >&6 | |
| 8099 else | |
| 8100 lt_cv_prog_compiler_rtti_exceptions=no | |
| 8101 ac_outfile=conftest.$ac_objext | |
| 8102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 8103 lt_compiler_flag="-fno-rtti -fno-exceptions" | |
| 8104 # Insert the option either (1) after the last *FLAGS variable, or | |
| 8105 # (2) before a word containing "conftest.", or (3) at the end. | |
| 8106 # Note that $ac_compile itself does not contain backslashes and begins | |
| 8107 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 8108 # The option is referenced via a variable to avoid confusing sed. | |
| 8109 lt_compile=`echo "$ac_compile" | $SED \ | |
| 8110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 8111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 8112 -e 's:$: $lt_compiler_flag:'` | |
| 8113 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 8114 (eval "$lt_compile" 2>conftest.err) | |
| 8115 ac_status=$? | |
| 8116 cat conftest.err >&5 | |
| 8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8118 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 8119 # The compiler can only warn and ignore the option if not recognized | |
| 8120 # So say no if there are warnings other than the usual output. | |
| 8121 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 8122 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 8123 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
| 8124 lt_cv_prog_compiler_rtti_exceptions=yes | |
| 8125 fi | |
| 8126 fi | |
| 8127 $RM conftest* | |
| 8128 | |
| 8129 fi | |
| 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | |
| 8131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | |
| 8132 | |
| 8133 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | |
| 8134 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | |
| 8135 else | |
| 8136 : | |
| 8137 fi | |
| 8138 | |
| 8139 fi | |
| 8140 | |
| 8141 | |
| 8142 | |
| 8143 | |
| 8144 | |
| 8145 | |
| 8146 lt_prog_compiler_wl= | |
| 8147 lt_prog_compiler_pic= | |
| 8148 lt_prog_compiler_static= | |
| 8149 | |
| 8150 | |
| 8151 if test "$GCC" = yes; then | |
| 8152 lt_prog_compiler_wl='-Wl,' | |
| 8153 lt_prog_compiler_static='-static' | |
| 8154 | |
| 8155 case $host_os in | |
| 8156 aix*) | |
| 8157 # All AIX code is PIC. | |
| 8158 if test "$host_cpu" = ia64; then | |
| 8159 # AIX 5 now supports IA64 processor | |
| 8160 lt_prog_compiler_static='-Bstatic' | |
| 8161 fi | |
| 8162 ;; | |
| 8163 | |
| 8164 amigaos*) | |
| 8165 case $host_cpu in | |
| 8166 powerpc) | |
| 8167 # see comment about AmigaOS4 .so support | |
| 8168 lt_prog_compiler_pic='-fPIC' | |
| 8169 ;; | |
| 8170 m68k) | |
| 8171 # FIXME: we need at least 68020 code to build shared libraries, but | |
| 8172 # adding the `-m68020' flag to GCC prevents building anything better, | |
| 8173 # like `-m68040'. | |
| 8174 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | |
| 8175 ;; | |
| 8176 esac | |
| 8177 ;; | |
| 8178 | |
| 8179 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
| 8180 # PIC is the default for these OSes. | |
| 8181 ;; | |
| 8182 | |
| 8183 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 8184 # This hack is so that the source file can tell whether it is being | |
| 8185 # built for inclusion in a dll (and should export symbols for example). | |
| 8186 # Although the cygwin gcc ignores -fPIC, still need this for old-style | |
| 8187 # (--disable-auto-import) libraries | |
| 8188 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 8189 ;; | |
| 8190 | |
| 8191 darwin* | rhapsody*) | |
| 8192 # PIC is the default on this platform | |
| 8193 # Common symbols not allowed in MH_DYLIB files | |
| 8194 lt_prog_compiler_pic='-fno-common' | |
| 8195 ;; | |
| 8196 | |
| 8197 haiku*) | |
| 8198 # PIC is the default for Haiku. | |
| 8199 # The "-static" flag exists, but is broken. | |
| 8200 lt_prog_compiler_static= | |
| 8201 ;; | |
| 8202 | |
| 8203 hpux*) | |
| 8204 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | |
| 8205 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | |
| 8206 # sets the default TLS model and affects inlining. | |
| 8207 case $host_cpu in | |
| 8208 hppa*64*) | |
| 8209 # +Z the default | |
| 8210 ;; | |
| 8211 *) | |
| 8212 lt_prog_compiler_pic='-fPIC' | |
| 8213 ;; | |
| 8214 esac | |
| 8215 ;; | |
| 8216 | |
| 8217 interix[3-9]*) | |
| 8218 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
| 8219 # Instead, we relocate shared libraries at runtime. | |
| 8220 ;; | |
| 8221 | |
| 8222 msdosdjgpp*) | |
| 8223 # Just because we use GCC doesn't mean we suddenly get shared libraries | |
| 8224 # on systems that don't support them. | |
| 8225 lt_prog_compiler_can_build_shared=no | |
| 8226 enable_shared=no | |
| 8227 ;; | |
| 8228 | |
| 8229 *nto* | *qnx*) | |
| 8230 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 8231 # it will coredump. | |
| 8232 lt_prog_compiler_pic='-fPIC -shared' | |
| 8233 ;; | |
| 8234 | |
| 8235 sysv4*MP*) | |
| 8236 if test -d /usr/nec; then | |
| 8237 lt_prog_compiler_pic=-Kconform_pic | |
| 8238 fi | |
| 8239 ;; | |
| 8240 | |
| 8241 *) | |
| 8242 lt_prog_compiler_pic='-fPIC' | |
| 8243 ;; | |
| 8244 esac | |
| 8245 | |
| 8246 case $cc_basename in | |
| 8247 nvcc*) # Cuda Compiler Driver 2.2 | |
| 8248 lt_prog_compiler_wl='-Xlinker ' | |
| 8249 lt_prog_compiler_pic='-Xcompiler -fPIC' | |
| 8250 ;; | |
| 8251 esac | |
| 8252 else | |
| 8253 # PORTME Check for flag to pass linker flags through the system compiler. | |
| 8254 case $host_os in | |
| 8255 aix*) | |
| 8256 lt_prog_compiler_wl='-Wl,' | |
| 8257 if test "$host_cpu" = ia64; then | |
| 8258 # AIX 5 now supports IA64 processor | |
| 8259 lt_prog_compiler_static='-Bstatic' | |
| 8260 else | |
| 8261 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | |
| 8262 fi | |
| 8263 ;; | |
| 8264 | |
| 8265 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
| 8266 # This hack is so that the source file can tell whether it is being | |
| 8267 # built for inclusion in a dll (and should export symbols for example). | |
| 8268 lt_prog_compiler_pic='-DDLL_EXPORT' | |
| 8269 ;; | |
| 8270 | |
| 8271 hpux9* | hpux10* | hpux11*) | |
| 8272 lt_prog_compiler_wl='-Wl,' | |
| 8273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | |
| 8274 # not for PA HP-UX. | |
| 8275 case $host_cpu in | |
| 8276 hppa*64*|ia64*) | |
| 8277 # +Z the default | |
| 8278 ;; | |
| 8279 *) | |
| 8280 lt_prog_compiler_pic='+Z' | |
| 8281 ;; | |
| 8282 esac | |
| 8283 # Is there a better lt_prog_compiler_static that works with the bundled CC? | |
| 8284 lt_prog_compiler_static='${wl}-a ${wl}archive' | |
| 8285 ;; | |
| 8286 | |
| 8287 irix5* | irix6* | nonstopux*) | |
| 8288 lt_prog_compiler_wl='-Wl,' | |
| 8289 # PIC (with -KPIC) is the default. | |
| 8290 lt_prog_compiler_static='-non_shared' | |
| 8291 ;; | |
| 8292 | |
| 8293 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 8294 case $cc_basename in | |
| 8295 # old Intel for x86_64 which still supported -KPIC. | |
| 8296 ecc*) | |
| 8297 lt_prog_compiler_wl='-Wl,' | |
| 8298 lt_prog_compiler_pic='-KPIC' | |
| 8299 lt_prog_compiler_static='-static' | |
| 8300 ;; | |
| 8301 # icc used to be incompatible with GCC. | |
| 8302 # ICC 10 doesn't accept -KPIC any more. | |
| 8303 icc* | ifort*) | |
| 8304 lt_prog_compiler_wl='-Wl,' | |
| 8305 lt_prog_compiler_pic='-fPIC' | |
| 8306 lt_prog_compiler_static='-static' | |
| 8307 ;; | |
| 8308 # Lahey Fortran 8.1. | |
| 8309 lf95*) | |
| 8310 lt_prog_compiler_wl='-Wl,' | |
| 8311 lt_prog_compiler_pic='--shared' | |
| 8312 lt_prog_compiler_static='--static' | |
| 8313 ;; | |
| 8314 nagfor*) | |
| 8315 # NAG Fortran compiler | |
| 8316 lt_prog_compiler_wl='-Wl,-Wl,,' | |
| 8317 lt_prog_compiler_pic='-PIC' | |
| 8318 lt_prog_compiler_static='-Bstatic' | |
| 8319 ;; | |
| 8320 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 8321 # Portland Group compilers (*not* the Pentium gcc compiler, | |
| 8322 # which looks to be a dead project) | |
| 8323 lt_prog_compiler_wl='-Wl,' | |
| 8324 lt_prog_compiler_pic='-fpic' | |
| 8325 lt_prog_compiler_static='-Bstatic' | |
| 8326 ;; | |
| 8327 ccc*) | |
| 8328 lt_prog_compiler_wl='-Wl,' | |
| 8329 # All Alpha code is PIC. | |
| 8330 lt_prog_compiler_static='-non_shared' | |
| 8331 ;; | |
| 8332 xl* | bgxl* | bgf* | mpixl*) | |
| 8333 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | |
| 8334 lt_prog_compiler_wl='-Wl,' | |
| 8335 lt_prog_compiler_pic='-qpic' | |
| 8336 lt_prog_compiler_static='-qstaticlink' | |
| 8337 ;; | |
| 8338 *) | |
| 8339 case `$CC -V 2>&1 | sed 5q` in | |
| 8340 *Sun\ F* | *Sun*Fortran*) | |
| 8341 # Sun Fortran 8.3 passes all unrecognized flags to the linker | |
| 8342 lt_prog_compiler_pic='-KPIC' | |
| 8343 lt_prog_compiler_static='-Bstatic' | |
| 8344 lt_prog_compiler_wl='' | |
| 8345 ;; | |
| 8346 *Sun\ C*) | |
| 8347 # Sun C 5.9 | |
| 8348 lt_prog_compiler_pic='-KPIC' | |
| 8349 lt_prog_compiler_static='-Bstatic' | |
| 8350 lt_prog_compiler_wl='-Wl,' | |
| 8351 ;; | |
| 8352 esac | |
| 8353 ;; | |
| 8354 esac | |
| 8355 ;; | |
| 8356 | |
| 8357 newsos6) | |
| 8358 lt_prog_compiler_pic='-KPIC' | |
| 8359 lt_prog_compiler_static='-Bstatic' | |
| 8360 ;; | |
| 8361 | |
| 8362 *nto* | *qnx*) | |
| 8363 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 8364 # it will coredump. | |
| 8365 lt_prog_compiler_pic='-fPIC -shared' | |
| 8366 ;; | |
| 8367 | |
| 8368 osf3* | osf4* | osf5*) | |
| 8369 lt_prog_compiler_wl='-Wl,' | |
| 8370 # All OSF/1 code is PIC. | |
| 8371 lt_prog_compiler_static='-non_shared' | |
| 8372 ;; | |
| 8373 | |
| 8374 rdos*) | |
| 8375 lt_prog_compiler_static='-non_shared' | |
| 8376 ;; | |
| 8377 | |
| 8378 solaris*) | |
| 8379 lt_prog_compiler_pic='-KPIC' | |
| 8380 lt_prog_compiler_static='-Bstatic' | |
| 8381 case $cc_basename in | |
| 8382 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
| 8383 lt_prog_compiler_wl='-Qoption ld ';; | |
| 8384 *) | |
| 8385 lt_prog_compiler_wl='-Wl,';; | |
| 8386 esac | |
| 8387 ;; | |
| 8388 | |
| 8389 sunos4*) | |
| 8390 lt_prog_compiler_wl='-Qoption ld ' | |
| 8391 lt_prog_compiler_pic='-PIC' | |
| 8392 lt_prog_compiler_static='-Bstatic' | |
| 8393 ;; | |
| 8394 | |
| 8395 sysv4 | sysv4.2uw2* | sysv4.3*) | |
| 8396 lt_prog_compiler_wl='-Wl,' | |
| 8397 lt_prog_compiler_pic='-KPIC' | |
| 8398 lt_prog_compiler_static='-Bstatic' | |
| 8399 ;; | |
| 8400 | |
| 8401 sysv4*MP*) | |
| 8402 if test -d /usr/nec ;then | |
| 8403 lt_prog_compiler_pic='-Kconform_pic' | |
| 8404 lt_prog_compiler_static='-Bstatic' | |
| 8405 fi | |
| 8406 ;; | |
| 8407 | |
| 8408 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
| 8409 lt_prog_compiler_wl='-Wl,' | |
| 8410 lt_prog_compiler_pic='-KPIC' | |
| 8411 lt_prog_compiler_static='-Bstatic' | |
| 8412 ;; | |
| 8413 | |
| 8414 unicos*) | |
| 8415 lt_prog_compiler_wl='-Wl,' | |
| 8416 lt_prog_compiler_can_build_shared=no | |
| 8417 ;; | |
| 8418 | |
| 8419 uts4*) | |
| 8420 lt_prog_compiler_pic='-pic' | |
| 8421 lt_prog_compiler_static='-Bstatic' | |
| 8422 ;; | |
| 8423 | |
| 8424 *) | |
| 8425 lt_prog_compiler_can_build_shared=no | |
| 8426 ;; | |
| 8427 esac | |
| 8428 fi | |
| 8429 | |
| 8430 case $host_os in | |
| 8431 # For platforms which do not support PIC, -DPIC is meaningless: | |
| 8432 *djgpp*) | |
| 8433 lt_prog_compiler_pic= | |
| 8434 ;; | |
| 8435 *) | |
| 8436 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | |
| 8437 ;; | |
| 8438 esac | |
| 8439 | |
| 8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 | |
| 8441 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | |
| 8442 if ${lt_cv_prog_compiler_pic+:} false; then : | |
| 8443 $as_echo_n "(cached) " >&6 | |
| 8444 else | |
| 8445 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic | |
| 8446 fi | |
| 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 | |
| 8448 $as_echo "$lt_cv_prog_compiler_pic" >&6; } | |
| 8449 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic | |
| 8450 | |
| 8451 # | |
| 8452 # Check to make sure the PIC flag actually works. | |
| 8453 # | |
| 8454 if test -n "$lt_prog_compiler_pic"; then | |
| 8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | |
| 8456 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } | |
| 8457 if ${lt_cv_prog_compiler_pic_works+:} false; then : | |
| 8458 $as_echo_n "(cached) " >&6 | |
| 8459 else | |
| 8460 lt_cv_prog_compiler_pic_works=no | |
| 8461 ac_outfile=conftest.$ac_objext | |
| 8462 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 8463 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | |
| 8464 # Insert the option either (1) after the last *FLAGS variable, or | |
| 8465 # (2) before a word containing "conftest.", or (3) at the end. | |
| 8466 # Note that $ac_compile itself does not contain backslashes and begins | |
| 8467 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 8468 # The option is referenced via a variable to avoid confusing sed. | |
| 8469 lt_compile=`echo "$ac_compile" | $SED \ | |
| 8470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 8471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 8472 -e 's:$: $lt_compiler_flag:'` | |
| 8473 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 8474 (eval "$lt_compile" 2>conftest.err) | |
| 8475 ac_status=$? | |
| 8476 cat conftest.err >&5 | |
| 8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8478 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 8479 # The compiler can only warn and ignore the option if not recognized | |
| 8480 # So say no if there are warnings other than the usual output. | |
| 8481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 8482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 8483 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
| 8484 lt_cv_prog_compiler_pic_works=yes | |
| 8485 fi | |
| 8486 fi | |
| 8487 $RM conftest* | |
| 8488 | |
| 8489 fi | |
| 8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 | |
| 8491 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | |
| 8492 | |
| 8493 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | |
| 8494 case $lt_prog_compiler_pic in | |
| 8495 "" | " "*) ;; | |
| 8496 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | |
| 8497 esac | |
| 8498 else | |
| 8499 lt_prog_compiler_pic= | |
| 8500 lt_prog_compiler_can_build_shared=no | |
| 8501 fi | |
| 8502 | |
| 8503 fi | |
| 8504 | |
| 8505 | |
| 8506 | |
| 8507 | |
| 8508 | |
| 8509 | |
| 8510 | |
| 8511 | |
| 8512 | |
| 8513 | |
| 8514 | |
| 8515 # | |
| 8516 # Check to make sure the static flag actually works. | |
| 8517 # | |
| 8518 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | |
| 8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
| 8520 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } | |
| 8521 if ${lt_cv_prog_compiler_static_works+:} false; then : | |
| 8522 $as_echo_n "(cached) " >&6 | |
| 8523 else | |
| 8524 lt_cv_prog_compiler_static_works=no | |
| 8525 save_LDFLAGS="$LDFLAGS" | |
| 8526 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
| 8527 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 8528 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 8529 # The linker can only warn and ignore the option if not recognized | |
| 8530 # So say no if there are warnings | |
| 8531 if test -s conftest.err; then | |
| 8532 # Append any errors to the config.log. | |
| 8533 cat conftest.err 1>&5 | |
| 8534 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 8535 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 8536 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 8537 lt_cv_prog_compiler_static_works=yes | |
| 8538 fi | |
| 8539 else | |
| 8540 lt_cv_prog_compiler_static_works=yes | |
| 8541 fi | |
| 8542 fi | |
| 8543 $RM -r conftest* | |
| 8544 LDFLAGS="$save_LDFLAGS" | |
| 8545 | |
| 8546 fi | |
| 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 | |
| 8548 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | |
| 8549 | |
| 8550 if test x"$lt_cv_prog_compiler_static_works" = xyes; then | |
| 8551 : | |
| 8552 else | |
| 8553 lt_prog_compiler_static= | |
| 8554 fi | |
| 8555 | |
| 8556 | |
| 8557 | |
| 8558 | |
| 8559 | |
| 8560 | |
| 8561 | |
| 8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
| 8563 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 8564 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
| 8565 $as_echo_n "(cached) " >&6 | |
| 8566 else | |
| 8567 lt_cv_prog_compiler_c_o=no | |
| 8568 $RM -r conftest 2>/dev/null | |
| 8569 mkdir conftest | |
| 8570 cd conftest | |
| 8571 mkdir out | |
| 8572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 8573 | |
| 8574 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 8575 # Insert the option either (1) after the last *FLAGS variable, or | |
| 8576 # (2) before a word containing "conftest.", or (3) at the end. | |
| 8577 # Note that $ac_compile itself does not contain backslashes and begins | |
| 8578 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 8579 lt_compile=`echo "$ac_compile" | $SED \ | |
| 8580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 8581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 8582 -e 's:$: $lt_compiler_flag:'` | |
| 8583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 8584 (eval "$lt_compile" 2>out/conftest.err) | |
| 8585 ac_status=$? | |
| 8586 cat out/conftest.err >&5 | |
| 8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8588 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 8589 then | |
| 8590 # The compiler can only warn and ignore the option if not recognized | |
| 8591 # So say no if there are warnings | |
| 8592 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 8593 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 8594 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
| 8595 lt_cv_prog_compiler_c_o=yes | |
| 8596 fi | |
| 8597 fi | |
| 8598 chmod u+w . 2>&5 | |
| 8599 $RM conftest* | |
| 8600 # SGI C++ compiler will create directory out/ii_files/ for | |
| 8601 # template instantiation | |
| 8602 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 8603 $RM out/* && rmdir out | |
| 8604 cd .. | |
| 8605 $RM -r conftest | |
| 8606 $RM conftest* | |
| 8607 | |
| 8608 fi | |
| 8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 8610 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 8611 | |
| 8612 | |
| 8613 | |
| 8614 | |
| 8615 | |
| 8616 | |
| 8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
| 8618 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 8619 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
| 8620 $as_echo_n "(cached) " >&6 | |
| 8621 else | |
| 8622 lt_cv_prog_compiler_c_o=no | |
| 8623 $RM -r conftest 2>/dev/null | |
| 8624 mkdir conftest | |
| 8625 cd conftest | |
| 8626 mkdir out | |
| 8627 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 8628 | |
| 8629 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 8630 # Insert the option either (1) after the last *FLAGS variable, or | |
| 8631 # (2) before a word containing "conftest.", or (3) at the end. | |
| 8632 # Note that $ac_compile itself does not contain backslashes and begins | |
| 8633 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 8634 lt_compile=`echo "$ac_compile" | $SED \ | |
| 8635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 8636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 8637 -e 's:$: $lt_compiler_flag:'` | |
| 8638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 8639 (eval "$lt_compile" 2>out/conftest.err) | |
| 8640 ac_status=$? | |
| 8641 cat out/conftest.err >&5 | |
| 8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 8643 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 8644 then | |
| 8645 # The compiler can only warn and ignore the option if not recognized | |
| 8646 # So say no if there are warnings | |
| 8647 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 8648 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 8649 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
| 8650 lt_cv_prog_compiler_c_o=yes | |
| 8651 fi | |
| 8652 fi | |
| 8653 chmod u+w . 2>&5 | |
| 8654 $RM conftest* | |
| 8655 # SGI C++ compiler will create directory out/ii_files/ for | |
| 8656 # template instantiation | |
| 8657 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 8658 $RM out/* && rmdir out | |
| 8659 cd .. | |
| 8660 $RM -r conftest | |
| 8661 $RM conftest* | |
| 8662 | |
| 8663 fi | |
| 8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
| 8665 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
| 8666 | |
| 8667 | |
| 8668 | |
| 8669 | |
| 8670 hard_links="nottested" | |
| 8671 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | |
| 8672 # do not overwrite the value of need_locks provided by the user | |
| 8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 | |
| 8674 $as_echo_n "checking if we can lock with hard links... " >&6; } | |
| 8675 hard_links=yes | |
| 8676 $RM conftest* | |
| 8677 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 8678 touch conftest.a | |
| 8679 ln conftest.a conftest.b 2>&5 || hard_links=no | |
| 8680 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | |
| 8682 $as_echo "$hard_links" >&6; } | |
| 8683 if test "$hard_links" = no; then | |
| 8684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | |
| 8685 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | |
| 8686 need_locks=warn | |
| 8687 fi | |
| 8688 else | |
| 8689 need_locks=no | |
| 8690 fi | |
| 8691 | |
| 8692 | |
| 8693 | |
| 8694 | |
| 8695 | |
| 8696 | |
| 8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | |
| 8698 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | |
| 8699 | |
| 8700 runpath_var= | |
| 8701 allow_undefined_flag= | |
| 8702 always_export_symbols=no | |
| 8703 archive_cmds= | |
| 8704 archive_expsym_cmds= | |
| 8705 compiler_needs_object=no | |
| 8706 enable_shared_with_static_runtimes=no | |
| 8707 export_dynamic_flag_spec= | |
| 8708 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | |
| 8709 hardcode_automatic=no | |
| 8710 hardcode_direct=no | |
| 8711 hardcode_direct_absolute=no | |
| 8712 hardcode_libdir_flag_spec= | |
| 8713 hardcode_libdir_flag_spec_ld= | |
| 8714 hardcode_libdir_separator= | |
| 8715 hardcode_minus_L=no | |
| 8716 hardcode_shlibpath_var=unsupported | |
| 8717 inherit_rpath=no | |
| 8718 link_all_deplibs=unknown | |
| 8719 module_cmds= | |
| 8720 module_expsym_cmds= | |
| 8721 old_archive_from_new_cmds= | |
| 8722 old_archive_from_expsyms_cmds= | |
| 8723 thread_safe_flag_spec= | |
| 8724 whole_archive_flag_spec= | |
| 8725 # include_expsyms should be a list of space-separated symbols to be *always* | |
| 8726 # included in the symbol list | |
| 8727 include_expsyms= | |
| 8728 # exclude_expsyms can be an extended regexp of symbols to exclude | |
| 8729 # it will be wrapped by ` (' and `)$', so one must not match beginning or | |
| 8730 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | |
| 8731 # as well as any symbol that contains `d'. | |
| 8732 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | |
| 8733 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | |
| 8734 # platforms (ab)use it in PIC code, but their linkers get confused if | |
| 8735 # the symbol is explicitly referenced. Since portable code cannot | |
| 8736 # rely on this symbol name, it's probably fine to never include it in | |
| 8737 # preloaded symbol tables. | |
| 8738 # Exclude shared library initialization/finalization symbols. | |
| 8739 extract_expsyms_cmds= | |
| 8740 | |
| 8741 case $host_os in | |
| 8742 cygwin* | mingw* | pw32* | cegcc*) | |
| 8743 # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
| 8744 # When not using gcc, we currently assume that we are using | |
| 8745 # Microsoft Visual C++. | |
| 8746 if test "$GCC" != yes; then | |
| 8747 with_gnu_ld=no | |
| 8748 fi | |
| 8749 ;; | |
| 8750 interix*) | |
| 8751 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
| 8752 with_gnu_ld=yes | |
| 8753 ;; | |
| 8754 openbsd*) | |
| 8755 with_gnu_ld=no | |
| 8756 ;; | |
| 8757 linux* | k*bsd*-gnu | gnu*) | |
| 8758 link_all_deplibs=no | |
| 8759 ;; | |
| 8760 esac | |
| 8761 | |
| 8762 ld_shlibs=yes | |
| 8763 | |
| 8764 # On some targets, GNU ld is compatible enough with the native linker | |
| 8765 # that we're better off using the native interface for both. | |
| 8766 lt_use_gnu_ld_interface=no | |
| 8767 if test "$with_gnu_ld" = yes; then | |
| 8768 case $host_os in | |
| 8769 aix*) | |
| 8770 # The AIX port of GNU ld has always aspired to compatibility | |
| 8771 # with the native linker. However, as the warning in the GNU ld | |
| 8772 # block says, versions before 2.19.5* couldn't really create working | |
| 8773 # shared libraries, regardless of the interface used. | |
| 8774 case `$LD -v 2>&1` in | |
| 8775 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | |
| 8776 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | |
| 8777 *\ \(GNU\ Binutils\)\ [3-9]*) ;; | |
| 8778 *) | |
| 8779 lt_use_gnu_ld_interface=yes | |
| 8780 ;; | |
| 8781 esac | |
| 8782 ;; | |
| 8783 *) | |
| 8784 lt_use_gnu_ld_interface=yes | |
| 8785 ;; | |
| 8786 esac | |
| 8787 fi | |
| 8788 | |
| 8789 if test "$lt_use_gnu_ld_interface" = yes; then | |
| 8790 # If archive_cmds runs LD, not CC, wlarc should be empty | |
| 8791 wlarc='${wl}' | |
| 8792 | |
| 8793 # Set some defaults for GNU ld with shared library support. These | |
| 8794 # are reset later if shared libraries are not supported. Putting them | |
| 8795 # here allows them to be overridden if necessary. | |
| 8796 runpath_var=LD_RUN_PATH | |
| 8797 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 8798 export_dynamic_flag_spec='${wl}--export-dynamic' | |
| 8799 # ancient GNU ld didn't support --whole-archive et. al. | |
| 8800 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | |
| 8801 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
| 8802 else | |
| 8803 whole_archive_flag_spec= | |
| 8804 fi | |
| 8805 supports_anon_versioning=no | |
| 8806 case `$LD -v 2>&1` in | |
| 8807 *GNU\ gold*) supports_anon_versioning=yes ;; | |
| 8808 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
| 8809 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
| 8810 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
| 8811 *\ 2.11.*) ;; # other 2.11 versions | |
| 8812 *) supports_anon_versioning=yes ;; | |
| 8813 esac | |
| 8814 | |
| 8815 # See if GNU ld supports shared libraries. | |
| 8816 case $host_os in | |
| 8817 aix[3-9]*) | |
| 8818 # On AIX/PPC, the GNU linker is very broken | |
| 8819 if test "$host_cpu" != ia64; then | |
| 8820 ld_shlibs=no | |
| 8821 cat <<_LT_EOF 1>&2 | |
| 8822 | |
| 8823 *** Warning: the GNU linker, at least up to release 2.19, is reported | |
| 8824 *** to be unable to reliably create shared libraries on AIX. | |
| 8825 *** Therefore, libtool is disabling shared libraries support. If you | |
| 8826 *** really care for shared libraries, you may want to install binutils | |
| 8827 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | |
| 8828 *** You will then need to restart the configuration process. | |
| 8829 | |
| 8830 _LT_EOF | |
| 8831 fi | |
| 8832 ;; | |
| 8833 | |
| 8834 amigaos*) | |
| 8835 case $host_cpu in | |
| 8836 powerpc) | |
| 8837 # see comment about AmigaOS4 .so support | |
| 8838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 8839 archive_expsym_cmds='' | |
| 8840 ;; | |
| 8841 m68k) | |
| 8842 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)' | |
| 8843 hardcode_libdir_flag_spec='-L$libdir' | |
| 8844 hardcode_minus_L=yes | |
| 8845 ;; | |
| 8846 esac | |
| 8847 ;; | |
| 8848 | |
| 8849 beos*) | |
| 8850 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 8851 allow_undefined_flag=unsupported | |
| 8852 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
| 8853 # support --undefined. This deserves some investigation. FIXME | |
| 8854 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 8855 else | |
| 8856 ld_shlibs=no | |
| 8857 fi | |
| 8858 ;; | |
| 8859 | |
| 8860 cygwin* | mingw* | pw32* | cegcc*) | |
| 8861 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | |
| 8862 # as there is no search path for DLLs. | |
| 8863 hardcode_libdir_flag_spec='-L$libdir' | |
| 8864 export_dynamic_flag_spec='${wl}--export-all-symbols' | |
| 8865 allow_undefined_flag=unsupported | |
| 8866 always_export_symbols=no | |
| 8867 enable_shared_with_static_runtimes=yes | |
| 8868 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' | |
| 8869 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | |
| 8870 | |
| 8871 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | |
| 8872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 8873 # If the export-symbols file already is a .def file (1st line | |
| 8874 # is EXPORTS), use it as is; otherwise, prepend... | |
| 8875 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | |
| 8876 cp $export_symbols $output_objdir/$soname.def; | |
| 8877 else | |
| 8878 echo EXPORTS > $output_objdir/$soname.def; | |
| 8879 cat $export_symbols >> $output_objdir/$soname.def; | |
| 8880 fi~ | |
| 8881 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 8882 else | |
| 8883 ld_shlibs=no | |
| 8884 fi | |
| 8885 ;; | |
| 8886 | |
| 8887 haiku*) | |
| 8888 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 8889 link_all_deplibs=yes | |
| 8890 ;; | |
| 8891 | |
| 8892 interix[3-9]*) | |
| 8893 hardcode_direct=no | |
| 8894 hardcode_shlibpath_var=no | |
| 8895 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 8896 export_dynamic_flag_spec='${wl}-E' | |
| 8897 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
| 8898 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
| 8899 # default) and relocated if they conflict, which is a slow very memory | |
| 8900 # consuming and fragmenting process. To avoid this, we pick a random, | |
| 8901 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
| 8902 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
| 8903 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
| 8904 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' | |
| 8905 ;; | |
| 8906 | |
| 8907 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 8908 tmp_diet=no | |
| 8909 if test "$host_os" = linux-dietlibc; then | |
| 8910 case $cc_basename in | |
| 8911 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) | |
| 8912 esac | |
| 8913 fi | |
| 8914 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | |
| 8915 && test "$tmp_diet" = no | |
| 8916 then | |
| 8917 tmp_addflag=' $pic_flag' | |
| 8918 tmp_sharedflag='-shared' | |
| 8919 case $cc_basename,$host_cpu in | |
| 8920 pgcc*) # Portland Group C compiler | |
| 8921 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' | |
| 8922 tmp_addflag=' $pic_flag' | |
| 8923 ;; | |
| 8924 pgf77* | pgf90* | pgf95* | pgfortran*) | |
| 8925 # Portland Group f77 and f90 compilers | |
| 8926 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' | |
| 8927 tmp_addflag=' $pic_flag -Mnomain' ;; | |
| 8928 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
| 8929 tmp_addflag=' -i_dynamic' ;; | |
| 8930 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
| 8931 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
| 8932 ifc* | ifort*) # Intel Fortran compiler | |
| 8933 tmp_addflag=' -nofor_main' ;; | |
| 8934 lf95*) # Lahey Fortran 8.1 | |
| 8935 whole_archive_flag_spec= | |
| 8936 tmp_sharedflag='--shared' ;; | |
| 8937 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) | |
| 8938 tmp_sharedflag='-qmkshrobj' | |
| 8939 tmp_addflag= ;; | |
| 8940 nvcc*) # Cuda Compiler Driver 2.2 | |
| 8941 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' | |
| 8942 compiler_needs_object=yes | |
| 8943 ;; | |
| 8944 esac | |
| 8945 case `$CC -V 2>&1 | sed 5q` in | |
| 8946 *Sun\ C*) # Sun C 5.9 | |
| 8947 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' | |
| 8948 compiler_needs_object=yes | |
| 8949 tmp_sharedflag='-G' ;; | |
| 8950 *Sun\ F*) # Sun Fortran 8.3 | |
| 8951 tmp_sharedflag='-G' ;; | |
| 8952 esac | |
| 8953 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 8954 | |
| 8955 if test "x$supports_anon_versioning" = xyes; then | |
| 8956 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 8957 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
| 8958 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 8959 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | |
| 8960 fi | |
| 8961 | |
| 8962 case $cc_basename in | |
| 8963 xlf* | bgf* | bgxlf* | mpixlf*) | |
| 8964 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | |
| 8965 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' | |
| 8966 hardcode_libdir_flag_spec= | |
| 8967 hardcode_libdir_flag_spec_ld='-rpath $libdir' | |
| 8968 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' | |
| 8969 if test "x$supports_anon_versioning" = xyes; then | |
| 8970 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 8971 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
| 8972 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 8973 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | |
| 8974 fi | |
| 8975 ;; | |
| 8976 esac | |
| 8977 else | |
| 8978 ld_shlibs=no | |
| 8979 fi | |
| 8980 ;; | |
| 8981 | |
| 8982 netbsd* | netbsdelf*-gnu) | |
| 8983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 8984 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | |
| 8985 wlarc= | |
| 8986 else | |
| 8987 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 8988 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 8989 fi | |
| 8990 ;; | |
| 8991 | |
| 8992 solaris*) | |
| 8993 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | |
| 8994 ld_shlibs=no | |
| 8995 cat <<_LT_EOF 1>&2 | |
| 8996 | |
| 8997 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | |
| 8998 *** create shared libraries on Solaris systems. Therefore, libtool | |
| 8999 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 9000 *** binutils to release 2.9.1 or newer. Another option is to modify | |
| 9001 *** your PATH or compiler configuration so that the native linker is | |
| 9002 *** used, and then restart. | |
| 9003 | |
| 9004 _LT_EOF | |
| 9005 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 9006 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 9007 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 9008 else | |
| 9009 ld_shlibs=no | |
| 9010 fi | |
| 9011 ;; | |
| 9012 | |
| 9013 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
| 9014 case `$LD -v 2>&1` in | |
| 9015 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
| 9016 ld_shlibs=no | |
| 9017 cat <<_LT_EOF 1>&2 | |
| 9018 | |
| 9019 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
| 9020 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
| 9021 *** is disabling shared libraries support. We urge you to upgrade GNU | |
| 9022 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
| 9023 *** your PATH or compiler configuration so that the native linker is | |
| 9024 *** used, and then restart. | |
| 9025 | |
| 9026 _LT_EOF | |
| 9027 ;; | |
| 9028 *) | |
| 9029 # For security reasons, it is highly recommended that you always | |
| 9030 # use absolute paths for naming shared libraries, and exclude the | |
| 9031 # DT_RUNPATH tag from executables and libraries. But doing so | |
| 9032 # requires that you compile everything twice, which is a pain. | |
| 9033 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 9034 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 9036 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 9037 else | |
| 9038 ld_shlibs=no | |
| 9039 fi | |
| 9040 ;; | |
| 9041 esac | |
| 9042 ;; | |
| 9043 | |
| 9044 sunos4*) | |
| 9045 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | |
| 9046 wlarc= | |
| 9047 hardcode_direct=yes | |
| 9048 hardcode_shlibpath_var=no | |
| 9049 ;; | |
| 9050 | |
| 9051 *) | |
| 9052 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 9053 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 9054 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 9055 else | |
| 9056 ld_shlibs=no | |
| 9057 fi | |
| 9058 ;; | |
| 9059 esac | |
| 9060 | |
| 9061 if test "$ld_shlibs" = no; then | |
| 9062 runpath_var= | |
| 9063 hardcode_libdir_flag_spec= | |
| 9064 export_dynamic_flag_spec= | |
| 9065 whole_archive_flag_spec= | |
| 9066 fi | |
| 9067 else | |
| 9068 # PORTME fill in a description of your system's linker (not GNU ld) | |
| 9069 case $host_os in | |
| 9070 aix3*) | |
| 9071 allow_undefined_flag=unsupported | |
| 9072 always_export_symbols=yes | |
| 9073 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' | |
| 9074 # Note: this linker hardcodes the directories in LIBPATH if there | |
| 9075 # are no directories specified by -L. | |
| 9076 hardcode_minus_L=yes | |
| 9077 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | |
| 9078 # Neither direct hardcoding nor static linking is supported with a | |
| 9079 # broken collect2. | |
| 9080 hardcode_direct=unsupported | |
| 9081 fi | |
| 9082 ;; | |
| 9083 | |
| 9084 aix[4-9]*) | |
| 9085 if test "$host_cpu" = ia64; then | |
| 9086 # On IA64, the linker does run time linking by default, so we don't | |
| 9087 # have to do anything special. | |
| 9088 aix_use_runtimelinking=no | |
| 9089 exp_sym_flag='-Bexport' | |
| 9090 no_entry_flag="" | |
| 9091 else | |
| 9092 # If we're using GNU nm, then we don't want the "-C" option. | |
| 9093 # -C means demangle to AIX nm, but means don't demangle with GNU nm | |
| 9094 # Also, AIX nm treats weak defined symbols like other global | |
| 9095 # defined symbols, whereas GNU nm marks them as "W". | |
| 9096 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | |
| 9097 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' | |
| 9098 else | |
| 9099 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' | |
| 9100 fi | |
| 9101 aix_use_runtimelinking=no | |
| 9102 | |
| 9103 # Test if we are trying to use run time linking or normal | |
| 9104 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
| 9105 # need to do runtime linking. | |
| 9106 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | |
| 9107 for ld_flag in $LDFLAGS; do | |
| 9108 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | |
| 9109 aix_use_runtimelinking=yes | |
| 9110 break | |
| 9111 fi | |
| 9112 done | |
| 9113 ;; | |
| 9114 esac | |
| 9115 | |
| 9116 exp_sym_flag='-bexport' | |
| 9117 no_entry_flag='-bnoentry' | |
| 9118 fi | |
| 9119 | |
| 9120 # When large executables or shared objects are built, AIX ld can | |
| 9121 # have problems creating the table of contents. If linking a library | |
| 9122 # or program results in "error TOC overflow" add -mminimal-toc to | |
| 9123 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | |
| 9124 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | |
| 9125 | |
| 9126 archive_cmds='' | |
| 9127 hardcode_direct=yes | |
| 9128 hardcode_direct_absolute=yes | |
| 9129 hardcode_libdir_separator=':' | |
| 9130 link_all_deplibs=yes | |
| 9131 file_list_spec='${wl}-f,' | |
| 9132 | |
| 9133 if test "$GCC" = yes; then | |
| 9134 case $host_os in aix4.[012]|aix4.[012].*) | |
| 9135 # We only want to do this on AIX 4.2 and lower, the check | |
| 9136 # below for broken collect2 doesn't work under 4.3+ | |
| 9137 collect2name=`${CC} -print-prog-name=collect2` | |
| 9138 if test -f "$collect2name" && | |
| 9139 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | |
| 9140 then | |
| 9141 # We have reworked collect2 | |
| 9142 : | |
| 9143 else | |
| 9144 # We have old collect2 | |
| 9145 hardcode_direct=unsupported | |
| 9146 # It fails to find uninstalled libraries when the uninstalled | |
| 9147 # path is not listed in the libpath. Setting hardcode_minus_L | |
| 9148 # to unsupported forces relinking | |
| 9149 hardcode_minus_L=yes | |
| 9150 hardcode_libdir_flag_spec='-L$libdir' | |
| 9151 hardcode_libdir_separator= | |
| 9152 fi | |
| 9153 ;; | |
| 9154 esac | |
| 9155 shared_flag='-shared' | |
| 9156 if test "$aix_use_runtimelinking" = yes; then | |
| 9157 shared_flag="$shared_flag "'${wl}-G' | |
| 9158 fi | |
| 9159 link_all_deplibs=no | |
| 9160 else | |
| 9161 # not using gcc | |
| 9162 if test "$host_cpu" = ia64; then | |
| 9163 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |
| 9164 # chokes on -Wl,-G. The following line is correct: | |
| 9165 shared_flag='-G' | |
| 9166 else | |
| 9167 if test "$aix_use_runtimelinking" = yes; then | |
| 9168 shared_flag='${wl}-G' | |
| 9169 else | |
| 9170 shared_flag='${wl}-bM:SRE' | |
| 9171 fi | |
| 9172 fi | |
| 9173 fi | |
| 9174 | |
| 9175 export_dynamic_flag_spec='${wl}-bexpall' | |
| 9176 # It seems that -bexpall does not export symbols beginning with | |
| 9177 # underscore (_), so it is better to generate a list of symbols to export. | |
| 9178 always_export_symbols=yes | |
| 9179 if test "$aix_use_runtimelinking" = yes; then | |
| 9180 # Warning - without using the other runtime loading flags (-brtl), | |
| 9181 # -berok will link without error, but may produce a broken library. | |
| 9182 allow_undefined_flag='-berok' | |
| 9183 # Determine the default libpath from the value encoded in an | |
| 9184 # empty executable. | |
| 9185 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 9186 aix_libpath=$lt_cv_aix_libpath | |
| 9187 else | |
| 9188 if ${lt_cv_aix_libpath_+:} false; then : | |
| 9189 $as_echo_n "(cached) " >&6 | |
| 9190 else | |
| 9191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9192 /* end confdefs.h. */ | |
| 9193 | |
| 9194 int | |
| 9195 main () | |
| 9196 { | |
| 9197 | |
| 9198 ; | |
| 9199 return 0; | |
| 9200 } | |
| 9201 _ACEOF | |
| 9202 if ac_fn_c_try_link "$LINENO"; then : | |
| 9203 | |
| 9204 lt_aix_libpath_sed=' | |
| 9205 /Import File Strings/,/^$/ { | |
| 9206 /^0/ { | |
| 9207 s/^0 *\([^ ]*\) *$/\1/ | |
| 9208 p | |
| 9209 } | |
| 9210 }' | |
| 9211 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 9212 # Check for a 64-bit object if we didn't find anything. | |
| 9213 if test -z "$lt_cv_aix_libpath_"; then | |
| 9214 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 9215 fi | |
| 9216 fi | |
| 9217 rm -f core conftest.err conftest.$ac_objext \ | |
| 9218 conftest$ac_exeext conftest.$ac_ext | |
| 9219 if test -z "$lt_cv_aix_libpath_"; then | |
| 9220 lt_cv_aix_libpath_="/usr/lib:/lib" | |
| 9221 fi | |
| 9222 | |
| 9223 fi | |
| 9224 | |
| 9225 aix_libpath=$lt_cv_aix_libpath_ | |
| 9226 fi | |
| 9227 | |
| 9228 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 9229 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" | |
| 9230 else | |
| 9231 if test "$host_cpu" = ia64; then | |
| 9232 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | |
| 9233 allow_undefined_flag="-z nodefs" | |
| 9234 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" | |
| 9235 else | |
| 9236 # Determine the default libpath from the value encoded in an | |
| 9237 # empty executable. | |
| 9238 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 9239 aix_libpath=$lt_cv_aix_libpath | |
| 9240 else | |
| 9241 if ${lt_cv_aix_libpath_+:} false; then : | |
| 9242 $as_echo_n "(cached) " >&6 | |
| 9243 else | |
| 9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9245 /* end confdefs.h. */ | |
| 9246 | |
| 9247 int | |
| 9248 main () | |
| 9249 { | |
| 9250 | |
| 9251 ; | |
| 9252 return 0; | |
| 9253 } | |
| 9254 _ACEOF | |
| 9255 if ac_fn_c_try_link "$LINENO"; then : | |
| 9256 | |
| 9257 lt_aix_libpath_sed=' | |
| 9258 /Import File Strings/,/^$/ { | |
| 9259 /^0/ { | |
| 9260 s/^0 *\([^ ]*\) *$/\1/ | |
| 9261 p | |
| 9262 } | |
| 9263 }' | |
| 9264 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 9265 # Check for a 64-bit object if we didn't find anything. | |
| 9266 if test -z "$lt_cv_aix_libpath_"; then | |
| 9267 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 9268 fi | |
| 9269 fi | |
| 9270 rm -f core conftest.err conftest.$ac_objext \ | |
| 9271 conftest$ac_exeext conftest.$ac_ext | |
| 9272 if test -z "$lt_cv_aix_libpath_"; then | |
| 9273 lt_cv_aix_libpath_="/usr/lib:/lib" | |
| 9274 fi | |
| 9275 | |
| 9276 fi | |
| 9277 | |
| 9278 aix_libpath=$lt_cv_aix_libpath_ | |
| 9279 fi | |
| 9280 | |
| 9281 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 9282 # Warning - without using the other run time loading flags, | |
| 9283 # -berok will link without error, but may produce a broken library. | |
| 9284 no_undefined_flag=' ${wl}-bernotok' | |
| 9285 allow_undefined_flag=' ${wl}-berok' | |
| 9286 if test "$with_gnu_ld" = yes; then | |
| 9287 # We only use this code for GNU lds that support --whole-archive. | |
| 9288 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | |
| 9289 else | |
| 9290 # Exported symbols can be pulled into shared objects from archives | |
| 9291 whole_archive_flag_spec='$convenience' | |
| 9292 fi | |
| 9293 archive_cmds_need_lc=yes | |
| 9294 # This is similar to how AIX traditionally builds its shared libraries. | |
| 9295 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' | |
| 9296 fi | |
| 9297 fi | |
| 9298 ;; | |
| 9299 | |
| 9300 amigaos*) | |
| 9301 case $host_cpu in | |
| 9302 powerpc) | |
| 9303 # see comment about AmigaOS4 .so support | |
| 9304 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 9305 archive_expsym_cmds='' | |
| 9306 ;; | |
| 9307 m68k) | |
| 9308 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)' | |
| 9309 hardcode_libdir_flag_spec='-L$libdir' | |
| 9310 hardcode_minus_L=yes | |
| 9311 ;; | |
| 9312 esac | |
| 9313 ;; | |
| 9314 | |
| 9315 bsdi[45]*) | |
| 9316 export_dynamic_flag_spec=-rdynamic | |
| 9317 ;; | |
| 9318 | |
| 9319 cygwin* | mingw* | pw32* | cegcc*) | |
| 9320 # When not using gcc, we currently assume that we are using | |
| 9321 # Microsoft Visual C++. | |
| 9322 # hardcode_libdir_flag_spec is actually meaningless, as there is | |
| 9323 # no search path for DLLs. | |
| 9324 case $cc_basename in | |
| 9325 cl*) | |
| 9326 # Native MSVC | |
| 9327 hardcode_libdir_flag_spec=' ' | |
| 9328 allow_undefined_flag=unsupported | |
| 9329 always_export_symbols=yes | |
| 9330 file_list_spec='@' | |
| 9331 # Tell ltmain to make .lib files, not .a files. | |
| 9332 libext=lib | |
| 9333 # Tell ltmain to make .dll files, not .so files. | |
| 9334 shrext_cmds=".dll" | |
| 9335 # FIXME: Setting linknames here is a bad hack. | |
| 9336 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' | |
| 9337 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | |
| 9338 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; | |
| 9339 else | |
| 9340 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; | |
| 9341 fi~ | |
| 9342 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ | |
| 9343 linknames=' | |
| 9344 # The linker will not automatically build a static lib if we build a DLL. | |
| 9345 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' | |
| 9346 enable_shared_with_static_runtimes=yes | |
| 9347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | |
| 9348 # Don't use ranlib | |
| 9349 old_postinstall_cmds='chmod 644 $oldlib' | |
| 9350 postlink_cmds='lt_outputfile="@OUTPUT@"~ | |
| 9351 lt_tool_outputfile="@TOOL_OUTPUT@"~ | |
| 9352 case $lt_outputfile in | |
| 9353 *.exe|*.EXE) ;; | |
| 9354 *) | |
| 9355 lt_outputfile="$lt_outputfile.exe" | |
| 9356 lt_tool_outputfile="$lt_tool_outputfile.exe" | |
| 9357 ;; | |
| 9358 esac~ | |
| 9359 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then | |
| 9360 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; | |
| 9361 $RM "$lt_outputfile.manifest"; | |
| 9362 fi' | |
| 9363 ;; | |
| 9364 *) | |
| 9365 # Assume MSVC wrapper | |
| 9366 hardcode_libdir_flag_spec=' ' | |
| 9367 allow_undefined_flag=unsupported | |
| 9368 # Tell ltmain to make .lib files, not .a files. | |
| 9369 libext=lib | |
| 9370 # Tell ltmain to make .dll files, not .so files. | |
| 9371 shrext_cmds=".dll" | |
| 9372 # FIXME: Setting linknames here is a bad hack. | |
| 9373 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | |
| 9374 # The linker will automatically build a .lib file if we build a DLL. | |
| 9375 old_archive_from_new_cmds='true' | |
| 9376 # FIXME: Should let the user specify the lib program. | |
| 9377 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | |
| 9378 enable_shared_with_static_runtimes=yes | |
| 9379 ;; | |
| 9380 esac | |
| 9381 ;; | |
| 9382 | |
| 9383 darwin* | rhapsody*) | |
| 9384 | |
| 9385 | |
| 9386 archive_cmds_need_lc=no | |
| 9387 hardcode_direct=no | |
| 9388 hardcode_automatic=yes | |
| 9389 hardcode_shlibpath_var=unsupported | |
| 9390 if test "$lt_cv_ld_force_load" = "yes"; then | |
| 9391 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\"`' | |
| 9392 else | |
| 9393 whole_archive_flag_spec='' | |
| 9394 fi | |
| 9395 link_all_deplibs=yes | |
| 9396 allow_undefined_flag="$_lt_dar_allow_undefined" | |
| 9397 case $cc_basename in | |
| 9398 ifort*) _lt_dar_can_shared=yes ;; | |
| 9399 *) _lt_dar_can_shared=$GCC ;; | |
| 9400 esac | |
| 9401 if test "$_lt_dar_can_shared" = "yes"; then | |
| 9402 output_verbose_link_cmd=func_echo_all | |
| 9403 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | |
| 9404 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | |
| 9405 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}" | |
| 9406 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}" | |
| 9407 | |
| 9408 else | |
| 9409 ld_shlibs=no | |
| 9410 fi | |
| 9411 | |
| 9412 ;; | |
| 9413 | |
| 9414 dgux*) | |
| 9415 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9416 hardcode_libdir_flag_spec='-L$libdir' | |
| 9417 hardcode_shlibpath_var=no | |
| 9418 ;; | |
| 9419 | |
| 9420 freebsd1*) | |
| 9421 ld_shlibs=no | |
| 9422 ;; | |
| 9423 | |
| 9424 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
| 9425 # support. Future versions do this automatically, but an explicit c++rt0.o | |
| 9426 # does not break anything, and helps significantly (at the cost of a little | |
| 9427 # extra space). | |
| 9428 freebsd2.2*) | |
| 9429 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | |
| 9430 hardcode_libdir_flag_spec='-R$libdir' | |
| 9431 hardcode_direct=yes | |
| 9432 hardcode_shlibpath_var=no | |
| 9433 ;; | |
| 9434 | |
| 9435 # Unfortunately, older versions of FreeBSD 2 do not have this feature. | |
| 9436 freebsd2*) | |
| 9437 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | |
| 9438 hardcode_direct=yes | |
| 9439 hardcode_minus_L=yes | |
| 9440 hardcode_shlibpath_var=no | |
| 9441 ;; | |
| 9442 | |
| 9443 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | |
| 9444 freebsd* | dragonfly*) | |
| 9445 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | |
| 9446 hardcode_libdir_flag_spec='-R$libdir' | |
| 9447 hardcode_direct=yes | |
| 9448 hardcode_shlibpath_var=no | |
| 9449 ;; | |
| 9450 | |
| 9451 hpux9*) | |
| 9452 if test "$GCC" = yes; then | |
| 9453 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' | |
| 9454 else | |
| 9455 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' | |
| 9456 fi | |
| 9457 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 9458 hardcode_libdir_separator=: | |
| 9459 hardcode_direct=yes | |
| 9460 | |
| 9461 # hardcode_minus_L: Not really in the search PATH, | |
| 9462 # but as the default location of the library. | |
| 9463 hardcode_minus_L=yes | |
| 9464 export_dynamic_flag_spec='${wl}-E' | |
| 9465 ;; | |
| 9466 | |
| 9467 hpux10*) | |
| 9468 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 9469 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 9470 else | |
| 9471 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | |
| 9472 fi | |
| 9473 if test "$with_gnu_ld" = no; then | |
| 9474 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 9475 hardcode_libdir_flag_spec_ld='+b $libdir' | |
| 9476 hardcode_libdir_separator=: | |
| 9477 hardcode_direct=yes | |
| 9478 hardcode_direct_absolute=yes | |
| 9479 export_dynamic_flag_spec='${wl}-E' | |
| 9480 # hardcode_minus_L: Not really in the search PATH, | |
| 9481 # but as the default location of the library. | |
| 9482 hardcode_minus_L=yes | |
| 9483 fi | |
| 9484 ;; | |
| 9485 | |
| 9486 hpux11*) | |
| 9487 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | |
| 9488 case $host_cpu in | |
| 9489 hppa*64*) | |
| 9490 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9491 ;; | |
| 9492 ia64*) | |
| 9493 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
| 9494 ;; | |
| 9495 *) | |
| 9496 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 9497 ;; | |
| 9498 esac | |
| 9499 else | |
| 9500 case $host_cpu in | |
| 9501 hppa*64*) | |
| 9502 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9503 ;; | |
| 9504 ia64*) | |
| 9505 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
| 9506 ;; | |
| 9507 *) | |
| 9508 | |
| 9509 # Older versions of the 11.00 compiler do not understand -b yet | |
| 9510 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) | |
| 9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 | |
| 9512 $as_echo_n "checking if $CC understands -b... " >&6; } | |
| 9513 if ${lt_cv_prog_compiler__b+:} false; then : | |
| 9514 $as_echo_n "(cached) " >&6 | |
| 9515 else | |
| 9516 lt_cv_prog_compiler__b=no | |
| 9517 save_LDFLAGS="$LDFLAGS" | |
| 9518 LDFLAGS="$LDFLAGS -b" | |
| 9519 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 9520 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 9521 # The linker can only warn and ignore the option if not recognized | |
| 9522 # So say no if there are warnings | |
| 9523 if test -s conftest.err; then | |
| 9524 # Append any errors to the config.log. | |
| 9525 cat conftest.err 1>&5 | |
| 9526 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 9527 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 9528 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 9529 lt_cv_prog_compiler__b=yes | |
| 9530 fi | |
| 9531 else | |
| 9532 lt_cv_prog_compiler__b=yes | |
| 9533 fi | |
| 9534 fi | |
| 9535 $RM -r conftest* | |
| 9536 LDFLAGS="$save_LDFLAGS" | |
| 9537 | |
| 9538 fi | |
| 9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | |
| 9540 $as_echo "$lt_cv_prog_compiler__b" >&6; } | |
| 9541 | |
| 9542 if test x"$lt_cv_prog_compiler__b" = xyes; then | |
| 9543 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
| 9544 else | |
| 9545 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | |
| 9546 fi | |
| 9547 | |
| 9548 ;; | |
| 9549 esac | |
| 9550 fi | |
| 9551 if test "$with_gnu_ld" = no; then | |
| 9552 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
| 9553 hardcode_libdir_separator=: | |
| 9554 | |
| 9555 case $host_cpu in | |
| 9556 hppa*64*|ia64*) | |
| 9557 hardcode_direct=no | |
| 9558 hardcode_shlibpath_var=no | |
| 9559 ;; | |
| 9560 *) | |
| 9561 hardcode_direct=yes | |
| 9562 hardcode_direct_absolute=yes | |
| 9563 export_dynamic_flag_spec='${wl}-E' | |
| 9564 | |
| 9565 # hardcode_minus_L: Not really in the search PATH, | |
| 9566 # but as the default location of the library. | |
| 9567 hardcode_minus_L=yes | |
| 9568 ;; | |
| 9569 esac | |
| 9570 fi | |
| 9571 ;; | |
| 9572 | |
| 9573 irix5* | irix6* | nonstopux*) | |
| 9574 if test "$GCC" = yes; then | |
| 9575 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' | |
| 9576 # Try to use the -exported_symbol ld option, if it does not | |
| 9577 # work, assume that -exports_file does not work either and | |
| 9578 # implicitly export all symbols. | |
| 9579 # This should be the same for all languages, so no per-tag cache variable. | |
| 9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 | |
| 9581 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } | |
| 9582 if ${lt_cv_irix_exported_symbol+:} false; then : | |
| 9583 $as_echo_n "(cached) " >&6 | |
| 9584 else | |
| 9585 save_LDFLAGS="$LDFLAGS" | |
| 9586 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" | |
| 9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 9588 /* end confdefs.h. */ | |
| 9589 int foo (void) { return 0; } | |
| 9590 _ACEOF | |
| 9591 if ac_fn_c_try_link "$LINENO"; then : | |
| 9592 lt_cv_irix_exported_symbol=yes | |
| 9593 else | |
| 9594 lt_cv_irix_exported_symbol=no | |
| 9595 fi | |
| 9596 rm -f core conftest.err conftest.$ac_objext \ | |
| 9597 conftest$ac_exeext conftest.$ac_ext | |
| 9598 LDFLAGS="$save_LDFLAGS" | |
| 9599 fi | |
| 9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 | |
| 9601 $as_echo "$lt_cv_irix_exported_symbol" >&6; } | |
| 9602 if test "$lt_cv_irix_exported_symbol" = yes; then | |
| 9603 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' | |
| 9604 fi | |
| 9605 else | |
| 9606 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' | |
| 9607 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' | |
| 9608 fi | |
| 9609 archive_cmds_need_lc='no' | |
| 9610 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 9611 hardcode_libdir_separator=: | |
| 9612 inherit_rpath=yes | |
| 9613 link_all_deplibs=yes | |
| 9614 ;; | |
| 9615 | |
| 9616 netbsd* | netbsdelf*-gnu) | |
| 9617 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 9618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | |
| 9619 else | |
| 9620 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | |
| 9621 fi | |
| 9622 hardcode_libdir_flag_spec='-R$libdir' | |
| 9623 hardcode_direct=yes | |
| 9624 hardcode_shlibpath_var=no | |
| 9625 ;; | |
| 9626 | |
| 9627 newsos6) | |
| 9628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9629 hardcode_direct=yes | |
| 9630 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 9631 hardcode_libdir_separator=: | |
| 9632 hardcode_shlibpath_var=no | |
| 9633 ;; | |
| 9634 | |
| 9635 *nto* | *qnx*) | |
| 9636 ;; | |
| 9637 | |
| 9638 openbsd*) | |
| 9639 if test -f /usr/libexec/ld.so; then | |
| 9640 hardcode_direct=yes | |
| 9641 hardcode_shlibpath_var=no | |
| 9642 hardcode_direct_absolute=yes | |
| 9643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 9644 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | |
| 9645 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
| 9646 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 9647 export_dynamic_flag_spec='${wl}-E' | |
| 9648 else | |
| 9649 case $host_os in | |
| 9650 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | |
| 9651 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | |
| 9652 hardcode_libdir_flag_spec='-R$libdir' | |
| 9653 ;; | |
| 9654 *) | |
| 9655 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | |
| 9656 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
| 9657 ;; | |
| 9658 esac | |
| 9659 fi | |
| 9660 else | |
| 9661 ld_shlibs=no | |
| 9662 fi | |
| 9663 ;; | |
| 9664 | |
| 9665 os2*) | |
| 9666 hardcode_libdir_flag_spec='-L$libdir' | |
| 9667 hardcode_minus_L=yes | |
| 9668 allow_undefined_flag=unsupported | |
| 9669 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' | |
| 9670 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | |
| 9671 ;; | |
| 9672 | |
| 9673 osf3*) | |
| 9674 if test "$GCC" = yes; then | |
| 9675 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 9676 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' | |
| 9677 else | |
| 9678 allow_undefined_flag=' -expect_unresolved \*' | |
| 9679 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' | |
| 9680 fi | |
| 9681 archive_cmds_need_lc='no' | |
| 9682 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 9683 hardcode_libdir_separator=: | |
| 9684 ;; | |
| 9685 | |
| 9686 osf4* | osf5*) # as osf3* with the addition of -msym flag | |
| 9687 if test "$GCC" = yes; then | |
| 9688 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | |
| 9689 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' | |
| 9690 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
| 9691 else | |
| 9692 allow_undefined_flag=' -expect_unresolved \*' | |
| 9693 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' | |
| 9694 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~ | |
| 9695 $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' | |
| 9696 | |
| 9697 # Both c and cxx compiler support -rpath directly | |
| 9698 hardcode_libdir_flag_spec='-rpath $libdir' | |
| 9699 fi | |
| 9700 archive_cmds_need_lc='no' | |
| 9701 hardcode_libdir_separator=: | |
| 9702 ;; | |
| 9703 | |
| 9704 solaris*) | |
| 9705 no_undefined_flag=' -z defs' | |
| 9706 if test "$GCC" = yes; then | |
| 9707 wlarc='${wl}' | |
| 9708 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9709 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 9710 $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' | |
| 9711 else | |
| 9712 case `$CC -V 2>&1` in | |
| 9713 *"Compilers 5.0"*) | |
| 9714 wlarc='' | |
| 9715 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9716 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 9717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' | |
| 9718 ;; | |
| 9719 *) | |
| 9720 wlarc='${wl}' | |
| 9721 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9722 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 9723 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | |
| 9724 ;; | |
| 9725 esac | |
| 9726 fi | |
| 9727 hardcode_libdir_flag_spec='-R$libdir' | |
| 9728 hardcode_shlibpath_var=no | |
| 9729 case $host_os in | |
| 9730 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
| 9731 *) | |
| 9732 # The compiler driver will combine and reorder linker options, | |
| 9733 # but understands `-z linker_flag'. GCC discards it without `$wl', | |
| 9734 # but is careful enough not to reorder. | |
| 9735 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
| 9736 if test "$GCC" = yes; then | |
| 9737 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | |
| 9738 else | |
| 9739 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | |
| 9740 fi | |
| 9741 ;; | |
| 9742 esac | |
| 9743 link_all_deplibs=yes | |
| 9744 ;; | |
| 9745 | |
| 9746 sunos4*) | |
| 9747 if test "x$host_vendor" = xsequent; then | |
| 9748 # Use $CC to link under sequent, because it throws in some extra .o | |
| 9749 # files that make .init and .fini sections work. | |
| 9750 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9751 else | |
| 9752 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | |
| 9753 fi | |
| 9754 hardcode_libdir_flag_spec='-L$libdir' | |
| 9755 hardcode_direct=yes | |
| 9756 hardcode_minus_L=yes | |
| 9757 hardcode_shlibpath_var=no | |
| 9758 ;; | |
| 9759 | |
| 9760 sysv4) | |
| 9761 case $host_vendor in | |
| 9762 sni) | |
| 9763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9764 hardcode_direct=yes # is this really true??? | |
| 9765 ;; | |
| 9766 siemens) | |
| 9767 ## LD is ld it makes a PLAMLIB | |
| 9768 ## CC just makes a GrossModule. | |
| 9769 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | |
| 9770 reload_cmds='$CC -r -o $output$reload_objs' | |
| 9771 hardcode_direct=no | |
| 9772 ;; | |
| 9773 motorola) | |
| 9774 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9775 hardcode_direct=no #Motorola manual says yes, but my tests say they lie | |
| 9776 ;; | |
| 9777 esac | |
| 9778 runpath_var='LD_RUN_PATH' | |
| 9779 hardcode_shlibpath_var=no | |
| 9780 ;; | |
| 9781 | |
| 9782 sysv4.3*) | |
| 9783 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9784 hardcode_shlibpath_var=no | |
| 9785 export_dynamic_flag_spec='-Bexport' | |
| 9786 ;; | |
| 9787 | |
| 9788 sysv4*MP*) | |
| 9789 if test -d /usr/nec; then | |
| 9790 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9791 hardcode_shlibpath_var=no | |
| 9792 runpath_var=LD_RUN_PATH | |
| 9793 hardcode_runpath_var=yes | |
| 9794 ld_shlibs=yes | |
| 9795 fi | |
| 9796 ;; | |
| 9797 | |
| 9798 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | |
| 9799 no_undefined_flag='${wl}-z,text' | |
| 9800 archive_cmds_need_lc=no | |
| 9801 hardcode_shlibpath_var=no | |
| 9802 runpath_var='LD_RUN_PATH' | |
| 9803 | |
| 9804 if test "$GCC" = yes; then | |
| 9805 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9806 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9807 else | |
| 9808 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9809 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9810 fi | |
| 9811 ;; | |
| 9812 | |
| 9813 sysv5* | sco3.2v5* | sco5v6*) | |
| 9814 # Note: We can NOT use -z defs as we might desire, because we do not | |
| 9815 # link with -lc, and that would cause any symbols used from libc to | |
| 9816 # always be unresolved, which means just about no library would | |
| 9817 # ever link correctly. If we're not using GNU ld we use -z text | |
| 9818 # though, which does catch some bad symbols but isn't as heavy-handed | |
| 9819 # as -z defs. | |
| 9820 no_undefined_flag='${wl}-z,text' | |
| 9821 allow_undefined_flag='${wl}-z,nodefs' | |
| 9822 archive_cmds_need_lc=no | |
| 9823 hardcode_shlibpath_var=no | |
| 9824 hardcode_libdir_flag_spec='${wl}-R,$libdir' | |
| 9825 hardcode_libdir_separator=':' | |
| 9826 link_all_deplibs=yes | |
| 9827 export_dynamic_flag_spec='${wl}-Bexport' | |
| 9828 runpath_var='LD_RUN_PATH' | |
| 9829 | |
| 9830 if test "$GCC" = yes; then | |
| 9831 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9832 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9833 else | |
| 9834 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9835 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 9836 fi | |
| 9837 ;; | |
| 9838 | |
| 9839 uts4*) | |
| 9840 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
| 9841 hardcode_libdir_flag_spec='-L$libdir' | |
| 9842 hardcode_shlibpath_var=no | |
| 9843 ;; | |
| 9844 | |
| 9845 *) | |
| 9846 ld_shlibs=no | |
| 9847 ;; | |
| 9848 esac | |
| 9849 | |
| 9850 if test x$host_vendor = xsni; then | |
| 9851 case $host in | |
| 9852 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
| 9853 export_dynamic_flag_spec='${wl}-Blargedynsym' | |
| 9854 ;; | |
| 9855 esac | |
| 9856 fi | |
| 9857 fi | |
| 9858 | |
| 9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | |
| 9860 $as_echo "$ld_shlibs" >&6; } | |
| 9861 test "$ld_shlibs" = no && can_build_shared=no | |
| 9862 | |
| 9863 with_gnu_ld=$with_gnu_ld | |
| 9864 | |
| 9865 | |
| 9866 | |
| 9867 | |
| 9868 | |
| 9869 | |
| 9870 | |
| 9871 | |
| 9872 | |
| 9873 | |
| 9874 | |
| 9875 | |
| 9876 | |
| 9877 | |
| 9878 | |
| 9879 # | |
| 9880 # Do we need to explicitly link libc? | |
| 9881 # | |
| 9882 case "x$archive_cmds_need_lc" in | |
| 9883 x|xyes) | |
| 9884 # Assume -lc should be added | |
| 9885 archive_cmds_need_lc=yes | |
| 9886 | |
| 9887 if test "$enable_shared" = yes && test "$GCC" = yes; then | |
| 9888 case $archive_cmds in | |
| 9889 *'~'*) | |
| 9890 # FIXME: we may have to deal with multi-command sequences. | |
| 9891 ;; | |
| 9892 '$CC '*) | |
| 9893 # Test whether the compiler implicitly links with -lc since on some | |
| 9894 # systems, -lgcc has to come before -lc. If gcc already passes -lc | |
| 9895 # to ld, don't add -lc before -lgcc. | |
| 9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 | |
| 9897 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | |
| 9898 if ${lt_cv_archive_cmds_need_lc+:} false; then : | |
| 9899 $as_echo_n "(cached) " >&6 | |
| 9900 else | |
| 9901 $RM conftest* | |
| 9902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 9903 | |
| 9904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 9905 (eval $ac_compile) 2>&5 | |
| 9906 ac_status=$? | |
| 9907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 9908 test $ac_status = 0; } 2>conftest.err; then | |
| 9909 soname=conftest | |
| 9910 lib=conftest | |
| 9911 libobjs=conftest.$ac_objext | |
| 9912 deplibs= | |
| 9913 wl=$lt_prog_compiler_wl | |
| 9914 pic_flag=$lt_prog_compiler_pic | |
| 9915 compiler_flags=-v | |
| 9916 linker_flags=-v | |
| 9917 verstring= | |
| 9918 output_objdir=. | |
| 9919 libname=conftest | |
| 9920 lt_save_allow_undefined_flag=$allow_undefined_flag | |
| 9921 allow_undefined_flag= | |
| 9922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | |
| 9923 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | |
| 9924 ac_status=$? | |
| 9925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 9926 test $ac_status = 0; } | |
| 9927 then | |
| 9928 lt_cv_archive_cmds_need_lc=no | |
| 9929 else | |
| 9930 lt_cv_archive_cmds_need_lc=yes | |
| 9931 fi | |
| 9932 allow_undefined_flag=$lt_save_allow_undefined_flag | |
| 9933 else | |
| 9934 cat conftest.err 1>&5 | |
| 9935 fi | |
| 9936 $RM conftest* | |
| 9937 | |
| 9938 fi | |
| 9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 | |
| 9940 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | |
| 9941 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | |
| 9942 ;; | |
| 9943 esac | |
| 9944 fi | |
| 9945 ;; | |
| 9946 esac | |
| 9947 | |
| 9948 | |
| 9949 | |
| 9950 | |
| 9951 | |
| 9952 | |
| 9953 | |
| 9954 | |
| 9955 | |
| 9956 | |
| 9957 | |
| 9958 | |
| 9959 | |
| 9960 | |
| 9961 | |
| 9962 | |
| 9963 | |
| 9964 | |
| 9965 | |
| 9966 | |
| 9967 | |
| 9968 | |
| 9969 | |
| 9970 | |
| 9971 | |
| 9972 | |
| 9973 | |
| 9974 | |
| 9975 | |
| 9976 | |
| 9977 | |
| 9978 | |
| 9979 | |
| 9980 | |
| 9981 | |
| 9982 | |
| 9983 | |
| 9984 | |
| 9985 | |
| 9986 | |
| 9987 | |
| 9988 | |
| 9989 | |
| 9990 | |
| 9991 | |
| 9992 | |
| 9993 | |
| 9994 | |
| 9995 | |
| 9996 | |
| 9997 | |
| 9998 | |
| 9999 | |
| 10000 | |
| 10001 | |
| 10002 | |
| 10003 | |
| 10004 | |
| 10005 | |
| 10006 | |
| 10007 | |
| 10008 | |
| 10009 | |
| 10010 | |
| 10011 | |
| 10012 | |
| 10013 | |
| 10014 | |
| 10015 | |
| 10016 | |
| 10017 | |
| 10018 | |
| 10019 | |
| 10020 | |
| 10021 | |
| 10022 | |
| 10023 | |
| 10024 | |
| 10025 | |
| 10026 | |
| 10027 | |
| 10028 | |
| 10029 | |
| 10030 | |
| 10031 | |
| 10032 | |
| 10033 | |
| 10034 | |
| 10035 | |
| 10036 | |
| 10037 | |
| 10038 | |
| 10039 | |
| 10040 | |
| 10041 | |
| 10042 | |
| 10043 | |
| 10044 | |
| 10045 | |
| 10046 | |
| 10047 | |
| 10048 | |
| 10049 | |
| 10050 | |
| 10051 | |
| 10052 | |
| 10053 | |
| 10054 | |
| 10055 | |
| 10056 | |
| 10057 | |
| 10058 | |
| 10059 | |
| 10060 | |
| 10061 | |
| 10062 | |
| 10063 | |
| 10064 | |
| 10065 | |
| 10066 | |
| 10067 | |
| 10068 | |
| 10069 | |
| 10070 | |
| 10071 | |
| 10072 | |
| 10073 | |
| 10074 | |
| 10075 | |
| 10076 | |
| 10077 | |
| 10078 | |
| 10079 | |
| 10080 | |
| 10081 | |
| 10082 | |
| 10083 | |
| 10084 | |
| 10085 | |
| 10086 | |
| 10087 | |
| 10088 | |
| 10089 | |
| 10090 | |
| 10091 | |
| 10092 | |
| 10093 | |
| 10094 | |
| 10095 | |
| 10096 | |
| 10097 | |
| 10098 | |
| 10099 | |
| 10100 | |
| 10101 | |
| 10102 | |
| 10103 | |
| 10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 | |
| 10105 $as_echo_n "checking dynamic linker characteristics... " >&6; } | |
| 10106 | |
| 10107 if test "$GCC" = yes; then | |
| 10108 case $host_os in | |
| 10109 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | |
| 10110 *) lt_awk_arg="/^libraries:/" ;; | |
| 10111 esac | |
| 10112 case $host_os in | |
| 10113 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; | |
| 10114 *) lt_sed_strip_eq="s,=/,/,g" ;; | |
| 10115 esac | |
| 10116 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` | |
| 10117 case $lt_search_path_spec in | |
| 10118 *\;*) | |
| 10119 # if the path contains ";" then we assume it to be the separator | |
| 10120 # otherwise default to the standard path separator (i.e. ":") - it is | |
| 10121 # assumed that no part of a normal pathname contains ";" but that should | |
| 10122 # okay in the real world where ";" in dirpaths is itself problematic. | |
| 10123 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | |
| 10124 ;; | |
| 10125 *) | |
| 10126 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` | |
| 10127 ;; | |
| 10128 esac | |
| 10129 # Ok, now we have the path, separated by spaces, we can step through it | |
| 10130 # and add multilib dir if necessary. | |
| 10131 lt_tmp_lt_search_path_spec= | |
| 10132 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` | |
| 10133 for lt_sys_path in $lt_search_path_spec; do | |
| 10134 if test -d "$lt_sys_path/$lt_multi_os_dir"; then | |
| 10135 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" | |
| 10136 else | |
| 10137 test -d "$lt_sys_path" && \ | |
| 10138 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | |
| 10139 fi | |
| 10140 done | |
| 10141 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | |
| 10142 BEGIN {RS=" "; FS="/|\n";} { | |
| 10143 lt_foo=""; | |
| 10144 lt_count=0; | |
| 10145 for (lt_i = NF; lt_i > 0; lt_i--) { | |
| 10146 if ($lt_i != "" && $lt_i != ".") { | |
| 10147 if ($lt_i == "..") { | |
| 10148 lt_count++; | |
| 10149 } else { | |
| 10150 if (lt_count == 0) { | |
| 10151 lt_foo="/" $lt_i lt_foo; | |
| 10152 } else { | |
| 10153 lt_count--; | |
| 10154 } | |
| 10155 } | |
| 10156 } | |
| 10157 } | |
| 10158 if (lt_foo != "") { lt_freq[lt_foo]++; } | |
| 10159 if (lt_freq[lt_foo] == 1) { print lt_foo; } | |
| 10160 }'` | |
| 10161 # AWK program above erroneously prepends '/' to C:/dos/paths | |
| 10162 # for these hosts. | |
| 10163 case $host_os in | |
| 10164 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | |
| 10165 $SED 's,/\([A-Za-z]:\),\1,g'` ;; | |
| 10166 esac | |
| 10167 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | |
| 10168 else | |
| 10169 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | |
| 10170 fi | |
| 10171 library_names_spec= | |
| 10172 libname_spec='lib$name' | |
| 10173 soname_spec= | |
| 10174 shrext_cmds=".so" | |
| 10175 postinstall_cmds= | |
| 10176 postuninstall_cmds= | |
| 10177 finish_cmds= | |
| 10178 finish_eval= | |
| 10179 shlibpath_var= | |
| 10180 shlibpath_overrides_runpath=unknown | |
| 10181 version_type=none | |
| 10182 dynamic_linker="$host_os ld.so" | |
| 10183 sys_lib_dlsearch_path_spec="/lib /usr/lib" | |
| 10184 need_lib_prefix=unknown | |
| 10185 hardcode_into_libs=no | |
| 10186 | |
| 10187 # when you set need_version to no, make sure it does not cause -set_version | |
| 10188 # flags to be left without arguments | |
| 10189 need_version=unknown | |
| 10190 | |
| 10191 case $host_os in | |
| 10192 aix3*) | |
| 10193 version_type=linux | |
| 10194 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | |
| 10195 shlibpath_var=LIBPATH | |
| 10196 | |
| 10197 # AIX 3 has no versioning support, so we append a major version to the name. | |
| 10198 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10199 ;; | |
| 10200 | |
| 10201 aix[4-9]*) | |
| 10202 version_type=linux | |
| 10203 need_lib_prefix=no | |
| 10204 need_version=no | |
| 10205 hardcode_into_libs=yes | |
| 10206 if test "$host_cpu" = ia64; then | |
| 10207 # AIX 5 supports IA64 | |
| 10208 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | |
| 10209 shlibpath_var=LD_LIBRARY_PATH | |
| 10210 else | |
| 10211 # With GCC up to 2.95.x, collect2 would create an import file | |
| 10212 # for dependence libraries. The import file would start with | |
| 10213 # the line `#! .'. This would cause the generated library to | |
| 10214 # depend on `.', always an invalid library. This was fixed in | |
| 10215 # development snapshots of GCC prior to 3.0. | |
| 10216 case $host_os in | |
| 10217 aix4 | aix4.[01] | aix4.[01].*) | |
| 10218 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | |
| 10219 echo ' yes ' | |
| 10220 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | |
| 10221 : | |
| 10222 else | |
| 10223 can_build_shared=no | |
| 10224 fi | |
| 10225 ;; | |
| 10226 esac | |
| 10227 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | |
| 10228 # soname into executable. Probably we can add versioning support to | |
| 10229 # collect2, so additional links can be useful in future. | |
| 10230 if test "$aix_use_runtimelinking" = yes; then | |
| 10231 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | |
| 10232 # instead of lib<name>.a to let people know that these are not | |
| 10233 # typical AIX shared libraries. | |
| 10234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10235 else | |
| 10236 # We preserve .a as extension for shared libraries through AIX4.2 | |
| 10237 # and later when we are not doing run time linking. | |
| 10238 library_names_spec='${libname}${release}.a $libname.a' | |
| 10239 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10240 fi | |
| 10241 shlibpath_var=LIBPATH | |
| 10242 fi | |
| 10243 ;; | |
| 10244 | |
| 10245 amigaos*) | |
| 10246 case $host_cpu in | |
| 10247 powerpc) | |
| 10248 # Since July 2007 AmigaOS4 officially supports .so libraries. | |
| 10249 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | |
| 10250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10251 ;; | |
| 10252 m68k) | |
| 10253 library_names_spec='$libname.ixlibrary $libname.a' | |
| 10254 # Create ${libname}_ixlibrary.a entries in /sys/libs. | |
| 10255 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' | |
| 10256 ;; | |
| 10257 esac | |
| 10258 ;; | |
| 10259 | |
| 10260 beos*) | |
| 10261 library_names_spec='${libname}${shared_ext}' | |
| 10262 dynamic_linker="$host_os ld.so" | |
| 10263 shlibpath_var=LIBRARY_PATH | |
| 10264 ;; | |
| 10265 | |
| 10266 bsdi[45]*) | |
| 10267 version_type=linux | |
| 10268 need_version=no | |
| 10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10270 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10271 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | |
| 10272 shlibpath_var=LD_LIBRARY_PATH | |
| 10273 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | |
| 10274 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | |
| 10275 # the default ld.so.conf also contains /usr/contrib/lib and | |
| 10276 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | |
| 10277 # libtool to hard-code these into programs | |
| 10278 ;; | |
| 10279 | |
| 10280 cygwin* | mingw* | pw32* | cegcc*) | |
| 10281 version_type=windows | |
| 10282 shrext_cmds=".dll" | |
| 10283 need_version=no | |
| 10284 need_lib_prefix=no | |
| 10285 | |
| 10286 case $GCC,$cc_basename in | |
| 10287 yes,*) | |
| 10288 # gcc | |
| 10289 library_names_spec='$libname.dll.a' | |
| 10290 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 10291 postinstall_cmds='base_file=`basename \${file}`~ | |
| 10292 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | |
| 10293 dldir=$destdir/`dirname \$dlpath`~ | |
| 10294 test -d \$dldir || mkdir -p \$dldir~ | |
| 10295 $install_prog $dir/$dlname \$dldir/$dlname~ | |
| 10296 chmod a+x \$dldir/$dlname~ | |
| 10297 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
| 10298 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
| 10299 fi' | |
| 10300 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 10301 dlpath=$dir/\$dldll~ | |
| 10302 $RM \$dlpath' | |
| 10303 shlibpath_overrides_runpath=yes | |
| 10304 | |
| 10305 case $host_os in | |
| 10306 cygwin*) | |
| 10307 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | |
| 10308 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 10309 | |
| 10310 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | |
| 10311 ;; | |
| 10312 mingw* | cegcc*) | |
| 10313 # MinGW DLLs use traditional 'lib' prefix | |
| 10314 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 10315 ;; | |
| 10316 pw32*) | |
| 10317 # pw32 DLLs use 'pw' prefix rather than 'lib' | |
| 10318 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 10319 ;; | |
| 10320 esac | |
| 10321 dynamic_linker='Win32 ld.exe' | |
| 10322 ;; | |
| 10323 | |
| 10324 *,cl*) | |
| 10325 # Native MSVC | |
| 10326 libname_spec='$name' | |
| 10327 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 10328 library_names_spec='${libname}.dll.lib' | |
| 10329 | |
| 10330 case $build_os in | |
| 10331 mingw*) | |
| 10332 sys_lib_search_path_spec= | |
| 10333 lt_save_ifs=$IFS | |
| 10334 IFS=';' | |
| 10335 for lt_path in $LIB | |
| 10336 do | |
| 10337 IFS=$lt_save_ifs | |
| 10338 # Let DOS variable expansion print the short 8.3 style file name. | |
| 10339 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` | |
| 10340 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | |
| 10341 done | |
| 10342 IFS=$lt_save_ifs | |
| 10343 # Convert to MSYS style. | |
| 10344 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | |
| 10345 ;; | |
| 10346 cygwin*) | |
| 10347 # Convert to unix form, then to dos form, then back to unix form | |
| 10348 # but this time dos style (no spaces!) so that the unix form looks | |
| 10349 # like /cygdrive/c/PROGRA~1:/cygdr... | |
| 10350 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | |
| 10351 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` | |
| 10352 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
| 10353 ;; | |
| 10354 *) | |
| 10355 sys_lib_search_path_spec="$LIB" | |
| 10356 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then | |
| 10357 # It is most probably a Windows format PATH. | |
| 10358 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | |
| 10359 else | |
| 10360 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
| 10361 fi | |
| 10362 # FIXME: find the short name or the path components, as spaces are | |
| 10363 # common. (e.g. "Program Files" -> "PROGRA~1") | |
| 10364 ;; | |
| 10365 esac | |
| 10366 | |
| 10367 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 10368 postinstall_cmds='base_file=`basename \${file}`~ | |
| 10369 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | |
| 10370 dldir=$destdir/`dirname \$dlpath`~ | |
| 10371 test -d \$dldir || mkdir -p \$dldir~ | |
| 10372 $install_prog $dir/$dlname \$dldir/$dlname' | |
| 10373 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 10374 dlpath=$dir/\$dldll~ | |
| 10375 $RM \$dlpath' | |
| 10376 shlibpath_overrides_runpath=yes | |
| 10377 dynamic_linker='Win32 link.exe' | |
| 10378 ;; | |
| 10379 | |
| 10380 *) | |
| 10381 # Assume MSVC wrapper | |
| 10382 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | |
| 10383 dynamic_linker='Win32 ld.exe' | |
| 10384 ;; | |
| 10385 esac | |
| 10386 # FIXME: first we should search . and the directory the executable is in | |
| 10387 shlibpath_var=PATH | |
| 10388 ;; | |
| 10389 | |
| 10390 darwin* | rhapsody*) | |
| 10391 dynamic_linker="$host_os dyld" | |
| 10392 version_type=darwin | |
| 10393 need_lib_prefix=no | |
| 10394 need_version=no | |
| 10395 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' | |
| 10396 soname_spec='${libname}${release}${major}$shared_ext' | |
| 10397 shlibpath_overrides_runpath=yes | |
| 10398 shlibpath_var=DYLD_LIBRARY_PATH | |
| 10399 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | |
| 10400 | |
| 10401 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | |
| 10402 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | |
| 10403 ;; | |
| 10404 | |
| 10405 dgux*) | |
| 10406 version_type=linux | |
| 10407 need_lib_prefix=no | |
| 10408 need_version=no | |
| 10409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | |
| 10410 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10411 shlibpath_var=LD_LIBRARY_PATH | |
| 10412 ;; | |
| 10413 | |
| 10414 freebsd1*) | |
| 10415 dynamic_linker=no | |
| 10416 ;; | |
| 10417 | |
| 10418 freebsd* | dragonfly*) | |
| 10419 # DragonFly does not have aout. When/if they implement a new | |
| 10420 # versioning mechanism, adjust this. | |
| 10421 if test -x /usr/bin/objformat; then | |
| 10422 objformat=`/usr/bin/objformat` | |
| 10423 else | |
| 10424 case $host_os in | |
| 10425 freebsd[123]*) objformat=aout ;; | |
| 10426 *) objformat=elf ;; | |
| 10427 esac | |
| 10428 fi | |
| 10429 version_type=freebsd-$objformat | |
| 10430 case $version_type in | |
| 10431 freebsd-elf*) | |
| 10432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 10433 need_version=no | |
| 10434 need_lib_prefix=no | |
| 10435 ;; | |
| 10436 freebsd-*) | |
| 10437 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | |
| 10438 need_version=yes | |
| 10439 ;; | |
| 10440 esac | |
| 10441 shlibpath_var=LD_LIBRARY_PATH | |
| 10442 case $host_os in | |
| 10443 freebsd2*) | |
| 10444 shlibpath_overrides_runpath=yes | |
| 10445 ;; | |
| 10446 freebsd3.[01]* | freebsdelf3.[01]*) | |
| 10447 shlibpath_overrides_runpath=yes | |
| 10448 hardcode_into_libs=yes | |
| 10449 ;; | |
| 10450 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | |
| 10451 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
| 10452 shlibpath_overrides_runpath=no | |
| 10453 hardcode_into_libs=yes | |
| 10454 ;; | |
| 10455 *) # from 4.6 on, and DragonFly | |
| 10456 shlibpath_overrides_runpath=yes | |
| 10457 hardcode_into_libs=yes | |
| 10458 ;; | |
| 10459 esac | |
| 10460 ;; | |
| 10461 | |
| 10462 gnu*) | |
| 10463 version_type=linux | |
| 10464 need_lib_prefix=no | |
| 10465 need_version=no | |
| 10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | |
| 10467 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10468 shlibpath_var=LD_LIBRARY_PATH | |
| 10469 shlibpath_overrides_runpath=no | |
| 10470 hardcode_into_libs=yes | |
| 10471 ;; | |
| 10472 | |
| 10473 haiku*) | |
| 10474 version_type=linux | |
| 10475 need_lib_prefix=no | |
| 10476 need_version=no | |
| 10477 dynamic_linker="$host_os runtime_loader" | |
| 10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | |
| 10479 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10480 shlibpath_var=LIBRARY_PATH | |
| 10481 shlibpath_overrides_runpath=yes | |
| 10482 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' | |
| 10483 hardcode_into_libs=yes | |
| 10484 ;; | |
| 10485 | |
| 10486 hpux9* | hpux10* | hpux11*) | |
| 10487 # Give a soname corresponding to the major version so that dld.sl refuses to | |
| 10488 # link against other versions. | |
| 10489 version_type=sunos | |
| 10490 need_lib_prefix=no | |
| 10491 need_version=no | |
| 10492 case $host_cpu in | |
| 10493 ia64*) | |
| 10494 shrext_cmds='.so' | |
| 10495 hardcode_into_libs=yes | |
| 10496 dynamic_linker="$host_os dld.so" | |
| 10497 shlibpath_var=LD_LIBRARY_PATH | |
| 10498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 10499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10500 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10501 if test "X$HPUX_IA64_MODE" = X32; then | |
| 10502 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | |
| 10503 else | |
| 10504 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |
| 10505 fi | |
| 10506 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 10507 ;; | |
| 10508 hppa*64*) | |
| 10509 shrext_cmds='.sl' | |
| 10510 hardcode_into_libs=yes | |
| 10511 dynamic_linker="$host_os dld.sl" | |
| 10512 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |
| 10513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 10514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10515 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10516 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | |
| 10517 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 10518 ;; | |
| 10519 *) | |
| 10520 shrext_cmds='.sl' | |
| 10521 dynamic_linker="$host_os dld.sl" | |
| 10522 shlibpath_var=SHLIB_PATH | |
| 10523 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | |
| 10524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10525 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10526 ;; | |
| 10527 esac | |
| 10528 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | |
| 10529 postinstall_cmds='chmod 555 $lib' | |
| 10530 # or fails outright, so override atomically: | |
| 10531 install_override_mode=555 | |
| 10532 ;; | |
| 10533 | |
| 10534 interix[3-9]*) | |
| 10535 version_type=linux | |
| 10536 need_lib_prefix=no | |
| 10537 need_version=no | |
| 10538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 10539 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10540 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
| 10541 shlibpath_var=LD_LIBRARY_PATH | |
| 10542 shlibpath_overrides_runpath=no | |
| 10543 hardcode_into_libs=yes | |
| 10544 ;; | |
| 10545 | |
| 10546 irix5* | irix6* | nonstopux*) | |
| 10547 case $host_os in | |
| 10548 nonstopux*) version_type=nonstopux ;; | |
| 10549 *) | |
| 10550 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 10551 version_type=linux | |
| 10552 else | |
| 10553 version_type=irix | |
| 10554 fi ;; | |
| 10555 esac | |
| 10556 need_lib_prefix=no | |
| 10557 need_version=no | |
| 10558 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 10560 case $host_os in | |
| 10561 irix5* | nonstopux*) | |
| 10562 libsuff= shlibsuff= | |
| 10563 ;; | |
| 10564 *) | |
| 10565 case $LD in # libtool.m4 will add one of these switches to LD | |
| 10566 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | |
| 10567 libsuff= shlibsuff= libmagic=32-bit;; | |
| 10568 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | |
| 10569 libsuff=32 shlibsuff=N32 libmagic=N32;; | |
| 10570 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | |
| 10571 libsuff=64 shlibsuff=64 libmagic=64-bit;; | |
| 10572 *) libsuff= shlibsuff= libmagic=never-match;; | |
| 10573 esac | |
| 10574 ;; | |
| 10575 esac | |
| 10576 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | |
| 10577 shlibpath_overrides_runpath=no | |
| 10578 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | |
| 10579 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | |
| 10580 hardcode_into_libs=yes | |
| 10581 ;; | |
| 10582 | |
| 10583 # No shared lib support for Linux oldld, aout, or coff. | |
| 10584 linux*oldld* | linux*aout* | linux*coff*) | |
| 10585 dynamic_linker=no | |
| 10586 ;; | |
| 10587 | |
| 10588 # This must be Linux ELF. | |
| 10589 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 10590 version_type=linux | |
| 10591 need_lib_prefix=no | |
| 10592 need_version=no | |
| 10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10594 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10595 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
| 10596 shlibpath_var=LD_LIBRARY_PATH | |
| 10597 shlibpath_overrides_runpath=no | |
| 10598 | |
| 10599 # Some binutils ld are patched to set DT_RUNPATH | |
| 10600 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | |
| 10601 $as_echo_n "(cached) " >&6 | |
| 10602 else | |
| 10603 lt_cv_shlibpath_overrides_runpath=no | |
| 10604 save_LDFLAGS=$LDFLAGS | |
| 10605 save_libdir=$libdir | |
| 10606 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | |
| 10607 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | |
| 10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 10609 /* end confdefs.h. */ | |
| 10610 | |
| 10611 int | |
| 10612 main () | |
| 10613 { | |
| 10614 | |
| 10615 ; | |
| 10616 return 0; | |
| 10617 } | |
| 10618 _ACEOF | |
| 10619 if ac_fn_c_try_link "$LINENO"; then : | |
| 10620 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : | |
| 10621 lt_cv_shlibpath_overrides_runpath=yes | |
| 10622 fi | |
| 10623 fi | |
| 10624 rm -f core conftest.err conftest.$ac_objext \ | |
| 10625 conftest$ac_exeext conftest.$ac_ext | |
| 10626 LDFLAGS=$save_LDFLAGS | |
| 10627 libdir=$save_libdir | |
| 10628 | |
| 10629 fi | |
| 10630 | |
| 10631 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | |
| 10632 | |
| 10633 # This implies no fast_install, which is unacceptable. | |
| 10634 # Some rework will be needed to allow for fast_install | |
| 10635 # before this can be enabled. | |
| 10636 hardcode_into_libs=yes | |
| 10637 | |
| 10638 # Append ld.so.conf contents to the search path | |
| 10639 if test -f /etc/ld.so.conf; then | |
| 10640 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' ' '` | |
| 10641 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
| 10642 fi | |
| 10643 | |
| 10644 # We used to test for /lib/ld.so.1 and disable shared libraries on | |
| 10645 # powerpc, because MkLinux only supported shared libraries with the | |
| 10646 # GNU dynamic linker. Since this was broken with cross compilers, | |
| 10647 # most powerpc-linux boxes support dynamic linking these days and | |
| 10648 # people can always --disable-shared, the test was removed, and we | |
| 10649 # assume the GNU/Linux dynamic linker is in use. | |
| 10650 dynamic_linker='GNU/Linux ld.so' | |
| 10651 ;; | |
| 10652 | |
| 10653 netbsdelf*-gnu) | |
| 10654 version_type=linux | |
| 10655 need_lib_prefix=no | |
| 10656 need_version=no | |
| 10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 10658 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10659 shlibpath_var=LD_LIBRARY_PATH | |
| 10660 shlibpath_overrides_runpath=no | |
| 10661 hardcode_into_libs=yes | |
| 10662 dynamic_linker='NetBSD ld.elf_so' | |
| 10663 ;; | |
| 10664 | |
| 10665 netbsd*) | |
| 10666 version_type=sunos | |
| 10667 need_lib_prefix=no | |
| 10668 need_version=no | |
| 10669 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 10671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 10672 dynamic_linker='NetBSD (a.out) ld.so' | |
| 10673 else | |
| 10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 10675 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10676 dynamic_linker='NetBSD ld.elf_so' | |
| 10677 fi | |
| 10678 shlibpath_var=LD_LIBRARY_PATH | |
| 10679 shlibpath_overrides_runpath=yes | |
| 10680 hardcode_into_libs=yes | |
| 10681 ;; | |
| 10682 | |
| 10683 newsos6) | |
| 10684 version_type=linux | |
| 10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10686 shlibpath_var=LD_LIBRARY_PATH | |
| 10687 shlibpath_overrides_runpath=yes | |
| 10688 ;; | |
| 10689 | |
| 10690 *nto* | *qnx*) | |
| 10691 version_type=qnx | |
| 10692 need_lib_prefix=no | |
| 10693 need_version=no | |
| 10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10695 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10696 shlibpath_var=LD_LIBRARY_PATH | |
| 10697 shlibpath_overrides_runpath=no | |
| 10698 hardcode_into_libs=yes | |
| 10699 dynamic_linker='ldqnx.so' | |
| 10700 ;; | |
| 10701 | |
| 10702 openbsd*) | |
| 10703 version_type=sunos | |
| 10704 sys_lib_dlsearch_path_spec="/usr/lib" | |
| 10705 need_lib_prefix=no | |
| 10706 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | |
| 10707 case $host_os in | |
| 10708 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
| 10709 *) need_version=no ;; | |
| 10710 esac | |
| 10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 10712 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 10713 shlibpath_var=LD_LIBRARY_PATH | |
| 10714 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 10715 case $host_os in | |
| 10716 openbsd2.[89] | openbsd2.[89].*) | |
| 10717 shlibpath_overrides_runpath=no | |
| 10718 ;; | |
| 10719 *) | |
| 10720 shlibpath_overrides_runpath=yes | |
| 10721 ;; | |
| 10722 esac | |
| 10723 else | |
| 10724 shlibpath_overrides_runpath=yes | |
| 10725 fi | |
| 10726 ;; | |
| 10727 | |
| 10728 os2*) | |
| 10729 libname_spec='$name' | |
| 10730 shrext_cmds=".dll" | |
| 10731 need_lib_prefix=no | |
| 10732 library_names_spec='$libname${shared_ext} $libname.a' | |
| 10733 dynamic_linker='OS/2 ld.exe' | |
| 10734 shlibpath_var=LIBPATH | |
| 10735 ;; | |
| 10736 | |
| 10737 osf3* | osf4* | osf5*) | |
| 10738 version_type=osf | |
| 10739 need_lib_prefix=no | |
| 10740 need_version=no | |
| 10741 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10743 shlibpath_var=LD_LIBRARY_PATH | |
| 10744 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | |
| 10745 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | |
| 10746 ;; | |
| 10747 | |
| 10748 rdos*) | |
| 10749 dynamic_linker=no | |
| 10750 ;; | |
| 10751 | |
| 10752 solaris*) | |
| 10753 version_type=linux | |
| 10754 need_lib_prefix=no | |
| 10755 need_version=no | |
| 10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10757 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10758 shlibpath_var=LD_LIBRARY_PATH | |
| 10759 shlibpath_overrides_runpath=yes | |
| 10760 hardcode_into_libs=yes | |
| 10761 # ldd complains unless libraries are executable | |
| 10762 postinstall_cmds='chmod +x $lib' | |
| 10763 ;; | |
| 10764 | |
| 10765 sunos4*) | |
| 10766 version_type=sunos | |
| 10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 10768 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | |
| 10769 shlibpath_var=LD_LIBRARY_PATH | |
| 10770 shlibpath_overrides_runpath=yes | |
| 10771 if test "$with_gnu_ld" = yes; then | |
| 10772 need_lib_prefix=no | |
| 10773 fi | |
| 10774 need_version=yes | |
| 10775 ;; | |
| 10776 | |
| 10777 sysv4 | sysv4.3*) | |
| 10778 version_type=linux | |
| 10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10780 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10781 shlibpath_var=LD_LIBRARY_PATH | |
| 10782 case $host_vendor in | |
| 10783 sni) | |
| 10784 shlibpath_overrides_runpath=no | |
| 10785 need_lib_prefix=no | |
| 10786 runpath_var=LD_RUN_PATH | |
| 10787 ;; | |
| 10788 siemens) | |
| 10789 need_lib_prefix=no | |
| 10790 ;; | |
| 10791 motorola) | |
| 10792 need_lib_prefix=no | |
| 10793 need_version=no | |
| 10794 shlibpath_overrides_runpath=no | |
| 10795 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | |
| 10796 ;; | |
| 10797 esac | |
| 10798 ;; | |
| 10799 | |
| 10800 sysv4*MP*) | |
| 10801 if test -d /usr/nec ;then | |
| 10802 version_type=linux | |
| 10803 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | |
| 10804 soname_spec='$libname${shared_ext}.$major' | |
| 10805 shlibpath_var=LD_LIBRARY_PATH | |
| 10806 fi | |
| 10807 ;; | |
| 10808 | |
| 10809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 10810 version_type=freebsd-elf | |
| 10811 need_lib_prefix=no | |
| 10812 need_version=no | |
| 10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 10814 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10815 shlibpath_var=LD_LIBRARY_PATH | |
| 10816 shlibpath_overrides_runpath=yes | |
| 10817 hardcode_into_libs=yes | |
| 10818 if test "$with_gnu_ld" = yes; then | |
| 10819 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
| 10820 else | |
| 10821 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
| 10822 case $host_os in | |
| 10823 sco3.2v5*) | |
| 10824 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
| 10825 ;; | |
| 10826 esac | |
| 10827 fi | |
| 10828 sys_lib_dlsearch_path_spec='/usr/lib' | |
| 10829 ;; | |
| 10830 | |
| 10831 tpf*) | |
| 10832 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | |
| 10833 version_type=linux | |
| 10834 need_lib_prefix=no | |
| 10835 need_version=no | |
| 10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10837 shlibpath_var=LD_LIBRARY_PATH | |
| 10838 shlibpath_overrides_runpath=no | |
| 10839 hardcode_into_libs=yes | |
| 10840 ;; | |
| 10841 | |
| 10842 uts4*) | |
| 10843 version_type=linux | |
| 10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 10845 soname_spec='${libname}${release}${shared_ext}$major' | |
| 10846 shlibpath_var=LD_LIBRARY_PATH | |
| 10847 ;; | |
| 10848 | |
| 10849 *) | |
| 10850 dynamic_linker=no | |
| 10851 ;; | |
| 10852 esac | |
| 10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | |
| 10854 $as_echo "$dynamic_linker" >&6; } | |
| 10855 test "$dynamic_linker" = no && can_build_shared=no | |
| 10856 | |
| 10857 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
| 10858 if test "$GCC" = yes; then | |
| 10859 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
| 10860 fi | |
| 10861 | |
| 10862 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | |
| 10863 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | |
| 10864 fi | |
| 10865 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | |
| 10866 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | |
| 10867 fi | |
| 10868 | |
| 10869 | |
| 10870 | |
| 10871 | |
| 10872 | |
| 10873 | |
| 10874 | |
| 10875 | |
| 10876 | |
| 10877 | |
| 10878 | |
| 10879 | |
| 10880 | |
| 10881 | |
| 10882 | |
| 10883 | |
| 10884 | |
| 10885 | |
| 10886 | |
| 10887 | |
| 10888 | |
| 10889 | |
| 10890 | |
| 10891 | |
| 10892 | |
| 10893 | |
| 10894 | |
| 10895 | |
| 10896 | |
| 10897 | |
| 10898 | |
| 10899 | |
| 10900 | |
| 10901 | |
| 10902 | |
| 10903 | |
| 10904 | |
| 10905 | |
| 10906 | |
| 10907 | |
| 10908 | |
| 10909 | |
| 10910 | |
| 10911 | |
| 10912 | |
| 10913 | |
| 10914 | |
| 10915 | |
| 10916 | |
| 10917 | |
| 10918 | |
| 10919 | |
| 10920 | |
| 10921 | |
| 10922 | |
| 10923 | |
| 10924 | |
| 10925 | |
| 10926 | |
| 10927 | |
| 10928 | |
| 10929 | |
| 10930 | |
| 10931 | |
| 10932 | |
| 10933 | |
| 10934 | |
| 10935 | |
| 10936 | |
| 10937 | |
| 10938 | |
| 10939 | |
| 10940 | |
| 10941 | |
| 10942 | |
| 10943 | |
| 10944 | |
| 10945 | |
| 10946 | |
| 10947 | |
| 10948 | |
| 10949 | |
| 10950 | |
| 10951 | |
| 10952 | |
| 10953 | |
| 10954 | |
| 10955 | |
| 10956 | |
| 10957 | |
| 10958 | |
| 10959 | |
| 10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 | |
| 10961 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | |
| 10962 hardcode_action= | |
| 10963 if test -n "$hardcode_libdir_flag_spec" || | |
| 10964 test -n "$runpath_var" || | |
| 10965 test "X$hardcode_automatic" = "Xyes" ; then | |
| 10966 | |
| 10967 # We can hardcode non-existent directories. | |
| 10968 if test "$hardcode_direct" != no && | |
| 10969 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
| 10970 # have to relink, otherwise we might link with an installed library | |
| 10971 # when we should be linking with a yet-to-be-installed one | |
| 10972 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && | |
| 10973 test "$hardcode_minus_L" != no; then | |
| 10974 # Linking always hardcodes the temporary library directory. | |
| 10975 hardcode_action=relink | |
| 10976 else | |
| 10977 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
| 10978 hardcode_action=immediate | |
| 10979 fi | |
| 10980 else | |
| 10981 # We cannot hardcode anything, or else we can only hardcode existing | |
| 10982 # directories. | |
| 10983 hardcode_action=unsupported | |
| 10984 fi | |
| 10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | |
| 10986 $as_echo "$hardcode_action" >&6; } | |
| 10987 | |
| 10988 if test "$hardcode_action" = relink || | |
| 10989 test "$inherit_rpath" = yes; then | |
| 10990 # Fast installation is not supported | |
| 10991 enable_fast_install=no | |
| 10992 elif test "$shlibpath_overrides_runpath" = yes || | |
| 10993 test "$enable_shared" = no; then | |
| 10994 # Fast installation is not necessary | |
| 10995 enable_fast_install=needless | |
| 10996 fi | |
| 10997 | |
| 10998 | |
| 10999 | |
| 11000 | |
| 11001 | |
| 11002 | |
| 11003 if test "x$enable_dlopen" != xyes; then | |
| 11004 enable_dlopen=unknown | |
| 11005 enable_dlopen_self=unknown | |
| 11006 enable_dlopen_self_static=unknown | |
| 11007 else | |
| 11008 lt_cv_dlopen=no | |
| 11009 lt_cv_dlopen_libs= | |
| 11010 | |
| 11011 case $host_os in | |
| 11012 beos*) | |
| 11013 lt_cv_dlopen="load_add_on" | |
| 11014 lt_cv_dlopen_libs= | |
| 11015 lt_cv_dlopen_self=yes | |
| 11016 ;; | |
| 11017 | |
| 11018 mingw* | pw32* | cegcc*) | |
| 11019 lt_cv_dlopen="LoadLibrary" | |
| 11020 lt_cv_dlopen_libs= | |
| 11021 ;; | |
| 11022 | |
| 11023 cygwin*) | |
| 11024 lt_cv_dlopen="dlopen" | |
| 11025 lt_cv_dlopen_libs= | |
| 11026 ;; | |
| 11027 | |
| 11028 darwin*) | |
| 11029 # if libdl is installed we need to link against it | |
| 11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 11031 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 11032 if ${ac_cv_lib_dl_dlopen+:} false; then : | |
| 11033 $as_echo_n "(cached) " >&6 | |
| 11034 else | |
| 11035 ac_check_lib_save_LIBS=$LIBS | |
| 11036 LIBS="-ldl $LIBS" | |
| 11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11038 /* end confdefs.h. */ | |
| 11039 | |
| 11040 /* Override any GCC internal prototype to avoid an error. | |
| 11041 Use char because int might match the return type of a GCC | |
| 11042 builtin and then its argument prototype would still apply. */ | |
| 11043 #ifdef __cplusplus | |
| 11044 extern "C" | |
| 11045 #endif | |
| 11046 char dlopen (); | |
| 11047 int | |
| 11048 main () | |
| 11049 { | |
| 11050 return dlopen (); | |
| 11051 ; | |
| 11052 return 0; | |
| 11053 } | |
| 11054 _ACEOF | |
| 11055 if ac_fn_c_try_link "$LINENO"; then : | |
| 11056 ac_cv_lib_dl_dlopen=yes | |
| 11057 else | |
| 11058 ac_cv_lib_dl_dlopen=no | |
| 11059 fi | |
| 11060 rm -f core conftest.err conftest.$ac_objext \ | |
| 11061 conftest$ac_exeext conftest.$ac_ext | |
| 11062 LIBS=$ac_check_lib_save_LIBS | |
| 11063 fi | |
| 11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 11065 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 11066 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | |
| 11067 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 11068 else | |
| 11069 | |
| 11070 lt_cv_dlopen="dyld" | |
| 11071 lt_cv_dlopen_libs= | |
| 11072 lt_cv_dlopen_self=yes | |
| 11073 | |
| 11074 fi | |
| 11075 | |
| 11076 ;; | |
| 11077 | |
| 11078 *) | |
| 11079 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | |
| 11080 if test "x$ac_cv_func_shl_load" = xyes; then : | |
| 11081 lt_cv_dlopen="shl_load" | |
| 11082 else | |
| 11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | |
| 11084 $as_echo_n "checking for shl_load in -ldld... " >&6; } | |
| 11085 if ${ac_cv_lib_dld_shl_load+:} false; then : | |
| 11086 $as_echo_n "(cached) " >&6 | |
| 11087 else | |
| 11088 ac_check_lib_save_LIBS=$LIBS | |
| 11089 LIBS="-ldld $LIBS" | |
| 11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11091 /* end confdefs.h. */ | |
| 11092 | |
| 11093 /* Override any GCC internal prototype to avoid an error. | |
| 11094 Use char because int might match the return type of a GCC | |
| 11095 builtin and then its argument prototype would still apply. */ | |
| 11096 #ifdef __cplusplus | |
| 11097 extern "C" | |
| 11098 #endif | |
| 11099 char shl_load (); | |
| 11100 int | |
| 11101 main () | |
| 11102 { | |
| 11103 return shl_load (); | |
| 11104 ; | |
| 11105 return 0; | |
| 11106 } | |
| 11107 _ACEOF | |
| 11108 if ac_fn_c_try_link "$LINENO"; then : | |
| 11109 ac_cv_lib_dld_shl_load=yes | |
| 11110 else | |
| 11111 ac_cv_lib_dld_shl_load=no | |
| 11112 fi | |
| 11113 rm -f core conftest.err conftest.$ac_objext \ | |
| 11114 conftest$ac_exeext conftest.$ac_ext | |
| 11115 LIBS=$ac_check_lib_save_LIBS | |
| 11116 fi | |
| 11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | |
| 11118 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | |
| 11119 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | |
| 11120 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | |
| 11121 else | |
| 11122 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | |
| 11123 if test "x$ac_cv_func_dlopen" = xyes; then : | |
| 11124 lt_cv_dlopen="dlopen" | |
| 11125 else | |
| 11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
| 11127 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
| 11128 if ${ac_cv_lib_dl_dlopen+:} false; then : | |
| 11129 $as_echo_n "(cached) " >&6 | |
| 11130 else | |
| 11131 ac_check_lib_save_LIBS=$LIBS | |
| 11132 LIBS="-ldl $LIBS" | |
| 11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11134 /* end confdefs.h. */ | |
| 11135 | |
| 11136 /* Override any GCC internal prototype to avoid an error. | |
| 11137 Use char because int might match the return type of a GCC | |
| 11138 builtin and then its argument prototype would still apply. */ | |
| 11139 #ifdef __cplusplus | |
| 11140 extern "C" | |
| 11141 #endif | |
| 11142 char dlopen (); | |
| 11143 int | |
| 11144 main () | |
| 11145 { | |
| 11146 return dlopen (); | |
| 11147 ; | |
| 11148 return 0; | |
| 11149 } | |
| 11150 _ACEOF | |
| 11151 if ac_fn_c_try_link "$LINENO"; then : | |
| 11152 ac_cv_lib_dl_dlopen=yes | |
| 11153 else | |
| 11154 ac_cv_lib_dl_dlopen=no | |
| 11155 fi | |
| 11156 rm -f core conftest.err conftest.$ac_objext \ | |
| 11157 conftest$ac_exeext conftest.$ac_ext | |
| 11158 LIBS=$ac_check_lib_save_LIBS | |
| 11159 fi | |
| 11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | |
| 11161 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
| 11162 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | |
| 11163 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
| 11164 else | |
| 11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | |
| 11166 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | |
| 11167 if ${ac_cv_lib_svld_dlopen+:} false; then : | |
| 11168 $as_echo_n "(cached) " >&6 | |
| 11169 else | |
| 11170 ac_check_lib_save_LIBS=$LIBS | |
| 11171 LIBS="-lsvld $LIBS" | |
| 11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11173 /* end confdefs.h. */ | |
| 11174 | |
| 11175 /* Override any GCC internal prototype to avoid an error. | |
| 11176 Use char because int might match the return type of a GCC | |
| 11177 builtin and then its argument prototype would still apply. */ | |
| 11178 #ifdef __cplusplus | |
| 11179 extern "C" | |
| 11180 #endif | |
| 11181 char dlopen (); | |
| 11182 int | |
| 11183 main () | |
| 11184 { | |
| 11185 return dlopen (); | |
| 11186 ; | |
| 11187 return 0; | |
| 11188 } | |
| 11189 _ACEOF | |
| 11190 if ac_fn_c_try_link "$LINENO"; then : | |
| 11191 ac_cv_lib_svld_dlopen=yes | |
| 11192 else | |
| 11193 ac_cv_lib_svld_dlopen=no | |
| 11194 fi | |
| 11195 rm -f core conftest.err conftest.$ac_objext \ | |
| 11196 conftest$ac_exeext conftest.$ac_ext | |
| 11197 LIBS=$ac_check_lib_save_LIBS | |
| 11198 fi | |
| 11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | |
| 11200 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | |
| 11201 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | |
| 11202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | |
| 11203 else | |
| 11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | |
| 11205 $as_echo_n "checking for dld_link in -ldld... " >&6; } | |
| 11206 if ${ac_cv_lib_dld_dld_link+:} false; then : | |
| 11207 $as_echo_n "(cached) " >&6 | |
| 11208 else | |
| 11209 ac_check_lib_save_LIBS=$LIBS | |
| 11210 LIBS="-ldld $LIBS" | |
| 11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11212 /* end confdefs.h. */ | |
| 11213 | |
| 11214 /* Override any GCC internal prototype to avoid an error. | |
| 11215 Use char because int might match the return type of a GCC | |
| 11216 builtin and then its argument prototype would still apply. */ | |
| 11217 #ifdef __cplusplus | |
| 11218 extern "C" | |
| 11219 #endif | |
| 11220 char dld_link (); | |
| 11221 int | |
| 11222 main () | |
| 11223 { | |
| 11224 return dld_link (); | |
| 11225 ; | |
| 11226 return 0; | |
| 11227 } | |
| 11228 _ACEOF | |
| 11229 if ac_fn_c_try_link "$LINENO"; then : | |
| 11230 ac_cv_lib_dld_dld_link=yes | |
| 11231 else | |
| 11232 ac_cv_lib_dld_dld_link=no | |
| 11233 fi | |
| 11234 rm -f core conftest.err conftest.$ac_objext \ | |
| 11235 conftest$ac_exeext conftest.$ac_ext | |
| 11236 LIBS=$ac_check_lib_save_LIBS | |
| 11237 fi | |
| 11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | |
| 11239 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | |
| 11240 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | |
| 11241 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | |
| 11242 fi | |
| 11243 | |
| 11244 | |
| 11245 fi | |
| 11246 | |
| 11247 | |
| 11248 fi | |
| 11249 | |
| 11250 | |
| 11251 fi | |
| 11252 | |
| 11253 | |
| 11254 fi | |
| 11255 | |
| 11256 | |
| 11257 fi | |
| 11258 | |
| 11259 ;; | |
| 11260 esac | |
| 11261 | |
| 11262 if test "x$lt_cv_dlopen" != xno; then | |
| 11263 enable_dlopen=yes | |
| 11264 else | |
| 11265 enable_dlopen=no | |
| 11266 fi | |
| 11267 | |
| 11268 case $lt_cv_dlopen in | |
| 11269 dlopen) | |
| 11270 save_CPPFLAGS="$CPPFLAGS" | |
| 11271 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | |
| 11272 | |
| 11273 save_LDFLAGS="$LDFLAGS" | |
| 11274 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | |
| 11275 | |
| 11276 save_LIBS="$LIBS" | |
| 11277 LIBS="$lt_cv_dlopen_libs $LIBS" | |
| 11278 | |
| 11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 | |
| 11280 $as_echo_n "checking whether a program can dlopen itself... " >&6; } | |
| 11281 if ${lt_cv_dlopen_self+:} false; then : | |
| 11282 $as_echo_n "(cached) " >&6 | |
| 11283 else | |
| 11284 if test "$cross_compiling" = yes; then : | |
| 11285 lt_cv_dlopen_self=cross | |
| 11286 else | |
| 11287 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 11288 lt_status=$lt_dlunknown | |
| 11289 cat > conftest.$ac_ext <<_LT_EOF | |
| 11290 #line $LINENO "configure" | |
| 11291 #include "confdefs.h" | |
| 11292 | |
| 11293 #if HAVE_DLFCN_H | |
| 11294 #include <dlfcn.h> | |
| 11295 #endif | |
| 11296 | |
| 11297 #include <stdio.h> | |
| 11298 | |
| 11299 #ifdef RTLD_GLOBAL | |
| 11300 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 11301 #else | |
| 11302 # ifdef DL_GLOBAL | |
| 11303 # define LT_DLGLOBAL DL_GLOBAL | |
| 11304 # else | |
| 11305 # define LT_DLGLOBAL 0 | |
| 11306 # endif | |
| 11307 #endif | |
| 11308 | |
| 11309 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 11310 find out it does not work in some platform. */ | |
| 11311 #ifndef LT_DLLAZY_OR_NOW | |
| 11312 # ifdef RTLD_LAZY | |
| 11313 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 11314 # else | |
| 11315 # ifdef DL_LAZY | |
| 11316 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 11317 # else | |
| 11318 # ifdef RTLD_NOW | |
| 11319 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 11320 # else | |
| 11321 # ifdef DL_NOW | |
| 11322 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 11323 # else | |
| 11324 # define LT_DLLAZY_OR_NOW 0 | |
| 11325 # endif | |
| 11326 # endif | |
| 11327 # endif | |
| 11328 # endif | |
| 11329 #endif | |
| 11330 | |
| 11331 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 11332 correspondingly for the symbols needed. */ | |
| 11333 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | |
| 11334 int fnord () __attribute__((visibility("default"))); | |
| 11335 #endif | |
| 11336 | |
| 11337 int fnord () { return 42; } | |
| 11338 int main () | |
| 11339 { | |
| 11340 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 11341 int status = $lt_dlunknown; | |
| 11342 | |
| 11343 if (self) | |
| 11344 { | |
| 11345 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 11346 else | |
| 11347 { | |
| 11348 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 11349 else puts (dlerror ()); | |
| 11350 } | |
| 11351 /* dlclose (self); */ | |
| 11352 } | |
| 11353 else | |
| 11354 puts (dlerror ()); | |
| 11355 | |
| 11356 return status; | |
| 11357 } | |
| 11358 _LT_EOF | |
| 11359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 11360 (eval $ac_link) 2>&5 | |
| 11361 ac_status=$? | |
| 11362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 11363 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 11364 (./conftest; exit; ) >&5 2>/dev/null | |
| 11365 lt_status=$? | |
| 11366 case x$lt_status in | |
| 11367 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
| 11368 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
| 11369 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | |
| 11370 esac | |
| 11371 else : | |
| 11372 # compilation failed | |
| 11373 lt_cv_dlopen_self=no | |
| 11374 fi | |
| 11375 fi | |
| 11376 rm -fr conftest* | |
| 11377 | |
| 11378 | |
| 11379 fi | |
| 11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | |
| 11381 $as_echo "$lt_cv_dlopen_self" >&6; } | |
| 11382 | |
| 11383 if test "x$lt_cv_dlopen_self" = xyes; then | |
| 11384 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" | |
| 11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 | |
| 11386 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } | |
| 11387 if ${lt_cv_dlopen_self_static+:} false; then : | |
| 11388 $as_echo_n "(cached) " >&6 | |
| 11389 else | |
| 11390 if test "$cross_compiling" = yes; then : | |
| 11391 lt_cv_dlopen_self_static=cross | |
| 11392 else | |
| 11393 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
| 11394 lt_status=$lt_dlunknown | |
| 11395 cat > conftest.$ac_ext <<_LT_EOF | |
| 11396 #line $LINENO "configure" | |
| 11397 #include "confdefs.h" | |
| 11398 | |
| 11399 #if HAVE_DLFCN_H | |
| 11400 #include <dlfcn.h> | |
| 11401 #endif | |
| 11402 | |
| 11403 #include <stdio.h> | |
| 11404 | |
| 11405 #ifdef RTLD_GLOBAL | |
| 11406 # define LT_DLGLOBAL RTLD_GLOBAL | |
| 11407 #else | |
| 11408 # ifdef DL_GLOBAL | |
| 11409 # define LT_DLGLOBAL DL_GLOBAL | |
| 11410 # else | |
| 11411 # define LT_DLGLOBAL 0 | |
| 11412 # endif | |
| 11413 #endif | |
| 11414 | |
| 11415 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
| 11416 find out it does not work in some platform. */ | |
| 11417 #ifndef LT_DLLAZY_OR_NOW | |
| 11418 # ifdef RTLD_LAZY | |
| 11419 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
| 11420 # else | |
| 11421 # ifdef DL_LAZY | |
| 11422 # define LT_DLLAZY_OR_NOW DL_LAZY | |
| 11423 # else | |
| 11424 # ifdef RTLD_NOW | |
| 11425 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
| 11426 # else | |
| 11427 # ifdef DL_NOW | |
| 11428 # define LT_DLLAZY_OR_NOW DL_NOW | |
| 11429 # else | |
| 11430 # define LT_DLLAZY_OR_NOW 0 | |
| 11431 # endif | |
| 11432 # endif | |
| 11433 # endif | |
| 11434 # endif | |
| 11435 #endif | |
| 11436 | |
| 11437 /* When -fvisbility=hidden is used, assume the code has been annotated | |
| 11438 correspondingly for the symbols needed. */ | |
| 11439 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | |
| 11440 int fnord () __attribute__((visibility("default"))); | |
| 11441 #endif | |
| 11442 | |
| 11443 int fnord () { return 42; } | |
| 11444 int main () | |
| 11445 { | |
| 11446 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
| 11447 int status = $lt_dlunknown; | |
| 11448 | |
| 11449 if (self) | |
| 11450 { | |
| 11451 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
| 11452 else | |
| 11453 { | |
| 11454 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
| 11455 else puts (dlerror ()); | |
| 11456 } | |
| 11457 /* dlclose (self); */ | |
| 11458 } | |
| 11459 else | |
| 11460 puts (dlerror ()); | |
| 11461 | |
| 11462 return status; | |
| 11463 } | |
| 11464 _LT_EOF | |
| 11465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
| 11466 (eval $ac_link) 2>&5 | |
| 11467 ac_status=$? | |
| 11468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 11469 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | |
| 11470 (./conftest; exit; ) >&5 2>/dev/null | |
| 11471 lt_status=$? | |
| 11472 case x$lt_status in | |
| 11473 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 11474 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
| 11475 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | |
| 11476 esac | |
| 11477 else : | |
| 11478 # compilation failed | |
| 11479 lt_cv_dlopen_self_static=no | |
| 11480 fi | |
| 11481 fi | |
| 11482 rm -fr conftest* | |
| 11483 | |
| 11484 | |
| 11485 fi | |
| 11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | |
| 11487 $as_echo "$lt_cv_dlopen_self_static" >&6; } | |
| 11488 fi | |
| 11489 | |
| 11490 CPPFLAGS="$save_CPPFLAGS" | |
| 11491 LDFLAGS="$save_LDFLAGS" | |
| 11492 LIBS="$save_LIBS" | |
| 11493 ;; | |
| 11494 esac | |
| 11495 | |
| 11496 case $lt_cv_dlopen_self in | |
| 11497 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
| 11498 *) enable_dlopen_self=unknown ;; | |
| 11499 esac | |
| 11500 | |
| 11501 case $lt_cv_dlopen_self_static in | |
| 11502 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
| 11503 *) enable_dlopen_self_static=unknown ;; | |
| 11504 esac | |
| 11505 fi | |
| 11506 | |
| 11507 | |
| 11508 | |
| 11509 | |
| 11510 | |
| 11511 | |
| 11512 | |
| 11513 | |
| 11514 | |
| 11515 | |
| 11516 | |
| 11517 | |
| 11518 | |
| 11519 | |
| 11520 | |
| 11521 | |
| 11522 | |
| 11523 striplib= | |
| 11524 old_striplib= | |
| 11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 | |
| 11526 $as_echo_n "checking whether stripping libraries is possible... " >&6; } | |
| 11527 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | |
| 11528 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
| 11529 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
| 11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 11531 $as_echo "yes" >&6; } | |
| 11532 else | |
| 11533 # FIXME - insert some real tests, host_os isn't really good enough | |
| 11534 case $host_os in | |
| 11535 darwin*) | |
| 11536 if test -n "$STRIP" ; then | |
| 11537 striplib="$STRIP -x" | |
| 11538 old_striplib="$STRIP -S" | |
| 11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 11540 $as_echo "yes" >&6; } | |
| 11541 else | |
| 11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 11543 $as_echo "no" >&6; } | |
| 11544 fi | |
| 11545 ;; | |
| 11546 *) | |
| 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 11548 $as_echo "no" >&6; } | |
| 11549 ;; | |
| 11550 esac | |
| 11551 fi | |
| 11552 | |
| 11553 | |
| 11554 | |
| 11555 | |
| 11556 | |
| 11557 | |
| 11558 | |
| 11559 | |
| 11560 | |
| 11561 | |
| 11562 | |
| 11563 | |
| 11564 # Report which library types will actually be built | |
| 11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 | |
| 11566 $as_echo_n "checking if libtool supports shared libraries... " >&6; } | |
| 11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | |
| 11568 $as_echo "$can_build_shared" >&6; } | |
| 11569 | |
| 11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 | |
| 11571 $as_echo_n "checking whether to build shared libraries... " >&6; } | |
| 11572 test "$can_build_shared" = "no" && enable_shared=no | |
| 11573 | |
| 11574 # On AIX, shared libraries and static libraries use the same namespace, and | |
| 11575 # are all built from PIC. | |
| 11576 case $host_os in | |
| 11577 aix3*) | |
| 11578 test "$enable_shared" = yes && enable_static=no | |
| 11579 if test -n "$RANLIB"; then | |
| 11580 archive_cmds="$archive_cmds~\$RANLIB \$lib" | |
| 11581 postinstall_cmds='$RANLIB $lib' | |
| 11582 fi | |
| 11583 ;; | |
| 11584 | |
| 11585 aix[4-9]*) | |
| 11586 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | |
| 11587 test "$enable_shared" = yes && enable_static=no | |
| 11588 fi | |
| 11589 ;; | |
| 11590 esac | |
| 11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | |
| 11592 $as_echo "$enable_shared" >&6; } | |
| 11593 | |
| 11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 | |
| 11595 $as_echo_n "checking whether to build static libraries... " >&6; } | |
| 11596 # Make sure either enable_shared or enable_static is yes. | |
| 11597 test "$enable_shared" = yes || enable_static=yes | |
| 11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | |
| 11599 $as_echo "$enable_static" >&6; } | |
| 11600 | |
| 11601 | |
| 11602 | |
| 11603 | |
| 11604 fi | |
| 11605 ac_ext=c | |
| 11606 ac_cpp='$CPP $CPPFLAGS' | |
| 11607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 11608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 11609 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 11610 | |
| 11611 CC="$lt_save_CC" | |
| 11612 | |
| 11613 if test -n "$CXX" && ( test "X$CXX" != "Xno" && | |
| 11614 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | |
| 11615 (test "X$CXX" != "Xg++"))) ; then | |
| 11616 ac_ext=cpp | |
| 11617 ac_cpp='$CXXCPP $CPPFLAGS' | |
| 11618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 11619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 11620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| 11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 | |
| 11622 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } | |
| 11623 if test -z "$CXXCPP"; then | |
| 11624 if ${ac_cv_prog_CXXCPP+:} false; then : | |
| 11625 $as_echo_n "(cached) " >&6 | |
| 11626 else | |
| 11627 # Double quotes because CXXCPP needs to be expanded | |
| 11628 for CXXCPP in "$CXX -E" "/lib/cpp" | |
| 11629 do | |
| 11630 ac_preproc_ok=false | |
| 11631 for ac_cxx_preproc_warn_flag in '' yes | |
| 11632 do | |
| 11633 # Use a header file that comes with gcc, so configuring glibc | |
| 11634 # with a fresh cross-compiler works. | |
| 11635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 11636 # <limits.h> exists even on freestanding compilers. | |
| 11637 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 11638 # not just through cpp. "Syntax error" is here to catch this case. | |
| 11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11640 /* end confdefs.h. */ | |
| 11641 #ifdef __STDC__ | |
| 11642 # include <limits.h> | |
| 11643 #else | |
| 11644 # include <assert.h> | |
| 11645 #endif | |
| 11646 Syntax error | |
| 11647 _ACEOF | |
| 11648 if ac_fn_cxx_try_cpp "$LINENO"; then : | |
| 11649 | |
| 11650 else | |
| 11651 # Broken: fails on valid input. | |
| 11652 continue | |
| 11653 fi | |
| 11654 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 11655 | |
| 11656 # OK, works on sane cases. Now check whether nonexistent headers | |
| 11657 # can be detected and how. | |
| 11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11659 /* end confdefs.h. */ | |
| 11660 #include <ac_nonexistent.h> | |
| 11661 _ACEOF | |
| 11662 if ac_fn_cxx_try_cpp "$LINENO"; then : | |
| 11663 # Broken: success on invalid input. | |
| 11664 continue | |
| 11665 else | |
| 11666 # Passes both tests. | |
| 11667 ac_preproc_ok=: | |
| 11668 break | |
| 11669 fi | |
| 11670 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 11671 | |
| 11672 done | |
| 11673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 11674 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 11675 if $ac_preproc_ok; then : | |
| 11676 break | |
| 11677 fi | |
| 11678 | |
| 11679 done | |
| 11680 ac_cv_prog_CXXCPP=$CXXCPP | |
| 11681 | |
| 11682 fi | |
| 11683 CXXCPP=$ac_cv_prog_CXXCPP | |
| 11684 else | |
| 11685 ac_cv_prog_CXXCPP=$CXXCPP | |
| 11686 fi | |
| 11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 | |
| 11688 $as_echo "$CXXCPP" >&6; } | |
| 11689 ac_preproc_ok=false | |
| 11690 for ac_cxx_preproc_warn_flag in '' yes | |
| 11691 do | |
| 11692 # Use a header file that comes with gcc, so configuring glibc | |
| 11693 # with a fresh cross-compiler works. | |
| 11694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 11695 # <limits.h> exists even on freestanding compilers. | |
| 11696 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 11697 # not just through cpp. "Syntax error" is here to catch this case. | |
| 11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11699 /* end confdefs.h. */ | |
| 11700 #ifdef __STDC__ | |
| 11701 # include <limits.h> | |
| 11702 #else | |
| 11703 # include <assert.h> | |
| 11704 #endif | |
| 11705 Syntax error | |
| 11706 _ACEOF | |
| 11707 if ac_fn_cxx_try_cpp "$LINENO"; then : | |
| 11708 | |
| 11709 else | |
| 11710 # Broken: fails on valid input. | |
| 11711 continue | |
| 11712 fi | |
| 11713 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 11714 | |
| 11715 # OK, works on sane cases. Now check whether nonexistent headers | |
| 11716 # can be detected and how. | |
| 11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 11718 /* end confdefs.h. */ | |
| 11719 #include <ac_nonexistent.h> | |
| 11720 _ACEOF | |
| 11721 if ac_fn_cxx_try_cpp "$LINENO"; then : | |
| 11722 # Broken: success on invalid input. | |
| 11723 continue | |
| 11724 else | |
| 11725 # Passes both tests. | |
| 11726 ac_preproc_ok=: | |
| 11727 break | |
| 11728 fi | |
| 11729 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 11730 | |
| 11731 done | |
| 11732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 11733 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 11734 if $ac_preproc_ok; then : | |
| 11735 | |
| 11736 else | |
| 11737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 11738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 11739 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check | |
| 11740 See \`config.log' for more details" "$LINENO" 5; } | |
| 11741 fi | |
| 11742 | |
| 11743 ac_ext=c | |
| 11744 ac_cpp='$CPP $CPPFLAGS' | |
| 11745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 11746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 11747 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 11748 | |
| 11749 else | |
| 11750 _lt_caught_CXX_error=yes | |
| 11751 fi | |
| 11752 | |
| 11753 ac_ext=cpp | |
| 11754 ac_cpp='$CXXCPP $CPPFLAGS' | |
| 11755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 11756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 11757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| 11758 | |
| 11759 archive_cmds_need_lc_CXX=no | |
| 11760 allow_undefined_flag_CXX= | |
| 11761 always_export_symbols_CXX=no | |
| 11762 archive_expsym_cmds_CXX= | |
| 11763 compiler_needs_object_CXX=no | |
| 11764 export_dynamic_flag_spec_CXX= | |
| 11765 hardcode_direct_CXX=no | |
| 11766 hardcode_direct_absolute_CXX=no | |
| 11767 hardcode_libdir_flag_spec_CXX= | |
| 11768 hardcode_libdir_flag_spec_ld_CXX= | |
| 11769 hardcode_libdir_separator_CXX= | |
| 11770 hardcode_minus_L_CXX=no | |
| 11771 hardcode_shlibpath_var_CXX=unsupported | |
| 11772 hardcode_automatic_CXX=no | |
| 11773 inherit_rpath_CXX=no | |
| 11774 module_cmds_CXX= | |
| 11775 module_expsym_cmds_CXX= | |
| 11776 link_all_deplibs_CXX=unknown | |
| 11777 old_archive_cmds_CXX=$old_archive_cmds | |
| 11778 reload_flag_CXX=$reload_flag | |
| 11779 reload_cmds_CXX=$reload_cmds | |
| 11780 no_undefined_flag_CXX= | |
| 11781 whole_archive_flag_spec_CXX= | |
| 11782 enable_shared_with_static_runtimes_CXX=no | |
| 11783 | |
| 11784 # Source file extension for C++ test sources. | |
| 11785 ac_ext=cpp | |
| 11786 | |
| 11787 # Object file extension for compiled C++ test sources. | |
| 11788 objext=o | |
| 11789 objext_CXX=$objext | |
| 11790 | |
| 11791 # No sense in running all these tests if we already determined that | |
| 11792 # the CXX compiler isn't working. Some variables (like enable_shared) | |
| 11793 # are currently assumed to apply to all compilers on this platform, | |
| 11794 # and will be corrupted by setting them based on a non-working compiler. | |
| 11795 if test "$_lt_caught_CXX_error" != yes; then | |
| 11796 # Code to be used in simple compile tests | |
| 11797 lt_simple_compile_test_code="int some_variable = 0;" | |
| 11798 | |
| 11799 # Code to be used in simple link tests | |
| 11800 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' | |
| 11801 | |
| 11802 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | |
| 11803 | |
| 11804 | |
| 11805 | |
| 11806 | |
| 11807 | |
| 11808 | |
| 11809 # If no C compiler was specified, use CC. | |
| 11810 LTCC=${LTCC-"$CC"} | |
| 11811 | |
| 11812 # If no C compiler flags were specified, use CFLAGS. | |
| 11813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
| 11814 | |
| 11815 # Allow CC to be a program name with arguments. | |
| 11816 compiler=$CC | |
| 11817 | |
| 11818 | |
| 11819 # save warnings/boilerplate of simple test code | |
| 11820 ac_outfile=conftest.$ac_objext | |
| 11821 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | |
| 11822 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 11823 _lt_compiler_boilerplate=`cat conftest.err` | |
| 11824 $RM conftest* | |
| 11825 | |
| 11826 ac_outfile=conftest.$ac_objext | |
| 11827 echo "$lt_simple_link_test_code" >conftest.$ac_ext | |
| 11828 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
| 11829 _lt_linker_boilerplate=`cat conftest.err` | |
| 11830 $RM -r conftest* | |
| 11831 | |
| 11832 | |
| 11833 # Allow CC to be a program name with arguments. | |
| 11834 lt_save_CC=$CC | |
| 11835 lt_save_CFLAGS=$CFLAGS | |
| 11836 lt_save_LD=$LD | |
| 11837 lt_save_GCC=$GCC | |
| 11838 GCC=$GXX | |
| 11839 lt_save_with_gnu_ld=$with_gnu_ld | |
| 11840 lt_save_path_LD=$lt_cv_path_LD | |
| 11841 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | |
| 11842 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | |
| 11843 else | |
| 11844 $as_unset lt_cv_prog_gnu_ld | |
| 11845 fi | |
| 11846 if test -n "${lt_cv_path_LDCXX+set}"; then | |
| 11847 lt_cv_path_LD=$lt_cv_path_LDCXX | |
| 11848 else | |
| 11849 $as_unset lt_cv_path_LD | |
| 11850 fi | |
| 11851 test -z "${LDCXX+set}" || LD=$LDCXX | |
| 11852 CC=${CXX-"c++"} | |
| 11853 CFLAGS=$CXXFLAGS | |
| 11854 compiler=$CC | |
| 11855 compiler_CXX=$CC | |
| 11856 for cc_temp in $compiler""; do | |
| 11857 case $cc_temp in | |
| 11858 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 11859 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 11860 \-*) ;; | |
| 11861 *) break;; | |
| 11862 esac | |
| 11863 done | |
| 11864 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | |
| 11865 | |
| 11866 | |
| 11867 if test -n "$compiler"; then | |
| 11868 # We don't want -fno-exception when compiling C++ code, so set the | |
| 11869 # no_builtin_flag separately | |
| 11870 if test "$GXX" = yes; then | |
| 11871 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | |
| 11872 else | |
| 11873 lt_prog_compiler_no_builtin_flag_CXX= | |
| 11874 fi | |
| 11875 | |
| 11876 if test "$GXX" = yes; then | |
| 11877 # Set up default GNU C++ configuration | |
| 11878 | |
| 11879 | |
| 11880 | |
| 11881 # Check whether --with-gnu-ld was given. | |
| 11882 if test "${with_gnu_ld+set}" = set; then : | |
| 11883 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |
| 11884 else | |
| 11885 with_gnu_ld=no | |
| 11886 fi | |
| 11887 | |
| 11888 ac_prog=ld | |
| 11889 if test "$GCC" = yes; then | |
| 11890 # Check if gcc -print-prog-name=ld gives a path. | |
| 11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | |
| 11892 $as_echo_n "checking for ld used by $CC... " >&6; } | |
| 11893 case $host in | |
| 11894 *-*-mingw*) | |
| 11895 # gcc leaves a trailing carriage return which upsets mingw | |
| 11896 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
| 11897 *) | |
| 11898 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
| 11899 esac | |
| 11900 case $ac_prog in | |
| 11901 # Accept absolute paths. | |
| 11902 [\\/]* | ?:[\\/]*) | |
| 11903 re_direlt='/[^/][^/]*/\.\./' | |
| 11904 # Canonicalize the pathname of ld | |
| 11905 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | |
| 11906 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | |
| 11907 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | |
| 11908 done | |
| 11909 test -z "$LD" && LD="$ac_prog" | |
| 11910 ;; | |
| 11911 "") | |
| 11912 # If it fails, then pretend we aren't using GCC. | |
| 11913 ac_prog=ld | |
| 11914 ;; | |
| 11915 *) | |
| 11916 # If it is relative, then search for the first ld in PATH. | |
| 11917 with_gnu_ld=unknown | |
| 11918 ;; | |
| 11919 esac | |
| 11920 elif test "$with_gnu_ld" = yes; then | |
| 11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
| 11922 $as_echo_n "checking for GNU ld... " >&6; } | |
| 11923 else | |
| 11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
| 11925 $as_echo_n "checking for non-GNU ld... " >&6; } | |
| 11926 fi | |
| 11927 if ${lt_cv_path_LD+:} false; then : | |
| 11928 $as_echo_n "(cached) " >&6 | |
| 11929 else | |
| 11930 if test -z "$LD"; then | |
| 11931 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
| 11932 for ac_dir in $PATH; do | |
| 11933 IFS="$lt_save_ifs" | |
| 11934 test -z "$ac_dir" && ac_dir=. | |
| 11935 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| 11936 lt_cv_path_LD="$ac_dir/$ac_prog" | |
| 11937 # Check to see if the program is GNU ld. I'd rather use --version, | |
| 11938 # but apparently some variants of GNU ld only accept -v. | |
| 11939 # Break only if it was the GNU/non-GNU ld that we prefer. | |
| 11940 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | |
| 11941 *GNU* | *'with BFD'*) | |
| 11942 test "$with_gnu_ld" != no && break | |
| 11943 ;; | |
| 11944 *) | |
| 11945 test "$with_gnu_ld" != yes && break | |
| 11946 ;; | |
| 11947 esac | |
| 11948 fi | |
| 11949 done | |
| 11950 IFS="$lt_save_ifs" | |
| 11951 else | |
| 11952 lt_cv_path_LD="$LD" # Let the user override the test with a path. | |
| 11953 fi | |
| 11954 fi | |
| 11955 | |
| 11956 LD="$lt_cv_path_LD" | |
| 11957 if test -n "$LD"; then | |
| 11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
| 11959 $as_echo "$LD" >&6; } | |
| 11960 else | |
| 11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 11962 $as_echo "no" >&6; } | |
| 11963 fi | |
| 11964 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
| 11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | |
| 11966 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
| 11967 if ${lt_cv_prog_gnu_ld+:} false; then : | |
| 11968 $as_echo_n "(cached) " >&6 | |
| 11969 else | |
| 11970 # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
| 11971 case `$LD -v 2>&1 </dev/null` in | |
| 11972 *GNU* | *'with BFD'*) | |
| 11973 lt_cv_prog_gnu_ld=yes | |
| 11974 ;; | |
| 11975 *) | |
| 11976 lt_cv_prog_gnu_ld=no | |
| 11977 ;; | |
| 11978 esac | |
| 11979 fi | |
| 11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | |
| 11981 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | |
| 11982 with_gnu_ld=$lt_cv_prog_gnu_ld | |
| 11983 | |
| 11984 | |
| 11985 | |
| 11986 | |
| 11987 | |
| 11988 | |
| 11989 | |
| 11990 # Check if GNU C++ uses GNU ld as the underlying linker, since the | |
| 11991 # archiving commands below assume that GNU ld is being used. | |
| 11992 if test "$with_gnu_ld" = yes; then | |
| 11993 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 11994 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 11995 | |
| 11996 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | |
| 11997 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
| 11998 | |
| 11999 # If archive_cmds runs LD, not CC, wlarc should be empty | |
| 12000 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | |
| 12001 # investigate it a little bit more. (MM) | |
| 12002 wlarc='${wl}' | |
| 12003 | |
| 12004 # ancient GNU ld didn't support --whole-archive et. al. | |
| 12005 if eval "`$CC -print-prog-name=ld` --help 2>&1" | | |
| 12006 $GREP 'no-whole-archive' > /dev/null; then | |
| 12007 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
| 12008 else | |
| 12009 whole_archive_flag_spec_CXX= | |
| 12010 fi | |
| 12011 else | |
| 12012 with_gnu_ld=no | |
| 12013 wlarc= | |
| 12014 | |
| 12015 # A generic and very simple default shared library creation | |
| 12016 # command for GNU C++ for the case where it uses the native | |
| 12017 # linker, instead of GNU ld. If possible, this setting should | |
| 12018 # overridden to take advantage of the native linker features on | |
| 12019 # the platform it is being used on. | |
| 12020 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | |
| 12021 fi | |
| 12022 | |
| 12023 # Commands to make compiler produce verbose output that lists | |
| 12024 # what "hidden" libraries, object files and flags are used when | |
| 12025 # linking a shared library. | |
| 12026 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | |
| 12027 | |
| 12028 else | |
| 12029 GXX=no | |
| 12030 with_gnu_ld=no | |
| 12031 wlarc= | |
| 12032 fi | |
| 12033 | |
| 12034 # PORTME: fill in a description of your system's C++ link characteristics | |
| 12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | |
| 12036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | |
| 12037 ld_shlibs_CXX=yes | |
| 12038 case $host_os in | |
| 12039 aix3*) | |
| 12040 # FIXME: insert proper C++ library support | |
| 12041 ld_shlibs_CXX=no | |
| 12042 ;; | |
| 12043 aix[4-9]*) | |
| 12044 if test "$host_cpu" = ia64; then | |
| 12045 # On IA64, the linker does run time linking by default, so we don't | |
| 12046 # have to do anything special. | |
| 12047 aix_use_runtimelinking=no | |
| 12048 exp_sym_flag='-Bexport' | |
| 12049 no_entry_flag="" | |
| 12050 else | |
| 12051 aix_use_runtimelinking=no | |
| 12052 | |
| 12053 # Test if we are trying to use run time linking or normal | |
| 12054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
| 12055 # need to do runtime linking. | |
| 12056 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | |
| 12057 for ld_flag in $LDFLAGS; do | |
| 12058 case $ld_flag in | |
| 12059 *-brtl*) | |
| 12060 aix_use_runtimelinking=yes | |
| 12061 break | |
| 12062 ;; | |
| 12063 esac | |
| 12064 done | |
| 12065 ;; | |
| 12066 esac | |
| 12067 | |
| 12068 exp_sym_flag='-bexport' | |
| 12069 no_entry_flag='-bnoentry' | |
| 12070 fi | |
| 12071 | |
| 12072 # When large executables or shared objects are built, AIX ld can | |
| 12073 # have problems creating the table of contents. If linking a library | |
| 12074 # or program results in "error TOC overflow" add -mminimal-toc to | |
| 12075 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | |
| 12076 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | |
| 12077 | |
| 12078 archive_cmds_CXX='' | |
| 12079 hardcode_direct_CXX=yes | |
| 12080 hardcode_direct_absolute_CXX=yes | |
| 12081 hardcode_libdir_separator_CXX=':' | |
| 12082 link_all_deplibs_CXX=yes | |
| 12083 file_list_spec_CXX='${wl}-f,' | |
| 12084 | |
| 12085 if test "$GXX" = yes; then | |
| 12086 case $host_os in aix4.[012]|aix4.[012].*) | |
| 12087 # We only want to do this on AIX 4.2 and lower, the check | |
| 12088 # below for broken collect2 doesn't work under 4.3+ | |
| 12089 collect2name=`${CC} -print-prog-name=collect2` | |
| 12090 if test -f "$collect2name" && | |
| 12091 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | |
| 12092 then | |
| 12093 # We have reworked collect2 | |
| 12094 : | |
| 12095 else | |
| 12096 # We have old collect2 | |
| 12097 hardcode_direct_CXX=unsupported | |
| 12098 # It fails to find uninstalled libraries when the uninstalled | |
| 12099 # path is not listed in the libpath. Setting hardcode_minus_L | |
| 12100 # to unsupported forces relinking | |
| 12101 hardcode_minus_L_CXX=yes | |
| 12102 hardcode_libdir_flag_spec_CXX='-L$libdir' | |
| 12103 hardcode_libdir_separator_CXX= | |
| 12104 fi | |
| 12105 esac | |
| 12106 shared_flag='-shared' | |
| 12107 if test "$aix_use_runtimelinking" = yes; then | |
| 12108 shared_flag="$shared_flag "'${wl}-G' | |
| 12109 fi | |
| 12110 else | |
| 12111 # not using gcc | |
| 12112 if test "$host_cpu" = ia64; then | |
| 12113 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |
| 12114 # chokes on -Wl,-G. The following line is correct: | |
| 12115 shared_flag='-G' | |
| 12116 else | |
| 12117 if test "$aix_use_runtimelinking" = yes; then | |
| 12118 shared_flag='${wl}-G' | |
| 12119 else | |
| 12120 shared_flag='${wl}-bM:SRE' | |
| 12121 fi | |
| 12122 fi | |
| 12123 fi | |
| 12124 | |
| 12125 export_dynamic_flag_spec_CXX='${wl}-bexpall' | |
| 12126 # It seems that -bexpall does not export symbols beginning with | |
| 12127 # underscore (_), so it is better to generate a list of symbols to | |
| 12128 # export. | |
| 12129 always_export_symbols_CXX=yes | |
| 12130 if test "$aix_use_runtimelinking" = yes; then | |
| 12131 # Warning - without using the other runtime loading flags (-brtl), | |
| 12132 # -berok will link without error, but may produce a broken library. | |
| 12133 allow_undefined_flag_CXX='-berok' | |
| 12134 # Determine the default libpath from the value encoded in an empty | |
| 12135 # executable. | |
| 12136 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 12137 aix_libpath=$lt_cv_aix_libpath | |
| 12138 else | |
| 12139 if ${lt_cv_aix_libpath__CXX+:} false; then : | |
| 12140 $as_echo_n "(cached) " >&6 | |
| 12141 else | |
| 12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12143 /* end confdefs.h. */ | |
| 12144 | |
| 12145 int | |
| 12146 main () | |
| 12147 { | |
| 12148 | |
| 12149 ; | |
| 12150 return 0; | |
| 12151 } | |
| 12152 _ACEOF | |
| 12153 if ac_fn_cxx_try_link "$LINENO"; then : | |
| 12154 | |
| 12155 lt_aix_libpath_sed=' | |
| 12156 /Import File Strings/,/^$/ { | |
| 12157 /^0/ { | |
| 12158 s/^0 *\([^ ]*\) *$/\1/ | |
| 12159 p | |
| 12160 } | |
| 12161 }' | |
| 12162 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 12163 # Check for a 64-bit object if we didn't find anything. | |
| 12164 if test -z "$lt_cv_aix_libpath__CXX"; then | |
| 12165 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 12166 fi | |
| 12167 fi | |
| 12168 rm -f core conftest.err conftest.$ac_objext \ | |
| 12169 conftest$ac_exeext conftest.$ac_ext | |
| 12170 if test -z "$lt_cv_aix_libpath__CXX"; then | |
| 12171 lt_cv_aix_libpath__CXX="/usr/lib:/lib" | |
| 12172 fi | |
| 12173 | |
| 12174 fi | |
| 12175 | |
| 12176 aix_libpath=$lt_cv_aix_libpath__CXX | |
| 12177 fi | |
| 12178 | |
| 12179 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 12180 | |
| 12181 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | |
| 12182 else | |
| 12183 if test "$host_cpu" = ia64; then | |
| 12184 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | |
| 12185 allow_undefined_flag_CXX="-z nodefs" | |
| 12186 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" | |
| 12187 else | |
| 12188 # Determine the default libpath from the value encoded in an | |
| 12189 # empty executable. | |
| 12190 if test "${lt_cv_aix_libpath+set}" = set; then | |
| 12191 aix_libpath=$lt_cv_aix_libpath | |
| 12192 else | |
| 12193 if ${lt_cv_aix_libpath__CXX+:} false; then : | |
| 12194 $as_echo_n "(cached) " >&6 | |
| 12195 else | |
| 12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 12197 /* end confdefs.h. */ | |
| 12198 | |
| 12199 int | |
| 12200 main () | |
| 12201 { | |
| 12202 | |
| 12203 ; | |
| 12204 return 0; | |
| 12205 } | |
| 12206 _ACEOF | |
| 12207 if ac_fn_cxx_try_link "$LINENO"; then : | |
| 12208 | |
| 12209 lt_aix_libpath_sed=' | |
| 12210 /Import File Strings/,/^$/ { | |
| 12211 /^0/ { | |
| 12212 s/^0 *\([^ ]*\) *$/\1/ | |
| 12213 p | |
| 12214 } | |
| 12215 }' | |
| 12216 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 12217 # Check for a 64-bit object if we didn't find anything. | |
| 12218 if test -z "$lt_cv_aix_libpath__CXX"; then | |
| 12219 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | |
| 12220 fi | |
| 12221 fi | |
| 12222 rm -f core conftest.err conftest.$ac_objext \ | |
| 12223 conftest$ac_exeext conftest.$ac_ext | |
| 12224 if test -z "$lt_cv_aix_libpath__CXX"; then | |
| 12225 lt_cv_aix_libpath__CXX="/usr/lib:/lib" | |
| 12226 fi | |
| 12227 | |
| 12228 fi | |
| 12229 | |
| 12230 aix_libpath=$lt_cv_aix_libpath__CXX | |
| 12231 fi | |
| 12232 | |
| 12233 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | |
| 12234 # Warning - without using the other run time loading flags, | |
| 12235 # -berok will link without error, but may produce a broken library. | |
| 12236 no_undefined_flag_CXX=' ${wl}-bernotok' | |
| 12237 allow_undefined_flag_CXX=' ${wl}-berok' | |
| 12238 if test "$with_gnu_ld" = yes; then | |
| 12239 # We only use this code for GNU lds that support --whole-archive. | |
| 12240 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | |
| 12241 else | |
| 12242 # Exported symbols can be pulled into shared objects from archives | |
| 12243 whole_archive_flag_spec_CXX='$convenience' | |
| 12244 fi | |
| 12245 archive_cmds_need_lc_CXX=yes | |
| 12246 # This is similar to how AIX traditionally builds its shared | |
| 12247 # libraries. | |
| 12248 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | |
| 12249 fi | |
| 12250 fi | |
| 12251 ;; | |
| 12252 | |
| 12253 beos*) | |
| 12254 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
| 12255 allow_undefined_flag_CXX=unsupported | |
| 12256 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
| 12257 # support --undefined. This deserves some investigation. FIXME | |
| 12258 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12259 else | |
| 12260 ld_shlibs_CXX=no | |
| 12261 fi | |
| 12262 ;; | |
| 12263 | |
| 12264 chorus*) | |
| 12265 case $cc_basename in | |
| 12266 *) | |
| 12267 # FIXME: insert proper C++ library support | |
| 12268 ld_shlibs_CXX=no | |
| 12269 ;; | |
| 12270 esac | |
| 12271 ;; | |
| 12272 | |
| 12273 cygwin* | mingw* | pw32* | cegcc*) | |
| 12274 case $GXX,$cc_basename in | |
| 12275 ,cl* | no,cl*) | |
| 12276 # Native MSVC | |
| 12277 # hardcode_libdir_flag_spec is actually meaningless, as there is | |
| 12278 # no search path for DLLs. | |
| 12279 hardcode_libdir_flag_spec_CXX=' ' | |
| 12280 allow_undefined_flag_CXX=unsupported | |
| 12281 always_export_symbols_CXX=yes | |
| 12282 file_list_spec_CXX='@' | |
| 12283 # Tell ltmain to make .lib files, not .a files. | |
| 12284 libext=lib | |
| 12285 # Tell ltmain to make .dll files, not .so files. | |
| 12286 shrext_cmds=".dll" | |
| 12287 # FIXME: Setting linknames here is a bad hack. | |
| 12288 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' | |
| 12289 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | |
| 12290 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; | |
| 12291 else | |
| 12292 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; | |
| 12293 fi~ | |
| 12294 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ | |
| 12295 linknames=' | |
| 12296 # The linker will not automatically build a static lib if we build a DLL. | |
| 12297 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' | |
| 12298 enable_shared_with_static_runtimes_CXX=yes | |
| 12299 # Don't use ranlib | |
| 12300 old_postinstall_cmds_CXX='chmod 644 $oldlib' | |
| 12301 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ | |
| 12302 lt_tool_outputfile="@TOOL_OUTPUT@"~ | |
| 12303 case $lt_outputfile in | |
| 12304 *.exe|*.EXE) ;; | |
| 12305 *) | |
| 12306 lt_outputfile="$lt_outputfile.exe" | |
| 12307 lt_tool_outputfile="$lt_tool_outputfile.exe" | |
| 12308 ;; | |
| 12309 esac~ | |
| 12310 func_to_tool_file "$lt_outputfile"~ | |
| 12311 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then | |
| 12312 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; | |
| 12313 $RM "$lt_outputfile.manifest"; | |
| 12314 fi' | |
| 12315 ;; | |
| 12316 *) | |
| 12317 # g++ | |
| 12318 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, | |
| 12319 # as there is no search path for DLLs. | |
| 12320 hardcode_libdir_flag_spec_CXX='-L$libdir' | |
| 12321 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' | |
| 12322 allow_undefined_flag_CXX=unsupported | |
| 12323 always_export_symbols_CXX=no | |
| 12324 enable_shared_with_static_runtimes_CXX=yes | |
| 12325 | |
| 12326 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | |
| 12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 12328 # If the export-symbols file already is a .def file (1st line | |
| 12329 # is EXPORTS), use it as is; otherwise, prepend... | |
| 12330 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | |
| 12331 cp $export_symbols $output_objdir/$soname.def; | |
| 12332 else | |
| 12333 echo EXPORTS > $output_objdir/$soname.def; | |
| 12334 cat $export_symbols >> $output_objdir/$soname.def; | |
| 12335 fi~ | |
| 12336 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | |
| 12337 else | |
| 12338 ld_shlibs_CXX=no | |
| 12339 fi | |
| 12340 ;; | |
| 12341 esac | |
| 12342 ;; | |
| 12343 darwin* | rhapsody*) | |
| 12344 | |
| 12345 | |
| 12346 archive_cmds_need_lc_CXX=no | |
| 12347 hardcode_direct_CXX=no | |
| 12348 hardcode_automatic_CXX=yes | |
| 12349 hardcode_shlibpath_var_CXX=unsupported | |
| 12350 if test "$lt_cv_ld_force_load" = "yes"; then | |
| 12351 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' | |
| 12352 else | |
| 12353 whole_archive_flag_spec_CXX='' | |
| 12354 fi | |
| 12355 link_all_deplibs_CXX=yes | |
| 12356 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" | |
| 12357 case $cc_basename in | |
| 12358 ifort*) _lt_dar_can_shared=yes ;; | |
| 12359 *) _lt_dar_can_shared=$GCC ;; | |
| 12360 esac | |
| 12361 if test "$_lt_dar_can_shared" = "yes"; then | |
| 12362 output_verbose_link_cmd=func_echo_all | |
| 12363 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | |
| 12364 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | |
| 12365 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | |
| 12366 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | |
| 12367 if test "$lt_cv_apple_cc_single_mod" != "yes"; then | |
| 12368 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" | |
| 12369 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" | |
| 12370 fi | |
| 12371 | |
| 12372 else | |
| 12373 ld_shlibs_CXX=no | |
| 12374 fi | |
| 12375 | |
| 12376 ;; | |
| 12377 | |
| 12378 dgux*) | |
| 12379 case $cc_basename in | |
| 12380 ec++*) | |
| 12381 # FIXME: insert proper C++ library support | |
| 12382 ld_shlibs_CXX=no | |
| 12383 ;; | |
| 12384 ghcx*) | |
| 12385 # Green Hills C++ Compiler | |
| 12386 # FIXME: insert proper C++ library support | |
| 12387 ld_shlibs_CXX=no | |
| 12388 ;; | |
| 12389 *) | |
| 12390 # FIXME: insert proper C++ library support | |
| 12391 ld_shlibs_CXX=no | |
| 12392 ;; | |
| 12393 esac | |
| 12394 ;; | |
| 12395 | |
| 12396 freebsd[12]*) | |
| 12397 # C++ shared libraries reported to be fairly broken before | |
| 12398 # switch to ELF | |
| 12399 ld_shlibs_CXX=no | |
| 12400 ;; | |
| 12401 | |
| 12402 freebsd-elf*) | |
| 12403 archive_cmds_need_lc_CXX=no | |
| 12404 ;; | |
| 12405 | |
| 12406 freebsd* | dragonfly*) | |
| 12407 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | |
| 12408 # conventions | |
| 12409 ld_shlibs_CXX=yes | |
| 12410 ;; | |
| 12411 | |
| 12412 gnu*) | |
| 12413 ;; | |
| 12414 | |
| 12415 haiku*) | |
| 12416 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12417 link_all_deplibs_CXX=yes | |
| 12418 ;; | |
| 12419 | |
| 12420 hpux9*) | |
| 12421 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | |
| 12422 hardcode_libdir_separator_CXX=: | |
| 12423 export_dynamic_flag_spec_CXX='${wl}-E' | |
| 12424 hardcode_direct_CXX=yes | |
| 12425 hardcode_minus_L_CXX=yes # Not in the search PATH, | |
| 12426 # but as the default | |
| 12427 # location of the library. | |
| 12428 | |
| 12429 case $cc_basename in | |
| 12430 CC*) | |
| 12431 # FIXME: insert proper C++ library support | |
| 12432 ld_shlibs_CXX=no | |
| 12433 ;; | |
| 12434 aCC*) | |
| 12435 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | |
| 12436 # Commands to make compiler produce verbose output that lists | |
| 12437 # what "hidden" libraries, object files and flags are used when | |
| 12438 # linking a shared library. | |
| 12439 # | |
| 12440 # There doesn't appear to be a way to prevent this compiler from | |
| 12441 # explicitly linking system object files so we need to strip them | |
| 12442 # from the output so that they don't get included in the library | |
| 12443 # dependencies. | |
| 12444 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | |
| 12445 ;; | |
| 12446 *) | |
| 12447 if test "$GXX" = yes; then | |
| 12448 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | |
| 12449 else | |
| 12450 # FIXME: insert proper C++ library support | |
| 12451 ld_shlibs_CXX=no | |
| 12452 fi | |
| 12453 ;; | |
| 12454 esac | |
| 12455 ;; | |
| 12456 | |
| 12457 hpux10*|hpux11*) | |
| 12458 if test $with_gnu_ld = no; then | |
| 12459 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | |
| 12460 hardcode_libdir_separator_CXX=: | |
| 12461 | |
| 12462 case $host_cpu in | |
| 12463 hppa*64*|ia64*) | |
| 12464 ;; | |
| 12465 *) | |
| 12466 export_dynamic_flag_spec_CXX='${wl}-E' | |
| 12467 ;; | |
| 12468 esac | |
| 12469 fi | |
| 12470 case $host_cpu in | |
| 12471 hppa*64*|ia64*) | |
| 12472 hardcode_direct_CXX=no | |
| 12473 hardcode_shlibpath_var_CXX=no | |
| 12474 ;; | |
| 12475 *) | |
| 12476 hardcode_direct_CXX=yes | |
| 12477 hardcode_direct_absolute_CXX=yes | |
| 12478 hardcode_minus_L_CXX=yes # Not in the search PATH, | |
| 12479 # but as the default | |
| 12480 # location of the library. | |
| 12481 ;; | |
| 12482 esac | |
| 12483 | |
| 12484 case $cc_basename in | |
| 12485 CC*) | |
| 12486 # FIXME: insert proper C++ library support | |
| 12487 ld_shlibs_CXX=no | |
| 12488 ;; | |
| 12489 aCC*) | |
| 12490 case $host_cpu in | |
| 12491 hppa*64*) | |
| 12492 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12493 ;; | |
| 12494 ia64*) | |
| 12495 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12496 ;; | |
| 12497 *) | |
| 12498 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12499 ;; | |
| 12500 esac | |
| 12501 # Commands to make compiler produce verbose output that lists | |
| 12502 # what "hidden" libraries, object files and flags are used when | |
| 12503 # linking a shared library. | |
| 12504 # | |
| 12505 # There doesn't appear to be a way to prevent this compiler from | |
| 12506 # explicitly linking system object files so we need to strip them | |
| 12507 # from the output so that they don't get included in the library | |
| 12508 # dependencies. | |
| 12509 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | |
| 12510 ;; | |
| 12511 *) | |
| 12512 if test "$GXX" = yes; then | |
| 12513 if test $with_gnu_ld = no; then | |
| 12514 case $host_cpu in | |
| 12515 hppa*64*) | |
| 12516 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12517 ;; | |
| 12518 ia64*) | |
| 12519 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12520 ;; | |
| 12521 *) | |
| 12522 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12523 ;; | |
| 12524 esac | |
| 12525 fi | |
| 12526 else | |
| 12527 # FIXME: insert proper C++ library support | |
| 12528 ld_shlibs_CXX=no | |
| 12529 fi | |
| 12530 ;; | |
| 12531 esac | |
| 12532 ;; | |
| 12533 | |
| 12534 interix[3-9]*) | |
| 12535 hardcode_direct_CXX=no | |
| 12536 hardcode_shlibpath_var_CXX=no | |
| 12537 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
| 12538 export_dynamic_flag_spec_CXX='${wl}-E' | |
| 12539 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
| 12540 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
| 12541 # default) and relocated if they conflict, which is a slow very memory | |
| 12542 # consuming and fragmenting process. To avoid this, we pick a random, | |
| 12543 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
| 12544 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
| 12545 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
| 12546 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
| 12547 ;; | |
| 12548 irix5* | irix6*) | |
| 12549 case $cc_basename in | |
| 12550 CC*) | |
| 12551 # SGI C++ | |
| 12552 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | |
| 12553 | |
| 12554 # Archives containing C++ object files must be created using | |
| 12555 # "CC -ar", where "CC" is the IRIX C++ compiler. This is | |
| 12556 # necessary to make sure instantiated templates are included | |
| 12557 # in the archive. | |
| 12558 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | |
| 12559 ;; | |
| 12560 *) | |
| 12561 if test "$GXX" = yes; then | |
| 12562 if test "$with_gnu_ld" = no; then | |
| 12563 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | |
| 12564 else | |
| 12565 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' | |
| 12566 fi | |
| 12567 fi | |
| 12568 link_all_deplibs_CXX=yes | |
| 12569 ;; | |
| 12570 esac | |
| 12571 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | |
| 12572 hardcode_libdir_separator_CXX=: | |
| 12573 inherit_rpath_CXX=yes | |
| 12574 ;; | |
| 12575 | |
| 12576 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 12577 case $cc_basename in | |
| 12578 KCC*) | |
| 12579 # Kuck and Associates, Inc. (KAI) C++ Compiler | |
| 12580 | |
| 12581 # KCC will only create a shared library if the output file | |
| 12582 # ends with ".so" (or ".sl" for HP-UX), so rename the library | |
| 12583 # to its proper name (with version) after linking. | |
| 12584 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | |
| 12585 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | |
| 12586 # Commands to make compiler produce verbose output that lists | |
| 12587 # what "hidden" libraries, object files and flags are used when | |
| 12588 # linking a shared library. | |
| 12589 # | |
| 12590 # There doesn't appear to be a way to prevent this compiler from | |
| 12591 # explicitly linking system object files so we need to strip them | |
| 12592 # from the output so that they don't get included in the library | |
| 12593 # dependencies. | |
| 12594 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | |
| 12595 | |
| 12596 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
| 12597 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
| 12598 | |
| 12599 # Archives containing C++ object files must be created using | |
| 12600 # "CC -Bstatic", where "CC" is the KAI C++ compiler. | |
| 12601 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | |
| 12602 ;; | |
| 12603 icpc* | ecpc* ) | |
| 12604 # Intel C++ | |
| 12605 with_gnu_ld=yes | |
| 12606 # version 8.0 and above of icpc choke on multiply defined symbols | |
| 12607 # if we add $predep_objects and $postdep_objects, however 7.1 and | |
| 12608 # earlier do not add the objects themselves. | |
| 12609 case `$CC -V 2>&1` in | |
| 12610 *"Version 7."*) | |
| 12611 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12612 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 12613 ;; | |
| 12614 *) # Version 8.0 or newer | |
| 12615 tmp_idyn= | |
| 12616 case $host_cpu in | |
| 12617 ia64*) tmp_idyn=' -i_dynamic';; | |
| 12618 esac | |
| 12619 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12620 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
| 12621 ;; | |
| 12622 esac | |
| 12623 archive_cmds_need_lc_CXX=no | |
| 12624 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
| 12625 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
| 12626 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | |
| 12627 ;; | |
| 12628 pgCC* | pgcpp*) | |
| 12629 # Portland Group C++ compiler | |
| 12630 case `$CC -V` in | |
| 12631 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) | |
| 12632 prelink_cmds_CXX='tpldir=Template.dir~ | |
| 12633 rm -rf $tpldir~ | |
| 12634 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ | |
| 12635 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' | |
| 12636 old_archive_cmds_CXX='tpldir=Template.dir~ | |
| 12637 rm -rf $tpldir~ | |
| 12638 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ | |
| 12639 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ | |
| 12640 $RANLIB $oldlib' | |
| 12641 archive_cmds_CXX='tpldir=Template.dir~ | |
| 12642 rm -rf $tpldir~ | |
| 12643 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ | |
| 12644 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' | |
| 12645 archive_expsym_cmds_CXX='tpldir=Template.dir~ | |
| 12646 rm -rf $tpldir~ | |
| 12647 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ | |
| 12648 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | |
| 12649 ;; | |
| 12650 *) # Version 6 and above use weak symbols | |
| 12651 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' | |
| 12652 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | |
| 12653 ;; | |
| 12654 esac | |
| 12655 | |
| 12656 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | |
| 12657 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
| 12658 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | |
| 12659 ;; | |
| 12660 cxx*) | |
| 12661 # Compaq C++ | |
| 12662 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12663 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | |
| 12664 | |
| 12665 runpath_var=LD_RUN_PATH | |
| 12666 hardcode_libdir_flag_spec_CXX='-rpath $libdir' | |
| 12667 hardcode_libdir_separator_CXX=: | |
| 12668 | |
| 12669 # Commands to make compiler produce verbose output that lists | |
| 12670 # what "hidden" libraries, object files and flags are used when | |
| 12671 # linking a shared library. | |
| 12672 # | |
| 12673 # There doesn't appear to be a way to prevent this compiler from | |
| 12674 # explicitly linking system object files so we need to strip them | |
| 12675 # from the output so that they don't get included in the library | |
| 12676 # dependencies. | |
| 12677 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' | |
| 12678 ;; | |
| 12679 xl* | mpixl* | bgxl*) | |
| 12680 # IBM XL 8.0 on PPC, with GNU ld | |
| 12681 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | |
| 12682 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
| 12683 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
| 12684 if test "x$supports_anon_versioning" = xyes; then | |
| 12685 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ | |
| 12686 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
| 12687 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
| 12688 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | |
| 12689 fi | |
| 12690 ;; | |
| 12691 *) | |
| 12692 case `$CC -V 2>&1 | sed 5q` in | |
| 12693 *Sun\ C*) | |
| 12694 # Sun C++ 5.9 | |
| 12695 no_undefined_flag_CXX=' -zdefs' | |
| 12696 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12697 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' | |
| 12698 hardcode_libdir_flag_spec_CXX='-R$libdir' | |
| 12699 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | |
| 12700 compiler_needs_object_CXX=yes | |
| 12701 | |
| 12702 # Not sure whether something based on | |
| 12703 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | |
| 12704 # would be better. | |
| 12705 output_verbose_link_cmd='func_echo_all' | |
| 12706 | |
| 12707 # Archives containing C++ object files must be created using | |
| 12708 # "CC -xar", where "CC" is the Sun C++ compiler. This is | |
| 12709 # necessary to make sure instantiated templates are included | |
| 12710 # in the archive. | |
| 12711 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | |
| 12712 ;; | |
| 12713 esac | |
| 12714 ;; | |
| 12715 esac | |
| 12716 ;; | |
| 12717 | |
| 12718 lynxos*) | |
| 12719 # FIXME: insert proper C++ library support | |
| 12720 ld_shlibs_CXX=no | |
| 12721 ;; | |
| 12722 | |
| 12723 m88k*) | |
| 12724 # FIXME: insert proper C++ library support | |
| 12725 ld_shlibs_CXX=no | |
| 12726 ;; | |
| 12727 | |
| 12728 mvs*) | |
| 12729 case $cc_basename in | |
| 12730 cxx*) | |
| 12731 # FIXME: insert proper C++ library support | |
| 12732 ld_shlibs_CXX=no | |
| 12733 ;; | |
| 12734 *) | |
| 12735 # FIXME: insert proper C++ library support | |
| 12736 ld_shlibs_CXX=no | |
| 12737 ;; | |
| 12738 esac | |
| 12739 ;; | |
| 12740 | |
| 12741 netbsd*) | |
| 12742 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 12743 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | |
| 12744 wlarc= | |
| 12745 hardcode_libdir_flag_spec_CXX='-R$libdir' | |
| 12746 hardcode_direct_CXX=yes | |
| 12747 hardcode_shlibpath_var_CXX=no | |
| 12748 fi | |
| 12749 # Workaround some broken pre-1.5 toolchains | |
| 12750 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | |
| 12751 ;; | |
| 12752 | |
| 12753 *nto* | *qnx*) | |
| 12754 ld_shlibs_CXX=yes | |
| 12755 ;; | |
| 12756 | |
| 12757 openbsd2*) | |
| 12758 # C++ shared libraries are fairly broken | |
| 12759 ld_shlibs_CXX=no | |
| 12760 ;; | |
| 12761 | |
| 12762 openbsd*) | |
| 12763 if test -f /usr/libexec/ld.so; then | |
| 12764 hardcode_direct_CXX=yes | |
| 12765 hardcode_shlibpath_var_CXX=no | |
| 12766 hardcode_direct_absolute_CXX=yes | |
| 12767 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | |
| 12768 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
| 12769 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 12770 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | |
| 12771 export_dynamic_flag_spec_CXX='${wl}-E' | |
| 12772 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
| 12773 fi | |
| 12774 output_verbose_link_cmd=func_echo_all | |
| 12775 else | |
| 12776 ld_shlibs_CXX=no | |
| 12777 fi | |
| 12778 ;; | |
| 12779 | |
| 12780 osf3* | osf4* | osf5*) | |
| 12781 case $cc_basename in | |
| 12782 KCC*) | |
| 12783 # Kuck and Associates, Inc. (KAI) C++ Compiler | |
| 12784 | |
| 12785 # KCC will only create a shared library if the output file | |
| 12786 # ends with ".so" (or ".sl" for HP-UX), so rename the library | |
| 12787 # to its proper name (with version) after linking. | |
| 12788 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | |
| 12789 | |
| 12790 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
| 12791 hardcode_libdir_separator_CXX=: | |
| 12792 | |
| 12793 # Archives containing C++ object files must be created using | |
| 12794 # the KAI C++ compiler. | |
| 12795 case $host in | |
| 12796 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; | |
| 12797 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; | |
| 12798 esac | |
| 12799 ;; | |
| 12800 RCC*) | |
| 12801 # Rational C++ 2.4.1 | |
| 12802 # FIXME: insert proper C++ library support | |
| 12803 ld_shlibs_CXX=no | |
| 12804 ;; | |
| 12805 cxx*) | |
| 12806 case $host in | |
| 12807 osf3*) | |
| 12808 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | |
| 12809 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | |
| 12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | |
| 12811 ;; | |
| 12812 *) | |
| 12813 allow_undefined_flag_CXX=' -expect_unresolved \*' | |
| 12814 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | |
| 12815 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | |
| 12816 echo "-hidden">> $lib.exp~ | |
| 12817 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ | |
| 12818 $RM $lib.exp' | |
| 12819 hardcode_libdir_flag_spec_CXX='-rpath $libdir' | |
| 12820 ;; | |
| 12821 esac | |
| 12822 | |
| 12823 hardcode_libdir_separator_CXX=: | |
| 12824 | |
| 12825 # Commands to make compiler produce verbose output that lists | |
| 12826 # what "hidden" libraries, object files and flags are used when | |
| 12827 # linking a shared library. | |
| 12828 # | |
| 12829 # There doesn't appear to be a way to prevent this compiler from | |
| 12830 # explicitly linking system object files so we need to strip them | |
| 12831 # from the output so that they don't get included in the library | |
| 12832 # dependencies. | |
| 12833 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | |
| 12834 ;; | |
| 12835 *) | |
| 12836 if test "$GXX" = yes && test "$with_gnu_ld" = no; then | |
| 12837 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | |
| 12838 case $host in | |
| 12839 osf3*) | |
| 12840 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | |
| 12841 ;; | |
| 12842 *) | |
| 12843 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | |
| 12844 ;; | |
| 12845 esac | |
| 12846 | |
| 12847 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | |
| 12848 hardcode_libdir_separator_CXX=: | |
| 12849 | |
| 12850 # Commands to make compiler produce verbose output that lists | |
| 12851 # what "hidden" libraries, object files and flags are used when | |
| 12852 # linking a shared library. | |
| 12853 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | |
| 12854 | |
| 12855 else | |
| 12856 # FIXME: insert proper C++ library support | |
| 12857 ld_shlibs_CXX=no | |
| 12858 fi | |
| 12859 ;; | |
| 12860 esac | |
| 12861 ;; | |
| 12862 | |
| 12863 psos*) | |
| 12864 # FIXME: insert proper C++ library support | |
| 12865 ld_shlibs_CXX=no | |
| 12866 ;; | |
| 12867 | |
| 12868 sunos4*) | |
| 12869 case $cc_basename in | |
| 12870 CC*) | |
| 12871 # Sun C++ 4.x | |
| 12872 # FIXME: insert proper C++ library support | |
| 12873 ld_shlibs_CXX=no | |
| 12874 ;; | |
| 12875 lcc*) | |
| 12876 # Lucid | |
| 12877 # FIXME: insert proper C++ library support | |
| 12878 ld_shlibs_CXX=no | |
| 12879 ;; | |
| 12880 *) | |
| 12881 # FIXME: insert proper C++ library support | |
| 12882 ld_shlibs_CXX=no | |
| 12883 ;; | |
| 12884 esac | |
| 12885 ;; | |
| 12886 | |
| 12887 solaris*) | |
| 12888 case $cc_basename in | |
| 12889 CC* | sunCC*) | |
| 12890 # Sun C++ 4.2, 5.x and Centerline C++ | |
| 12891 archive_cmds_need_lc_CXX=yes | |
| 12892 no_undefined_flag_CXX=' -zdefs' | |
| 12893 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
| 12894 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 12895 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | |
| 12896 | |
| 12897 hardcode_libdir_flag_spec_CXX='-R$libdir' | |
| 12898 hardcode_shlibpath_var_CXX=no | |
| 12899 case $host_os in | |
| 12900 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
| 12901 *) | |
| 12902 # The compiler driver will combine and reorder linker options, | |
| 12903 # but understands `-z linker_flag'. | |
| 12904 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
| 12905 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' | |
| 12906 ;; | |
| 12907 esac | |
| 12908 link_all_deplibs_CXX=yes | |
| 12909 | |
| 12910 output_verbose_link_cmd='func_echo_all' | |
| 12911 | |
| 12912 # Archives containing C++ object files must be created using | |
| 12913 # "CC -xar", where "CC" is the Sun C++ compiler. This is | |
| 12914 # necessary to make sure instantiated templates are included | |
| 12915 # in the archive. | |
| 12916 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | |
| 12917 ;; | |
| 12918 gcx*) | |
| 12919 # Green Hills C++ Compiler | |
| 12920 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | |
| 12921 | |
| 12922 # The C++ compiler must be used to create the archive. | |
| 12923 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | |
| 12924 ;; | |
| 12925 *) | |
| 12926 # GNU C++ compiler with Solaris linker | |
| 12927 if test "$GXX" = yes && test "$with_gnu_ld" = no; then | |
| 12928 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | |
| 12929 if $CC --version | $GREP -v '^2\.7' > /dev/null; then | |
| 12930 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | |
| 12931 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 12932 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | |
| 12933 | |
| 12934 # Commands to make compiler produce verbose output that lists | |
| 12935 # what "hidden" libraries, object files and flags are used when | |
| 12936 # linking a shared library. | |
| 12937 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | |
| 12938 else | |
| 12939 # g++ 2.7 appears to require `-G' NOT `-shared' on this | |
| 12940 # platform. | |
| 12941 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | |
| 12942 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | |
| 12943 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | |
| 12944 | |
| 12945 # Commands to make compiler produce verbose output that lists | |
| 12946 # what "hidden" libraries, object files and flags are used when | |
| 12947 # linking a shared library. | |
| 12948 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | |
| 12949 fi | |
| 12950 | |
| 12951 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | |
| 12952 case $host_os in | |
| 12953 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
| 12954 *) | |
| 12955 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | |
| 12956 ;; | |
| 12957 esac | |
| 12958 fi | |
| 12959 ;; | |
| 12960 esac | |
| 12961 ;; | |
| 12962 | |
| 12963 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | |
| 12964 no_undefined_flag_CXX='${wl}-z,text' | |
| 12965 archive_cmds_need_lc_CXX=no | |
| 12966 hardcode_shlibpath_var_CXX=no | |
| 12967 runpath_var='LD_RUN_PATH' | |
| 12968 | |
| 12969 case $cc_basename in | |
| 12970 CC*) | |
| 12971 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 12972 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 12973 ;; | |
| 12974 *) | |
| 12975 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 12976 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 12977 ;; | |
| 12978 esac | |
| 12979 ;; | |
| 12980 | |
| 12981 sysv5* | sco3.2v5* | sco5v6*) | |
| 12982 # Note: We can NOT use -z defs as we might desire, because we do not | |
| 12983 # link with -lc, and that would cause any symbols used from libc to | |
| 12984 # always be unresolved, which means just about no library would | |
| 12985 # ever link correctly. If we're not using GNU ld we use -z text | |
| 12986 # though, which does catch some bad symbols but isn't as heavy-handed | |
| 12987 # as -z defs. | |
| 12988 no_undefined_flag_CXX='${wl}-z,text' | |
| 12989 allow_undefined_flag_CXX='${wl}-z,nodefs' | |
| 12990 archive_cmds_need_lc_CXX=no | |
| 12991 hardcode_shlibpath_var_CXX=no | |
| 12992 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' | |
| 12993 hardcode_libdir_separator_CXX=':' | |
| 12994 link_all_deplibs_CXX=yes | |
| 12995 export_dynamic_flag_spec_CXX='${wl}-Bexport' | |
| 12996 runpath_var='LD_RUN_PATH' | |
| 12997 | |
| 12998 case $cc_basename in | |
| 12999 CC*) | |
| 13000 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 13001 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 13002 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ | |
| 13003 '"$old_archive_cmds_CXX" | |
| 13004 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ | |
| 13005 '"$reload_cmds_CXX" | |
| 13006 ;; | |
| 13007 *) | |
| 13008 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 13009 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
| 13010 ;; | |
| 13011 esac | |
| 13012 ;; | |
| 13013 | |
| 13014 tandem*) | |
| 13015 case $cc_basename in | |
| 13016 NCC*) | |
| 13017 # NonStop-UX NCC 3.20 | |
| 13018 # FIXME: insert proper C++ library support | |
| 13019 ld_shlibs_CXX=no | |
| 13020 ;; | |
| 13021 *) | |
| 13022 # FIXME: insert proper C++ library support | |
| 13023 ld_shlibs_CXX=no | |
| 13024 ;; | |
| 13025 esac | |
| 13026 ;; | |
| 13027 | |
| 13028 vxworks*) | |
| 13029 # FIXME: insert proper C++ library support | |
| 13030 ld_shlibs_CXX=no | |
| 13031 ;; | |
| 13032 | |
| 13033 *) | |
| 13034 # FIXME: insert proper C++ library support | |
| 13035 ld_shlibs_CXX=no | |
| 13036 ;; | |
| 13037 esac | |
| 13038 | |
| 13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 | |
| 13040 $as_echo "$ld_shlibs_CXX" >&6; } | |
| 13041 test "$ld_shlibs_CXX" = no && can_build_shared=no | |
| 13042 | |
| 13043 GCC_CXX="$GXX" | |
| 13044 LD_CXX="$LD" | |
| 13045 | |
| 13046 ## CAVEAT EMPTOR: | |
| 13047 ## There is no encapsulation within the following macros, do not change | |
| 13048 ## the running order or otherwise move them around unless you know exactly | |
| 13049 ## what you are doing... | |
| 13050 # Dependencies to place before and after the object being linked: | |
| 13051 predep_objects_CXX= | |
| 13052 postdep_objects_CXX= | |
| 13053 predeps_CXX= | |
| 13054 postdeps_CXX= | |
| 13055 compiler_lib_search_path_CXX= | |
| 13056 | |
| 13057 cat > conftest.$ac_ext <<_LT_EOF | |
| 13058 class Foo | |
| 13059 { | |
| 13060 public: | |
| 13061 Foo (void) { a = 0; } | |
| 13062 private: | |
| 13063 int a; | |
| 13064 }; | |
| 13065 _LT_EOF | |
| 13066 | |
| 13067 | |
| 13068 _lt_libdeps_save_CFLAGS=$CFLAGS | |
| 13069 case "$CC $CFLAGS " in #( | |
| 13070 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; | |
| 13071 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; | |
| 13072 esac | |
| 13073 | |
| 13074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 13075 (eval $ac_compile) 2>&5 | |
| 13076 ac_status=$? | |
| 13077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 13078 test $ac_status = 0; }; then | |
| 13079 # Parse the compiler output and extract the necessary | |
| 13080 # objects, libraries and library flags. | |
| 13081 | |
| 13082 # Sentinel used to keep track of whether or not we are before | |
| 13083 # the conftest object file. | |
| 13084 pre_test_object_deps_done=no | |
| 13085 | |
| 13086 for p in `eval "$output_verbose_link_cmd"`; do | |
| 13087 case ${prev}${p} in | |
| 13088 | |
| 13089 -L* | -R* | -l*) | |
| 13090 # Some compilers place space between "-{L,R}" and the path. | |
| 13091 # Remove the space. | |
| 13092 if test $p = "-L" || | |
| 13093 test $p = "-R"; then | |
| 13094 prev=$p | |
| 13095 continue | |
| 13096 fi | |
| 13097 | |
| 13098 # Expand the sysroot to ease extracting the directories later. | |
| 13099 if test -z "$prev"; then | |
| 13100 case $p in | |
| 13101 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; | |
| 13102 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; | |
| 13103 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; | |
| 13104 esac | |
| 13105 fi | |
| 13106 case $p in | |
| 13107 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; | |
| 13108 esac | |
| 13109 if test "$pre_test_object_deps_done" = no; then | |
| 13110 case ${prev} in | |
| 13111 -L | -R) | |
| 13112 # Internal compiler library paths should come after those | |
| 13113 # provided the user. The postdeps already come after the | |
| 13114 # user supplied libs so there is no need to process them. | |
| 13115 if test -z "$compiler_lib_search_path_CXX"; then | |
| 13116 compiler_lib_search_path_CXX="${prev}${p}" | |
| 13117 else | |
| 13118 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" | |
| 13119 fi | |
| 13120 ;; | |
| 13121 # The "-l" case would never come before the object being | |
| 13122 # linked, so don't bother handling this case. | |
| 13123 esac | |
| 13124 else | |
| 13125 if test -z "$postdeps_CXX"; then | |
| 13126 postdeps_CXX="${prev}${p}" | |
| 13127 else | |
| 13128 postdeps_CXX="${postdeps_CXX} ${prev}${p}" | |
| 13129 fi | |
| 13130 fi | |
| 13131 prev= | |
| 13132 ;; | |
| 13133 | |
| 13134 *.lto.$objext) ;; # Ignore GCC LTO objects | |
| 13135 *.$objext) | |
| 13136 # This assumes that the test object file only shows up | |
| 13137 # once in the compiler output. | |
| 13138 if test "$p" = "conftest.$objext"; then | |
| 13139 pre_test_object_deps_done=yes | |
| 13140 continue | |
| 13141 fi | |
| 13142 | |
| 13143 if test "$pre_test_object_deps_done" = no; then | |
| 13144 if test -z "$predep_objects_CXX"; then | |
| 13145 predep_objects_CXX="$p" | |
| 13146 else | |
| 13147 predep_objects_CXX="$predep_objects_CXX $p" | |
| 13148 fi | |
| 13149 else | |
| 13150 if test -z "$postdep_objects_CXX"; then | |
| 13151 postdep_objects_CXX="$p" | |
| 13152 else | |
| 13153 postdep_objects_CXX="$postdep_objects_CXX $p" | |
| 13154 fi | |
| 13155 fi | |
| 13156 ;; | |
| 13157 | |
| 13158 *) ;; # Ignore the rest. | |
| 13159 | |
| 13160 esac | |
| 13161 done | |
| 13162 | |
| 13163 # Clean up. | |
| 13164 rm -f a.out a.exe | |
| 13165 else | |
| 13166 echo "libtool.m4: error: problem compiling CXX test program" | |
| 13167 fi | |
| 13168 | |
| 13169 $RM -f confest.$objext | |
| 13170 CFLAGS=$_lt_libdeps_save_CFLAGS | |
| 13171 | |
| 13172 # PORTME: override above test on systems where it is broken | |
| 13173 case $host_os in | |
| 13174 interix[3-9]*) | |
| 13175 # Interix 3.5 installs completely hosed .la files for C++, so rather than | |
| 13176 # hack all around it, let's just trust "g++" to DTRT. | |
| 13177 predep_objects_CXX= | |
| 13178 postdep_objects_CXX= | |
| 13179 postdeps_CXX= | |
| 13180 ;; | |
| 13181 | |
| 13182 linux*) | |
| 13183 case `$CC -V 2>&1 | sed 5q` in | |
| 13184 *Sun\ C*) | |
| 13185 # Sun C++ 5.9 | |
| 13186 | |
| 13187 # The more standards-conforming stlport4 library is | |
| 13188 # incompatible with the Cstd library. Avoid specifying | |
| 13189 # it if it's in CXXFLAGS. Ignore libCrun as | |
| 13190 # -library=stlport4 depends on it. | |
| 13191 case " $CXX $CXXFLAGS " in | |
| 13192 *" -library=stlport4 "*) | |
| 13193 solaris_use_stlport4=yes | |
| 13194 ;; | |
| 13195 esac | |
| 13196 | |
| 13197 if test "$solaris_use_stlport4" != yes; then | |
| 13198 postdeps_CXX='-library=Cstd -library=Crun' | |
| 13199 fi | |
| 13200 ;; | |
| 13201 esac | |
| 13202 ;; | |
| 13203 | |
| 13204 solaris*) | |
| 13205 case $cc_basename in | |
| 13206 CC* | sunCC*) | |
| 13207 # The more standards-conforming stlport4 library is | |
| 13208 # incompatible with the Cstd library. Avoid specifying | |
| 13209 # it if it's in CXXFLAGS. Ignore libCrun as | |
| 13210 # -library=stlport4 depends on it. | |
| 13211 case " $CXX $CXXFLAGS " in | |
| 13212 *" -library=stlport4 "*) | |
| 13213 solaris_use_stlport4=yes | |
| 13214 ;; | |
| 13215 esac | |
| 13216 | |
| 13217 # Adding this requires a known-good setup of shared libraries for | |
| 13218 # Sun compiler versions before 5.6, else PIC objects from an old | |
| 13219 # archive will be linked into the output, leading to subtle bugs. | |
| 13220 if test "$solaris_use_stlport4" != yes; then | |
| 13221 postdeps_CXX='-library=Cstd -library=Crun' | |
| 13222 fi | |
| 13223 ;; | |
| 13224 esac | |
| 13225 ;; | |
| 13226 esac | |
| 13227 | |
| 13228 | |
| 13229 case " $postdeps_CXX " in | |
| 13230 *" -lc "*) archive_cmds_need_lc_CXX=no ;; | |
| 13231 esac | |
| 13232 compiler_lib_search_dirs_CXX= | |
| 13233 if test -n "${compiler_lib_search_path_CXX}"; then | |
| 13234 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` | |
| 13235 fi | |
| 13236 | |
| 13237 | |
| 13238 | |
| 13239 | |
| 13240 | |
| 13241 | |
| 13242 | |
| 13243 | |
| 13244 | |
| 13245 | |
| 13246 | |
| 13247 | |
| 13248 | |
| 13249 | |
| 13250 | |
| 13251 | |
| 13252 | |
| 13253 | |
| 13254 | |
| 13255 | |
| 13256 | |
| 13257 | |
| 13258 | |
| 13259 | |
| 13260 | |
| 13261 | |
| 13262 | |
| 13263 | |
| 13264 | |
| 13265 | |
| 13266 | |
| 13267 lt_prog_compiler_wl_CXX= | |
| 13268 lt_prog_compiler_pic_CXX= | |
| 13269 lt_prog_compiler_static_CXX= | |
| 13270 | |
| 13271 | |
| 13272 # C++ specific cases for pic, static, wl, etc. | |
| 13273 if test "$GXX" = yes; then | |
| 13274 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13275 lt_prog_compiler_static_CXX='-static' | |
| 13276 | |
| 13277 case $host_os in | |
| 13278 aix*) | |
| 13279 # All AIX code is PIC. | |
| 13280 if test "$host_cpu" = ia64; then | |
| 13281 # AIX 5 now supports IA64 processor | |
| 13282 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13283 fi | |
| 13284 ;; | |
| 13285 | |
| 13286 amigaos*) | |
| 13287 case $host_cpu in | |
| 13288 powerpc) | |
| 13289 # see comment about AmigaOS4 .so support | |
| 13290 lt_prog_compiler_pic_CXX='-fPIC' | |
| 13291 ;; | |
| 13292 m68k) | |
| 13293 # FIXME: we need at least 68020 code to build shared libraries, but | |
| 13294 # adding the `-m68020' flag to GCC prevents building anything better, | |
| 13295 # like `-m68040'. | |
| 13296 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' | |
| 13297 ;; | |
| 13298 esac | |
| 13299 ;; | |
| 13300 | |
| 13301 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
| 13302 # PIC is the default for these OSes. | |
| 13303 ;; | |
| 13304 mingw* | cygwin* | os2* | pw32* | cegcc*) | |
| 13305 # This hack is so that the source file can tell whether it is being | |
| 13306 # built for inclusion in a dll (and should export symbols for example). | |
| 13307 # Although the cygwin gcc ignores -fPIC, still need this for old-style | |
| 13308 # (--disable-auto-import) libraries | |
| 13309 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | |
| 13310 ;; | |
| 13311 darwin* | rhapsody*) | |
| 13312 # PIC is the default on this platform | |
| 13313 # Common symbols not allowed in MH_DYLIB files | |
| 13314 lt_prog_compiler_pic_CXX='-fno-common' | |
| 13315 ;; | |
| 13316 *djgpp*) | |
| 13317 # DJGPP does not support shared libraries at all | |
| 13318 lt_prog_compiler_pic_CXX= | |
| 13319 ;; | |
| 13320 haiku*) | |
| 13321 # PIC is the default for Haiku. | |
| 13322 # The "-static" flag exists, but is broken. | |
| 13323 lt_prog_compiler_static_CXX= | |
| 13324 ;; | |
| 13325 interix[3-9]*) | |
| 13326 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
| 13327 # Instead, we relocate shared libraries at runtime. | |
| 13328 ;; | |
| 13329 sysv4*MP*) | |
| 13330 if test -d /usr/nec; then | |
| 13331 lt_prog_compiler_pic_CXX=-Kconform_pic | |
| 13332 fi | |
| 13333 ;; | |
| 13334 hpux*) | |
| 13335 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | |
| 13336 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | |
| 13337 # sets the default TLS model and affects inlining. | |
| 13338 case $host_cpu in | |
| 13339 hppa*64*) | |
| 13340 ;; | |
| 13341 *) | |
| 13342 lt_prog_compiler_pic_CXX='-fPIC' | |
| 13343 ;; | |
| 13344 esac | |
| 13345 ;; | |
| 13346 *qnx* | *nto*) | |
| 13347 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 13348 # it will coredump. | |
| 13349 lt_prog_compiler_pic_CXX='-fPIC -shared' | |
| 13350 ;; | |
| 13351 *) | |
| 13352 lt_prog_compiler_pic_CXX='-fPIC' | |
| 13353 ;; | |
| 13354 esac | |
| 13355 else | |
| 13356 case $host_os in | |
| 13357 aix[4-9]*) | |
| 13358 # All AIX code is PIC. | |
| 13359 if test "$host_cpu" = ia64; then | |
| 13360 # AIX 5 now supports IA64 processor | |
| 13361 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13362 else | |
| 13363 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | |
| 13364 fi | |
| 13365 ;; | |
| 13366 chorus*) | |
| 13367 case $cc_basename in | |
| 13368 cxch68*) | |
| 13369 # Green Hills C++ Compiler | |
| 13370 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" | |
| 13371 ;; | |
| 13372 esac | |
| 13373 ;; | |
| 13374 mingw* | cygwin* | os2* | pw32* | cegcc*) | |
| 13375 # This hack is so that the source file can tell whether it is being | |
| 13376 # built for inclusion in a dll (and should export symbols for example). | |
| 13377 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | |
| 13378 ;; | |
| 13379 dgux*) | |
| 13380 case $cc_basename in | |
| 13381 ec++*) | |
| 13382 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13383 ;; | |
| 13384 ghcx*) | |
| 13385 # Green Hills C++ Compiler | |
| 13386 lt_prog_compiler_pic_CXX='-pic' | |
| 13387 ;; | |
| 13388 *) | |
| 13389 ;; | |
| 13390 esac | |
| 13391 ;; | |
| 13392 freebsd* | dragonfly*) | |
| 13393 # FreeBSD uses GNU C++ | |
| 13394 ;; | |
| 13395 hpux9* | hpux10* | hpux11*) | |
| 13396 case $cc_basename in | |
| 13397 CC*) | |
| 13398 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13399 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' | |
| 13400 if test "$host_cpu" != ia64; then | |
| 13401 lt_prog_compiler_pic_CXX='+Z' | |
| 13402 fi | |
| 13403 ;; | |
| 13404 aCC*) | |
| 13405 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13406 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' | |
| 13407 case $host_cpu in | |
| 13408 hppa*64*|ia64*) | |
| 13409 # +Z the default | |
| 13410 ;; | |
| 13411 *) | |
| 13412 lt_prog_compiler_pic_CXX='+Z' | |
| 13413 ;; | |
| 13414 esac | |
| 13415 ;; | |
| 13416 *) | |
| 13417 ;; | |
| 13418 esac | |
| 13419 ;; | |
| 13420 interix*) | |
| 13421 # This is c89, which is MS Visual C++ (no shared libs) | |
| 13422 # Anyone wants to do a port? | |
| 13423 ;; | |
| 13424 irix5* | irix6* | nonstopux*) | |
| 13425 case $cc_basename in | |
| 13426 CC*) | |
| 13427 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13428 lt_prog_compiler_static_CXX='-non_shared' | |
| 13429 # CC pic flag -KPIC is the default. | |
| 13430 ;; | |
| 13431 *) | |
| 13432 ;; | |
| 13433 esac | |
| 13434 ;; | |
| 13435 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 13436 case $cc_basename in | |
| 13437 KCC*) | |
| 13438 # KAI C++ Compiler | |
| 13439 lt_prog_compiler_wl_CXX='--backend -Wl,' | |
| 13440 lt_prog_compiler_pic_CXX='-fPIC' | |
| 13441 ;; | |
| 13442 ecpc* ) | |
| 13443 # old Intel C++ for x86_64 which still supported -KPIC. | |
| 13444 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13445 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13446 lt_prog_compiler_static_CXX='-static' | |
| 13447 ;; | |
| 13448 icpc* ) | |
| 13449 # Intel C++, used to be incompatible with GCC. | |
| 13450 # ICC 10 doesn't accept -KPIC any more. | |
| 13451 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13452 lt_prog_compiler_pic_CXX='-fPIC' | |
| 13453 lt_prog_compiler_static_CXX='-static' | |
| 13454 ;; | |
| 13455 pgCC* | pgcpp*) | |
| 13456 # Portland Group C++ compiler | |
| 13457 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13458 lt_prog_compiler_pic_CXX='-fpic' | |
| 13459 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13460 ;; | |
| 13461 cxx*) | |
| 13462 # Compaq C++ | |
| 13463 # Make sure the PIC flag is empty. It appears that all Alpha | |
| 13464 # Linux and Compaq Tru64 Unix objects are PIC. | |
| 13465 lt_prog_compiler_pic_CXX= | |
| 13466 lt_prog_compiler_static_CXX='-non_shared' | |
| 13467 ;; | |
| 13468 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) | |
| 13469 # IBM XL 8.0, 9.0 on PPC and BlueGene | |
| 13470 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13471 lt_prog_compiler_pic_CXX='-qpic' | |
| 13472 lt_prog_compiler_static_CXX='-qstaticlink' | |
| 13473 ;; | |
| 13474 *) | |
| 13475 case `$CC -V 2>&1 | sed 5q` in | |
| 13476 *Sun\ C*) | |
| 13477 # Sun C++ 5.9 | |
| 13478 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13479 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13480 lt_prog_compiler_wl_CXX='-Qoption ld ' | |
| 13481 ;; | |
| 13482 esac | |
| 13483 ;; | |
| 13484 esac | |
| 13485 ;; | |
| 13486 lynxos*) | |
| 13487 ;; | |
| 13488 m88k*) | |
| 13489 ;; | |
| 13490 mvs*) | |
| 13491 case $cc_basename in | |
| 13492 cxx*) | |
| 13493 lt_prog_compiler_pic_CXX='-W c,exportall' | |
| 13494 ;; | |
| 13495 *) | |
| 13496 ;; | |
| 13497 esac | |
| 13498 ;; | |
| 13499 netbsd* | netbsdelf*-gnu) | |
| 13500 ;; | |
| 13501 *qnx* | *nto*) | |
| 13502 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
| 13503 # it will coredump. | |
| 13504 lt_prog_compiler_pic_CXX='-fPIC -shared' | |
| 13505 ;; | |
| 13506 osf3* | osf4* | osf5*) | |
| 13507 case $cc_basename in | |
| 13508 KCC*) | |
| 13509 lt_prog_compiler_wl_CXX='--backend -Wl,' | |
| 13510 ;; | |
| 13511 RCC*) | |
| 13512 # Rational C++ 2.4.1 | |
| 13513 lt_prog_compiler_pic_CXX='-pic' | |
| 13514 ;; | |
| 13515 cxx*) | |
| 13516 # Digital/Compaq C++ | |
| 13517 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13518 # Make sure the PIC flag is empty. It appears that all Alpha | |
| 13519 # Linux and Compaq Tru64 Unix objects are PIC. | |
| 13520 lt_prog_compiler_pic_CXX= | |
| 13521 lt_prog_compiler_static_CXX='-non_shared' | |
| 13522 ;; | |
| 13523 *) | |
| 13524 ;; | |
| 13525 esac | |
| 13526 ;; | |
| 13527 psos*) | |
| 13528 ;; | |
| 13529 solaris*) | |
| 13530 case $cc_basename in | |
| 13531 CC* | sunCC*) | |
| 13532 # Sun C++ 4.2, 5.x and Centerline C++ | |
| 13533 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13534 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13535 lt_prog_compiler_wl_CXX='-Qoption ld ' | |
| 13536 ;; | |
| 13537 gcx*) | |
| 13538 # Green Hills C++ Compiler | |
| 13539 lt_prog_compiler_pic_CXX='-PIC' | |
| 13540 ;; | |
| 13541 *) | |
| 13542 ;; | |
| 13543 esac | |
| 13544 ;; | |
| 13545 sunos4*) | |
| 13546 case $cc_basename in | |
| 13547 CC*) | |
| 13548 # Sun C++ 4.x | |
| 13549 lt_prog_compiler_pic_CXX='-pic' | |
| 13550 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13551 ;; | |
| 13552 lcc*) | |
| 13553 # Lucid | |
| 13554 lt_prog_compiler_pic_CXX='-pic' | |
| 13555 ;; | |
| 13556 *) | |
| 13557 ;; | |
| 13558 esac | |
| 13559 ;; | |
| 13560 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
| 13561 case $cc_basename in | |
| 13562 CC*) | |
| 13563 lt_prog_compiler_wl_CXX='-Wl,' | |
| 13564 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13565 lt_prog_compiler_static_CXX='-Bstatic' | |
| 13566 ;; | |
| 13567 esac | |
| 13568 ;; | |
| 13569 tandem*) | |
| 13570 case $cc_basename in | |
| 13571 NCC*) | |
| 13572 # NonStop-UX NCC 3.20 | |
| 13573 lt_prog_compiler_pic_CXX='-KPIC' | |
| 13574 ;; | |
| 13575 *) | |
| 13576 ;; | |
| 13577 esac | |
| 13578 ;; | |
| 13579 vxworks*) | |
| 13580 ;; | |
| 13581 *) | |
| 13582 lt_prog_compiler_can_build_shared_CXX=no | |
| 13583 ;; | |
| 13584 esac | |
| 13585 fi | |
| 13586 | |
| 13587 case $host_os in | |
| 13588 # For platforms which do not support PIC, -DPIC is meaningless: | |
| 13589 *djgpp*) | |
| 13590 lt_prog_compiler_pic_CXX= | |
| 13591 ;; | |
| 13592 *) | |
| 13593 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | |
| 13594 ;; | |
| 13595 esac | |
| 13596 | |
| 13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 | |
| 13598 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | |
| 13599 if ${lt_cv_prog_compiler_pic_CXX+:} false; then : | |
| 13600 $as_echo_n "(cached) " >&6 | |
| 13601 else | |
| 13602 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX | |
| 13603 fi | |
| 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 | |
| 13605 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } | |
| 13606 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX | |
| 13607 | |
| 13608 # | |
| 13609 # Check to make sure the PIC flag actually works. | |
| 13610 # | |
| 13611 if test -n "$lt_prog_compiler_pic_CXX"; then | |
| 13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | |
| 13613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } | |
| 13614 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : | |
| 13615 $as_echo_n "(cached) " >&6 | |
| 13616 else | |
| 13617 lt_cv_prog_compiler_pic_works_CXX=no | |
| 13618 ac_outfile=conftest.$ac_objext | |
| 13619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 13620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" | |
| 13621 # Insert the option either (1) after the last *FLAGS variable, or | |
| 13622 # (2) before a word containing "conftest.", or (3) at the end. | |
| 13623 # Note that $ac_compile itself does not contain backslashes and begins | |
| 13624 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 13625 # The option is referenced via a variable to avoid confusing sed. | |
| 13626 lt_compile=`echo "$ac_compile" | $SED \ | |
| 13627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 13628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 13629 -e 's:$: $lt_compiler_flag:'` | |
| 13630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 13631 (eval "$lt_compile" 2>conftest.err) | |
| 13632 ac_status=$? | |
| 13633 cat conftest.err >&5 | |
| 13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 13635 if (exit $ac_status) && test -s "$ac_outfile"; then | |
| 13636 # The compiler can only warn and ignore the option if not recognized | |
| 13637 # So say no if there are warnings other than the usual output. | |
| 13638 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
| 13639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 13640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
| 13641 lt_cv_prog_compiler_pic_works_CXX=yes | |
| 13642 fi | |
| 13643 fi | |
| 13644 $RM conftest* | |
| 13645 | |
| 13646 fi | |
| 13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 | |
| 13648 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } | |
| 13649 | |
| 13650 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then | |
| 13651 case $lt_prog_compiler_pic_CXX in | |
| 13652 "" | " "*) ;; | |
| 13653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | |
| 13654 esac | |
| 13655 else | |
| 13656 lt_prog_compiler_pic_CXX= | |
| 13657 lt_prog_compiler_can_build_shared_CXX=no | |
| 13658 fi | |
| 13659 | |
| 13660 fi | |
| 13661 | |
| 13662 | |
| 13663 | |
| 13664 | |
| 13665 | |
| 13666 # | |
| 13667 # Check to make sure the static flag actually works. | |
| 13668 # | |
| 13669 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" | |
| 13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
| 13671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } | |
| 13672 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : | |
| 13673 $as_echo_n "(cached) " >&6 | |
| 13674 else | |
| 13675 lt_cv_prog_compiler_static_works_CXX=no | |
| 13676 save_LDFLAGS="$LDFLAGS" | |
| 13677 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
| 13678 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
| 13679 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
| 13680 # The linker can only warn and ignore the option if not recognized | |
| 13681 # So say no if there are warnings | |
| 13682 if test -s conftest.err; then | |
| 13683 # Append any errors to the config.log. | |
| 13684 cat conftest.err 1>&5 | |
| 13685 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
| 13686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
| 13687 if diff conftest.exp conftest.er2 >/dev/null; then | |
| 13688 lt_cv_prog_compiler_static_works_CXX=yes | |
| 13689 fi | |
| 13690 else | |
| 13691 lt_cv_prog_compiler_static_works_CXX=yes | |
| 13692 fi | |
| 13693 fi | |
| 13694 $RM -r conftest* | |
| 13695 LDFLAGS="$save_LDFLAGS" | |
| 13696 | |
| 13697 fi | |
| 13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 | |
| 13699 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } | |
| 13700 | |
| 13701 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then | |
| 13702 : | |
| 13703 else | |
| 13704 lt_prog_compiler_static_CXX= | |
| 13705 fi | |
| 13706 | |
| 13707 | |
| 13708 | |
| 13709 | |
| 13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
| 13711 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 13712 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : | |
| 13713 $as_echo_n "(cached) " >&6 | |
| 13714 else | |
| 13715 lt_cv_prog_compiler_c_o_CXX=no | |
| 13716 $RM -r conftest 2>/dev/null | |
| 13717 mkdir conftest | |
| 13718 cd conftest | |
| 13719 mkdir out | |
| 13720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 13721 | |
| 13722 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 13723 # Insert the option either (1) after the last *FLAGS variable, or | |
| 13724 # (2) before a word containing "conftest.", or (3) at the end. | |
| 13725 # Note that $ac_compile itself does not contain backslashes and begins | |
| 13726 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 13727 lt_compile=`echo "$ac_compile" | $SED \ | |
| 13728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 13729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 13730 -e 's:$: $lt_compiler_flag:'` | |
| 13731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 13732 (eval "$lt_compile" 2>out/conftest.err) | |
| 13733 ac_status=$? | |
| 13734 cat out/conftest.err >&5 | |
| 13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 13736 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 13737 then | |
| 13738 # The compiler can only warn and ignore the option if not recognized | |
| 13739 # So say no if there are warnings | |
| 13740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 13741 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 13742 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
| 13743 lt_cv_prog_compiler_c_o_CXX=yes | |
| 13744 fi | |
| 13745 fi | |
| 13746 chmod u+w . 2>&5 | |
| 13747 $RM conftest* | |
| 13748 # SGI C++ compiler will create directory out/ii_files/ for | |
| 13749 # template instantiation | |
| 13750 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 13751 $RM out/* && rmdir out | |
| 13752 cd .. | |
| 13753 $RM -r conftest | |
| 13754 $RM conftest* | |
| 13755 | |
| 13756 fi | |
| 13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | |
| 13758 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } | |
| 13759 | |
| 13760 | |
| 13761 | |
| 13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
| 13763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
| 13764 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : | |
| 13765 $as_echo_n "(cached) " >&6 | |
| 13766 else | |
| 13767 lt_cv_prog_compiler_c_o_CXX=no | |
| 13768 $RM -r conftest 2>/dev/null | |
| 13769 mkdir conftest | |
| 13770 cd conftest | |
| 13771 mkdir out | |
| 13772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 13773 | |
| 13774 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
| 13775 # Insert the option either (1) after the last *FLAGS variable, or | |
| 13776 # (2) before a word containing "conftest.", or (3) at the end. | |
| 13777 # Note that $ac_compile itself does not contain backslashes and begins | |
| 13778 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
| 13779 lt_compile=`echo "$ac_compile" | $SED \ | |
| 13780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
| 13781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
| 13782 -e 's:$: $lt_compiler_flag:'` | |
| 13783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
| 13784 (eval "$lt_compile" 2>out/conftest.err) | |
| 13785 ac_status=$? | |
| 13786 cat out/conftest.err >&5 | |
| 13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 13788 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
| 13789 then | |
| 13790 # The compiler can only warn and ignore the option if not recognized | |
| 13791 # So say no if there are warnings | |
| 13792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
| 13793 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
| 13794 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
| 13795 lt_cv_prog_compiler_c_o_CXX=yes | |
| 13796 fi | |
| 13797 fi | |
| 13798 chmod u+w . 2>&5 | |
| 13799 $RM conftest* | |
| 13800 # SGI C++ compiler will create directory out/ii_files/ for | |
| 13801 # template instantiation | |
| 13802 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
| 13803 $RM out/* && rmdir out | |
| 13804 cd .. | |
| 13805 $RM -r conftest | |
| 13806 $RM conftest* | |
| 13807 | |
| 13808 fi | |
| 13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | |
| 13810 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } | |
| 13811 | |
| 13812 | |
| 13813 | |
| 13814 | |
| 13815 hard_links="nottested" | |
| 13816 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | |
| 13817 # do not overwrite the value of need_locks provided by the user | |
| 13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 | |
| 13819 $as_echo_n "checking if we can lock with hard links... " >&6; } | |
| 13820 hard_links=yes | |
| 13821 $RM conftest* | |
| 13822 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 13823 touch conftest.a | |
| 13824 ln conftest.a conftest.b 2>&5 || hard_links=no | |
| 13825 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
| 13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | |
| 13827 $as_echo "$hard_links" >&6; } | |
| 13828 if test "$hard_links" = no; then | |
| 13829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | |
| 13830 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | |
| 13831 need_locks=warn | |
| 13832 fi | |
| 13833 else | |
| 13834 need_locks=no | |
| 13835 fi | |
| 13836 | |
| 13837 | |
| 13838 | |
| 13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | |
| 13840 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | |
| 13841 | |
| 13842 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | |
| 13843 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | |
| 13844 case $host_os in | |
| 13845 aix[4-9]*) | |
| 13846 # If we're using GNU nm, then we don't want the "-C" option. | |
| 13847 # -C means demangle to AIX nm, but means don't demangle with GNU nm | |
| 13848 # Also, AIX nm treats weak defined symbols like other global defined | |
| 13849 # symbols, whereas GNU nm marks them as "W". | |
| 13850 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | |
| 13851 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | |
| 13852 else | |
| 13853 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | |
| 13854 fi | |
| 13855 ;; | |
| 13856 pw32*) | |
| 13857 export_symbols_cmds_CXX="$ltdll_cmds" | |
| 13858 ;; | |
| 13859 cygwin* | mingw* | cegcc*) | |
| 13860 case $cc_basename in | |
| 13861 cl*) ;; | |
| 13862 *) | |
| 13863 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | |
| 13864 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | |
| 13865 ;; | |
| 13866 esac | |
| 13867 ;; | |
| 13868 linux* | k*bsd*-gnu | gnu*) | |
| 13869 link_all_deplibs_CXX=no | |
| 13870 ;; | |
| 13871 *) | |
| 13872 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | |
| 13873 ;; | |
| 13874 esac | |
| 13875 | |
| 13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 | |
| 13877 $as_echo "$ld_shlibs_CXX" >&6; } | |
| 13878 test "$ld_shlibs_CXX" = no && can_build_shared=no | |
| 13879 | |
| 13880 with_gnu_ld_CXX=$with_gnu_ld | |
| 13881 | |
| 13882 | |
| 13883 | |
| 13884 | |
| 13885 | |
| 13886 | |
| 13887 # | |
| 13888 # Do we need to explicitly link libc? | |
| 13889 # | |
| 13890 case "x$archive_cmds_need_lc_CXX" in | |
| 13891 x|xyes) | |
| 13892 # Assume -lc should be added | |
| 13893 archive_cmds_need_lc_CXX=yes | |
| 13894 | |
| 13895 if test "$enable_shared" = yes && test "$GCC" = yes; then | |
| 13896 case $archive_cmds_CXX in | |
| 13897 *'~'*) | |
| 13898 # FIXME: we may have to deal with multi-command sequences. | |
| 13899 ;; | |
| 13900 '$CC '*) | |
| 13901 # Test whether the compiler implicitly links with -lc since on some | |
| 13902 # systems, -lgcc has to come before -lc. If gcc already passes -lc | |
| 13903 # to ld, don't add -lc before -lgcc. | |
| 13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 | |
| 13905 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | |
| 13906 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : | |
| 13907 $as_echo_n "(cached) " >&6 | |
| 13908 else | |
| 13909 $RM conftest* | |
| 13910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
| 13911 | |
| 13912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 13913 (eval $ac_compile) 2>&5 | |
| 13914 ac_status=$? | |
| 13915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 13916 test $ac_status = 0; } 2>conftest.err; then | |
| 13917 soname=conftest | |
| 13918 lib=conftest | |
| 13919 libobjs=conftest.$ac_objext | |
| 13920 deplibs= | |
| 13921 wl=$lt_prog_compiler_wl_CXX | |
| 13922 pic_flag=$lt_prog_compiler_pic_CXX | |
| 13923 compiler_flags=-v | |
| 13924 linker_flags=-v | |
| 13925 verstring= | |
| 13926 output_objdir=. | |
| 13927 libname=conftest | |
| 13928 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX | |
| 13929 allow_undefined_flag_CXX= | |
| 13930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | |
| 13931 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | |
| 13932 ac_status=$? | |
| 13933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 13934 test $ac_status = 0; } | |
| 13935 then | |
| 13936 lt_cv_archive_cmds_need_lc_CXX=no | |
| 13937 else | |
| 13938 lt_cv_archive_cmds_need_lc_CXX=yes | |
| 13939 fi | |
| 13940 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | |
| 13941 else | |
| 13942 cat conftest.err 1>&5 | |
| 13943 fi | |
| 13944 $RM conftest* | |
| 13945 | |
| 13946 fi | |
| 13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 | |
| 13948 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } | |
| 13949 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX | |
| 13950 ;; | |
| 13951 esac | |
| 13952 fi | |
| 13953 ;; | |
| 13954 esac | |
| 13955 | |
| 13956 | |
| 13957 | |
| 13958 | |
| 13959 | |
| 13960 | |
| 13961 | |
| 13962 | |
| 13963 | |
| 13964 | |
| 13965 | |
| 13966 | |
| 13967 | |
| 13968 | |
| 13969 | |
| 13970 | |
| 13971 | |
| 13972 | |
| 13973 | |
| 13974 | |
| 13975 | |
| 13976 | |
| 13977 | |
| 13978 | |
| 13979 | |
| 13980 | |
| 13981 | |
| 13982 | |
| 13983 | |
| 13984 | |
| 13985 | |
| 13986 | |
| 13987 | |
| 13988 | |
| 13989 | |
| 13990 | |
| 13991 | |
| 13992 | |
| 13993 | |
| 13994 | |
| 13995 | |
| 13996 | |
| 13997 | |
| 13998 | |
| 13999 | |
| 14000 | |
| 14001 | |
| 14002 | |
| 14003 | |
| 14004 | |
| 14005 | |
| 14006 | |
| 14007 | |
| 14008 | |
| 14009 | |
| 14010 | |
| 14011 | |
| 14012 | |
| 14013 | |
| 14014 | |
| 14015 | |
| 14016 | |
| 14017 | |
| 14018 | |
| 14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 | |
| 14020 $as_echo_n "checking dynamic linker characteristics... " >&6; } | |
| 14021 | |
| 14022 library_names_spec= | |
| 14023 libname_spec='lib$name' | |
| 14024 soname_spec= | |
| 14025 shrext_cmds=".so" | |
| 14026 postinstall_cmds= | |
| 14027 postuninstall_cmds= | |
| 14028 finish_cmds= | |
| 14029 finish_eval= | |
| 14030 shlibpath_var= | |
| 14031 shlibpath_overrides_runpath=unknown | |
| 14032 version_type=none | |
| 14033 dynamic_linker="$host_os ld.so" | |
| 14034 sys_lib_dlsearch_path_spec="/lib /usr/lib" | |
| 14035 need_lib_prefix=unknown | |
| 14036 hardcode_into_libs=no | |
| 14037 | |
| 14038 # when you set need_version to no, make sure it does not cause -set_version | |
| 14039 # flags to be left without arguments | |
| 14040 need_version=unknown | |
| 14041 | |
| 14042 case $host_os in | |
| 14043 aix3*) | |
| 14044 version_type=linux | |
| 14045 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | |
| 14046 shlibpath_var=LIBPATH | |
| 14047 | |
| 14048 # AIX 3 has no versioning support, so we append a major version to the name. | |
| 14049 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14050 ;; | |
| 14051 | |
| 14052 aix[4-9]*) | |
| 14053 version_type=linux | |
| 14054 need_lib_prefix=no | |
| 14055 need_version=no | |
| 14056 hardcode_into_libs=yes | |
| 14057 if test "$host_cpu" = ia64; then | |
| 14058 # AIX 5 supports IA64 | |
| 14059 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | |
| 14060 shlibpath_var=LD_LIBRARY_PATH | |
| 14061 else | |
| 14062 # With GCC up to 2.95.x, collect2 would create an import file | |
| 14063 # for dependence libraries. The import file would start with | |
| 14064 # the line `#! .'. This would cause the generated library to | |
| 14065 # depend on `.', always an invalid library. This was fixed in | |
| 14066 # development snapshots of GCC prior to 3.0. | |
| 14067 case $host_os in | |
| 14068 aix4 | aix4.[01] | aix4.[01].*) | |
| 14069 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | |
| 14070 echo ' yes ' | |
| 14071 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | |
| 14072 : | |
| 14073 else | |
| 14074 can_build_shared=no | |
| 14075 fi | |
| 14076 ;; | |
| 14077 esac | |
| 14078 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | |
| 14079 # soname into executable. Probably we can add versioning support to | |
| 14080 # collect2, so additional links can be useful in future. | |
| 14081 if test "$aix_use_runtimelinking" = yes; then | |
| 14082 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | |
| 14083 # instead of lib<name>.a to let people know that these are not | |
| 14084 # typical AIX shared libraries. | |
| 14085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14086 else | |
| 14087 # We preserve .a as extension for shared libraries through AIX4.2 | |
| 14088 # and later when we are not doing run time linking. | |
| 14089 library_names_spec='${libname}${release}.a $libname.a' | |
| 14090 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14091 fi | |
| 14092 shlibpath_var=LIBPATH | |
| 14093 fi | |
| 14094 ;; | |
| 14095 | |
| 14096 amigaos*) | |
| 14097 case $host_cpu in | |
| 14098 powerpc) | |
| 14099 # Since July 2007 AmigaOS4 officially supports .so libraries. | |
| 14100 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | |
| 14101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14102 ;; | |
| 14103 m68k) | |
| 14104 library_names_spec='$libname.ixlibrary $libname.a' | |
| 14105 # Create ${libname}_ixlibrary.a entries in /sys/libs. | |
| 14106 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' | |
| 14107 ;; | |
| 14108 esac | |
| 14109 ;; | |
| 14110 | |
| 14111 beos*) | |
| 14112 library_names_spec='${libname}${shared_ext}' | |
| 14113 dynamic_linker="$host_os ld.so" | |
| 14114 shlibpath_var=LIBRARY_PATH | |
| 14115 ;; | |
| 14116 | |
| 14117 bsdi[45]*) | |
| 14118 version_type=linux | |
| 14119 need_version=no | |
| 14120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14121 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14122 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | |
| 14123 shlibpath_var=LD_LIBRARY_PATH | |
| 14124 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | |
| 14125 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | |
| 14126 # the default ld.so.conf also contains /usr/contrib/lib and | |
| 14127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | |
| 14128 # libtool to hard-code these into programs | |
| 14129 ;; | |
| 14130 | |
| 14131 cygwin* | mingw* | pw32* | cegcc*) | |
| 14132 version_type=windows | |
| 14133 shrext_cmds=".dll" | |
| 14134 need_version=no | |
| 14135 need_lib_prefix=no | |
| 14136 | |
| 14137 case $GCC,$cc_basename in | |
| 14138 yes,*) | |
| 14139 # gcc | |
| 14140 library_names_spec='$libname.dll.a' | |
| 14141 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 14142 postinstall_cmds='base_file=`basename \${file}`~ | |
| 14143 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | |
| 14144 dldir=$destdir/`dirname \$dlpath`~ | |
| 14145 test -d \$dldir || mkdir -p \$dldir~ | |
| 14146 $install_prog $dir/$dlname \$dldir/$dlname~ | |
| 14147 chmod a+x \$dldir/$dlname~ | |
| 14148 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
| 14149 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
| 14150 fi' | |
| 14151 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 14152 dlpath=$dir/\$dldll~ | |
| 14153 $RM \$dlpath' | |
| 14154 shlibpath_overrides_runpath=yes | |
| 14155 | |
| 14156 case $host_os in | |
| 14157 cygwin*) | |
| 14158 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | |
| 14159 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 14160 | |
| 14161 ;; | |
| 14162 mingw* | cegcc*) | |
| 14163 # MinGW DLLs use traditional 'lib' prefix | |
| 14164 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 14165 ;; | |
| 14166 pw32*) | |
| 14167 # pw32 DLLs use 'pw' prefix rather than 'lib' | |
| 14168 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 14169 ;; | |
| 14170 esac | |
| 14171 dynamic_linker='Win32 ld.exe' | |
| 14172 ;; | |
| 14173 | |
| 14174 *,cl*) | |
| 14175 # Native MSVC | |
| 14176 libname_spec='$name' | |
| 14177 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | |
| 14178 library_names_spec='${libname}.dll.lib' | |
| 14179 | |
| 14180 case $build_os in | |
| 14181 mingw*) | |
| 14182 sys_lib_search_path_spec= | |
| 14183 lt_save_ifs=$IFS | |
| 14184 IFS=';' | |
| 14185 for lt_path in $LIB | |
| 14186 do | |
| 14187 IFS=$lt_save_ifs | |
| 14188 # Let DOS variable expansion print the short 8.3 style file name. | |
| 14189 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` | |
| 14190 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | |
| 14191 done | |
| 14192 IFS=$lt_save_ifs | |
| 14193 # Convert to MSYS style. | |
| 14194 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | |
| 14195 ;; | |
| 14196 cygwin*) | |
| 14197 # Convert to unix form, then to dos form, then back to unix form | |
| 14198 # but this time dos style (no spaces!) so that the unix form looks | |
| 14199 # like /cygdrive/c/PROGRA~1:/cygdr... | |
| 14200 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | |
| 14201 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` | |
| 14202 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
| 14203 ;; | |
| 14204 *) | |
| 14205 sys_lib_search_path_spec="$LIB" | |
| 14206 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then | |
| 14207 # It is most probably a Windows format PATH. | |
| 14208 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | |
| 14209 else | |
| 14210 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
| 14211 fi | |
| 14212 # FIXME: find the short name or the path components, as spaces are | |
| 14213 # common. (e.g. "Program Files" -> "PROGRA~1") | |
| 14214 ;; | |
| 14215 esac | |
| 14216 | |
| 14217 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
| 14218 postinstall_cmds='base_file=`basename \${file}`~ | |
| 14219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | |
| 14220 dldir=$destdir/`dirname \$dlpath`~ | |
| 14221 test -d \$dldir || mkdir -p \$dldir~ | |
| 14222 $install_prog $dir/$dlname \$dldir/$dlname' | |
| 14223 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
| 14224 dlpath=$dir/\$dldll~ | |
| 14225 $RM \$dlpath' | |
| 14226 shlibpath_overrides_runpath=yes | |
| 14227 dynamic_linker='Win32 link.exe' | |
| 14228 ;; | |
| 14229 | |
| 14230 *) | |
| 14231 # Assume MSVC wrapper | |
| 14232 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | |
| 14233 dynamic_linker='Win32 ld.exe' | |
| 14234 ;; | |
| 14235 esac | |
| 14236 # FIXME: first we should search . and the directory the executable is in | |
| 14237 shlibpath_var=PATH | |
| 14238 ;; | |
| 14239 | |
| 14240 darwin* | rhapsody*) | |
| 14241 dynamic_linker="$host_os dyld" | |
| 14242 version_type=darwin | |
| 14243 need_lib_prefix=no | |
| 14244 need_version=no | |
| 14245 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' | |
| 14246 soname_spec='${libname}${release}${major}$shared_ext' | |
| 14247 shlibpath_overrides_runpath=yes | |
| 14248 shlibpath_var=DYLD_LIBRARY_PATH | |
| 14249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | |
| 14250 | |
| 14251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | |
| 14252 ;; | |
| 14253 | |
| 14254 dgux*) | |
| 14255 version_type=linux | |
| 14256 need_lib_prefix=no | |
| 14257 need_version=no | |
| 14258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | |
| 14259 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14260 shlibpath_var=LD_LIBRARY_PATH | |
| 14261 ;; | |
| 14262 | |
| 14263 freebsd1*) | |
| 14264 dynamic_linker=no | |
| 14265 ;; | |
| 14266 | |
| 14267 freebsd* | dragonfly*) | |
| 14268 # DragonFly does not have aout. When/if they implement a new | |
| 14269 # versioning mechanism, adjust this. | |
| 14270 if test -x /usr/bin/objformat; then | |
| 14271 objformat=`/usr/bin/objformat` | |
| 14272 else | |
| 14273 case $host_os in | |
| 14274 freebsd[123]*) objformat=aout ;; | |
| 14275 *) objformat=elf ;; | |
| 14276 esac | |
| 14277 fi | |
| 14278 version_type=freebsd-$objformat | |
| 14279 case $version_type in | |
| 14280 freebsd-elf*) | |
| 14281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 14282 need_version=no | |
| 14283 need_lib_prefix=no | |
| 14284 ;; | |
| 14285 freebsd-*) | |
| 14286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | |
| 14287 need_version=yes | |
| 14288 ;; | |
| 14289 esac | |
| 14290 shlibpath_var=LD_LIBRARY_PATH | |
| 14291 case $host_os in | |
| 14292 freebsd2*) | |
| 14293 shlibpath_overrides_runpath=yes | |
| 14294 ;; | |
| 14295 freebsd3.[01]* | freebsdelf3.[01]*) | |
| 14296 shlibpath_overrides_runpath=yes | |
| 14297 hardcode_into_libs=yes | |
| 14298 ;; | |
| 14299 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | |
| 14300 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
| 14301 shlibpath_overrides_runpath=no | |
| 14302 hardcode_into_libs=yes | |
| 14303 ;; | |
| 14304 *) # from 4.6 on, and DragonFly | |
| 14305 shlibpath_overrides_runpath=yes | |
| 14306 hardcode_into_libs=yes | |
| 14307 ;; | |
| 14308 esac | |
| 14309 ;; | |
| 14310 | |
| 14311 gnu*) | |
| 14312 version_type=linux | |
| 14313 need_lib_prefix=no | |
| 14314 need_version=no | |
| 14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | |
| 14316 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14317 shlibpath_var=LD_LIBRARY_PATH | |
| 14318 shlibpath_overrides_runpath=no | |
| 14319 hardcode_into_libs=yes | |
| 14320 ;; | |
| 14321 | |
| 14322 haiku*) | |
| 14323 version_type=linux | |
| 14324 need_lib_prefix=no | |
| 14325 need_version=no | |
| 14326 dynamic_linker="$host_os runtime_loader" | |
| 14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | |
| 14328 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14329 shlibpath_var=LIBRARY_PATH | |
| 14330 shlibpath_overrides_runpath=yes | |
| 14331 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' | |
| 14332 hardcode_into_libs=yes | |
| 14333 ;; | |
| 14334 | |
| 14335 hpux9* | hpux10* | hpux11*) | |
| 14336 # Give a soname corresponding to the major version so that dld.sl refuses to | |
| 14337 # link against other versions. | |
| 14338 version_type=sunos | |
| 14339 need_lib_prefix=no | |
| 14340 need_version=no | |
| 14341 case $host_cpu in | |
| 14342 ia64*) | |
| 14343 shrext_cmds='.so' | |
| 14344 hardcode_into_libs=yes | |
| 14345 dynamic_linker="$host_os dld.so" | |
| 14346 shlibpath_var=LD_LIBRARY_PATH | |
| 14347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 14348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14349 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14350 if test "X$HPUX_IA64_MODE" = X32; then | |
| 14351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | |
| 14352 else | |
| 14353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |
| 14354 fi | |
| 14355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 14356 ;; | |
| 14357 hppa*64*) | |
| 14358 shrext_cmds='.sl' | |
| 14359 hardcode_into_libs=yes | |
| 14360 dynamic_linker="$host_os dld.sl" | |
| 14361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |
| 14362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |
| 14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14364 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | |
| 14366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 14367 ;; | |
| 14368 *) | |
| 14369 shrext_cmds='.sl' | |
| 14370 dynamic_linker="$host_os dld.sl" | |
| 14371 shlibpath_var=SHLIB_PATH | |
| 14372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | |
| 14373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14374 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14375 ;; | |
| 14376 esac | |
| 14377 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | |
| 14378 postinstall_cmds='chmod 555 $lib' | |
| 14379 # or fails outright, so override atomically: | |
| 14380 install_override_mode=555 | |
| 14381 ;; | |
| 14382 | |
| 14383 interix[3-9]*) | |
| 14384 version_type=linux | |
| 14385 need_lib_prefix=no | |
| 14386 need_version=no | |
| 14387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 14388 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14389 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
| 14390 shlibpath_var=LD_LIBRARY_PATH | |
| 14391 shlibpath_overrides_runpath=no | |
| 14392 hardcode_into_libs=yes | |
| 14393 ;; | |
| 14394 | |
| 14395 irix5* | irix6* | nonstopux*) | |
| 14396 case $host_os in | |
| 14397 nonstopux*) version_type=nonstopux ;; | |
| 14398 *) | |
| 14399 if test "$lt_cv_prog_gnu_ld" = yes; then | |
| 14400 version_type=linux | |
| 14401 else | |
| 14402 version_type=irix | |
| 14403 fi ;; | |
| 14404 esac | |
| 14405 need_lib_prefix=no | |
| 14406 need_version=no | |
| 14407 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 14409 case $host_os in | |
| 14410 irix5* | nonstopux*) | |
| 14411 libsuff= shlibsuff= | |
| 14412 ;; | |
| 14413 *) | |
| 14414 case $LD in # libtool.m4 will add one of these switches to LD | |
| 14415 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | |
| 14416 libsuff= shlibsuff= libmagic=32-bit;; | |
| 14417 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | |
| 14418 libsuff=32 shlibsuff=N32 libmagic=N32;; | |
| 14419 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | |
| 14420 libsuff=64 shlibsuff=64 libmagic=64-bit;; | |
| 14421 *) libsuff= shlibsuff= libmagic=never-match;; | |
| 14422 esac | |
| 14423 ;; | |
| 14424 esac | |
| 14425 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | |
| 14426 shlibpath_overrides_runpath=no | |
| 14427 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | |
| 14428 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | |
| 14429 hardcode_into_libs=yes | |
| 14430 ;; | |
| 14431 | |
| 14432 # No shared lib support for Linux oldld, aout, or coff. | |
| 14433 linux*oldld* | linux*aout* | linux*coff*) | |
| 14434 dynamic_linker=no | |
| 14435 ;; | |
| 14436 | |
| 14437 # This must be Linux ELF. | |
| 14438 linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
| 14439 version_type=linux | |
| 14440 need_lib_prefix=no | |
| 14441 need_version=no | |
| 14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14443 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
| 14445 shlibpath_var=LD_LIBRARY_PATH | |
| 14446 shlibpath_overrides_runpath=no | |
| 14447 | |
| 14448 # Some binutils ld are patched to set DT_RUNPATH | |
| 14449 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | |
| 14450 $as_echo_n "(cached) " >&6 | |
| 14451 else | |
| 14452 lt_cv_shlibpath_overrides_runpath=no | |
| 14453 save_LDFLAGS=$LDFLAGS | |
| 14454 save_libdir=$libdir | |
| 14455 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ | |
| 14456 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" | |
| 14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 14458 /* end confdefs.h. */ | |
| 14459 | |
| 14460 int | |
| 14461 main () | |
| 14462 { | |
| 14463 | |
| 14464 ; | |
| 14465 return 0; | |
| 14466 } | |
| 14467 _ACEOF | |
| 14468 if ac_fn_cxx_try_link "$LINENO"; then : | |
| 14469 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : | |
| 14470 lt_cv_shlibpath_overrides_runpath=yes | |
| 14471 fi | |
| 14472 fi | |
| 14473 rm -f core conftest.err conftest.$ac_objext \ | |
| 14474 conftest$ac_exeext conftest.$ac_ext | |
| 14475 LDFLAGS=$save_LDFLAGS | |
| 14476 libdir=$save_libdir | |
| 14477 | |
| 14478 fi | |
| 14479 | |
| 14480 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | |
| 14481 | |
| 14482 # This implies no fast_install, which is unacceptable. | |
| 14483 # Some rework will be needed to allow for fast_install | |
| 14484 # before this can be enabled. | |
| 14485 hardcode_into_libs=yes | |
| 14486 | |
| 14487 # Append ld.so.conf contents to the search path | |
| 14488 if test -f /etc/ld.so.conf; then | |
| 14489 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' ' '` | |
| 14490 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
| 14491 fi | |
| 14492 | |
| 14493 # We used to test for /lib/ld.so.1 and disable shared libraries on | |
| 14494 # powerpc, because MkLinux only supported shared libraries with the | |
| 14495 # GNU dynamic linker. Since this was broken with cross compilers, | |
| 14496 # most powerpc-linux boxes support dynamic linking these days and | |
| 14497 # people can always --disable-shared, the test was removed, and we | |
| 14498 # assume the GNU/Linux dynamic linker is in use. | |
| 14499 dynamic_linker='GNU/Linux ld.so' | |
| 14500 ;; | |
| 14501 | |
| 14502 netbsdelf*-gnu) | |
| 14503 version_type=linux | |
| 14504 need_lib_prefix=no | |
| 14505 need_version=no | |
| 14506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 14507 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14508 shlibpath_var=LD_LIBRARY_PATH | |
| 14509 shlibpath_overrides_runpath=no | |
| 14510 hardcode_into_libs=yes | |
| 14511 dynamic_linker='NetBSD ld.elf_so' | |
| 14512 ;; | |
| 14513 | |
| 14514 netbsd*) | |
| 14515 version_type=sunos | |
| 14516 need_lib_prefix=no | |
| 14517 need_version=no | |
| 14518 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
| 14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 14520 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 14521 dynamic_linker='NetBSD (a.out) ld.so' | |
| 14522 else | |
| 14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
| 14524 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14525 dynamic_linker='NetBSD ld.elf_so' | |
| 14526 fi | |
| 14527 shlibpath_var=LD_LIBRARY_PATH | |
| 14528 shlibpath_overrides_runpath=yes | |
| 14529 hardcode_into_libs=yes | |
| 14530 ;; | |
| 14531 | |
| 14532 newsos6) | |
| 14533 version_type=linux | |
| 14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14535 shlibpath_var=LD_LIBRARY_PATH | |
| 14536 shlibpath_overrides_runpath=yes | |
| 14537 ;; | |
| 14538 | |
| 14539 *nto* | *qnx*) | |
| 14540 version_type=qnx | |
| 14541 need_lib_prefix=no | |
| 14542 need_version=no | |
| 14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14544 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14545 shlibpath_var=LD_LIBRARY_PATH | |
| 14546 shlibpath_overrides_runpath=no | |
| 14547 hardcode_into_libs=yes | |
| 14548 dynamic_linker='ldqnx.so' | |
| 14549 ;; | |
| 14550 | |
| 14551 openbsd*) | |
| 14552 version_type=sunos | |
| 14553 sys_lib_dlsearch_path_spec="/usr/lib" | |
| 14554 need_lib_prefix=no | |
| 14555 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | |
| 14556 case $host_os in | |
| 14557 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
| 14558 *) need_version=no ;; | |
| 14559 esac | |
| 14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 14561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | |
| 14562 shlibpath_var=LD_LIBRARY_PATH | |
| 14563 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
| 14564 case $host_os in | |
| 14565 openbsd2.[89] | openbsd2.[89].*) | |
| 14566 shlibpath_overrides_runpath=no | |
| 14567 ;; | |
| 14568 *) | |
| 14569 shlibpath_overrides_runpath=yes | |
| 14570 ;; | |
| 14571 esac | |
| 14572 else | |
| 14573 shlibpath_overrides_runpath=yes | |
| 14574 fi | |
| 14575 ;; | |
| 14576 | |
| 14577 os2*) | |
| 14578 libname_spec='$name' | |
| 14579 shrext_cmds=".dll" | |
| 14580 need_lib_prefix=no | |
| 14581 library_names_spec='$libname${shared_ext} $libname.a' | |
| 14582 dynamic_linker='OS/2 ld.exe' | |
| 14583 shlibpath_var=LIBPATH | |
| 14584 ;; | |
| 14585 | |
| 14586 osf3* | osf4* | osf5*) | |
| 14587 version_type=osf | |
| 14588 need_lib_prefix=no | |
| 14589 need_version=no | |
| 14590 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14592 shlibpath_var=LD_LIBRARY_PATH | |
| 14593 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | |
| 14594 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | |
| 14595 ;; | |
| 14596 | |
| 14597 rdos*) | |
| 14598 dynamic_linker=no | |
| 14599 ;; | |
| 14600 | |
| 14601 solaris*) | |
| 14602 version_type=linux | |
| 14603 need_lib_prefix=no | |
| 14604 need_version=no | |
| 14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14606 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14607 shlibpath_var=LD_LIBRARY_PATH | |
| 14608 shlibpath_overrides_runpath=yes | |
| 14609 hardcode_into_libs=yes | |
| 14610 # ldd complains unless libraries are executable | |
| 14611 postinstall_cmds='chmod +x $lib' | |
| 14612 ;; | |
| 14613 | |
| 14614 sunos4*) | |
| 14615 version_type=sunos | |
| 14616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | |
| 14617 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | |
| 14618 shlibpath_var=LD_LIBRARY_PATH | |
| 14619 shlibpath_overrides_runpath=yes | |
| 14620 if test "$with_gnu_ld" = yes; then | |
| 14621 need_lib_prefix=no | |
| 14622 fi | |
| 14623 need_version=yes | |
| 14624 ;; | |
| 14625 | |
| 14626 sysv4 | sysv4.3*) | |
| 14627 version_type=linux | |
| 14628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14629 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14630 shlibpath_var=LD_LIBRARY_PATH | |
| 14631 case $host_vendor in | |
| 14632 sni) | |
| 14633 shlibpath_overrides_runpath=no | |
| 14634 need_lib_prefix=no | |
| 14635 runpath_var=LD_RUN_PATH | |
| 14636 ;; | |
| 14637 siemens) | |
| 14638 need_lib_prefix=no | |
| 14639 ;; | |
| 14640 motorola) | |
| 14641 need_lib_prefix=no | |
| 14642 need_version=no | |
| 14643 shlibpath_overrides_runpath=no | |
| 14644 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | |
| 14645 ;; | |
| 14646 esac | |
| 14647 ;; | |
| 14648 | |
| 14649 sysv4*MP*) | |
| 14650 if test -d /usr/nec ;then | |
| 14651 version_type=linux | |
| 14652 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | |
| 14653 soname_spec='$libname${shared_ext}.$major' | |
| 14654 shlibpath_var=LD_LIBRARY_PATH | |
| 14655 fi | |
| 14656 ;; | |
| 14657 | |
| 14658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
| 14659 version_type=freebsd-elf | |
| 14660 need_lib_prefix=no | |
| 14661 need_version=no | |
| 14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
| 14663 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14664 shlibpath_var=LD_LIBRARY_PATH | |
| 14665 shlibpath_overrides_runpath=yes | |
| 14666 hardcode_into_libs=yes | |
| 14667 if test "$with_gnu_ld" = yes; then | |
| 14668 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
| 14669 else | |
| 14670 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
| 14671 case $host_os in | |
| 14672 sco3.2v5*) | |
| 14673 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
| 14674 ;; | |
| 14675 esac | |
| 14676 fi | |
| 14677 sys_lib_dlsearch_path_spec='/usr/lib' | |
| 14678 ;; | |
| 14679 | |
| 14680 tpf*) | |
| 14681 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | |
| 14682 version_type=linux | |
| 14683 need_lib_prefix=no | |
| 14684 need_version=no | |
| 14685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14686 shlibpath_var=LD_LIBRARY_PATH | |
| 14687 shlibpath_overrides_runpath=no | |
| 14688 hardcode_into_libs=yes | |
| 14689 ;; | |
| 14690 | |
| 14691 uts4*) | |
| 14692 version_type=linux | |
| 14693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
| 14694 soname_spec='${libname}${release}${shared_ext}$major' | |
| 14695 shlibpath_var=LD_LIBRARY_PATH | |
| 14696 ;; | |
| 14697 | |
| 14698 *) | |
| 14699 dynamic_linker=no | |
| 14700 ;; | |
| 14701 esac | |
| 14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | |
| 14703 $as_echo "$dynamic_linker" >&6; } | |
| 14704 test "$dynamic_linker" = no && can_build_shared=no | |
| 14705 | |
| 14706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
| 14707 if test "$GCC" = yes; then | |
| 14708 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
| 14709 fi | |
| 14710 | |
| 14711 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | |
| 14712 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | |
| 14713 fi | |
| 14714 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | |
| 14715 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | |
| 14716 fi | |
| 14717 | |
| 14718 | |
| 14719 | |
| 14720 | |
| 14721 | |
| 14722 | |
| 14723 | |
| 14724 | |
| 14725 | |
| 14726 | |
| 14727 | |
| 14728 | |
| 14729 | |
| 14730 | |
| 14731 | |
| 14732 | |
| 14733 | |
| 14734 | |
| 14735 | |
| 14736 | |
| 14737 | |
| 14738 | |
| 14739 | |
| 14740 | |
| 14741 | |
| 14742 | |
| 14743 | |
| 14744 | |
| 14745 | |
| 14746 | |
| 14747 | |
| 14748 | |
| 14749 | |
| 14750 | |
| 14751 | |
| 14752 | |
| 14753 | |
| 14754 | |
| 14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 | |
| 14756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | |
| 14757 hardcode_action_CXX= | |
| 14758 if test -n "$hardcode_libdir_flag_spec_CXX" || | |
| 14759 test -n "$runpath_var_CXX" || | |
| 14760 test "X$hardcode_automatic_CXX" = "Xyes" ; then | |
| 14761 | |
| 14762 # We can hardcode non-existent directories. | |
| 14763 if test "$hardcode_direct_CXX" != no && | |
| 14764 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
| 14765 # have to relink, otherwise we might link with an installed library | |
| 14766 # when we should be linking with a yet-to-be-installed one | |
| 14767 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | |
| 14768 test "$hardcode_minus_L_CXX" != no; then | |
| 14769 # Linking always hardcodes the temporary library directory. | |
| 14770 hardcode_action_CXX=relink | |
| 14771 else | |
| 14772 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
| 14773 hardcode_action_CXX=immediate | |
| 14774 fi | |
| 14775 else | |
| 14776 # We cannot hardcode anything, or else we can only hardcode existing | |
| 14777 # directories. | |
| 14778 hardcode_action_CXX=unsupported | |
| 14779 fi | |
| 14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 | |
| 14781 $as_echo "$hardcode_action_CXX" >&6; } | |
| 14782 | |
| 14783 if test "$hardcode_action_CXX" = relink || | |
| 14784 test "$inherit_rpath_CXX" = yes; then | |
| 14785 # Fast installation is not supported | |
| 14786 enable_fast_install=no | |
| 14787 elif test "$shlibpath_overrides_runpath" = yes || | |
| 14788 test "$enable_shared" = no; then | |
| 14789 # Fast installation is not necessary | |
| 14790 enable_fast_install=needless | |
| 14791 fi | |
| 14792 | |
| 14793 | |
| 14794 | |
| 14795 | |
| 14796 | |
| 14797 | |
| 14798 | |
| 14799 fi # test -n "$compiler" | |
| 14800 | |
| 14801 CC=$lt_save_CC | |
| 14802 CFLAGS=$lt_save_CFLAGS | |
| 14803 LDCXX=$LD | |
| 14804 LD=$lt_save_LD | |
| 14805 GCC=$lt_save_GCC | |
| 14806 with_gnu_ld=$lt_save_with_gnu_ld | |
| 14807 lt_cv_path_LDCXX=$lt_cv_path_LD | |
| 14808 lt_cv_path_LD=$lt_save_path_LD | |
| 14809 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | |
| 14810 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | |
| 14811 fi # test "$_lt_caught_CXX_error" != yes | |
| 14812 | |
| 14813 ac_ext=c | |
| 14814 ac_cpp='$CPP $CPPFLAGS' | |
| 14815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 14816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 14817 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 14818 | |
| 14819 | |
| 14820 | |
| 14821 | |
| 14822 | |
| 14823 | |
| 14824 | |
| 14825 | |
| 14826 | |
| 14827 | |
| 14828 | |
| 14829 | |
| 14830 | |
| 14831 ac_config_commands="$ac_config_commands libtool" | |
| 14832 | |
| 14833 | |
| 14834 | |
| 14835 | |
| 14836 # Only expand once: | |
| 14837 | |
| 14838 | |
| 14839 # Find a good install program. We prefer a C program (faster), | |
| 14840 # so one script is as good as another. But avoid the broken or | |
| 14841 # incompatible versions: | |
| 14842 # SysV /etc/install, /usr/sbin/install | |
| 14843 # SunOS /usr/etc/install | |
| 14844 # IRIX /sbin/install | |
| 14845 # AIX /bin/install | |
| 14846 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 14847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 14848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 14849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 14850 # OS/2's system install, which has a completely different semantic | |
| 14851 # ./install, which can be erroneously created by make from ./install.sh. | |
| 14852 # Reject install programs that cannot install multiple files. | |
| 14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
| 14854 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
| 14855 if test -z "$INSTALL"; then | |
| 14856 if ${ac_cv_path_install+:} false; then : | |
| 14857 $as_echo_n "(cached) " >&6 | |
| 14858 else | |
| 14859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14860 for as_dir in $PATH | |
| 14861 do | |
| 14862 IFS=$as_save_IFS | |
| 14863 test -z "$as_dir" && as_dir=. | |
| 14864 # Account for people who put trailing slashes in PATH elements. | |
| 14865 case $as_dir/ in #(( | |
| 14866 ./ | .// | /[cC]/* | \ | |
| 14867 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
| 14868 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
| 14869 /usr/ucb/* ) ;; | |
| 14870 *) | |
| 14871 # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 14872 # Don't use installbsd from OSF since it installs stuff as root | |
| 14873 # by default. | |
| 14874 for ac_prog in ginstall scoinst install; do | |
| 14875 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14876 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
| 14877 if test $ac_prog = install && | |
| 14878 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 14879 # AIX install. It has an incompatible calling convention. | |
| 14880 : | |
| 14881 elif test $ac_prog = install && | |
| 14882 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 14883 # program-specific install script used by HP pwplus--don't use. | |
| 14884 : | |
| 14885 else | |
| 14886 rm -rf conftest.one conftest.two conftest.dir | |
| 14887 echo one > conftest.one | |
| 14888 echo two > conftest.two | |
| 14889 mkdir conftest.dir | |
| 14890 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
| 14891 test -s conftest.one && test -s conftest.two && | |
| 14892 test -s conftest.dir/conftest.one && | |
| 14893 test -s conftest.dir/conftest.two | |
| 14894 then | |
| 14895 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 14896 break 3 | |
| 14897 fi | |
| 14898 fi | |
| 14899 fi | |
| 14900 done | |
| 14901 done | |
| 14902 ;; | |
| 14903 esac | |
| 14904 | |
| 14905 done | |
| 14906 IFS=$as_save_IFS | |
| 14907 | |
| 14908 rm -rf conftest.one conftest.two conftest.dir | |
| 14909 | |
| 14910 fi | |
| 14911 if test "${ac_cv_path_install+set}" = set; then | |
| 14912 INSTALL=$ac_cv_path_install | |
| 14913 else | |
| 14914 # As a last resort, use the slow shell script. Don't cache a | |
| 14915 # value for INSTALL within a source directory, because that will | |
| 14916 # break other packages using the cache if that directory is | |
| 14917 # removed, or if the value is a relative name. | |
| 14918 INSTALL=$ac_install_sh | |
| 14919 fi | |
| 14920 fi | |
| 14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
| 14922 $as_echo "$INSTALL" >&6; } | |
| 14923 | |
| 14924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 14925 # It thinks the first close brace ends the variable substitution. | |
| 14926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 14927 | |
| 14928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 14929 | |
| 14930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 14931 | |
| 14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
| 14933 $as_echo_n "checking whether ln -s works... " >&6; } | |
| 14934 LN_S=$as_ln_s | |
| 14935 if test "$LN_S" = "ln -s"; then | |
| 14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 14937 $as_echo "yes" >&6; } | |
| 14938 else | |
| 14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | |
| 14940 $as_echo "no, using $LN_S" >&6; } | |
| 14941 fi | |
| 14942 | |
| 14943 # Extract the first word of "ar", so it can be a program name with args. | |
| 14944 set dummy ar; ac_word=$2 | |
| 14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 14946 $as_echo_n "checking for $ac_word... " >&6; } | |
| 14947 if ${ac_cv_path_AR+:} false; then : | |
| 14948 $as_echo_n "(cached) " >&6 | |
| 14949 else | |
| 14950 case $AR in | |
| 14951 [\\/]* | ?:[\\/]*) | |
| 14952 ac_cv_path_AR="$AR" # Let the user override the test with a path. | |
| 14953 ;; | |
| 14954 *) | |
| 14955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 14956 for as_dir in $PATH | |
| 14957 do | |
| 14958 IFS=$as_save_IFS | |
| 14959 test -z "$as_dir" && as_dir=. | |
| 14960 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 14961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 14962 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | |
| 14963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 14964 break 2 | |
| 14965 fi | |
| 14966 done | |
| 14967 done | |
| 14968 IFS=$as_save_IFS | |
| 14969 | |
| 14970 test -z "$ac_cv_path_AR" && ac_cv_path_AR="no" | |
| 14971 ;; | |
| 14972 esac | |
| 14973 fi | |
| 14974 AR=$ac_cv_path_AR | |
| 14975 if test -n "$AR"; then | |
| 14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | |
| 14977 $as_echo "$AR" >&6; } | |
| 14978 else | |
| 14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 14980 $as_echo "no" >&6; } | |
| 14981 fi | |
| 14982 | |
| 14983 | |
| 14984 if [ $AR = "no" ] ; then | |
| 14985 as_fn_error $? "\"Could not find ar - needed to create a library\"" "$LINENO" 5 | |
| 14986 fi | |
| 14987 | |
| 14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | |
| 14989 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | |
| 14990 if ${ac_cv_c_bigendian+:} false; then : | |
| 14991 $as_echo_n "(cached) " >&6 | |
| 14992 else | |
| 14993 ac_cv_c_bigendian=unknown | |
| 14994 # See if we're dealing with a universal compiler. | |
| 14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 14996 /* end confdefs.h. */ | |
| 14997 #ifndef __APPLE_CC__ | |
| 14998 not a universal capable compiler | |
| 14999 #endif | |
| 15000 typedef int dummy; | |
| 15001 | |
| 15002 _ACEOF | |
| 15003 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15004 | |
| 15005 # Check for potential -arch flags. It is not universal unless | |
| 15006 # there are at least two -arch flags with different values. | |
| 15007 ac_arch= | |
| 15008 ac_prev= | |
| 15009 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | |
| 15010 if test -n "$ac_prev"; then | |
| 15011 case $ac_word in | |
| 15012 i?86 | x86_64 | ppc | ppc64) | |
| 15013 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | |
| 15014 ac_arch=$ac_word | |
| 15015 else | |
| 15016 ac_cv_c_bigendian=universal | |
| 15017 break | |
| 15018 fi | |
| 15019 ;; | |
| 15020 esac | |
| 15021 ac_prev= | |
| 15022 elif test "x$ac_word" = "x-arch"; then | |
| 15023 ac_prev=arch | |
| 15024 fi | |
| 15025 done | |
| 15026 fi | |
| 15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15028 if test $ac_cv_c_bigendian = unknown; then | |
| 15029 # See if sys/param.h defines the BYTE_ORDER macro. | |
| 15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15031 /* end confdefs.h. */ | |
| 15032 #include <sys/types.h> | |
| 15033 #include <sys/param.h> | |
| 15034 | |
| 15035 int | |
| 15036 main () | |
| 15037 { | |
| 15038 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | |
| 15039 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | |
| 15040 && LITTLE_ENDIAN) | |
| 15041 bogus endian macros | |
| 15042 #endif | |
| 15043 | |
| 15044 ; | |
| 15045 return 0; | |
| 15046 } | |
| 15047 _ACEOF | |
| 15048 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15049 # It does; now see whether it defined to BIG_ENDIAN or not. | |
| 15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15051 /* end confdefs.h. */ | |
| 15052 #include <sys/types.h> | |
| 15053 #include <sys/param.h> | |
| 15054 | |
| 15055 int | |
| 15056 main () | |
| 15057 { | |
| 15058 #if BYTE_ORDER != BIG_ENDIAN | |
| 15059 not big endian | |
| 15060 #endif | |
| 15061 | |
| 15062 ; | |
| 15063 return 0; | |
| 15064 } | |
| 15065 _ACEOF | |
| 15066 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15067 ac_cv_c_bigendian=yes | |
| 15068 else | |
| 15069 ac_cv_c_bigendian=no | |
| 15070 fi | |
| 15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15072 fi | |
| 15073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15074 fi | |
| 15075 if test $ac_cv_c_bigendian = unknown; then | |
| 15076 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | |
| 15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15078 /* end confdefs.h. */ | |
| 15079 #include <limits.h> | |
| 15080 | |
| 15081 int | |
| 15082 main () | |
| 15083 { | |
| 15084 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | |
| 15085 bogus endian macros | |
| 15086 #endif | |
| 15087 | |
| 15088 ; | |
| 15089 return 0; | |
| 15090 } | |
| 15091 _ACEOF | |
| 15092 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15093 # It does; now see whether it defined to _BIG_ENDIAN or not. | |
| 15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15095 /* end confdefs.h. */ | |
| 15096 #include <limits.h> | |
| 15097 | |
| 15098 int | |
| 15099 main () | |
| 15100 { | |
| 15101 #ifndef _BIG_ENDIAN | |
| 15102 not big endian | |
| 15103 #endif | |
| 15104 | |
| 15105 ; | |
| 15106 return 0; | |
| 15107 } | |
| 15108 _ACEOF | |
| 15109 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15110 ac_cv_c_bigendian=yes | |
| 15111 else | |
| 15112 ac_cv_c_bigendian=no | |
| 15113 fi | |
| 15114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15115 fi | |
| 15116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15117 fi | |
| 15118 if test $ac_cv_c_bigendian = unknown; then | |
| 15119 # Compile a test program. | |
| 15120 if test "$cross_compiling" = yes; then : | |
| 15121 # Try to guess by grepping values from an object file. | |
| 15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15123 /* end confdefs.h. */ | |
| 15124 short int ascii_mm[] = | |
| 15125 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
| 15126 short int ascii_ii[] = | |
| 15127 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
| 15128 int use_ascii (int i) { | |
| 15129 return ascii_mm[i] + ascii_ii[i]; | |
| 15130 } | |
| 15131 short int ebcdic_ii[] = | |
| 15132 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
| 15133 short int ebcdic_mm[] = | |
| 15134 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
| 15135 int use_ebcdic (int i) { | |
| 15136 return ebcdic_mm[i] + ebcdic_ii[i]; | |
| 15137 } | |
| 15138 extern int foo; | |
| 15139 | |
| 15140 int | |
| 15141 main () | |
| 15142 { | |
| 15143 return use_ascii (foo) == use_ebcdic (foo); | |
| 15144 ; | |
| 15145 return 0; | |
| 15146 } | |
| 15147 _ACEOF | |
| 15148 if ac_fn_c_try_compile "$LINENO"; then : | |
| 15149 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | |
| 15150 ac_cv_c_bigendian=yes | |
| 15151 fi | |
| 15152 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
| 15153 if test "$ac_cv_c_bigendian" = unknown; then | |
| 15154 ac_cv_c_bigendian=no | |
| 15155 else | |
| 15156 # finding both strings is unlikely to happen, but who knows? | |
| 15157 ac_cv_c_bigendian=unknown | |
| 15158 fi | |
| 15159 fi | |
| 15160 fi | |
| 15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 15162 else | |
| 15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15164 /* end confdefs.h. */ | |
| 15165 $ac_includes_default | |
| 15166 int | |
| 15167 main () | |
| 15168 { | |
| 15169 | |
| 15170 /* Are we little or big endian? From Harbison&Steele. */ | |
| 15171 union | |
| 15172 { | |
| 15173 long int l; | |
| 15174 char c[sizeof (long int)]; | |
| 15175 } u; | |
| 15176 u.l = 1; | |
| 15177 return u.c[sizeof (long int) - 1] == 1; | |
| 15178 | |
| 15179 ; | |
| 15180 return 0; | |
| 15181 } | |
| 15182 _ACEOF | |
| 15183 if ac_fn_c_try_run "$LINENO"; then : | |
| 15184 ac_cv_c_bigendian=no | |
| 15185 else | |
| 15186 ac_cv_c_bigendian=yes | |
| 15187 fi | |
| 15188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 15189 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 15190 fi | |
| 15191 | |
| 15192 fi | |
| 15193 fi | |
| 15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | |
| 15195 $as_echo "$ac_cv_c_bigendian" >&6; } | |
| 15196 case $ac_cv_c_bigendian in #( | |
| 15197 yes) | |
| 15198 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | |
| 15199 ;; #( | |
| 15200 no) | |
| 15201 ;; #( | |
| 15202 universal) | |
| 15203 | |
| 15204 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | |
| 15205 | |
| 15206 ;; #( | |
| 15207 *) | |
| 15208 as_fn_error $? "unknown endianness | |
| 15209 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | |
| 15210 esac | |
| 15211 | |
| 15212 | |
| 15213 | |
| 15214 have_alsa=no | |
| 15215 if test "x$with_alsa" != "xno"; then | |
| 15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 | |
| 15217 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } | |
| 15218 if ${ac_cv_lib_asound_snd_pcm_open+:} false; then : | |
| 15219 $as_echo_n "(cached) " >&6 | |
| 15220 else | |
| 15221 ac_check_lib_save_LIBS=$LIBS | |
| 15222 LIBS="-lasound $LIBS" | |
| 15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15224 /* end confdefs.h. */ | |
| 15225 | |
| 15226 /* Override any GCC internal prototype to avoid an error. | |
| 15227 Use char because int might match the return type of a GCC | |
| 15228 builtin and then its argument prototype would still apply. */ | |
| 15229 #ifdef __cplusplus | |
| 15230 extern "C" | |
| 15231 #endif | |
| 15232 char snd_pcm_open (); | |
| 15233 int | |
| 15234 main () | |
| 15235 { | |
| 15236 return snd_pcm_open (); | |
| 15237 ; | |
| 15238 return 0; | |
| 15239 } | |
| 15240 _ACEOF | |
| 15241 if ac_fn_c_try_link "$LINENO"; then : | |
| 15242 ac_cv_lib_asound_snd_pcm_open=yes | |
| 15243 else | |
| 15244 ac_cv_lib_asound_snd_pcm_open=no | |
| 15245 fi | |
| 15246 rm -f core conftest.err conftest.$ac_objext \ | |
| 15247 conftest$ac_exeext conftest.$ac_ext | |
| 15248 LIBS=$ac_check_lib_save_LIBS | |
| 15249 fi | |
| 15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5 | |
| 15251 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; } | |
| 15252 if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then : | |
| 15253 have_alsa=yes | |
| 15254 else | |
| 15255 have_alsa=no | |
| 15256 fi | |
| 15257 | |
| 15258 fi | |
| 15259 have_asihpi=no | |
| 15260 if test "x$with_asihpi" != "xno"; then | |
| 15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPI_SubSysCreate in -lhpi" >&5 | |
| 15262 $as_echo_n "checking for HPI_SubSysCreate in -lhpi... " >&6; } | |
| 15263 if ${ac_cv_lib_hpi_HPI_SubSysCreate+:} false; then : | |
| 15264 $as_echo_n "(cached) " >&6 | |
| 15265 else | |
| 15266 ac_check_lib_save_LIBS=$LIBS | |
| 15267 LIBS="-lhpi -lm $LIBS" | |
| 15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15269 /* end confdefs.h. */ | |
| 15270 | |
| 15271 /* Override any GCC internal prototype to avoid an error. | |
| 15272 Use char because int might match the return type of a GCC | |
| 15273 builtin and then its argument prototype would still apply. */ | |
| 15274 #ifdef __cplusplus | |
| 15275 extern "C" | |
| 15276 #endif | |
| 15277 char HPI_SubSysCreate (); | |
| 15278 int | |
| 15279 main () | |
| 15280 { | |
| 15281 return HPI_SubSysCreate (); | |
| 15282 ; | |
| 15283 return 0; | |
| 15284 } | |
| 15285 _ACEOF | |
| 15286 if ac_fn_c_try_link "$LINENO"; then : | |
| 15287 ac_cv_lib_hpi_HPI_SubSysCreate=yes | |
| 15288 else | |
| 15289 ac_cv_lib_hpi_HPI_SubSysCreate=no | |
| 15290 fi | |
| 15291 rm -f core conftest.err conftest.$ac_objext \ | |
| 15292 conftest$ac_exeext conftest.$ac_ext | |
| 15293 LIBS=$ac_check_lib_save_LIBS | |
| 15294 fi | |
| 15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hpi_HPI_SubSysCreate" >&5 | |
| 15296 $as_echo "$ac_cv_lib_hpi_HPI_SubSysCreate" >&6; } | |
| 15297 if test "x$ac_cv_lib_hpi_HPI_SubSysCreate" = xyes; then : | |
| 15298 have_asihpi=yes | |
| 15299 else | |
| 15300 have_asihpi=no | |
| 15301 fi | |
| 15302 | |
| 15303 fi | |
| 15304 have_libossaudio=no | |
| 15305 have_oss=no | |
| 15306 if test "x$with_oss" != "xno"; then | |
| 15307 for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h | |
| 15308 do : | |
| 15309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 15310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
| 15311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 15312 cat >>confdefs.h <<_ACEOF | |
| 15313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 15314 _ACEOF | |
| 15315 have_oss=yes | |
| 15316 fi | |
| 15317 | |
| 15318 done | |
| 15319 | |
| 15320 if test "x$have_oss" = "xyes"; then | |
| 15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | |
| 15322 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | |
| 15323 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then : | |
| 15324 $as_echo_n "(cached) " >&6 | |
| 15325 else | |
| 15326 ac_check_lib_save_LIBS=$LIBS | |
| 15327 LIBS="-lossaudio $LIBS" | |
| 15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15329 /* end confdefs.h. */ | |
| 15330 | |
| 15331 /* Override any GCC internal prototype to avoid an error. | |
| 15332 Use char because int might match the return type of a GCC | |
| 15333 builtin and then its argument prototype would still apply. */ | |
| 15334 #ifdef __cplusplus | |
| 15335 extern "C" | |
| 15336 #endif | |
| 15337 char _oss_ioctl (); | |
| 15338 int | |
| 15339 main () | |
| 15340 { | |
| 15341 return _oss_ioctl (); | |
| 15342 ; | |
| 15343 return 0; | |
| 15344 } | |
| 15345 _ACEOF | |
| 15346 if ac_fn_c_try_link "$LINENO"; then : | |
| 15347 ac_cv_lib_ossaudio__oss_ioctl=yes | |
| 15348 else | |
| 15349 ac_cv_lib_ossaudio__oss_ioctl=no | |
| 15350 fi | |
| 15351 rm -f core conftest.err conftest.$ac_objext \ | |
| 15352 conftest$ac_exeext conftest.$ac_ext | |
| 15353 LIBS=$ac_check_lib_save_LIBS | |
| 15354 fi | |
| 15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | |
| 15356 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | |
| 15357 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then : | |
| 15358 have_libossaudio=yes | |
| 15359 else | |
| 15360 have_libossaudio=no | |
| 15361 fi | |
| 15362 | |
| 15363 fi | |
| 15364 fi | |
| 15365 have_jack=no | |
| 15366 if test "x$with_jack" != "xno"; then | |
| 15367 | |
| 15368 | |
| 15369 | |
| 15370 | |
| 15371 | |
| 15372 | |
| 15373 | |
| 15374 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
| 15375 if test -n "$ac_tool_prefix"; then | |
| 15376 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
| 15377 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
| 15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 15379 $as_echo_n "checking for $ac_word... " >&6; } | |
| 15380 if ${ac_cv_path_PKG_CONFIG+:} false; then : | |
| 15381 $as_echo_n "(cached) " >&6 | |
| 15382 else | |
| 15383 case $PKG_CONFIG in | |
| 15384 [\\/]* | ?:[\\/]*) | |
| 15385 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
| 15386 ;; | |
| 15387 *) | |
| 15388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 15389 for as_dir in $PATH | |
| 15390 do | |
| 15391 IFS=$as_save_IFS | |
| 15392 test -z "$as_dir" && as_dir=. | |
| 15393 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 15394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 15395 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 15396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 15397 break 2 | |
| 15398 fi | |
| 15399 done | |
| 15400 done | |
| 15401 IFS=$as_save_IFS | |
| 15402 | |
| 15403 ;; | |
| 15404 esac | |
| 15405 fi | |
| 15406 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
| 15407 if test -n "$PKG_CONFIG"; then | |
| 15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
| 15409 $as_echo "$PKG_CONFIG" >&6; } | |
| 15410 else | |
| 15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 15412 $as_echo "no" >&6; } | |
| 15413 fi | |
| 15414 | |
| 15415 | |
| 15416 fi | |
| 15417 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
| 15418 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
| 15419 # Extract the first word of "pkg-config", so it can be a program name with args. | |
| 15420 set dummy pkg-config; ac_word=$2 | |
| 15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 15422 $as_echo_n "checking for $ac_word... " >&6; } | |
| 15423 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | |
| 15424 $as_echo_n "(cached) " >&6 | |
| 15425 else | |
| 15426 case $ac_pt_PKG_CONFIG in | |
| 15427 [\\/]* | ?:[\\/]*) | |
| 15428 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
| 15429 ;; | |
| 15430 *) | |
| 15431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 15432 for as_dir in $PATH | |
| 15433 do | |
| 15434 IFS=$as_save_IFS | |
| 15435 test -z "$as_dir" && as_dir=. | |
| 15436 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 15437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 15438 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 15439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 15440 break 2 | |
| 15441 fi | |
| 15442 done | |
| 15443 done | |
| 15444 IFS=$as_save_IFS | |
| 15445 | |
| 15446 ;; | |
| 15447 esac | |
| 15448 fi | |
| 15449 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
| 15450 if test -n "$ac_pt_PKG_CONFIG"; then | |
| 15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | |
| 15452 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | |
| 15453 else | |
| 15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 15455 $as_echo "no" >&6; } | |
| 15456 fi | |
| 15457 | |
| 15458 if test "x$ac_pt_PKG_CONFIG" = x; then | |
| 15459 PKG_CONFIG="" | |
| 15460 else | |
| 15461 case $cross_compiling:$ac_tool_warned in | |
| 15462 yes:) | |
| 15463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 15464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 15465 ac_tool_warned=yes ;; | |
| 15466 esac | |
| 15467 PKG_CONFIG=$ac_pt_PKG_CONFIG | |
| 15468 fi | |
| 15469 else | |
| 15470 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
| 15471 fi | |
| 15472 | |
| 15473 fi | |
| 15474 if test -n "$PKG_CONFIG"; then | |
| 15475 _pkg_min_version=0.9.0 | |
| 15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 | |
| 15477 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | |
| 15478 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
| 15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 15480 $as_echo "yes" >&6; } | |
| 15481 else | |
| 15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 15483 $as_echo "no" >&6; } | |
| 15484 PKG_CONFIG="" | |
| 15485 fi | |
| 15486 fi | |
| 15487 | |
| 15488 pkg_failed=no | |
| 15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | |
| 15490 $as_echo_n "checking for JACK... " >&6; } | |
| 15491 | |
| 15492 if test -n "$JACK_CFLAGS"; then | |
| 15493 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | |
| 15494 elif test -n "$PKG_CONFIG"; then | |
| 15495 if test -n "$PKG_CONFIG" && \ | |
| 15496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5 | |
| 15497 ($PKG_CONFIG --exists --print-errors "jack") 2>&5 | |
| 15498 ac_status=$? | |
| 15499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 15500 test $ac_status = 0; }; then | |
| 15501 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null` | |
| 15502 test "x$?" != "x0" && pkg_failed=yes | |
| 15503 else | |
| 15504 pkg_failed=yes | |
| 15505 fi | |
| 15506 else | |
| 15507 pkg_failed=untried | |
| 15508 fi | |
| 15509 if test -n "$JACK_LIBS"; then | |
| 15510 pkg_cv_JACK_LIBS="$JACK_LIBS" | |
| 15511 elif test -n "$PKG_CONFIG"; then | |
| 15512 if test -n "$PKG_CONFIG" && \ | |
| 15513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5 | |
| 15514 ($PKG_CONFIG --exists --print-errors "jack") 2>&5 | |
| 15515 ac_status=$? | |
| 15516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 15517 test $ac_status = 0; }; then | |
| 15518 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null` | |
| 15519 test "x$?" != "x0" && pkg_failed=yes | |
| 15520 else | |
| 15521 pkg_failed=yes | |
| 15522 fi | |
| 15523 else | |
| 15524 pkg_failed=untried | |
| 15525 fi | |
| 15526 | |
| 15527 | |
| 15528 | |
| 15529 if test $pkg_failed = yes; then | |
| 15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 15531 $as_echo "no" >&6; } | |
| 15532 | |
| 15533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
| 15534 _pkg_short_errors_supported=yes | |
| 15535 else | |
| 15536 _pkg_short_errors_supported=no | |
| 15537 fi | |
| 15538 if test $_pkg_short_errors_supported = yes; then | |
| 15539 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1` | |
| 15540 else | |
| 15541 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1` | |
| 15542 fi | |
| 15543 # Put the nasty error message in config.log where it belongs | |
| 15544 echo "$JACK_PKG_ERRORS" >&5 | |
| 15545 | |
| 15546 have_jack=no | |
| 15547 elif test $pkg_failed = untried; then | |
| 15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 15549 $as_echo "no" >&6; } | |
| 15550 have_jack=no | |
| 15551 else | |
| 15552 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | |
| 15553 JACK_LIBS=$pkg_cv_JACK_LIBS | |
| 15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 15555 $as_echo "yes" >&6; } | |
| 15556 have_jack=yes | |
| 15557 fi | |
| 15558 fi | |
| 15559 | |
| 15560 | |
| 15561 | |
| 15562 # The cast to long int works around a bug in the HP C Compiler | |
| 15563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
| 15564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
| 15565 # This bug is HP SR number 8606223364. | |
| 15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 | |
| 15567 $as_echo_n "checking size of short... " >&6; } | |
| 15568 if ${ac_cv_sizeof_short+:} false; then : | |
| 15569 $as_echo_n "(cached) " >&6 | |
| 15570 else | |
| 15571 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : | |
| 15572 | |
| 15573 else | |
| 15574 if test "$ac_cv_type_short" = yes; then | |
| 15575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 15576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 15577 as_fn_error 77 "cannot compute sizeof (short) | |
| 15578 See \`config.log' for more details" "$LINENO" 5; } | |
| 15579 else | |
| 15580 ac_cv_sizeof_short=0 | |
| 15581 fi | |
| 15582 fi | |
| 15583 | |
| 15584 fi | |
| 15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 | |
| 15586 $as_echo "$ac_cv_sizeof_short" >&6; } | |
| 15587 | |
| 15588 | |
| 15589 | |
| 15590 cat >>confdefs.h <<_ACEOF | |
| 15591 #define SIZEOF_SHORT $ac_cv_sizeof_short | |
| 15592 _ACEOF | |
| 15593 | |
| 15594 | |
| 15595 # The cast to long int works around a bug in the HP C Compiler | |
| 15596 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
| 15597 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
| 15598 # This bug is HP SR number 8606223364. | |
| 15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 | |
| 15600 $as_echo_n "checking size of int... " >&6; } | |
| 15601 if ${ac_cv_sizeof_int+:} false; then : | |
| 15602 $as_echo_n "(cached) " >&6 | |
| 15603 else | |
| 15604 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : | |
| 15605 | |
| 15606 else | |
| 15607 if test "$ac_cv_type_int" = yes; then | |
| 15608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 15609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 15610 as_fn_error 77 "cannot compute sizeof (int) | |
| 15611 See \`config.log' for more details" "$LINENO" 5; } | |
| 15612 else | |
| 15613 ac_cv_sizeof_int=0 | |
| 15614 fi | |
| 15615 fi | |
| 15616 | |
| 15617 fi | |
| 15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 | |
| 15619 $as_echo "$ac_cv_sizeof_int" >&6; } | |
| 15620 | |
| 15621 | |
| 15622 | |
| 15623 cat >>confdefs.h <<_ACEOF | |
| 15624 #define SIZEOF_INT $ac_cv_sizeof_int | |
| 15625 _ACEOF | |
| 15626 | |
| 15627 | |
| 15628 # The cast to long int works around a bug in the HP C Compiler | |
| 15629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
| 15630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
| 15631 # This bug is HP SR number 8606223364. | |
| 15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 | |
| 15633 $as_echo_n "checking size of long... " >&6; } | |
| 15634 if ${ac_cv_sizeof_long+:} false; then : | |
| 15635 $as_echo_n "(cached) " >&6 | |
| 15636 else | |
| 15637 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : | |
| 15638 | |
| 15639 else | |
| 15640 if test "$ac_cv_type_long" = yes; then | |
| 15641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 15642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 15643 as_fn_error 77 "cannot compute sizeof (long) | |
| 15644 See \`config.log' for more details" "$LINENO" 5; } | |
| 15645 else | |
| 15646 ac_cv_sizeof_long=0 | |
| 15647 fi | |
| 15648 fi | |
| 15649 | |
| 15650 fi | |
| 15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 | |
| 15652 $as_echo "$ac_cv_sizeof_long" >&6; } | |
| 15653 | |
| 15654 | |
| 15655 | |
| 15656 cat >>confdefs.h <<_ACEOF | |
| 15657 #define SIZEOF_LONG $ac_cv_sizeof_long | |
| 15658 _ACEOF | |
| 15659 | |
| 15660 | |
| 15661 | |
| 15662 save_LIBS="${LIBS}" | |
| 15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 | |
| 15664 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } | |
| 15665 if ${ac_cv_lib_rt_clock_gettime+:} false; then : | |
| 15666 $as_echo_n "(cached) " >&6 | |
| 15667 else | |
| 15668 ac_check_lib_save_LIBS=$LIBS | |
| 15669 LIBS="-lrt $LIBS" | |
| 15670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15671 /* end confdefs.h. */ | |
| 15672 | |
| 15673 /* Override any GCC internal prototype to avoid an error. | |
| 15674 Use char because int might match the return type of a GCC | |
| 15675 builtin and then its argument prototype would still apply. */ | |
| 15676 #ifdef __cplusplus | |
| 15677 extern "C" | |
| 15678 #endif | |
| 15679 char clock_gettime (); | |
| 15680 int | |
| 15681 main () | |
| 15682 { | |
| 15683 return clock_gettime (); | |
| 15684 ; | |
| 15685 return 0; | |
| 15686 } | |
| 15687 _ACEOF | |
| 15688 if ac_fn_c_try_link "$LINENO"; then : | |
| 15689 ac_cv_lib_rt_clock_gettime=yes | |
| 15690 else | |
| 15691 ac_cv_lib_rt_clock_gettime=no | |
| 15692 fi | |
| 15693 rm -f core conftest.err conftest.$ac_objext \ | |
| 15694 conftest$ac_exeext conftest.$ac_ext | |
| 15695 LIBS=$ac_check_lib_save_LIBS | |
| 15696 fi | |
| 15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 | |
| 15698 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } | |
| 15699 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : | |
| 15700 rt_libs=" -lrt" | |
| 15701 fi | |
| 15702 | |
| 15703 LIBS="${LIBS}${rt_libs}" | |
| 15704 DLL_LIBS="${DLL_LIBS}${rt_libs}" | |
| 15705 for ac_func in clock_gettime nanosleep | |
| 15706 do : | |
| 15707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 15708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 15709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 15710 cat >>confdefs.h <<_ACEOF | |
| 15711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 15712 _ACEOF | |
| 15713 | |
| 15714 fi | |
| 15715 done | |
| 15716 | |
| 15717 LIBS="${save_LIBS}" | |
| 15718 | |
| 15719 LT_CURRENT=2 | |
| 15720 LT_REVISION=0 | |
| 15721 LT_AGE=0 | |
| 15722 | |
| 15723 | |
| 15724 | |
| 15725 | |
| 15726 | |
| 15727 | |
| 15728 | |
| 15729 | |
| 15730 | |
| 15731 | |
| 15732 | |
| 15733 | |
| 15734 | |
| 15735 | |
| 15736 | |
| 15737 if ( echo "${host_os}" | grep ^darwin >> /dev/null ) && | |
| 15738 [ "$enable_mac_universal" = "yes" ] && | |
| 15739 [ "$enable_mac_debug" != "yes" ] ; then | |
| 15740 CFLAGS="-O2 -Wall -pedantic -pipe -fPIC -DNDEBUG" | |
| 15741 else | |
| 15742 CFLAGS=${CFLAGS:-"-g -O2 -Wall -pedantic -pipe -fPIC"} | |
| 15743 fi | |
| 15744 | |
| 15745 if [ $ac_cv_c_bigendian = "yes" ] ; then | |
| 15746 CFLAGS="$CFLAGS -DPA_BIG_ENDIAN" | |
| 15747 else | |
| 15748 CFLAGS="$CFLAGS -DPA_LITTLE_ENDIAN" | |
| 15749 fi | |
| 15750 | |
| 15751 add_objects() | |
| 15752 { | |
| 15753 for o in $@; do | |
| 15754 test "${OTHER_OBJS#*${o}*}" = "${OTHER_OBJS}" && OTHER_OBJS="$OTHER_OBJS $o" | |
| 15755 done | |
| 15756 } | |
| 15757 | |
| 15758 INCLUDES=portaudio.h | |
| 15759 | |
| 15760 CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I\$(top_srcdir)/src/common" | |
| 15761 | |
| 15762 case "${host_os}" in | |
| 15763 darwin* ) | |
| 15764 | |
| 15765 $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h | |
| 15766 | |
| 15767 | |
| 15768 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Werror" | |
| 15769 LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" | |
| 15770 | |
| 15771 if test "x$enable_mac_universal" = "xyes" ; then | |
| 15772 if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then | |
| 15773 mac_version_min="-mmacosx-version-min=10.3" | |
| 15774 mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" | |
| 15775 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" | |
| 15776 elif [ -d /Developer/SDKs/MacOSX10.6.sdk ] ; then | |
| 15777 mac_version_min="-mmacosx-version-min=10.4" | |
| 15778 mac_arches="-arch i386 -arch x86_64" | |
| 15779 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.6.sdk" | |
| 15780 elif [ -d /Developer/SDKs/MacOSX10.7.sdk ] ; then | |
| 15781 mac_version_min="-mmacosx-version-min=10.4" | |
| 15782 mac_arches="-arch i386 -arch x86_64" | |
| 15783 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.7.sdk" | |
| 15784 else | |
| 15785 mac_version_min="-mmacosx-version-min=10.3" | |
| 15786 mac_arches="-arch i386 -arch ppc" | |
| 15787 mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" | |
| 15788 fi | |
| 15789 else | |
| 15790 mac_arches="" | |
| 15791 mac_sysroot="" | |
| 15792 mac_version="" | |
| 15793 fi | |
| 15794 SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot $mac_version_min" | |
| 15795 CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot $mac_version_min" | |
| 15796 OTHER_OBJS="src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o" | |
| 15797 PADLL="libportaudio.dylib" | |
| 15798 ;; | |
| 15799 | |
| 15800 mingw* ) | |
| 15801 | |
| 15802 PADLL="portaudio.dll" | |
| 15803 THREAD_CFLAGS="-mthreads" | |
| 15804 SHARED_FLAGS="-shared" | |
| 15805 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0" | |
| 15806 | |
| 15807 if [ "x$with_directx" = "xyes" ]; then | |
| 15808 DXDIR="$with_dxdir" | |
| 15809 add_objects src/hostapi/dsound/pa_win_ds.o src/hostapi/dsound/pa_win_ds_dynlink.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o | |
| 15810 LIBS="-lwinmm -lm -ldsound -lole32" | |
| 15811 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L$DXDIR/lib -ldsound -lole32" | |
| 15812 #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"" | |
| 15813 #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO" | |
| 15814 CFLAGS="$CFLAGS -I$DXDIR/include -UPA_USE_DS -DPA_USE_DS=1" | |
| 15815 fi | |
| 15816 | |
| 15817 if [ "x$with_asio" = "xyes" ]; then | |
| 15818 ASIODIR="$with_asiodir" | |
| 15819 add_objects src/hostapi/asio/pa_asio.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/hostapi/asio/iasiothiscallresolver.o $ASIODIR/common/asio.o $ASIODIR/host/asiodrivers.o $ASIODIR/host/pc/asiolist.o | |
| 15820 LIBS="-lwinmm -lm -lole32 -luuid" | |
| 15821 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -lole32 -luuid" | |
| 15822 CFLAGS="$CFLAGS -ffast-math -fomit-frame-pointer -I\$(top_srcdir)/src/hostapi/asio -I$ASIODIR/host/pc -I$ASIODIR/common -I$ASIODIR/host -UPA_USE_ASIO -DPA_USE_ASIO=1 -DWINDOWS" | |
| 15823 | |
| 15824 CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DWINVER=0x0501" | |
| 15825 | |
| 15826 CXXFLAGS="$CFLAGS" | |
| 15827 fi | |
| 15828 | |
| 15829 if [ "x$with_wdmks" = "xyes" ]; then | |
| 15830 DXDIR="$with_dxdir" | |
| 15831 add_objects src/hostapi/wdmks/pa_win_wdmks.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o | |
| 15832 LIBS="-lwinmm -lm -luuid -lsetupapi -lole32" | |
| 15833 DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L$DXDIR/lib -luuid -lsetupapi -lole32" | |
| 15834 #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"" | |
| 15835 #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO" | |
| 15836 CFLAGS="$CFLAGS -I$DXDIR/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1" | |
| 15837 fi | |
| 15838 | |
| 15839 if [ "x$with_wmme" = "xyes" ]; then | |
| 15840 add_objects src/hostapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_waveformat.o | |
| 15841 LIBS="-lwinmm -lm -lole32 -luuid" | |
| 15842 DLL_LIBS="${DLL_LIBS} -lwinmm" | |
| 15843 CFLAGS="$CFLAGS -UPA_USE_WMME -DPA_USE_WMME=1" | |
| 15844 fi | |
| 15845 | |
| 15846 if [ "x$with_wasapi" = "xyes" ]; then | |
| 15847 add_objects src/hostapi/wasapi/pa_win_wasapi.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o | |
| 15848 LIBS="-lwinmm -lm -lole32 -luuid" | |
| 15849 DLL_LIBS="${DLL_LIBS} -lwinmm -lole32" | |
| 15850 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/hostapi/wasapi/mingw-include -UPA_USE_WASAPI -DPA_USE_WASAPI=1" | |
| 15851 fi | |
| 15852 ;; | |
| 15853 | |
| 15854 cygwin* ) | |
| 15855 | |
| 15856 OTHER_OBJS="src/hostapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_waveformat.o" | |
| 15857 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/win -DPA_USE_DS=0 -DPA_USE_WDMKS=0 -DPA_USE_ASIO=0 -DPA_USE_WASAPI=0 -DPA_USE_WMME=1" | |
| 15858 LIBS="-lwinmm -lm" | |
| 15859 PADLL="portaudio.dll" | |
| 15860 THREAD_CFLAGS="-mthreads" | |
| 15861 SHARED_FLAGS="-shared" | |
| 15862 DLL_LIBS="${DLL_LIBS} -lwinmm" | |
| 15863 ;; | |
| 15864 | |
| 15865 irix* ) | |
| 15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | |
| 15867 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | |
| 15868 if ${ac_cv_lib_pthread_pthread_create+:} false; then : | |
| 15869 $as_echo_n "(cached) " >&6 | |
| 15870 else | |
| 15871 ac_check_lib_save_LIBS=$LIBS | |
| 15872 LIBS="-lpthread $LIBS" | |
| 15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15874 /* end confdefs.h. */ | |
| 15875 | |
| 15876 /* Override any GCC internal prototype to avoid an error. | |
| 15877 Use char because int might match the return type of a GCC | |
| 15878 builtin and then its argument prototype would still apply. */ | |
| 15879 #ifdef __cplusplus | |
| 15880 extern "C" | |
| 15881 #endif | |
| 15882 char pthread_create (); | |
| 15883 int | |
| 15884 main () | |
| 15885 { | |
| 15886 return pthread_create (); | |
| 15887 ; | |
| 15888 return 0; | |
| 15889 } | |
| 15890 _ACEOF | |
| 15891 if ac_fn_c_try_link "$LINENO"; then : | |
| 15892 ac_cv_lib_pthread_pthread_create=yes | |
| 15893 else | |
| 15894 ac_cv_lib_pthread_pthread_create=no | |
| 15895 fi | |
| 15896 rm -f core conftest.err conftest.$ac_objext \ | |
| 15897 conftest$ac_exeext conftest.$ac_ext | |
| 15898 LIBS=$ac_check_lib_save_LIBS | |
| 15899 fi | |
| 15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 | |
| 15901 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | |
| 15902 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | |
| 15903 cat >>confdefs.h <<_ACEOF | |
| 15904 #define HAVE_LIBPTHREAD 1 | |
| 15905 _ACEOF | |
| 15906 | |
| 15907 LIBS="-lpthread $LIBS" | |
| 15908 | |
| 15909 else | |
| 15910 as_fn_error $? "IRIX posix thread library not found!" "$LINENO" 5 | |
| 15911 fi | |
| 15912 | |
| 15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alOpenPort in -laudio" >&5 | |
| 15914 $as_echo_n "checking for alOpenPort in -laudio... " >&6; } | |
| 15915 if ${ac_cv_lib_audio_alOpenPort+:} false; then : | |
| 15916 $as_echo_n "(cached) " >&6 | |
| 15917 else | |
| 15918 ac_check_lib_save_LIBS=$LIBS | |
| 15919 LIBS="-laudio $LIBS" | |
| 15920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15921 /* end confdefs.h. */ | |
| 15922 | |
| 15923 /* Override any GCC internal prototype to avoid an error. | |
| 15924 Use char because int might match the return type of a GCC | |
| 15925 builtin and then its argument prototype would still apply. */ | |
| 15926 #ifdef __cplusplus | |
| 15927 extern "C" | |
| 15928 #endif | |
| 15929 char alOpenPort (); | |
| 15930 int | |
| 15931 main () | |
| 15932 { | |
| 15933 return alOpenPort (); | |
| 15934 ; | |
| 15935 return 0; | |
| 15936 } | |
| 15937 _ACEOF | |
| 15938 if ac_fn_c_try_link "$LINENO"; then : | |
| 15939 ac_cv_lib_audio_alOpenPort=yes | |
| 15940 else | |
| 15941 ac_cv_lib_audio_alOpenPort=no | |
| 15942 fi | |
| 15943 rm -f core conftest.err conftest.$ac_objext \ | |
| 15944 conftest$ac_exeext conftest.$ac_ext | |
| 15945 LIBS=$ac_check_lib_save_LIBS | |
| 15946 fi | |
| 15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_alOpenPort" >&5 | |
| 15948 $as_echo "$ac_cv_lib_audio_alOpenPort" >&6; } | |
| 15949 if test "x$ac_cv_lib_audio_alOpenPort" = xyes; then : | |
| 15950 cat >>confdefs.h <<_ACEOF | |
| 15951 #define HAVE_LIBAUDIO 1 | |
| 15952 _ACEOF | |
| 15953 | |
| 15954 LIBS="-laudio $LIBS" | |
| 15955 | |
| 15956 else | |
| 15957 as_fn_error $? "IRIX audio library not found!" "$LINENO" 5 | |
| 15958 fi | |
| 15959 | |
| 15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmGetUST in -ldmedia" >&5 | |
| 15961 $as_echo_n "checking for dmGetUST in -ldmedia... " >&6; } | |
| 15962 if ${ac_cv_lib_dmedia_dmGetUST+:} false; then : | |
| 15963 $as_echo_n "(cached) " >&6 | |
| 15964 else | |
| 15965 ac_check_lib_save_LIBS=$LIBS | |
| 15966 LIBS="-ldmedia $LIBS" | |
| 15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 15968 /* end confdefs.h. */ | |
| 15969 | |
| 15970 /* Override any GCC internal prototype to avoid an error. | |
| 15971 Use char because int might match the return type of a GCC | |
| 15972 builtin and then its argument prototype would still apply. */ | |
| 15973 #ifdef __cplusplus | |
| 15974 extern "C" | |
| 15975 #endif | |
| 15976 char dmGetUST (); | |
| 15977 int | |
| 15978 main () | |
| 15979 { | |
| 15980 return dmGetUST (); | |
| 15981 ; | |
| 15982 return 0; | |
| 15983 } | |
| 15984 _ACEOF | |
| 15985 if ac_fn_c_try_link "$LINENO"; then : | |
| 15986 ac_cv_lib_dmedia_dmGetUST=yes | |
| 15987 else | |
| 15988 ac_cv_lib_dmedia_dmGetUST=no | |
| 15989 fi | |
| 15990 rm -f core conftest.err conftest.$ac_objext \ | |
| 15991 conftest$ac_exeext conftest.$ac_ext | |
| 15992 LIBS=$ac_check_lib_save_LIBS | |
| 15993 fi | |
| 15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmedia_dmGetUST" >&5 | |
| 15995 $as_echo "$ac_cv_lib_dmedia_dmGetUST" >&6; } | |
| 15996 if test "x$ac_cv_lib_dmedia_dmGetUST" = xyes; then : | |
| 15997 cat >>confdefs.h <<_ACEOF | |
| 15998 #define HAVE_LIBDMEDIA 1 | |
| 15999 _ACEOF | |
| 16000 | |
| 16001 LIBS="-ldmedia $LIBS" | |
| 16002 | |
| 16003 else | |
| 16004 as_fn_error $? "IRIX digital media library not found!" "$LINENO" 5 | |
| 16005 fi | |
| 16006 | |
| 16007 | |
| 16008 $as_echo "#define PA_USE_SGI 1" >>confdefs.h | |
| 16009 | |
| 16010 | |
| 16011 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix" | |
| 16012 | |
| 16013 THREAD_CFLAGS="-D_REENTRANT" | |
| 16014 | |
| 16015 OTHER_OBJS="pa_sgi/pa_sgi.o src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o" | |
| 16016 | |
| 16017 LIBS="-lm -ldmedia -laudio -lpthread" | |
| 16018 PADLL="libportaudio.so" | |
| 16019 SHARED_FLAGS="" | |
| 16020 ;; | |
| 16021 | |
| 16022 *) | |
| 16023 | |
| 16024 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix" | |
| 16025 | |
| 16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | |
| 16027 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | |
| 16028 if ${ac_cv_lib_pthread_pthread_create+:} false; then : | |
| 16029 $as_echo_n "(cached) " >&6 | |
| 16030 else | |
| 16031 ac_check_lib_save_LIBS=$LIBS | |
| 16032 LIBS="-lpthread $LIBS" | |
| 16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 16034 /* end confdefs.h. */ | |
| 16035 | |
| 16036 /* Override any GCC internal prototype to avoid an error. | |
| 16037 Use char because int might match the return type of a GCC | |
| 16038 builtin and then its argument prototype would still apply. */ | |
| 16039 #ifdef __cplusplus | |
| 16040 extern "C" | |
| 16041 #endif | |
| 16042 char pthread_create (); | |
| 16043 int | |
| 16044 main () | |
| 16045 { | |
| 16046 return pthread_create (); | |
| 16047 ; | |
| 16048 return 0; | |
| 16049 } | |
| 16050 _ACEOF | |
| 16051 if ac_fn_c_try_link "$LINENO"; then : | |
| 16052 ac_cv_lib_pthread_pthread_create=yes | |
| 16053 else | |
| 16054 ac_cv_lib_pthread_pthread_create=no | |
| 16055 fi | |
| 16056 rm -f core conftest.err conftest.$ac_objext \ | |
| 16057 conftest$ac_exeext conftest.$ac_ext | |
| 16058 LIBS=$ac_check_lib_save_LIBS | |
| 16059 fi | |
| 16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 | |
| 16061 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | |
| 16062 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | |
| 16063 have_pthread="yes" | |
| 16064 else | |
| 16065 as_fn_error $? "libpthread not found!" "$LINENO" 5 | |
| 16066 fi | |
| 16067 | |
| 16068 | |
| 16069 if [ "$have_alsa" = "yes" ] && [ "$with_alsa" != "no" ] ; then | |
| 16070 DLL_LIBS="$DLL_LIBS -lasound" | |
| 16071 LIBS="$LIBS -lasound" | |
| 16072 OTHER_OBJS="$OTHER_OBJS src/hostapi/alsa/pa_linux_alsa.o" | |
| 16073 INCLUDES="$INCLUDES pa_linux_alsa.h" | |
| 16074 $as_echo "#define PA_USE_ALSA 1" >>confdefs.h | |
| 16075 | |
| 16076 fi | |
| 16077 | |
| 16078 if [ "$have_jack" = "yes" ] && [ "$with_jack" != "no" ] ; then | |
| 16079 DLL_LIBS="$DLL_LIBS $JACK_LIBS" | |
| 16080 CFLAGS="$CFLAGS $JACK_CFLAGS" | |
| 16081 OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o src/common/pa_ringbuffer.o" | |
| 16082 INCLUDES="$INCLUDES pa_jack.h" | |
| 16083 $as_echo "#define PA_USE_JACK 1" >>confdefs.h | |
| 16084 | |
| 16085 fi | |
| 16086 | |
| 16087 if [ "$with_oss" != "no" ] ; then | |
| 16088 OTHER_OBJS="$OTHER_OBJS src/hostapi/oss/pa_unix_oss.o" | |
| 16089 if [ "$have_libossaudio" = "yes" ] ; then | |
| 16090 DLL_LIBS="$DLL_LIBS -lossaudio" | |
| 16091 LIBS="$LIBS -lossaudio" | |
| 16092 fi | |
| 16093 $as_echo "#define PA_USE_OSS 1" >>confdefs.h | |
| 16094 | |
| 16095 fi | |
| 16096 | |
| 16097 if [ "$have_asihpi" = "yes" ] && [ "$with_asihpi" != "no" ] ; then | |
| 16098 LIBS="$LIBS -lhpi" | |
| 16099 DLL_LIBS="$DLL_LIBS -lhpi" | |
| 16100 OTHER_OBJS="$OTHER_OBJS src/hostapi/asihpi/pa_linux_asihpi.o" | |
| 16101 $as_echo "#define PA_USE_ASIHPI 1" >>confdefs.h | |
| 16102 | |
| 16103 fi | |
| 16104 | |
| 16105 DLL_LIBS="$DLL_LIBS -lm -lpthread" | |
| 16106 LIBS="$LIBS -lm -lpthread" | |
| 16107 PADLL="libportaudio.so" | |
| 16108 | |
| 16109 ## support sun cc compiler flags | |
| 16110 case "${host_os}" in | |
| 16111 solaris*) | |
| 16112 SHARED_FLAGS="-G" | |
| 16113 THREAD_CFLAGS="-mt" | |
| 16114 ;; | |
| 16115 *) | |
| 16116 SHARED_FLAGS="-fPIC" | |
| 16117 THREAD_CFLAGS="-pthread" | |
| 16118 ;; | |
| 16119 esac | |
| 16120 | |
| 16121 OTHER_OBJS="$OTHER_OBJS src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o" | |
| 16122 esac | |
| 16123 CFLAGS="$CFLAGS $THREAD_CFLAGS" | |
| 16124 | |
| 16125 test "$enable_shared" != "yes" && SHARED_FLAGS="" | |
| 16126 | |
| 16127 if test "$enable_cxx" = "yes"; then | |
| 16128 | |
| 16129 | |
| 16130 subdirs="$subdirs bindings/cpp" | |
| 16131 | |
| 16132 ENABLE_CXX_TRUE="" | |
| 16133 ENABLE_CXX_FALSE="#" | |
| 16134 else | |
| 16135 ENABLE_CXX_TRUE="#" | |
| 16136 ENABLE_CXX_FALSE="" | |
| 16137 fi | |
| 16138 | |
| 16139 | |
| 16140 | |
| 16141 if test "x$with_asio" = "xyes"; then | |
| 16142 WITH_ASIO_TRUE="" | |
| 16143 WITH_ASIO_FALSE="@ #" | |
| 16144 else | |
| 16145 WITH_ASIO_TRUE="@ #" | |
| 16146 WITH_ASIO_FALSE="" | |
| 16147 fi | |
| 16148 | |
| 16149 | |
| 16150 | |
| 16151 ac_config_files="$ac_config_files Makefile portaudio-2.0.pc" | |
| 16152 | |
| 16153 cat >confcache <<\_ACEOF | |
| 16154 # This file is a shell script that caches the results of configure | |
| 16155 # tests run on this system so they can be shared between configure | |
| 16156 # scripts and configure runs, see configure's option --config-cache. | |
| 16157 # It is not useful on other systems. If it contains results you don't | |
| 16158 # want to keep, you may remove or edit it. | |
| 16159 # | |
| 16160 # config.status only pays attention to the cache file if you give it | |
| 16161 # the --recheck option to rerun configure. | |
| 16162 # | |
| 16163 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 16164 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 16165 # following values. | |
| 16166 | |
| 16167 _ACEOF | |
| 16168 | |
| 16169 # The following way of writing the cache mishandles newlines in values, | |
| 16170 # but we know of no workaround that is simple, portable, and efficient. | |
| 16171 # So, we kill variables containing newlines. | |
| 16172 # Ultrix sh set writes to stderr and can't be redirected directly, | |
| 16173 # and sets the high bit in the cache file unless we assign to the vars. | |
| 16174 ( | |
| 16175 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
| 16176 eval ac_val=\$$ac_var | |
| 16177 case $ac_val in #( | |
| 16178 *${as_nl}*) | |
| 16179 case $ac_var in #( | |
| 16180 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 16181 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 16182 esac | |
| 16183 case $ac_var in #( | |
| 16184 _ | IFS | as_nl) ;; #( | |
| 16185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 16186 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 16187 esac ;; | |
| 16188 esac | |
| 16189 done | |
| 16190 | |
| 16191 (set) 2>&1 | | |
| 16192 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 16193 *${as_nl}ac_space=\ *) | |
| 16194 # `set' does not quote correctly, so add quotes: double-quote | |
| 16195 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 16196 sed -n \ | |
| 16197 "s/'/'\\\\''/g; | |
| 16198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 16199 ;; #( | |
| 16200 *) | |
| 16201 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 16202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 16203 ;; | |
| 16204 esac | | |
| 16205 sort | |
| 16206 ) | | |
| 16207 sed ' | |
| 16208 /^ac_cv_env_/b end | |
| 16209 t clear | |
| 16210 :clear | |
| 16211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 16212 t end | |
| 16213 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 16214 :end' >>confcache | |
| 16215 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 16216 if test -w "$cache_file"; then | |
| 16217 if test "x$cache_file" != "x/dev/null"; then | |
| 16218 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 16219 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 16220 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
| 16221 cat confcache >"$cache_file" | |
| 16222 else | |
| 16223 case $cache_file in #( | |
| 16224 */* | ?:*) | |
| 16225 mv -f confcache "$cache_file"$$ && | |
| 16226 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
| 16227 *) | |
| 16228 mv -f confcache "$cache_file" ;; | |
| 16229 esac | |
| 16230 fi | |
| 16231 fi | |
| 16232 else | |
| 16233 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
| 16234 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 16235 fi | |
| 16236 fi | |
| 16237 rm -f confcache | |
| 16238 | |
| 16239 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 16240 # Let make expand exec_prefix. | |
| 16241 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 16242 | |
| 16243 # Transform confdefs.h into DEFS. | |
| 16244 # Protect against shell expansion while executing Makefile rules. | |
| 16245 # Protect against Makefile macro expansion. | |
| 16246 # | |
| 16247 # If the first sed substitution is executed (which looks for macros that | |
| 16248 # take arguments), then branch to the quote section. Otherwise, | |
| 16249 # look for a macro that doesn't take arguments. | |
| 16250 ac_script=' | |
| 16251 :mline | |
| 16252 /\\$/{ | |
| 16253 N | |
| 16254 s,\\\n,, | |
| 16255 b mline | |
| 16256 } | |
| 16257 t clear | |
| 16258 :clear | |
| 16259 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
| 16260 t quote | |
| 16261 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
| 16262 t quote | |
| 16263 b any | |
| 16264 :quote | |
| 16265 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
| 16266 s/\[/\\&/g | |
| 16267 s/\]/\\&/g | |
| 16268 s/\$/$$/g | |
| 16269 H | |
| 16270 :any | |
| 16271 ${ | |
| 16272 g | |
| 16273 s/^\n// | |
| 16274 s/\n/ /g | |
| 16275 p | |
| 16276 } | |
| 16277 ' | |
| 16278 DEFS=`sed -n "$ac_script" confdefs.h` | |
| 16279 | |
| 16280 | |
| 16281 ac_libobjs= | |
| 16282 ac_ltlibobjs= | |
| 16283 U= | |
| 16284 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 16285 # 1. Remove the extension, and $U if already installed. | |
| 16286 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 16287 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
| 16288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 16289 # will be set to the directory where LIBOBJS objects are built. | |
| 16290 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 16291 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 16292 done | |
| 16293 LIBOBJS=$ac_libobjs | |
| 16294 | |
| 16295 LTLIBOBJS=$ac_ltlibobjs | |
| 16296 | |
| 16297 | |
| 16298 | |
| 16299 | |
| 16300 : "${CONFIG_STATUS=./config.status}" | |
| 16301 ac_write_fail=0 | |
| 16302 ac_clean_files_save=$ac_clean_files | |
| 16303 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 16304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 16305 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 16306 as_write_fail=0 | |
| 16307 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 16308 #! $SHELL | |
| 16309 # Generated by $as_me. | |
| 16310 # Run this file to recreate the current configuration. | |
| 16311 # Compiler output produced by configure, useful for debugging | |
| 16312 # configure, is in config.log if it exists. | |
| 16313 | |
| 16314 debug=false | |
| 16315 ac_cs_recheck=false | |
| 16316 ac_cs_silent=false | |
| 16317 | |
| 16318 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 16319 export SHELL | |
| 16320 _ASEOF | |
| 16321 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 16322 ## -------------------- ## | |
| 16323 ## M4sh Initialization. ## | |
| 16324 ## -------------------- ## | |
| 16325 | |
| 16326 # Be more Bourne compatible | |
| 16327 DUALCASE=1; export DUALCASE # for MKS sh | |
| 16328 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 16329 emulate sh | |
| 16330 NULLCMD=: | |
| 16331 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 16332 # is contrary to our usage. Disable this feature. | |
| 16333 alias -g '${1+"$@"}'='"$@"' | |
| 16334 setopt NO_GLOB_SUBST | |
| 16335 else | |
| 16336 case `(set -o) 2>/dev/null` in #( | |
| 16337 *posix*) : | |
| 16338 set -o posix ;; #( | |
| 16339 *) : | |
| 16340 ;; | |
| 16341 esac | |
| 16342 fi | |
| 16343 | |
| 16344 | |
| 16345 as_nl=' | |
| 16346 ' | |
| 16347 export as_nl | |
| 16348 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 16349 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 16350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 16351 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 16352 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 16353 # but without wasting forks for bash or zsh. | |
| 16354 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 16355 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 16356 as_echo='print -r --' | |
| 16357 as_echo_n='print -rn --' | |
| 16358 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 16359 as_echo='printf %s\n' | |
| 16360 as_echo_n='printf %s' | |
| 16361 else | |
| 16362 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 16363 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 16364 as_echo_n='/usr/ucb/echo -n' | |
| 16365 else | |
| 16366 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 16367 as_echo_n_body='eval | |
| 16368 arg=$1; | |
| 16369 case $arg in #( | |
| 16370 *"$as_nl"*) | |
| 16371 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 16372 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 16373 esac; | |
| 16374 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 16375 ' | |
| 16376 export as_echo_n_body | |
| 16377 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 16378 fi | |
| 16379 export as_echo_body | |
| 16380 as_echo='sh -c $as_echo_body as_echo' | |
| 16381 fi | |
| 16382 | |
| 16383 # The user is always right. | |
| 16384 if test "${PATH_SEPARATOR+set}" != set; then | |
| 16385 PATH_SEPARATOR=: | |
| 16386 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 16387 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 16388 PATH_SEPARATOR=';' | |
| 16389 } | |
| 16390 fi | |
| 16391 | |
| 16392 | |
| 16393 # IFS | |
| 16394 # We need space, tab and new line, in precisely that order. Quoting is | |
| 16395 # there to prevent editors from complaining about space-tab. | |
| 16396 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 16397 # splitting by setting IFS to empty value.) | |
| 16398 IFS=" "" $as_nl" | |
| 16399 | |
| 16400 # Find who we are. Look in the path if we contain no directory separator. | |
| 16401 as_myself= | |
| 16402 case $0 in #(( | |
| 16403 *[\\/]* ) as_myself=$0 ;; | |
| 16404 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 16405 for as_dir in $PATH | |
| 16406 do | |
| 16407 IFS=$as_save_IFS | |
| 16408 test -z "$as_dir" && as_dir=. | |
| 16409 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 16410 done | |
| 16411 IFS=$as_save_IFS | |
| 16412 | |
| 16413 ;; | |
| 16414 esac | |
| 16415 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 16416 # in which case we are not to be found in the path. | |
| 16417 if test "x$as_myself" = x; then | |
| 16418 as_myself=$0 | |
| 16419 fi | |
| 16420 if test ! -f "$as_myself"; then | |
| 16421 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 16422 exit 1 | |
| 16423 fi | |
| 16424 | |
| 16425 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 16426 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 16427 # suppresses any "Segmentation fault" message there. '((' could | |
| 16428 # trigger a bug in pdksh 5.2.14. | |
| 16429 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 16430 do eval test x\${$as_var+set} = xset \ | |
| 16431 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 16432 done | |
| 16433 PS1='$ ' | |
| 16434 PS2='> ' | |
| 16435 PS4='+ ' | |
| 16436 | |
| 16437 # NLS nuisances. | |
| 16438 LC_ALL=C | |
| 16439 export LC_ALL | |
| 16440 LANGUAGE=C | |
| 16441 export LANGUAGE | |
| 16442 | |
| 16443 # CDPATH. | |
| 16444 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 16445 | |
| 16446 | |
| 16447 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 16448 # ---------------------------------------- | |
| 16449 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 16450 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 16451 # script with STATUS, using 1 if that was 0. | |
| 16452 as_fn_error () | |
| 16453 { | |
| 16454 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 16455 if test "$4"; then | |
| 16456 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 16457 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 16458 fi | |
| 16459 $as_echo "$as_me: error: $2" >&2 | |
| 16460 as_fn_exit $as_status | |
| 16461 } # as_fn_error | |
| 16462 | |
| 16463 | |
| 16464 # as_fn_set_status STATUS | |
| 16465 # ----------------------- | |
| 16466 # Set $? to STATUS, without forking. | |
| 16467 as_fn_set_status () | |
| 16468 { | |
| 16469 return $1 | |
| 16470 } # as_fn_set_status | |
| 16471 | |
| 16472 # as_fn_exit STATUS | |
| 16473 # ----------------- | |
| 16474 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 16475 as_fn_exit () | |
| 16476 { | |
| 16477 set +e | |
| 16478 as_fn_set_status $1 | |
| 16479 exit $1 | |
| 16480 } # as_fn_exit | |
| 16481 | |
| 16482 # as_fn_unset VAR | |
| 16483 # --------------- | |
| 16484 # Portably unset VAR. | |
| 16485 as_fn_unset () | |
| 16486 { | |
| 16487 { eval $1=; unset $1;} | |
| 16488 } | |
| 16489 as_unset=as_fn_unset | |
| 16490 # as_fn_append VAR VALUE | |
| 16491 # ---------------------- | |
| 16492 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 16493 # advantage of any shell optimizations that allow amortized linear growth over | |
| 16494 # repeated appends, instead of the typical quadratic growth present in naive | |
| 16495 # implementations. | |
| 16496 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 16497 eval 'as_fn_append () | |
| 16498 { | |
| 16499 eval $1+=\$2 | |
| 16500 }' | |
| 16501 else | |
| 16502 as_fn_append () | |
| 16503 { | |
| 16504 eval $1=\$$1\$2 | |
| 16505 } | |
| 16506 fi # as_fn_append | |
| 16507 | |
| 16508 # as_fn_arith ARG... | |
| 16509 # ------------------ | |
| 16510 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 16511 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 16512 # must be portable across $(()) and expr. | |
| 16513 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 16514 eval 'as_fn_arith () | |
| 16515 { | |
| 16516 as_val=$(( $* )) | |
| 16517 }' | |
| 16518 else | |
| 16519 as_fn_arith () | |
| 16520 { | |
| 16521 as_val=`expr "$@" || test $? -eq 1` | |
| 16522 } | |
| 16523 fi # as_fn_arith | |
| 16524 | |
| 16525 | |
| 16526 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 16527 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 16528 as_expr=expr | |
| 16529 else | |
| 16530 as_expr=false | |
| 16531 fi | |
| 16532 | |
| 16533 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 16534 as_basename=basename | |
| 16535 else | |
| 16536 as_basename=false | |
| 16537 fi | |
| 16538 | |
| 16539 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 16540 as_dirname=dirname | |
| 16541 else | |
| 16542 as_dirname=false | |
| 16543 fi | |
| 16544 | |
| 16545 as_me=`$as_basename -- "$0" || | |
| 16546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 16547 X"$0" : 'X\(//\)$' \| \ | |
| 16548 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 16549 $as_echo X/"$0" | | |
| 16550 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 16551 s//\1/ | |
| 16552 q | |
| 16553 } | |
| 16554 /^X\/\(\/\/\)$/{ | |
| 16555 s//\1/ | |
| 16556 q | |
| 16557 } | |
| 16558 /^X\/\(\/\).*/{ | |
| 16559 s//\1/ | |
| 16560 q | |
| 16561 } | |
| 16562 s/.*/./; q'` | |
| 16563 | |
| 16564 # Avoid depending upon Character Ranges. | |
| 16565 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 16566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 16567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 16568 as_cr_digits='0123456789' | |
| 16569 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 16570 | |
| 16571 ECHO_C= ECHO_N= ECHO_T= | |
| 16572 case `echo -n x` in #((((( | |
| 16573 -n*) | |
| 16574 case `echo 'xy\c'` in | |
| 16575 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 16576 xy) ECHO_C='\c';; | |
| 16577 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 16578 ECHO_T=' ';; | |
| 16579 esac;; | |
| 16580 *) | |
| 16581 ECHO_N='-n';; | |
| 16582 esac | |
| 16583 | |
| 16584 rm -f conf$$ conf$$.exe conf$$.file | |
| 16585 if test -d conf$$.dir; then | |
| 16586 rm -f conf$$.dir/conf$$.file | |
| 16587 else | |
| 16588 rm -f conf$$.dir | |
| 16589 mkdir conf$$.dir 2>/dev/null | |
| 16590 fi | |
| 16591 if (echo >conf$$.file) 2>/dev/null; then | |
| 16592 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 16593 as_ln_s='ln -s' | |
| 16594 # ... but there are two gotchas: | |
| 16595 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 16596 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 16597 # In both cases, we have to default to `cp -p'. | |
| 16598 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 16599 as_ln_s='cp -p' | |
| 16600 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 16601 as_ln_s=ln | |
| 16602 else | |
| 16603 as_ln_s='cp -p' | |
| 16604 fi | |
| 16605 else | |
| 16606 as_ln_s='cp -p' | |
| 16607 fi | |
| 16608 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 16609 rmdir conf$$.dir 2>/dev/null | |
| 16610 | |
| 16611 | |
| 16612 # as_fn_mkdir_p | |
| 16613 # ------------- | |
| 16614 # Create "$as_dir" as a directory, including parents if necessary. | |
| 16615 as_fn_mkdir_p () | |
| 16616 { | |
| 16617 | |
| 16618 case $as_dir in #( | |
| 16619 -*) as_dir=./$as_dir;; | |
| 16620 esac | |
| 16621 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 16622 as_dirs= | |
| 16623 while :; do | |
| 16624 case $as_dir in #( | |
| 16625 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 16626 *) as_qdir=$as_dir;; | |
| 16627 esac | |
| 16628 as_dirs="'$as_qdir' $as_dirs" | |
| 16629 as_dir=`$as_dirname -- "$as_dir" || | |
| 16630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 16631 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 16632 X"$as_dir" : 'X\(//\)$' \| \ | |
| 16633 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 16634 $as_echo X"$as_dir" | | |
| 16635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 16636 s//\1/ | |
| 16637 q | |
| 16638 } | |
| 16639 /^X\(\/\/\)[^/].*/{ | |
| 16640 s//\1/ | |
| 16641 q | |
| 16642 } | |
| 16643 /^X\(\/\/\)$/{ | |
| 16644 s//\1/ | |
| 16645 q | |
| 16646 } | |
| 16647 /^X\(\/\).*/{ | |
| 16648 s//\1/ | |
| 16649 q | |
| 16650 } | |
| 16651 s/.*/./; q'` | |
| 16652 test -d "$as_dir" && break | |
| 16653 done | |
| 16654 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 16655 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 16656 | |
| 16657 | |
| 16658 } # as_fn_mkdir_p | |
| 16659 if mkdir -p . 2>/dev/null; then | |
| 16660 as_mkdir_p='mkdir -p "$as_dir"' | |
| 16661 else | |
| 16662 test -d ./-p && rmdir ./-p | |
| 16663 as_mkdir_p=false | |
| 16664 fi | |
| 16665 | |
| 16666 if test -x / >/dev/null 2>&1; then | |
| 16667 as_test_x='test -x' | |
| 16668 else | |
| 16669 if ls -dL / >/dev/null 2>&1; then | |
| 16670 as_ls_L_option=L | |
| 16671 else | |
| 16672 as_ls_L_option= | |
| 16673 fi | |
| 16674 as_test_x=' | |
| 16675 eval sh -c '\'' | |
| 16676 if test -d "$1"; then | |
| 16677 test -d "$1/."; | |
| 16678 else | |
| 16679 case $1 in #( | |
| 16680 -*)set "./$1";; | |
| 16681 esac; | |
| 16682 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 16683 ???[sx]*):;;*)false;;esac;fi | |
| 16684 '\'' sh | |
| 16685 ' | |
| 16686 fi | |
| 16687 as_executable_p=$as_test_x | |
| 16688 | |
| 16689 # Sed expression to map a string onto a valid CPP name. | |
| 16690 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 16691 | |
| 16692 # Sed expression to map a string onto a valid variable name. | |
| 16693 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 16694 | |
| 16695 | |
| 16696 exec 6>&1 | |
| 16697 ## ----------------------------------- ## | |
| 16698 ## Main body of $CONFIG_STATUS script. ## | |
| 16699 ## ----------------------------------- ## | |
| 16700 _ASEOF | |
| 16701 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 16702 | |
| 16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 16704 # Save the log message, to keep $0 and so on meaningful, and to | |
| 16705 # report actual input values of CONFIG_FILES etc. instead of their | |
| 16706 # values after options handling. | |
| 16707 ac_log=" | |
| 16708 This file was extended by $as_me, which was | |
| 16709 generated by GNU Autoconf 2.68. Invocation command line was | |
| 16710 | |
| 16711 CONFIG_FILES = $CONFIG_FILES | |
| 16712 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 16713 CONFIG_LINKS = $CONFIG_LINKS | |
| 16714 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 16715 $ $0 $@ | |
| 16716 | |
| 16717 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 16718 " | |
| 16719 | |
| 16720 _ACEOF | |
| 16721 | |
| 16722 case $ac_config_files in *" | |
| 16723 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 16724 esac | |
| 16725 | |
| 16726 | |
| 16727 | |
| 16728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 16729 # Files that config.status was made for. | |
| 16730 config_files="$ac_config_files" | |
| 16731 config_commands="$ac_config_commands" | |
| 16732 | |
| 16733 _ACEOF | |
| 16734 | |
| 16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 16736 ac_cs_usage="\ | |
| 16737 \`$as_me' instantiates files and other configuration actions | |
| 16738 from templates according to the current configuration. Unless the files | |
| 16739 and actions are specified as TAGs, all are instantiated by default. | |
| 16740 | |
| 16741 Usage: $0 [OPTION]... [TAG]... | |
| 16742 | |
| 16743 -h, --help print this help, then exit | |
| 16744 -V, --version print version number and configuration settings, then exit | |
| 16745 --config print configuration, then exit | |
| 16746 -q, --quiet, --silent | |
| 16747 do not print progress messages | |
| 16748 -d, --debug don't remove temporary files | |
| 16749 --recheck update $as_me by reconfiguring in the same conditions | |
| 16750 --file=FILE[:TEMPLATE] | |
| 16751 instantiate the configuration file FILE | |
| 16752 | |
| 16753 Configuration files: | |
| 16754 $config_files | |
| 16755 | |
| 16756 Configuration commands: | |
| 16757 $config_commands | |
| 16758 | |
| 16759 Report bugs to the package provider." | |
| 16760 | |
| 16761 _ACEOF | |
| 16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 16763 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
| 16764 ac_cs_version="\\ | |
| 16765 config.status | |
| 16766 configured by $0, generated by GNU Autoconf 2.68, | |
| 16767 with options \\"\$ac_cs_config\\" | |
| 16768 | |
| 16769 Copyright (C) 2010 Free Software Foundation, Inc. | |
| 16770 This config.status script is free software; the Free Software Foundation | |
| 16771 gives unlimited permission to copy, distribute and modify it." | |
| 16772 | |
| 16773 ac_pwd='$ac_pwd' | |
| 16774 srcdir='$srcdir' | |
| 16775 INSTALL='$INSTALL' | |
| 16776 AWK='$AWK' | |
| 16777 test -n "\$AWK" || AWK=awk | |
| 16778 _ACEOF | |
| 16779 | |
| 16780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 16781 # The default lists apply if the user does not specify any file. | |
| 16782 ac_need_defaults=: | |
| 16783 while test $# != 0 | |
| 16784 do | |
| 16785 case $1 in | |
| 16786 --*=?*) | |
| 16787 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 16788 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 16789 ac_shift=: | |
| 16790 ;; | |
| 16791 --*=) | |
| 16792 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 16793 ac_optarg= | |
| 16794 ac_shift=: | |
| 16795 ;; | |
| 16796 *) | |
| 16797 ac_option=$1 | |
| 16798 ac_optarg=$2 | |
| 16799 ac_shift=shift | |
| 16800 ;; | |
| 16801 esac | |
| 16802 | |
| 16803 case $ac_option in | |
| 16804 # Handling of the options. | |
| 16805 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 16806 ac_cs_recheck=: ;; | |
| 16807 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 16808 $as_echo "$ac_cs_version"; exit ;; | |
| 16809 --config | --confi | --conf | --con | --co | --c ) | |
| 16810 $as_echo "$ac_cs_config"; exit ;; | |
| 16811 --debug | --debu | --deb | --de | --d | -d ) | |
| 16812 debug=: ;; | |
| 16813 --file | --fil | --fi | --f ) | |
| 16814 $ac_shift | |
| 16815 case $ac_optarg in | |
| 16816 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 16817 '') as_fn_error $? "missing file argument" ;; | |
| 16818 esac | |
| 16819 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 16820 ac_need_defaults=false;; | |
| 16821 --he | --h | --help | --hel | -h ) | |
| 16822 $as_echo "$ac_cs_usage"; exit ;; | |
| 16823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 16824 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 16825 ac_cs_silent=: ;; | |
| 16826 | |
| 16827 # This is an error. | |
| 16828 -*) as_fn_error $? "unrecognized option: \`$1' | |
| 16829 Try \`$0 --help' for more information." ;; | |
| 16830 | |
| 16831 *) as_fn_append ac_config_targets " $1" | |
| 16832 ac_need_defaults=false ;; | |
| 16833 | |
| 16834 esac | |
| 16835 shift | |
| 16836 done | |
| 16837 | |
| 16838 ac_configure_extra_args= | |
| 16839 | |
| 16840 if $ac_cs_silent; then | |
| 16841 exec 6>/dev/null | |
| 16842 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 16843 fi | |
| 16844 | |
| 16845 _ACEOF | |
| 16846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 16847 if \$ac_cs_recheck; then | |
| 16848 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
| 16849 shift | |
| 16850 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 16851 CONFIG_SHELL='$SHELL' | |
| 16852 export CONFIG_SHELL | |
| 16853 exec "\$@" | |
| 16854 fi | |
| 16855 | |
| 16856 _ACEOF | |
| 16857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 16858 exec 5>>config.log | |
| 16859 { | |
| 16860 echo | |
| 16861 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 16862 ## Running $as_me. ## | |
| 16863 _ASBOX | |
| 16864 $as_echo "$ac_log" | |
| 16865 } >&5 | |
| 16866 | |
| 16867 _ACEOF | |
| 16868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 16869 # | |
| 16870 # INIT-COMMANDS | |
| 16871 # | |
| 16872 | |
| 16873 | |
| 16874 # The HP-UX ksh and POSIX shell print the target directory to stdout | |
| 16875 # if CDPATH is set. | |
| 16876 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 16877 | |
| 16878 sed_quote_subst='$sed_quote_subst' | |
| 16879 double_quote_subst='$double_quote_subst' | |
| 16880 delay_variable_subst='$delay_variable_subst' | |
| 16881 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' | |
| 16882 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' | |
| 16883 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | |
| 16884 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | |
| 16885 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | |
| 16886 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | |
| 16887 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | |
| 16888 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | |
| 16889 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' | |
| 16890 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | |
| 16891 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | |
| 16892 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | |
| 16893 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | |
| 16894 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | |
| 16895 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | |
| 16896 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | |
| 16897 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | |
| 16898 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | |
| 16899 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | |
| 16900 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | |
| 16901 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | |
| 16902 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | |
| 16903 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | |
| 16904 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | |
| 16905 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | |
| 16906 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | |
| 16907 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | |
| 16908 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | |
| 16909 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | |
| 16910 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | |
| 16911 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | |
| 16912 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' | |
| 16913 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' | |
| 16914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | |
| 16915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16916 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' | |
| 16917 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | |
| 16918 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' | |
| 16919 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' | |
| 16920 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' | |
| 16921 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | |
| 16922 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | |
| 16923 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' | |
| 16924 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | |
| 16925 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | |
| 16926 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16927 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16928 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16929 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' | |
| 16930 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | |
| 16931 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | |
| 16932 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | |
| 16933 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | |
| 16934 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' | |
| 16935 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' | |
| 16936 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' | |
| 16937 lt_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"`' | |
| 16938 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' | |
| 16939 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' | |
| 16940 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | |
| 16941 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | |
| 16942 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' | |
| 16943 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' | |
| 16944 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' | |
| 16945 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' | |
| 16946 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' | |
| 16947 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | |
| 16948 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | |
| 16949 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | |
| 16950 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' | |
| 16951 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' | |
| 16952 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' | |
| 16953 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' | |
| 16954 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' | |
| 16955 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16956 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16957 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' | |
| 16958 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' | |
| 16959 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' | |
| 16960 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' | |
| 16961 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' | |
| 16962 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16963 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16964 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16965 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16966 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16967 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16968 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' | |
| 16969 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' | |
| 16970 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' | |
| 16971 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' | |
| 16972 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' | |
| 16973 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' | |
| 16974 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' | |
| 16975 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' | |
| 16976 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' | |
| 16977 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' | |
| 16978 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' | |
| 16979 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' | |
| 16980 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' | |
| 16981 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' | |
| 16982 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16983 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 16984 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' | |
| 16985 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16986 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' | |
| 16987 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' | |
| 16988 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' | |
| 16989 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' | |
| 16990 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' | |
| 16991 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' | |
| 16992 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' | |
| 16993 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' | |
| 16994 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' | |
| 16995 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | |
| 16996 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' | |
| 16997 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | |
| 16998 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' | |
| 16999 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' | |
| 17000 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | |
| 17001 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | |
| 17002 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | |
| 17003 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' | |
| 17004 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' | |
| 17005 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' | |
| 17006 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | |
| 17007 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | |
| 17008 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' | |
| 17009 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' | |
| 17010 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | |
| 17011 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | |
| 17012 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' | |
| 17013 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' | |
| 17014 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' | |
| 17015 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' | |
| 17016 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' | |
| 17017 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' | |
| 17018 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17019 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17020 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17021 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17022 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17023 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17024 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17025 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17026 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17027 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17028 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17029 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17030 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17031 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17032 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17033 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17034 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17035 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17036 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17037 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17038 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17039 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17040 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17041 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17042 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17043 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17044 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17045 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17046 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17047 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17048 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17049 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17050 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17051 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17052 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17053 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17054 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17055 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17056 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17057 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17058 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17059 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17060 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17061 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17062 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17063 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17064 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17065 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17066 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' | |
| 17067 | |
| 17068 LTCC='$LTCC' | |
| 17069 LTCFLAGS='$LTCFLAGS' | |
| 17070 compiler='$compiler_DEFAULT' | |
| 17071 | |
| 17072 # A function that is used when there is no print builtin or printf. | |
| 17073 func_fallback_echo () | |
| 17074 { | |
| 17075 eval 'cat <<_LTECHO_EOF | |
| 17076 \$1 | |
| 17077 _LTECHO_EOF' | |
| 17078 } | |
| 17079 | |
| 17080 # Quote evaled strings. | |
| 17081 for var in AS \ | |
| 17082 DLLTOOL \ | |
| 17083 OBJDUMP \ | |
| 17084 SHELL \ | |
| 17085 ECHO \ | |
| 17086 SED \ | |
| 17087 GREP \ | |
| 17088 EGREP \ | |
| 17089 FGREP \ | |
| 17090 LD \ | |
| 17091 NM \ | |
| 17092 LN_S \ | |
| 17093 lt_SP2NL \ | |
| 17094 lt_NL2SP \ | |
| 17095 reload_flag \ | |
| 17096 deplibs_check_method \ | |
| 17097 file_magic_cmd \ | |
| 17098 file_magic_glob \ | |
| 17099 want_nocaseglob \ | |
| 17100 sharedlib_from_linklib_cmd \ | |
| 17101 AR \ | |
| 17102 AR_FLAGS \ | |
| 17103 archiver_list_spec \ | |
| 17104 STRIP \ | |
| 17105 RANLIB \ | |
| 17106 CC \ | |
| 17107 CFLAGS \ | |
| 17108 compiler \ | |
| 17109 lt_cv_sys_global_symbol_pipe \ | |
| 17110 lt_cv_sys_global_symbol_to_cdecl \ | |
| 17111 lt_cv_sys_global_symbol_to_c_name_address \ | |
| 17112 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | |
| 17113 nm_file_list_spec \ | |
| 17114 lt_prog_compiler_no_builtin_flag \ | |
| 17115 lt_prog_compiler_pic \ | |
| 17116 lt_prog_compiler_wl \ | |
| 17117 lt_prog_compiler_static \ | |
| 17118 lt_cv_prog_compiler_c_o \ | |
| 17119 need_locks \ | |
| 17120 MANIFEST_TOOL \ | |
| 17121 DSYMUTIL \ | |
| 17122 NMEDIT \ | |
| 17123 LIPO \ | |
| 17124 OTOOL \ | |
| 17125 OTOOL64 \ | |
| 17126 shrext_cmds \ | |
| 17127 export_dynamic_flag_spec \ | |
| 17128 whole_archive_flag_spec \ | |
| 17129 compiler_needs_object \ | |
| 17130 with_gnu_ld \ | |
| 17131 allow_undefined_flag \ | |
| 17132 no_undefined_flag \ | |
| 17133 hardcode_libdir_flag_spec \ | |
| 17134 hardcode_libdir_flag_spec_ld \ | |
| 17135 hardcode_libdir_separator \ | |
| 17136 exclude_expsyms \ | |
| 17137 include_expsyms \ | |
| 17138 file_list_spec \ | |
| 17139 variables_saved_for_relink \ | |
| 17140 libname_spec \ | |
| 17141 library_names_spec \ | |
| 17142 soname_spec \ | |
| 17143 install_override_mode \ | |
| 17144 finish_eval \ | |
| 17145 old_striplib \ | |
| 17146 striplib \ | |
| 17147 compiler_lib_search_dirs \ | |
| 17148 predep_objects \ | |
| 17149 postdep_objects \ | |
| 17150 predeps \ | |
| 17151 postdeps \ | |
| 17152 compiler_lib_search_path \ | |
| 17153 LD_CXX \ | |
| 17154 reload_flag_CXX \ | |
| 17155 compiler_CXX \ | |
| 17156 lt_prog_compiler_no_builtin_flag_CXX \ | |
| 17157 lt_prog_compiler_pic_CXX \ | |
| 17158 lt_prog_compiler_wl_CXX \ | |
| 17159 lt_prog_compiler_static_CXX \ | |
| 17160 lt_cv_prog_compiler_c_o_CXX \ | |
| 17161 export_dynamic_flag_spec_CXX \ | |
| 17162 whole_archive_flag_spec_CXX \ | |
| 17163 compiler_needs_object_CXX \ | |
| 17164 with_gnu_ld_CXX \ | |
| 17165 allow_undefined_flag_CXX \ | |
| 17166 no_undefined_flag_CXX \ | |
| 17167 hardcode_libdir_flag_spec_CXX \ | |
| 17168 hardcode_libdir_flag_spec_ld_CXX \ | |
| 17169 hardcode_libdir_separator_CXX \ | |
| 17170 exclude_expsyms_CXX \ | |
| 17171 include_expsyms_CXX \ | |
| 17172 file_list_spec_CXX \ | |
| 17173 compiler_lib_search_dirs_CXX \ | |
| 17174 predep_objects_CXX \ | |
| 17175 postdep_objects_CXX \ | |
| 17176 predeps_CXX \ | |
| 17177 postdeps_CXX \ | |
| 17178 compiler_lib_search_path_CXX; do | |
| 17179 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 17180 *[\\\\\\\`\\"\\\$]*) | |
| 17181 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | |
| 17182 ;; | |
| 17183 *) | |
| 17184 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 17185 ;; | |
| 17186 esac | |
| 17187 done | |
| 17188 | |
| 17189 # Double-quote double-evaled strings. | |
| 17190 for var in reload_cmds \ | |
| 17191 old_postinstall_cmds \ | |
| 17192 old_postuninstall_cmds \ | |
| 17193 old_archive_cmds \ | |
| 17194 extract_expsyms_cmds \ | |
| 17195 old_archive_from_new_cmds \ | |
| 17196 old_archive_from_expsyms_cmds \ | |
| 17197 archive_cmds \ | |
| 17198 archive_expsym_cmds \ | |
| 17199 module_cmds \ | |
| 17200 module_expsym_cmds \ | |
| 17201 export_symbols_cmds \ | |
| 17202 prelink_cmds \ | |
| 17203 postlink_cmds \ | |
| 17204 postinstall_cmds \ | |
| 17205 postuninstall_cmds \ | |
| 17206 finish_cmds \ | |
| 17207 sys_lib_search_path_spec \ | |
| 17208 sys_lib_dlsearch_path_spec \ | |
| 17209 reload_cmds_CXX \ | |
| 17210 old_archive_cmds_CXX \ | |
| 17211 old_archive_from_new_cmds_CXX \ | |
| 17212 old_archive_from_expsyms_cmds_CXX \ | |
| 17213 archive_cmds_CXX \ | |
| 17214 archive_expsym_cmds_CXX \ | |
| 17215 module_cmds_CXX \ | |
| 17216 module_expsym_cmds_CXX \ | |
| 17217 export_symbols_cmds_CXX \ | |
| 17218 prelink_cmds_CXX \ | |
| 17219 postlink_cmds_CXX; do | |
| 17220 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | |
| 17221 *[\\\\\\\`\\"\\\$]*) | |
| 17222 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" | |
| 17223 ;; | |
| 17224 *) | |
| 17225 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | |
| 17226 ;; | |
| 17227 esac | |
| 17228 done | |
| 17229 | |
| 17230 ac_aux_dir='$ac_aux_dir' | |
| 17231 xsi_shell='$xsi_shell' | |
| 17232 lt_shell_append='$lt_shell_append' | |
| 17233 | |
| 17234 # See if we are running on zsh, and set the options which allow our | |
| 17235 # commands through without removal of \ escapes INIT. | |
| 17236 if test -n "\${ZSH_VERSION+set}" ; then | |
| 17237 setopt NO_GLOB_SUBST | |
| 17238 fi | |
| 17239 | |
| 17240 | |
| 17241 PACKAGE='$PACKAGE' | |
| 17242 VERSION='$VERSION' | |
| 17243 TIMESTAMP='$TIMESTAMP' | |
| 17244 RM='$RM' | |
| 17245 ofile='$ofile' | |
| 17246 | |
| 17247 | |
| 17248 | |
| 17249 | |
| 17250 | |
| 17251 | |
| 17252 _ACEOF | |
| 17253 | |
| 17254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 17255 | |
| 17256 # Handling of arguments. | |
| 17257 for ac_config_target in $ac_config_targets | |
| 17258 do | |
| 17259 case $ac_config_target in | |
| 17260 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | |
| 17261 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 17262 "portaudio-2.0.pc") CONFIG_FILES="$CONFIG_FILES portaudio-2.0.pc" ;; | |
| 17263 | |
| 17264 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
| 17265 esac | |
| 17266 done | |
| 17267 | |
| 17268 | |
| 17269 # If the user did not use the arguments to specify the items to instantiate, | |
| 17270 # then the envvar interface is used. Set only those that are not. | |
| 17271 # We use the long form for the default assignment because of an extremely | |
| 17272 # bizarre bug on SunOS 4.1.3. | |
| 17273 if $ac_need_defaults; then | |
| 17274 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 17275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
| 17276 fi | |
| 17277 | |
| 17278 # Have a temporary directory for convenience. Make it in the build tree | |
| 17279 # simply because there is no reason against having it here, and in addition, | |
| 17280 # creating and moving files from /tmp can sometimes cause problems. | |
| 17281 # Hook for its removal unless debugging. | |
| 17282 # Note that there is a small window in which the directory will not be cleaned: | |
| 17283 # after its creation but before its name has been assigned to `$tmp'. | |
| 17284 $debug || | |
| 17285 { | |
| 17286 tmp= ac_tmp= | |
| 17287 trap 'exit_status=$? | |
| 17288 : "${ac_tmp:=$tmp}" | |
| 17289 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
| 17290 ' 0 | |
| 17291 trap 'as_fn_exit 1' 1 2 13 15 | |
| 17292 } | |
| 17293 # Create a (secure) tmp directory for tmp files. | |
| 17294 | |
| 17295 { | |
| 17296 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 17297 test -d "$tmp" | |
| 17298 } || | |
| 17299 { | |
| 17300 tmp=./conf$$-$RANDOM | |
| 17301 (umask 077 && mkdir "$tmp") | |
| 17302 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
| 17303 ac_tmp=$tmp | |
| 17304 | |
| 17305 # Set up the scripts for CONFIG_FILES section. | |
| 17306 # No need to generate them if there are no CONFIG_FILES. | |
| 17307 # This happens for instance with `./config.status config.h'. | |
| 17308 if test -n "$CONFIG_FILES"; then | |
| 17309 | |
| 17310 | |
| 17311 ac_cr=`echo X | tr X '\015'` | |
| 17312 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
| 17313 # But we know of no other shell where ac_cr would be empty at this | |
| 17314 # point, so we can use a bashism as a fallback. | |
| 17315 if test "x$ac_cr" = x; then | |
| 17316 eval ac_cr=\$\'\\r\' | |
| 17317 fi | |
| 17318 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
| 17319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
| 17320 ac_cs_awk_cr='\\r' | |
| 17321 else | |
| 17322 ac_cs_awk_cr=$ac_cr | |
| 17323 fi | |
| 17324 | |
| 17325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
| 17326 _ACEOF | |
| 17327 | |
| 17328 | |
| 17329 { | |
| 17330 echo "cat >conf$$subs.awk <<_ACEOF" && | |
| 17331 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
| 17332 echo "_ACEOF" | |
| 17333 } >conf$$subs.sh || | |
| 17334 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 17335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
| 17336 ac_delim='%!_!# ' | |
| 17337 for ac_last_try in false false false false false :; do | |
| 17338 . ./conf$$subs.sh || | |
| 17339 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 17340 | |
| 17341 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 17342 if test $ac_delim_n = $ac_delim_num; then | |
| 17343 break | |
| 17344 elif $ac_last_try; then | |
| 17345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 17346 else | |
| 17347 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 17348 fi | |
| 17349 done | |
| 17350 rm -f conf$$subs.sh | |
| 17351 | |
| 17352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 17353 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
| 17354 _ACEOF | |
| 17355 sed -n ' | |
| 17356 h | |
| 17357 s/^/S["/; s/!.*/"]=/ | |
| 17358 p | |
| 17359 g | |
| 17360 s/^[^!]*!// | |
| 17361 :repl | |
| 17362 t repl | |
| 17363 s/'"$ac_delim"'$// | |
| 17364 t delim | |
| 17365 :nl | |
| 17366 h | |
| 17367 s/\(.\{148\}\)..*/\1/ | |
| 17368 t more1 | |
| 17369 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 17370 p | |
| 17371 n | |
| 17372 b repl | |
| 17373 :more1 | |
| 17374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 17375 p | |
| 17376 g | |
| 17377 s/.\{148\}// | |
| 17378 t nl | |
| 17379 :delim | |
| 17380 h | |
| 17381 s/\(.\{148\}\)..*/\1/ | |
| 17382 t more2 | |
| 17383 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 17384 p | |
| 17385 b | |
| 17386 :more2 | |
| 17387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 17388 p | |
| 17389 g | |
| 17390 s/.\{148\}// | |
| 17391 t delim | |
| 17392 ' <conf$$subs.awk | sed ' | |
| 17393 /^[^""]/{ | |
| 17394 N | |
| 17395 s/\n// | |
| 17396 } | |
| 17397 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 17398 rm -f conf$$subs.awk | |
| 17399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 17400 _ACAWK | |
| 17401 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
| 17402 for (key in S) S_is_set[key] = 1 | |
| 17403 FS = "" | |
| 17404 | |
| 17405 } | |
| 17406 { | |
| 17407 line = $ 0 | |
| 17408 nfields = split(line, field, "@") | |
| 17409 substed = 0 | |
| 17410 len = length(field[1]) | |
| 17411 for (i = 2; i < nfields; i++) { | |
| 17412 key = field[i] | |
| 17413 keylen = length(key) | |
| 17414 if (S_is_set[key]) { | |
| 17415 value = S[key] | |
| 17416 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 17417 len += length(value) + length(field[++i]) | |
| 17418 substed = 1 | |
| 17419 } else | |
| 17420 len += 1 + keylen | |
| 17421 } | |
| 17422 | |
| 17423 print line | |
| 17424 } | |
| 17425 | |
| 17426 _ACAWK | |
| 17427 _ACEOF | |
| 17428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 17429 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 17430 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 17431 else | |
| 17432 cat | |
| 17433 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
| 17434 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 17435 _ACEOF | |
| 17436 | |
| 17437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 17438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 17439 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 17440 # (actually we leave an empty line to preserve line numbers). | |
| 17441 if test "x$srcdir" = x.; then | |
| 17442 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 17443 h | |
| 17444 s/// | |
| 17445 s/^/:/ | |
| 17446 s/[ ]*$/:/ | |
| 17447 s/:\$(srcdir):/:/g | |
| 17448 s/:\${srcdir}:/:/g | |
| 17449 s/:@srcdir@:/:/g | |
| 17450 s/^:*// | |
| 17451 s/:*$// | |
| 17452 x | |
| 17453 s/\(=[ ]*\).*/\1/ | |
| 17454 G | |
| 17455 s/\n// | |
| 17456 s/^[^=]*=[ ]*$// | |
| 17457 }' | |
| 17458 fi | |
| 17459 | |
| 17460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 17461 fi # test -n "$CONFIG_FILES" | |
| 17462 | |
| 17463 | |
| 17464 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" | |
| 17465 shift | |
| 17466 for ac_tag | |
| 17467 do | |
| 17468 case $ac_tag in | |
| 17469 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 17470 esac | |
| 17471 case $ac_mode$ac_tag in | |
| 17472 :[FHL]*:*);; | |
| 17473 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
| 17474 :[FH]-) ac_tag=-:-;; | |
| 17475 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 17476 esac | |
| 17477 ac_save_IFS=$IFS | |
| 17478 IFS=: | |
| 17479 set x $ac_tag | |
| 17480 IFS=$ac_save_IFS | |
| 17481 shift | |
| 17482 ac_file=$1 | |
| 17483 shift | |
| 17484 | |
| 17485 case $ac_mode in | |
| 17486 :L) ac_source=$1;; | |
| 17487 :[FH]) | |
| 17488 ac_file_inputs= | |
| 17489 for ac_f | |
| 17490 do | |
| 17491 case $ac_f in | |
| 17492 -) ac_f="$ac_tmp/stdin";; | |
| 17493 *) # Look for the file first in the build tree, then in the source tree | |
| 17494 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
| 17495 # because $ac_f cannot contain `:'. | |
| 17496 test -f "$ac_f" || | |
| 17497 case $ac_f in | |
| 17498 [\\/$]*) false;; | |
| 17499 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 17500 esac || | |
| 17501 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
| 17502 esac | |
| 17503 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
| 17504 as_fn_append ac_file_inputs " '$ac_f'" | |
| 17505 done | |
| 17506 | |
| 17507 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 17508 # use $as_me), people would be surprised to read: | |
| 17509 # /* config.h. Generated by config.status. */ | |
| 17510 configure_input='Generated from '` | |
| 17511 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 17512 `' by configure.' | |
| 17513 if test x"$ac_file" != x-; then | |
| 17514 configure_input="$ac_file. $configure_input" | |
| 17515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 17516 $as_echo "$as_me: creating $ac_file" >&6;} | |
| 17517 fi | |
| 17518 # Neutralize special characters interpreted by sed in replacement strings. | |
| 17519 case $configure_input in #( | |
| 17520 *\&* | *\|* | *\\* ) | |
| 17521 ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 17522 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 17523 *) ac_sed_conf_input=$configure_input;; | |
| 17524 esac | |
| 17525 | |
| 17526 case $ac_tag in | |
| 17527 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
| 17528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 17529 esac | |
| 17530 ;; | |
| 17531 esac | |
| 17532 | |
| 17533 ac_dir=`$as_dirname -- "$ac_file" || | |
| 17534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 17535 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 17536 X"$ac_file" : 'X\(//\)$' \| \ | |
| 17537 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 17538 $as_echo X"$ac_file" | | |
| 17539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 17540 s//\1/ | |
| 17541 q | |
| 17542 } | |
| 17543 /^X\(\/\/\)[^/].*/{ | |
| 17544 s//\1/ | |
| 17545 q | |
| 17546 } | |
| 17547 /^X\(\/\/\)$/{ | |
| 17548 s//\1/ | |
| 17549 q | |
| 17550 } | |
| 17551 /^X\(\/\).*/{ | |
| 17552 s//\1/ | |
| 17553 q | |
| 17554 } | |
| 17555 s/.*/./; q'` | |
| 17556 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 17557 ac_builddir=. | |
| 17558 | |
| 17559 case "$ac_dir" in | |
| 17560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 17561 *) | |
| 17562 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 17563 # A ".." for each directory in $ac_dir_suffix. | |
| 17564 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 17565 case $ac_top_builddir_sub in | |
| 17566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 17567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 17568 esac ;; | |
| 17569 esac | |
| 17570 ac_abs_top_builddir=$ac_pwd | |
| 17571 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 17572 # for backward compatibility: | |
| 17573 ac_top_builddir=$ac_top_build_prefix | |
| 17574 | |
| 17575 case $srcdir in | |
| 17576 .) # We are building in place. | |
| 17577 ac_srcdir=. | |
| 17578 ac_top_srcdir=$ac_top_builddir_sub | |
| 17579 ac_abs_top_srcdir=$ac_pwd ;; | |
| 17580 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 17581 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 17582 ac_top_srcdir=$srcdir | |
| 17583 ac_abs_top_srcdir=$srcdir ;; | |
| 17584 *) # Relative name. | |
| 17585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 17586 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 17587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 17588 esac | |
| 17589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 17590 | |
| 17591 | |
| 17592 case $ac_mode in | |
| 17593 :F) | |
| 17594 # | |
| 17595 # CONFIG_FILE | |
| 17596 # | |
| 17597 | |
| 17598 case $INSTALL in | |
| 17599 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
| 17600 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
| 17601 esac | |
| 17602 _ACEOF | |
| 17603 | |
| 17604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 17605 # If the template does not know about datarootdir, expand it. | |
| 17606 # FIXME: This hack should be removed a few years after 2.60. | |
| 17607 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 17608 ac_sed_dataroot=' | |
| 17609 /datarootdir/ { | |
| 17610 p | |
| 17611 q | |
| 17612 } | |
| 17613 /@datadir@/p | |
| 17614 /@docdir@/p | |
| 17615 /@infodir@/p | |
| 17616 /@localedir@/p | |
| 17617 /@mandir@/p' | |
| 17618 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 17619 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 17620 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 17621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
| 17622 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
| 17623 _ACEOF | |
| 17624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 17625 ac_datarootdir_hack=' | |
| 17626 s&@datadir@&$datadir&g | |
| 17627 s&@docdir@&$docdir&g | |
| 17628 s&@infodir@&$infodir&g | |
| 17629 s&@localedir@&$localedir&g | |
| 17630 s&@mandir@&$mandir&g | |
| 17631 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 17632 esac | |
| 17633 _ACEOF | |
| 17634 | |
| 17635 # Neutralize VPATH when `$srcdir' = `.'. | |
| 17636 # Shell code in configure.ac might set extrasub. | |
| 17637 # FIXME: do we really want to maintain this feature? | |
| 17638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 17639 ac_sed_extra="$ac_vpsub | |
| 17640 $extrasub | |
| 17641 _ACEOF | |
| 17642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 17643 :t | |
| 17644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 17645 s|@configure_input@|$ac_sed_conf_input|;t t | |
| 17646 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 17647 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 17648 s&@srcdir@&$ac_srcdir&;t t | |
| 17649 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 17650 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 17651 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 17652 s&@builddir@&$ac_builddir&;t t | |
| 17653 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 17654 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 17655 s&@INSTALL@&$ac_INSTALL&;t t | |
| 17656 $ac_datarootdir_hack | |
| 17657 " | |
| 17658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
| 17659 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 17660 | |
| 17661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 17662 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
| 17663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
| 17664 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
| 17665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 17666 which seems to be undefined. Please make sure it is defined" >&5 | |
| 17667 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 17668 which seems to be undefined. Please make sure it is defined" >&2;} | |
| 17669 | |
| 17670 rm -f "$ac_tmp/stdin" | |
| 17671 case $ac_file in | |
| 17672 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
| 17673 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
| 17674 esac \ | |
| 17675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 17676 ;; | |
| 17677 | |
| 17678 | |
| 17679 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
| 17680 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
| 17681 ;; | |
| 17682 esac | |
| 17683 | |
| 17684 | |
| 17685 case $ac_file$ac_mode in | |
| 17686 "libtool":C) | |
| 17687 | |
| 17688 # See if we are running on zsh, and set the options which allow our | |
| 17689 # commands through without removal of \ escapes. | |
| 17690 if test -n "${ZSH_VERSION+set}" ; then | |
| 17691 setopt NO_GLOB_SUBST | |
| 17692 fi | |
| 17693 | |
| 17694 cfgfile="${ofile}T" | |
| 17695 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | |
| 17696 $RM "$cfgfile" | |
| 17697 | |
| 17698 cat <<_LT_EOF >> "$cfgfile" | |
| 17699 #! $SHELL | |
| 17700 | |
| 17701 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | |
| 17702 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | |
| 17703 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |
| 17704 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | |
| 17705 # | |
| 17706 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | |
| 17707 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | |
| 17708 # Inc. | |
| 17709 # Written by Gordon Matzigkeit, 1996 | |
| 17710 # | |
| 17711 # This file is part of GNU Libtool. | |
| 17712 # | |
| 17713 # GNU Libtool is free software; you can redistribute it and/or | |
| 17714 # modify it under the terms of the GNU General Public License as | |
| 17715 # published by the Free Software Foundation; either version 2 of | |
| 17716 # the License, or (at your option) any later version. | |
| 17717 # | |
| 17718 # As a special exception to the GNU General Public License, | |
| 17719 # if you distribute this file as part of a program or library that | |
| 17720 # is built using GNU Libtool, you may include this file under the | |
| 17721 # same distribution terms that you use for the rest of that program. | |
| 17722 # | |
| 17723 # GNU Libtool is distributed in the hope that it will be useful, | |
| 17724 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17725 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17726 # GNU General Public License for more details. | |
| 17727 # | |
| 17728 # You should have received a copy of the GNU General Public License | |
| 17729 # along with GNU Libtool; see the file COPYING. If not, a copy | |
| 17730 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | |
| 17731 # obtained by writing to the Free Software Foundation, Inc., | |
| 17732 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 17733 | |
| 17734 | |
| 17735 # The names of the tagged configurations supported by this script. | |
| 17736 available_tags="CXX " | |
| 17737 | |
| 17738 # ### BEGIN LIBTOOL CONFIG | |
| 17739 | |
| 17740 # Assembler program. | |
| 17741 AS=$lt_AS | |
| 17742 | |
| 17743 # DLL creation program. | |
| 17744 DLLTOOL=$lt_DLLTOOL | |
| 17745 | |
| 17746 # Object dumper program. | |
| 17747 OBJDUMP=$lt_OBJDUMP | |
| 17748 | |
| 17749 # Which release of libtool.m4 was used? | |
| 17750 macro_version=$macro_version | |
| 17751 macro_revision=$macro_revision | |
| 17752 | |
| 17753 # Whether or not to build shared libraries. | |
| 17754 build_libtool_libs=$enable_shared | |
| 17755 | |
| 17756 # Whether or not to build static libraries. | |
| 17757 build_old_libs=$enable_static | |
| 17758 | |
| 17759 # What type of objects to build. | |
| 17760 pic_mode=$pic_mode | |
| 17761 | |
| 17762 # Whether or not to optimize for fast installation. | |
| 17763 fast_install=$enable_fast_install | |
| 17764 | |
| 17765 # Shell to use when invoking shell scripts. | |
| 17766 SHELL=$lt_SHELL | |
| 17767 | |
| 17768 # An echo program that protects backslashes. | |
| 17769 ECHO=$lt_ECHO | |
| 17770 | |
| 17771 # The host system. | |
| 17772 host_alias=$host_alias | |
| 17773 host=$host | |
| 17774 host_os=$host_os | |
| 17775 | |
| 17776 # The build system. | |
| 17777 build_alias=$build_alias | |
| 17778 build=$build | |
| 17779 build_os=$build_os | |
| 17780 | |
| 17781 # A sed program that does not truncate output. | |
| 17782 SED=$lt_SED | |
| 17783 | |
| 17784 # Sed that helps us avoid accidentally triggering echo(1) options like -n. | |
| 17785 Xsed="\$SED -e 1s/^X//" | |
| 17786 | |
| 17787 # A grep program that handles long lines. | |
| 17788 GREP=$lt_GREP | |
| 17789 | |
| 17790 # An ERE matcher. | |
| 17791 EGREP=$lt_EGREP | |
| 17792 | |
| 17793 # A literal string matcher. | |
| 17794 FGREP=$lt_FGREP | |
| 17795 | |
| 17796 # A BSD- or MS-compatible name lister. | |
| 17797 NM=$lt_NM | |
| 17798 | |
| 17799 # Whether we need soft or hard links. | |
| 17800 LN_S=$lt_LN_S | |
| 17801 | |
| 17802 # What is the maximum length of a command? | |
| 17803 max_cmd_len=$max_cmd_len | |
| 17804 | |
| 17805 # Object file suffix (normally "o"). | |
| 17806 objext=$ac_objext | |
| 17807 | |
| 17808 # Executable file suffix (normally ""). | |
| 17809 exeext=$exeext | |
| 17810 | |
| 17811 # whether the shell understands "unset". | |
| 17812 lt_unset=$lt_unset | |
| 17813 | |
| 17814 # turn spaces into newlines. | |
| 17815 SP2NL=$lt_lt_SP2NL | |
| 17816 | |
| 17817 # turn newlines into spaces. | |
| 17818 NL2SP=$lt_lt_NL2SP | |
| 17819 | |
| 17820 # convert \$build file names to \$host format. | |
| 17821 to_host_file_cmd=$lt_cv_to_host_file_cmd | |
| 17822 | |
| 17823 # convert \$build files to toolchain format. | |
| 17824 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | |
| 17825 | |
| 17826 # Method to check whether dependent libraries are shared objects. | |
| 17827 deplibs_check_method=$lt_deplibs_check_method | |
| 17828 | |
| 17829 # Command to use when deplibs_check_method = "file_magic". | |
| 17830 file_magic_cmd=$lt_file_magic_cmd | |
| 17831 | |
| 17832 # How to find potential files when deplibs_check_method = "file_magic". | |
| 17833 file_magic_glob=$lt_file_magic_glob | |
| 17834 | |
| 17835 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". | |
| 17836 want_nocaseglob=$lt_want_nocaseglob | |
| 17837 | |
| 17838 # Command to associate shared and link libraries. | |
| 17839 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd | |
| 17840 | |
| 17841 # The archiver. | |
| 17842 AR=$lt_AR | |
| 17843 | |
| 17844 # Flags to create an archive. | |
| 17845 AR_FLAGS=$lt_AR_FLAGS | |
| 17846 | |
| 17847 # How to feed a file listing to the archiver. | |
| 17848 archiver_list_spec=$lt_archiver_list_spec | |
| 17849 | |
| 17850 # A symbol stripping program. | |
| 17851 STRIP=$lt_STRIP | |
| 17852 | |
| 17853 # Commands used to install an old-style archive. | |
| 17854 RANLIB=$lt_RANLIB | |
| 17855 old_postinstall_cmds=$lt_old_postinstall_cmds | |
| 17856 old_postuninstall_cmds=$lt_old_postuninstall_cmds | |
| 17857 | |
| 17858 # Whether to use a lock for old archive extraction. | |
| 17859 lock_old_archive_extraction=$lock_old_archive_extraction | |
| 17860 | |
| 17861 # A C compiler. | |
| 17862 LTCC=$lt_CC | |
| 17863 | |
| 17864 # LTCC compiler flags. | |
| 17865 LTCFLAGS=$lt_CFLAGS | |
| 17866 | |
| 17867 # Take the output of nm and produce a listing of raw symbols and C names. | |
| 17868 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | |
| 17869 | |
| 17870 # Transform the output of nm in a proper C declaration. | |
| 17871 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | |
| 17872 | |
| 17873 # Transform the output of nm in a C name address pair. | |
| 17874 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | |
| 17875 | |
| 17876 # Transform the output of nm in a C name address pair when lib prefix is needed. | |
| 17877 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix | |
| 17878 | |
| 17879 # Specify filename containing input files for \$NM. | |
| 17880 nm_file_list_spec=$lt_nm_file_list_spec | |
| 17881 | |
| 17882 # The root where to search for dependent libraries,and in which our libraries should be installed. | |
| 17883 lt_sysroot=$lt_sysroot | |
| 17884 | |
| 17885 # The name of the directory that contains temporary libtool files. | |
| 17886 objdir=$objdir | |
| 17887 | |
| 17888 # Used to examine libraries when file_magic_cmd begins with "file". | |
| 17889 MAGIC_CMD=$MAGIC_CMD | |
| 17890 | |
| 17891 # Must we lock files when doing compilation? | |
| 17892 need_locks=$lt_need_locks | |
| 17893 | |
| 17894 # Manifest tool. | |
| 17895 MANIFEST_TOOL=$lt_MANIFEST_TOOL | |
| 17896 | |
| 17897 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. | |
| 17898 DSYMUTIL=$lt_DSYMUTIL | |
| 17899 | |
| 17900 # Tool to change global to local symbols on Mac OS X. | |
| 17901 NMEDIT=$lt_NMEDIT | |
| 17902 | |
| 17903 # Tool to manipulate fat objects and archives on Mac OS X. | |
| 17904 LIPO=$lt_LIPO | |
| 17905 | |
| 17906 # ldd/readelf like tool for Mach-O binaries on Mac OS X. | |
| 17907 OTOOL=$lt_OTOOL | |
| 17908 | |
| 17909 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. | |
| 17910 OTOOL64=$lt_OTOOL64 | |
| 17911 | |
| 17912 # Old archive suffix (normally "a"). | |
| 17913 libext=$libext | |
| 17914 | |
| 17915 # Shared library suffix (normally ".so"). | |
| 17916 shrext_cmds=$lt_shrext_cmds | |
| 17917 | |
| 17918 # The commands to extract the exported symbol list from a shared archive. | |
| 17919 extract_expsyms_cmds=$lt_extract_expsyms_cmds | |
| 17920 | |
| 17921 # Variables whose values should be saved in libtool wrapper scripts and | |
| 17922 # restored at link time. | |
| 17923 variables_saved_for_relink=$lt_variables_saved_for_relink | |
| 17924 | |
| 17925 # Do we need the "lib" prefix for modules? | |
| 17926 need_lib_prefix=$need_lib_prefix | |
| 17927 | |
| 17928 # Do we need a version for libraries? | |
| 17929 need_version=$need_version | |
| 17930 | |
| 17931 # Library versioning type. | |
| 17932 version_type=$version_type | |
| 17933 | |
| 17934 # Shared library runtime path variable. | |
| 17935 runpath_var=$runpath_var | |
| 17936 | |
| 17937 # Shared library path variable. | |
| 17938 shlibpath_var=$shlibpath_var | |
| 17939 | |
| 17940 # Is shlibpath searched before the hard-coded library search path? | |
| 17941 shlibpath_overrides_runpath=$shlibpath_overrides_runpath | |
| 17942 | |
| 17943 # Format of library name prefix. | |
| 17944 libname_spec=$lt_libname_spec | |
| 17945 | |
| 17946 # List of archive names. First name is the real one, the rest are links. | |
| 17947 # The last name is the one that the linker finds with -lNAME | |
| 17948 library_names_spec=$lt_library_names_spec | |
| 17949 | |
| 17950 # The coded name of the library, if different from the real name. | |
| 17951 soname_spec=$lt_soname_spec | |
| 17952 | |
| 17953 # Permission mode override for installation of shared libraries. | |
| 17954 install_override_mode=$lt_install_override_mode | |
| 17955 | |
| 17956 # Command to use after installation of a shared archive. | |
| 17957 postinstall_cmds=$lt_postinstall_cmds | |
| 17958 | |
| 17959 # Command to use after uninstallation of a shared archive. | |
| 17960 postuninstall_cmds=$lt_postuninstall_cmds | |
| 17961 | |
| 17962 # Commands used to finish a libtool library installation in a directory. | |
| 17963 finish_cmds=$lt_finish_cmds | |
| 17964 | |
| 17965 # As "finish_cmds", except a single script fragment to be evaled but | |
| 17966 # not shown. | |
| 17967 finish_eval=$lt_finish_eval | |
| 17968 | |
| 17969 # Whether we should hardcode library paths into libraries. | |
| 17970 hardcode_into_libs=$hardcode_into_libs | |
| 17971 | |
| 17972 # Compile-time system search path for libraries. | |
| 17973 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | |
| 17974 | |
| 17975 # Run-time system search path for libraries. | |
| 17976 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | |
| 17977 | |
| 17978 # Whether dlopen is supported. | |
| 17979 dlopen_support=$enable_dlopen | |
| 17980 | |
| 17981 # Whether dlopen of programs is supported. | |
| 17982 dlopen_self=$enable_dlopen_self | |
| 17983 | |
| 17984 # Whether dlopen of statically linked programs is supported. | |
| 17985 dlopen_self_static=$enable_dlopen_self_static | |
| 17986 | |
| 17987 # Commands to strip libraries. | |
| 17988 old_striplib=$lt_old_striplib | |
| 17989 striplib=$lt_striplib | |
| 17990 | |
| 17991 | |
| 17992 # The linker used to build libraries. | |
| 17993 LD=$lt_LD | |
| 17994 | |
| 17995 # How to create reloadable object files. | |
| 17996 reload_flag=$lt_reload_flag | |
| 17997 reload_cmds=$lt_reload_cmds | |
| 17998 | |
| 17999 # Commands used to build an old-style archive. | |
| 18000 old_archive_cmds=$lt_old_archive_cmds | |
| 18001 | |
| 18002 # A language specific compiler. | |
| 18003 CC=$lt_compiler | |
| 18004 | |
| 18005 # Is the compiler the GNU compiler? | |
| 18006 with_gcc=$GCC | |
| 18007 | |
| 18008 # Compiler flag to turn off builtin functions. | |
| 18009 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | |
| 18010 | |
| 18011 # Additional compiler flags for building library objects. | |
| 18012 pic_flag=$lt_lt_prog_compiler_pic | |
| 18013 | |
| 18014 # How to pass a linker flag through the compiler. | |
| 18015 wl=$lt_lt_prog_compiler_wl | |
| 18016 | |
| 18017 # Compiler flag to prevent dynamic linking. | |
| 18018 link_static_flag=$lt_lt_prog_compiler_static | |
| 18019 | |
| 18020 # Does compiler simultaneously support -c and -o options? | |
| 18021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o | |
| 18022 | |
| 18023 # Whether or not to add -lc for building shared libraries. | |
| 18024 build_libtool_need_lc=$archive_cmds_need_lc | |
| 18025 | |
| 18026 # Whether or not to disallow shared libs when runtime libs are static. | |
| 18027 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | |
| 18028 | |
| 18029 # Compiler flag to allow reflexive dlopens. | |
| 18030 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | |
| 18031 | |
| 18032 # Compiler flag to generate shared objects directly from archives. | |
| 18033 whole_archive_flag_spec=$lt_whole_archive_flag_spec | |
| 18034 | |
| 18035 # Whether the compiler copes with passing no objects directly. | |
| 18036 compiler_needs_object=$lt_compiler_needs_object | |
| 18037 | |
| 18038 # Create an old-style archive from a shared archive. | |
| 18039 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | |
| 18040 | |
| 18041 # Create a temporary old-style archive to link instead of a shared archive. | |
| 18042 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | |
| 18043 | |
| 18044 # Commands used to build a shared archive. | |
| 18045 archive_cmds=$lt_archive_cmds | |
| 18046 archive_expsym_cmds=$lt_archive_expsym_cmds | |
| 18047 | |
| 18048 # Commands used to build a loadable module if different from building | |
| 18049 # a shared archive. | |
| 18050 module_cmds=$lt_module_cmds | |
| 18051 module_expsym_cmds=$lt_module_expsym_cmds | |
| 18052 | |
| 18053 # Whether we are building with GNU ld or not. | |
| 18054 with_gnu_ld=$lt_with_gnu_ld | |
| 18055 | |
| 18056 # Flag that allows shared libraries with undefined symbols to be built. | |
| 18057 allow_undefined_flag=$lt_allow_undefined_flag | |
| 18058 | |
| 18059 # Flag that enforces no undefined symbols. | |
| 18060 no_undefined_flag=$lt_no_undefined_flag | |
| 18061 | |
| 18062 # Flag to hardcode \$libdir into a binary during linking. | |
| 18063 # This must work even if \$libdir does not exist | |
| 18064 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | |
| 18065 | |
| 18066 # If ld is used when linking, flag to hardcode \$libdir into a binary | |
| 18067 # during linking. This must work even if \$libdir does not exist. | |
| 18068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | |
| 18069 | |
| 18070 # Whether we need a single "-rpath" flag with a separated argument. | |
| 18071 hardcode_libdir_separator=$lt_hardcode_libdir_separator | |
| 18072 | |
| 18073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 18074 # DIR into the resulting binary. | |
| 18075 hardcode_direct=$hardcode_direct | |
| 18076 | |
| 18077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 18078 # DIR into the resulting binary and the resulting library dependency is | |
| 18079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | |
| 18080 # library is relocated. | |
| 18081 hardcode_direct_absolute=$hardcode_direct_absolute | |
| 18082 | |
| 18083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | |
| 18084 # into the resulting binary. | |
| 18085 hardcode_minus_L=$hardcode_minus_L | |
| 18086 | |
| 18087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | |
| 18088 # into the resulting binary. | |
| 18089 hardcode_shlibpath_var=$hardcode_shlibpath_var | |
| 18090 | |
| 18091 # Set to "yes" if building a shared library automatically hardcodes DIR | |
| 18092 # into the library and all subsequent libraries and executables linked | |
| 18093 # against it. | |
| 18094 hardcode_automatic=$hardcode_automatic | |
| 18095 | |
| 18096 # Set to yes if linker adds runtime paths of dependent libraries | |
| 18097 # to runtime path list. | |
| 18098 inherit_rpath=$inherit_rpath | |
| 18099 | |
| 18100 # Whether libtool must link a program against all its dependency libraries. | |
| 18101 link_all_deplibs=$link_all_deplibs | |
| 18102 | |
| 18103 # Set to "yes" if exported symbols are required. | |
| 18104 always_export_symbols=$always_export_symbols | |
| 18105 | |
| 18106 # The commands to list exported symbols. | |
| 18107 export_symbols_cmds=$lt_export_symbols_cmds | |
| 18108 | |
| 18109 # Symbols that should not be listed in the preloaded symbols. | |
| 18110 exclude_expsyms=$lt_exclude_expsyms | |
| 18111 | |
| 18112 # Symbols that must always be exported. | |
| 18113 include_expsyms=$lt_include_expsyms | |
| 18114 | |
| 18115 # Commands necessary for linking programs (against libraries) with templates. | |
| 18116 prelink_cmds=$lt_prelink_cmds | |
| 18117 | |
| 18118 # Commands necessary for finishing linking programs. | |
| 18119 postlink_cmds=$lt_postlink_cmds | |
| 18120 | |
| 18121 # Specify filename containing input files. | |
| 18122 file_list_spec=$lt_file_list_spec | |
| 18123 | |
| 18124 # How to hardcode a shared library path into an executable. | |
| 18125 hardcode_action=$hardcode_action | |
| 18126 | |
| 18127 # The directories searched by this compiler when creating a shared library. | |
| 18128 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs | |
| 18129 | |
| 18130 # Dependencies to place before and after the objects being linked to | |
| 18131 # create a shared library. | |
| 18132 predep_objects=$lt_predep_objects | |
| 18133 postdep_objects=$lt_postdep_objects | |
| 18134 predeps=$lt_predeps | |
| 18135 postdeps=$lt_postdeps | |
| 18136 | |
| 18137 # The library search path used internally by the compiler when linking | |
| 18138 # a shared library. | |
| 18139 compiler_lib_search_path=$lt_compiler_lib_search_path | |
| 18140 | |
| 18141 # ### END LIBTOOL CONFIG | |
| 18142 | |
| 18143 _LT_EOF | |
| 18144 | |
| 18145 case $host_os in | |
| 18146 aix3*) | |
| 18147 cat <<\_LT_EOF >> "$cfgfile" | |
| 18148 # AIX sometimes has problems with the GCC collect2 program. For some | |
| 18149 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
| 18150 # vanish in a puff of smoke. | |
| 18151 if test "X${COLLECT_NAMES+set}" != Xset; then | |
| 18152 COLLECT_NAMES= | |
| 18153 export COLLECT_NAMES | |
| 18154 fi | |
| 18155 _LT_EOF | |
| 18156 ;; | |
| 18157 esac | |
| 18158 | |
| 18159 | |
| 18160 ltmain="$ac_aux_dir/ltmain.sh" | |
| 18161 | |
| 18162 | |
| 18163 # We use sed instead of cat because bash on DJGPP gets confused if | |
| 18164 # if finds mixed CR/LF and LF-only lines. Since sed operates in | |
| 18165 # text mode, it properly converts lines to CR/LF. This bash problem | |
| 18166 # is reportedly fixed, but why not run on old versions too? | |
| 18167 sed '$q' "$ltmain" >> "$cfgfile" \ | |
| 18168 || (rm -f "$cfgfile"; exit 1) | |
| 18169 | |
| 18170 if test x"$xsi_shell" = xyes; then | |
| 18171 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ | |
| 18172 func_dirname ()\ | |
| 18173 {\ | |
| 18174 \ case ${1} in\ | |
| 18175 \ */*) func_dirname_result="${1%/*}${2}" ;;\ | |
| 18176 \ * ) func_dirname_result="${3}" ;;\ | |
| 18177 \ esac\ | |
| 18178 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18179 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18181 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18182 | |
| 18183 | |
| 18184 sed -e '/^func_basename ()$/,/^} # func_basename /c\ | |
| 18185 func_basename ()\ | |
| 18186 {\ | |
| 18187 \ func_basename_result="${1##*/}"\ | |
| 18188 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18189 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18190 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18191 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18192 | |
| 18193 | |
| 18194 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ | |
| 18195 func_dirname_and_basename ()\ | |
| 18196 {\ | |
| 18197 \ case ${1} in\ | |
| 18198 \ */*) func_dirname_result="${1%/*}${2}" ;;\ | |
| 18199 \ * ) func_dirname_result="${3}" ;;\ | |
| 18200 \ esac\ | |
| 18201 \ func_basename_result="${1##*/}"\ | |
| 18202 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18203 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18204 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18205 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18206 | |
| 18207 | |
| 18208 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ | |
| 18209 func_stripname ()\ | |
| 18210 {\ | |
| 18211 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ | |
| 18212 \ # positional parameters, so assign one to ordinary parameter first.\ | |
| 18213 \ func_stripname_result=${3}\ | |
| 18214 \ func_stripname_result=${func_stripname_result#"${1}"}\ | |
| 18215 \ func_stripname_result=${func_stripname_result%"${2}"}\ | |
| 18216 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18217 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18218 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18219 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18220 | |
| 18221 | |
| 18222 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ | |
| 18223 func_split_long_opt ()\ | |
| 18224 {\ | |
| 18225 \ func_split_long_opt_name=${1%%=*}\ | |
| 18226 \ func_split_long_opt_arg=${1#*=}\ | |
| 18227 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18228 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18230 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18231 | |
| 18232 | |
| 18233 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ | |
| 18234 func_split_short_opt ()\ | |
| 18235 {\ | |
| 18236 \ func_split_short_opt_arg=${1#??}\ | |
| 18237 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ | |
| 18238 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18239 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18241 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18242 | |
| 18243 | |
| 18244 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ | |
| 18245 func_lo2o ()\ | |
| 18246 {\ | |
| 18247 \ case ${1} in\ | |
| 18248 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ | |
| 18249 \ *) func_lo2o_result=${1} ;;\ | |
| 18250 \ esac\ | |
| 18251 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18252 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18254 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18255 | |
| 18256 | |
| 18257 sed -e '/^func_xform ()$/,/^} # func_xform /c\ | |
| 18258 func_xform ()\ | |
| 18259 {\ | |
| 18260 func_xform_result=${1%.*}.lo\ | |
| 18261 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18262 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18263 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18264 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18265 | |
| 18266 | |
| 18267 sed -e '/^func_arith ()$/,/^} # func_arith /c\ | |
| 18268 func_arith ()\ | |
| 18269 {\ | |
| 18270 func_arith_result=$(( $* ))\ | |
| 18271 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18272 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18273 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18274 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18275 | |
| 18276 | |
| 18277 sed -e '/^func_len ()$/,/^} # func_len /c\ | |
| 18278 func_len ()\ | |
| 18279 {\ | |
| 18280 func_len_result=${#1}\ | |
| 18281 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18282 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18283 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18284 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18285 | |
| 18286 fi | |
| 18287 | |
| 18288 if test x"$lt_shell_append" = xyes; then | |
| 18289 sed -e '/^func_append ()$/,/^} # func_append /c\ | |
| 18290 func_append ()\ | |
| 18291 {\ | |
| 18292 eval "${1}+=\\${2}"\ | |
| 18293 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18294 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18295 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18296 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18297 | |
| 18298 | |
| 18299 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ | |
| 18300 func_append_quoted ()\ | |
| 18301 {\ | |
| 18302 \ func_quote_for_eval "${2}"\ | |
| 18303 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ | |
| 18304 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 18305 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18307 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18308 | |
| 18309 | |
| 18310 # Save a `func_append' function call where possible by direct use of '+=' | |
| 18311 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ | |
| 18312 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18313 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18314 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18315 else | |
| 18316 # Save a `func_append' function call even when '+=' is not available | |
| 18317 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ | |
| 18318 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 18319 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | |
| 18320 test 0 -eq $? || _lt_function_replace_fail=: | |
| 18321 fi | |
| 18322 | |
| 18323 if test x"$_lt_function_replace_fail" = x":"; then | |
| 18324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 | |
| 18325 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} | |
| 18326 fi | |
| 18327 | |
| 18328 | |
| 18329 mv -f "$cfgfile" "$ofile" || | |
| 18330 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | |
| 18331 chmod +x "$ofile" | |
| 18332 | |
| 18333 | |
| 18334 cat <<_LT_EOF >> "$ofile" | |
| 18335 | |
| 18336 # ### BEGIN LIBTOOL TAG CONFIG: CXX | |
| 18337 | |
| 18338 # The linker used to build libraries. | |
| 18339 LD=$lt_LD_CXX | |
| 18340 | |
| 18341 # How to create reloadable object files. | |
| 18342 reload_flag=$lt_reload_flag_CXX | |
| 18343 reload_cmds=$lt_reload_cmds_CXX | |
| 18344 | |
| 18345 # Commands used to build an old-style archive. | |
| 18346 old_archive_cmds=$lt_old_archive_cmds_CXX | |
| 18347 | |
| 18348 # A language specific compiler. | |
| 18349 CC=$lt_compiler_CXX | |
| 18350 | |
| 18351 # Is the compiler the GNU compiler? | |
| 18352 with_gcc=$GCC_CXX | |
| 18353 | |
| 18354 # Compiler flag to turn off builtin functions. | |
| 18355 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX | |
| 18356 | |
| 18357 # Additional compiler flags for building library objects. | |
| 18358 pic_flag=$lt_lt_prog_compiler_pic_CXX | |
| 18359 | |
| 18360 # How to pass a linker flag through the compiler. | |
| 18361 wl=$lt_lt_prog_compiler_wl_CXX | |
| 18362 | |
| 18363 # Compiler flag to prevent dynamic linking. | |
| 18364 link_static_flag=$lt_lt_prog_compiler_static_CXX | |
| 18365 | |
| 18366 # Does compiler simultaneously support -c and -o options? | |
| 18367 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | |
| 18368 | |
| 18369 # Whether or not to add -lc for building shared libraries. | |
| 18370 build_libtool_need_lc=$archive_cmds_need_lc_CXX | |
| 18371 | |
| 18372 # Whether or not to disallow shared libs when runtime libs are static. | |
| 18373 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX | |
| 18374 | |
| 18375 # Compiler flag to allow reflexive dlopens. | |
| 18376 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX | |
| 18377 | |
| 18378 # Compiler flag to generate shared objects directly from archives. | |
| 18379 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX | |
| 18380 | |
| 18381 # Whether the compiler copes with passing no objects directly. | |
| 18382 compiler_needs_object=$lt_compiler_needs_object_CXX | |
| 18383 | |
| 18384 # Create an old-style archive from a shared archive. | |
| 18385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX | |
| 18386 | |
| 18387 # Create a temporary old-style archive to link instead of a shared archive. | |
| 18388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX | |
| 18389 | |
| 18390 # Commands used to build a shared archive. | |
| 18391 archive_cmds=$lt_archive_cmds_CXX | |
| 18392 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX | |
| 18393 | |
| 18394 # Commands used to build a loadable module if different from building | |
| 18395 # a shared archive. | |
| 18396 module_cmds=$lt_module_cmds_CXX | |
| 18397 module_expsym_cmds=$lt_module_expsym_cmds_CXX | |
| 18398 | |
| 18399 # Whether we are building with GNU ld or not. | |
| 18400 with_gnu_ld=$lt_with_gnu_ld_CXX | |
| 18401 | |
| 18402 # Flag that allows shared libraries with undefined symbols to be built. | |
| 18403 allow_undefined_flag=$lt_allow_undefined_flag_CXX | |
| 18404 | |
| 18405 # Flag that enforces no undefined symbols. | |
| 18406 no_undefined_flag=$lt_no_undefined_flag_CXX | |
| 18407 | |
| 18408 # Flag to hardcode \$libdir into a binary during linking. | |
| 18409 # This must work even if \$libdir does not exist | |
| 18410 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX | |
| 18411 | |
| 18412 # If ld is used when linking, flag to hardcode \$libdir into a binary | |
| 18413 # during linking. This must work even if \$libdir does not exist. | |
| 18414 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX | |
| 18415 | |
| 18416 # Whether we need a single "-rpath" flag with a separated argument. | |
| 18417 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX | |
| 18418 | |
| 18419 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 18420 # DIR into the resulting binary. | |
| 18421 hardcode_direct=$hardcode_direct_CXX | |
| 18422 | |
| 18423 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | |
| 18424 # DIR into the resulting binary and the resulting library dependency is | |
| 18425 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | |
| 18426 # library is relocated. | |
| 18427 hardcode_direct_absolute=$hardcode_direct_absolute_CXX | |
| 18428 | |
| 18429 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | |
| 18430 # into the resulting binary. | |
| 18431 hardcode_minus_L=$hardcode_minus_L_CXX | |
| 18432 | |
| 18433 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | |
| 18434 # into the resulting binary. | |
| 18435 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX | |
| 18436 | |
| 18437 # Set to "yes" if building a shared library automatically hardcodes DIR | |
| 18438 # into the library and all subsequent libraries and executables linked | |
| 18439 # against it. | |
| 18440 hardcode_automatic=$hardcode_automatic_CXX | |
| 18441 | |
| 18442 # Set to yes if linker adds runtime paths of dependent libraries | |
| 18443 # to runtime path list. | |
| 18444 inherit_rpath=$inherit_rpath_CXX | |
| 18445 | |
| 18446 # Whether libtool must link a program against all its dependency libraries. | |
| 18447 link_all_deplibs=$link_all_deplibs_CXX | |
| 18448 | |
| 18449 # Set to "yes" if exported symbols are required. | |
| 18450 always_export_symbols=$always_export_symbols_CXX | |
| 18451 | |
| 18452 # The commands to list exported symbols. | |
| 18453 export_symbols_cmds=$lt_export_symbols_cmds_CXX | |
| 18454 | |
| 18455 # Symbols that should not be listed in the preloaded symbols. | |
| 18456 exclude_expsyms=$lt_exclude_expsyms_CXX | |
| 18457 | |
| 18458 # Symbols that must always be exported. | |
| 18459 include_expsyms=$lt_include_expsyms_CXX | |
| 18460 | |
| 18461 # Commands necessary for linking programs (against libraries) with templates. | |
| 18462 prelink_cmds=$lt_prelink_cmds_CXX | |
| 18463 | |
| 18464 # Commands necessary for finishing linking programs. | |
| 18465 postlink_cmds=$lt_postlink_cmds_CXX | |
| 18466 | |
| 18467 # Specify filename containing input files. | |
| 18468 file_list_spec=$lt_file_list_spec_CXX | |
| 18469 | |
| 18470 # How to hardcode a shared library path into an executable. | |
| 18471 hardcode_action=$hardcode_action_CXX | |
| 18472 | |
| 18473 # The directories searched by this compiler when creating a shared library. | |
| 18474 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX | |
| 18475 | |
| 18476 # Dependencies to place before and after the objects being linked to | |
| 18477 # create a shared library. | |
| 18478 predep_objects=$lt_predep_objects_CXX | |
| 18479 postdep_objects=$lt_postdep_objects_CXX | |
| 18480 predeps=$lt_predeps_CXX | |
| 18481 postdeps=$lt_postdeps_CXX | |
| 18482 | |
| 18483 # The library search path used internally by the compiler when linking | |
| 18484 # a shared library. | |
| 18485 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX | |
| 18486 | |
| 18487 # ### END LIBTOOL TAG CONFIG: CXX | |
| 18488 _LT_EOF | |
| 18489 | |
| 18490 ;; | |
| 18491 | |
| 18492 esac | |
| 18493 done # for ac_tag | |
| 18494 | |
| 18495 | |
| 18496 as_fn_exit 0 | |
| 18497 _ACEOF | |
| 18498 ac_clean_files=$ac_clean_files_save | |
| 18499 | |
| 18500 test $ac_write_fail = 0 || | |
| 18501 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
| 18502 | |
| 18503 | |
| 18504 # configure is writing to config.log, and then calls config.status. | |
| 18505 # config.status does its own redirection, appending to config.log. | |
| 18506 # Unfortunately, on DOS this fails, as config.log is still kept open | |
| 18507 # by configure, so config.status won't be able to write to it; its | |
| 18508 # output is simply discarded. So we exec the FD to /dev/null, | |
| 18509 # effectively closing config.log, so it can be properly (re)opened and | |
| 18510 # appended to by config.status. When coming back to configure, we | |
| 18511 # need to make the FD available again. | |
| 18512 if test "$no_create" != yes; then | |
| 18513 ac_cs_success=: | |
| 18514 ac_config_status_args= | |
| 18515 test "$silent" = yes && | |
| 18516 ac_config_status_args="$ac_config_status_args --quiet" | |
| 18517 exec 5>/dev/null | |
| 18518 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 18519 exec 5>>config.log | |
| 18520 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 18521 # would make configure fail if this is the last instruction. | |
| 18522 $ac_cs_success || as_fn_exit 1 | |
| 18523 fi | |
| 18524 | |
| 18525 # | |
| 18526 # CONFIG_SUBDIRS section. | |
| 18527 # | |
| 18528 if test "$no_recursion" != yes; then | |
| 18529 | |
| 18530 # Remove --cache-file, --srcdir, and --disable-option-checking arguments | |
| 18531 # so they do not pile up. | |
| 18532 ac_sub_configure_args= | |
| 18533 ac_prev= | |
| 18534 eval "set x $ac_configure_args" | |
| 18535 shift | |
| 18536 for ac_arg | |
| 18537 do | |
| 18538 if test -n "$ac_prev"; then | |
| 18539 ac_prev= | |
| 18540 continue | |
| 18541 fi | |
| 18542 case $ac_arg in | |
| 18543 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 18544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 18545 ac_prev=cache_file ;; | |
| 18546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 18547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | |
| 18548 | --c=*) | |
| 18549 ;; | |
| 18550 --config-cache | -C) | |
| 18551 ;; | |
| 18552 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 18553 ac_prev=srcdir ;; | |
| 18554 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 18555 ;; | |
| 18556 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 18557 ac_prev=prefix ;; | |
| 18558 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 18559 ;; | |
| 18560 --disable-option-checking) | |
| 18561 ;; | |
| 18562 *) | |
| 18563 case $ac_arg in | |
| 18564 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 18565 esac | |
| 18566 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; | |
| 18567 esac | |
| 18568 done | |
| 18569 | |
| 18570 # Always prepend --prefix to ensure using the same prefix | |
| 18571 # in subdir configurations. | |
| 18572 ac_arg="--prefix=$prefix" | |
| 18573 case $ac_arg in | |
| 18574 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 18575 esac | |
| 18576 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" | |
| 18577 | |
| 18578 # Pass --silent | |
| 18579 if test "$silent" = yes; then | |
| 18580 ac_sub_configure_args="--silent $ac_sub_configure_args" | |
| 18581 fi | |
| 18582 | |
| 18583 # Always prepend --disable-option-checking to silence warnings, since | |
| 18584 # different subdirs can have different --enable and --with options. | |
| 18585 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" | |
| 18586 | |
| 18587 ac_popdir=`pwd` | |
| 18588 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | |
| 18589 | |
| 18590 # Do not complain, so a configure script can configure whichever | |
| 18591 # parts of a large source tree are present. | |
| 18592 test -d "$srcdir/$ac_dir" || continue | |
| 18593 | |
| 18594 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" | |
| 18595 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 | |
| 18596 $as_echo "$ac_msg" >&6 | |
| 18597 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 18598 ac_builddir=. | |
| 18599 | |
| 18600 case "$ac_dir" in | |
| 18601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 18602 *) | |
| 18603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 18604 # A ".." for each directory in $ac_dir_suffix. | |
| 18605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 18606 case $ac_top_builddir_sub in | |
| 18607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 18608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 18609 esac ;; | |
| 18610 esac | |
| 18611 ac_abs_top_builddir=$ac_pwd | |
| 18612 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 18613 # for backward compatibility: | |
| 18614 ac_top_builddir=$ac_top_build_prefix | |
| 18615 | |
| 18616 case $srcdir in | |
| 18617 .) # We are building in place. | |
| 18618 ac_srcdir=. | |
| 18619 ac_top_srcdir=$ac_top_builddir_sub | |
| 18620 ac_abs_top_srcdir=$ac_pwd ;; | |
| 18621 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 18622 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 18623 ac_top_srcdir=$srcdir | |
| 18624 ac_abs_top_srcdir=$srcdir ;; | |
| 18625 *) # Relative name. | |
| 18626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 18627 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 18628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 18629 esac | |
| 18630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 18631 | |
| 18632 | |
| 18633 cd "$ac_dir" | |
| 18634 | |
| 18635 # Check for guested configure; otherwise get Cygnus style configure. | |
| 18636 if test -f "$ac_srcdir/configure.gnu"; then | |
| 18637 ac_sub_configure=$ac_srcdir/configure.gnu | |
| 18638 elif test -f "$ac_srcdir/configure"; then | |
| 18639 ac_sub_configure=$ac_srcdir/configure | |
| 18640 elif test -f "$ac_srcdir/configure.in"; then | |
| 18641 # This should be Cygnus configure. | |
| 18642 ac_sub_configure=$ac_aux_dir/configure | |
| 18643 else | |
| 18644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 | |
| 18645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | |
| 18646 ac_sub_configure= | |
| 18647 fi | |
| 18648 | |
| 18649 # The recursion is here. | |
| 18650 if test -n "$ac_sub_configure"; then | |
| 18651 # Make the cache file name correct relative to the subdirectory. | |
| 18652 case $cache_file in | |
| 18653 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | |
| 18654 *) # Relative name. | |
| 18655 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; | |
| 18656 esac | |
| 18657 | |
| 18658 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | |
| 18659 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | |
| 18660 # The eval makes quoting arguments work. | |
| 18661 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ | |
| 18662 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | |
| 18663 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 | |
| 18664 fi | |
| 18665 | |
| 18666 cd "$ac_popdir" | |
| 18667 done | |
| 18668 fi | |
| 18669 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
| 18670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
| 18671 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
| 18672 fi | |
| 18673 | |
| 18674 | |
| 18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |
| 18676 Configuration summary: | |
| 18677 | |
| 18678 Target ...................... $target | |
| 18679 C++ bindings ................ $enable_cxx | |
| 18680 Debug output ................ $debug_output" >&5 | |
| 18681 $as_echo " | |
| 18682 Configuration summary: | |
| 18683 | |
| 18684 Target ...................... $target | |
| 18685 C++ bindings ................ $enable_cxx | |
| 18686 Debug output ................ $debug_output" >&6; } | |
| 18687 | |
| 18688 case "$target_os" in *linux*) | |
| 18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |
| 18690 ALSA ........................ $have_alsa | |
| 18691 ASIHPI ...................... $have_asihpi" >&5 | |
| 18692 $as_echo " | |
| 18693 ALSA ........................ $have_alsa | |
| 18694 ASIHPI ...................... $have_asihpi" >&6; } | |
| 18695 ;; | |
| 18696 esac | |
| 18697 case "$target_os" in | |
| 18698 *mingw* | *cygwin*) | |
| 18699 test "x$with_directx" = "xyes" && with_directx="$with_directx (${with_dxdir})" | |
| 18700 test "x$with_wdmks" = "xyes" && with_wdmks="$with_wdmks (${with_dxdir})" | |
| 18701 test "x$with_asio" = "xyes" && with_asio="$with_asio (${with_asiodir})" | |
| 18702 test "x$with_wasapi" = "xyes" | |
| 18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |
| 18704 WMME ........................ $with_wmme | |
| 18705 DSound ...................... $with_directx | |
| 18706 ASIO ........................ $with_asio | |
| 18707 WASAPI ...................... $with_wasapi | |
| 18708 WDMKS ....................... $with_wdmks | |
| 18709 " >&5 | |
| 18710 $as_echo " | |
| 18711 WMME ........................ $with_wmme | |
| 18712 DSound ...................... $with_directx | |
| 18713 ASIO ........................ $with_asio | |
| 18714 WASAPI ...................... $with_wasapi | |
| 18715 WDMKS ....................... $with_wdmks | |
| 18716 " >&6; } | |
| 18717 ;; | |
| 18718 *darwin*) | |
| 18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |
| 18720 Mac debug flags ............. $enable_mac_debug | |
| 18721 " >&5 | |
| 18722 $as_echo " | |
| 18723 Mac debug flags ............. $enable_mac_debug | |
| 18724 " >&6; } | |
| 18725 ;; | |
| 18726 *) | |
| 18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |
| 18728 OSS ......................... $have_oss | |
| 18729 JACK ........................ $have_jack | |
| 18730 " >&5 | |
| 18731 $as_echo " | |
| 18732 OSS ......................... $have_oss | |
| 18733 JACK ........................ $have_jack | |
| 18734 " >&6; } | |
| 18735 ;; | |
| 18736 esac |
